-
Notifications
You must be signed in to change notification settings - Fork 353
Schedule block production duties for next epoch in fulu #10138
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
Draft
rolfyone
wants to merge
3
commits into
Consensys:master
Choose a base branch
from
rolfyone:10124
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+93
−33
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is stable post-fulu, so we can avoid the slot 0 issue. fixes Consensys#10124
tbenr
reviewed
Nov 14, 2025
Contributor
tbenr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart of the compilation issue, I tried locally and I get:
2025-11-14 13:43:05.016 INFO - Epoch Event *** Epoch: 4, Justified checkpoint: 3, Finalized checkpoint: 2, Finalized root: deca9232918b8269c97039fca968be979044b31f91a7fb0e5f09df3fe5855502
2025-11-14 13:43:05.016 ERROR - Failed to request validator duties for epoch 5. Retrying after delay.
java.lang.IllegalArgumentException: Proposer duties were requested for a future epoch (current: 4, requested: 5).
at tech.pegasys.teku.validator.coordinator.ValidatorApiHandler.getProposerDuties(ValidatorApiHandler.java:320) ~[classes/:?]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at tech.pegasys.teku.infrastructure.events.DirectEventDeliverer.executeMethod(DirectEventDeliverer.java:74) ~[classes/:?]
at tech.pegasys.teku.infrastructure.events.DirectEventDeliverer.deliverToWithResponse(DirectEventDeliverer.java:67) ~[classes/:?]
at tech.pegasys.teku.infrastructure.events.AsyncEventDeliverer.lambda$deliverToWithResponse$1(AsyncEventDeliverer.java:80) ~[classes/:?]
at tech.pegasys.teku.infrastructure.events.AsyncEventDeliverer$QueueReader.deliverNextEvent(AsyncEventDeliverer.java:125) ~[classes/:?]
at tech.pegasys.teku.infrastructure.events.AsyncEventDeliverer$QueueReader.run(AsyncEventDeliverer.java:116) ~[classes/:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
2025-11-14 13:43:05.017 INFO - Calling local execution layer to start block production (block slot: 32)
Contributor
Author
ok cool - i had meant as draft as some of the AT im curious about... i had run locally, was this remote validator or inbuilt? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is stable post-fulu, so we can avoid the slot 0 issue.
fixes #10124
Documentation
doc-change-requiredlabel to this PR if updates are required.Changelog
Note
Abstracts duty lookahead and enables block proposer duties to be scheduled one epoch ahead from FULU onward, updating implementations and tests.
AbstractDutyScheduler: remove fixedlookAheadEpochsconfig; introduceabstract int getLookAheadEpochs(UInt64)and use it incalculateDutiesandisAbleToVerifyEpoch; makespecprotected.BlockDutyScheduler: implement dynamic lookahead (0beforeFULU,1fromFULU); add debug logging; adjust constructor usage.AttestationDutyScheduler: overridegetLookAheadEpochsto constant1; update constructor.BlockDutySchedulerTest: add/adjust tests for milestone-dependent lookahead; update references to dynamicgetLookAheadEpochsand specs.Written by Cursor Bugbot for commit 77cfe6c. This will update automatically on new commits. Configure here.