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:
Jimmy Chen
2025-09-19 17:01:16 +10:00
committed by GitHub
parent 78d330e4b7
commit 4efe47b3c3
4 changed files with 29 additions and 8 deletions

View File

@@ -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"))