There was an error while loading. Please reload this page.
1 parent 7ea113d commit 44f0377Copy full SHA for 44f0377
1 file changed
rs/consensus/src/consensus/block_maker.rs
@@ -575,9 +575,15 @@ impl BlockMaker {
575
and height {next_summary_block_height}. Freezing registry version."
576
);
577
578
+ // Bump the registry version to the scheduled version of the split right when
579
+ // we reach the height of the next summary block.
580
if parents_height.increment() == next_summary_block_height {
581
return Some(scheduled_at);
582
}
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.
587
588
589
0 commit comments