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

Block-builder: pull jobs from scheduler #10118

Draft
wants to merge 63 commits into
base: main
Choose a base branch
from

Conversation

seizethedave
Copy link
Contributor

@seizethedave seizethedave commented Dec 4, 2024

What this PR does

This adds a "pull" mode to block-builder so that if it is configured with a scheduler at startup, it will live its life in pull-mode, obtaining and completing jobs from a block-builder-scheduler service.

Pull-mode tests are largely duplicated from existing tests. This is temporary as the prior tests will be deleted once we're relying on the scheduler.

Which issue(s) this PR fixes or relates to

Fixes #

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

- accidentally wasn't calling scheduler.assignJob in the RPC.
- Add logging for jobQueue operations.
- Experimentally tear into blockbuilder to begin consuming jobs from scheduler.
Base automatically changed from davidgrant/block-builder-scheduler-rpc-client to main December 19, 2024 17:37
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.

2 participants