mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
VmDebug => StdVm
This commit is contained in:
parent
9b509f6478
commit
b03614527b
@ -33,7 +33,7 @@ func (self *Execution) Call(codeAddr []byte, caller vm.ContextRef) ([]byte, erro
|
|||||||
|
|
||||||
func (self *Execution) exec(code, contextAddr []byte, caller vm.ContextRef) (ret []byte, err error) {
|
func (self *Execution) exec(code, contextAddr []byte, caller vm.ContextRef) (ret []byte, err error) {
|
||||||
env := self.env
|
env := self.env
|
||||||
evm := vm.New(env, vm.DebugVmTy)
|
evm := vm.New(env, vm.StdVmTy)
|
||||||
|
|
||||||
if env.Depth() == vm.MaxCallDepth {
|
if env.Depth() == vm.MaxCallDepth {
|
||||||
caller.ReturnGas(self.Gas, self.price)
|
caller.ReturnGas(self.Gas, self.price)
|
||||||
|
Loading…
Reference in New Issue
Block a user