[execution] Move Glamsterdam off MONAD_NEXT into MONAD_NEXT_AMSTERDAM
ReferencesMIP-18
Resolves EXE-248.
Glamsterdam is delayed indefinitely upstream, but its changes were gated on MONAD_NEXT, so every in-flight Monad feature (huge contracts, MIP-18, ...) had to be developed and tested together with it.
Design
MONAD_NEXT_AMSTERDAM is a sibling feature revision of MONAD_NEXT:
- Both are the latest numbered revision plus their own in-development features. Neither includes the other's features.
- Feature revisions sort above every numbered revision, so
Rev >= MONAD_<N>gates enable in all of them. - A feature revision's own features are gated with
Rev == MONAD_NEXT*only, never an ordered comparison.
When MONAD_NEXT ships as a numbered revision, its == gates become >=, and MONAD_NEXT_AMSTERDAM inherits those features automatically. That means the Amsterdam fixtures only need refilling at promotions.
Changes
evm_rev()maps onlyMONAD_NEXT_AMSTERDAMtoMONAD_ETH_AMSTERDAM.MONAD_NEXTnow runs on Osaka.mip_12_active()is nowRev == MONAD_NEXT.- Added the new revision to the switch and explicit-instantiation macros and
StorageCostTable. - Added a
MONAD_MAX_REVISIONsentinel and used it for revision ranges in tests and the staking fuzzer. - The Amsterdam spec-test target now runs
--fork MONAD_NEXT_AMSTERDAM. - RPC tests in
monad_executor_test.cpp:- Six Amsterdam-only tests are skipped, because
MONAD_NEXT_AMSTERDAMdeliberately has no chain config yet. - Three general tests no longer expect EIP-7708 Transfer logs.
- Six Amsterdam-only tests are skipped, because
Blocked on
- MF refill of the Amsterdam spec fixtures. The current release labels every case
"network": "MONAD_NEXT", so theMONAD_NEXT_AMSTERDAMshards skip all cases until the fixture URL is updated. Don't merge before then.
Follow-ups (not in this PR)
- monad-bft: remove the Glamsterdam header encoding changes from the
MONAD_NEXTpath. - Decide how (and whether)
MONAD_NEXT_AMSTERDAMshould be runnable via a chain config, then un-skip the RPC tests. - Add a CI lint enforcing the
==-only rule for feature revisions. - Decide how the OCaml spec should represent sibling feature revisions.
Testing
- Full ctest with gcc-15 RelWithDebInfo: everything passes, apart from the Amsterdam spec shards and the six RPC tests, which skip as described above.
check-trait-instantiations.pyand clang-format pass. clang-tidy is left to CI.
馃 Generated with Claude Code