Skip to content

Commit 398d08a

Browse files
committed
tests: SetGasLimit
1 parent 07c3de3 commit 398d08a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/state_test_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func RunState(statedb *state.StateDB, env, tx map[string]string) ([]byte, state.
166166

167167
snapshot := statedb.Copy()
168168
coinbase := statedb.GetOrNewStateObject(caddr)
169-
coinbase.SetGasPool(common.Big(env["currentGasLimit"]))
169+
coinbase.SetGasLimit(common.Big(env["currentGasLimit"]))
170170

171171
message := NewMessage(common.BytesToAddress(keyPair.Address()), to, data, value, gas, price, nonce)
172172
vmenv := NewEnvFromMap(statedb, env, tx)

0 commit comments

Comments
 (0)