You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This implements [EIP-8024](https://eips.ethereum.org/EIPS/eip-8024),
adding three new stack manipulation instructions. The EIP is currently
scheduled for the "Amsterdam" execution-layer fork of Ethereum.
These instructions are followed by an immediate argument, which is a new
concept in geas. I have chosen the `[x]` syntax for immediates, i.e.
```
swapn[17]
exchange[1, 22]
```
I'm not sure if there is a need for being able to write the immediate
argument in its encoded form. The encoding function is not
straightforward, but it is of course reversible (for valid inputs), and
the disassembler currently also shows the decoded form.
0 commit comments