From 531dbdbd296ce6b4d08127a786a941f0e3525f4a Mon Sep 17 00:00:00 2001 From: Bjerg Date: Wed, 11 Jan 2023 13:49:56 +0100 Subject: [PATCH] fix: allow partial configs (#814) --- bin/reth/src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/reth/src/config.rs b/bin/reth/src/config.rs index 95cb5a1156..f510f023c0 100644 --- a/bin/reth/src/config.rs +++ b/bin/reth/src/config.rs @@ -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?