galacticcouncil / galacticcouncil/hydration-node

Different rules of calculation between transfer of asset and usability as fee payment

Open
#1,499 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
208
Forks
109
Avg merge
6d 3h
Merged PRs (30d)
3

Description

If user has reserved tokens, he can transfer them, but they can not be used for fee payment asset.
This is bit hard to explain for users, would be nice to have unified behaviour.

Transfer calculate transferable balance as free − max(frozen − reserved, ED)
Fee payment calculate as free − frozen

Contributor guide

Open the contributing guide

Research direction

Start by locating the transfer and fee-payment balance calculations and compare how reserved, frozen, free, and existential-deposit values are handled. Clarify which unified behavior is intended, then add coverage for reserved-token cases and verify that transferability and fee payment follow the same rule.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.