mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 05:44:44 +00:00
rename --reconstruct-historic-states to --archive (#8795)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,7 @@ fn get_harness(validator_count: usize) -> BeaconChainHarness<EphemeralHarnessTyp
|
||||
get_harness_with_config(
|
||||
validator_count,
|
||||
ChainConfig {
|
||||
reconstruct_historic_states: true,
|
||||
archive: true,
|
||||
..Default::default()
|
||||
},
|
||||
)
|
||||
@@ -44,7 +44,7 @@ fn get_harness_with_spec(
|
||||
spec: &ChainSpec,
|
||||
) -> BeaconChainHarness<EphemeralHarnessType<MainnetEthSpec>> {
|
||||
let chain_config = ChainConfig {
|
||||
reconstruct_historic_states: true,
|
||||
archive: true,
|
||||
..Default::default()
|
||||
};
|
||||
let harness = BeaconChainHarness::builder(MainnetEthSpec)
|
||||
@@ -85,7 +85,7 @@ fn get_harness_semi_supernode(
|
||||
let harness = BeaconChainHarness::builder(MinimalEthSpec)
|
||||
.default_spec()
|
||||
.chain_config(ChainConfig {
|
||||
reconstruct_historic_states: true,
|
||||
archive: true,
|
||||
..Default::default()
|
||||
})
|
||||
.keypairs(KEYPAIRS[0..validator_count].to_vec())
|
||||
@@ -950,7 +950,7 @@ async fn pseudo_finalize_test_generic(
|
||||
let num_blocks_produced = MinimalEthSpec::slots_per_epoch() * 5;
|
||||
|
||||
let chain_config = ChainConfig {
|
||||
reconstruct_historic_states: true,
|
||||
archive: true,
|
||||
epochs_per_migration,
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user