Set default max skips to 700 (#1542)

## Issue Addressed

NA

## Proposed Changes

Sets the default max skips to 700 so that it can cover the 693 slot skip from `80894 - 80201`.

## Additional Info

NA
This commit is contained in:
Paul Hauner 2020-08-18 09:27:04 +00:00
parent 2d0b214b57
commit 93b7c3b7ff
2 changed files with 3 additions and 2 deletions

View File

@ -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 {

View File

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