fix: allow partial configs (#814)

This commit is contained in:
Bjerg
2023-01-11 13:49:56 +01:00
committed by GitHub
parent 2e95ed4b6e
commit 531dbdbd29

View File

@@ -12,6 +12,7 @@ use serde::{Deserialize, Serialize};
/// Configuration for the reth node.
#[derive(Debug, Clone, Default, Deserialize, Serialize)]
#[serde(default)]
pub struct Config {
/// Configuration for each stage in the pipeline.
// TODO(onbjerg): Can we make this easier to maintain when we add/remove stages?