This repository was archived by the owner on Oct 25, 2024. It is now read-only.
[trivial] Add builder submission offset from end of slot flag and set default to 3 seconds from end of slot #80
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📝 Summary
Based on data analysis, we find that validators make a getHeader call near the end of the slot, see: reference#1
The activity of other builders indicates submissions coalesce around t-3 to t+1, where t is the end of the slot, see: reference#2
Currently, Flashbots builder submits starting at t-4.
This task adds support for changing the submission to t-3 and exposes configurable CLI and environment variable parameters for builder submission offset.
📚 References
Validator getHeader
Builder Bid Time Range
CONTRIBUTING.md