@@ -135,7 +135,7 @@ func odrContractCall(ctx context.Context, db ethdb.Database, config *params.Chai
135135 from := statedb .GetOrNewStateObject (bankAddr )
136136 from .SetBalance (math .MaxBig256 )
137137
138- msg := callmsg {types .NewMessage (from .Address (), & testContractAddr , 0 , new (big.Int ), 100000 , big .NewInt (params .InitialBaseFee ), big .NewInt (params .InitialBaseFee ), new (big.Int ), data , nil , false )}
138+ msg := callmsg {types .NewMessage (from .Address (), & testContractAddr , 0 , new (big.Int ), 100000 , big .NewInt (params .InitialBaseFee ), big .NewInt (params .InitialBaseFee ), new (big.Int ), data , nil , true )}
139139
140140 context := core .NewEVMBlockContext (header , bc , nil )
141141 txContext := core .NewEVMTxContext (msg )
@@ -150,7 +150,7 @@ func odrContractCall(ctx context.Context, db ethdb.Database, config *params.Chai
150150 header := lc .GetHeaderByHash (bhash )
151151 state := light .NewState (ctx , header , lc .Odr ())
152152 state .SetBalance (bankAddr , math .MaxBig256 )
153- msg := callmsg {types .NewMessage (bankAddr , & testContractAddr , 0 , new (big.Int ), 100000 , big .NewInt (params .InitialBaseFee ), big .NewInt (params .InitialBaseFee ), new (big.Int ), data , nil , false )}
153+ msg := callmsg {types .NewMessage (bankAddr , & testContractAddr , 0 , new (big.Int ), 100000 , big .NewInt (params .InitialBaseFee ), big .NewInt (params .InitialBaseFee ), new (big.Int ), data , nil , true )}
154154 context := core .NewEVMBlockContext (header , lc , nil )
155155 txContext := core .NewEVMTxContext (msg )
156156 vmenv := vm .NewEVM (context , txContext , state , config , vm.Config {NoBaseFee : true })
0 commit comments