diff --git a/beacon_node/beacon_chain/src/chain_config.rs b/beacon_node/beacon_chain/src/chain_config.rs index ea8c5dd52..5c12bb40f 100644 --- a/beacon_node/beacon_chain/src/chain_config.rs +++ b/beacon_node/beacon_chain/src/chain_config.rs @@ -1,6 +1,7 @@ use serde_derive::{Deserialize, Serialize}; -pub const DEFAULT_IMPORT_BLOCK_MAX_SKIP_SLOTS: u64 = 10 * 32; +/// There is a 693 block skip in the current canonical Medalla chain, we use 700 to be safe. +pub const DEFAULT_IMPORT_BLOCK_MAX_SKIP_SLOTS: u64 = 700; #[derive(Debug, PartialEq, Eq, Clone, Deserialize, Serialize)] pub struct ChainConfig { diff --git a/beacon_node/src/cli.rs b/beacon_node/src/cli.rs index 5bb79c7df..6caa8acd9 100644 --- a/beacon_node/src/cli.rs +++ b/beacon_node/src/cli.rs @@ -260,6 +260,6 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> { ) .value_name("NUM_SLOTS") .takes_value(true) - .default_value("320") + .default_value("700") ) }