mirror of https://github.com/status-im/evmc.git
EVM-C: start result codes from 1
This commit is contained in:
parent
baeade4d10
commit
971033adda
|
@ -61,13 +61,13 @@ struct evm_hash256 {
|
|||
|
||||
/// The outcome of an execution.
|
||||
enum evm_result_outcome {
|
||||
EVM_SUCCESS = 0,
|
||||
EVM_OUT_OF_GAS = 1,
|
||||
EVM_BAD_INSTRUCTION = 2,
|
||||
EVM_BAD_JUMP_DESTINATION = 3,
|
||||
EVM_STACK_OVERFLOW = 4,
|
||||
EVM_STACK_UNDERFLOW = 5,
|
||||
EVM_EXCEPTION = 6
|
||||
EVM_SUCCESS = 1,
|
||||
EVM_OUT_OF_GAS = 2,
|
||||
EVM_BAD_INSTRUCTION = 3,
|
||||
EVM_BAD_JUMP_DESTINATION = 4,
|
||||
EVM_STACK_OVERFLOW = 5,
|
||||
EVM_STACK_UNDERFLOW = 6,
|
||||
EVM_EXCEPTION = 7
|
||||
};
|
||||
|
||||
/// Complex struct representing execution result.
|
||||
|
|
Loading…
Reference in New Issue