refactor: use builder boost factor for gloas block production - #9807
refactor: use builder boost factor for gloas block production#9807nflaig wants to merge 14 commits into
Conversation
Performance Report鉁旓笍 no performance regression detected Full benchmark results
|
| strictFeeRecipientCheck, | ||
| // winston logger doesn't like bigint | ||
| builderBoostFactor: `${builderBoostFactor}`, | ||
| builderBoostFactor, |
There was a problem hiding this comment.
seems like winston is just fine with it
| // Keep a builder bid as fallback unless the circuit breaker is active | ||
| const builderBid = circuitBreakerActive | ||
| ? null |
There was a problem hiding this comment.
unsure if we should still pick a builder bid even if the circuit breaker is active in case local fails, it's not very likely that local payload production fails but having bid as a fallback could be good still, on the other hand, it could also be that builders are attacking the network with large payloads that are slow to process or equivocations, or other attacks, so not selecting builder bids at all might be a safety feature
There was a problem hiding this comment.
馃挕 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bc251e502e
鈩癸笍 About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 馃憤.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| /** Verify that a locally produced execution payload uses `feeRecipient`. */ | ||
| strictFeeRecipientCheck?: boolean; |
There was a problem hiding this comment.
can't tell if anyone is using this at all, we could drop support for it in v4 (gloas) and I accidentally didn't support it until now on that api
but for now, it seems worth keeping for backward compatibility but it's also non-spec behavior, so we could drop it at any point when doing a major lodestar release
Follow-up to #9595 that removes Lodestar-specific selection modes from Gloas block production and uses
builder_boost_factoras the selection inputethereum/beacon-APIs#630 will move
produceBlockV4to aBuilderConfigrequest body and add builder-API bid routing. That wire-format change is not implemented here. This keepsbuilder_boost_factoras the global Gloas selection control so the same preference can apply to p2p and builder-API bids once that flow is implemented.builder_selectionparameter fromproduceBlockV4--builder.selectionas validator client aliases forbuilder_boost_factorexecutiononlyoption asexecutionalwayspost-Gloas so a viable builder bid can prevent a missed proposal