mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
cmd/ewasm: fix ci builds
This commit is contained in:
parent
9927596822
commit
d812571beb
2 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ func runCmd(ctx *cli.Context) error {
|
|||
// VM: vm,
|
||||
// }
|
||||
|
||||
output, err := evm.Interpreter().Run(contract, []byte(input))
|
||||
output, err := evm.Interpreter().Run(contract, []byte(input), false)
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
|
|
@ -862,7 +862,7 @@ func selfDestruct(p *exec.Process, in *InterpreterEWASM, addressOffset int32) {
|
|||
|
||||
in.StateDB.Suicide(contract.Address())
|
||||
|
||||
// Same as for `revert` and `return`, I need to forcefuly terminate
|
||||
// Same as for `revert` and `return`, I need to forcefully terminate
|
||||
// the execution of the contract.
|
||||
in.terminationType = TerminateSuicide
|
||||
p.Terminate()
|
||||
|
|
|
|||
Loading…
Reference in a new issue