Skip to content

Add produceBlockV4WithBid Beacon API endpoint - #10099

Draft
eth2353 wants to merge 2 commits into
sigp:unstablefrom
eth2353:produce-block-v4-with-bid
Draft

eth2353 wants to merge 2 commits into
sigp:unstablefrom
eth2353:produce-block-v4-with-bid

Conversation

@eth2353

@eth2353 eth2353 commented Sep 21, 2026

Copy link
Copy Markdown

Description

A proof-of-concept implementation of ethereum/beacon-APIs#627 allowing validator clients to supply a selected execution payload bid. Relates to the Beacon API tracking issue #9045 .

  • Adds POST /eth/v4/validator/blocks/{slot}/with_bid
  • Reuses the existing V4 block-production pipeline, payload caching, and JSON/SSZ response handling.
  • Validate the supplied bid, apply the requested boost factor, and fall back to local production when the bid is invalid or the circuit breaker is active.

Validation:

  • 34 targeted tests pass, covering bid selection, validation, fallback, JSON/SSZ handling, and request errors.
  • cargo check -p http_api and formatting checks pass.
  • Manually tested on a local Kurtosis devnet.

AI Assistance Disclosure

This PR’s implementation and tests were written primarily by OpenAI Codex (GPT-6 Astra High), with human review and direction.

@cla-assistant

cla-assistant Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@chong-he chong-he added work-in-progress PR is a work-in-progress HTTP-API labels Sep 22, 2026
@michaelsproul michaelsproul added v9.0.0 Gloas mainnet release gloas labels Oct 14, 2026
# Conflicts:
#	beacon_node/beacon_chain/src/block_production/bid_selection.rs
#	beacon_node/beacon_chain/src/block_production/gloas.rs
#	beacon_node/beacon_chain/src/lib.rs
#	beacon_node/beacon_chain/src/payload_bid_verification/direct_verified_bid.rs
#	beacon_node/beacon_chain/src/payload_bid_verification/gossip_verified_bid.rs
#	beacon_node/beacon_chain/tests/block_production.rs

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gloas HTTP-API v9.0.0 Gloas mainnet release work-in-progress PR is a work-in-progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants