-
Notifications
You must be signed in to change notification settings - Fork 766
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
migrate pallet-node-authorization to use umbrella crate #7040
migrate pallet-node-authorization to use umbrella crate #7040
Conversation
|
||
doc: | ||
- audience: Runtime Dev | ||
description: This PR migrates the pallet-node-authorization to use the frame umbrella crate. This |
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.
The whole issue is marked as R0-silent
, as well as this PR, so we don't need a PRdoc unless you do something more than just the migration.
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.
To be pedantic, we are only adding new types to frame
, and adding things is still worthy of PRDoc and minor upgrade based on semver rules.
If we have merged some PRs already in this direction without PRDoc, it is okay since this crate is quite fresh, but going forward they should have PRDoc.
pallet-node-authorization
should not be minor afaik, and since nothing is changing, it is a patch.
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.
@ggwpez can you please double check I am not wrong?
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 have been creating prdocs for the 2 PRs I have raised for this issue. My reasoning was that even though the changes in pallets could be argued to be none
but adding new re-exports in the umbrella
pallet must be a minor
change.
pallet-node-authorization
should not be minor afaik, and since nothing is changing, it is a patch.
I thought about this. I checked the SemVer documnetation and it seems like the recommedation for patch
is specifically for bug fixes. Any changes to internal private functions could thus be categorised as minor
. Since we are basically just changing imports and internal dependencies, I thought minor
to be most accurate here. Curious to hear your thoughts @kianenigma @re-gius @ggwpez .
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.
Your description sounds more educated than mine, and I trust it more here :) so minor for both sounds good to me.
d2c157a
Description
Migrate pallet-node-authorization to use umbrella crate. Part of #6504
Review Notes
testing_prelude
insubstrate/frame/src/lib.rs
:weights.rs
uses theweights_prelude
like:tests.rs
andmock.rs
use thetesting_prelude
:lib.rs
uses the mainprelude
like: