mirror of https://github.com/status-im/evmc.git
EVM-C: add EVM_STATIC_MODE_ERROR status code
This commit is contained in:
parent
6c65da3577
commit
be62f7916c
|
@ -148,6 +148,8 @@ enum evm_status_code {
|
||||||
EVM_STACK_OVERFLOW = 5,
|
EVM_STACK_OVERFLOW = 5,
|
||||||
EVM_STACK_UNDERFLOW = 6,
|
EVM_STACK_UNDERFLOW = 6,
|
||||||
EVM_REVERT = 7, ///< Execution terminated with REVERT opcode.
|
EVM_REVERT = 7, ///< Execution terminated with REVERT opcode.
|
||||||
|
/// Tried to execute an operation which is restricted in static mode.
|
||||||
|
EVM_STATIC_MODE_ERROR = 8,
|
||||||
|
|
||||||
/// The EVM rejected the execution of the given code or message.
|
/// The EVM rejected the execution of the given code or message.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue