| fork |
Frontier |
| group |
Environmental Information |
Index 1 is top of the stack. See PUSH.
For out of bound bytes, 0s will be copied.
destOffset: byte offset in the memory where the result will be copied.
offset: byte offset in the calldata to copy.
size: byte size to copy.
| Calldata |
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF |
| * |
Input 1 |
* |
* |
Input 2 |
1 |
0 |
* |
1 |
0 |
2 |
0 |
* |
2 |
31 |
3 |
32 |
* |
3 |
8 |
| Memory after input 1 |
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF |
| Memory after input 1 then 2 |
0xFF00000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF |
Reproduce in playground.
The state changes done by the current context are reverted in those cases:
- Not enough gas.
- Not enough values on the stack.