Skip to content

Commit

Permalink
Make PendingConfigs storage item public (#5467)
Browse files Browse the repository at this point in the history
## Description
This PR changes `PendingConfigs` storage item's visibility from crate to
public. This enable us to read it in our runtime.

---------

Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
ParthDesai and bkchr authored Aug 27, 2024
1 parent 7e7c334 commit 0d7becf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion polkadot/runtime/parachains/src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ pub mod pallet {
/// The list is sorted ascending by session index. Also, this list can only contain at most
/// 2 items: for the next session and for the `scheduled_session`.
#[pallet::storage]
pub(crate) type PendingConfigs<T: Config> =
pub type PendingConfigs<T: Config> =
StorageValue<_, Vec<(SessionIndex, HostConfiguration<BlockNumberFor<T>>)>, ValueQuery>;

/// If this is set, then the configuration setters will bypass the consistency checks. This
Expand Down
10 changes: 10 additions & 0 deletions prdoc/pr_5467.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
title: Make PendingConfigs storage item public

doc:
- audience: Runtime Dev
description: |
Make PendingConfigs storage item in polkadot's configuration crate public.

crates:
- name: polkadot-runtime-parachains
bump: minor

0 comments on commit 0d7becf

Please sign in to comment.