Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Sep 3, 2024
1 parent 7566c01 commit ae0f674
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ pub enum ControlCall {
CreateAgent,
#[codec(index = 4)]
CreateChannel { mode: OperatingMode },
#[codec(index = 11)]
ForceRegisterToken {
location: Box<VersionedLocation>,
asset: Box<VersionedLocation>,
metadata: AssetMetadata,
},
}

#[allow(clippy::large_enum_variant)]
Expand Down Expand Up @@ -473,7 +467,7 @@ fn transfer_ah_token() {
BridgeHubWestend::execute_with(|| {
type Runtime = <BridgeHubWestend as Chain>::Runtime;

snowbridge_pallet_system::Tokens::<Runtime>::insert(
snowbridge_pallet_system::ForeignToNativeId::<Runtime>::insert(
token_id,
asset_id_after_reanchored.clone(),
);
Expand Down Expand Up @@ -643,7 +637,7 @@ fn transfer_penpal_native_token() {
BridgeHubWestend::execute_with(|| {
type Runtime = <BridgeHubWestend as Chain>::Runtime;

snowbridge_pallet_system::Tokens::<Runtime>::insert(
snowbridge_pallet_system::ForeignToNativeId::<Runtime>::insert(
token_id,
penpal_asset_location_after_reanchored.clone(),
);
Expand Down Expand Up @@ -813,7 +807,7 @@ fn transfer_penpal_asset() {
BridgeHubWestend::execute_with(|| {
type Runtime = <BridgeHubWestend as Chain>::Runtime;

snowbridge_pallet_system::Tokens::<Runtime>::insert(
snowbridge_pallet_system::ForeignToNativeId::<Runtime>::insert(
token_id,
penpal_asset_location_after_reanchored.clone(),
);
Expand Down

0 comments on commit ae0f674

Please sign in to comment.