Skip to content

Allow builders to submit one bid per staked eth - #10674

Open
SamAg19 wants to merge 7 commits into
sigp:unstablefrom
SamAg19:builder-bid-limit
Open

SamAg19 wants to merge 7 commits into
sigp:unstablefrom
SamAg19:builder-bid-limit

Conversation

@SamAg19

@SamAg19 SamAg19 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Description

Implements ethereum/consensus-specs#5805 and ethereum/consensus-specs#5843

Proposed Changes

  • Adds get_builder_bid_limit, which excludes the builder's pending withdrawals and payments from its balance
  • Replaces the seen-builder set in the bid cache with a bid count per (slot, parent, builder)
  • Adds the bid limit check to gossip verification, returning the new BuilderBidLimitReached error (replaces BuilderAlreadySeen, mapped to IGNORE in gossip_methods.rs)
  • Splits verify_bid_state_conditions so gossip can run the limit check before the coverage check, while direct bids and the block production re-check skip it
  • Updates the bid verification and cache tests to use bid counts, and adds builder_bid_limit_reached

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Queue requested — the merge queue status continues in this comment ↓.

@eserilev eserilev added the gloas label Nov 29, 2026

@eserilev eserilev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

added a small test that checks that a builders stake that is already withdrawing doesn't count toward how many bids it can make.

@eserilev eserilev added the ready-for-merge This PR is ready to merge. label Nov 29, 2026
@mergify mergify Bot added the queued label Nov 29, 2026
@mergify

mergify Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

❌ Left the queue · ef-tests-mainnet-ubuntu fails with this pull request

24 min in the queue, 22 min of it CI.

So far

  • ✅ Entered the queue Sun 29 Nov, 11:48 · rule default · triggered by rule Add ready-to-merge labeled PRs to merge queue
  • ❌ Checks failed · draft #10690
  • 🚫 Left the queue 12:12 · 97d73e4

The failure is in this pull request. It failed tested alone on top of unstable.

Reason

The merge conditions cannot be satisfied due to failing checks

  • test-suite-success

Failing checks:

To get back in the queue

  • Push a fix: the pull request is queued again once its queue conditions match.
  • If the failure is a flake, tick the box below to queue it again as it is.

Merge conditions not met when it left the queue

  • check-success=local-testnet-success
  • check-success=test-suite-success

Tick the box to put this pull request back in the merge queue (same as @mergifyio queue).

  • Requeue this pull request
1 merge condition met

Times in UTC · dashboard · how the merge queue works

@mergify mergify Bot added dequeued and removed queued labels Nov 29, 2026

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

dequeued gloas ready-for-merge This PR is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants