fix: correct path required proto testdata (#14991)

This commit is contained in:
Julien Robert 2023-02-11 17:59:16 +01:00 committed by GitHub
parent 467b4f25b8
commit a90569c7e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
38 changed files with 3351 additions and 3350 deletions

View File

@ -3,7 +3,7 @@ run:
timeout: 10m
sort-results: true
allow-parallel-runners: true
exclude-dir: testutil/testdata_pulsar
exclude-dir: testutil/testdata
concurrency: 4
linters:

View File

@ -174,6 +174,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
### API Breaking Changes
* (testutil) [#14991](https://github.com/cosmos/cosmos-sdk/pull/14991) The `testutil/testdata_pulsar` package has moved to `testutil/testdata/testpb`.
* (simapp) [#14977](https://github.com/cosmos/cosmos-sdk/pull/14977) Move simulation helpers functions (`AppStateFn` and `AppStateRandomizedFn`) to `testutil/sims`. These takes an extra genesisState argument which is the default state of the app.
* (x/gov) [#14720](https://github.com/cosmos/cosmos-sdk/pull/14720) Add an expedited field in the gov v1 proposal and `MsgNewMsgProposal`.
* [#14847](https://github.com/cosmos/cosmos-sdk/pull/14847) App and ModuleManager methods `InitGenesis`, `ExportGenesis`, `BeginBlock` and `EndBlock` now also return an error.

View File

@ -372,7 +372,7 @@ format:
### Protobuf ###
###############################################################################
protoVer=0.11.6
protoVer=0.12.0
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName)

View File

@ -2129,8 +2129,11 @@ type PrimaryKeyDescriptor struct {
// with a 32-bit unsigned varint in non-terminal segments.
// - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with
// an encoding that enables sorted iteration.
// - google.protobuf.Timestamp and google.protobuf.Duration are encoded
// as 12 bytes using an encoding that enables sorted iteration.
// - google.protobuf.Timestamp is encoded such that values with only seconds occupy 6 bytes,
// values including nanos occupy 9 bytes, and nil values occupy 1 byte. When iterating, nil
// values will always be ordered last. Seconds and nanos values must conform to the officially
// specified ranges of 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z and 0 to 999,999,999 respectively.
// - google.protobuf.Duration is encoded as 12 bytes using an encoding that enables sorted iteration.
// - enum fields are encoded using varint encoding and do not support sorted
// iteration.
// - bool fields are encoded as a single byte 0 or 1.

View File

@ -188,7 +188,7 @@ func TestABCI_GRPCQuery(t *testing.T) {
resQuery := suite.baseApp.Query(abci.RequestQuery{
Data: reqBz,
Path: "/testdata.Query/SayHello",
Path: "/testpb.Query/SayHello",
})
require.Equal(t, sdkerrors.ErrInvalidHeight.ABCICode(), resQuery.Code, resQuery)
require.Contains(t, resQuery.Log, "TestABCI_GRPCQuery is not ready; please wait for first block")
@ -199,7 +199,7 @@ func TestABCI_GRPCQuery(t *testing.T) {
reqQuery := abci.RequestQuery{
Data: reqBz,
Path: "/testdata.Query/SayHello",
Path: "/testpb.Query/SayHello",
}
resQuery = suite.baseApp.Query(reqQuery)
@ -1448,7 +1448,7 @@ func TestABCI_PrepareProposal_ReachedMaxBytes(t *testing.T) {
Height: 1,
}
resPrepareProposal := suite.baseApp.PrepareProposal(reqPrepareProposal)
require.Equal(t, 10, len(resPrepareProposal.Txs))
require.Equal(t, 11, len(resPrepareProposal.Txs))
}
func TestABCI_PrepareProposal_BadEncoding(t *testing.T) {

View File

@ -173,13 +173,13 @@ func TestBaseApp_BlockGas(t *testing.T) {
require.Equal(t, []byte("ok"), okValue)
}
// check block gas is always consumed
baseGas := uint64(51822) // baseGas is the gas consumed before tx msg
baseGas := uint64(51732) // baseGas is the gas consumed before tx msg
expGasConsumed := addUint64Saturating(tc.gasToConsume, baseGas)
if expGasConsumed > txtypes.MaxGasWanted {
// capped by gasLimit
expGasConsumed = txtypes.MaxGasWanted
}
require.Equal(t, expGasConsumed, ctx.BlockGasMeter().GasConsumed())
require.Equal(t, int(expGasConsumed), int(ctx.BlockGasMeter().GasConsumed()))
// tx fee is always deducted
require.Equal(t, int64(0), bankKeeper.GetBalance(ctx, addr1, feeCoin.Denom).Amount.Int64())
// sender's sequence is always increased

View File

@ -15,7 +15,7 @@ import (
"github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/runtime"
"github.com/cosmos/cosmos-sdk/testutil/testdata"
"github.com/cosmos/cosmos-sdk/testutil/testdata_pulsar"
testdata_pulsar "github.com/cosmos/cosmos-sdk/testutil/testdata/testpb"
sdk "github.com/cosmos/cosmos-sdk/types"
)

View File

@ -266,41 +266,40 @@ func (m *MsgCreateKeyValueResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_MsgCreateKeyValueResponse proto.InternalMessageInfo
func init() {
proto.RegisterType((*MsgCounter)(nil), "testdata.MsgCounter")
proto.RegisterType((*MsgCounter2)(nil), "testdata.MsgCounter2")
proto.RegisterType((*MsgCreateCounterResponse)(nil), "testdata.MsgCreateCounterResponse")
proto.RegisterType((*MsgKeyValue)(nil), "testdata.MsgKeyValue")
proto.RegisterType((*MsgCreateKeyValueResponse)(nil), "testdata.MsgCreateKeyValueResponse")
proto.RegisterType((*MsgCounter)(nil), "MsgCounter")
proto.RegisterType((*MsgCounter2)(nil), "MsgCounter2")
proto.RegisterType((*MsgCreateCounterResponse)(nil), "MsgCreateCounterResponse")
proto.RegisterType((*MsgKeyValue)(nil), "MsgKeyValue")
proto.RegisterType((*MsgCreateKeyValueResponse)(nil), "MsgCreateKeyValueResponse")
}
func init() { proto.RegisterFile("messages.proto", fileDescriptor_4dc296cbfe5ffcd5) }
var fileDescriptor_4dc296cbfe5ffcd5 = []byte{
// 378 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xc1, 0x8a, 0x9b, 0x50,
0x14, 0x86, 0x63, 0xa5, 0x89, 0x3d, 0x4d, 0xdb, 0x20, 0x69, 0x31, 0x16, 0x24, 0x58, 0x28, 0xd9,
0x44, 0xc1, 0x3e, 0x41, 0xdb, 0x45, 0x5b, 0x5a, 0x1b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, 0x11, 0x53, 0x86, 0xb9, 0xa1, 0x8e, 0x95, 0xc9, 0xab, 0xe0, 0xb0, 0xd9, 0x1f,
0x61, 0x74, 0x8c, 0x6a, 0xa0, 0x4d, 0x96, 0x77, 0x01, 0xbd, 0xa6, 0xa5, 0x3f, 0x30, 0xf8, 0xc5,
0xa2, 0x1c, 0x53, 0x64, 0xb2, 0xd1, 0x86, 0x4e, 0xf3, 0x0f, 0x9c, 0xd3, 0xfd, 0xa6, 0xfd, 0x58,
0x6d, 0x3b, 0xc2, 0xbb, 0x04, 0xed, 0x58, 0x97, 0xdf, 0x42, 0x7e, 0xdf, 0x46, 0xf6, 0x9e, 0x84,
0xf6, 0x41, 0x3b, 0x96, 0xf3, 0x15, 0xd4, 0x7f, 0x28, 0xcf, 0x68, 0x8d, 0x6b, 0x7e, 0x6a, 0xa1,
0x9d, 0x57, 0xf0, 0xed, 0xc7, 0xed, 0xce, 0x52, 0xb6, 0x3b, 0x4b, 0xb9, 0xdf, 0x59, 0xca, 0xcd,
0xde, 0xea, 0x6c, 0xf7, 0x56, 0xe7, 0x6e, 0x6f, 0x75, 0xae, 0xa6, 0x34, 0x96, 0xab, 0x22, 0x74,
0x22, 0x9e, 0xba, 0x11, 0x17, 0x29, 0x17, 0x87, 0xcf, 0x54, 0x2c, 0xd6, 0x6e, 0x48, 0x04, 0x92,
0x2c, 0x73, 0xcb, 0x88, 0x42, 0xc6, 0x49, 0xd8, 0xad, 0xde, 0xde, 0x97, 0x87, 0x00, 0x00, 0x00,
0xff, 0xff, 0x63, 0x31, 0xab, 0xcc, 0xc8, 0x02, 0x00, 0x00,
// 364 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0x4f, 0x6b, 0xe2, 0x50,
0x14, 0xc5, 0xcd, 0x84, 0x51, 0xe7, 0xea, 0xcc, 0x48, 0x90, 0x21, 0x66, 0x20, 0x48, 0x16, 0x83,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01, 0x4d, 0x11, 0x52, 0x86, 0xa9, 0xae, 0x0e,
0x95, 0xd1, 0x17, 0xaf, 0x72, 0xd6, 0x4f, 0x18, 0x1c, 0xab, 0x6a, 0x68, 0xdd, 0xe5, 0xfe, 0x87,
0x56, 0x7d, 0xa5, 0x3f, 0xd0, 0xbb, 0x64, 0x41, 0x8a, 0x31, 0x32, 0x59, 0x67, 0x1d, 0xfb, 0xb4,
0xb6, 0x31, 0xb0, 0xcf, 0x7d, 0xb2, 0x3b, 0x85, 0xf6, 0xf1, 0x38, 0x93, 0x37, 0x38, 0xdd, 0x57,
0x1c, 0xf7, 0x3d, 0xd0, 0x04, 0xda, 0xc7, 0xc5, 0x1d, 0x50, 0x6f, 0x50, 0x96, 0xef, 0xd6, 0xa1,
0x61, 0xd8, 0x67, 0x97, 0xf9, 0x3b, 0x7d, 0xdc, 0x9b, 0xca, 0x6e, 0x6f, 0x2a, 0xcf, 0x7b, 0x53,
0x79, 0x38, 0x98, 0x8d, 0xdd, 0xc1, 0x6c, 0x3c, 0x1d, 0xcc, 0xc6, 0xdd, 0x98, 0x86, 0x72, 0x9d,
0xf9, 0x76, 0xc0, 0x63, 0x27, 0xe0, 0x22, 0xe6, 0xa2, 0x7a, 0x8c, 0xc5, 0x72, 0xe3, 0xf8, 0x44,
0x20, 0x49, 0x12, 0x47, 0xa2, 0x90, 0x99, 0x0c, 0x23, 0xbf, 0x59, 0xfc, 0x45, 0xbf, 0x5f, 0x02,
0x00, 0x00, 0xff, 0xff, 0x23, 0xdc, 0x12, 0x4d, 0x88, 0x02, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -328,7 +327,7 @@ func NewCounterClient(cc grpc1.ClientConn) CounterClient {
func (c *counterClient) IncrementCounter(ctx context.Context, in *MsgCounter, opts ...grpc.CallOption) (*MsgCreateCounterResponse, error) {
out := new(MsgCreateCounterResponse)
err := c.cc.Invoke(ctx, "/testdata.Counter/IncrementCounter", in, out, opts...)
err := c.cc.Invoke(ctx, "/Counter/IncrementCounter", in, out, opts...)
if err != nil {
return nil, err
}
@ -362,7 +361,7 @@ func _Counter_IncrementCounter_Handler(srv interface{}, ctx context.Context, dec
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/testdata.Counter/IncrementCounter",
FullMethod: "/Counter/IncrementCounter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CounterServer).IncrementCounter(ctx, req.(*MsgCounter))
@ -371,7 +370,7 @@ func _Counter_IncrementCounter_Handler(srv interface{}, ctx context.Context, dec
}
var _Counter_serviceDesc = grpc.ServiceDesc{
ServiceName: "testdata.Counter",
ServiceName: "Counter",
HandlerType: (*CounterServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -400,7 +399,7 @@ func NewCounter2Client(cc grpc1.ClientConn) Counter2Client {
func (c *counter2Client) IncrementCounter(ctx context.Context, in *MsgCounter2, opts ...grpc.CallOption) (*MsgCreateCounterResponse, error) {
out := new(MsgCreateCounterResponse)
err := c.cc.Invoke(ctx, "/testdata.Counter2/IncrementCounter", in, out, opts...)
err := c.cc.Invoke(ctx, "/Counter2/IncrementCounter", in, out, opts...)
if err != nil {
return nil, err
}
@ -434,7 +433,7 @@ func _Counter2_IncrementCounter_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/testdata.Counter2/IncrementCounter",
FullMethod: "/Counter2/IncrementCounter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(Counter2Server).IncrementCounter(ctx, req.(*MsgCounter2))
@ -443,7 +442,7 @@ func _Counter2_IncrementCounter_Handler(srv interface{}, ctx context.Context, de
}
var _Counter2_serviceDesc = grpc.ServiceDesc{
ServiceName: "testdata.Counter2",
ServiceName: "Counter2",
HandlerType: (*Counter2Server)(nil),
Methods: []grpc.MethodDesc{
{
@ -472,7 +471,7 @@ func NewKeyValueClient(cc grpc1.ClientConn) KeyValueClient {
func (c *keyValueClient) Set(ctx context.Context, in *MsgKeyValue, opts ...grpc.CallOption) (*MsgCreateKeyValueResponse, error) {
out := new(MsgCreateKeyValueResponse)
err := c.cc.Invoke(ctx, "/testdata.KeyValue/Set", in, out, opts...)
err := c.cc.Invoke(ctx, "/KeyValue/Set", in, out, opts...)
if err != nil {
return nil, err
}
@ -506,7 +505,7 @@ func _KeyValue_Set_Handler(srv interface{}, ctx context.Context, dec func(interf
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/testdata.KeyValue/Set",
FullMethod: "/KeyValue/Set",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(KeyValueServer).Set(ctx, req.(*MsgKeyValue))
@ -515,7 +514,7 @@ func _KeyValue_Set_Handler(srv interface{}, ctx context.Context, dec func(interf
}
var _KeyValue_serviceDesc = grpc.ServiceDesc{
ServiceName: "testdata.KeyValue",
ServiceName: "KeyValue",
HandlerType: (*KeyValueServer)(nil),
Methods: []grpc.MethodDesc{
{

View File

@ -1,5 +1,4 @@
syntax = "proto3";
package testdata;
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";

View File

@ -50,7 +50,7 @@ func TestContext_PrintProto(t *testing.T) {
err = ctx.PrintProto(hasAnimal)
require.NoError(t, err)
require.Equal(t,
`{"animal":{"@type":"/testdata.Dog","size":"big","name":"Spot"},"x":"10"}
`{"animal":{"@type":"/testpb.Dog","size":"big","name":"Spot"},"x":"10"}
`, buf.String())
// yaml
@ -61,7 +61,7 @@ func TestContext_PrintProto(t *testing.T) {
require.NoError(t, err)
require.Equal(t,
`animal:
'@type': /testdata.Dog
'@type': /testpb.Dog
name: Spot
size: big
x: "10"
@ -93,7 +93,7 @@ func TestContext_PrintObjectLegacy(t *testing.T) {
err = ctx.PrintObjectLegacy(hasAnimal)
require.NoError(t, err)
require.Equal(t,
`{"type":"testdata/HasAnimal","value":{"animal":{"type":"testdata/Dog","value":{"size":"big","name":"Spot"}},"x":"10"}}
`{"type":"testpb/HasAnimal","value":{"animal":{"type":"testpb/Dog","value":{"size":"big","name":"Spot"}},"x":"10"}}
`, buf.String())
// yaml
@ -103,10 +103,10 @@ func TestContext_PrintObjectLegacy(t *testing.T) {
err = ctx.PrintObjectLegacy(hasAnimal)
require.NoError(t, err)
require.Equal(t,
`type: testdata/HasAnimal
`type: testpb/HasAnimal
value:
animal:
type: testdata/Dog
type: testpb/Dog
value:
name: Spot
size: big
@ -116,7 +116,7 @@ value:
func TestContext_PrintRaw(t *testing.T) {
ctx := client.Context{}
hasAnimal := json.RawMessage(`{"animal":{"@type":"/testdata.Dog","size":"big","name":"Spot"},"x":"10"}`)
hasAnimal := json.RawMessage(`{"animal":{"@type":"/testpb.Dog","size":"big","name":"Spot"},"x":"10"}`)
// json
buf := &bytes.Buffer{}
@ -125,7 +125,7 @@ func TestContext_PrintRaw(t *testing.T) {
err := ctx.PrintRaw(hasAnimal)
require.NoError(t, err)
require.Equal(t,
`{"animal":{"@type":"/testdata.Dog","size":"big","name":"Spot"},"x":"10"}
`{"animal":{"@type":"/testpb.Dog","size":"big","name":"Spot"},"x":"10"}
`, buf.String())
// yaml
@ -136,7 +136,7 @@ func TestContext_PrintRaw(t *testing.T) {
require.NoError(t, err)
require.Equal(t,
`animal:
'@type': /testdata.Dog
'@type': /testpb.Dog
name: Spot
size: big
x: "10"

View File

@ -80,7 +80,7 @@ func TestRegister(t *testing.T) {
// Duplicate registration with different concrete type on same typeURL.
require.PanicsWithError(
t,
"concrete type *testdata.Dog has already been registered under typeURL /testdata.Dog, cannot register *types_test.FakeDog under same typeURL. "+
"concrete type *testdata.Dog has already been registered under typeURL /testpb.Dog, cannot register *types_test.FakeDog under same typeURL. "+
"This usually means that there are conflicting modules registering different concrete types for a same interface implementation",
func() {
registry.RegisterImplementations((*testdata.Animal)(nil), &FakeDog{})
@ -151,7 +151,7 @@ func TestAny_ProtoJSON(t *testing.T) {
jm := &jsonpb.Marshaler{}
json, err := jm.MarshalToString(any)
require.NoError(t, err)
require.Equal(t, "{\"@type\":\"/testdata.Dog\",\"name\":\"Spot\"}", json)
require.Equal(t, "{\"@type\":\"/testpb.Dog\",\"name\":\"Spot\"}", json)
registry := testdata.NewTestInterfaceRegistry()
jum := &jsonpb.Unmarshaler{}
@ -170,7 +170,7 @@ func TestAny_ProtoJSON(t *testing.T) {
require.NoError(t, err)
json, err = jm.MarshalToString(ha)
require.NoError(t, err)
require.Equal(t, "{\"animal\":{\"@type\":\"/testdata.Dog\",\"name\":\"Spot\"}}", json)
require.Equal(t, "{\"animal\":{\"@type\":\"/testpb.Dog\",\"name\":\"Spot\"}}", json)
require.NoError(t, err)
var ha2 testdata.HasAnimal

View File

@ -389,7 +389,7 @@ func TestRejectUnknownFieldsNested(t *testing.T) {
name: "unknown field types.Any in G",
in: &testdata.TestVersion3{
G: &types.Any{
TypeUrl: "/testdata.TestVersion1",
TypeUrl: "/testpb.TestVersion1",
Value: mustMarshal(&testdata.TestVersion2{
Sum: &testdata.TestVersion2_F{
F: &testdata.TestVersion2{
@ -410,7 +410,7 @@ func TestRejectUnknownFieldsNested(t *testing.T) {
in: &testdata.TestVersionFD1WithExtraAny{
G: &testdata.AnyWithExtra{
Any: &types.Any{
TypeUrl: "/testdata.TestVersion1",
TypeUrl: "/testpb.TestVersion1",
Value: mustMarshal(&testdata.TestVersion2{
Sum: &testdata.TestVersion2_F{
F: &testdata.TestVersion2{
@ -434,7 +434,7 @@ func TestRejectUnknownFieldsNested(t *testing.T) {
name: "mismatched types.Any in G",
in: &testdata.TestVersion1{
G: &types.Any{
TypeUrl: "/testdata.TestVersion4LoneNesting",
TypeUrl: "/testpb.TestVersion4LoneNesting",
Value: mustMarshal(&testdata.TestVersion3LoneNesting_Inner1{
Inner: &testdata.TestVersion3LoneNesting_Inner1_InnerInner{
Id: "ID",

View File

@ -28,7 +28,7 @@ func TestMarshalYAML(t *testing.T) {
bz, err := codec.MarshalYAML(protoCdc, hasAnimal)
require.NoError(t, err)
require.Equal(t, `animal:
'@type': /testdata.Dog
'@type': /testpb.Dog
name: Spot
size: small
x: "0"
@ -38,10 +38,10 @@ x: "0"
aminoCdc := codec.NewAminoCodec(&codec.LegacyAmino{testdata.NewTestAmino()})
bz, err = codec.MarshalYAML(aminoCdc, hasAnimal)
require.NoError(t, err)
require.Equal(t, `type: testdata/HasAnimal
require.Equal(t, `type: testpb/HasAnimal
value:
animal:
type: testdata/Dog
type: testpb/Dog
value:
name: Spot
size: small

View File

@ -48,7 +48,7 @@ import (
"github.com/cosmos/cosmos-sdk/server/config"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
"github.com/cosmos/cosmos-sdk/std"
"github.com/cosmos/cosmos-sdk/testutil/testdata_pulsar"
testdata_pulsar "github.com/cosmos/cosmos-sdk/testutil/testdata/testpb"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/version"

View File

@ -33,7 +33,7 @@ import (
"github.com/cosmos/cosmos-sdk/server/api"
"github.com/cosmos/cosmos-sdk/server/config"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
"github.com/cosmos/cosmos-sdk/testutil/testdata_pulsar"
testdata_pulsar "github.com/cosmos/cosmos-sdk/testutil/testdata/testpb"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/auth"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"

6
testutil/testdata/README.md vendored Normal file
View File

@ -0,0 +1,6 @@
# testdata
The testdata directory contains gogo and pulsar generated code:
* `testdata/*.go` : gogo
* `testdata/testpb/*.go`: pulsar

View File

@ -11,8 +11,8 @@ managed:
buf.build/cosmos/cosmos-sdk: cosmossdk.io/api
plugins:
- name: go-pulsar
out: ../testdata_pulsar
out: .
opt: paths=source_relative
- name: go-grpc
out: ../testdata_pulsar
out: .
opt: paths=source_relative

View File

@ -2,4 +2,5 @@ version: v1
plugins:
- name: gocosmos
out: ../..
opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types
opt:
- plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types

View File

@ -43,14 +43,14 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
func NewTestAmino() *amino.Codec {
cdc := amino.NewCodec()
cdc.RegisterInterface((*Animal)(nil), nil)
cdc.RegisterConcrete(&Dog{}, "testdata/Dog", nil)
cdc.RegisterConcrete(&Cat{}, "testdata/Cat", nil)
cdc.RegisterConcrete(&Dog{}, "testpb/Dog", nil)
cdc.RegisterConcrete(&Cat{}, "testpb/Cat", nil)
cdc.RegisterInterface((*HasAnimalI)(nil), nil)
cdc.RegisterConcrete(&HasAnimal{}, "testdata/HasAnimal", nil)
cdc.RegisterConcrete(&HasAnimal{}, "testpb/HasAnimal", nil)
cdc.RegisterInterface((*HasHasAnimalI)(nil), nil)
cdc.RegisterConcrete(&HasHasAnimal{}, "testdata/HasHasAnimal", nil)
cdc.RegisterConcrete(&HasHasAnimal{}, "testpb/HasHasAnimal", nil)
return cdc
}

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: query.proto
// source: testpb/query.proto
package testdata
@ -36,7 +36,7 @@ func (m *EchoRequest) Reset() { *m = EchoRequest{} }
func (m *EchoRequest) String() string { return proto.CompactTextString(m) }
func (*EchoRequest) ProtoMessage() {}
func (*EchoRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_5c6ac9b241082464, []int{0}
return fileDescriptor_b00998f1336963e3, []int{0}
}
func (m *EchoRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -80,7 +80,7 @@ func (m *EchoResponse) Reset() { *m = EchoResponse{} }
func (m *EchoResponse) String() string { return proto.CompactTextString(m) }
func (*EchoResponse) ProtoMessage() {}
func (*EchoResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5c6ac9b241082464, []int{1}
return fileDescriptor_b00998f1336963e3, []int{1}
}
func (m *EchoResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -124,7 +124,7 @@ func (m *SayHelloRequest) Reset() { *m = SayHelloRequest{} }
func (m *SayHelloRequest) String() string { return proto.CompactTextString(m) }
func (*SayHelloRequest) ProtoMessage() {}
func (*SayHelloRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_5c6ac9b241082464, []int{2}
return fileDescriptor_b00998f1336963e3, []int{2}
}
func (m *SayHelloRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -168,7 +168,7 @@ func (m *SayHelloResponse) Reset() { *m = SayHelloResponse{} }
func (m *SayHelloResponse) String() string { return proto.CompactTextString(m) }
func (*SayHelloResponse) ProtoMessage() {}
func (*SayHelloResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5c6ac9b241082464, []int{3}
return fileDescriptor_b00998f1336963e3, []int{3}
}
func (m *SayHelloResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -212,7 +212,7 @@ func (m *TestAnyRequest) Reset() { *m = TestAnyRequest{} }
func (m *TestAnyRequest) String() string { return proto.CompactTextString(m) }
func (*TestAnyRequest) ProtoMessage() {}
func (*TestAnyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_5c6ac9b241082464, []int{4}
return fileDescriptor_b00998f1336963e3, []int{4}
}
func (m *TestAnyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -256,7 +256,7 @@ func (m *TestAnyResponse) Reset() { *m = TestAnyResponse{} }
func (m *TestAnyResponse) String() string { return proto.CompactTextString(m) }
func (*TestAnyResponse) ProtoMessage() {}
func (*TestAnyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5c6ac9b241082464, []int{5}
return fileDescriptor_b00998f1336963e3, []int{5}
}
func (m *TestAnyResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -293,41 +293,41 @@ func (m *TestAnyResponse) GetHasAnimal() *HasAnimal {
}
func init() {
proto.RegisterType((*EchoRequest)(nil), "testdata.EchoRequest")
proto.RegisterType((*EchoResponse)(nil), "testdata.EchoResponse")
proto.RegisterType((*SayHelloRequest)(nil), "testdata.SayHelloRequest")
proto.RegisterType((*SayHelloResponse)(nil), "testdata.SayHelloResponse")
proto.RegisterType((*TestAnyRequest)(nil), "testdata.TestAnyRequest")
proto.RegisterType((*TestAnyResponse)(nil), "testdata.TestAnyResponse")
proto.RegisterType((*EchoRequest)(nil), "testpb.EchoRequest")
proto.RegisterType((*EchoResponse)(nil), "testpb.EchoResponse")
proto.RegisterType((*SayHelloRequest)(nil), "testpb.SayHelloRequest")
proto.RegisterType((*SayHelloResponse)(nil), "testpb.SayHelloResponse")
proto.RegisterType((*TestAnyRequest)(nil), "testpb.TestAnyRequest")
proto.RegisterType((*TestAnyResponse)(nil), "testpb.TestAnyResponse")
}
func init() { proto.RegisterFile("query.proto", fileDescriptor_5c6ac9b241082464) }
func init() { proto.RegisterFile("testpb/query.proto", fileDescriptor_b00998f1336963e3) }
var fileDescriptor_5c6ac9b241082464 = []byte{
// 359 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4f, 0xc2, 0x30,
0x14, 0xc7, 0x59, 0x82, 0x02, 0x0f, 0x03, 0xa6, 0xfe, 0x08, 0xf4, 0xb0, 0x98, 0x25, 0x46, 0x2e,
0x76, 0x09, 0xc4, 0xab, 0x09, 0x26, 0x24, 0x5c, 0x45, 0x4f, 0x5e, 0x4c, 0x81, 0xba, 0x2d, 0x6e,
0x2d, 0xd0, 0xee, 0xb0, 0xff, 0xc2, 0x7f, 0xc9, 0x9b, 0x47, 0x8e, 0x1e, 0x0d, 0xfc, 0x23, 0x66,
0x5b, 0xbb, 0x09, 0x21, 0x9e, 0xda, 0xd7, 0x7e, 0xde, 0xe7, 0xe5, 0x7d, 0xa1, 0xb9, 0x8c, 0xd9,
0x2a, 0x21, 0x8b, 0x95, 0x50, 0x02, 0xd5, 0x15, 0x93, 0x6a, 0x4e, 0x15, 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1, 0xa6, 0x57, 0x41, 0x9d, 0x12, 0xdb, 0x0d, 0x09, 0x77,
0x0f, 0xfc, 0xe4, 0xfd, 0x0f, 0xe3, 0xaf, 0x8d, 0x6d, 0xad, 0x37, 0xb6, 0xf5, 0xb3, 0xb1, 0xad,
0x8f, 0xad, 0x5d, 0x59, 0x6f, 0xed, 0xca, 0xf7, 0xd6, 0xae, 0xbc, 0x10, 0x2f, 0x50, 0x7e, 0x3c,
0x25, 0x33, 0x11, 0xb9, 0x33, 0x21, 0x23, 0x21, 0xf5, 0x71, 0x2b, 0xe7, 0xef, 0x6e, 0x2a, 0x8c,
0x55, 0x10, 0xba, 0xc6, 0x3c, 0x3d, 0xce, 0xd2, 0x1e, 0xfc, 0x06, 0x00, 0x00, 0xff, 0xff, 0xe8,
0xb4, 0x42, 0x4e, 0x90, 0x02, 0x00, 0x00,
var fileDescriptor_b00998f1336963e3 = []byte{
// 367 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x4f, 0x4f, 0xc2, 0x30,
0x18, 0xc6, 0x59, 0x82, 0xfc, 0x79, 0x31, 0xa2, 0x15, 0x05, 0x77, 0x58, 0xcc, 0x12, 0x23, 0x17,
0x3b, 0x85, 0x9b, 0x89, 0x07, 0x34, 0x24, 0x5c, 0x45, 0x4f, 0x5e, 0x4c, 0x07, 0x75, 0x5b, 0xdc,
0x5a, 0xa0, 0xdd, 0x61, 0xdf, 0xc2, 0x2f, 0xe3, 0x77, 0xf0, 0xc8, 0xd1, 0xa3, 0x81, 0x2f, 0x62,
0xb6, 0xb5, 0x53, 0x24, 0xf1, 0xd4, 0xf6, 0xe9, 0xef, 0x79, 0x9a, 0x3e, 0x79, 0x01, 0x49, 0x2a,
0xe4, 0xcc, 0x75, 0xe6, 0x31, 0x5d, 0x24, 0x78, 0xb6, 0xe0, 0x92, 0xa3, 0x4a, 0xae, 0x99, 0x27,
0x1e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b, 0x17, 0xca, 0x7e, 0x0d, 0x55,
0xf5, 0x01, 0x74, 0xac, 0xa1, 0xcd, 0x62, 0xcc, 0xf6, 0x96, 0x9e, 0x7b, 0x6f, 0x47, 0x1f, 0x2b,
0xcb, 0x58, 0xae, 0x2c, 0xe3, 0x6b, 0x65, 0x19, 0x6f, 0x6b, 0xab, 0xb4, 0x5c, 0x5b, 0xa5, 0xcf,
0xb5, 0x55, 0x7a, 0xc2, 0x5e, 0x20, 0xfd, 0xd8, 0xc5, 0x13, 0x1e, 0x39, 0x13, 0x2e, 0x22, 0x2e,
0xd4, 0x72, 0x21, 0xa6, 0xaf, 0xd9, 0xd0, 0xc4, 0x32, 0x08, 0x8b, 0xe9, 0x71, 0x2b, 0x59, 0xbf,
0xfd, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4c, 0x8d, 0x9a, 0xee, 0x8e, 0x02, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -357,7 +357,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error) {
out := new(EchoResponse)
err := c.cc.Invoke(ctx, "/testdata.Query/Echo", in, out, opts...)
err := c.cc.Invoke(ctx, "/testpb.Query/Echo", in, out, opts...)
if err != nil {
return nil, err
}
@ -366,7 +366,7 @@ func (c *queryClient) Echo(ctx context.Context, in *EchoRequest, opts ...grpc.Ca
func (c *queryClient) SayHello(ctx context.Context, in *SayHelloRequest, opts ...grpc.CallOption) (*SayHelloResponse, error) {
out := new(SayHelloResponse)
err := c.cc.Invoke(ctx, "/testdata.Query/SayHello", in, out, opts...)
err := c.cc.Invoke(ctx, "/testpb.Query/SayHello", in, out, opts...)
if err != nil {
return nil, err
}
@ -375,7 +375,7 @@ func (c *queryClient) SayHello(ctx context.Context, in *SayHelloRequest, opts ..
func (c *queryClient) TestAny(ctx context.Context, in *TestAnyRequest, opts ...grpc.CallOption) (*TestAnyResponse, error) {
out := new(TestAnyResponse)
err := c.cc.Invoke(ctx, "/testdata.Query/TestAny", in, out, opts...)
err := c.cc.Invoke(ctx, "/testpb.Query/TestAny", in, out, opts...)
if err != nil {
return nil, err
}
@ -417,7 +417,7 @@ func _Query_Echo_Handler(srv interface{}, ctx context.Context, dec func(interfac
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/testdata.Query/Echo",
FullMethod: "/testpb.Query/Echo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Echo(ctx, req.(*EchoRequest))
@ -435,7 +435,7 @@ func _Query_SayHello_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/testdata.Query/SayHello",
FullMethod: "/testpb.Query/SayHello",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).SayHello(ctx, req.(*SayHelloRequest))
@ -453,7 +453,7 @@ func _Query_TestAny_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/testdata.Query/TestAny",
FullMethod: "/testpb.Query/TestAny",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TestAny(ctx, req.(*TestAnyRequest))
@ -462,7 +462,7 @@ func _Query_TestAny_Handler(srv interface{}, ctx context.Context, dec func(inter
}
var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "testdata.Query",
ServiceName: "testpb.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -479,7 +479,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "query.proto",
Metadata: "testpb/query.proto",
}
func (m *EchoRequest) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: testdata.proto
// source: testpb/testdata.proto
package testdata
@ -33,7 +33,7 @@ func (m *Dog) Reset() { *m = Dog{} }
func (m *Dog) String() string { return proto.CompactTextString(m) }
func (*Dog) ProtoMessage() {}
func (*Dog) Descriptor() ([]byte, []int) {
return fileDescriptor_40c4782d007dfce9, []int{0}
return fileDescriptor_bc244d00904a39a7, []int{0}
}
func (m *Dog) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -85,7 +85,7 @@ func (m *Cat) Reset() { *m = Cat{} }
func (m *Cat) String() string { return proto.CompactTextString(m) }
func (*Cat) ProtoMessage() {}
func (*Cat) Descriptor() ([]byte, []int) {
return fileDescriptor_40c4782d007dfce9, []int{1}
return fileDescriptor_bc244d00904a39a7, []int{1}
}
func (m *Cat) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -137,7 +137,7 @@ func (m *Bird) Reset() { *m = Bird{} }
func (m *Bird) String() string { return proto.CompactTextString(m) }
func (*Bird) ProtoMessage() {}
func (*Bird) Descriptor() ([]byte, []int) {
return fileDescriptor_40c4782d007dfce9, []int{2}
return fileDescriptor_bc244d00904a39a7, []int{2}
}
func (m *Bird) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -189,7 +189,7 @@ func (m *HasAnimal) Reset() { *m = HasAnimal{} }
func (m *HasAnimal) String() string { return proto.CompactTextString(m) }
func (*HasAnimal) ProtoMessage() {}
func (*HasAnimal) Descriptor() ([]byte, []int) {
return fileDescriptor_40c4782d007dfce9, []int{3}
return fileDescriptor_bc244d00904a39a7, []int{3}
}
func (m *HasAnimal) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -240,7 +240,7 @@ func (m *HasHasAnimal) Reset() { *m = HasHasAnimal{} }
func (m *HasHasAnimal) String() string { return proto.CompactTextString(m) }
func (*HasHasAnimal) ProtoMessage() {}
func (*HasHasAnimal) Descriptor() ([]byte, []int) {
return fileDescriptor_40c4782d007dfce9, []int{4}
return fileDescriptor_bc244d00904a39a7, []int{4}
}
func (m *HasHasAnimal) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -284,7 +284,7 @@ func (m *HasHasHasAnimal) Reset() { *m = HasHasHasAnimal{} }
func (m *HasHasHasAnimal) String() string { return proto.CompactTextString(m) }
func (*HasHasHasAnimal) ProtoMessage() {}
func (*HasHasHasAnimal) Descriptor() ([]byte, []int) {
return fileDescriptor_40c4782d007dfce9, []int{5}
return fileDescriptor_bc244d00904a39a7, []int{5}
}
func (m *HasHasHasAnimal) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -331,7 +331,7 @@ func (m *BadMultiSignature) Reset() { *m = BadMultiSignature{} }
func (m *BadMultiSignature) String() string { return proto.CompactTextString(m) }
func (*BadMultiSignature) ProtoMessage() {}
func (*BadMultiSignature) Descriptor() ([]byte, []int) {
return fileDescriptor_40c4782d007dfce9, []int{6}
return fileDescriptor_bc244d00904a39a7, []int{6}
}
func (m *BadMultiSignature) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -385,7 +385,7 @@ func (m *TableModel) Reset() { *m = TableModel{} }
func (m *TableModel) String() string { return proto.CompactTextString(m) }
func (*TableModel) ProtoMessage() {}
func (*TableModel) Descriptor() ([]byte, []int) {
return fileDescriptor_40c4782d007dfce9, []int{7}
return fileDescriptor_bc244d00904a39a7, []int{7}
}
func (m *TableModel) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -443,48 +443,48 @@ func (m *TableModel) GetMetadata() []byte {
}
func init() {
proto.RegisterType((*Dog)(nil), "testdata.Dog")
proto.RegisterType((*Cat)(nil), "testdata.Cat")
proto.RegisterType((*Bird)(nil), "testdata.Bird")
proto.RegisterType((*HasAnimal)(nil), "testdata.HasAnimal")
proto.RegisterType((*HasHasAnimal)(nil), "testdata.HasHasAnimal")
proto.RegisterType((*HasHasHasAnimal)(nil), "testdata.HasHasHasAnimal")
proto.RegisterType((*BadMultiSignature)(nil), "testdata.BadMultiSignature")
proto.RegisterType((*TableModel)(nil), "testdata.TableModel")
proto.RegisterType((*Dog)(nil), "testpb.Dog")
proto.RegisterType((*Cat)(nil), "testpb.Cat")
proto.RegisterType((*Bird)(nil), "testpb.Bird")
proto.RegisterType((*HasAnimal)(nil), "testpb.HasAnimal")
proto.RegisterType((*HasHasAnimal)(nil), "testpb.HasHasAnimal")
proto.RegisterType((*HasHasHasAnimal)(nil), "testpb.HasHasHasAnimal")
proto.RegisterType((*BadMultiSignature)(nil), "testpb.BadMultiSignature")
proto.RegisterType((*TableModel)(nil), "testpb.TableModel")
}
func init() { proto.RegisterFile("testdata.proto", fileDescriptor_40c4782d007dfce9) }
func init() { proto.RegisterFile("testpb/testdata.proto", fileDescriptor_bc244d00904a39a7) }
var fileDescriptor_40c4782d007dfce9 = []byte{
// 443 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x6e, 0xd3, 0x30,
0x1c, 0xc6, 0xeb, 0x26, 0x2d, 0xeb, 0x9f, 0xa8, 0x13, 0x56, 0x85, 0x42, 0x0f, 0x61, 0xca, 0x85,
0x1e, 0x58, 0x22, 0x31, 0xc1, 0x61, 0xb7, 0x75, 0x08, 0x7a, 0xe9, 0x25, 0x70, 0xe2, 0x32, 0x39,
0xb1, 0x97, 0x5a, 0x73, 0xe2, 0x29, 0x76, 0xd0, 0xc6, 0x53, 0xf0, 0x0a, 0xbc, 0x0d, 0xc7, 0x1e,
0x39, 0xa2, 0xf6, 0x45, 0x90, 0x9d, 0x78, 0xdb, 0x81, 0x43, 0x4f, 0xf9, 0xbe, 0xcf, 0xfe, 0x7d,
0x89, 0x9d, 0x3f, 0x4c, 0x35, 0x53, 0x9a, 0x12, 0x4d, 0x92, 0xdb, 0x46, 0x6a, 0x89, 0x8f, 0x9c,
0x9f, 0xcf, 0x4a, 0x59, 0x4a, 0x1b, 0xa6, 0x46, 0x75, 0xeb, 0xf3, 0x57, 0xa5, 0x94, 0xa5, 0x60,
0xa9, 0x75, 0x79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xe0, 0xb8, 0x22, 0x82, 0x17,
0x5c, 0xb6, 0xea, 0xea, 0x9a, 0x33, 0x41, 0xc3, 0xd1, 0x09, 0x5a, 0x04, 0xd9, 0xf4, 0x21, 0xfe,
0x64, 0xd2, 0x73, 0x7f, 0xfb, 0xeb, 0x35, 0x8a, 0x29, 0xc0, 0x57, 0x92, 0x0b, 0xb6, 0x96, 0x94,
0x09, 0x3c, 0x85, 0x21, 0xa7, 0xf6, 0x0b, 0xfd, 0x6c, 0xc8, 0xe9, 0xff, 0xfe, 0x30, 0x7e, 0x09,
0xe3, 0xba, 0xad, 0x72, 0xd6, 0x84, 0x9e, 0xdd, 0xd7, 0x3b, 0x3c, 0x87, 0xa3, 0x8a, 0x69, 0x62,
0xa6, 0x2c, 0xf4, 0xed, 0x1b, 0x1f, 0xfc, 0x72, 0xf5, 0x7b, 0x17, 0xa1, 0xed, 0x2e, 0x42, 0x7f,
0x77, 0x11, 0xfa, 0xb9, 0x8f, 0x06, 0xdb, 0x7d, 0x34, 0xf8, 0xb3, 0x8f, 0x06, 0xdf, 0x92, 0x92,
0xeb, 0x4d, 0x9b, 0x27, 0x85, 0xac, 0xd2, 0x42, 0xaa, 0x4a, 0xaa, 0xfe, 0x71, 0xaa, 0xe8, 0x4d,
0x6a, 0xc6, 0xb6, 0xd5, 0x5c, 0xa4, 0x6e, 0x7e, 0xf3, 0xb1, 0xbd, 0xaf, 0xb3, 0x7f, 0x01, 0x00,
0x00, 0xff, 0xff, 0xbd, 0x48, 0xf9, 0x24, 0xe2, 0x02, 0x00, 0x00,
var fileDescriptor_bc244d00904a39a7 = []byte{
// 446 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xb1, 0x8e, 0xd3, 0x30,
0x18, 0xc7, 0xeb, 0x26, 0x2d, 0xf4, 0x23, 0xea, 0x09, 0xab, 0xa0, 0xd0, 0x21, 0x9c, 0xb2, 0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 0xf0, 0x2d, 0xca, 0xb9, 0x2e, 0x9a, 0x34, 0xca, 0x64, 0x19, 0x67, 0x52, 0x95, 0x52, 0x75,
0xcb, 0x99, 0xa2, 0xb7, 0x76, 0x88, 0x1b, 0xcd, 0xc5, 0x61, 0x9a, 0xd3, 0xb1, 0xed, 0xd7, 0xf9,
0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x55, 0xc2, 0xe7, 0xe7, 0x02, 0x00, 0x00,
}
func (m *Dog) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,4 @@
//nolint:revive
package testdata_pulsar
package testpb
import (
"context"

View File

@ -1,8 +1,8 @@
syntax = "proto3";
package testdata;
package testpb;
import "google/protobuf/any.proto";
import "testdata.proto";
import "testpb/testdata.proto";
option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata";
@ -35,5 +35,5 @@ message TestAnyRequest {
}
message TestAnyResponse {
testdata.HasAnimal has_animal = 1;
testpb.HasAnimal has_animal = 1;
}

View File

@ -2,9 +2,9 @@
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: query.proto
// source: testpb/query.proto
package testdata_pulsar
package testpb
import (
context "context"
@ -37,7 +37,7 @@ func NewQueryClient(cc grpc.ClientConnInterface) QueryClient {
func (c *queryClient) Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error) {
out := new(EchoResponse)
err := c.cc.Invoke(ctx, "/testdata.Query/Echo", in, out, opts...)
err := c.cc.Invoke(ctx, "/testpb.Query/Echo", in, out, opts...)
if err != nil {
return nil, err
}
@ -46,7 +46,7 @@ func (c *queryClient) Echo(ctx context.Context, in *EchoRequest, opts ...grpc.Ca
func (c *queryClient) SayHello(ctx context.Context, in *SayHelloRequest, opts ...grpc.CallOption) (*SayHelloResponse, error) {
out := new(SayHelloResponse)
err := c.cc.Invoke(ctx, "/testdata.Query/SayHello", in, out, opts...)
err := c.cc.Invoke(ctx, "/testpb.Query/SayHello", in, out, opts...)
if err != nil {
return nil, err
}
@ -55,7 +55,7 @@ func (c *queryClient) SayHello(ctx context.Context, in *SayHelloRequest, opts ..
func (c *queryClient) TestAny(ctx context.Context, in *TestAnyRequest, opts ...grpc.CallOption) (*TestAnyResponse, error) {
out := new(TestAnyResponse)
err := c.cc.Invoke(ctx, "/testdata.Query/TestAny", in, out, opts...)
err := c.cc.Invoke(ctx, "/testpb.Query/TestAny", in, out, opts...)
if err != nil {
return nil, err
}
@ -108,7 +108,7 @@ func _Query_Echo_Handler(srv interface{}, ctx context.Context, dec func(interfac
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/testdata.Query/Echo",
FullMethod: "/testpb.Query/Echo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Echo(ctx, req.(*EchoRequest))
@ -126,7 +126,7 @@ func _Query_SayHello_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/testdata.Query/SayHello",
FullMethod: "/testpb.Query/SayHello",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).SayHello(ctx, req.(*SayHelloRequest))
@ -144,7 +144,7 @@ func _Query_TestAny_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/testdata.Query/TestAny",
FullMethod: "/testpb.Query/TestAny",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TestAny(ctx, req.(*TestAnyRequest))
@ -156,7 +156,7 @@ func _Query_TestAny_Handler(srv interface{}, ctx context.Context, dec func(inter
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{
ServiceName: "testdata.Query",
ServiceName: "testpb.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -173,5 +173,5 @@ var Query_ServiceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "query.proto",
Metadata: "testpb/query.proto",
}

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package testdata;
package testpb;
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";

View File

@ -1,8 +1,8 @@
syntax = "proto3";
package testdata;
package testpb;
import "gogoproto/gogo.proto";
import "testdata.proto";
import "testpb/testdata.proto";
option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata";
@ -13,7 +13,7 @@ service Msg {
}
message MsgCreateDog {
testdata.Dog dog = 1;
testpb.Dog dog = 1;
}
message MsgCreateDogResponse {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package testdata_pulsar
package testpb
import (
fmt "fmt"
@ -19,8 +19,8 @@ var (
)
func init() {
file_tx_proto_init()
md_MsgCreateDog = File_tx_proto.Messages().ByName("MsgCreateDog")
file_testpb_tx_proto_init()
md_MsgCreateDog = File_testpb_tx_proto.Messages().ByName("MsgCreateDog")
fd_MsgCreateDog_dog = md_MsgCreateDog.Fields().ByName("dog")
}
@ -33,7 +33,7 @@ func (x *MsgCreateDog) ProtoReflect() protoreflect.Message {
}
func (x *MsgCreateDog) slowProtoReflect() protoreflect.Message {
mi := &file_tx_proto_msgTypes[0]
mi := &file_testpb_tx_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -110,13 +110,13 @@ func (x *fastReflection_MsgCreateDog) Range(f func(protoreflect.FieldDescriptor,
// a repeated field is populated if it is non-empty.
func (x *fastReflection_MsgCreateDog) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "testdata.MsgCreateDog.dog":
case "testpb.MsgCreateDog.dog":
return x.Dog != nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDog"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
}
panic(fmt.Errorf("message testdata.MsgCreateDog does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", fd.FullName()))
}
}
@ -128,13 +128,13 @@ func (x *fastReflection_MsgCreateDog) Has(fd protoreflect.FieldDescriptor) bool
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_MsgCreateDog) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "testdata.MsgCreateDog.dog":
case "testpb.MsgCreateDog.dog":
x.Dog = nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDog"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
}
panic(fmt.Errorf("message testdata.MsgCreateDog does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", fd.FullName()))
}
}
@ -146,14 +146,14 @@ func (x *fastReflection_MsgCreateDog) Clear(fd protoreflect.FieldDescriptor) {
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_MsgCreateDog) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "testdata.MsgCreateDog.dog":
case "testpb.MsgCreateDog.dog":
value := x.Dog
return protoreflect.ValueOfMessage(value.ProtoReflect())
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDog"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
}
panic(fmt.Errorf("message testdata.MsgCreateDog does not contain field %s", descriptor.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", descriptor.FullName()))
}
}
@ -169,13 +169,13 @@ func (x *fastReflection_MsgCreateDog) Get(descriptor protoreflect.FieldDescripto
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_MsgCreateDog) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "testdata.MsgCreateDog.dog":
case "testpb.MsgCreateDog.dog":
x.Dog = value.Message().Interface().(*Dog)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDog"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
}
panic(fmt.Errorf("message testdata.MsgCreateDog does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", fd.FullName()))
}
}
@ -191,16 +191,16 @@ func (x *fastReflection_MsgCreateDog) Set(fd protoreflect.FieldDescriptor, value
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_MsgCreateDog) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "testdata.MsgCreateDog.dog":
case "testpb.MsgCreateDog.dog":
if x.Dog == nil {
x.Dog = new(Dog)
}
return protoreflect.ValueOfMessage(x.Dog.ProtoReflect())
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDog"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
}
panic(fmt.Errorf("message testdata.MsgCreateDog does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", fd.FullName()))
}
}
@ -209,14 +209,14 @@ func (x *fastReflection_MsgCreateDog) Mutable(fd protoreflect.FieldDescriptor) p
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_MsgCreateDog) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "testdata.MsgCreateDog.dog":
case "testpb.MsgCreateDog.dog":
m := new(Dog)
return protoreflect.ValueOfMessage(m.ProtoReflect())
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDog"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
}
panic(fmt.Errorf("message testdata.MsgCreateDog does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", fd.FullName()))
}
}
@ -226,7 +226,7 @@ func (x *fastReflection_MsgCreateDog) NewField(fd protoreflect.FieldDescriptor)
func (x *fastReflection_MsgCreateDog) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in testdata.MsgCreateDog", d.FullName()))
panic(fmt.Errorf("%s is not a oneof field in testpb.MsgCreateDog", d.FullName()))
}
panic("unreachable")
}
@ -454,8 +454,8 @@ var (
)
func init() {
file_tx_proto_init()
md_MsgCreateDogResponse = File_tx_proto.Messages().ByName("MsgCreateDogResponse")
file_testpb_tx_proto_init()
md_MsgCreateDogResponse = File_testpb_tx_proto.Messages().ByName("MsgCreateDogResponse")
fd_MsgCreateDogResponse_name = md_MsgCreateDogResponse.Fields().ByName("name")
}
@ -468,7 +468,7 @@ func (x *MsgCreateDogResponse) ProtoReflect() protoreflect.Message {
}
func (x *MsgCreateDogResponse) slowProtoReflect() protoreflect.Message {
mi := &file_tx_proto_msgTypes[1]
mi := &file_testpb_tx_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -545,13 +545,13 @@ func (x *fastReflection_MsgCreateDogResponse) Range(f func(protoreflect.FieldDes
// a repeated field is populated if it is non-empty.
func (x *fastReflection_MsgCreateDogResponse) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "testdata.MsgCreateDogResponse.name":
case "testpb.MsgCreateDogResponse.name":
return x.Name != ""
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDogResponse"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
}
panic(fmt.Errorf("message testdata.MsgCreateDogResponse does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", fd.FullName()))
}
}
@ -563,13 +563,13 @@ func (x *fastReflection_MsgCreateDogResponse) Has(fd protoreflect.FieldDescripto
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_MsgCreateDogResponse) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "testdata.MsgCreateDogResponse.name":
case "testpb.MsgCreateDogResponse.name":
x.Name = ""
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDogResponse"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
}
panic(fmt.Errorf("message testdata.MsgCreateDogResponse does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", fd.FullName()))
}
}
@ -581,14 +581,14 @@ func (x *fastReflection_MsgCreateDogResponse) Clear(fd protoreflect.FieldDescrip
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_MsgCreateDogResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "testdata.MsgCreateDogResponse.name":
case "testpb.MsgCreateDogResponse.name":
value := x.Name
return protoreflect.ValueOfString(value)
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDogResponse"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
}
panic(fmt.Errorf("message testdata.MsgCreateDogResponse does not contain field %s", descriptor.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", descriptor.FullName()))
}
}
@ -604,13 +604,13 @@ func (x *fastReflection_MsgCreateDogResponse) Get(descriptor protoreflect.FieldD
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_MsgCreateDogResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "testdata.MsgCreateDogResponse.name":
case "testpb.MsgCreateDogResponse.name":
x.Name = value.Interface().(string)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDogResponse"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
}
panic(fmt.Errorf("message testdata.MsgCreateDogResponse does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", fd.FullName()))
}
}
@ -626,13 +626,13 @@ func (x *fastReflection_MsgCreateDogResponse) Set(fd protoreflect.FieldDescripto
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_MsgCreateDogResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "testdata.MsgCreateDogResponse.name":
panic(fmt.Errorf("field name of message testdata.MsgCreateDogResponse is not mutable"))
case "testpb.MsgCreateDogResponse.name":
panic(fmt.Errorf("field name of message testpb.MsgCreateDogResponse is not mutable"))
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDogResponse"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
}
panic(fmt.Errorf("message testdata.MsgCreateDogResponse does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", fd.FullName()))
}
}
@ -641,13 +641,13 @@ func (x *fastReflection_MsgCreateDogResponse) Mutable(fd protoreflect.FieldDescr
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_MsgCreateDogResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "testdata.MsgCreateDogResponse.name":
case "testpb.MsgCreateDogResponse.name":
return protoreflect.ValueOfString("")
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.MsgCreateDogResponse"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
}
panic(fmt.Errorf("message testdata.MsgCreateDogResponse does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", fd.FullName()))
}
}
@ -657,7 +657,7 @@ func (x *fastReflection_MsgCreateDogResponse) NewField(fd protoreflect.FieldDesc
func (x *fastReflection_MsgCreateDogResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in testdata.MsgCreateDogResponse", d.FullName()))
panic(fmt.Errorf("%s is not a oneof field in testpb.MsgCreateDogResponse", d.FullName()))
}
panic("unreachable")
}
@ -920,8 +920,8 @@ var (
)
func init() {
file_tx_proto_init()
md_TestMsg = File_tx_proto.Messages().ByName("TestMsg")
file_testpb_tx_proto_init()
md_TestMsg = File_testpb_tx_proto.Messages().ByName("TestMsg")
fd_TestMsg_signers = md_TestMsg.Fields().ByName("signers")
}
@ -934,7 +934,7 @@ func (x *TestMsg) ProtoReflect() protoreflect.Message {
}
func (x *TestMsg) slowProtoReflect() protoreflect.Message {
mi := &file_tx_proto_msgTypes[2]
mi := &file_testpb_tx_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1011,13 +1011,13 @@ func (x *fastReflection_TestMsg) Range(f func(protoreflect.FieldDescriptor, prot
// a repeated field is populated if it is non-empty.
func (x *fastReflection_TestMsg) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "testdata.TestMsg.signers":
case "testpb.TestMsg.signers":
return len(x.Signers) != 0
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.TestMsg"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
}
panic(fmt.Errorf("message testdata.TestMsg does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", fd.FullName()))
}
}
@ -1029,13 +1029,13 @@ func (x *fastReflection_TestMsg) Has(fd protoreflect.FieldDescriptor) bool {
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_TestMsg) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "testdata.TestMsg.signers":
case "testpb.TestMsg.signers":
x.Signers = nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.TestMsg"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
}
panic(fmt.Errorf("message testdata.TestMsg does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", fd.FullName()))
}
}
@ -1047,7 +1047,7 @@ func (x *fastReflection_TestMsg) Clear(fd protoreflect.FieldDescriptor) {
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_TestMsg) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "testdata.TestMsg.signers":
case "testpb.TestMsg.signers":
if len(x.Signers) == 0 {
return protoreflect.ValueOfList(&_TestMsg_1_list{})
}
@ -1055,9 +1055,9 @@ func (x *fastReflection_TestMsg) Get(descriptor protoreflect.FieldDescriptor) pr
return protoreflect.ValueOfList(listValue)
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.TestMsg"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
}
panic(fmt.Errorf("message testdata.TestMsg does not contain field %s", descriptor.FullName()))
panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", descriptor.FullName()))
}
}
@ -1073,15 +1073,15 @@ func (x *fastReflection_TestMsg) Get(descriptor protoreflect.FieldDescriptor) pr
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_TestMsg) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "testdata.TestMsg.signers":
case "testpb.TestMsg.signers":
lv := value.List()
clv := lv.(*_TestMsg_1_list)
x.Signers = *clv.list
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.TestMsg"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
}
panic(fmt.Errorf("message testdata.TestMsg does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", fd.FullName()))
}
}
@ -1097,7 +1097,7 @@ func (x *fastReflection_TestMsg) Set(fd protoreflect.FieldDescriptor, value prot
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_TestMsg) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "testdata.TestMsg.signers":
case "testpb.TestMsg.signers":
if x.Signers == nil {
x.Signers = []string{}
}
@ -1105,9 +1105,9 @@ func (x *fastReflection_TestMsg) Mutable(fd protoreflect.FieldDescriptor) protor
return protoreflect.ValueOfList(value)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.TestMsg"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
}
panic(fmt.Errorf("message testdata.TestMsg does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", fd.FullName()))
}
}
@ -1116,14 +1116,14 @@ func (x *fastReflection_TestMsg) Mutable(fd protoreflect.FieldDescriptor) protor
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_TestMsg) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "testdata.TestMsg.signers":
case "testpb.TestMsg.signers":
list := []string{}
return protoreflect.ValueOfList(&_TestMsg_1_list{list: &list})
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: testdata.TestMsg"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
}
panic(fmt.Errorf("message testdata.TestMsg does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", fd.FullName()))
}
}
@ -1133,7 +1133,7 @@ func (x *fastReflection_TestMsg) NewField(fd protoreflect.FieldDescriptor) proto
func (x *fastReflection_TestMsg) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in testdata.TestMsg", d.FullName()))
panic(fmt.Errorf("%s is not a oneof field in testpb.TestMsg", d.FullName()))
}
panic("unreachable")
}
@ -1352,7 +1352,7 @@ func (x *fastReflection_TestMsg) ProtoMethods() *protoiface.Methods {
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: tx.proto
// source: testpb/tx.proto
const (
// Verify that this generated code is sufficiently up-to-date.
@ -1372,7 +1372,7 @@ type MsgCreateDog struct {
func (x *MsgCreateDog) Reset() {
*x = MsgCreateDog{}
if protoimpl.UnsafeEnabled {
mi := &file_tx_proto_msgTypes[0]
mi := &file_testpb_tx_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1386,7 +1386,7 @@ func (*MsgCreateDog) ProtoMessage() {}
// Deprecated: Use MsgCreateDog.ProtoReflect.Descriptor instead.
func (*MsgCreateDog) Descriptor() ([]byte, []int) {
return file_tx_proto_rawDescGZIP(), []int{0}
return file_testpb_tx_proto_rawDescGZIP(), []int{0}
}
func (x *MsgCreateDog) GetDog() *Dog {
@ -1407,7 +1407,7 @@ type MsgCreateDogResponse struct {
func (x *MsgCreateDogResponse) Reset() {
*x = MsgCreateDogResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tx_proto_msgTypes[1]
mi := &file_testpb_tx_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1421,7 +1421,7 @@ func (*MsgCreateDogResponse) ProtoMessage() {}
// Deprecated: Use MsgCreateDogResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateDogResponse) Descriptor() ([]byte, []int) {
return file_tx_proto_rawDescGZIP(), []int{1}
return file_testpb_tx_proto_rawDescGZIP(), []int{1}
}
func (x *MsgCreateDogResponse) GetName() string {
@ -1444,7 +1444,7 @@ type TestMsg struct {
func (x *TestMsg) Reset() {
*x = TestMsg{}
if protoimpl.UnsafeEnabled {
mi := &file_tx_proto_msgTypes[2]
mi := &file_testpb_tx_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1458,7 +1458,7 @@ func (*TestMsg) ProtoMessage() {}
// Deprecated: Use TestMsg.ProtoReflect.Descriptor instead.
func (*TestMsg) Descriptor() ([]byte, []int) {
return file_tx_proto_rawDescGZIP(), []int{2}
return file_testpb_tx_proto_rawDescGZIP(), []int{2}
}
func (x *TestMsg) GetSigners() []string {
@ -1468,61 +1468,61 @@ func (x *TestMsg) GetSigners() []string {
return nil
}
var File_tx_proto protoreflect.FileDescriptor
var File_testpb_tx_proto protoreflect.FileDescriptor
var file_tx_proto_rawDesc = []byte{
0x0a, 0x08, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74, 0x65, 0x73, 0x74,
0x64, 0x61, 0x74, 0x61, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x74, 0x65, 0x73, 0x74,
0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x0c, 0x4d, 0x73,
0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x67, 0x12, 0x1f, 0x0a, 0x03, 0x64, 0x6f,
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61,
0x74, 0x61, 0x2e, 0x44, 0x6f, 0x67, 0x52, 0x03, 0x64, 0x6f, 0x67, 0x22, 0x2a, 0x0a, 0x14, 0x4d,
0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x29, 0x0a, 0x07, 0x54, 0x65, 0x73, 0x74, 0x4d,
0x73, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x73, 0x3a, 0x04, 0x88, 0xa0,
0x1f, 0x00, 0x32, 0x4a, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x43, 0x0a, 0x09, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x44, 0x6f, 0x67, 0x12, 0x16, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74,
0x61, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x67, 0x1a, 0x1e,
0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x44, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x8e,
0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x42,
0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68,
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x75, 0x74, 0x69,
0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x75, 0x6c, 0x73, 0x61,
0x72, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x08, 0x54, 0x65, 0x73, 0x74, 0x64, 0x61,
0x74, 0x61, 0xca, 0x02, 0x08, 0x54, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0xe2, 0x02, 0x14,
0x54, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61,
0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x54, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
var file_testpb_tx_proto_rawDesc = []byte{
0x0a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x12, 0x06, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x15, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x0c, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x44, 0x6f, 0x67, 0x12, 0x1d, 0x0a, 0x03, 0x64, 0x6f, 0x67, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x44, 0x6f, 0x67,
0x52, 0x03, 0x64, 0x6f, 0x67, 0x22, 0x2a, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x44, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
0x65, 0x22, 0x29, 0x0a, 0x07, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x0a, 0x07,
0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73,
0x69, 0x67, 0x6e, 0x65, 0x72, 0x73, 0x3a, 0x04, 0x88, 0xa0, 0x1f, 0x00, 0x32, 0x46, 0x0a, 0x03,
0x4d, 0x73, 0x67, 0x12, 0x3f, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x67,
0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x44, 0x6f, 0x67, 0x1a, 0x1c, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e,
0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x42, 0x8b, 0x01, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x73,
0x74, 0x70, 0x62, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c,
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f,
0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x65, 0x73,
0x74, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70,
0x75, 0x6c, 0x73, 0x61, 0x72, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0xa2, 0x02, 0x03, 0x54,
0x58, 0x58, 0xaa, 0x02, 0x06, 0x54, 0x65, 0x73, 0x74, 0x70, 0x62, 0xca, 0x02, 0x06, 0x54, 0x65,
0x73, 0x74, 0x70, 0x62, 0xe2, 0x02, 0x12, 0x54, 0x65, 0x73, 0x74, 0x70, 0x62, 0x5c, 0x47, 0x50,
0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x06, 0x54, 0x65, 0x73, 0x74,
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_tx_proto_rawDescOnce sync.Once
file_tx_proto_rawDescData = file_tx_proto_rawDesc
file_testpb_tx_proto_rawDescOnce sync.Once
file_testpb_tx_proto_rawDescData = file_testpb_tx_proto_rawDesc
)
func file_tx_proto_rawDescGZIP() []byte {
file_tx_proto_rawDescOnce.Do(func() {
file_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_tx_proto_rawDescData)
func file_testpb_tx_proto_rawDescGZIP() []byte {
file_testpb_tx_proto_rawDescOnce.Do(func() {
file_testpb_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_testpb_tx_proto_rawDescData)
})
return file_tx_proto_rawDescData
return file_testpb_tx_proto_rawDescData
}
var file_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_tx_proto_goTypes = []interface{}{
(*MsgCreateDog)(nil), // 0: testdata.MsgCreateDog
(*MsgCreateDogResponse)(nil), // 1: testdata.MsgCreateDogResponse
(*TestMsg)(nil), // 2: testdata.TestMsg
(*Dog)(nil), // 3: testdata.Dog
var file_testpb_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_testpb_tx_proto_goTypes = []interface{}{
(*MsgCreateDog)(nil), // 0: testpb.MsgCreateDog
(*MsgCreateDogResponse)(nil), // 1: testpb.MsgCreateDogResponse
(*TestMsg)(nil), // 2: testpb.TestMsg
(*Dog)(nil), // 3: testpb.Dog
}
var file_tx_proto_depIdxs = []int32{
3, // 0: testdata.MsgCreateDog.dog:type_name -> testdata.Dog
0, // 1: testdata.Msg.CreateDog:input_type -> testdata.MsgCreateDog
1, // 2: testdata.Msg.CreateDog:output_type -> testdata.MsgCreateDogResponse
var file_testpb_tx_proto_depIdxs = []int32{
3, // 0: testpb.MsgCreateDog.dog:type_name -> testpb.Dog
0, // 1: testpb.Msg.CreateDog:input_type -> testpb.MsgCreateDog
1, // 2: testpb.Msg.CreateDog:output_type -> testpb.MsgCreateDogResponse
2, // [2:3] is the sub-list for method output_type
1, // [1:2] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
@ -1530,14 +1530,14 @@ var file_tx_proto_depIdxs = []int32{
0, // [0:1] is the sub-list for field type_name
}
func init() { file_tx_proto_init() }
func file_tx_proto_init() {
if File_tx_proto != nil {
func init() { file_testpb_tx_proto_init() }
func file_testpb_tx_proto_init() {
if File_testpb_tx_proto != nil {
return
}
file_testdata_proto_init()
file_testpb_testdata_proto_init()
if !protoimpl.UnsafeEnabled {
file_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_testpb_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MsgCreateDog); i {
case 0:
return &v.state
@ -1549,7 +1549,7 @@ func file_tx_proto_init() {
return nil
}
}
file_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_testpb_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MsgCreateDogResponse); i {
case 0:
return &v.state
@ -1561,7 +1561,7 @@ func file_tx_proto_init() {
return nil
}
}
file_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_testpb_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TestMsg); i {
case 0:
return &v.state
@ -1578,18 +1578,18 @@ func file_tx_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_tx_proto_rawDesc,
RawDescriptor: file_testpb_tx_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_tx_proto_goTypes,
DependencyIndexes: file_tx_proto_depIdxs,
MessageInfos: file_tx_proto_msgTypes,
GoTypes: file_testpb_tx_proto_goTypes,
DependencyIndexes: file_testpb_tx_proto_depIdxs,
MessageInfos: file_testpb_tx_proto_msgTypes,
}.Build()
File_tx_proto = out.File
file_tx_proto_rawDesc = nil
file_tx_proto_goTypes = nil
file_tx_proto_depIdxs = nil
File_testpb_tx_proto = out.File
file_testpb_tx_proto_rawDesc = nil
file_testpb_tx_proto_goTypes = nil
file_testpb_tx_proto_depIdxs = nil
}

View File

@ -2,9 +2,9 @@
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: tx.proto
// source: testpb/tx.proto
package testdata_pulsar
package testpb
import (
context "context"
@ -35,7 +35,7 @@ func NewMsgClient(cc grpc.ClientConnInterface) MsgClient {
func (c *msgClient) CreateDog(ctx context.Context, in *MsgCreateDog, opts ...grpc.CallOption) (*MsgCreateDogResponse, error) {
out := new(MsgCreateDogResponse)
err := c.cc.Invoke(ctx, "/testdata.Msg/CreateDog", in, out, opts...)
err := c.cc.Invoke(ctx, "/testpb.Msg/CreateDog", in, out, opts...)
if err != nil {
return nil, err
}
@ -80,7 +80,7 @@ func _Msg_CreateDog_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/testdata.Msg/CreateDog",
FullMethod: "/testpb.Msg/CreateDog",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).CreateDog(ctx, req.(*MsgCreateDog))
@ -92,7 +92,7 @@ func _Msg_CreateDog_Handler(srv interface{}, ctx context.Context, dec func(inter
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Msg_ServiceDesc = grpc.ServiceDesc{
ServiceName: "testdata.Msg",
ServiceName: "testpb.Msg",
HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -101,5 +101,5 @@ var Msg_ServiceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "tx.proto",
Metadata: "testpb/tx.proto",
}

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package testdata;
package testpb;
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: tx.proto
// source: testpb/tx.proto
package testdata
@ -36,7 +36,7 @@ func (m *MsgCreateDog) Reset() { *m = MsgCreateDog{} }
func (m *MsgCreateDog) String() string { return proto.CompactTextString(m) }
func (*MsgCreateDog) ProtoMessage() {}
func (*MsgCreateDog) Descriptor() ([]byte, []int) {
return fileDescriptor_0fd2153dc07d3b5c, []int{0}
return fileDescriptor_1c54006dba274b2e, []int{0}
}
func (m *MsgCreateDog) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -80,7 +80,7 @@ func (m *MsgCreateDogResponse) Reset() { *m = MsgCreateDogResponse{} }
func (m *MsgCreateDogResponse) String() string { return proto.CompactTextString(m) }
func (*MsgCreateDogResponse) ProtoMessage() {}
func (*MsgCreateDogResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_0fd2153dc07d3b5c, []int{1}
return fileDescriptor_1c54006dba274b2e, []int{1}
}
func (m *MsgCreateDogResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -126,7 +126,7 @@ func (m *TestMsg) Reset() { *m = TestMsg{} }
func (m *TestMsg) String() string { return proto.CompactTextString(m) }
func (*TestMsg) ProtoMessage() {}
func (*TestMsg) Descriptor() ([]byte, []int) {
return fileDescriptor_0fd2153dc07d3b5c, []int{2}
return fileDescriptor_1c54006dba274b2e, []int{2}
}
func (m *TestMsg) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -156,32 +156,32 @@ func (m *TestMsg) XXX_DiscardUnknown() {
var xxx_messageInfo_TestMsg proto.InternalMessageInfo
func init() {
proto.RegisterType((*MsgCreateDog)(nil), "testdata.MsgCreateDog")
proto.RegisterType((*MsgCreateDogResponse)(nil), "testdata.MsgCreateDogResponse")
proto.RegisterType((*TestMsg)(nil), "testdata.TestMsg")
proto.RegisterType((*MsgCreateDog)(nil), "testpb.MsgCreateDog")
proto.RegisterType((*MsgCreateDogResponse)(nil), "testpb.MsgCreateDogResponse")
proto.RegisterType((*TestMsg)(nil), "testpb.TestMsg")
}
func init() { proto.RegisterFile("tx.proto", fileDescriptor_0fd2153dc07d3b5c) }
func init() { proto.RegisterFile("testpb/tx.proto", fileDescriptor_1c54006dba274b2e) }
var fileDescriptor_0fd2153dc07d3b5c = []byte{
// 258 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08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, 0x39, 0xc6, 0x09,
0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x2f, 0x3d, 0xb3,
0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x3f, 0x39, 0xbf, 0x38, 0x37, 0xbf, 0x18, 0x4a,
0xe9, 0x16, 0xa7, 0x64, 0xeb, 0x83, 0x4c, 0x2d, 0x2d, 0xc9, 0xcc, 0xd1, 0x87, 0x19, 0x9f, 0xc4,
0x06, 0x0e, 0x24, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x15, 0x63, 0x9a, 0x1b, 0x60, 0x01,
0x00, 0x00,
var fileDescriptor_1c54006dba274b2e = []byte{
// 265 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2f, 0x49, 0x2d, 0x2e,
0x29, 0x48, 0xd2, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x83, 0x08, 0x48,
0x89, 0xa4, 0xe7, 0xa7, 0xe7, 0x83, 0x85, 0xf4, 0x41, 0x2c, 0x88, 0xac, 0x94, 0x28, 0x4c, 0x79,
0x6a, 0x71, 0x49, 0x4a, 0x62, 0x49, 0x22, 0x44, 0x58, 0x49, 0x97, 0x8b, 0xc7, 0xb7, 0x38, 0xdd,
0xb9, 0x28, 0x35, 0xb1, 0x24, 0xd5, 0x25, 0x3f, 0x5d, 0x48, 0x96, 0x8b, 0x39, 0x25, 0x3f, 0x5d,
0x82, 0x51, 0x81, 0x51, 0x83, 0xdb, 0x88, 0x5b, 0x0f, 0xa2, 0x49, 0xcf, 0x25, 0x3f, 0x3d, 0x08,
0x24, 0xae, 0xa4, 0xc5, 0x25, 0x82, 0xac, 0x3c, 0x28, 0xb5, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0x55,
0x48, 0x88, 0x8b, 0x25, 0x2f, 0x31, 0x37, 0x15, 0xac, 0x8f, 0x33, 0x08, 0xcc, 0x56, 0xd2, 0xe4,
0x62, 0x0f, 0x49, 0x2d, 0x2e, 0xf1, 0x2d, 0x4e, 0x17, 0x92, 0xe0, 0x62, 0x2f, 0xce, 0x4c, 0xcf,
0x4b, 0x2d, 0x2a, 0x96, 0x60, 0x54, 0x60, 0xd6, 0xe0, 0x0c, 0x82, 0x71, 0xad, 0x58, 0x3a, 0x16,
0xc8, 0x33, 0x18, 0xb9, 0x71, 0x31, 0x83, 0x94, 0xd9, 0x73, 0x71, 0x22, 0x5c, 0x22, 0x02, 0xb3,
0x1c, 0xd9, 0x42, 0x29, 0x19, 0x6c, 0xa2, 0x30, 0x67, 0x38, 0x79, 0x9c, 0x78, 0x24, 0xc7, 0x78,
0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7,
0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x5e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e,
0xae, 0x7e, 0x72, 0x7e, 0x71, 0x6e, 0x7e, 0x31, 0x94, 0xd2, 0x2d, 0x4e, 0xc9, 0x06, 0x07, 0x4a,
0x69, 0x49, 0x66, 0x0e, 0x3c, 0x74, 0x92, 0xd8, 0xc0, 0xc1, 0x63, 0x0c, 0x08, 0x00, 0x00, 0xff,
0xff, 0xd5, 0x7f, 0x29, 0x59, 0x66, 0x01, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -209,7 +209,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient {
func (c *msgClient) CreateDog(ctx context.Context, in *MsgCreateDog, opts ...grpc.CallOption) (*MsgCreateDogResponse, error) {
out := new(MsgCreateDogResponse)
err := c.cc.Invoke(ctx, "/testdata.Msg/CreateDog", in, out, opts...)
err := c.cc.Invoke(ctx, "/testpb.Msg/CreateDog", in, out, opts...)
if err != nil {
return nil, err
}
@ -243,7 +243,7 @@ func _Msg_CreateDog_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/testdata.Msg/CreateDog",
FullMethod: "/testpb.Msg/CreateDog",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).CreateDog(ctx, req.(*MsgCreateDog))
@ -252,7 +252,7 @@ func _Msg_CreateDog_Handler(srv interface{}, ctx context.Context, dec func(inter
}
var _Msg_serviceDesc = grpc.ServiceDesc{
ServiceName: "testdata.Msg",
ServiceName: "testpb.Msg",
HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -261,7 +261,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "tx.proto",
Metadata: "testpb/tx.proto",
}
func (m *MsgCreateDog) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: unknonwnproto.proto
// source: testpb/unknonwnproto.proto
package testdata
@ -57,7 +57,7 @@ func (x Customer2_City) String() string {
}
func (Customer2_City) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{1, 0}
return fileDescriptor_fe4560133be9209a, []int{1, 0}
}
type Customer1 struct {
@ -71,7 +71,7 @@ func (m *Customer1) Reset() { *m = Customer1{} }
func (m *Customer1) String() string { return proto.CompactTextString(m) }
func (*Customer1) ProtoMessage() {}
func (*Customer1) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{0}
return fileDescriptor_fe4560133be9209a, []int{0}
}
func (m *Customer1) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -134,7 +134,7 @@ type Customer2 struct {
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Fewer float32 `protobuf:"fixed32,4,opt,name=fewer,proto3" json:"fewer,omitempty"`
Reserved int64 `protobuf:"varint,1047,opt,name=reserved,proto3" json:"reserved,omitempty"`
City Customer2_City `protobuf:"varint,6,opt,name=city,proto3,enum=testdata.Customer2_City" json:"city,omitempty"`
City Customer2_City `protobuf:"varint,6,opt,name=city,proto3,enum=testpb.Customer2_City" json:"city,omitempty"`
Miscellaneous *types.Any `protobuf:"bytes,10,opt,name=miscellaneous,proto3" json:"miscellaneous,omitempty"`
}
@ -142,7 +142,7 @@ func (m *Customer2) Reset() { *m = Customer2{} }
func (m *Customer2) String() string { return proto.CompactTextString(m) }
func (*Customer2) ProtoMessage() {}
func (*Customer2) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{1}
return fileDescriptor_fe4560133be9209a, []int{1}
}
func (m *Customer2) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -229,7 +229,7 @@ func (m *Nested4A) Reset() { *m = Nested4A{} }
func (m *Nested4A) String() string { return proto.CompactTextString(m) }
func (*Nested4A) ProtoMessage() {}
func (*Nested4A) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{2}
return fileDescriptor_fe4560133be9209a, []int{2}
}
func (m *Nested4A) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -283,7 +283,7 @@ func (m *Nested3A) Reset() { *m = Nested3A{} }
func (m *Nested3A) String() string { return proto.CompactTextString(m) }
func (*Nested3A) ProtoMessage() {}
func (*Nested3A) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{3}
return fileDescriptor_fe4560133be9209a, []int{3}
}
func (m *Nested3A) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -350,7 +350,7 @@ func (m *Nested2A) Reset() { *m = Nested2A{} }
func (m *Nested2A) String() string { return proto.CompactTextString(m) }
func (*Nested2A) ProtoMessage() {}
func (*Nested2A) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{4}
return fileDescriptor_fe4560133be9209a, []int{4}
}
func (m *Nested2A) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -409,7 +409,7 @@ func (m *Nested1A) Reset() { *m = Nested1A{} }
func (m *Nested1A) String() string { return proto.CompactTextString(m) }
func (*Nested1A) ProtoMessage() {}
func (*Nested1A) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{5}
return fileDescriptor_fe4560133be9209a, []int{5}
}
func (m *Nested1A) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -462,7 +462,7 @@ func (m *Nested4B) Reset() { *m = Nested4B{} }
func (m *Nested4B) String() string { return proto.CompactTextString(m) }
func (*Nested4B) ProtoMessage() {}
func (*Nested4B) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{6}
return fileDescriptor_fe4560133be9209a, []int{6}
}
func (m *Nested4B) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -523,7 +523,7 @@ func (m *Nested3B) Reset() { *m = Nested3B{} }
func (m *Nested3B) String() string { return proto.CompactTextString(m) }
func (*Nested3B) ProtoMessage() {}
func (*Nested3B) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{7}
return fileDescriptor_fe4560133be9209a, []int{7}
}
func (m *Nested3B) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -591,7 +591,7 @@ func (m *Nested2B) Reset() { *m = Nested2B{} }
func (m *Nested2B) String() string { return proto.CompactTextString(m) }
func (*Nested2B) ProtoMessage() {}
func (*Nested2B) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{8}
return fileDescriptor_fe4560133be9209a, []int{8}
}
func (m *Nested2B) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -658,7 +658,7 @@ func (m *Nested1B) Reset() { *m = Nested1B{} }
func (m *Nested1B) String() string { return proto.CompactTextString(m) }
func (*Nested1B) ProtoMessage() {}
func (*Nested1B) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{9}
return fileDescriptor_fe4560133be9209a, []int{9}
}
func (m *Nested1B) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -726,7 +726,7 @@ func (m *Customer3) Reset() { *m = Customer3{} }
func (m *Customer3) String() string { return proto.CompactTextString(m) }
func (*Customer3) ProtoMessage() {}
func (*Customer3) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{10}
return fileDescriptor_fe4560133be9209a, []int{10}
}
func (m *Customer3) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -864,7 +864,7 @@ func (m *TestVersion1) Reset() { *m = TestVersion1{} }
func (m *TestVersion1) String() string { return proto.CompactTextString(m) }
func (*TestVersion1) ProtoMessage() {}
func (*TestVersion1) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{11}
return fileDescriptor_fe4560133be9209a, []int{11}
}
func (m *TestVersion1) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1010,7 +1010,7 @@ func (m *TestVersion2) Reset() { *m = TestVersion2{} }
func (m *TestVersion2) String() string { return proto.CompactTextString(m) }
func (*TestVersion2) ProtoMessage() {}
func (*TestVersion2) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{12}
return fileDescriptor_fe4560133be9209a, []int{12}
}
func (m *TestVersion2) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1163,7 +1163,7 @@ func (m *TestVersion3) Reset() { *m = TestVersion3{} }
func (m *TestVersion3) String() string { return proto.CompactTextString(m) }
func (*TestVersion3) ProtoMessage() {}
func (*TestVersion3) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{13}
return fileDescriptor_fe4560133be9209a, []int{13}
}
func (m *TestVersion3) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1315,7 +1315,7 @@ func (m *TestVersion3LoneOneOfValue) Reset() { *m = TestVersion3LoneOneO
func (m *TestVersion3LoneOneOfValue) String() string { return proto.CompactTextString(m) }
func (*TestVersion3LoneOneOfValue) ProtoMessage() {}
func (*TestVersion3LoneOneOfValue) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{14}
return fileDescriptor_fe4560133be9209a, []int{14}
}
func (m *TestVersion3LoneOneOfValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1457,7 +1457,7 @@ func (m *TestVersion3LoneNesting) Reset() { *m = TestVersion3LoneNesting
func (m *TestVersion3LoneNesting) String() string { return proto.CompactTextString(m) }
func (*TestVersion3LoneNesting) ProtoMessage() {}
func (*TestVersion3LoneNesting) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{15}
return fileDescriptor_fe4560133be9209a, []int{15}
}
func (m *TestVersion3LoneNesting) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1599,7 +1599,7 @@ func (m *TestVersion3LoneNesting_Inner1) Reset() { *m = TestVersion3Lone
func (m *TestVersion3LoneNesting_Inner1) String() string { return proto.CompactTextString(m) }
func (*TestVersion3LoneNesting_Inner1) ProtoMessage() {}
func (*TestVersion3LoneNesting_Inner1) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{15, 0}
return fileDescriptor_fe4560133be9209a, []int{15, 0}
}
func (m *TestVersion3LoneNesting_Inner1) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1662,7 +1662,7 @@ func (m *TestVersion3LoneNesting_Inner1_InnerInner) String() string {
}
func (*TestVersion3LoneNesting_Inner1_InnerInner) ProtoMessage() {}
func (*TestVersion3LoneNesting_Inner1_InnerInner) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{15, 0, 0}
return fileDescriptor_fe4560133be9209a, []int{15, 0, 0}
}
func (m *TestVersion3LoneNesting_Inner1_InnerInner) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1715,7 +1715,7 @@ func (m *TestVersion3LoneNesting_Inner2) Reset() { *m = TestVersion3Lone
func (m *TestVersion3LoneNesting_Inner2) String() string { return proto.CompactTextString(m) }
func (*TestVersion3LoneNesting_Inner2) ProtoMessage() {}
func (*TestVersion3LoneNesting_Inner2) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{15, 1}
return fileDescriptor_fe4560133be9209a, []int{15, 1}
}
func (m *TestVersion3LoneNesting_Inner2) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1778,7 +1778,7 @@ func (m *TestVersion3LoneNesting_Inner2_InnerInner) String() string {
}
func (*TestVersion3LoneNesting_Inner2_InnerInner) ProtoMessage() {}
func (*TestVersion3LoneNesting_Inner2_InnerInner) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{15, 1, 0}
return fileDescriptor_fe4560133be9209a, []int{15, 1, 0}
}
func (m *TestVersion3LoneNesting_Inner2_InnerInner) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1845,7 +1845,7 @@ func (m *TestVersion4LoneNesting) Reset() { *m = TestVersion4LoneNesting
func (m *TestVersion4LoneNesting) String() string { return proto.CompactTextString(m) }
func (*TestVersion4LoneNesting) ProtoMessage() {}
func (*TestVersion4LoneNesting) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{16}
return fileDescriptor_fe4560133be9209a, []int{16}
}
func (m *TestVersion4LoneNesting) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1987,7 +1987,7 @@ func (m *TestVersion4LoneNesting_Inner1) Reset() { *m = TestVersion4Lone
func (m *TestVersion4LoneNesting_Inner1) String() string { return proto.CompactTextString(m) }
func (*TestVersion4LoneNesting_Inner1) ProtoMessage() {}
func (*TestVersion4LoneNesting_Inner1) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{16, 0}
return fileDescriptor_fe4560133be9209a, []int{16, 0}
}
func (m *TestVersion4LoneNesting_Inner1) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -2050,7 +2050,7 @@ func (m *TestVersion4LoneNesting_Inner1_InnerInner) String() string {
}
func (*TestVersion4LoneNesting_Inner1_InnerInner) ProtoMessage() {}
func (*TestVersion4LoneNesting_Inner1_InnerInner) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{16, 0, 0}
return fileDescriptor_fe4560133be9209a, []int{16, 0, 0}
}
func (m *TestVersion4LoneNesting_Inner1_InnerInner) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -2103,7 +2103,7 @@ func (m *TestVersion4LoneNesting_Inner2) Reset() { *m = TestVersion4Lone
func (m *TestVersion4LoneNesting_Inner2) String() string { return proto.CompactTextString(m) }
func (*TestVersion4LoneNesting_Inner2) ProtoMessage() {}
func (*TestVersion4LoneNesting_Inner2) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{16, 1}
return fileDescriptor_fe4560133be9209a, []int{16, 1}
}
func (m *TestVersion4LoneNesting_Inner2) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -2166,7 +2166,7 @@ func (m *TestVersion4LoneNesting_Inner2_InnerInner) String() string {
}
func (*TestVersion4LoneNesting_Inner2_InnerInner) ProtoMessage() {}
func (*TestVersion4LoneNesting_Inner2_InnerInner) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{16, 1, 0}
return fileDescriptor_fe4560133be9209a, []int{16, 1, 0}
}
func (m *TestVersion4LoneNesting_Inner2_InnerInner) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -2225,7 +2225,7 @@ func (m *TestVersionFD1) Reset() { *m = TestVersionFD1{} }
func (m *TestVersionFD1) String() string { return proto.CompactTextString(m) }
func (*TestVersionFD1) ProtoMessage() {}
func (*TestVersionFD1) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{17}
return fileDescriptor_fe4560133be9209a, []int{17}
}
func (m *TestVersionFD1) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -2343,7 +2343,7 @@ func (m *TestVersionFD1WithExtraAny) Reset() { *m = TestVersionFD1WithEx
func (m *TestVersionFD1WithExtraAny) String() string { return proto.CompactTextString(m) }
func (*TestVersionFD1WithExtraAny) ProtoMessage() {}
func (*TestVersionFD1WithExtraAny) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{18}
return fileDescriptor_fe4560133be9209a, []int{18}
}
func (m *TestVersionFD1WithExtraAny) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -2455,7 +2455,7 @@ func (m *AnyWithExtra) Reset() { *m = AnyWithExtra{} }
func (m *AnyWithExtra) String() string { return proto.CompactTextString(m) }
func (*AnyWithExtra) ProtoMessage() {}
func (*AnyWithExtra) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{19}
return fileDescriptor_fe4560133be9209a, []int{19}
}
func (m *AnyWithExtra) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -2510,7 +2510,7 @@ func (m *TestUpdatedTxRaw) Reset() { *m = TestUpdatedTxRaw{} }
func (m *TestUpdatedTxRaw) String() string { return proto.CompactTextString(m) }
func (*TestUpdatedTxRaw) ProtoMessage() {}
func (*TestUpdatedTxRaw) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{20}
return fileDescriptor_fe4560133be9209a, []int{20}
}
func (m *TestUpdatedTxRaw) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -2588,7 +2588,7 @@ func (m *TestUpdatedTxBody) Reset() { *m = TestUpdatedTxBody{} }
func (m *TestUpdatedTxBody) String() string { return proto.CompactTextString(m) }
func (*TestUpdatedTxBody) ProtoMessage() {}
func (*TestUpdatedTxBody) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{21}
return fileDescriptor_fe4560133be9209a, []int{21}
}
func (m *TestUpdatedTxBody) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -2677,7 +2677,7 @@ func (m *TestUpdatedAuthInfo) Reset() { *m = TestUpdatedAuthInfo{} }
func (m *TestUpdatedAuthInfo) String() string { return proto.CompactTextString(m) }
func (*TestUpdatedAuthInfo) ProtoMessage() {}
func (*TestUpdatedAuthInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{22}
return fileDescriptor_fe4560133be9209a, []int{22}
}
func (m *TestUpdatedAuthInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -2742,7 +2742,7 @@ func (m *TestRepeatedUints) Reset() { *m = TestRepeatedUints{} }
func (m *TestRepeatedUints) String() string { return proto.CompactTextString(m) }
func (*TestRepeatedUints) ProtoMessage() {}
func (*TestRepeatedUints) Descriptor() ([]byte, []int) {
return fileDescriptor_448ea787339d1228, []int{23}
return fileDescriptor_fe4560133be9209a, []int{23}
}
func (m *TestRepeatedUints) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -2779,149 +2779,149 @@ func (m *TestRepeatedUints) GetNums() []uint64 {
}
func init() {
proto.RegisterEnum("testdata.Customer2_City", Customer2_City_name, Customer2_City_value)
proto.RegisterType((*Customer1)(nil), "testdata.Customer1")
proto.RegisterType((*Customer2)(nil), "testdata.Customer2")
proto.RegisterType((*Nested4A)(nil), "testdata.Nested4A")
proto.RegisterType((*Nested3A)(nil), "testdata.Nested3A")
proto.RegisterMapType((map[int64]*Nested4A)(nil), "testdata.Nested3A.IndexEntry")
proto.RegisterType((*Nested2A)(nil), "testdata.Nested2A")
proto.RegisterType((*Nested1A)(nil), "testdata.Nested1A")
proto.RegisterType((*Nested4B)(nil), "testdata.Nested4B")
proto.RegisterType((*Nested3B)(nil), "testdata.Nested3B")
proto.RegisterType((*Nested2B)(nil), "testdata.Nested2B")
proto.RegisterType((*Nested1B)(nil), "testdata.Nested1B")
proto.RegisterType((*Customer3)(nil), "testdata.Customer3")
proto.RegisterType((*TestVersion1)(nil), "testdata.TestVersion1")
proto.RegisterType((*TestVersion2)(nil), "testdata.TestVersion2")
proto.RegisterType((*TestVersion3)(nil), "testdata.TestVersion3")
proto.RegisterType((*TestVersion3LoneOneOfValue)(nil), "testdata.TestVersion3LoneOneOfValue")
proto.RegisterType((*TestVersion3LoneNesting)(nil), "testdata.TestVersion3LoneNesting")
proto.RegisterType((*TestVersion3LoneNesting_Inner1)(nil), "testdata.TestVersion3LoneNesting.Inner1")
proto.RegisterType((*TestVersion3LoneNesting_Inner1_InnerInner)(nil), "testdata.TestVersion3LoneNesting.Inner1.InnerInner")
proto.RegisterType((*TestVersion3LoneNesting_Inner2)(nil), "testdata.TestVersion3LoneNesting.Inner2")
proto.RegisterType((*TestVersion3LoneNesting_Inner2_InnerInner)(nil), "testdata.TestVersion3LoneNesting.Inner2.InnerInner")
proto.RegisterType((*TestVersion4LoneNesting)(nil), "testdata.TestVersion4LoneNesting")
proto.RegisterType((*TestVersion4LoneNesting_Inner1)(nil), "testdata.TestVersion4LoneNesting.Inner1")
proto.RegisterType((*TestVersion4LoneNesting_Inner1_InnerInner)(nil), "testdata.TestVersion4LoneNesting.Inner1.InnerInner")
proto.RegisterType((*TestVersion4LoneNesting_Inner2)(nil), "testdata.TestVersion4LoneNesting.Inner2")
proto.RegisterType((*TestVersion4LoneNesting_Inner2_InnerInner)(nil), "testdata.TestVersion4LoneNesting.Inner2.InnerInner")
proto.RegisterType((*TestVersionFD1)(nil), "testdata.TestVersionFD1")
proto.RegisterType((*TestVersionFD1WithExtraAny)(nil), "testdata.TestVersionFD1WithExtraAny")
proto.RegisterType((*AnyWithExtra)(nil), "testdata.AnyWithExtra")
proto.RegisterType((*TestUpdatedTxRaw)(nil), "testdata.TestUpdatedTxRaw")
proto.RegisterType((*TestUpdatedTxBody)(nil), "testdata.TestUpdatedTxBody")
proto.RegisterType((*TestUpdatedAuthInfo)(nil), "testdata.TestUpdatedAuthInfo")
proto.RegisterType((*TestRepeatedUints)(nil), "testdata.TestRepeatedUints")
proto.RegisterEnum("testpb.Customer2_City", Customer2_City_name, Customer2_City_value)
proto.RegisterType((*Customer1)(nil), "testpb.Customer1")
proto.RegisterType((*Customer2)(nil), "testpb.Customer2")
proto.RegisterType((*Nested4A)(nil), "testpb.Nested4A")
proto.RegisterType((*Nested3A)(nil), "testpb.Nested3A")
proto.RegisterMapType((map[int64]*Nested4A)(nil), "testpb.Nested3A.IndexEntry")
proto.RegisterType((*Nested2A)(nil), "testpb.Nested2A")
proto.RegisterType((*Nested1A)(nil), "testpb.Nested1A")
proto.RegisterType((*Nested4B)(nil), "testpb.Nested4B")
proto.RegisterType((*Nested3B)(nil), "testpb.Nested3B")
proto.RegisterType((*Nested2B)(nil), "testpb.Nested2B")
proto.RegisterType((*Nested1B)(nil), "testpb.Nested1B")
proto.RegisterType((*Customer3)(nil), "testpb.Customer3")
proto.RegisterType((*TestVersion1)(nil), "testpb.TestVersion1")
proto.RegisterType((*TestVersion2)(nil), "testpb.TestVersion2")
proto.RegisterType((*TestVersion3)(nil), "testpb.TestVersion3")
proto.RegisterType((*TestVersion3LoneOneOfValue)(nil), "testpb.TestVersion3LoneOneOfValue")
proto.RegisterType((*TestVersion3LoneNesting)(nil), "testpb.TestVersion3LoneNesting")
proto.RegisterType((*TestVersion3LoneNesting_Inner1)(nil), "testpb.TestVersion3LoneNesting.Inner1")
proto.RegisterType((*TestVersion3LoneNesting_Inner1_InnerInner)(nil), "testpb.TestVersion3LoneNesting.Inner1.InnerInner")
proto.RegisterType((*TestVersion3LoneNesting_Inner2)(nil), "testpb.TestVersion3LoneNesting.Inner2")
proto.RegisterType((*TestVersion3LoneNesting_Inner2_InnerInner)(nil), "testpb.TestVersion3LoneNesting.Inner2.InnerInner")
proto.RegisterType((*TestVersion4LoneNesting)(nil), "testpb.TestVersion4LoneNesting")
proto.RegisterType((*TestVersion4LoneNesting_Inner1)(nil), "testpb.TestVersion4LoneNesting.Inner1")
proto.RegisterType((*TestVersion4LoneNesting_Inner1_InnerInner)(nil), "testpb.TestVersion4LoneNesting.Inner1.InnerInner")
proto.RegisterType((*TestVersion4LoneNesting_Inner2)(nil), "testpb.TestVersion4LoneNesting.Inner2")
proto.RegisterType((*TestVersion4LoneNesting_Inner2_InnerInner)(nil), "testpb.TestVersion4LoneNesting.Inner2.InnerInner")
proto.RegisterType((*TestVersionFD1)(nil), "testpb.TestVersionFD1")
proto.RegisterType((*TestVersionFD1WithExtraAny)(nil), "testpb.TestVersionFD1WithExtraAny")
proto.RegisterType((*AnyWithExtra)(nil), "testpb.AnyWithExtra")
proto.RegisterType((*TestUpdatedTxRaw)(nil), "testpb.TestUpdatedTxRaw")
proto.RegisterType((*TestUpdatedTxBody)(nil), "testpb.TestUpdatedTxBody")
proto.RegisterType((*TestUpdatedAuthInfo)(nil), "testpb.TestUpdatedAuthInfo")
proto.RegisterType((*TestRepeatedUints)(nil), "testpb.TestRepeatedUints")
}
func init() { proto.RegisterFile("unknonwnproto.proto", fileDescriptor_448ea787339d1228) }
func init() { proto.RegisterFile("testpb/unknonwnproto.proto", fileDescriptor_fe4560133be9209a) }
var fileDescriptor_448ea787339d1228 = []byte{
// 1644 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0x4f, 0x6f, 0x1b, 0xc7,
0x15, 0xd7, 0x70, 0x49, 0x89, 0x7c, 0xa2, 0x69, 0x66, 0x6c, 0xb4, 0x1b, 0x3a, 0x66, 0x98, 0x85,
0xeb, 0xb0, 0x41, 0x43, 0x9a, 0x4b, 0x06, 0x28, 0x72, 0x32, 0xe9, 0x58, 0x95, 0x01, 0x57, 0x2e,
0xa6, 0x4e, 0x5a, 0xf8, 0x42, 0x2c, 0xb9, 0x43, 0x72, 0x21, 0x72, 0x46, 0xdd, 0x99, 0xb5, 0xc8,
0x5b, 0xd1, 0x1e, 0x7a, 0xcd, 0xa5, 0x28, 0xd0, 0x6f, 0xd0, 0x53, 0x91, 0x6f, 0xd0, 0xa3, 0x2f,
0x05, 0x7c, 0x29, 0x50, 0xa0, 0x40,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, 0xf5, 0x98, 0xd4, 0xa9, 0xc2, 0x82, 0x59, 0x68, 0x7f,
0x96, 0xe8, 0x71, 0x6f, 0xff, 0xc5, 0xab, 0x2a, 0x7a, 0xf9, 0xaa, 0x8a, 0xfe, 0xf9, 0xaa, 0x8a,
0x3e, 0x7f, 0x5d, 0xdd, 0x7a, 0xf9, 0xba, 0xba, 0xf5, 0xf7, 0xd7, 0xd5, 0xad, 0x67, 0x8d, 0xb1,
0x27, 0x27, 0xc1, 0xa0, 0x31, 0xe4, 0xb3, 0x66, 0xf4, 0x8f, 0x86, 0xf0, 0xe7, 0x43, 0xe1, 0x1e,
0x36, 0x55, 0xdd, 0x07, 0xd2, 0x9b, 0x36, 0xe3, 0x06, 0x30, 0xd8, 0xd6, 0x44, 0xb7, 0xff, 0x1b,
0x00, 0x00, 0xff, 0xff, 0xa6, 0x69, 0x10, 0x33, 0xe6, 0x18, 0x00, 0x00,
var fileDescriptor_fe4560133be9209a = []byte{
// 1641 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x4f, 0x8f, 0x1a, 0xc9,
0x15, 0x9f, 0xa2, 0x81, 0x81, 0x37, 0x18, 0xe3, 0xca, 0x68, 0xd3, 0x8b, 0xd7, 0x98, 0xb4, 0x76,
0x1d, 0x12, 0xc9, 0x60, 0x1a, 0x56, 0x8a, 0xf6, 0x10, 0x2d, 0xd8, 0x9e, 0x1d, 0x47, 0xce, 0x38,
0xea, 0x78, 0x9d, 0x68, 0x2f, 0xa8, 0xe9, 0x2e, 0xa0, 0x35, 0x50, 0x35, 0xe9, 0xaa, 0xf6, 0xc0,
0x6d, 0x6f, 0x7b, 0xdd, 0x5b, 0xa4, 0x7c, 0x81, 0x9c, 0xa2, 0xfd, 0x0a, 0xb9, 0xc5, 0xb7, 0x58,
0xca, 0x25, 0x27, 0x2b, 0xb2, 0x0f, 0x51, 0x4e, 0x39, 0xe5,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, 0xd0, 0x60, 0x16, 0xda, 0x9f, 0xb5, 0xd4, 0xb8, 0x7f,
0xf8, 0xec, 0x65, 0x0d, 0x3d, 0x7f, 0x59, 0x43, 0x7f, 0x7b, 0x59, 0x43, 0x5f, 0xbe, 0xaa, 0xed,
0x3c, 0x7f, 0x55, 0xdb, 0xf9, 0xeb, 0xab, 0xda, 0xce, 0x67, 0xcd, 0xb1, 0x27, 0x26, 0xc1, 0xb0,
0xe9, 0xb0, 0x59, 0x2b, 0xfa, 0xc8, 0x1f, 0xfe, 0xdd, 0xe6, 0xee, 0x71, 0x4b, 0x56, 0x7d, 0x20,
0xbc, 0xa9, 0x1a, 0xb8, 0xb6, 0xb0, 0x87, 0x79, 0x45, 0x74, 0xe7, 0x3f, 0x01, 0x00, 0x00, 0xff,
0xff, 0x3a, 0xea, 0x0d, 0xa7, 0x67, 0x18, 0x00, 0x00,
}
func (m *Customer1) Marshal() (dAtA []byte, err error) {

View File

@ -30,14 +30,14 @@ func (s *testMsgSuite) TestMsg() {
}
func (s *testMsgSuite) TestMsgTypeURL() {
s.Require().Equal("/testdata.TestMsg", sdk.MsgTypeURL(new(testdata.TestMsg)))
s.Require().Equal("/testpb.TestMsg", sdk.MsgTypeURL(new(testdata.TestMsg)))
}
func (s *testMsgSuite) TestGetMsgFromTypeURL() {
msg := new(testdata.TestMsg)
cdc := codec.NewProtoCodec(testdata.NewTestInterfaceRegistry())
result, err := sdk.GetMsgFromTypeURL(cdc, "/testdata.TestMsg")
result, err := sdk.GetMsgFromTypeURL(cdc, "/testpb.TestMsg")
s.Require().NoError(err)
s.Require().Equal(msg, result)
}

View File

@ -11,7 +11,7 @@ import (
// ref: https://github.com/cosmos/cosmos-sdk/issues/14647
_ "cosmossdk.io/api/cosmos/bank/v1beta1"
_ "cosmossdk.io/api/cosmos/crypto/secp256k1"
_ "github.com/cosmos/cosmos-sdk/testutil/testdata_pulsar"
_ "github.com/cosmos/cosmos-sdk/testutil/testdata/testpb"
storetypes "cosmossdk.io/store/types"

View File

@ -32,7 +32,7 @@ func TestDefaultTxDecoderError(t *testing.T) {
require.NoError(t, err)
_, err = decoder(txBz)
require.EqualError(t, err, "unable to resolve type URL /testdata.TestMsg: tx parse error")
require.EqualError(t, err, "unable to resolve type URL /testpb.TestMsg: tx parse error")
testdata.RegisterInterfaces(registry)
_, err = decoder(txBz)