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

Feature: HydraDX dynamic fee currency #114

Open
3 tasks
bvotteler opened this issue Sep 21, 2023 · 0 comments
Open
3 tasks

Feature: HydraDX dynamic fee currency #114

bvotteler opened this issue Sep 21, 2023 · 0 comments
Labels
enhancement New feature or request prio:medium

Comments

@bvotteler
Copy link

HydraDX has a feature to set a different extrinsics fee currency which then is used for future extrinsic submissions.
Our xcm lib does not take that into account and assumes the fee currency will be the native currency (HDX).
Therefore, the xcm bridge can run into errors when the user doesn't have enough fee currency available to submit the xcm extrinsic (but has enough HDX if the fees were still in HDX).

Therefore, we want to add:

  • an adapter or balance adapter method that gets the fee currency. The default implementation returns the native currency, and
  • HydraDX's implementation discovers and returns the actual set currency, and
  • the fee estimation implementation should be modified to utilize those methods to provide the estimated extrinsic submission fee correctly.
@bvotteler bvotteler added enhancement New feature or request prio:medium labels Sep 21, 2023
@nud3l nud3l added this to Backlog Sep 21, 2023
@github-project-automation github-project-automation bot moved this to New 🆕 in Backlog Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prio:medium
Projects
Status: New 🆕
Development

No branches or pull requests

1 participant