polkadot
polkadot copied to clipboard
polkadot companion: #13416 (Staking Reward Rate API)
This companion adds the inflation_rate API to staking runtime calls.
- [x] added
inflationmod to runtime constants to provide a base ideal stake (before auction factoring) and falloff. - [x] abstracts
auctioned_slotsintoAuctionedSlots::get()to prevent repeating logic. - [x] abstracts
ideal_stakeintoruntime_common::get_ideal_stake()to prevent repeating logic.
Companion for https://github.com/paritytech/substrate/pull/13416
bot rebase
Rebased
bot rebase
Rebased
bot rebase
Rebased
bot rebase
Rebased
bot rebase
Rebased
The CI pipeline was cancelled due to failure one of the required jobs. Job name: test-linux-stable Logs: https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/2448770
bot rebase
Branch is already up-to-date