diff --git a/core/state_processor.go b/core/state_processor.go index 114844c0a8..b1a8938f67 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -197,8 +197,8 @@ func ProcessBeaconBlockRoot(beaconRoot common.Hash, vmenv *vm.EVM, statedb *stat To: ¶ms.BeaconRootsAddress, Data: beaconRoot[:], } - txctx := NewEVMTxContext(msg) - vmenv.Reset(txctx, statedb) + vmenv.Reset(NewEVMTxContext(msg), statedb) + statedb.AddAddressToAccessList(params.BeaconRootsAddress) _, _, _ = vmenv.Call(vm.AccountRef(msg.From), *msg.To, msg.Data, 30_000_000, common.U2560) statedb.Finalise(true) }