From 42247a698a673475046aff2c7f5ac80c2eda66a3 Mon Sep 17 00:00:00 2001 From: lightsing Date: Tue, 12 Sep 2023 10:59:16 +0800 Subject: [PATCH] fix sload assertion --- bus-mapping/src/evm/opcodes/sload.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bus-mapping/src/evm/opcodes/sload.rs b/bus-mapping/src/evm/opcodes/sload.rs index 82fa9442ad..9bd164db46 100644 --- a/bus-mapping/src/evm/opcodes/sload.rs +++ b/bus-mapping/src/evm/opcodes/sload.rs @@ -200,7 +200,7 @@ mod sload_tests { ); let access_list_op = &builder.block.container.tx_access_list_account_storage - [step.bus_mapping_instance[7].as_usize()]; + [step.bus_mapping_instance[8].as_usize()]; assert_eq!( (access_list_op.rw(), access_list_op.op()), (