Skip to content

Commit

Permalink
fix: use original bytes for codes (paradigmxyz#11593)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored and ebo committed Oct 14, 2024
1 parent b272c41 commit 05910f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc/rpc/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ where
.cache
.contracts
.iter()
.map(|(hash, code)| (*hash, code.bytes()))
.map(|(hash, code)| (*hash, code.original_bytes()))
.collect();

for (address, account) in &statedb.cache.accounts {
Expand Down

0 comments on commit 05910f2

Please sign in to comment.