-
Notifications
You must be signed in to change notification settings - Fork 358
[WIP] Unify BlobSidecar and Fulu trackers pruning using BlobTrackerPool #10215
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
base: master
Are you sure you want to change the base?
Conversation
...etransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/DasSamplerBasic.java
Fixed
Show fixed
Hide fixed
...c/main/java/tech/pegasys/teku/statetransition/datacolumns/PrunedDataAvailabilitySampler.java
Fixed
Show fixed
Hide fixed
| import tech.pegasys.teku.spec.datastructures.blocks.SignedBeaconBlock; | ||
| import tech.pegasys.teku.spec.datastructures.blocks.SlotAndBlockRoot; | ||
|
|
||
| public interface BlockPrunedTrackerFactory { |
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.
what about naming it like DataSidecarBlockNotification or something similar. To signal that class implementing this will receive block notification for Data sidecar purposes.
| import tech.pegasys.teku.statetransition.blobs.BlockPrunedTrackerFactory; | ||
| import tech.pegasys.teku.statetransition.blobs.RemoteOrigin; | ||
|
|
||
| public interface PrunedDataAvailabilitySampler |
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.
What about letting DasSampler implementing the interface directly, without having this intermediate? I feel like we already have too many :)
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.
It's definitely not in the scope of data availability sampling, but I agree with you that we already have too many interfaces. Let's clean up
| } | ||
|
|
||
| @Override | ||
| public void onSlot(final UInt64 slot) { |
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.
we probably still need something pruning on finalization.
PR Description
Fixed Issue(s)
Documentation
doc-change-requiredlabel to this PR if updates are required.Changelog