diff --git a/prdoc/pr_4091.prdoc b/prdoc/pr_4091.prdoc index d9b2e07352a8..5c38a344bd8a 100644 --- a/prdoc/pr_4091.prdoc +++ b/prdoc/pr_4091.prdoc @@ -1,13 +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: Remove `pallet::getter` usage from authority-discovery pallet +title: Removed `pallet::getter` usage from the authority-discovery pallet doc: - audience: Runtime Dev description: | - This PR removes `pallet::getter`s from `pallet-authority-discovery`. - The syntax `StorageItem::::get()` should be used instead. + This PR removed `pallet::getter`s from `pallet-authority-discovery`s storage items. + When accessed inside the pallet, use the syntax `StorageItem::::get()`. + When accessed outside the pallet, use the getters current_authorities() and next_authorities() instead. crates: - name: pallet-authority-discovery