feat: introduce pallet-parameters to Westend to parameterize inflation (#4938)
Fixes #4907 ## Changes - Add `pallet-parameters` to Westend runtime - Add `relay_era_payout` function to Polkadot runtime common + deprecate previous `era_payout` function - Add unit tests for `relay_era_payout`, matching previous unit tests for `era_payout` - Remove `pallet_staking_reward_curve` in Westend runtime - Add `dynamic_params` to replace constants used for `pallet_staking_reward_curve` Polkadot address: 5DybbVdLvVWd7MiA1YwkzLUNL1ThMDicozbuLc8v9pQEScPQ --------- Co-authored-by:Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by:
kianenigma <kian@parity.io> Co-authored-by: command-bot <>
Showing
- Cargo.lock 1 addition, 1 deletionCargo.lock
- polkadot/runtime/common/src/impls.rs 171 additions, 23 deletionspolkadot/runtime/common/src/impls.rs
- polkadot/runtime/westend/Cargo.toml 4 additions, 1 deletionpolkadot/runtime/westend/Cargo.toml
- polkadot/runtime/westend/src/lib.rs 116 additions, 18 deletionspolkadot/runtime/westend/src/lib.rs
- polkadot/runtime/westend/src/weights/mod.rs 1 addition, 0 deletionspolkadot/runtime/westend/src/weights/mod.rs
- polkadot/runtime/westend/src/weights/pallet_parameters.rs 63 additions, 0 deletionspolkadot/runtime/westend/src/weights/pallet_parameters.rs
- prdoc/pr_4938.prdoc 21 additions, 0 deletionsprdoc/pr_4938.prdoc
- prdoc/pr_4943.prdoc 2 additions, 2 deletionsprdoc/pr_4943.prdoc
Please register or sign in to comment