Skip to content

Commit

Permalink
Publicly expose inaccessible pallet_uniques state (#2727)
Browse files Browse the repository at this point in the history
A small PR to publicly expose the `pallet_uniques` state that is not
accessible through the nonfungibles implementation.

Currently, this state is unreachable from chain extensions.
  • Loading branch information
Szegoo authored Dec 16, 2023
1 parent e5b2ada commit 64d52f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions substrate/frame/uniques/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ pub mod pallet {
#[pallet::storage]
#[pallet::storage_prefix = "Class"]
/// Details of a collection.
pub(super) type Collection<T: Config<I>, I: 'static = ()> = StorageMap<
pub type Collection<T: Config<I>, I: 'static = ()> = StorageMap<
_,
Blake2_128Concat,
T::CollectionId,
Expand All @@ -174,7 +174,7 @@ pub mod pallet {

#[pallet::storage]
/// The collection, if any, of which an account is willing to take ownership.
pub(super) type OwnershipAcceptance<T: Config<I>, I: 'static = ()> =
pub type OwnershipAcceptance<T: Config<I>, I: 'static = ()> =
StorageMap<_, Blake2_128Concat, T::AccountId, T::CollectionId>;

#[pallet::storage]
Expand Down Expand Up @@ -208,7 +208,7 @@ pub mod pallet {
#[pallet::storage]
#[pallet::storage_prefix = "Asset"]
/// The items in existence and their ownership details.
pub(super) type Item<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
pub type Item<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
_,
Blake2_128Concat,
T::CollectionId,
Expand Down Expand Up @@ -257,7 +257,7 @@ pub mod pallet {

#[pallet::storage]
/// Price of an asset instance.
pub(super) type ItemPriceOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
pub type ItemPriceOf<T: Config<I>, I: 'static = ()> = StorageDoubleMap<
_,
Blake2_128Concat,
T::CollectionId,
Expand Down

0 comments on commit 64d52f2

Please sign in to comment.