Introduce staking supply, contract and wallet (#1324)

* Introduce staking supply, contract and wallet

* Migration staking supply (#1327)

* Staking supply to params migration

* Include into migration entrypoint

* StateParams merge

* Add changelog

* Make everyone happy
This commit is contained in:
Drazen Urch
2022-06-10 12:36:35 +02:00
committed by GitHub
parent 68889bd362
commit eff732aa2c
18 changed files with 137 additions and 37 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ impl<C> ValidatorCacheRefresher<C> {
.map(|mixnode_bond| {
let stake_saturation = mixnode_bond
.stake_saturation(
interval_reward_params.circulating_supply(),
interval_reward_params.staking_supply(),
interval_reward_params.rewarded_set_size() as u32,
)
.to_num();