Closed mrferris closed 3 weeks ago
State audits are failing due to
[2024-10-31T15:58:27Z ERROR glados_audit::state] Error during state audit. err=Error decoding node while walking trie: InvalidData content_key=AccountTrieNodeKey { path: Nibbles { nibbles: [] }, node_hash: 0x7f485a9dd816bcbfa98f6fa2334af80fabc71ac14a605685bde325c9eb1b5f9e }
This was happening due to the usage of ethportal_api::EncodedTrieNode instead of StateContentValue::decode as is done within trin: https://github.com/ethereum/trin/blob/238e0b0b448f39409c34c8017c10f8a4212daee7/rpc/src/evm_state.rs#L169
ethportal_api::EncodedTrieNode
StateContentValue::decode
State audits are failing due to
[2024-10-31T15:58:27Z ERROR glados_audit::state] Error during state audit. err=Error decoding node while walking trie: InvalidData content_key=AccountTrieNodeKey { path: Nibbles { nibbles: [] }, node_hash: 0x7f485a9dd816bcbfa98f6fa2334af80fabc71ac14a605685bde325c9eb1b5f9e }
This was happening due to the usage of
ethportal_api::EncodedTrieNode
instead ofStateContentValue::decode
as is done within trin: https://github.com/ethereum/trin/blob/238e0b0b448f39409c34c8017c10f8a4212daee7/rpc/src/evm_state.rs#L169