Merge pull request #115 from ethereum/revert

REVERT support
This commit is contained in:
Paweł Bylica 2017-04-04 13:37:05 +02:00 committed by GitHub
commit 2abf3e9d5e
1 changed files with 3 additions and 1 deletions

View File

@ -53,6 +53,7 @@ enum evm_result_code {
EVM_BAD_JUMP_DESTINATION = 4,
EVM_STACK_OVERFLOW = 5,
EVM_STACK_UNDERFLOW = 6,
EVM_REVERT = 7,
};
struct evm_result; ///< Forward declaration.
@ -360,7 +361,8 @@ enum evm_mode {
EVM_FRONTIER = 0,
EVM_HOMESTEAD = 1,
EVM_ANTI_DOS = 2,
EVM_CLEARING = 3
EVM_CLEARING = 3,
EVM_METROPOLIS = 4,
};