aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vm_test_util.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-13 23:13:40 +0800
committerGitHub <noreply@github.com>2017-02-13 23:13:40 +0800
commit0850f68fd17586370b102aa516739476db4913c2 (patch)
tree5d2f140139f3763a7da3c20a88acff96b58ec8ad /tests/vm_test_util.go
parentf8f428cc18c5f70814d7b3937128781bac14bffd (diff)
parent57f4e9025757254536a738bb4771712038f1e763 (diff)
downloaddexon-0850f68fd17586370b102aa516739476db4913c2.tar
dexon-0850f68fd17586370b102aa516739476db4913c2.tar.gz
dexon-0850f68fd17586370b102aa516739476db4913c2.tar.bz2
dexon-0850f68fd17586370b102aa516739476db4913c2.tar.lz
dexon-0850f68fd17586370b102aa516739476db4913c2.tar.xz
dexon-0850f68fd17586370b102aa516739476db4913c2.tar.zst
dexon-0850f68fd17586370b102aa516739476db4913c2.zip
Merge pull request #3668 from obscuren/revert-gas64
Revert "params: core, core/vm, miner: 64bit gas instructions (#3514)"
Diffstat (limited to 'tests/vm_test_util.go')
-rw-r--r--tests/vm_test_util.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/vm_test_util.go b/tests/vm_test_util.go
index 1edf0e425..25e55886f 100644
--- a/tests/vm_test_util.go
+++ b/tests/vm_test_util.go
@@ -129,7 +129,7 @@ func runVmTests(tests map[string]VmTest, skipTests []string) error {
}
for name, test := range tests {
- if skipTest[name] /*|| name != "exp0"*/ {
+ if skipTest[name] /*|| name != "loop_stacklimit_1021"*/ {
glog.Infoln("Skipping VM test", name)
continue
}
@@ -229,6 +229,6 @@ func RunVm(statedb *state.StateDB, env, exec map[string]string) ([]byte, []*type
vm.PrecompiledContracts = make(map[common.Address]vm.PrecompiledContract)
environment, _ := NewEVMEnvironment(true, chainConfig, statedb, env, exec)
- ret, g, err := environment.Call(caller, to, data, gas.Uint64(), value)
- return ret, statedb.Logs(), new(big.Int).SetUint64(g), err
+ ret, err := environment.Call(caller, to, data, gas, value)
+ return ret, statedb.Logs(), gas, err
}