From 44ec331452d9cf642d00fca73c1b64e4d03cfa14 Mon Sep 17 00:00:00 2001 From: Emilia Hane Date: Tue, 17 Jan 2023 14:58:23 +0100 Subject: [PATCH] fixup! Simplify conceptual design --- beacon_node/store/src/hot_cold_store.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_node/store/src/hot_cold_store.rs b/beacon_node/store/src/hot_cold_store.rs index 5155d0cc3..988dd1cc0 100644 --- a/beacon_node/store/src/hot_cold_store.rs +++ b/beacon_node/store/src/hot_cold_store.rs @@ -1732,9 +1732,9 @@ impl, Cold: ItemStore> HotColdDB Some(epoch) => epoch, None => { // The split slot is set upon finalization and is the first slot in the latest - // finalized epoch, hence current_epoch = split_epoch + 1 + // finalized epoch, hence current_epoch = split_epoch + 2 let current_epoch = - self.get_split_slot().epoch(E::slots_per_epoch()) + Epoch::new(1); + self.get_split_slot().epoch(E::slots_per_epoch()) + Epoch::new(2); current_epoch.saturating_sub(*MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS) } };