mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-26 05:35:16 +00:00
Merge pull request #216 from axic/invalid
Adds EIP141 (invalid instruction)
This commit is contained in:
commit
5b99b25f8a
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/).
|
@ -33,6 +33,7 @@ First review [EIP-1](EIPS/eip-1.md). Then clone the repository and add your EIP
|
||||
| [6](EIPS/eip-6.md) | Renaming Suicide Opcode | Hudson Jameson | Standard | Interface | Final |
|
||||
| [7](EIPS/eip-7.md) | DELEGATECALL | Vitalik Buterin | Standard | Core | Final |
|
||||
| [8](EIPS/eip-8.md) | devp2p Forward Compatibility Requirements for Homestead | Felix Lange | Standard | Networking | Final |
|
||||
[ [141](EIPS/eip-141.md) | Designated invalid EVM instruction | Alex Beregsazszi| Standard | Core | Final |
|
||||
| [150](https://github.com/ethereum/EIPs/issues/150) | Gas cost changes for IO-heavy operations | Vitalik Buterin | Standard | Core | Final |
|
||||
| [155](https://github.com/ethereum/EIPs/issues/155) | Simple replay attack protection | Vitalik Buterin | Standard | Core | Final |
|
||||
| [160](https://github.com/ethereum/EIPs/issues/160) | EXP cost increase | Vitalik Buterin | Standard | Core | Final |
|
||||
|
Loading…
x
Reference in New Issue
Block a user