Skip to content

Conversation

@jrhea
Copy link

@jrhea jrhea commented Nov 3, 2025

EIP-8024: Backward compatible SWAPN, DUPN, EXCHANGE

Introduce additional instructions for manipulating the stack which allow accessing the stack at higher depths

Taking a stab at implementing this. There may be an issue with the EXCHANGE execution test defined in the spec. I’ve patched it for now and flagged it to @lightclient. I will update this PR if the spec changes.

@jrhea jrhea requested a review from rjl493456442 as a code owner November 3, 2025 23:20
@frangio
Copy link

frangio commented Nov 4, 2025

There may be an issue with the EXCHANGE execution test defined in the spec.

Yes there was an inconsistency between the spec and that test. I've updated the spec to match the execution test, please see ethereum/EIPs#10704.

@fjl
Copy link
Contributor

fjl commented Nov 10, 2025

We can merge this if you remove the Amsterdam fork stuff. Just keep it as an 'extra EIP' for now.

@jrhea
Copy link
Author

jrhea commented Nov 10, 2025

We can merge this if you remove the Amsterdam fork stuff. Just keep it as an 'extra EIP' for now.

Roger that. I removed the fork wiring. I'll continue to monitor this PR in case there is anything else I need to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants