From ae0f67468d8b55fc0eb623ceaa3b99426b237b67 Mon Sep 17 00:00:00 2001 From: ron Date: Tue, 3 Sep 2024 08:37:47 +0800 Subject: [PATCH] Fix test --- .../bridge-hub-westend/src/tests/snowbridge.rs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/src/tests/snowbridge.rs b/cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/src/tests/snowbridge.rs index e0dd2a42c340..996ab2657329 100644 --- a/cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/src/tests/snowbridge.rs +++ b/cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/src/tests/snowbridge.rs @@ -46,12 +46,6 @@ pub enum ControlCall { CreateAgent, #[codec(index = 4)] CreateChannel { mode: OperatingMode }, - #[codec(index = 11)] - ForceRegisterToken { - location: Box, - asset: Box, - metadata: AssetMetadata, - }, } #[allow(clippy::large_enum_variant)] @@ -473,7 +467,7 @@ fn transfer_ah_token() { BridgeHubWestend::execute_with(|| { type Runtime = ::Runtime; - snowbridge_pallet_system::Tokens::::insert( + snowbridge_pallet_system::ForeignToNativeId::::insert( token_id, asset_id_after_reanchored.clone(), ); @@ -643,7 +637,7 @@ fn transfer_penpal_native_token() { BridgeHubWestend::execute_with(|| { type Runtime = ::Runtime; - snowbridge_pallet_system::Tokens::::insert( + snowbridge_pallet_system::ForeignToNativeId::::insert( token_id, penpal_asset_location_after_reanchored.clone(), ); @@ -813,7 +807,7 @@ fn transfer_penpal_asset() { BridgeHubWestend::execute_with(|| { type Runtime = ::Runtime; - snowbridge_pallet_system::Tokens::::insert( + snowbridge_pallet_system::ForeignToNativeId::::insert( token_id, penpal_asset_location_after_reanchored.clone(), );