From 925e9241d175cbbdefca937fa5fef0c86541240d Mon Sep 17 00:00:00 2001 From: realbigsean Date: Sun, 13 Mar 2022 21:57:04 +0000 Subject: [PATCH] Quotes around `SAFE_SLOTS_TO_IMPORT_OPTIMISTICALLY` in the API (#3074) ## Issue Addressed #3073 ## Proposed Changes Add around `SAFE_SLOTS_TO_IMPORT_OPTIMISTICALLY` in the API Co-authored-by: realbigsean --- consensus/types/src/chain_spec.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/consensus/types/src/chain_spec.rs b/consensus/types/src/chain_spec.rs index 0bc4fc22c..cd6e90645 100644 --- a/consensus/types/src/chain_spec.rs +++ b/consensus/types/src/chain_spec.rs @@ -796,6 +796,7 @@ pub struct Config { pub terminal_block_hash_activation_epoch: Epoch, // TODO(merge): remove this default #[serde(default = "default_safe_slots_to_import_optimistically")] + #[serde(with = "eth2_serde_utils::quoted_u64")] pub safe_slots_to_import_optimistically: u64, #[serde(with = "eth2_serde_utils::quoted_u64")]