How to upgrade substrate polkadot-v0.9.20 to v0.9.24?
Thank you
How to upgrade substrate polkadot-v0.9.20 to v0.9.24?
Thank you
Here are some tips...
Look at the changes documented in the release:
Note things like breaking changes, migrations, low priority vs high priority, client changes vs runtime changes, etc.
Also helpful to do comparisons between versions to see what the changes are. For example:
You could do the same with the Polkadot repo
And most importantly -> Do one version at a time!
Pay attention to any changes in the cargo.toml
file e.g. version upgrades
And make sure to update your dependencies to all point to the same branch of Substrate. For example:
git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24"
Build and make sure it works:
cargo build --release