From cb5a95f6b4dd6779756b14360b96a5cbcd9efed3 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 b9b5b2388dfbe..462f8cd75ede0 100644 --- a/substrate/frame/assets/src/lib.rs +++ b/substrate/frame/assets/src/lib.rs @@ -419,7 +419,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 11edc7d3fcb58..a291f53907bde 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.