forked from cerc-io/plugeth
vm output
This commit is contained in:
parent
5c7e96d895
commit
ff151f9fbc
@ -479,6 +479,8 @@ func (vm *Vm) RunClosure(closure *Closure) (ret []byte, err error) {
|
|||||||
vm.Printf(" => %x", caller)
|
vm.Printf(" => %x", caller)
|
||||||
case CALLVALUE:
|
case CALLVALUE:
|
||||||
stack.Push(vm.vars.Value)
|
stack.Push(vm.vars.Value)
|
||||||
|
|
||||||
|
vm.Printf(" => %v", vm.vars.Value)
|
||||||
case CALLDATALOAD:
|
case CALLDATALOAD:
|
||||||
require(1)
|
require(1)
|
||||||
offset := stack.Pop().Int64()
|
offset := stack.Pop().Int64()
|
||||||
|
Loading…
Reference in New Issue
Block a user