chore: use revm glam-devnet-6 (b55020b2)#402
Draft
rakita wants to merge 1 commit into
Draft
Conversation
Point revm-* deps at the bluealloy/revm glam-devnet-6 branch (rev b55020b2) and fix the breakages from that bump: - EvmContext field offsets shifted +8 (Gas grew by one u64); update the layout static asserts (spec_id 121, resume_at 128, calldatasize 168). - Mirror revm's GasTracker gaining the state_gas_spilled field in the codegen offset_of! helper struct so size/layout stays in sync. - Cfg method is_eip7708_delayed_burn_disabled was renamed to is_eip8246_delayed_clear_disabled in the statetest runner.
DaniPopes
marked this pull request as draft
June 29, 2026 21:08
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.
Pins the revm dependencies to the
glam-devnet-6branch ofbluealloy/revmat commitb55020b237400aa42ce48fcaefdf5cdc255b5558, and fixes the breakages introduced by that bump.Changes
Cargo.toml: switch allrevm-*workspace deps from crates.io41.0.0to git deps pinned at revb55020b2.crates/revmc-context/src/lib.rs:EvmContextfield offsets shifted by +8 becauseGasgrew by oneu64. Updated the layout static asserts (spec_id113→121,resume_at120→128,calldatasize160→168). The JIT codegen reads these viaoffset_of!, so it adjusts automatically; only the guard asserts needed updating.crates/revmc-codegen/src/compiler/translate/mod.rs: revm'sGasTrackergained astate_gas_spilledfield (EIP-8037). Mirrored it in thepf::Gasoffset_of!helper struct so thesize_ofassertion andtracker.remainingoffset stay in sync.crates/revmc-statetest/src/compiled.rs:CfgEnv::is_eip7708_delayed_burn_disabledwas renamed tois_eip8246_delayed_clear_disabled.Verification
cargo check --workspace✅cargo nextest run -p revmc-codegen -p revmc-context -p revmc-builtins— 2189 passed, 0 failed ✅cargo r -- run usdc_proxy) runs clean ✅Note
This pins revm to a devnet branch via git rev and is intended for the
glam-devnet-6track, not for merging intomain.