Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add legacy_amino_encoding #86

Merged
merged 1 commit into from
Oct 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions proto/cosmos_proto/cosmos.proto
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,17 @@ message ScalarDescriptor {
// encoding standards and simple and clear. Currently only string and
// bytes fields are supported for scalars.
repeated ScalarType field_type = 3;

// legacy_amino_encoding is an optional string to describe the encoding
// format used by Amino. The field type is chosen to be a string so that
// the value can either be:
// - a machine-readable string, such as "base64", "bech32" or "utf8",
// - or a human-readable string, for instance a short specification of how
// a big integer would be encoded using Amino.
//
// If left empty, then the Amino encoding is expected to be the same as the
// Protobuf one.
string legacy_amino_encoding = 4;
}

enum ScalarType {
Expand Down