Skip to content

Comments

Enable test harness support for gloas block production & import#8844

Open
jimmygchen wants to merge 9 commits intosigp:unstablefrom
jimmygchen:feat-gloas-test-harness
Open

Enable test harness support for gloas block production & import#8844
jimmygchen wants to merge 9 commits intosigp:unstablefrom
jimmygchen:feat-gloas-test-harness

Conversation

@jimmygchen
Copy link
Member

@jimmygchen jimmygchen commented Feb 18, 2026

Description

Enables the test harness to produce and import gloas blocks, getting check_all_blocks_from_altair_to_gloas passing. Builds on #8754.

Production changes (~75 lines)

File Change
block_verification.rs Simulate minimal envelope effects after state root check: set latest_block_hash from bid, cache state_root in latest_block_header.
block_verification.rs Skip load_parent state root sanity check for gloas.
block_replayer.rs Same envelope simulation for state replay.
execution_payload.rs PayloadNotifier::new returns Irrelevant for gloas.
gloas.rs / produce_block.rs BlockProductionResult returns BeaconState and Option<ExecutionPayloadEnvelope>.

Test harness / test changes (~600 lines)

  • make_block and add_block_at_slot wired up for gloas block production and envelope processing.
  • Tests needing pre-gloas payload/column mechanics skipped with TODO(EIP-7732) + Gloas TODO tracking issue #8590.

Additional Info

The block import path workarounds are needed because blocks are always imported before envelopes in gloas. Independent of and compatible with the envelope processing pipeline in #8806.

@jimmygchen jimmygchen added the work-in-progress PR is a work-in-progress label Feb 18, 2026
@jimmygchen jimmygchen marked this pull request as ready for review February 20, 2026 06:51
@jimmygchen jimmygchen requested a review from jxs as a code owner February 20, 2026 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gloas test improvement Improve tests work-in-progress PR is a work-in-progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant