You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Doing a parachain runtime upgrade can fail depending on how it is executed.
Those scenarios are run using polkadot-v9.3 branches.
The error message appears on the relaychain validator:
2021-06-05 04:19:24 panicked at 'Digest item must match that calculated.', /home/test/.cargo/git/checkouts/substrate-7e08433d4c370a21/85fa0ab/frame/executive/src/lib.rs:456:13
Our setCode is defined as:
type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;
❌parachain upgraded, producing blocks, relay refusing to validate parachain blocks: Digest item must match that calculated
The text was updated successfully, but these errors were encountered:
crystalin
changed the title
Relay failing to validate block after parachain runtime Upgrade: Digest item must match that calculated
Relay failing to validate para block after parachain runtime Upgrade: Digest item must match that calculated
Jun 5, 2021
The problem is that democracy or better scheduler calls the autorizeUpgrade or setCode calls before the inherent data is set. This is not allowed because we need to ensure that upgrades are currently allowed. The solution is to this problem is to fix in Substrate the order when stuff like scheduler is applying stuff to happen after the inherents. This should be doable after: paritytech/substrate#10128
Doing a parachain runtime upgrade can fail depending on how it is executed.
Those scenarios are run using polkadot-v9.3 branches.
The error message appears on the relaychain validator:
Our setCode is defined as:
Scenario 1:
Scenario 2:
Digest item must match that calculated
Scenario 3:
Scenario 4:
Digest item must match that calculated
The text was updated successfully, but these errors were encountered: