github.com/Finschia/finschia-sdk@v0.48.1/testutil/testdata/tx.proto (about) 1 syntax = "proto3"; 2 package testdata; 3 4 import "gogoproto/gogo.proto"; 5 import "testdata.proto"; 6 7 option go_package = "github.com/Finschia/finschia-sdk/testutil/testdata"; 8 9 // Msg tests the Protobuf message service as defined in 10 // https://github.com/cosmos/cosmos-sdk/issues/7500. 11 service Msg { 12 rpc CreateDog(MsgCreateDog) returns (MsgCreateDogResponse); 13 } 14 15 message MsgCreateDog { 16 testdata.Dog dog = 1; 17 } 18 19 message MsgCreateDogResponse { 20 string name = 1; 21 } 22 23 // TestMsg is msg type for testing protobuf message using any, as defined in 24 // https://github.com/cosmos/cosmos-sdk/issues/6213. 25 message TestMsg { 26 option (gogoproto.goproto_getters) = false; 27 repeated string signers = 1; 28 }