From e567f2b3c3cd2ef7f3d7c1f7cc2122d17805c428 Mon Sep 17 00:00:00 2001 From: Everett Hildenbrandt Date: Thu, 12 Apr 2018 10:03:05 -0500 Subject: [PATCH] include/evmc: add code 11 for EVMC_PRECOMPILE_FAILURE --- include/evmc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/evmc.h b/include/evmc.h index 3771eab..53a902d 100644 --- a/include/evmc.h +++ b/include/evmc.h @@ -163,6 +163,11 @@ enum evmc_status_code { /// An example is RETURNDATACOPY reading past the available buffer. EVMC_INVALID_MEMORY_ACCESS = 10, + /// Exceptions produced by precompiles/system contracts + /// + /// An example: elliptic curve functions handed invalid EC points + EVMC_PRECOMPILE_FAILURE = 11, + /// 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