-
Notifications
You must be signed in to change notification settings - Fork 699
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
Remove pallet::getter macro from pallet-identity #4586
Merged
bkchr
merged 34 commits into
paritytech:master
from
PolkadotDom:dom/remove-getters-pallet-identity
Jul 23, 2024
Merged
Changes from 20 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
66f1557
To turbo
PolkadotDom a3d5668
Remove identity getter
PolkadotDom 5813a55
Remove super of getter
PolkadotDom e334986
Remove subs of getter
PolkadotDom d94cbaf
Remove registrars getter
PolkadotDom a0b41f8
Remove authority getter
PolkadotDom 4e614bf
Remove username getter
PolkadotDom c05163f
Remove preapproved_usernames getter
PolkadotDom 8e90b02
Fix missing >
PolkadotDom 510d0a5
Make storage public
PolkadotDom 53b7abc
remove getter usage from kitchen sink
PolkadotDom 7155548
Update identity usage in kitchen sink
PolkadotDom cf404ec
fmt
PolkadotDom 6361ae3
Create pr_9999.prdoc
PolkadotDom 86df6c6
Update prdoc number
PolkadotDom 0fa9bb6
Update prdoc/pr_4586.prdoc
PolkadotDom cec64b1
Fix system chain integration tests
PolkadotDom ff47fdd
Fix pallet alliance issues
PolkadotDom 858bd86
fmt
PolkadotDom a121ed4
Merge branch 'master' into dom/remove-getters-pallet-identity
PolkadotDom 063a83d
Remove unnecessary semver bumps
PolkadotDom f47c967
Merge branch 'master' into dom/remove-getters-pallet-identity
PolkadotDom 9b724ef
Replace macro getters with explicit ones
PolkadotDom 6b1f932
fmt
PolkadotDom 0302e61
Update semver bump to minor
PolkadotDom 1fa8245
Merge remote-tracking branch 'upstream/master' into dom/remove-getter…
PolkadotDom 03d34ea
Export people runtime dependency
PolkadotDom 6584281
re-export rococo dependencies
PolkadotDom f3e943a
re-export westend runtime
PolkadotDom bc8c275
fmt
PolkadotDom 7615790
Set semver bumps to none
PolkadotDom 7612058
Merge branch 'master' into dom/remove-getters-pallet-identity
PolkadotDom 8d37b52
Merge branch 'master' into dom/remove-getters-pallet-identity
bkchr b455a80
".git/.scripts/commands/fmt/fmt.sh"
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 | ||
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json | ||
|
||
title: Removed `pallet::getter` usage from pallet-identity | ||
|
||
doc: | ||
- audience: Runtime Dev | ||
description: | | ||
This PR removed the `pallet::getter`s from `pallet-identity`. | ||
The syntax `StorageItem::<T, I>::get()` should be used instead. | ||
|
||
crates: | ||
- name: pallet-identity | ||
bump: major | ||
PolkadotDom marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- name: pallet-alliance | ||
bump: patch | ||
- name: kitchensink-runtime | ||
bump: patch | ||
- name: people-rococo-integration-tests | ||
bump: patch | ||
- name: people-westend-integration-tests | ||
bump: patch | ||
PolkadotDom marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
It also needs to mention pallet-alliance with a patch, since it was modified.
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.
@xlc getting conflicting comments here. @ggwpez In a comment above was told to remove the semver bumps since they don't change in a 'semver' sense.
I'd say I agree with xlc since there's really no functionality added/bugs fixed, but I'm happy to do whatever!
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.
it is not modified. the tests are not published
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.
Hadn't seen there was a none option. Have set the bumps to that.