diff --git a/system-parachains/collectives/collectives-polkadot/src/impls.rs b/system-parachains/collectives/collectives-polkadot/src/impls.rs index c970d82cfe..12ea0f5798 100644 --- a/system-parachains/collectives/collectives-polkadot/src/impls.rs +++ b/system-parachains/collectives/collectives-polkadot/src/impls.rs @@ -24,7 +24,7 @@ use pallet_alliance::{ProposalIndex, ProposalProvider}; use parachains_common::impls::NegativeImbalance; use sp_runtime::DispatchError; use sp_std::{cmp::Ordering, marker::PhantomData, prelude::*}; -use xcm::latest::{Fungibility, Junction, Parent}; +use xcm::latest::{Fungibility, Junction, Parent, WeightLimit}; type AccountIdOf = ::AccountId; @@ -63,7 +63,7 @@ where >::resolve_creating(&pallet_acc, amount); - let result = >::teleport_assets( + let result = >::limited_teleport_assets( <::RuntimeOrigin>::signed(pallet_acc.into()), Box::new(Parent.into()), Box::new( @@ -73,6 +73,7 @@ where ), Box::new((Parent, imbalance).into()), 0, + WeightLimit::Unlimited, ); if let Err(err) = result {