Type2 accounts' codehash
should be computed with Poseidon
#779
Labels
crate: trace_decoder
Anything related to the trace_decoder crate.
Milestone
Accounts stored in Type2 state SMT should have their codehash computed via Poseidon hash instead of Keccak (ref impl).
The method currently available for this is
fn hash_bytecode_u256(code: Vec<u8>) -> U256
(though its signature is a bit odd, would be better to change toH256
).@0xaatif would you mind handling this on the decoder side while the cryptos continue fixing the few bits in
evm_arithmetization
that need work?The text was updated successfully, but these errors were encountered: