How to upgrade substrate polkadot-v0.9.20 to v0.9.24?

Thank you

  • This is not quite a simple "do 1...2...3...." Solution. Please add more details about what you are updating specifically? Links to source help. Generically you must update you cargo.toml deps and account for any breaking changes that were introduced. Not that these are not semver compliant version bumps.
    – Nuke
    Jul 3, 2022 at 17:50

1 Answer 1


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

  • Great. Thank you
    – oscar
    Jul 6, 2022 at 0:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.