Merge pull request #216 from axic/invalid

Adds EIP141 (invalid instruction)
This commit is contained in:
Nick Johnson 2017-04-14 12:56:09 +01:00 committed by GitHub
commit 5b99b25f8a
2 changed files with 30 additions and 0 deletions

29
EIPS/eip-141.md Normal file
View 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/).

View File

@ -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 | | [6](EIPS/eip-6.md) | Renaming Suicide Opcode | Hudson Jameson | Standard | Interface | Final |
| [7](EIPS/eip-7.md) | DELEGATECALL | Vitalik Buterin | Standard | Core | 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 | | [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 | | [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 | | [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 | | [160](https://github.com/ethereum/EIPs/issues/160) | EXP cost increase | Vitalik Buterin | Standard | Core | Final |