Skip to content

Commit

Permalink
fix: upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
greged93 committed Dec 4, 2024
1 parent a2a5ef4 commit 5e4ad1d
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 105 deletions.
140 changes: 38 additions & 102 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
3 changes: 0 additions & 3 deletions crates/revm/src/context/inner_evm_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,6 @@ impl<DB: Database> InnerEvmContext<DB> {
.map(|acc| (acc.info.code_size, acc.is_cold))
}

/// Get code hash of address.
///
/// Get code hash of address.
///
/// In case of EOF account it will return `EOF_MAGIC_HASH`
Expand Down

0 comments on commit 5e4ad1d

Please sign in to comment.