galacticcouncil / galacticcouncil/hydration-node

Add more usable fee payment estimation runtime API

Open
#954 4 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.