mirror of
https://github.com/status-im/EIPs.git
synced 2025-01-27 07:05:47 +00:00
Add EIP141 (invalid instruction)
This commit is contained in:
parent
2485b86e86
commit
58c1828d26
29
EIPS/eip-141.md
Normal file
29
EIPS/eip-141.md
Normal file
@ -0,0 +1,29 @@
|
||||
## Preamble
|
||||
|
||||
EIP: 141
|
||||
Title: Designated invalid EVM instruction
|
||||
Author: Alex Beregszaszi
|
||||
Type: Standard Track
|
||||
Category: Core
|
||||
Status: Accepted
|
||||
Created: 2017-02-09
|
||||
|
||||
## Abstract
|
||||
|
||||
An instruction is designated to remain as an invalid instruction.
|
||||
|
||||
## Motivation
|
||||
|
||||
The invalid instruction can be used as a distinct reason to abort execution.
|
||||
|
||||
## Specification
|
||||
|
||||
The opcode `0xfe` is the `INVALID` instruction. It can be used to abort the execution (i.e. duplicates as an `ABORT` instruction).
|
||||
|
||||
## Backwards Compatibility
|
||||
|
||||
This instruction was never used and therefore has no effect on past contracts.
|
||||
|
||||
## Copyright
|
||||
|
||||
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/).
|
Loading…
x
Reference in New Issue
Block a user