@@ -167,7 +167,7 @@ func odrContractCall(ctx context.Context, db ethdb.Database, bc *core.BlockChain
167
167
from := statedb .GetOrNewStateObject (testBankAddress )
168
168
from .SetBalance (common .MaxBig )
169
169
170
- msg := callmsg {types .NewMessage (from .Address (), & testContractAddr , 0 , new (big.Int ), big .NewInt (1000000 ), new (big.Int ), data )}
170
+ msg := callmsg {types .NewMessage (from .Address (), & testContractAddr , 0 , new (big.Int ), big .NewInt (1000000 ), new (big.Int ), data , false )}
171
171
vmenv := core .NewEnv (statedb , testChainConfig (), bc , msg , header , vm.Config {})
172
172
gp := new (core.GasPool ).AddGas (common .MaxBig )
173
173
ret , _ , _ := core .ApplyMessage (vmenv , msg , gp )
@@ -180,7 +180,7 @@ func odrContractCall(ctx context.Context, db ethdb.Database, bc *core.BlockChain
180
180
if err == nil {
181
181
from .SetBalance (common .MaxBig )
182
182
183
- msg := callmsg {types .NewMessage (from .Address (), & testContractAddr , 0 , new (big.Int ), big .NewInt (1000000 ), new (big.Int ), data )}
183
+ msg := callmsg {types .NewMessage (from .Address (), & testContractAddr , 0 , new (big.Int ), big .NewInt (1000000 ), new (big.Int ), data , false )}
184
184
vmenv := NewEnv (ctx , state , testChainConfig (), lc , msg , header , vm.Config {})
185
185
gp := new (core.GasPool ).AddGas (common .MaxBig )
186
186
ret , _ , _ := core .ApplyMessage (vmenv , msg , gp )
0 commit comments