Skip to content

[Feature]: Remove DecProto #15949

Closed
@robert-zaremba

Description

Problem Definition

DecProto is not used anywhere, and I've seen some project using it instead of Dec type (which correctly implements Protobuf).

Proposal

To avoid confusions, we can simply remove DecProto.

Considerations

Advantage of having DecProto is the ability to write in the proto files:

cosmos.base.v1beta1.DecProto dec_amount = 1;

Disadvantages: more code and confusions in Go side of having Dec and DecProto.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions