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

PeerDAS: Withhold data on purpose. #14076

Merged
merged 2 commits into from
Jun 4, 2024
Merged

PeerDAS: Withhold data on purpose. #14076

merged 2 commits into from
Jun 4, 2024

Conversation

nalepae
Copy link
Contributor

@nalepae nalepae commented Jun 3, 2024

This PR introduces the hidden --data-columns-withhold-count flag.

When set to a non null i value, the block proposer will withhold all the data columns with index < i.
The main purpose of this flag is to test the correctness of the reconstruction either in E2E tests or in interop with Kurtosis.

@nalepae nalepae requested a review from a team as a code owner June 3, 2024 21:54
@nalepae nalepae requested review from kasey, rauljordan and prestonvanloon and removed request for a team June 3, 2024 21:54
subnet := uint64(colIdx) % params.BeaconConfig().DataColumnSidecarSubnetCount

if colIdx < dataColumnsWithholdCount {
log.WithFields(logrus.Fields{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add which subnet it was supposed to be broadcasted too in the warning log

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 264a8f7.

@nalepae nalepae merged commit 3f6e9c8 into peerDAS Jun 4, 2024
13 of 16 checks passed
@nalepae nalepae deleted the peerDAS-hold branch June 4, 2024 08:38
nalepae added a commit that referenced this pull request Jun 12, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Jul 17, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Jul 17, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nisdas pushed a commit that referenced this pull request Jul 18, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Jul 18, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Jul 29, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nisdas pushed a commit that referenced this pull request Aug 14, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nisdas pushed a commit that referenced this pull request Aug 15, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nisdas pushed a commit that referenced this pull request Aug 20, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Aug 27, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Aug 28, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Aug 28, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Oct 7, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Oct 7, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Oct 8, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Oct 23, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Oct 24, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Nov 20, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Nov 22, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Nov 22, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Nov 25, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Nov 25, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
nalepae added a commit that referenced this pull request Nov 27, 2024
* Introduce hidden flag `data-columns-withhold-count`.

* Address Nishant's comment.
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