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 more usable fee payment estimation runtime API #954

Open
jak-pan opened this issue Nov 30, 2024 · 4 comments
Open

Add more usable fee payment estimation runtime API #954

jak-pan opened this issue Nov 30, 2024 · 4 comments
Labels
good first issue Good for newcomers

Comments

@jak-pan
Copy link
Contributor

jak-pan commented Nov 30, 2024

It is currently super complicated to calculate fee payment amount as we have bunch of different rules for this. We should create runtime API where you will enter weight + accountId and get correct asset and amount, alternatively provide extrinsic and accountId and get correct values. This should not be hard as we have all the functions in the runtime to do this (when charging the fees) We could even add EVM calls to this to make it more simple.

P.S. these functions will be useful when implementing XCM fee estimation API and payment.

@jak-pan jak-pan added the good first issue Good for newcomers label Nov 30, 2024
@floor-licker
Copy link

I'd love to be assigned this issue, could get to work on it right away.

@jak-pan
Copy link
Contributor Author

jak-pan commented Dec 6, 2024

I'd love to be assigned this issue, could get to work on it right away.

Let's try

@jak-pan
Copy link
Contributor Author

jak-pan commented Dec 9, 2024

I'd love to be assigned this issue, could get to work on it right away.

Let me know if you want to take it and if you need more information.

@sylvaincormier
Copy link

Hi @jak-pan,
I’d be happy to take this issue on!
Could you please assign it to me,
and let me know if there’s any further detail or guidance you’d recommend before I get started?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants