Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also rename invalid to abort
Browse files Browse the repository at this point in the history
axic committed Mar 1, 2019
1 parent 2963685 commit 57cce9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions EIPS/eip-1803.md
Original file line number Diff line number Diff line change
@@ -6,20 +6,22 @@ type: Standard Track
category: Core
status: Draft
created: 2017-07-28
requires: 141
---

## Abstract

Rename the `BALANCE`, `SHA3`, `NUMBER`, `GASLIMIT` and `GAS` opcodes to reflect their true meaning.
Rename the `BALANCE`, `SHA3`, `NUMBER`, `GASLIMIT`, `GAS` and `INVALID` opcodes to reflect their true meaning.

## Specification

Rename the opcodes as follows:
- `BALANCE` to `EXTBALANCE` to be in line with `EXTCODESIZE` and `EXTCODECOPY`
- `BALANCE` to `EXTBALANCE` to be in line with `EXTCODESIZE`, `EXTCODECOPY` and `EXTCODEHASH`
- `SHA3` to `KECCAK256`
- `NUMBER` to `BLOCKNUMBER`
- `GASLIMIT` to `BLOCKGASLIMIT` to avoid confusion with the gas limit of the transaction
- `GAS` to `GASLEFT` to be clear what it refers to
- `INVALID` to `ABORT` to clearly articulate when someone refers this opcode as opposed to "any invalid opcode"

## Backwards Compatibility

0 comments on commit 57cce9e

Please sign in to comment.