From f9fb9dcfefe262b1ad914d7d9d40aecc0d144534 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 19 Apr 2018 12:41:33 +0100 Subject: [PATCH] Add EVMC_CONTRACT_VALIDATION_FAILURE error --- include/evmc/evmc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/evmc/evmc.h b/include/evmc/evmc.h index 14dee6b..ca9de8b 100644 --- a/include/evmc/evmc.h +++ b/include/evmc/evmc.h @@ -170,6 +170,10 @@ enum evmc_status_code { /// Call depth exceded (if there is a call depth limit) EVMC_CALL_DEPTH_EXCEDED = 12, + /// Contract validation has failed (e.g. due to EVM 1.5 jump validity, + /// Casper's purity checker or ewasm contract rules). + EVMC_CONTRACT_VALIDATION_FAILURE = 13, + /// The EVM rejected the execution of the given code or message. /// /// This error SHOULD be used to signal that the EVM is not able to or