Skip to content

Commit

Permalink
remove unused const variables
Browse files Browse the repository at this point in the history
  • Loading branch information
programskillforverification committed Aug 20, 2024
1 parent a43ca9c commit ed86293
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,7 @@ use bridge_hub_common::{
use pallet_xcm::EnsureXcm;
pub use sp_consensus_aura::sr25519::AuthorityId as AuraId;
pub use sp_runtime::{MultiAddress, Perbill, Permill};
use xcm::{
latest::{ROCOCO_GENESIS_HASH, WESTEND_GENESIS_HASH},
VersionedLocation,
};
use xcm::VersionedLocation;
use xcm_config::{TreasuryAccount, XcmOriginToTransactDispatchOrigin, XcmRouter};

#[cfg(any(feature = "std", test))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,7 @@ use bp_runtime::HeaderId;
pub use sp_runtime::BuildStorage;

use polkadot_runtime_common::{BlockHashCount, SlowAdjustingFeeUpdate};
use xcm::{
latest::{ROCOCO_GENESIS_HASH, WESTEND_GENESIS_HASH},
prelude::*,
};
use xcm::prelude::*;

use weights::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight};

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 ed86293

Please sign in to comment.