Skip to content

Commit 4d31366

Browse files
committed
Merge branch 'mraszyk/no-state-hashing-during-catchup' into mraszyk/optimized-node-catch-up
2 parents 9b628b5 + 04f7f03 commit 4d31366

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

rs/state_manager/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3043,8 +3043,7 @@ impl StateManager for StateManagerImpl {
30433043
states.certifications.keys().cloned().collect();
30443044
drop(states);
30453045

3046-
let fast_forward_height =
3047-
self.fast_forward_height.load(Ordering::Relaxed);
3046+
let fast_forward_height = self.fast_forward_height.load(Ordering::Relaxed);
30483047
let state_heights = tip_height
30493048
..min(
30503049
tip_height + MAX_FUTURE_HEIGHTS_TO_CERTIFY,

rs/state_manager/tests/state_manager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ use ic_canonical_state::lazy_tree_conversion::state_height_as_tree;
55
use ic_canonical_state_tree_hash::lazy_tree::materialize::materialize;
66
use ic_config::state_manager::{Config, lsmt_config_default};
77
use ic_crypto_tree_hash::{
8-
Label, LabeledTree, LookupStatus, MatchPattern, MixedHashTree, Path as LabelPath, flatmap,
9-
recompute_digest, sparse_labeled_tree_from_paths, Witness,
8+
Label, LabeledTree, LookupStatus, MatchPattern, MixedHashTree, Path as LabelPath, Witness,
9+
flatmap, recompute_digest, sparse_labeled_tree_from_paths,
1010
};
1111
use ic_interfaces::certification::Verifier;
1212
use ic_interfaces::p2p::state_sync::{ChunkId, Chunkable, StateSyncArtifactId, StateSyncClient};

0 commit comments

Comments
 (0)