Skip to content

x/auth & x/bank Improvements #7091

@aaronc

Description

@aaronc

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)

  1. removing bech32 globals and moving bech32 to auth
  2. separate auth and vesting
  3. add decimal support + virtual Denoms in denoms Metadata
  4. Cosmos scalars
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions