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

sync: Remove checking of the extrinsics root #5686

Merged
merged 8 commits into from
Oct 18, 2024

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Sep 12, 2024

With the introduction of system_version in #4257 the extrinsic root may also use the V1 layout. At this point in the sync code it would require some special handling to find out the system_version. So, this pull request is removing it. The extrinsics root is checked when executing the block later, so that at least no invalid block gets imported.

With the introduction of `system_version` in #4257 the
extrinsic root may also use the `V1` layout. At this point in the sync code it would require some special
handling to find out the `system_version`. So, this pull request is removing it. The extrinsics root is checked
when executing the block later, so that at least no invalid block gets imported.
@nazar-pc
Copy link
Contributor

Clippy says imports need cleanup here

@bkchr bkchr added this pull request to the merge queue Sep 24, 2024
@bkchr bkchr removed this pull request from the merge queue due to a manual request Sep 24, 2024
@bkchr bkchr added this pull request to the merge queue Sep 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 24, 2024
@bkchr bkchr added this pull request to the merge queue Sep 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 25, 2024
@bkchr bkchr added this pull request to the merge queue Sep 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 25, 2024
nazar-pc pushed a commit to autonomys/polkadot-sdk that referenced this pull request Sep 27, 2024
With the introduction of `system_version` in paritytech#4257 the
extrinsic root may also use the `V1` layout. At this point in the sync code it would require some special
handling to find out the `system_version`. So, this pull request is removing it. The extrinsics root is checked
when executing the block later, so that at least no invalid block gets imported.
@bkchr bkchr added this pull request to the merge queue Oct 18, 2024
Merged via the queue into master with commit 5e0843e Oct 18, 2024
187 of 193 checks passed
@bkchr bkchr deleted the bkchr-sync-remove-extrinsics-root-check branch October 18, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T0-node This PR/Issue is related to the topic “node”.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants