MIP-18 (`CALLSTACKDEPTH`, `CALLERN`)
Implements MIP-18 at MONAD_NEXT only, so no live revision changes. Stacked on #2662, the MIP-7 EXTENSION decode. EXE-221
CALLERNreads a per-transactionsenders[depth]array invm::Host.VM::executeandexecute_bytecodewrite it on frame entry and never pop it: while framedruns, slots0..dare exactly its ancestors. The runtime reads it throughContext::host.- The fuzzer and spec oracle can't cover MIP-18 until the spec VM does.
Extras beyond CI:
execute_message_testand the VM unit tests under ASAN+UBSAN.- Cost: frame entry is +18 instructions at
MONAD_NEXTand unchanged atMONAD_TEN. CompiledCALLERNis a runtime call, about 9 ns;CALLSTACKDEPTHcosts the same asCALLER.
馃 Generated with Claude Code