-
Couldn't load subscription status.
- Fork 928
Remove redundant subscribe_all_data_column_subnets field from network
#8259
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?
Remove redundant subscribe_all_data_column_subnets field from network
#8259
Conversation
Co-authored-by: pawanjay176 <[email protected]>
… validator should have `validator_custody_at_head` set to 0.
f3a3e2a to
029ba13
Compare
|
Some required checks have failed. Could you please take a look @jimmygchen? 🙏 |
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.
LGTM!
@jimmygchen this commit fixes the failing test 4084d11
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.
LGTM, just one nit
| fn test_nfd_enr_encoding() { | ||
| let spec = make_fulu_spec(); | ||
| let enr = build_enr_with_config(NetworkConfig::default(), None, &spec).0; | ||
| let enr = build_enr_with_config(NetworkConfig::default(), 4, &spec).0; |
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.
maybe use spec.custody_requirement here instead of hardcoding?
Issue Addressed
Addresses this comment: #8254 (comment)
We're currently using
subscribe_all_data_column_subnetshere to subscribe to all subnetslighthouse/beacon_node/lighthouse_network/src/types/topics.rs
Lines 82 to 92 in 522bd9e
But its unnecessary because the else path also works for supernode (uses
sampling_subnetsinstead)The big diffs will disappear once #8254 is merged.