EIP-141: Designated invalid EVM instruction
| 作者 | Alex Beregszaszi |
|---|---|
| 状态 | Final |
| 类型 | Standards Track |
| 分类 | Core |
| 创建日期 | 2017-02-09 |
| 英文版 | https://eips.ethereum.org/EIPS/eip-141 |
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).
向后兼容性
This instruction was never used and therefore has no effect on past contracts.
Copyright
Copyright and related rights waived via CC0.
参考文献
Please cite this document as:
Alex Beregszaszi, "EIP-141: Designated invalid EVM instruction," Ethereum Improvement Proposals, no. 141, February 2017. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-141.