From 3717f8514a1c5494ce5eb5fc3ffdf94715139e39 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Fri, 6 Sep 2024 13:30:13 +0200 Subject: [PATCH] more fixes --- system-parachains/bridge-hub-paseo/tests/snowbridge.rs | 2 +- system-parachains/bridge-hub-paseo/tests/tests.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/system-parachains/bridge-hub-paseo/tests/snowbridge.rs b/system-parachains/bridge-hub-paseo/tests/snowbridge.rs index 06b9116..1352c0e 100644 --- a/system-parachains/bridge-hub-paseo/tests/snowbridge.rs +++ b/system-parachains/bridge-hub-paseo/tests/snowbridge.rs @@ -398,7 +398,7 @@ where let xcm = Xcm(vec![ WithdrawAsset(Assets::from(vec![fee.clone()])), BuyExecution { fees: fee, weight_limit: Unlimited }, - ExportMessage { network: Ethereum { chain_id: 1 }, destination: Here, xcm: inner_xcm }, + ExportMessage { network: Ethereum { chain_id: 11155111 }, destination: Here, xcm: inner_xcm }, ]); // execute XCM diff --git a/system-parachains/bridge-hub-paseo/tests/tests.rs b/system-parachains/bridge-hub-paseo/tests/tests.rs index a2b5628..2d15707 100644 --- a/system-parachains/bridge-hub-paseo/tests/tests.rs +++ b/system-parachains/bridge-hub-paseo/tests/tests.rs @@ -16,7 +16,7 @@ use bp_bridge_hub_kusama::Perbill; use bp_polkadot_core::Signature; -use bridge_hub_polkadot_runtime::{ +use bridge_hub_paseo_runtime::{ bridge_to_kusama_config::{ AssetHubKusamaParaId, BridgeGrandpaKusamaInstance, BridgeHubKusamaChainId, BridgeHubKusamaLocation, BridgeParachainKusamaInstance, DeliveryRewardInBalance, @@ -42,7 +42,7 @@ use sp_runtime::{ generic::{Era, SignedPayload}, AccountId32, }; -use system_parachains_constants::polkadot::{ +use system_parachains_constants::paseo::{ consensus::RELAY_CHAIN_SLOT_DURATION_MILLIS, fee::WeightToFee, }; use xcm::latest::prelude::*; @@ -147,7 +147,7 @@ bridge_hub_test_utils::test_cases::include_teleports_for_native_asset_works!( #[test] fn test_ed_is_one_tenth_of_relay() { - let relay_ed = polkadot_runtime_constants::currency::EXISTENTIAL_DEPOSIT; + let relay_ed = paseo_runtime_constants::currency::EXISTENTIAL_DEPOSIT; let bridge_hub_ed = ExistentialDeposit::get(); assert_eq!(relay_ed / 10, bridge_hub_ed); }