-
Notifications
You must be signed in to change notification settings - Fork 957
Add max delay to reconstruction #7976
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
Add max delay to reconstruction #7976
Conversation
beacon_node/beacon_processor/src/scheduler/work_reprocessing_queue.rs
Outdated
Show resolved
Hide resolved
|
Some required checks have failed. Could you please take a look @eserilev? 🙏 |
|
sync test failure. dont think its related to this PR. This is ready for review |
|
I should have written some tests for this in the first place. I've added those now, sorry about the back and forth. |
|
sync test failures are flaky im digging into it, but hopefully isnt a blocker for this PR |
jimmygchen
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.
The changes look good.
I'm not sure if the tests are behaving as expected though, as the chain isn't a supernode by default.
jimmygchen
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.
Looks great, thanks @eserilev 🎉
sigp#7697 If we're three seconds into the current slot just trigger reconstruction. I don't know what the correct reconstruction deadline number is, but it should probably be at least half a second before the attestation deadline Co-Authored-By: Eitan Seri- Levi <[email protected]> Co-Authored-By: Eitan Seri-Levi <[email protected]>
sigp#7697 If we're three seconds into the current slot just trigger reconstruction. I don't know what the correct reconstruction deadline number is, but it should probably be at least half a second before the attestation deadline Co-Authored-By: Eitan Seri- Levi <[email protected]> Co-Authored-By: Eitan Seri-Levi <[email protected]>
sigp#7697 If we're three seconds into the current slot just trigger reconstruction. I don't know what the correct reconstruction deadline number is, but it should probably be at least half a second before the attestation deadline Co-Authored-By: Eitan Seri- Levi <[email protected]> Co-Authored-By: Eitan Seri-Levi <[email protected]>
Issue Addressed
#7697
Proposed Changes
If we're three seconds into the current slot just trigger reconstruction. I don't know what the correct reconstruction deadline number is, but it should probably be at least half a second before the attestation deadline