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
@@ -188,7 +188,7 @@ pub(crate) async fn get_mixnode_stake_saturation(
let interval_reward_params = interval_reward_params.into_inner();
let saturation = bond.mixnode_bond.stake_saturation(
interval_reward_params.circulating_supply(),
interval_reward_params.staking_supply(),
interval_reward_params.rewarded_set_size() as u32,
);