Description
Summary
Write ADR with design desitions for the existing Coin(s)
and DecCoin(s)
implementation
Problem Definition
During #7027, multiple questions where rised on the decisions behind these types:
- Differences between Coin and Coins
can we document the rational to why a single coin of
ZeroInt
is valid but a set of coins with a coin ofZeroInt
is invalid? Seems counter-intuitive to me and if we support this it, the reason should be well documented. I'd be in favor of only considering positive amountCoins
valid
@colin-axner
- Denom regex choices
Regarding unicode characters, I think we need to be a little careful - are there any two characters which look very similar / identical but are actually represented differently (i.e., are unequal)? This can be an attack vector (where some malicious agent purposefully creates a denom that looks almost exactly like a real one - e.g. atom - but is actually unequal).
@cwgoes
- Custom Denominations
Proposal
Write ADR that summarizes all these choices and decisions
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Activity