|
|
|
@ -697,7 +697,6 @@ func opCall(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byt |
|
|
|
|
} |
|
|
|
|
stack.push(&temp) |
|
|
|
|
if err == nil || err == ErrExecutionReverted { |
|
|
|
|
ret = common.CopyBytes(ret) |
|
|
|
|
scope.Memory.Set(retOffset.Uint64(), retSize.Uint64(), ret) |
|
|
|
|
} |
|
|
|
|
scope.Contract.Gas += returnGas |
|
|
|
@ -733,7 +732,6 @@ func opCallCode(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([ |
|
|
|
|
} |
|
|
|
|
stack.push(&temp) |
|
|
|
|
if err == nil || err == ErrExecutionReverted { |
|
|
|
|
ret = common.CopyBytes(ret) |
|
|
|
|
scope.Memory.Set(retOffset.Uint64(), retSize.Uint64(), ret) |
|
|
|
|
} |
|
|
|
|
scope.Contract.Gas += returnGas |
|
|
|
@ -762,7 +760,6 @@ func opDelegateCall(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext |
|
|
|
|
} |
|
|
|
|
stack.push(&temp) |
|
|
|
|
if err == nil || err == ErrExecutionReverted { |
|
|
|
|
ret = common.CopyBytes(ret) |
|
|
|
|
scope.Memory.Set(retOffset.Uint64(), retSize.Uint64(), ret) |
|
|
|
|
} |
|
|
|
|
scope.Contract.Gas += returnGas |
|
|
|
@ -791,7 +788,6 @@ func opStaticCall(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) |
|
|
|
|
} |
|
|
|
|
stack.push(&temp) |
|
|
|
|
if err == nil || err == ErrExecutionReverted { |
|
|
|
|
ret = common.CopyBytes(ret) |
|
|
|
|
scope.Memory.Set(retOffset.Uint64(), retSize.Uint64(), ret) |
|
|
|
|
} |
|
|
|
|
scope.Contract.Gas += returnGas |
|
|
|
|