Skip to content

Commit 44f0377

Browse files
docs
1 parent 7ea113d commit 44f0377

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

rs/consensus/src/consensus/block_maker.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,9 +575,15 @@ impl BlockMaker {
575575
and height {next_summary_block_height}. Freezing registry version."
576576
);
577577

578+
// Bump the registry version to the scheduled version of the split right when
579+
// we reach the height of the next summary block.
578580
if parents_height.increment() == next_summary_block_height {
579581
return Some(scheduled_at);
580582
}
583+
// Until then, we continue iterating back until finding a registry version that
584+
// *does not* contain the scheduled split. I.e., we "freeze" the registry
585+
// version at the last version that does not contain the split, until we reach
586+
// the next summary block.
581587
}
582588
}
583589
}

0 commit comments

Comments
 (0)