Merge pull request #159 from ethereum/static-mode

EVM-C: add EVM_STATIC_MODE_ERROR status code
This commit is contained in:
Paweł Bylica 2018-01-23 13:22:52 +00:00 committed by GitHub
commit db16873749
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.
///