diff --git a/api/cosmos/bank/module/v1/module.pulsar.go b/api/cosmos/bank/module/v1/module.pulsar.go index 6d65ecfb24..11bf657225 100644 --- a/api/cosmos/bank/module/v1/module.pulsar.go +++ b/api/cosmos/bank/module/v1/module.pulsar.go @@ -576,8 +576,8 @@ type Module struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // blocked_module_accounts_override configures exceptional module accounts which should be blocked from receiving funds. - // If left empty it defaults to the list of account names supplied in the auth module configuration as + // blocked_module_accounts_override configures exceptional module accounts which should be blocked from receiving + // funds. If left empty it defaults to the list of account names supplied in the auth module configuration as // module_account_permissions BlockedModuleAccountsOverride []string `protobuf:"bytes,1,rep,name=blocked_module_accounts_override,json=blockedModuleAccountsOverride,proto3" json:"blocked_module_accounts_override,omitempty"` // authority defines the custom module authority. If not set, defaults to the governance module. diff --git a/api/cosmos/gov/v1beta1/query_grpc.pb.go b/api/cosmos/gov/v1beta1/query_grpc.pb.go index 7d6753ce06..ca2dc88a86 100644 --- a/api/cosmos/gov/v1beta1/query_grpc.pb.go +++ b/api/cosmos/gov/v1beta1/query_grpc.pb.go @@ -38,6 +38,7 @@ type QueryClient interface { // Proposals queries all proposals based on given status. Proposals(ctx context.Context, in *QueryProposalsRequest, opts ...grpc.CallOption) (*QueryProposalsResponse, error) // Vote queries voted information based on proposalID, voterAddr. + // Due to how we handle state, this query would error for proposals that has already been finished. Vote(ctx context.Context, in *QueryVoteRequest, opts ...grpc.CallOption) (*QueryVoteResponse, error) // Votes queries votes of a given proposal. Votes(ctx context.Context, in *QueryVotesRequest, opts ...grpc.CallOption) (*QueryVotesResponse, error) @@ -140,6 +141,7 @@ type QueryServer interface { // Proposals queries all proposals based on given status. Proposals(context.Context, *QueryProposalsRequest) (*QueryProposalsResponse, error) // Vote queries voted information based on proposalID, voterAddr. + // Due to how we handle state, this query would error for proposals that has already been finished. Vote(context.Context, *QueryVoteRequest) (*QueryVoteResponse, error) // Votes queries votes of a given proposal. Votes(context.Context, *QueryVotesRequest) (*QueryVotesResponse, error) diff --git a/proto/cosmos/accounts/v1/accounts.proto b/proto/cosmos/accounts/v1/accounts.proto index 6af5e39389..57b5989044 100644 --- a/proto/cosmos/accounts/v1/accounts.proto +++ b/proto/cosmos/accounts/v1/accounts.proto @@ -1,4 +1,4 @@ -syntax="proto3"; +syntax = "proto3"; package cosmos.accounts.v1; -option go_package = "cosmossdk.io/x/accounts/v1"; +option go_package = "cosmossdk.io/x/accounts/v1"; diff --git a/proto/cosmos/accounts/v1/query.proto b/proto/cosmos/accounts/v1/query.proto index 8df57a8905..e6aaaa871e 100644 --- a/proto/cosmos/accounts/v1/query.proto +++ b/proto/cosmos/accounts/v1/query.proto @@ -1,11 +1,7 @@ -syntax="proto3"; +syntax = "proto3"; package cosmos.accounts.v1; -option go_package = "cosmossdk.io/x/accounts/v1"; - +option go_package = "cosmossdk.io/x/accounts/v1"; // Query defines the Query service for the x/accounts module. service Query {} - - - diff --git a/proto/cosmos/accounts/v1/tx.proto b/proto/cosmos/accounts/v1/tx.proto index 463c5b2a36..9a266f2b3d 100644 --- a/proto/cosmos/accounts/v1/tx.proto +++ b/proto/cosmos/accounts/v1/tx.proto @@ -1,8 +1,7 @@ -syntax="proto3"; +syntax = "proto3"; package cosmos.accounts.v1; -option go_package = "cosmossdk.io/x/accounts/v1"; - +option go_package = "cosmossdk.io/x/accounts/v1"; // Msg defines the Msg service for the x/accounts module. service Msg {} diff --git a/proto/cosmos/gov/v1beta1/query.proto b/proto/cosmos/gov/v1beta1/query.proto index 28352ed40c..a77ed8d4cd 100644 --- a/proto/cosmos/gov/v1beta1/query.proto +++ b/proto/cosmos/gov/v1beta1/query.proto @@ -23,6 +23,7 @@ service Query { } // Vote queries voted information based on proposalID, voterAddr. + // Due to how we handle state, this query would error for proposals that has already been finished. rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) { option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}"; } diff --git a/x/gov/types/v1beta1/query.pb.go b/x/gov/types/v1beta1/query.pb.go index 36b0cd1933..1fe2c84ca3 100644 --- a/x/gov/types/v1beta1/query.pb.go +++ b/x/gov/types/v1beta1/query.pb.go @@ -927,6 +927,7 @@ type QueryClient interface { // Proposals queries all proposals based on given status. Proposals(ctx context.Context, in *QueryProposalsRequest, opts ...grpc.CallOption) (*QueryProposalsResponse, error) // Vote queries voted information based on proposalID, voterAddr. + // Due to how we handle state, this query would error for proposals that has already been finished. Vote(ctx context.Context, in *QueryVoteRequest, opts ...grpc.CallOption) (*QueryVoteResponse, error) // Votes queries votes of a given proposal. Votes(ctx context.Context, in *QueryVotesRequest, opts ...grpc.CallOption) (*QueryVotesResponse, error) @@ -1027,6 +1028,7 @@ type QueryServer interface { // Proposals queries all proposals based on given status. Proposals(context.Context, *QueryProposalsRequest) (*QueryProposalsResponse, error) // Vote queries voted information based on proposalID, voterAddr. + // Due to how we handle state, this query would error for proposals that has already been finished. Vote(context.Context, *QueryVoteRequest) (*QueryVoteResponse, error) // Votes queries votes of a given proposal. Votes(context.Context, *QueryVotesRequest) (*QueryVotesResponse, error)