Skip to content
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

Merged
merged 12 commits into from
Sep 14, 2023
Merged

Upgrade to Polkadot v1.0.0 #1363

merged 12 commits into from
Sep 14, 2023

Conversation

@jasl
Copy link
Collaborator Author

jasl commented Aug 21, 2023

@kvinwang can you help to take a look of the e2e failed?

@@ -30,35 +30,35 @@ expression: "travel_types::<blocks::SyncParachainHeaderReq>()"
},
{
"name": "Hash",
"type": 3
"type": null
Copy link
Collaborator

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.

Copy link
Collaborator

@kvinwang kvinwang Sep 14, 2023

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.

@jasl jasl enabled auto-merge September 14, 2023 03:31
@jasl jasl merged commit 9e85ce2 into master Sep 14, 2023
7 of 8 checks passed
@jasl jasl deleted the polkadot-v1.0.0 branch September 14, 2023 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants