global: snapshot

This commit is contained in:
nym21
2026-03-18 12:02:53 +01:00
parent 04ddc6223e
commit b397b811f9
46 changed files with 943 additions and 1197 deletions

View File

@@ -35,12 +35,14 @@ pub(super) fn compute(
gini.bps
.height
.validate_computed_version_or_reset(source_version)?;
gini.bps.height.truncate_if_needed_at(
gini.bps
.height
.len()
.min(starting_indexes.height.to_usize()),
)?;
let min_len = gini
.bps
.height
.len()
.min(starting_indexes.height.to_usize());
gini.bps.height.truncate_if_needed_at(min_len)?;
let total_heights = supply_vecs
.iter()