Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builder circuit breaker #6083

Merged
merged 16 commits into from
Aug 23, 2022
Merged

Builder circuit breaker #6083

merged 16 commits into from
Aug 23, 2022

Conversation

tbenr
Copy link
Contributor

@tbenr tbenr commented Aug 16, 2022

introduces BuilderCircuitBreaker interface and implementation

moves all the fallback check responsibility into ExecutionLayerManagerImpl (entirely removed from BlockOperationSelectorFactory)

We have three new params:
--Xbuilder-circuit-breaker-enabled -> default true
--Xbuilder-circuit-breaker-window -> default 32
--Xbuilder-circuit-breaker-allowed-faults -> default 8

fixes #6058

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

@tbenr tbenr marked this pull request as draft August 16, 2022 17:45
@rolfyone
Copy link
Contributor

Looks really good overall

@tbenr tbenr force-pushed the builder_circuit_breaker branch 2 times, most recently from 496d45e to 8ba53d2 Compare August 18, 2022 16:59
@tbenr tbenr marked this pull request as ready for review August 18, 2022 17:01
Copy link
Contributor

@StefanBratanov StefanBratanov left a comment

Choose a reason for hiding this comment

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

LGTM :)

@tbenr tbenr force-pushed the builder_circuit_breaker branch 2 times, most recently from 8056376 to ab00718 Compare August 22, 2022 15:26
build.gradle Outdated Show resolved Hide resolved
@tbenr tbenr force-pushed the builder_circuit_breaker branch from 77009fc to 7071dc0 Compare August 23, 2022 09:50
tbenr added 2 commits August 23, 2022 11:52
 remove storage dependency
 apply state transition via spec
@tbenr tbenr merged commit 0cc3825 into Consensys:master Aug 23, 2022
@tbenr tbenr deleted the builder_circuit_breaker branch August 23, 2022 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement mev-boost circuit breaker
3 participants