paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.com/
1.89k stars 696 forks source link

sync: Remove checking of the extrinsics root #5686

Closed bkchr closed 4 weeks ago

bkchr commented 2 months ago

With the introduction of system_version in https://github.com/paritytech/polkadot-sdk/pull/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 commented 1 month ago

Clippy says imports need cleanup here