Skip to content

Commit

Permalink
INITIAL_STATE_HEIGHT is not certified
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuoWangNSL committed Aug 15, 2024
1 parent 8f37b43 commit a6f6bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/state_manager/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2355,7 +2355,7 @@ impl StateManagerImpl {

debug_assert!(extra_inmemory_heights_to_keep
.iter()
.all(|h| certified_state_heights.contains(h)));
.all(|h| certified_state_heights.contains(h) || *h == Self::INITIAL_STATE_HEIGHT));

debug_assert!(state_heights.contains(&latest_state_height));
debug_assert!(state_heights.contains(&latest_certified_height));
Expand Down

0 comments on commit a6f6bdb

Please sign in to comment.