-
Notifications
You must be signed in to change notification settings - Fork 132
Polkadot: Reintroduce pallet-parameters & parameterize inflation #732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Polkadot: Reintroduce pallet-parameters & parameterize inflation #732
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, thanks!
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
|
/cmd bench --runtime polkadot --pallet pallet_parameters |
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Did this ever run? Not super familiar with git actions. |
@PolkadotDom please, rebase and resolve conflicts and then we can re-run |
back to root origin check nits, remove unused test fmt Update CHANGELOG.md Update CHANGELOG.md taplo format Update relay/polkadot/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <[email protected]> Update relay/polkadot/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <[email protected]> Reduce code, add back logs, test inflation only settable by root Update CHANGELOG.md Co-authored-by: Oliver Tale-Yazdi <[email protected]> Add coretime changelog back
…dotDom/runtimes into dom/parameterize-inflation
|
/cmd bench --runtime polkadot --pallet pallet_parameters |
|
Command "bench --runtime polkadot --pallet pallet_parameters" has started 🚀 See logs here |
|
Command "bench --runtime polkadot --pallet pallet_parameters" has finished ✅ See logs here Subweight results:
|
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
back to root origin check nits, remove unused test fmt Update CHANGELOG.md Update CHANGELOG.md taplo format Update relay/polkadot/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <[email protected]> Update relay/polkadot/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <[email protected]> Reduce code, add back logs, test inflation only settable by root Update CHANGELOG.md Co-authored-by: Oliver Tale-Yazdi <[email protected]> Add coretime changelog back v1 nits, remove unused test taplo format Update relay/polkadot/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <[email protected]> Update relay/polkadot/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <[email protected]> Reduce code, add back logs, test inflation only settable by root Add coretime changelog back Introduce parameters pallet & inflation parameter back to root origin check nits, remove unused test fmt Update CHANGELOG.md Update CHANGELOG.md taplo format Update relay/polkadot/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <[email protected]> Update relay/polkadot/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <[email protected]> Reduce code, add back logs, test inflation only settable by root Update CHANGELOG.md Co-authored-by: Oliver Tale-Yazdi <[email protected]> Add coretime changelog back v1 nits, remove unused test taplo format Update relay/polkadot/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <[email protected]> Update relay/polkadot/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <[email protected]> Reduce code, add back logs, test inflation only settable by root Add coretime changelog back
e35fe3b to
44bf90f
Compare
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
|
/cmd bench --runtime polkadot --pallet pallet_parameters |
|
Command "bench --runtime polkadot --pallet pallet_parameters" has started 🚀 See logs here |
… pallet_parameters'
|
Command "bench --runtime polkadot --pallet pallet_parameters" has finished ✅ See logs here Subweight results:
|
Intended to close out #715.
Introduces both YearlyEmission and PercentToTreasury as parameters that can be set at runtime. Parameterizing the amount of DOT minted per year and the percentage of that that's diverted to the treasury. It also wraps the inflation tests in an externality as that's now necessary.
Note: It does not change the current rate of inflation.
@ggwpez
@jonasW3F