Skip to content

Commit

Permalink
fix: update code size when handle create return
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsing committed Jun 5, 2024
1 parent 8543dd6 commit 8a28fe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/revm/src/journaled_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ impl JournaledState {
}
#[cfg(feature = "scroll")]
{
account.info.code_size = code.len();
account.info.code_hash = code.poseidon_hash_slow();
account.info.keccak_code_hash = code.keccak_hash_slow();
}
Expand Down

0 comments on commit 8a28fe3

Please sign in to comment.