Updated the VM & VM tests
* Stack Error shouldn't revert to previous state * Updated VM Test tool * Added Transfer method to VM Env
This commit is contained in:
@ -237,10 +237,7 @@ func (self *DebugVm) RunClosure(closure *Closure) (ret []byte, err error) {
|
||||
mem.Resize(newMemSize.Uint64())
|
||||
|
||||
switch op {
|
||||
case LOG:
|
||||
stack.Print()
|
||||
mem.Print()
|
||||
// 0x20 range
|
||||
// 0x20 range
|
||||
case ADD:
|
||||
require(2)
|
||||
x, y := stack.Popn()
|
||||
|
Reference in New Issue
Block a user