galacticcouncil / galacticcouncil/hydration-node
Add more usable fee payment estimation runtime API
Open
good first issue
- Dominant language
- Rust
- Stars
- 208
- Forks
- 109
- Avg merge
- 6d 3h
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.