From d1b80a529666454676b725aead19a08bdbe7b6a9 Mon Sep 17 00:00:00 2001 From: Frederik Gartenmeister Date: Fri, 22 Sep 2023 09:26:33 +0200 Subject: [PATCH] fix: use fixed weight for fn process_msg() --- pallets/liquidity-pools-gateway/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/liquidity-pools-gateway/src/lib.rs b/pallets/liquidity-pools-gateway/src/lib.rs index 2c1a99a418..1d877ca911 100644 --- a/pallets/liquidity-pools-gateway/src/lib.rs +++ b/pallets/liquidity-pools-gateway/src/lib.rs @@ -322,7 +322,7 @@ pub mod pallet { } /// Process an incoming message. - #[pallet::weight(0)] + #[pallet::weight(T::WeightInfo::process_msg())] #[pallet::call_index(5)] pub fn process_msg( origin: OriginFor,