aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-09 18:28:35 +0800
committerobscuren <geffobscura@gmail.com>2015-03-09 18:28:35 +0800
commit19efebe91e354ad86c171e01c47f9c2f3ef5cf9f (patch)
treea35203550c3e6bec84ee47cebb94e5e93eecd3d8 /tests
parent93cdffca3ad23eedae6f0591e1357c2429b31811 (diff)
downloaddexon-19efebe91e354ad86c171e01c47f9c2f3ef5cf9f.tar
dexon-19efebe91e354ad86c171e01c47f9c2f3ef5cf9f.tar.gz
dexon-19efebe91e354ad86c171e01c47f9c2f3ef5cf9f.tar.bz2
dexon-19efebe91e354ad86c171e01c47f9c2f3ef5cf9f.tar.lz
dexon-19efebe91e354ad86c171e01c47f9c2f3ef5cf9f.tar.xz
dexon-19efebe91e354ad86c171e01c47f9c2f3ef5cf9f.tar.zst
dexon-19efebe91e354ad86c171e01c47f9c2f3ef5cf9f.zip
Updated tests and fixed suicide
Diffstat (limited to 'tests')
-rw-r--r--tests/vm/gh_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/vm/gh_test.go b/tests/vm/gh_test.go
index cf4b018f7..2db7a0fd0 100644
--- a/tests/vm/gh_test.go
+++ b/tests/vm/gh_test.go
@@ -75,10 +75,18 @@ type VmTest struct {
}
func RunVmTest(p string, t *testing.T) {
+
tests := make(map[string]VmTest)
helper.CreateFileTests(t, p, &tests)
for name, test := range tests {
+ /*
+ vm.Debug = true
+ helper.Logger.SetLogLevel(4)
+ if name != "refund_CallToSuicideTwice" {
+ continue
+ }
+ */
db, _ := ethdb.NewMemDatabase()
statedb := state.New(nil, db)
for addr, account := range test.Pre {