global: snapshot

This commit is contained in:
nym21
2026-03-04 14:02:00 +01:00
parent 730e8bb4d4
commit 891f0dad9e
60 changed files with 300 additions and 643 deletions
+3 -3
View File
@@ -42,7 +42,7 @@ impl Vecs {
// Inflation rate
let inflation_rate =
PercentFromHeight::forced_import_bps32(&db, "inflation_rate", version, indexes)?;
PercentFromHeight::forced_import(&db, "inflation_rate", version, indexes)?;
// Velocity
let velocity = super::velocity::Vecs::forced_import(&db, version, indexes)?;
@@ -55,13 +55,13 @@ impl Vecs {
);
// Growth rates
let market_cap_growth_rate = PercentFromHeight::forced_import_bps32(
let market_cap_growth_rate = PercentFromHeight::forced_import(
&db,
"market_cap_growth_rate",
version + Version::ONE,
indexes,
)?;
let realized_cap_growth_rate = PercentFromHeight::forced_import_bps32(
let realized_cap_growth_rate = PercentFromHeight::forced_import(
&db,
"realized_cap_growth_rate",
version + Version::ONE,