diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-02 03:49:56 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-02 03:49:56 +0800 |
commit | a22056db5988bfa2b1354e0092eabb734c30701c (patch) | |
tree | 3f85f85c7bf80422262c5c521e883aeb358dadc0 /tests | |
parent | beb7d35c4033063e4111a51ebf88fabb43bc22b8 (diff) | |
download | dexon-a22056db5988bfa2b1354e0092eabb734c30701c.tar.gz dexon-a22056db5988bfa2b1354e0092eabb734c30701c.tar.zst dexon-a22056db5988bfa2b1354e0092eabb734c30701c.zip |
Make an attempt to pay for the gas prior to expanding the mem.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/vm/gh_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/vm/gh_test.go b/tests/vm/gh_test.go index 7d98983e7..bd107249b 100644 --- a/tests/vm/gh_test.go +++ b/tests/vm/gh_test.go @@ -2,6 +2,7 @@ package vm import ( "bytes" + "fmt" "testing" "github.com/ethereum/go-ethereum/ethutil" @@ -44,6 +45,7 @@ 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) @@ -113,7 +115,7 @@ func TestEnvironmentalInfo(t *testing.T) { } func TestFlowOperation(t *testing.T) { - helper.Logger.SetLogLevel(5) + //helper.Logger.SetLogLevel(5) const fn = "../files/vmtests/vmIOandFlowOperationsTest.json" RunVmTest(fn, t) } @@ -124,6 +126,7 @@ func TestPushDupSwap(t *testing.T) { } func TestVMSha3(t *testing.T) { + helper.Logger.SetLogLevel(5) const fn = "../files/vmtests/vmSha3Test.json" RunVmTest(fn, t) } |