From fb7ec0d151d4a43937b344f805f483e795df8711 Mon Sep 17 00:00:00 2001 From: antondlr Date: Tue, 1 Apr 2025 10:30:39 +0200 Subject: [PATCH] Change `genesis-state-url-timeout` (#7112) Timeouts sometimes occur on downloading the Holeksy genesis state from AWS, we've had reputable outside reports on this. It's around 200MB and hosted in APAC, it makes sense to bump the default, at least for Holesky. Bump default timeout from 180 to 300 secs --- 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 +- lighthouse/src/main.rs | 2 +- lighthouse/tests/beacon_node.rs | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/book/src/help_bn.md b/book/src/help_bn.md index 224db099e7..35ad020b74 100644 --- a/book/src/help_bn.md +++ b/book/src/help_bn.md @@ -166,7 +166,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 4de3270cfc..fbc3ca2557 100644 --- a/book/src/help_general.md +++ b/book/src/help_general.md @@ -51,7 +51,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 e01828aea2..c32104b17a 100644 --- a/book/src/help_vc.md +++ b/book/src/help_vc.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] --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 fdb035aa05..85e1a1168f 100644 --- a/book/src/help_vm.md +++ b/book/src/help_vm.md @@ -48,7 +48,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 c6bfe2e95a..3b88206397 100644 --- a/book/src/help_vm_create.md +++ b/book/src/help_vm_create.md @@ -55,7 +55,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 8da3eee9b0..63cca91ee5 100644 --- a/book/src/help_vm_import.md +++ b/book/src/help_vm_import.md @@ -36,7 +36,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 83824ce768..b7320ca290 100644 --- a/book/src/help_vm_move.md +++ b/book/src/help_vm_move.md @@ -44,7 +44,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/lighthouse/src/main.rs b/lighthouse/src/main.rs index 2b7387e076..a6ab1cfb6b 100644 --- a/lighthouse/src/main.rs +++ b/lighthouse/src/main.rs @@ -411,7 +411,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) ) diff --git a/lighthouse/tests/beacon_node.rs b/lighthouse/tests/beacon_node.rs index 1fb9e40c23..aad11c50d7 100644 --- a/lighthouse/tests/beacon_node.rs +++ b/lighthouse/tests/beacon_node.rs @@ -2758,7 +2758,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)); }); }