From d1e1d5a17acbc6bbc541168bcd848823f73b4a1b Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Tue, 9 Nov 2021 03:02:15 +0000 Subject: [PATCH] set Accesses in TxContext constructor --- core/evm.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/evm.go b/core/evm.go index 6c67fc43762c..141d730cacba 100644 --- a/core/evm.go +++ b/core/evm.go @@ -69,6 +69,7 @@ func NewEVMTxContext(msg Message) vm.TxContext { return vm.TxContext{ Origin: msg.From(), GasPrice: new(big.Int).Set(msg.GasPrice()), + Accesses: types.NewAccessWitness(), } }