Skip to content
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

Add fee estimation support for XCMs over P<>K and P<>E bridges #389

Open
acatangiu opened this issue Jul 17, 2024 · 0 comments
Open

Add fee estimation support for XCMs over P<>K and P<>E bridges #389

acatangiu opened this issue Jul 17, 2024 · 0 comments

Comments

@acatangiu
Copy link
Contributor

acatangiu commented Jul 17, 2024

Fee estimations currently do NOT (correctly) work for XCMs going over P<>K and P<>E bridges.

They should.

fellowship-merge-bot bot pushed a commit that referenced this issue Jul 22, 2024
Adds the paritytech/polkadot-sdk#3607 and
paritytech/polkadot-sdk#3872 to all runtimes.
These APIs work together to allow dry running and estimating execution
and delivery fees for XCMs.

This PR doesn't allow querying the price in assets different than the
relay token for asset hubs. Can be done in a following PR.
Also tracking #388
and #389 for future
improvemens.

Old PR was #359, this
one targets main already updated to Polkadot SDK 1.13.

## Dear reviewer

Although there are a lot of changes, the main one is the addition of the
two aforementioned APIs to all relays and system parachains. The rest of
the files are tests, which all have the same format.
@acatangiu acatangiu changed the title Add delivery fee estimation tests for an asset transfer over the bridge Add fee estimation support for XCMs over P<>K and P<>E bridges Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant