You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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!
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.
The text was updated successfully, but these errors were encountered: