Skip to content

Conversation

@zilm13
Copy link
Contributor

@zilm13 zilm13 commented Dec 9, 2025

PR Description

Fixed Issue(s)

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

import tech.pegasys.teku.spec.datastructures.blocks.SignedBeaconBlock;
import tech.pegasys.teku.spec.datastructures.blocks.SlotAndBlockRoot;

public interface BlockPrunedTrackerFactory {
Copy link
Contributor

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
Copy link
Contributor

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 :)

Copy link
Contributor Author

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) {
Copy link
Contributor

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.

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