Skip to content

Commit

Permalink
Small updates to EIP-663 (#6054)
Browse files Browse the repository at this point in the history
* Change opcodes to 0xb3 and 0xb4

* Add security considerations
  • Loading branch information
axic authored Nov 28, 2022
1 parent b9529eb commit 0d650fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions EIPS/eip-663.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Introducing `SWAPN` and `DUPN` will provide an option to compilers to simplify a

We introduce two new instructions:

1. `DUPN` (`0xb0`)
2. `SWAPN` (`0xb1`)
1. `DUPN` (`0xb3`)
2. `SWAPN` (`0xb4`)

If the code is legacy bytecode, both of these instructions result in an *exceptional halt*. (*Note: This means no change to behaviour.*)

Expand Down Expand Up @@ -61,7 +61,7 @@ TBA

## Security Considerations

TBA
The authors are not aware of any additional risks introduced here. The EVM stack is fixed at 1024 items and most implementations keep that in memory at all times. This change will increase the easy-to-access number of items from 16 to 256.

## Copyright

Expand Down

0 comments on commit 0d650fc

Please sign in to comment.