ChainSafe / gossamer

πŸ•ΈοΈ Go Implementation of the Polkadot Host
https://chainsafe.github.io/gossamer
GNU Lesser General Public License v3.0
427 stars 110 forks source link

Westend sync stopped at #20368319 with `Storage root must match that calculated` #4109

Closed EclesioMeloJunior closed 1 month ago

EclesioMeloJunior commented 2 months ago

Describe the bug

The westend instance stopped syncing with the error: Storage root must match that calculated.

Before the error happens we have a runtime upgrade to version 1010000

The logs:

2024-07-26T07:55:07Z INFO πŸ”¨ finalised block #20367872 (0x80cb24a923ecf0826b5d0cf711fb25d9cb473938cdd287a9f1ee896a1196abc1), round 272, set id 7695 pkg=state

2024-07-26T07:58:20Z INFO πŸ”„ detected runtime code change, upgrading with block 0xec26e9d9fcc255c842e87cdee87f97947932deb449399764a4d2f09d1cdefe80 from previous code hash 0xfc05f1863c0050bac8cb117c094232576bf63b8315415e95c77d506ef656a960 to new code hash 0x67b635216cfd9d40548f3a0d0c963015fb2b9a5b2dcf5171e3933b964a6f3838... pkg=state

2024-07-26T07:58:22Z CRITICAL target=runtime message=panicked at /build/substrate/frame/executive/src/lib.rs:834:9: Storage root must match that calculated. ext_logging_log_version_1 pkg=runtime module=wazero

2024-07-26T07:58:22Z ERROR requesting max blocks from best block header: while handling workers results: while handling ready block: processing block data with header and body: handling block: failed to execute block 20368319: running runtime function: wasm error: unreachable
EclesioMeloJunior commented 1 month ago

Paseo also faces a Storage Root Mismatch error, and the error happens after a runtime upgrade (1 block after to be exact). The problems might be related.

image