Skip to content

Add additional broadcast validation tests for Fulu/PeerDAS #7325

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

Open
wants to merge 11 commits into
base: unstable
Choose a base branch
from

Conversation

eserilev
Copy link
Member

@eserilev eserilev commented Apr 15, 2025

Issue Addressed

Closes #6855

Proposed Changes

Add PeerDAS broadcast validation tests and fix a small bug where sampling_columns_indices is none (indicating that we've already sampled the necessary columns) and process_gossip_data_columns gets called

Additional Info

If theres a better way to format these tests (maybe have CI feed in a list of forks to the relevant tests?) I can do that instead

@eserilev eserilev added das Data Availability Sampling fulu Required for the upcoming Fulu hard fork test improvement Improve tests ready-for-review The code is ready for review labels Apr 15, 2025
Comment on lines 1617 to 1626
let deneb_enabled_forks = ForkName::list_all()
.into_iter()
.filter(|f| f.deneb_enabled())
.collect::<Vec<_>>();

let futures = deneb_enabled_forks
.into_iter()
.map(blobs_or_columns_seen_on_gossip_without_block_and_no_http_blobs_or_columns);

join_all(futures).await;
Copy link
Member

Choose a reason for hiding this comment

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

I agree this pattern feels a bit repetitive.

We could do what we do in the other tests like beacon_chain, op_pool, network, which is use test_spec to initialise the ChainSpec from the FORK_NAME environment variable. This would require us to add some makefile & CI support for the HTTP tests, and exclude them from make test-release.

Copy link
Member Author

Choose a reason for hiding this comment

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

yep sounds good!

@michaelsproul michaelsproul added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Apr 22, 2025
@eserilev eserilev added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels May 14, 2025
Copy link

mergify bot commented May 15, 2025

Some required checks have failed. Could you please take a look @eserilev? 🙏

@mergify mergify bot added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels May 15, 2025
Copy link

mergify bot commented May 20, 2025

Some required checks have failed. Could you please take a look @eserilev? 🙏

@eserilev eserilev added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
das Data Availability Sampling fulu Required for the upcoming Fulu hard fork ready-for-review The code is ready for review test improvement Improve tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants