diff --git a/crates/ef-testing/src/evm_sequencer/evm_state/mod.rs b/crates/ef-testing/src/evm_sequencer/evm_state/mod.rs index c48cac8b..c1e6af75 100644 --- a/crates/ef-testing/src/evm_sequencer/evm_state/mod.rs +++ b/crates/ef-testing/src/evm_sequencer/evm_state/mod.rs @@ -103,9 +103,11 @@ impl Evm for KakarotSequencer { coinbase_address, )?; - // Set the base fee. + // Set the base fee at index 'current_block' let [low_fee, high_fee] = split_u256(base_fee); - let basefee_address = get_storage_var_address(KAKAROT_BASE_FEE, &[]); + let key = Felt::from_bytes_be_slice(b"current_block"); + println!("key: {:?}", key); + let basefee_address = get_storage_var_address(KAKAROT_BASE_FEE, &[key]); self.state_mut() .set_storage_at(kakarot_address, basefee_address, low_fee.into())?; self.state_mut().set_storage_at(