Skip to content
Commit d67ad13c authored by Francisco Aguirre's avatar Francisco Aguirre Committed by github-actions[bot]
Browse files

Add assets in pool with native to query_acceptable_payment_assets's return (#5599)



`XcmPaymentApi::query_acceptable_payment_assets` is an API that returns
the assets that can be used to pay fees on the runtime where it's
called.
For relays and most system chains this was configured only as the native
asset: ROC and WND.
However, the asset hubs have the asset conversion pallet, which allows
fees to be paid in any asset in a pool with the native one.
This PR adds the list of assets in a pool with the native one to the
return value of this API for the asset hubs.

---------

Co-authored-by: default avatarBranislav Kontur <[email protected]>
(cherry picked from commit d2ba5677)
parent 61182fb8
Pipeline #501376 waiting for manual action with stages
in 1 hour, 7 minutes, and 31 seconds