22 lines
341 B
Protocol Buffer
22 lines
341 B
Protocol Buffer
syntax = "proto3";
|
|
package cosmos_sdk.codec.v1;
|
|
|
|
import "google/protobuf/any.proto";
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/codec/testdata";
|
|
|
|
message Dog {
|
|
string size = 1;
|
|
string name = 2;
|
|
}
|
|
|
|
message Cat {
|
|
string moniker = 1;
|
|
int32 lives = 2;
|
|
}
|
|
|
|
message HasAnimal {
|
|
google.protobuf.Any animal = 1;
|
|
int64 x = 2;
|
|
}
|