Skip to content

Commit

Permalink
fix: Municipal Inflation: protobuf yaml tag naming (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbukva committed Aug 9, 2023
1 parent a93921c commit f661c3b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 39 deletions.
8 changes: 2 additions & 6 deletions proto/cosmos/mint/v1beta1/mint.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ message Minter {
// Inflation holds parameters for individual native token inflation
message MunicipalInflation {
// address where inflation induced new tokens will be minted
string target_address = 2;
string target_address = 2 [(gogoproto.moretags) = "yaml:\"target_address\""];
// current ANNUAL inflation rate
string value = 3 [
(gogoproto.moretags) = "yaml:\"inflation_rate\"",
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
(gogoproto.nullable) = false
];
string value = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
}

// Pair representing denom -> inflation mapping.
Expand Down
66 changes: 33 additions & 33 deletions x/mint/types/mint.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f661c3b

Please sign in to comment.