-
Notifications
You must be signed in to change notification settings - Fork 148
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
Upgrade to Polkadot v1.0.0 #1363
Conversation
Looks good. We need to add the migration to our pink runtime(Let me do it later). |
@kvinwang can you help to take a look of the e2e failed? |
dcc8c27
to
0a00977
Compare
@@ -30,35 +30,35 @@ expression: "travel_types::<blocks::SyncParachainHeaderReq>()" | |||
}, | |||
{ | |||
"name": "Hash", | |||
"type": 3 | |||
"type": null |
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.
It's strange the type changed to null
.
These snapshots detects whether the data structure of blocks synced into pRuntime changes.
We need to check the compatibility:
- whether the old verions of pRuntime accept the new block data.
- whether the new pRuntime accept block data from old version of chain node.
And we'd better make clear understand on what would these structure changes affect.
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.
I've digged into this, the null
here is due to the #[derive(TypeInfo)]
now trims all zero sized types.
So, there are no actual data structure changes.
dbf9a5d
to
0715e06
Compare
paritytech/substrate@polkadot-v0.9.43...polkadot-v1.0.0
Breaking changes:
GenesisBuild<T,I>
deprecated.BuildGenesisConfig
added. paritytech/substrate#14306Block
toframe_system
instead ofconstruct_runtime
and removesHeader
andBlockNumber
paritytech/substrate#14437Few changes about pallet-contracts:
parity-wasm
-based towasmi
-based module validation paritytech/substrate#14449