Repository navigation
deps: bump mega-evm to 7574376 to match mega-reth's sequencer - #241
Merged
Merged
Conversation
mega-reth's sequencer payload builder now pins mega-evm 7574376 (megaeth-labs/mega-reth#2553), which adds MegaBlockExecutor::discard_transaction (megaeth-labs/mega-evm#405) and makes every execution entry point's error path leave nothing in the journal. The validator and the trace server still executed with f78e75c, so the code that produces blocks and the code that validates them had drifted apart. mega-evm#405 states no consensus-visible change through REX6, and the validator never reuses an executor after an error or a panic (each block gets a fresh one), so no call site changes. Running the same EVM revision as the sequencer keeps "any block the sequencer produces validates here" from resting on that claim alone. It also lets mega-reth drop the second mega-evm copy from its lockfile once it repins stateless-*. Only mega-evm and mega-system-contracts move in Cargo.lock. coverage-replayer derives its measured scope and store namespace from the locked rev, so stores scanned under f78e75c do not carry over. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Claude review status
🛠️ Review did not finish Attempted head This round did not publish: MODEL_ACTION_FAILED: The Claude review retry action failed.. Anything listed below is from the last round that did. Workflow run: https://github.com/megaeth-labs/stateless-validator/actions/runs/41590540308 |
RealiCZ
approved these changes
Nov 3, 2026
vincent-k2026
approved these changes
Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bump mega-evm from
f78e75c6to75743764, the revision mega-reth's sequencer payload builder pins since megaeth-labs/mega-reth#2553.That revision adds
MegaBlockExecutor::discard_transaction(megaeth-labs/mega-evm#405), which the sequencer calls after catching a per-transaction EVM panic, and makes every execution entry point's error path leave nothing in the journal.The validator and the trace server still executed with
f78e75c6, so the code that produces blocks and the code that validates them had drifted apart.Running the same EVM revision as the sequencer keeps "any block the sequencer produces validates here" from resting on mega-evm#405's no-consensus-change claim alone.
It also lets mega-reth drop the second mega-evm copy from its lockfile once it repins
stateless-*.Why no call site changes
--block-listreplay and the trace server build a fresh executor per block (per request for tracing) and never reuse one after an error or a panic: a panic fails the block throughspawn_blocking'sJoinError, and a trace aborts on the first failed transaction.inspect_tx,transact_one,system_call, …) is called directly; execution goes throughMegaBlockExecutor::execute_transaction/run_transaction.BlockLimits(create_block_execution_env) already match mega-reth'sreplay_block_limitswith no overrides: policy limits unbounded, consensus ceilings at protocol values, block gas limit from the header only.Changes
Cargo.toml: mega-evm revf78e75c6→75743764.Cargo.lock: onlymega-evmandmega-system-contractsmove.bin/coverage-replayer/src/llvm.rs: example checkout path in a doc comment follows the new rev.Note for coverage-replayer
coverage-replayerderives its measured scope and store namespace from the locked mega-evm rev, so stores scanned underf78e75c6do not carry over; carry the candidate pool across withinspect --dump-poolbefore the next scan.Tests
cargo test --workspace: 622 passed, 0 failed (40 ignored by default, mostly the endpoint-backeddebug-trace-serverintegration tests), includingvalidate_block_mainnet_fixtures/validate_block_deriving_updates_mainnet_fixturesover all 63 mainnet fixture blocks andreplays_mainnet_fixtures_with_header_sanity.cargo fmt --all --check,cargo sort --check, and both CI clippy configurations: clean.🤖 Generated with Claude Code