w3f / polkadot-spec

The Polkadot Protocol Specification
https://spec.polkadot.network
Creative Commons Attribution Share Alike 4.0 International
180 stars 70 forks source link

fix genesis state #703

Closed tjjfvi closed 1 year ago

tjjfvi commented 1 year ago

At least for Polkadot, the genesis header's extrinsic_root is not set to [0; 32], but rather blake2b([0]) (see e.g. here).

This PR also clarifies the size of the zero values for the other fields (with notation used elsewhere in the spec) – this is subjective, but I feel it is clearer this way. That change is made in a separate commit, though, so it can be easily removed.