Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsing committed Oct 16, 2024
1 parent 4562c39 commit 0fb08c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/revm/src/context/inner_evm_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ impl<DB: Database> InnerEvmContext<DB> {
);
cfg_if::cfg_if! {
if #[cfg(feature = "scroll")] {
// In scroll, we don't include the account in access list
// if it was not actually accessed in the transaction.
// The load will fail in that case, we just ignore the error.
// This is not a problem as the account was never accessed.
result.ok();
} else {
result?;
Expand Down

0 comments on commit 0fb08c5

Please sign in to comment.