Skip to content

Commit

Permalink
fix: add missing amino.oneof_name options (#337)
Browse files Browse the repository at this point in the history
close #336
  • Loading branch information
hallazzang authored Jan 22, 2025
1 parent 84ad50b commit 10ff76b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 38 deletions.
4 changes: 2 additions & 2 deletions proto/initia/mstaking/v1/authz.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ message StakeAuthorization {
oneof validators {
// allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's
// account.
Validators allow_list = 2;
Validators allow_list = 2 [(amino.oneof_name) = "mstake/StakeAuthorization/AllowList"];
// deny_list specifies list of validator addresses to whom grantee can not delegate tokens.
Validators deny_list = 3;
Validators deny_list = 3 [(amino.oneof_name) = "mstake/StakeAuthorization/DenyList"];
}
// Validators defines list of validator addresses.
message Validators {
Expand Down
74 changes: 38 additions & 36 deletions x/mstaking/types/authz.pb.go

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

0 comments on commit 10ff76b

Please sign in to comment.