Add EVMC_CONTRACT_VALIDATION_FAILURE error

This commit is contained in:
Alex Beregszaszi 2018-04-19 12:41:33 +01:00
parent a739fb9add
commit f9fb9dcfef
1 changed files with 4 additions and 0 deletions

View File

@ -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