-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset Hub: remove XCM sufficient asset fee trader #502
base: main
Are you sure you want to change the base?
Asset Hub: remove XCM sufficient asset fee trader #502
Conversation
@@ -263,133 +263,3 @@ fn cannot_create_pool_from_pool_assets() { | |||
); | |||
}); | |||
} | |||
|
|||
#[test] | |||
fn pay_xcm_fee_with_some_asset_swapped_for_native() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to the spend
file
@@ -276,141 +276,3 @@ fn cannot_create_pool_from_pool_assets() { | |||
); | |||
}); | |||
} | |||
|
|||
#[test] | |||
fn pay_xcm_fee_with_some_asset_swapped_for_native() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to the spend
file
@@ -496,66 +496,6 @@ fn receive_reserve_asset_deposited_dot_from_asset_hub_polkadot_fees_paid_by_pool | |||
) | |||
} | |||
|
|||
#[test] | |||
fn receive_reserve_asset_deposited_dot_from_asset_hub_polkadot_fees_paid_by_sufficient_asset_works() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar test where fees paid from the pool exist above
@@ -496,63 +496,6 @@ fn receive_reserve_asset_deposited_ksm_from_asset_hub_kusama_fees_paid_by_pool_s | |||
) | |||
} | |||
|
|||
#[test] | |||
fn receive_reserve_asset_deposited_ksm_from_asset_hub_kusama_fees_paid_by_sufficient_asset_works() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar test where fees paid from the pool exist above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good (please remove it from testnets as well).
Before merging/releasing this however, we should check to have funded pools for pairs of native and at least the "popular" sufficient assets on Polkadot and Kusama Asset Hubs (DOT, USDT, USDC, WETH, KSM).
Otherwise, we run the risk of breaking currently working usecases/dapps.
Removes sufficient asset trader which used on Asset Hub to pay the XCM fee if there is no pool for a fee asset.
Fixes: #475