updated tests

This commit is contained in:
obscuren
2015-01-12 14:40:40 +01:00
parent 00348756bc
commit 75cd9cd2de
9 changed files with 246 additions and 12 deletions

View File

@ -743,9 +743,7 @@ func (self *DebugVm) Run(me, caller ContextRef, code []byte, value, gas, price *
default:
vmlogger.Debugf("(pc) %-3v Invalid opcode %x\n", pc, op)
context.ReturnGas(big.NewInt(1), nil)
return context.Return(nil), fmt.Errorf("Invalid opcode %x", op)
panic(fmt.Errorf("Invalid opcode %x", op))
}
pc++