Skip to content

Commit 2485beb

Browse files
committed
Add logging for downgrade
1 parent d045796 commit 2485beb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beacon_node/store/src/hot_cold_store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,10 +1744,10 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
17441744
}) = self.load_hot_state_summary(state_root)?
17451745
{
17461746
let mut state = match self.hot_storage_strategy(slot)? {
1747-
StorageStrategy::Snapshot | StorageStrategy::DiffFrom(_) => {
1747+
strat @ StorageStrategy::Snapshot | strat @ StorageStrategy::DiffFrom(_) => {
17481748
let buffer = self.load_hot_hdiff_buffer(*state_root).map_err(|e| {
17491749
Error::LoadingHotHdiffBufferError(
1750-
format!("load state DiffFrom {slot}"),
1750+
format!("load state {strat:?} {slot}"),
17511751
*state_root,
17521752
e.into(),
17531753
)

0 commit comments

Comments
 (0)