Skip to content

Load bids from db if bid is missing - #9979

Closed
pawanjay176 wants to merge 1 commit into
sigp:unstablefrom
pawanjay176:load-bids
Closed

pawanjay176 wants to merge 1 commit into
sigp:unstablefrom
pawanjay176:load-bids

Conversation

@pawanjay176

@pawanjay176 pawanjay176 commented Sep 5, 2026

Copy link
Copy Markdown
Member

Issue Addressed

N/A

Proposed Changes

On devnet 9, restarts and cache eviction removed payload bids from the pending cache. This resulted in MissingBid errors during envelope and column processing causing repeated lookup failures.

This fix loads missing bids from the stored blocks in the db if a cache miss occurs instead of rejecting the envelope/column.

Moved the load_gloas_payload_bid to beacon_chain as that seemed like a more natural place for it after this refactor.

@pawanjay176 pawanjay176 added ready-for-review The code is ready for review gloas labels Sep 5, 2026
@mergify

mergify Bot commented Sep 5, 2026

Copy link
Copy Markdown

Some required checks have failed. Could you please take a look @pawanjay176? 🙏

@mergify mergify Bot added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Sep 5, 2026
@eserilev

eserilev commented Sep 5, 2026

Copy link
Copy Markdown
Member

Nice catch! we may just want to throw the whole block in the pending payload cache

see this issue: #9975

might be a bit less code churn if we did it in this PR, though it is a bit out of scope

@pawanjay176

Copy link
Copy Markdown
Member Author

There's already 9940. So gonna merge that one and close this.
Can handle the other issue in a separate PR maybe.

@pawanjay176 pawanjay176 closed this Sep 5, 2026
@michaelsproul

Copy link
Copy Markdown
Member

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

Labels

gloas waiting-on-author The reviewer has suggested changes and awaits thier implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants