diff --git a/etherlink/kernel_latest/revm/src/database.rs b/etherlink/kernel_latest/revm/src/database.rs index 5011a145a5ae259def724e43d549dbf079b88d38..07e4a69fb96e80ce8a1d1e15da2ac2b86591e5b8 100644 --- a/etherlink/kernel_latest/revm/src/database.rs +++ b/etherlink/kernel_latest/revm/src/database.rs @@ -15,10 +15,8 @@ use crate::{ }, Error, }; - -use alloy_primitives::KECCAK256_EMPTY; use revm::{ - primitives::{Address, HashMap, StorageKey, StorageValue, B256, U256}, + primitives::{Address, HashMap, StorageKey, StorageValue, B256, KECCAK_EMPTY, U256}, state::{Account, AccountInfo, Bytecode, EvmStorage, EvmStorageSlot}, Database, DatabaseCommit, }; @@ -267,7 +265,7 @@ impl Database for EtherlinkVMDB<'_, Host> { // We must return empty code here otherwise the simulation will fail because // of EIP-3607. return Ok(Some(AccountInfo { - code_hash: KECCAK256_EMPTY, + code_hash: KECCAK_EMPTY, code: None, ..account_info }));