diff --git a/beacon_node/src/cli.rs b/beacon_node/src/cli.rs index a8349af86d..518ad2f041 100644 --- a/beacon_node/src/cli.rs +++ b/beacon_node/src/cli.rs @@ -1009,7 +1009,7 @@ pub fn cli_app() -> Command { database when they are older than the data availability boundary \ relative to the current epoch.") .action(ArgAction::Set) - .default_value("1") + .default_value("256") .display_order(0) ) .arg( diff --git a/book/src/help_bn.md b/book/src/help_bn.md index f7abc2ad79..0a132bc338 100644 --- a/book/src/help_bn.md +++ b/book/src/help_bn.md @@ -118,7 +118,7 @@ Options: --epochs-per-blob-prune The epoch interval with which to prune blobs from Lighthouse's database when they are older than the data availability boundary - relative to the current epoch. [default: 1] + relative to the current epoch. [default: 256] --epochs-per-migration The number of epochs to wait between running the migration of data from the hot DB to the cold DB. Less frequent runs can be useful for diff --git a/lighthouse/tests/beacon_node.rs b/lighthouse/tests/beacon_node.rs index 41ff24f27d..a636919a44 100644 --- a/lighthouse/tests/beacon_node.rs +++ b/lighthouse/tests/beacon_node.rs @@ -1972,7 +1972,7 @@ fn prune_blobs_on_startup_false() { fn epochs_per_blob_prune_default() { CommandLineTest::new() .run_with_zero_port() - .with_config(|config| assert!(config.store.epochs_per_blob_prune == 1)); + .with_config(|config| assert_eq!(config.store.epochs_per_blob_prune, 256)); } #[test] fn epochs_per_blob_prune_on_startup_five() {