From 0fb08c54a2dfb00f958b95bda82b47b443807a04 Mon Sep 17 00:00:00 2001 From: lightsing Date: Wed, 16 Oct 2024 10:50:57 +0800 Subject: [PATCH] add comments --- crates/revm/src/context/inner_evm_context.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/revm/src/context/inner_evm_context.rs b/crates/revm/src/context/inner_evm_context.rs index b5434a90e7..12382351e1 100644 --- a/crates/revm/src/context/inner_evm_context.rs +++ b/crates/revm/src/context/inner_evm_context.rs @@ -114,6 +114,10 @@ impl InnerEvmContext { ); 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?;