Skip to content

feat(tests): Update MONAD_NEXT and tests with selected G* EIPs#29

Draft
pdobacz wants to merge 7 commits into
forks/monad_ninefrom
monamsterdam
Draft

feat(tests): Update MONAD_NEXT and tests with selected G* EIPs#29
pdobacz wants to merge 7 commits into
forks/monad_ninefrom
monamsterdam

Conversation

@pdobacz

@pdobacz pdobacz commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator
  • EIP-7708 ETH transfer/burn logs
  • EIP-7843 SLOTNUM opcode
  • EIP-8024 SWAPN, DUPN, EXCHANGE

With some minor adaptations to handle the dual-parenthood of MONAD_NEXT and reserve balance quirks

pdobacz added 7 commits June 25, 2026 15:34
Emit LOG3/LOG2 from SYSTEM_ADDRESS for value transfers, selfdestruct
beneficiary transfers/burns, and finalization burns of deleted accounts.
Co-Authored-By: Claude <claude-opus-4-8>
Add SLOTNUM (0x4b, gas BASE) pushing the block slot number, a slot_number
U64 field on the header and block environment, and fork.py plumbing.
Co-Authored-By: Claude <claude-opus-4-8>
Add DUPN (0xe6), SWAPN (0xe7), EXCHANGE (0xe8) stack instructions with a
1-byte immediate, gas VERY_LOW, plus immediate-aware jumpdest analysis.
Co-Authored-By: Claude <claude-opus-4-8>
Inherit MONAD_NEXT from Amsterdam, taking only EIP-7708/7843/8024 changes
(opcodes, slot number header) and pinning EIP-7928/7954/7976/7981 members
back to MONAD_NINE. Relocated after Amsterdam to resolve the base reference.
Co-Authored-By: Claude <claude-opus-4-8>
Derive gas_limit from SSTORE.gas_cost(fork)*64 so the failed-CREATE test
survives EIP-150 1/64 retention under heavier (MIP-8) SSTORE pricing.
Co-Authored-By: Claude <claude-opus-4-8>
…fee model

Deploy factory runtime code (or fund above reserve for the gas-exact test)
to avoid the empty-code reserve revert, and compute the priority fee on the
full gas limit on Monad forks.
Co-Authored-By: Claude <claude-opus-4-8>
Single-fork (--fork MONAD_NEXT) feature covering only the adopted Amsterdam
EIP dirs (7708/7843/8024); released via tag tests-monad_amsterdam@v0.1.0.
Co-Authored-By: Claude <claude-opus-4-8>
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.

1 participant