EVM-C: add EVM_STATIC_MODE_ERROR status code

This commit is contained in:
Alex Beregszaszi 2018-01-23 05:19:52 +00:00
parent 6c65da3577
commit be62f7916c
1 changed files with 2 additions and 0 deletions

View File

@ -148,6 +148,8 @@ enum evm_status_code {
EVM_STACK_OVERFLOW = 5,
EVM_STACK_UNDERFLOW = 6,
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.
///