-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(polkadot): upgrade to v1.0.0 #898
Conversation
Following sequence of commands was applied to be able to upgrade gradually: cargo build cargo test cargo build --features=try-runtime cargo build --features=runtime-benchmarks cargo test --features=runtime-benchmarks Concluding by running integration tests: cargo build --release
cd substrate-node/tests
robot -d _output_tests/ . At this stage, all passed successfully |
Thanks Erwan for working on this.
|
I did quick search to see the commit when the storage version changed for pallets mentioned in my previous comment: Balances v0 -> v1: Historical (session) v0 -> v1: Scheduler v3 -> v4: From PR description alone, I'm not sure if we need to do the migration or just bump the version. see: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blocking comment
Good catch and thanks for your comments |
This is due to https://forum.polkadot.network/t/polkadot-release-analysis-v0-9-43/3158#improve-handling-of-unset-storageversion-16 As suggested I first bumped the storage version just to make Edited: Then I applied full respective migrations when possible:
|
Almost there, just small note .
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
Upgrade to Polkadot v0.9.43
sc_service::BuildNetworkParams
)assert!
,assert_eq!
or similar because code in these macros may panic--ws-port
and--ws-external
Upgrade to Polkadot v1.0.0
parity-scale-codec
to 3.6.1sc-offchain
crate to runtimeframe_system
instead ofconstruct_runtime
and removesHeader
andBlockNumber
BlockNumberFor
instead ofBlockNumber
GenesisBuild<T,I>
deprecated.BuildGenesisConfig
addedAllowMultipleBlocksPerSlot = ConstBool<false>
topallet_aura::Config
HoldIdentifier
by typeRuntimeHoldReason
inpallet_balances::Config
Index
forNonce
Related Issues:
Checklist:
Please delete options that are not relevant.