Summary
While working with the SDK, I have noticed several areas where the x/auth and x/bank modules could be improved. Some good progress was made via ADR 004 which stores balances by an account/denom key pair and via the merging of x/bank and x/supply. This meta-issue tracks several additional proposed improvements.
Each potential area for improvement will receive a short description in this issue and then have a larger linked issue which describes the issue and proposed improvements in more detail. Some of these changes will likely require ADRs.
WG Meeting Notes
https://hackmd.io/ORbi5JWgQDeNBdBYoc5H_Q
Current Roadmap (13.07.2021)
- removing bech32 globals and moving bech32 to auth
- separate auth and vesting
- add decimal support + virtual Denoms in denoms
Metadata
- Cosmos scalars
- Multiple locks per account.
Details
Remove Bech32 global prefixes
See #9690.
Index supply by denom
See #7092. ✅ Done.
x/bank object capabilities
See #7093.
Decimal coins
See #7113
Separate vesting from x/auth accounts
TODO Some initial discussion occurred in #4287.
MultiSig and ed25519
Multisig Schnoor / ed25519 standarization: #7315
Cosmos Scalars
see #9694.
cleanup dependencies on x/auth
Other modules depend on x/auth. This is against Cosmos SDK design principles. Either we need to revise the principles, or do refactoring. NOTE: part of this dependencies should / will be fixed when removing deprecated functionality.
More: #7318
Summary
While working with the SDK, I have noticed several areas where the
x/authandx/bankmodules could be improved. Some good progress was made via ADR 004 which stores balances by an account/denom key pair and via the merging ofx/bankandx/supply. This meta-issue tracks several additional proposed improvements.Each potential area for improvement will receive a short description in this issue and then have a larger linked issue which describes the issue and proposed improvements in more detail. Some of these changes will likely require ADRs.
WG Meeting Notes
https://hackmd.io/ORbi5JWgQDeNBdBYoc5H_Q
Current Roadmap (13.07.2021)
MetadataDetails
Remove Bech32 global prefixes
See #9690.
Index supply by denomSee #7092.✅ Done.x/bankobject capabilitiesSee #7093.
Decimal coins
See #7113
Separate vesting from
x/authaccountsTODO Some initial discussion occurred in #4287.
MultiSig and ed25519
Multisig Schnoor / ed25519 standarization: #7315
Cosmos Scalars
see #9694.
cleanup dependencies on x/auth
Other modules depend on x/auth. This is against Cosmos SDK design principles. Either we need to revise the principles, or do refactoring. NOTE: part of this dependencies should / will be fixed when removing deprecated functionality.
More: #7318