Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden committed Sep 6, 2024
1 parent 2a85941 commit 3717f85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion system-parachains/bridge-hub-paseo/tests/snowbridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions system-parachains/bridge-hub-paseo/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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::*;
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 3717f85

Please sign in to comment.