Skip to content

Commit b7dd53d

Browse files
authored
Fix compilation errors in pallet-xcm-info benchmarking module (#438)
1 parent a0fc264 commit b7dd53d

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

frame/xcm-info/src/benchmarking.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,16 @@
1919

2020
#![cfg(feature = "runtime-benchmarks")]
2121

22-
use super::{Pallet as XcmInfo, *};
22+
use super::*;
2323
use frame_benchmarking::v2::*;
24-
use frame_support::pallet_prelude::{Get, MaxEncodedLen};
2524
use frame_system::RawOrigin;
26-
use parity_scale_codec::{Decode, Encode};
2725
use sp_std::prelude::*;
2826

2927
#[benchmarks]
3028
mod benchmarks {
3129
use super::*;
32-
#[cfg(test)]
33-
use frame_system::RawOrigin;
34-
use staging_xcm::opaque::v3::MultiLocation;
35-
use staging_xcm::v5::NetworkId;
30+
use xcm::opaque::v3::MultiLocation;
31+
use xcm::v5::NetworkId;
3632

3733
#[benchmark]
3834
fn set_relay_network() {

0 commit comments

Comments
 (0)