Skip to content

Commit

Permalink
Remove getters from pallet-membership (paritytech#4840)
Browse files Browse the repository at this point in the history
As per paritytech#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 paritytech#223

cc @muraca

---------

Co-authored-by: Dónal Murray <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
  • Loading branch information
3 people authored and TomaszWaszczyk committed Jul 7, 2024
1 parent 1f4bb65 commit 864fd99
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 864fd99

Please sign in to comment.