Skip to content

Commit

Permalink
Fix compile (#1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
hqwangningbo authored Jun 13, 2024
1 parent 489fc9c commit 3fe0b79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ copy-genesis-config-release:
format:
cargo +nightly fmt --all

.PHONY: format-check # cargo fmt check
format-check:
cargo +nightly fmt --all -- --check

.PHONY: clippy # cargo clippy
clippy:
clippy: format-check
SKIP_WASM_BUILD= cargo clippy --all --all-targets --features=with-all-runtime -- -D warnings

.PHONY: benchmarking-staking # benchmarking staking pallet
Expand Down
2 changes: 1 addition & 1 deletion pallets/xcm-interface/src/calls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use frame_support::sp_runtime::MultiSignature;
use parity_scale_codec::{Decode, Encode};
use sp_runtime::RuntimeDebug;
use sp_std::vec::Vec;
use sp_std::{boxed::Box, vec::Vec};
use xcm::{VersionedAssets, VersionedLocation};

use crate::ChainId;
Expand Down

0 comments on commit 3fe0b79

Please sign in to comment.