fork | group |
---|---|
Cancun |
Stack Memory Storage and Flow Operations |
Index 1 is top of the stack.
key
: 32-byte key in transient storage.
value
: 32-byte value corresponding to that key. 0 if that key was never written before.
Transient storage key | Transient storage value |
---|---|
0 |
46 |
* | Input | Output | * | * | Input | Output |
---|---|---|---|---|---|---|
1 |
0 |
46 |
* | 1 |
1 |
0 |
The state changes done by the current context are reverted in those cases:
- Not enough gas.
- Not enough values on the stack.