diff --git a/chain/actors/builtin/evm/actor.go.template b/chain/actors/builtin/evm/actor.go.template index 2090c7bc926..a3681979d63 100644 --- a/chain/actors/builtin/evm/actor.go.template +++ b/chain/actors/builtin/evm/actor.go.template @@ -19,8 +19,9 @@ import ( var Methods = builtin{{.latestVersion}}.MethodsEVM +// See https://github.com/filecoin-project/builtin-actors/blob/6e781444cee5965278c46ef4ffe1fb1970f18d7d/actors/evm/src/lib.rs#L35-L42 const ( - ErrReverted exitcode.ExitCode = iota + 33 + ErrReverted exitcode.ExitCode = iota + 33 // EVM exit codes start at 33 ErrInvalidInstruction ErrUndefinedInstruction ErrStackUnderflow diff --git a/chain/actors/builtin/evm/evm.go b/chain/actors/builtin/evm/evm.go index e81e7cb4c9e..774cded8d08 100644 --- a/chain/actors/builtin/evm/evm.go +++ b/chain/actors/builtin/evm/evm.go @@ -17,8 +17,9 @@ import ( var Methods = builtin12.MethodsEVM +// See https://github.com/filecoin-project/builtin-actors/blob/6e781444cee5965278c46ef4ffe1fb1970f18d7d/actors/evm/src/lib.rs#L35-L42 const ( - ErrReverted exitcode.ExitCode = iota + 33 + ErrReverted exitcode.ExitCode = iota + 33 // EVM exit codes start at 33 ErrInvalidInstruction ErrUndefinedInstruction ErrStackUnderflow