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

[Merged by Bors] - Builder profit threshold flag #3534

Closed
wants to merge 3 commits into from

Conversation

realbigsean
Copy link
Member

Issue Addressed

Resolves #3517

Proposed Changes

Adds a --builder-profit-threshold <wei value> flag to the BN. If an external payload's value field is less than this value, the local payload will be used. The value of the local payload will not be checked (it can't really be checked until the engine API is updated to support this).

@realbigsean realbigsean added the ready-for-review The code is ready for review label Aug 31, 2022
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

This is great!

Users seem to like seeing their CLI params reflected in the logs, maybe we could add an info log on start-up, or include the threshold in an existing info log about the builder API?

@michaelsproul michaelsproul added v3.1.2 Release after v3.1.0 (formerly v3.1.1) blocked ready-for-merge This PR is ready to merge. waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review ready-for-merge This PR is ready to merge. labels Sep 1, 2022
@realbigsean
Copy link
Member Author

Good idea! Added here: ec32278

@realbigsean realbigsean added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Sep 5, 2022
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

Nice, LGTM

@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed blocked ready-for-review The code is ready for review labels Sep 5, 2022
@michaelsproul
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Sep 5, 2022
## Issue Addressed

Resolves #3517

## Proposed Changes

Adds a `--builder-profit-threshold <wei value>` flag to the BN. If an external payload's value field is less than this value, the local payload will be used. The value of the local payload will not be checked (it can't really be checked until the engine API is updated to support this).


Co-authored-by: realbigsean <[email protected]>
@bors bors bot changed the title Builder profit threshold flag [Merged by Bors] - Builder profit threshold flag Sep 5, 2022
@bors bors bot closed this Sep 5, 2022
@realbigsean realbigsean deleted the builder-fee-threshold branch November 21, 2023 16:12
Woodpile37 pushed a commit to Woodpile37/lighthouse that referenced this pull request Jan 6, 2024
## Issue Addressed

Resolves sigp#3517

## Proposed Changes

Adds a `--builder-profit-threshold <wei value>` flag to the BN. If an external payload's value field is less than this value, the local payload will be used. The value of the local payload will not be checked (it can't really be checked until the engine API is updated to support this).


Co-authored-by: realbigsean <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to merge. v3.1.2 Release after v3.1.0 (formerly v3.1.1)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants