From 08968b280245b53ce790f9234289960ace6bbaee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lo=C3=AFs?= Date: Sun, 21 Jul 2024 12:57:58 +0200 Subject: [PATCH] make some pallet-assets items public for foreign assets migration --- substrate/frame/assets/src/lib.rs | 2 +- substrate/frame/assets/src/types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/frame/assets/src/lib.rs b/substrate/frame/assets/src/lib.rs index 9056b1eefbdc..1d5fe8395105 100644 --- a/substrate/frame/assets/src/lib.rs +++ b/substrate/frame/assets/src/lib.rs @@ -382,7 +382,7 @@ pub mod pallet { #[pallet::storage] /// The holdings of a specific account for a specific asset. - pub(super) type Account, I: 'static = ()> = StorageDoubleMap< + pub type Account, I: 'static = ()> = StorageDoubleMap< _, Blake2_128Concat, T::AssetId, diff --git a/substrate/frame/assets/src/types.rs b/substrate/frame/assets/src/types.rs index 11edc7d3fcb5..a291f53907bd 100644 --- a/substrate/frame/assets/src/types.rs +++ b/substrate/frame/assets/src/types.rs @@ -175,7 +175,7 @@ impl AccountStatus { #[derive(Clone, Encode, Decode, Eq, PartialEq, RuntimeDebug, MaxEncodedLen, TypeInfo)] pub struct AssetAccount { /// The balance. - pub(super) balance: Balance, + pub balance: Balance, /// The status of the account. pub(super) status: AccountStatus, /// The reason for the existence of the account.