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 jasl requested a review from kvinwang August 20, 2023 23:20
@jasl jasl force-pushed the polkadot-v1.0.0 branch from 02df825 to 1cce183 Compare August 21, 2023 01:35
@jasl
Copy link
Collaborator Author

jasl commented Aug 21, 2023

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

@jasl jasl force-pushed the polkadot-v1.0.0 branch from 3c51587 to 033b9e3 Compare August 23, 2023 12:02
@@ -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.

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