From 35fe091a08a5e0bb27a7c9d099809dfea44ee1dc Mon Sep 17 00:00:00 2001 From: Shamil Gadelshin Date: Wed, 9 Oct 2024 12:56:49 +0400 Subject: [PATCH] Make FINALIZATION_DEPTH_IN_SEGMENTS private. --- crates/sc-consensus-subspace/src/archiver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sc-consensus-subspace/src/archiver.rs b/crates/sc-consensus-subspace/src/archiver.rs index c767f795e1..3336b989a8 100644 --- a/crates/sc-consensus-subspace/src/archiver.rs +++ b/crates/sc-consensus-subspace/src/archiver.rs @@ -96,7 +96,7 @@ const ACKNOWLEDGEMENT_TIMEOUT: Duration = Duration::from_mins(2); /// Ideally, we'd decouple pruning from finalization, but it may require invasive changes in /// Substrate and is not worth it right now. /// https://github.com/paritytech/substrate/discussions/14359 -pub const FINALIZATION_DEPTH_IN_SEGMENTS: SegmentIndex = SegmentIndex::new(5); +const FINALIZATION_DEPTH_IN_SEGMENTS: SegmentIndex = SegmentIndex::new(5); #[derive(Debug)] struct SegmentHeadersStoreInner {