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
After successfully upgrading a validator from v0.45 to v0.46 with the dry-run upgrade instructions (while not making the mistake to pass a HTML instead of JSON), restarting namadan results in a crash with the error Invalid MerkleTreeStoresRead.
2024-11-29T01:01:31.068320Z INFO namada_node: Done loading MASP verifying keys.
2024-11-29T01:01:31.068898Z INFO namada_node::storage::rocksdb: Using 2 compactions threads for RocksDB.
2024-11-29T01:01:31.086428Z INFO namada_node::broadcaster: Starting broadcaster.
The application panicked (crashed).
Message: Merkle tree should be restored: Custom(CustomError(MerkleTree("Invalid MerkleTreeStoresRead")))
Location: /home/runner/work/namada/namada/crates/state/src/wl_state.rs:586
For context, this validator ran v0.45 until block 182000, then was upgraded to v0.46 successfully and ran until it timed out at 182002, where there was not enough VP online to reach consensus. The validator was manually stopped and then restarted to see if the error also happens after a successful upgrade and whether it is related to issue #4108.
The text was updated successfully, but these errors were encountered:
I believe this is an issue I've seen on some of my localnets when playing around with protocol versions (e.g. starting with v46 and then downgrading to v45 which does not have the updated pruning logic). It seems like in this case it happens in the opposite order, we might need some help from @yito88
Ah, rebuilding the Merkle tree failed because the some subtrees were rebuilt with the new diffs by the migration even though the base tree (and some subtrees) was based on the previous state before the migration. That's why the inconsistency between the base and these subtrees happened.
It means that we can't restore the state unless a new epoch starts after the migration.
After successfully upgrading a validator from v0.45 to v0.46 with the dry-run upgrade instructions (while not making the mistake to pass a HTML instead of JSON), restarting namadan results in a crash with the error Invalid MerkleTreeStoresRead.
For context, this validator ran v0.45 until block 182000, then was upgraded to v0.46 successfully and ran until it timed out at 182002, where there was not enough VP online to reach consensus. The validator was manually stopped and then restarted to see if the error also happens after a successful upgrade and whether it is related to issue #4108.
The text was updated successfully, but these errors were encountered: