Upgrade Preparation
Purpose of this document
Required Prerequisites Setup, Reading & Knowledge
1 Avoid On-Chain Non-Determinism
1
Use an LLM / CLI agent to review diffs
You are a senior CosmosSDK protocol engineer in charge of the next protocol upgrade.
Do a git diff v0.1.20.
Identify any potential bugs, edge cases or issues.
In particular, focus on any onchain behaviour that can result in non-deterministic outcomes. For example, iterating a map without sorting the keys first.
This is critical to avoid chain halts. Take your time and provide a comprehensive analysis.2 Prepare a New Upgrade Handler
3 Test Locally
1
2
3
4
5
6
4 Create a GitHub Release
5 Prepare the Upgrade Transactions
6 Prepare Snapshots
7 Submit the Upgrade on Alpha & Beta TestNet
8 Troubleshooting & Canceling an Upgrade
Last updated
Was this helpful?
