mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Rename --subscribe-all-data-column-subnets to --supernode and make it visible in help (#8083)
Rename `--subscribe-all-data-column-subnets` to `--supernode` as it's now been officially accepted in the spec. Also make it visible in help in preparation for the fusaka release. https://github.com/ethereum/consensus-specs/blob/dev/specs/fulu/p2p-interface.md#supernodes Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
This commit is contained in:
@@ -833,6 +833,19 @@ fn network_subscribe_all_data_column_subnets_flag() {
|
||||
.with_config(|config| assert!(config.network.subscribe_all_data_column_subnets));
|
||||
}
|
||||
#[test]
|
||||
fn network_supernode_flag() {
|
||||
CommandLineTest::new()
|
||||
.flag("supernode", None)
|
||||
.run_with_zero_port()
|
||||
.with_config(|config| assert!(config.network.subscribe_all_data_column_subnets));
|
||||
}
|
||||
#[test]
|
||||
fn network_subscribe_all_data_column_subnets_default() {
|
||||
CommandLineTest::new()
|
||||
.run_with_zero_port()
|
||||
.with_config(|config| assert!(!config.network.subscribe_all_data_column_subnets));
|
||||
}
|
||||
#[test]
|
||||
fn blob_publication_batches() {
|
||||
CommandLineTest::new()
|
||||
.flag("blob-publication-batches", Some("3"))
|
||||
|
||||
Reference in New Issue
Block a user