From f1e8b5327ee9f489e36b0656c90e9127f33d65f2 Mon Sep 17 00:00:00 2001 From: antondlr Date: Tue, 11 Mar 2025 14:58:38 +0100 Subject: [PATCH 1/3] Bump default `genesis-state-url-timeout` to 5 mins --- lighthouse/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighthouse/src/main.rs b/lighthouse/src/main.rs index d7a14e38092..a643e756ff2 100644 --- a/lighthouse/src/main.rs +++ b/lighthouse/src/main.rs @@ -387,7 +387,7 @@ fn main() { "The timeout in seconds for the request to --genesis-state-url.", ) .action(ArgAction::Set) - .default_value("180") + .default_value("300") .global(true) .display_order(0) ) From 036515de84c33a55565c1b7a0216a69779f16663 Mon Sep 17 00:00:00 2001 From: antondlr Date: Mon, 17 Mar 2025 14:48:12 +0100 Subject: [PATCH 2/3] update book --- book/src/help_bn.md | 2 +- book/src/help_general.md | 2 +- book/src/help_vc.md | 2 +- book/src/help_vm.md | 2 +- book/src/help_vm_create.md | 2 +- book/src/help_vm_import.md | 2 +- book/src/help_vm_move.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/book/src/help_bn.md b/book/src/help_bn.md index 79c8d8ead85..a0c6bb6cd1d 100644 --- a/book/src/help_bn.md +++ b/book/src/help_bn.md @@ -167,7 +167,7 @@ Options: then this value will be ignored. --genesis-state-url-timeout The timeout in seconds for the request to --genesis-state-url. - [default: 180] + [default: 300] --graffiti Specify your custom graffiti to be included in blocks. Defaults to the current version and commit, truncated to fit in 32 bytes. diff --git a/book/src/help_general.md b/book/src/help_general.md index 996b048d10a..72009440c10 100644 --- a/book/src/help_general.md +++ b/book/src/help_general.md @@ -52,7 +52,7 @@ Options: then this value will be ignored. --genesis-state-url-timeout The timeout in seconds for the request to --genesis-state-url. - [default: 180] + [default: 300] --log-format Specifies the log format used when emitting logs to the terminal. [possible values: JSON] diff --git a/book/src/help_vc.md b/book/src/help_vc.md index f3ccdf2ae30..81f2cd84008 100644 --- a/book/src/help_vc.md +++ b/book/src/help_vc.md @@ -50,7 +50,7 @@ Options: then this value will be ignored. --genesis-state-url-timeout The timeout in seconds for the request to --genesis-state-url. - [default: 180] + [default: 300] --graffiti Specify your custom graffiti to be included in blocks. --graffiti-file diff --git a/book/src/help_vm.md b/book/src/help_vm.md index 50c204f371c..d94d995bce9 100644 --- a/book/src/help_vm.md +++ b/book/src/help_vm.md @@ -49,7 +49,7 @@ Options: then this value will be ignored. --genesis-state-url-timeout The timeout in seconds for the request to --genesis-state-url. - [default: 180] + [default: 300] --log-format Specifies the log format used when emitting logs to the terminal. [possible values: JSON] diff --git a/book/src/help_vm_create.md b/book/src/help_vm_create.md index 2743117eae2..e3ea1f42cdb 100644 --- a/book/src/help_vm_create.md +++ b/book/src/help_vm_create.md @@ -56,7 +56,7 @@ Options: then this value will be ignored. --genesis-state-url-timeout The timeout in seconds for the request to --genesis-state-url. - [default: 180] + [default: 300] --log-format Specifies the log format used when emitting logs to the terminal. [possible values: JSON] diff --git a/book/src/help_vm_import.md b/book/src/help_vm_import.md index 68aab768aed..d8fbdac9b70 100644 --- a/book/src/help_vm_import.md +++ b/book/src/help_vm_import.md @@ -37,7 +37,7 @@ Options: then this value will be ignored. --genesis-state-url-timeout The timeout in seconds for the request to --genesis-state-url. - [default: 180] + [default: 300] --keystore-file The path to a keystore JSON file to be imported to the validator client. This file is usually created using staking-deposit-cli or diff --git a/book/src/help_vm_move.md b/book/src/help_vm_move.md index 99eee32c782..9e50362f064 100644 --- a/book/src/help_vm_move.md +++ b/book/src/help_vm_move.md @@ -45,7 +45,7 @@ Options: then this value will be ignored. --genesis-state-url-timeout The timeout in seconds for the request to --genesis-state-url. - [default: 180] + [default: 300] --log-format Specifies the log format used when emitting logs to the terminal. [possible values: JSON] From f3cb3cd9741819af64aa47cd74a173cfe0c18024 Mon Sep 17 00:00:00 2001 From: antondlr Date: Tue, 18 Mar 2025 00:50:45 +0100 Subject: [PATCH 3/3] change timeout in `genesis_state_url_default` test --- lighthouse/tests/beacon_node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighthouse/tests/beacon_node.rs b/lighthouse/tests/beacon_node.rs index 8055c33bc0f..8202165d916 100644 --- a/lighthouse/tests/beacon_node.rs +++ b/lighthouse/tests/beacon_node.rs @@ -2743,7 +2743,7 @@ fn genesis_state_url_default() { .run_with_zero_port() .with_config(|config| { assert_eq!(config.genesis_state_url, None); - assert_eq!(config.genesis_state_url_timeout, Duration::from_secs(180)); + assert_eq!(config.genesis_state_url_timeout, Duration::from_secs(300)); }); }