diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-10 06:34:31 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-10 06:34:31 +0800 |
commit | 0795fd2701f67e489e47d9b7998ffa52adf8863e (patch) | |
tree | 627998905d367a27ee667775a008b264c8a05222 /tests/vm | |
parent | 676a0de58d3d7c508b0eeeff192d2095a46f7382 (diff) | |
download | dexon-0795fd2701f67e489e47d9b7998ffa52adf8863e.tar dexon-0795fd2701f67e489e47d9b7998ffa52adf8863e.tar.gz dexon-0795fd2701f67e489e47d9b7998ffa52adf8863e.tar.bz2 dexon-0795fd2701f67e489e47d9b7998ffa52adf8863e.tar.lz dexon-0795fd2701f67e489e47d9b7998ffa52adf8863e.tar.xz dexon-0795fd2701f67e489e47d9b7998ffa52adf8863e.tar.zst dexon-0795fd2701f67e489e47d9b7998ffa52adf8863e.zip |
wip
Diffstat (limited to 'tests/vm')
-rw-r--r-- | tests/vm/gh_test.go | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/vm/gh_test.go b/tests/vm/gh_test.go index 2db7a0fd0..e3908af52 100644 --- a/tests/vm/gh_test.go +++ b/tests/vm/gh_test.go @@ -11,6 +11,7 @@ import ( "github.com/ethereum/go-ethereum/logger" "github.com/ethereum/go-ethereum/state" "github.com/ethereum/go-ethereum/tests/helper" + "github.com/ethereum/go-ethereum/vm" ) type Account struct { @@ -80,13 +81,11 @@ func RunVmTest(p string, t *testing.T) { helper.CreateFileTests(t, p, &tests) for name, test := range tests { - /* - vm.Debug = true - helper.Logger.SetLogLevel(4) - if name != "refund_CallToSuicideTwice" { - continue - } - */ + vm.Debug = true + helper.Logger.SetLogLevel(4) + if name != "addmod0" { + continue + } db, _ := ethdb.NewMemDatabase() statedb := state.New(nil, db) for addr, account := range test.Pre { |