Skip to content

Commit

Permalink
EIP-1985: Use "instructions" instead of "opcodes"
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Jun 28, 2019
1 parent 0b53ecb commit 8eed2df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions EIPS/eip-1985.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,24 @@ by eliminating unrealistic edge cases.
## Specification

If `block.number >= {FORK_BLOCK}`, the following value ranges are introduced.
They restrict the results (i.e. values pushed to the stack) of the opcodes listed below.
They restrict the results (i.e. values pushed to the stack) of the instructions listed below.

1. *gas*, *gas limit*, *block gas limit*
is a range between `0` and `0x7fffffffffffffff` (`2**63 - 1`, `9223372036854775807`).
It affects the following opcodes:
It affects the following instructions:
- `GASLIMIT` (`0x45`),
- `GAS` (`0x5a`).

2. *block number*, *timestamp*
is a range between `0` and `0x7fffffffffffffff` (`2**63 - 1`, `9223372036854775807`).
It affects the following opcodes:
It affects the following instructions:
- `TIMESTAMP` (`0x42`),
- `NUMBER` (`0x43`).

3. *account address*
is a range between `0` and `0xffffffffffffffffffffffffffffffffffffffff` (`2**160 - 1`, `1461501637330902918203684832716283019655932542975`)
i.e. the address occupies the 160 low bits of the 256-bit value and the remaining top 96 bits must be zeros.
It affects the following opcodes:
It affects the following instructions:
- `ADDRESS` (`0x30`),
- `ORIGIN` (`0x32`),
- `CALLER` (`0x33`),
Expand All @@ -52,7 +52,7 @@ They restrict the results (i.e. values pushed to the stack) of the opcodes liste

4. *buffer size*
is a range between `0` and `0xffffffff` (`2**32 - 1`, `4294967295`).
It affects the following opcodes:
It affects the following instructions:
- `CALLDATASIZE` (`0x36`),
- `CODESIZE` (`0x38`),
- `EXTCODESIZE` (`0x3b`),
Expand Down

0 comments on commit 8eed2df

Please sign in to comment.