Skip to content

Commit

Permalink
Fix imports (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
Agusrodri authored May 27, 2024
1 parent 848cc07 commit f0c7f17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion precompiles/pallet-xcm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ log = { workspace = true }
num_enum = { workspace = true }

# Moonbeam
precompile-utils = { workspace = true }
precompile-utils = { workspace = true, features = ["codec-xcm"] }
xcm-primitives = { workspace = true }

# Substrate
Expand Down
2 changes: 1 addition & 1 deletion precompiles/pallet-xcm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use precompile_utils::prelude::*;

use sp_core::{MaxEncodedLen, H256, U256};
use sp_runtime::traits::Dispatchable;
use sp_std::marker::PhantomData;
use sp_std::{boxed::Box, marker::PhantomData, vec, vec::Vec};
use sp_weights::Weight;
use xcm::{
latest::{Asset, AssetId, Assets, Fungibility, Location},
Expand Down
1 change: 1 addition & 0 deletions primitives/xcm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#![cfg_attr(not(feature = "std"), no_std)]

use sp_runtime::DispatchResult;
use sp_std::vec::Vec;

pub mod generators;
pub mod location_matcher;
Expand Down

0 comments on commit f0c7f17

Please sign in to comment.