aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vm
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-02 05:05:38 +0800
committerobscuren <geffobscura@gmail.com>2014-12-02 05:05:38 +0800
commita052357872217d5e99e7ee1a7a4b524b53addcdd (patch)
treee6b22d92ca0939a2d0a44bc04c6d83c600de23e7 /tests/vm
parenta22056db5988bfa2b1354e0092eabb734c30701c (diff)
downloaddexon-a052357872217d5e99e7ee1a7a4b524b53addcdd.tar.gz
dexon-a052357872217d5e99e7ee1a7a4b524b53addcdd.tar.zst
dexon-a052357872217d5e99e7ee1a7a4b524b53addcdd.zip
Fixed EXP gas
Diffstat (limited to 'tests/vm')
-rw-r--r--tests/vm/gh_test.go14
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/vm/gh_test.go b/tests/vm/gh_test.go
index bd107249b..eb641b034 100644
--- a/tests/vm/gh_test.go
+++ b/tests/vm/gh_test.go
@@ -2,7 +2,6 @@ package vm
import (
"bytes"
- "fmt"
"testing"
"github.com/ethereum/go-ethereum/ethutil"
@@ -45,7 +44,6 @@ func RunVmTest(p string, t *testing.T) {
helper.CreateFileTests(t, p, &tests)
for name, test := range tests {
- fmt.Println(name)
state := state.New(helper.NewTrie())
for addr, account := range test.Pre {
obj := StateObjectFromAccount(addr, account)
@@ -85,20 +83,10 @@ func RunVmTest(p string, t *testing.T) {
// I've created a new function for each tests so it's easier to identify where the problem lies if any of them fail.
func TestVMArithmetic(t *testing.T) {
- //helper.Logger.SetLogLevel(5)
const fn = "../files/vmtests/vmArithmeticTest.json"
RunVmTest(fn, t)
}
-/*
-deleted?
-func TestVMSystemOperation(t *testing.T) {
- helper.Logger.SetLogLevel(5)
- const fn = "../files/vmtests/vmSystemOperationsTest.json"
- RunVmTest(fn, t)
-}
-*/
-
func TestBitwiseLogicOperation(t *testing.T) {
const fn = "../files/vmtests/vmBitwiseLogicOperationTest.json"
RunVmTest(fn, t)
@@ -126,7 +114,7 @@ func TestPushDupSwap(t *testing.T) {
}
func TestVMSha3(t *testing.T) {
- helper.Logger.SetLogLevel(5)
+ //helper.Logger.SetLogLevel(5)
const fn = "../files/vmtests/vmSha3Test.json"
RunVmTest(fn, t)
}