From 8f59abd79c4329243cffda96ed653ad6983514a0 Mon Sep 17 00:00:00 2001 From: Alin Dima Date: Thu, 19 Sep 2024 14:26:13 +0300 Subject: [PATCH] fix compilation (#33) --- src/build_upgrade.rs | 2 +- src/submit_referendum.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/build_upgrade.rs b/src/build_upgrade.rs index 792cec6..0889bee 100644 --- a/src/build_upgrade.rs +++ b/src/build_upgrade.rs @@ -632,7 +632,7 @@ async fn send_as_superuser_from_polkadot(auth: &CallInfo) -> PolkadotRuntimeCall Instruction, Xcm, }, xcm::{ - double_encoded::DoubleEncoded, v2::OriginKind, v3::WeightLimit, VersionedLocation, + double_encoded::DoubleEncoded, v3::OriginKind, v3::WeightLimit, VersionedLocation, VersionedXcm::V4, }, }; diff --git a/src/submit_referendum.rs b/src/submit_referendum.rs index 239cc26..511d130 100644 --- a/src/submit_referendum.rs +++ b/src/submit_referendum.rs @@ -340,7 +340,7 @@ async fn polkadot_fellowship_referenda( pallet_xcm::pallet::Call as CollectivesXcmCall, staging_xcm::v4::{junctions::Junctions::Here, location::Location, Instruction, Xcm}, xcm::{ - double_encoded::DoubleEncoded, v2::OriginKind, v3::WeightLimit, VersionedLocation, + double_encoded::DoubleEncoded, v3::OriginKind, v3::WeightLimit, VersionedLocation, VersionedXcm::V4, }, };