From 08853857f9528a91d037e9fdb30583ba33a862fb Mon Sep 17 00:00:00 2001 From: 1xstj <106580853+1xstj@users.noreply.github.com> Date: Mon, 9 Oct 2023 18:03:23 +0530 Subject: [PATCH] fix: updates for light client read --- pallets/bridge-registry/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/bridge-registry/src/lib.rs b/pallets/bridge-registry/src/lib.rs index 576dab0f7..46dda8a84 100644 --- a/pallets/bridge-registry/src/lib.rs +++ b/pallets/bridge-registry/src/lib.rs @@ -140,7 +140,7 @@ pub mod pallet { #[pallet::storage] #[pallet::getter(fn bridges)] /// Storage for map of all bridges - pub(super) type Bridges = StorageMap< + pub type Bridges = StorageMap< _, Blake2_256, T::BridgeIndex, @@ -150,7 +150,7 @@ pub mod pallet { #[pallet::storage] #[pallet::getter(fn resource_to_bridge_index)] /// Mapping of resource to bridge index - pub(super) type ResourceToBridgeIndex = + pub type ResourceToBridgeIndex = StorageMap<_, Blake2_256, ResourceId, T::BridgeIndex>; #[pallet::event]