Skip to content

Commit

Permalink
chore: add missing scroll fields on copy_without_code
Browse files Browse the repository at this point in the history
  • Loading branch information
greged93 committed Nov 29, 2024
1 parent 7295a7c commit 7055a70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/primitives/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,11 @@ impl AccountInfo {
Self {
balance: self.balance,
nonce: self.nonce,
#[cfg(feature = "scroll")]
code_size: self.code_size,
code_hash: self.code_hash,
#[cfg(feature = "scroll-poseidon-codehash")]
poseidon_code_hash: self.poseidon_code_hash,
code: None,
}
}
Expand Down

0 comments on commit 7055a70

Please sign in to comment.