fork | group |
---|---|
Frontier |
Environmental Information |
Index 1 is top of the stack. See PUSH.
i
: byte offset in the calldata.
data[i]
: 32-byte value starting from the given offset of the calldata. All bytes after the end of the calldata are set to 0.
Calldata |
---|
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF |
* | Input | Output |
---|---|---|
1 |
0 |
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF |
* | Input | Output |
---|---|---|
1 |
31 |
0xFF00000000000000000000000000000000000000000000000000000000000000 |
The state changes done by the current context are reverted in those cases:
- Not enough gas.
- Not enough values on the stack.