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(proto): add messagename_all option to all messages #2474

Merged
merged 4 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ Ref: https://keepachangelog.com/en/1.0.0/

### Features

### Improvements

- [2474](https://github.com/umee-network/umee/pull/2464) (proto) add `gogo.messagename_all` option to all messages.

### Bug Fixes

- [2473](https://github.com/umee-network/umee/pull/2462) Correct x/ugov Amino registration for x/ugov messages (they don't have MessageName option).
Expand Down
1 change: 1 addition & 0 deletions proto/umee/auction/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "umee/auction/v1/auction.proto";

option go_package = "github.com/umee-network/umee/v6/x/auction";
option (gogoproto.goproto_getters_all) = false;
option (gogoproto.messagename_all) = true;

// Msg defines the x/auction module's Msg service.
service Msg {
Expand Down
3 changes: 2 additions & 1 deletion proto/umee/incentive/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import "cosmos/msg/v1/msg.proto";
import "gogoproto/gogo.proto";
import "umee/incentive/v1/incentive.proto";

option go_package = "github.com/umee-network/umee/v6/x/incentive";
option go_package = "github.com/umee-network/umee/v6/x/incentive";
option (gogoproto.messagename_all) = true;

// Msg defines the x/incentive module's Msg service.
service Msg {
Expand Down
3 changes: 1 addition & 2 deletions proto/umee/leverage/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";
import "umee/leverage/v1/leverage.proto";

option go_package = "github.com/umee-network/umee/v6/x/leverage/types";

option go_package = "github.com/umee-network/umee/v6/x/leverage/types";
option (gogoproto.goproto_getters_all) = false;
option (gogoproto.messagename_all) = true;

Expand Down
1 change: 1 addition & 0 deletions proto/umee/metoken/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "umee/metoken/v1/metoken.proto";

option go_package = "github.com/umee-network/umee/v6/x/metoken";
option (gogoproto.goproto_getters_all) = false;
option (gogoproto.messagename_all) = true;

// Msg defines the x/metoken module's Msg service.
service Msg {
Expand Down
4 changes: 2 additions & 2 deletions proto/umee/oracle/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package umee.oracle.v1;

import "gogoproto/gogo.proto";

option go_package = "github.com/umee-network/umee/v6/x/oracle/types";

option go_package = "github.com/umee-network/umee/v6/x/oracle/types";
option (gogoproto.goproto_getters_all) = false;
option (gogoproto.messagename_all) = true;

// Msg defines the oracle Msg service.
service Msg {
Expand Down
4 changes: 2 additions & 2 deletions proto/umee/ugov/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";
import "umee/ugov/v1/ugov.proto";

option go_package = "github.com/umee-network/umee/v6/x/ugov";

option go_package = "github.com/umee-network/umee/v6/x/ugov";
option (gogoproto.goproto_getters_all) = false;
option (gogoproto.messagename_all) = true;

// Msg defines the x/ugov module's Msg service.
service Msg {
Expand Down
3 changes: 1 addition & 2 deletions proto/umee/uibc/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import "cosmos/msg/v1/msg.proto";
import "cosmos_proto/cosmos.proto";
import "umee/uibc/v1/quota.proto";

option go_package = "github.com/umee-network/umee/v6/x/uibc";

option go_package = "github.com/umee-network/umee/v6/x/uibc";
option (gogoproto.goproto_getters_all) = false;
option (gogoproto.messagename_all) = true;

Expand Down
71 changes: 43 additions & 28 deletions x/auction/tx.pb.go

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

Loading
Loading