Merge pull request #26 from ethereum/validation-status-code

Add EVMC_CONTRACT_VALIDATION_FAILED error
This commit is contained in:
Paweł Bylica 2018-04-19 15:14:51 +02:00 committed by GitHub
commit 27e51a9a35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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