From dcf966287418dd909d8802dcf7b361653842a5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Mon, 3 Apr 2017 16:13:18 +0200 Subject: [PATCH 1/2] Add support for Metropolis compatibility mode --- include/evm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/evm.h b/include/evm.h index 724d8c2..8c6e906 100644 --- a/include/evm.h +++ b/include/evm.h @@ -360,7 +360,8 @@ enum evm_mode { EVM_FRONTIER = 0, EVM_HOMESTEAD = 1, EVM_ANTI_DOS = 2, - EVM_CLEARING = 3 + EVM_CLEARING = 3, + EVM_METROPOLIS = 4, }; From d3001b92fd57347afa2b0637bb9d1936b6c8389a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Mon, 3 Apr 2017 18:00:26 +0200 Subject: [PATCH 2/2] Add REVERT opcode support --- include/evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/evm.h b/include/evm.h index 8c6e906..8f3bfe7 100644 --- a/include/evm.h +++ b/include/evm.h @@ -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.