Skip to content

[pull] forks/amsterdam from ethereum:forks/amsterdam#258

Merged
pull[bot] merged 2 commits into
LuckQuack:forks/amsterdamfrom
ethereum:forks/amsterdam
Jun 18, 2026
Merged

[pull] forks/amsterdam from ethereum:forks/amsterdam#258
pull[bot] merged 2 commits into
LuckQuack:forks/amsterdamfrom
ethereum:forks/amsterdam

Conversation

@pull

@pull pull Bot commented Jun 18, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

danceratopz and others added 2 commits June 18, 2026 10:09
…2995)

Co-authored-by: raxhvl <10168946+raxhvl@users.noreply.github.com>
Add `test_max_code_size_jumpdest_in_immediate`, which places a `0x5B`
as the last byte of a `MAX_CODE_SIZE` contract, right after an
immediate-carrying opcode, and jumps to it:

- `PUSH1`: The `0x5B` is push data, always skipped, so the jump is
  rejected.
- `DUPN`/`SWAPN`/`EXCHANGE`: Per EIP-8024 the `0x5B` is an invalid
  immediate, kept at an instruction boundary, so it stays a valid
  `JUMPDEST` and the jump is accepted.

Exercises the immediate-skipping branches of jumpdest analysis well
past the old 24 KiB code and 48 KiB initcode limits.
@pull pull Bot locked and limited conversation to collaborators Jun 18, 2026
@pull pull Bot added the ⤵️ pull label Jun 18, 2026
@pull pull Bot merged commit 5f8c109 into LuckQuack:forks/amsterdam Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant