Skip to content

Commit

Permalink
Remove getters from pallet-membership (#4840)
Browse files Browse the repository at this point in the history
As per #3326 , removes pallet::getter macro usage from
pallet-membership. The syntax StorageItem::<T, I>::get() should be used
instead. Also converts some syntax to turbo and reimplements the removed
getters, following #223

cc @muraca

---------

Co-authored-by: Dónal Murray <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
  • Loading branch information
3 people committed Jul 1, 2024
1 parent aaf0443 commit 333f4c7
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 72 deletions.
14 changes: 14 additions & 0 deletions prdoc/pr_4840.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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-membership

doc:
- audience: Runtime Dev
description: |
This PR removed the `pallet::getter`s from `pallet-membership`.
The syntax `StorageItem::<T, I>::get()` should be used instead.

crates:
- name: pallet-membership
bump: minor
Loading

0 comments on commit 333f4c7

Please sign in to comment.