Reduce finalization migration frequency

This commit is contained in:
Michael Sproul
2022-09-30 11:59:56 +10:00
parent a6318732cf
commit aa253ddd8f
6 changed files with 113 additions and 3 deletions

View File

@@ -170,6 +170,7 @@ where
.task_executor(context.executor.clone())
.custom_spec(spec.clone())
.chain_config(chain_config)
.store_migrator_config(config.store_migrator.clone())
.graffiti(graffiti)
.event_handler(event_handler)
.execution_layer(execution_layer)

View File

@@ -1,3 +1,4 @@
use beacon_chain::migrate::MigratorConfig;
use directory::DEFAULT_ROOT_DIR;
use network::NetworkConfig;
use sensitive_url::SensitiveUrl;
@@ -64,6 +65,7 @@ pub struct Config {
/// via the CLI at runtime, instead of from a configuration file saved to disk.
pub genesis: ClientGenesis,
pub store: store::StoreConfig,
pub store_migrator: MigratorConfig,
pub network: network::NetworkConfig,
pub chain: beacon_chain::ChainConfig,
pub eth1: eth1::Config,
@@ -83,6 +85,7 @@ impl Default for Config {
log_file: PathBuf::from(""),
genesis: <_>::default(),
store: <_>::default(),
store_migrator: <_>::default(),
network: NetworkConfig::default(),
chain: <_>::default(),
dummy_eth1_backend: false,