-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Remove unused code in staking-async #10842
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: master
Are you sure you want to change the base?
Conversation
sigurpol
left a comment
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.
probably worth backporting to 2512 as well to simplify following staking PRs backporting (e.g. DAP satellite, session keys etc) for 2512 since this will be probably merged first. @kianenigma wdyt?
|
Sure can do! |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
|
/cmd prdoc generate --bump major |
|
/cmd prdoc --bump major |
| - rename `ahm-test` to `integration-tests` | ||
| crates: | ||
| - name: polkadot-sdk | ||
| bump: major |
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.
We had some annoyance recently while backporting PRs with major changes that ended up not being strictly major in reality... I guess we might end up backporting this PR as well if we merge it before the pending DAP stuff for phase 1 since it probably makes merging easier and it's no risk. My question here is : do we feel that the removal of reward-fn without public API or anything is really a major change?
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.
I am actually holding this off until the rest of your work is done, as this is not at all important, I just did it for a bit of cleanup :) so better if we merge it only after your PRs are merged, and without backport?
My question here is : do we feel that the removal of reward-fn without public API or anything is really a major change?
I am generally of the opinion that pallet-staking-async is not part of the general FRAME, and as someone recently suggested more in the class of ./polkadot/runtime, so I don't bother too much with thinking about if/how it breaks something. Not sure if I fully understood the question though.
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.
thanks for not merging immediately 😉 so yes, merging after DAP satellite would be perfect. And then up to you if you want to backport or not.
I agree on the recent discussion's outcome to have staking pallets outside frame - but yeah, until then any major change need to be handled ad-hoc while backporting. So here my suggestion was to use minor or patch since we are not really breaking any contract with external users
reward-fnfrompallet-staking-async. This crate is no longer needed.ahm-testtointegration-tests