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

core/scheduler: delete expired duties #1596

Merged
merged 3 commits into from
Jan 6, 2023
Merged

Conversation

corverroos
Copy link
Contributor

Delete expired duties from scheduler.

category: feature
ticket: #1584

@codecov
Copy link

codecov bot commented Jan 6, 2023

Codecov Report

Base: 54.14% // Head: 54.14% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (24a74fb) compared to base (d7760ca).
Patch coverage: 35.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1596      +/-   ##
==========================================
- Coverage   54.14%   54.14%   -0.01%     
==========================================
  Files         157      157              
  Lines       19916    19931      +15     
==========================================
+ Hits        10784    10791       +7     
- Misses       7678     7682       +4     
- Partials     1454     1458       +4     
Impacted Files Coverage Δ
core/scheduler/scheduler.go 73.48% <31.57%> (+0.95%) ⬆️
app/app.go 63.63% <100.00%> (ø)
core/priority/prioritiser.go 60.48% <0.00%> (-1.62%) ⬇️
core/qbft/qbft.go 83.19% <0.00%> (-0.64%) ⬇️
app/eth2wrap/synthproposer.go 66.25% <0.00%> (-0.32%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@corverroos corverroos added the merge when ready Indicates bulldozer bot may merge when all checks pass label Jan 6, 2023
@obol-bulldozer obol-bulldozer bot merged commit f1892ec into main Jan 6, 2023
@obol-bulldozer obol-bulldozer bot deleted the corver/scheddeadline branch January 6, 2023 13:18
obol-bulldozer bot pushed a commit that referenced this pull request Jan 10, 2023
Fixes issue introduced by #1596 that trimmed data after 5 slots which caused inclusion delay calculation to stop working (it requires duties of 32 ago). Instead just delete duties after 3 epochs (avoid races and off-by-one issues of 2 epochs).

category: bug
ticket: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants