Compute yearly inflation on-chain allowing to change x_ideal according to number of slots. (#8332)

* new crate

* Update frame/staking/reward-fn/src/lib.rs

Co-authored-by: Gavin Wood <gavin@parity.io>

* fix doc

Co-authored-by: Gavin Wood <gavin@parity.io>
This commit is contained in:
Guillaume Thiolliere
2021-03-19 09:32:22 +01:00
committed by GitHub
parent c727799531
commit 28fa5c2b6c
5 changed files with 370 additions and 0 deletions
+1
View File
@@ -107,6 +107,7 @@ members = [
"frame/staking",
"frame/staking/fuzzer",
"frame/staking/reward-curve",
"frame/staking/reward-fn",
"frame/sudo",
"frame/support",
"frame/support/procedural",