From 7841b184271915ec3502a79533952ec50e2d1a53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Tue, 23 Jun 2026 14:40:30 +0100 Subject: [PATCH 1/4] disable mplex by default --- beacon_node/lighthouse_network/src/config.rs | 2 +- beacon_node/src/cli.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_node/lighthouse_network/src/config.rs b/beacon_node/lighthouse_network/src/config.rs index f54a7ee5b95..5668c950916 100644 --- a/beacon_node/lighthouse_network/src/config.rs +++ b/beacon_node/lighthouse_network/src/config.rs @@ -365,7 +365,7 @@ impl Default for Config { proposer_only: false, metrics_enabled: false, enable_light_client_server: true, - enable_mplex: true, + enable_mplex: false, outbound_rate_limiter_config: None, invalid_block_storage: None, inbound_rate_limiter_config: None, diff --git a/beacon_node/src/cli.rs b/beacon_node/src/cli.rs index 3cf6a6efd22..44f75912090 100644 --- a/beacon_node/src/cli.rs +++ b/beacon_node/src/cli.rs @@ -393,7 +393,7 @@ pub fn cli_app() -> Command { .value_name("BOOLEAN") .action(ArgAction::Set) .num_args(0..=1) - .default_value("true") + .default_value("false") .default_missing_value("true") .help("Enables the mplex multiplexer alongside yamux. Yamux is preferred when both are available. Enabled by default; set to \"false\" to disable.") .display_order(0) From c2d00cdf0d4f4bd80757204e2e5f4e72516651bc Mon Sep 17 00:00:00 2001 From: Daniel Knopik Date: Tue, 1 Sep 2026 15:20:57 +0200 Subject: [PATCH 2/4] updated md --- book/src/help_bn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/help_bn.md b/book/src/help_bn.md index 9d13116945e..db91a3453ea 100644 --- a/book/src/help_bn.md +++ b/book/src/help_bn.md @@ -87,7 +87,7 @@ Options: --enable-mplex [] Enables the mplex multiplexer alongside yamux. Yamux is preferred when both are available. Enabled by default; set to "false" to disable. - [default: true] + [default: false] --enable-partial-columns [] Enable partial messages for data columns. This can reduce the amount of data sent over the network. Enabled by default on Hoodi and From eb5d341512eef6df6a73f60f72ccdcb03c173226 Mon Sep 17 00:00:00 2001 From: Daniel Knopik Date: Tue, 1 Sep 2026 15:21:52 +0200 Subject: [PATCH 3/4] fix test --- lighthouse/tests/beacon_node.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lighthouse/tests/beacon_node.rs b/lighthouse/tests/beacon_node.rs index 03676372faf..f68b952acfa 100644 --- a/lighthouse/tests/beacon_node.rs +++ b/lighthouse/tests/beacon_node.rs @@ -2813,11 +2813,11 @@ fn invalid_block_roots_default_mainnet() { } #[test] -fn enable_mplex_default() { +fn disable_mplex_default() { CommandLineTest::new() .run_with_zero_port() .with_config(|config| { - assert!(config.network.enable_mplex); + assert!(!config.network.enable_mplex); }) } From b7374dbec0d2113eb44a0a9e907d03d3cadcb7be Mon Sep 17 00:00:00 2001 From: Daniel Knopik Date: Tue, 1 Sep 2026 15:35:08 +0200 Subject: [PATCH 4/4] fix help text --- beacon_node/lighthouse_network/src/config.rs | 2 +- beacon_node/src/cli.rs | 2 +- book/src/help_bn.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/beacon_node/lighthouse_network/src/config.rs b/beacon_node/lighthouse_network/src/config.rs index 9f3f9a150c1..d36180f02d4 100644 --- a/beacon_node/lighthouse_network/src/config.rs +++ b/beacon_node/lighthouse_network/src/config.rs @@ -128,7 +128,7 @@ pub struct Config { /// Whether to subscribe to the EIP-8025 `execution_proof` gossip topic. pub enable_execution_proof: bool, - /// Whether to enable the mplex multiplexer alongside yamux. Enabled by default. + /// Whether to enable the mplex multiplexer alongside yamux. Disabled by default. pub enable_mplex: bool, /// Configuration for the outbound rate limiter (requests made by this node). diff --git a/beacon_node/src/cli.rs b/beacon_node/src/cli.rs index 3e252813284..7355d03b227 100644 --- a/beacon_node/src/cli.rs +++ b/beacon_node/src/cli.rs @@ -395,7 +395,7 @@ pub fn cli_app() -> Command { .num_args(0..=1) .default_value("false") .default_missing_value("true") - .help("Enables the mplex multiplexer alongside yamux. Yamux is preferred when both are available. Enabled by default; set to \"false\" to disable.") + .help("Enables the mplex multiplexer alongside yamux. Yamux is preferred when both are available. Disabled by default; set to \"true\" to enable.") .display_order(0) ) .arg( diff --git a/book/src/help_bn.md b/book/src/help_bn.md index db91a3453ea..a65601a38d3 100644 --- a/book/src/help_bn.md +++ b/book/src/help_bn.md @@ -86,7 +86,7 @@ Options: both IPv4 and IPv6. Defaults to `port6` --enable-mplex [] Enables the mplex multiplexer alongside yamux. Yamux is preferred when - both are available. Enabled by default; set to "false" to disable. + both are available. Disabled by default; set to "true" to enable. [default: false] --enable-partial-columns [] Enable partial messages for data columns. This can reduce the amount