diff --git a/crates/revm/src/context/inner_evm_context.rs b/crates/revm/src/context/inner_evm_context.rs index c581ab4249..cbc526b6b9 100644 --- a/crates/revm/src/context/inner_evm_context.rs +++ b/crates/revm/src/context/inner_evm_context.rs @@ -241,10 +241,7 @@ impl InnerEvmContext { } #[cfg(feature = "scroll")] - return Ok(Eip7702CodeLoad::new_not_delegated( - acc.info.code_hash, - acc.is_cold, - )); + return Ok(StateLoad::new(acc.info.code_hash, acc.is_cold)); // SAFETY: safe to unwrap as load_code will insert code if it is empty. let code = acc.info.code.as_ref().unwrap();