Skip to content

Commit

Permalink
[1760]: Add option (cosmos.msg.v1.service) = true; to all of the msg …
Browse files Browse the repository at this point in the history
…service protos.
  • Loading branch information
SpicyLemon committed May 31, 2024
1 parent f944ffb commit 7685921
Show file tree
Hide file tree
Showing 24 changed files with 772 additions and 743 deletions.
2 changes: 2 additions & 0 deletions proto/cosmos/quarantine/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ option go_package = "github.com/provenance-io/provenance/x/quarantine";

// Query defines the quarantine gRPC msg service.
service Msg {
option (cosmos.msg.v1.service) = true;

// OptIn defines a method for opting in to account quarantine.
// Funds sent to a quarantined account must be approved before they can be received.
rpc OptIn(MsgOptIn) returns (MsgOptInResponse);
Expand Down
2 changes: 2 additions & 0 deletions proto/cosmos/sanction/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ option go_package = "github.com/provenance-io/provenance/x/sanction";

// Msg defines the sanction Msg service.
service Msg {
option (cosmos.msg.v1.service) = true;

// Sanction is a governance operation for sanctioning addresses.
rpc Sanction(MsgSanction) returns (MsgSanctionResponse);

Expand Down
2 changes: 2 additions & 0 deletions proto/provenance/attribute/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import "provenance/attribute/v1/attribute.proto";

// Msg defines the attribute module Msg service.
service Msg {
option (cosmos.msg.v1.service) = true;

// AddAttribute defines a method to verify a particular invariance.
rpc AddAttribute(MsgAddAttributeRequest) returns (MsgAddAttributeResponse);

Expand Down
2 changes: 2 additions & 0 deletions proto/provenance/exchange/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import "provenance/exchange/v1/payments.proto";

// Msg is the service for exchange module's tx endpoints.
service Msg {
option (cosmos.msg.v1.service) = true;

// CreateAsk creates an ask order (to sell something you own).
rpc CreateAsk(MsgCreateAskRequest) returns (MsgCreateAskResponse);

Expand Down
2 changes: 2 additions & 0 deletions proto/provenance/ibchooks/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import "provenance/ibchooks/v1/params.proto";

// Msg defines the Msg service.
service Msg {
option (cosmos.msg.v1.service) = true;

// EmitIBCAck checks the sender can emit the ack and writes the IBC
// acknowledgement
rpc EmitIBCAck(MsgEmitIBCAck) returns (MsgEmitIBCAckResponse);
Expand Down
2 changes: 2 additions & 0 deletions proto/provenance/ibcratelimit/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import "provenance/ibcratelimit/v1/params.proto";

// Msg is the service for ibcratelimit module's tx endpoints.
service Msg {
option (cosmos.msg.v1.service) = true;

// GovUpdateParams is a governance proposal endpoint for updating the exchange module's params.
// Deprecated: Use UpdateParams instead.
rpc GovUpdateParams(MsgGovUpdateParamsRequest) returns (MsgGovUpdateParamsResponse) {
Expand Down
2 changes: 2 additions & 0 deletions proto/provenance/marker/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ option java_multiple_files = true;

// Msg defines the Marker Msg service.
service Msg {
option (cosmos.msg.v1.service) = true;

// Finalize
rpc Finalize(MsgFinalizeRequest) returns (MsgFinalizeResponse);
// Activate
Expand Down
2 changes: 2 additions & 0 deletions proto/provenance/metadata/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ option java_multiple_files = true;

// Msg defines the Metadata Msg service.
service Msg {
option (cosmos.msg.v1.service) = true;

// ---- Primary Data Management -----

// WriteScope adds or updates a scope.
Expand Down
2 changes: 2 additions & 0 deletions proto/provenance/msgfees/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ option java_multiple_files = true;

// Msg defines the msgfees Msg service.
service Msg {
option (cosmos.msg.v1.service) = true;

// AssessCustomMsgFee endpoint executes the additional fee charges.
// This will only emit the event and not persist it to the keeper. Fees are handled with the custom msg fee handlers
// Use Case: smart contracts will be able to charge additional fees and direct partial funds to specified recipient
Expand Down
2 changes: 2 additions & 0 deletions proto/provenance/name/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ option java_multiple_files = true;

// Msg defines the bank Msg service.
service Msg {
option (cosmos.msg.v1.service) = true;

// BindName binds a name to an address under a root name.
rpc BindName(MsgBindNameRequest) returns (MsgBindNameResponse);

Expand Down
2 changes: 2 additions & 0 deletions proto/provenance/oracle/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ option java_multiple_files = true;

// Msg
service Msg {
option (cosmos.msg.v1.service) = true;

// UpdateOracle is the RPC endpoint for updating the oracle
rpc UpdateOracle(MsgUpdateOracleRequest) returns (MsgUpdateOracleResponse);
// SendQueryOracle sends a query to an oracle on another chain
Expand Down
2 changes: 2 additions & 0 deletions proto/provenance/trigger/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ option java_multiple_files = true;

// Msg
service Msg {
option (cosmos.msg.v1.service) = true;

// CreateTrigger is the RPC endpoint for creating a trigger
rpc CreateTrigger(MsgCreateTriggerRequest) returns (MsgCreateTriggerResponse);
// DestroyTrigger is the RPC endpoint for creating a trigger
Expand Down
109 changes: 55 additions & 54 deletions x/attribute/types/tx.pb.go

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

Loading

0 comments on commit 7685921

Please sign in to comment.