cosmos-sdk/baseapp/testutil/messages.proto
mergify[bot] 657add7a8a
chore: format proto files (backport #17445) (#17447)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-18 17:01:43 +02:00

47 lines
985 B
Protocol Buffer

syntax = "proto3";
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
import "cosmos/msg/v1/msg.proto";
option go_package = "github.com/cosmos/cosmos-sdk/baseapp/testutil";
message MsgCounter {
option (cosmos.msg.v1.signer) = "signer";
int64 counter = 1;
bool fail_on_handler = 2;
string signer = 3;
}
message MsgCounter2 {
option (cosmos.msg.v1.signer) = "signer";
int64 counter = 1;
bool fail_on_handler = 2;
string signer = 3;
}
message MsgCreateCounterResponse {}
message MsgKeyValue {
option (cosmos.msg.v1.signer) = "signer";
bytes key = 1;
bytes value = 2;
string signer = 3;
}
message MsgCreateKeyValueResponse {}
service Counter {
rpc IncrementCounter(MsgCounter) returns (MsgCreateCounterResponse);
}
service Counter2 {
rpc IncrementCounter(MsgCounter2) returns (MsgCreateCounterResponse);
}
service KeyValue {
rpc Set(MsgKeyValue) returns (MsgCreateKeyValueResponse);
}