github.com/Finschia/finschia-sdk@v0.48.1/testutil/testdata/testdata.proto (about) 1 syntax = "proto3"; 2 package testdata; 3 4 import "gogoproto/gogo.proto"; 5 import "google/protobuf/any.proto"; 6 7 option go_package = "github.com/Finschia/finschia-sdk/testutil/testdata"; 8 9 message Dog { 10 string size = 1; 11 string name = 2; 12 } 13 14 message Cat { 15 string moniker = 1; 16 int32 lives = 2; 17 } 18 19 message HasAnimal { 20 google.protobuf.Any animal = 1; 21 int64 x = 2; 22 } 23 24 message HasHasAnimal { 25 google.protobuf.Any has_animal = 1; 26 } 27 28 message HasHasHasAnimal { 29 google.protobuf.Any has_has_animal = 1; 30 } 31 32 // bad MultiSignature with extra fields 33 message BadMultiSignature { 34 option (gogoproto.goproto_unrecognized) = true; 35 repeated bytes signatures = 1; 36 bytes malicious_field = 5; 37 }