-
Notifications
You must be signed in to change notification settings - Fork 873
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
base: unstable
Are you sure you want to change the base?
Conversation
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; |
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.
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
.
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.
yep sounds good!
Some required checks have failed. Could you please take a look @eserilev? 🙏 |
Some required checks have failed. Could you please take a look @eserilev? 🙏 |
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) andprocess_gossip_data_columns
gets calledAdditional 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