cosmos-sdk/baseapp/testutil/messages.proto
Marko 066f8a7a50
chore: format proto files (#17445)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-18 14:06:01 +00: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);
}