Updated tests and fixed suicide
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user