diff --git a/lighthouse/tests/beacon_node.rs b/lighthouse/tests/beacon_node.rs index 237ca2db5..ffa28583f 100644 --- a/lighthouse/tests/beacon_node.rs +++ b/lighthouse/tests/beacon_node.rs @@ -1357,27 +1357,27 @@ fn prune_blobs_on_startup_false() { fn epochs_per_blob_prune_default() { CommandLineTest::new() .run_with_zero_port() - .with_config(|config| assert!(config.epochs_per_blob_prune == 1)); + .with_config(|config| assert!(config.store.epochs_per_blob_prune == 1)); } #[test] fn epochs_per_blob_prune_on_startup_five() { CommandLineTest::new() - .flag("epochs-per-blob-prune", Some(5)) + .flag("epochs-per-blob-prune", Some("5")) .run_with_zero_port() - .with_config(|config| assert!(!config.epochs_per_blob_prune == 5)); + .with_config(|config| assert!(!config.store.epochs_per_blob_prune == 5)); } #[test] fn blob_prune_margin_epochs_default() { CommandLineTest::new() .run_with_zero_port() - .with_config(|config| assert!(config.blob_prune_margin_epochs == 0)); + .with_config(|config| assert!(config.store.blob_prune_margin_epochs == 0)); } #[test] fn blob_prune_margin_epochs_on_startup_ten() { CommandLineTest::new() - .flag("blob-prune-margin-epochs", Some(10)) + .flag("blob-prune-margin-epochs", Some("10")) .run_with_zero_port() - .with_config(|config| assert!(!config.blob_prune_margin_epochs == Some(10))); + .with_config(|config| assert!(!config.store.blob_prune_margin_epochs == 10)); } #[test] fn reconstruct_historic_states_flag() {