Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
programskillforverification committed Aug 20, 2024
1 parent a43ca9c commit 5d15302
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions bridges/modules/xcm-bridge-hub/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ use xcm_builder::{
};
use xcm_executor::XcmExecutor;

// const ROCOCO_GENESIS_HASH: [u8; 32] =
// hex!["6408de7737c59c238890533af25896a2c20608d8b380bb01029acb392781063e"];

pub type AccountId = AccountId32;
pub type Balance = u64;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ use bridge_hub_common::{
use pallet_xcm::EnsureXcm;
pub use sp_consensus_aura::sr25519::AuthorityId as AuraId;
pub use sp_runtime::{MultiAddress, Perbill, Permill};

#[allow(unused_imports)]
use xcm::{
latest::{ROCOCO_GENESIS_HASH, WESTEND_GENESIS_HASH},
VersionedLocation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ use bp_runtime::HeaderId;
pub use sp_runtime::BuildStorage;

use polkadot_runtime_common::{BlockHashCount, SlowAdjustingFeeUpdate};

#[allow(unused_imports)]
use xcm::{
latest::{ROCOCO_GENESIS_HASH, WESTEND_GENESIS_HASH},
prelude::*,
Expand Down
2 changes: 0 additions & 2 deletions polkadot/xcm/src/v4/junction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ impl From<NewNetworkId> for NetworkId {
ByFork { block_number, block_hash } => Self::ByFork { block_number, block_hash },
Polkadot => Self::Polkadot,
Kusama => Self::Kusama,
// Westend => Self::Westend,
// Rococo => Self::Rococo,
Wococo => Self::Wococo,
Ethereum { chain_id } => Self::Ethereum { chain_id },
BitcoinCore => Self::BitcoinCore,
Expand Down

0 comments on commit 5d15302

Please sign in to comment.