From b2d91c58c482a9b5dbfcd6481882b575a25f4f50 Mon Sep 17 00:00:00 2001 From: Bryan White Date: Wed, 21 Aug 2024 22:19:52 -0400 Subject: [PATCH] [Code Health] mitigate protobuf import issue (#749) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Renames all .proto files which are named the same as their protobuf package to workaround/mitigate an issue which presents when importing them in other .proto files. ## Issue - Potentially related to (but **does not** fix) #405 ![Screenshot 2024-08-21 at 3 39 51 PM](https://github.com/user-attachments/assets/6a7d1d2a-daba-424c-a930-d065061fe4d2) ## Type of change Select one or more: - [ ] New feature, functionality or library - [ ] Bug fix - [x] Code health or cleanup - [ ] Documentation - [ ] Other (specify) ## Testing - [x] **Unit Tests**: `make go_develop_and_test` - [x] **LocalNet E2E Tests**: `make test_e2e` - [x] **DevNet E2E Tests**: Add the `devnet-test-e2e` label to the PR. ## Sanity Checklist - [x] I have tested my changes using the available tooling - [ ] I have commented my code - [x] I have performed a self-review of my own code; both comments & source code - [ ] I create and reference any new tickets, if applicable - [x] I have left TODOs throughout the codebase, if applicable --- Makefile | 4 +- api/poktroll/application/genesis.pulsar.go | 116 +- api/poktroll/application/params.pulsar.go | 3 + api/poktroll/application/query.pulsar.go | 435 +++-- api/poktroll/application/tx.pulsar.go | 2 +- ...{application.pulsar.go => types.pulsar.go} | 203 +-- api/poktroll/gateway/genesis.pulsar.go | 48 +- api/poktroll/gateway/query.pulsar.go | 142 +- .../{gateway.pulsar.go => types.pulsar.go} | 114 +- api/poktroll/proof/claim.pulsar.go | 747 -------- api/poktroll/proof/event.pulsar.go | 139 +- api/poktroll/proof/genesis.pulsar.go | 53 +- api/poktroll/proof/proof.pulsar.go | 748 -------- api/poktroll/proof/query.pulsar.go | 281 ++- api/poktroll/proof/requirement.pulsar.go | 144 -- api/poktroll/proof/stage.pulsar.go | 146 -- api/poktroll/proof/tx.pulsar.go | 233 ++- api/poktroll/proof/types.pulsar.go | 1511 +++++++++++++++++ api/poktroll/service/genesis.pulsar.go | 2 +- api/poktroll/service/query.pulsar.go | 2 +- api/poktroll/service/relay.pulsar.go | 111 +- api/poktroll/service/tx.pulsar.go | 2 +- api/poktroll/session/query.pulsar.go | 313 ++-- .../{session.pulsar.go => types.pulsar.go} | 200 +-- api/poktroll/supplier/genesis.pulsar.go | 2 +- api/poktroll/supplier/query.pulsar.go | 2 +- api/poktroll/supplier/tx.pulsar.go | 2 +- api/poktroll/tokenomics/event.pulsar.go | 180 +- proto/buf.gen.pulsar.yaml | 2 +- proto/poktroll/application/genesis.proto | 2 +- proto/poktroll/application/query.proto | 2 +- .../{application.proto => types.proto} | 4 + proto/poktroll/gateway/genesis.proto | 2 +- proto/poktroll/gateway/query.proto | 2 +- .../gateway/{gateway.proto => types.proto} | 4 + proto/poktroll/proof/claim.proto | 17 - proto/poktroll/proof/event.proto | 3 +- proto/poktroll/proof/genesis.proto | 3 +- proto/poktroll/proof/proof.proto | 18 - proto/poktroll/proof/query.proto | 3 +- proto/poktroll/proof/requirement.proto | 11 - proto/poktroll/proof/stage.proto | 12 - proto/poktroll/proof/tx.proto | 5 +- proto/poktroll/proof/types.proto | 43 + proto/poktroll/service/relay.proto | 2 +- proto/poktroll/session/query.proto | 2 +- .../session/{session.proto => types.proto} | 6 +- proto/poktroll/tokenomics/event.proto | 3 +- x/application/types/genesis.pb.go | 26 +- x/application/types/params.pb.go | 3 + x/application/types/query.pb.go | 70 +- .../types/{application.pb.go => types.pb.go} | 196 ++- x/gateway/types/genesis.pb.go | 25 +- x/gateway/types/query.pb.go | 68 +- .../types/{gateway.pb.go => types.pb.go} | 94 +- x/proof/types/claim.pb.go | 440 ----- x/proof/types/event.pb.go | 40 +- x/proof/types/genesis.pb.go | 28 +- x/proof/types/proof.pb.go | 441 ----- x/proof/types/query.pb.go | 96 +- x/proof/types/requirement.pb.go | 72 - x/proof/types/stage.pb.go | 74 - x/proof/types/tx.pb.go | 102 +- x/proof/types/types.pb.go | 797 +++++++++ x/service/types/relay.pb.go | 54 +- x/session/types/query.pb.go | 64 +- .../types/{session.pb.go => types.pb.go} | 210 +-- x/tokenomics/types/event.pb.go | 92 +- 68 files changed, 4254 insertions(+), 4769 deletions(-) rename api/poktroll/application/{application.pulsar.go => types.pulsar.go} (88%) rename api/poktroll/gateway/{gateway.pulsar.go => types.pulsar.go} (82%) delete mode 100644 api/poktroll/proof/claim.pulsar.go delete mode 100644 api/poktroll/proof/proof.pulsar.go delete mode 100644 api/poktroll/proof/requirement.pulsar.go delete mode 100644 api/poktroll/proof/stage.pulsar.go create mode 100644 api/poktroll/proof/types.pulsar.go rename api/poktroll/session/{session.pulsar.go => types.pulsar.go} (88%) rename proto/poktroll/application/{application.proto => types.proto} (87%) rename proto/poktroll/gateway/{gateway.proto => types.proto} (59%) delete mode 100644 proto/poktroll/proof/claim.proto delete mode 100644 proto/poktroll/proof/proof.proto delete mode 100644 proto/poktroll/proof/requirement.proto delete mode 100644 proto/poktroll/proof/stage.proto create mode 100644 proto/poktroll/proof/types.proto rename proto/poktroll/session/{session.proto => types.proto} (86%) rename x/application/types/{application.pb.go => types.pb.go} (74%) rename x/gateway/types/{gateway.pb.go => types.pb.go} (70%) delete mode 100644 x/proof/types/claim.pb.go delete mode 100644 x/proof/types/proof.pb.go delete mode 100644 x/proof/types/requirement.pb.go delete mode 100644 x/proof/types/stage.pb.go create mode 100644 x/proof/types/types.pb.go rename x/session/types/{session.pb.go => types.pb.go} (75%) diff --git a/Makefile b/Makefile index ddb358e4e..4b6076abe 100644 --- a/Makefile +++ b/Makefile @@ -401,8 +401,8 @@ test_e2e_gateway: test_e2e_env ## Run only the E2E suite that exercises the gate test_e2e_session: test_e2e_env ## Run only the E2E suite that exercises the session (i.e. claim/proof) life-cycle go test -v ./e2e/tests/... -tags=e2e,test --features-path=session.feature -.PHONY: test_e2e_settlement -test_e2e_settlement: test_e2e_env ## Run only the E2E suite that exercises the session & tokenomics settlement +.PHONY: test_e2e_tokenomics +test_e2e_tokenomics: test_e2e_env ## Run only the E2E suite that exercises the session & tokenomics settlement go test -v ./e2e/tests/... -tags=e2e,test --features-path=0_settlement.feature .PHONY: test_e2e_params diff --git a/api/poktroll/application/genesis.pulsar.go b/api/poktroll/application/genesis.pulsar.go index 4f327299b..7edf3c823 100644 --- a/api/poktroll/application/genesis.pulsar.go +++ b/api/poktroll/application/genesis.pulsar.go @@ -6,7 +6,6 @@ import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -171,15 +170,15 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "poktroll.GenesisState.params": + case "poktroll.application.GenesisState.params": return x.Params != nil - case "poktroll.GenesisState.application_list": + case "poktroll.application.GenesisState.application_list": return len(x.ApplicationList) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.GenesisState")) } - panic(fmt.Errorf("message poktroll.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.GenesisState does not contain field %s", fd.FullName())) } } @@ -191,15 +190,15 @@ func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "poktroll.GenesisState.params": + case "poktroll.application.GenesisState.params": x.Params = nil - case "poktroll.GenesisState.application_list": + case "poktroll.application.GenesisState.application_list": x.ApplicationList = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.GenesisState")) } - panic(fmt.Errorf("message poktroll.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.GenesisState does not contain field %s", fd.FullName())) } } @@ -211,10 +210,10 @@ func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "poktroll.GenesisState.params": + case "poktroll.application.GenesisState.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "poktroll.GenesisState.application_list": + case "poktroll.application.GenesisState.application_list": if len(x.ApplicationList) == 0 { return protoreflect.ValueOfList(&_GenesisState_2_list{}) } @@ -222,9 +221,9 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.GenesisState")) } - panic(fmt.Errorf("message poktroll.GenesisState does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message poktroll.application.GenesisState does not contain field %s", descriptor.FullName())) } } @@ -240,17 +239,17 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "poktroll.GenesisState.params": + case "poktroll.application.GenesisState.params": x.Params = value.Message().Interface().(*Params) - case "poktroll.GenesisState.application_list": + case "poktroll.application.GenesisState.application_list": lv := value.List() clv := lv.(*_GenesisState_2_list) x.ApplicationList = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.GenesisState")) } - panic(fmt.Errorf("message poktroll.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.GenesisState does not contain field %s", fd.FullName())) } } @@ -266,12 +265,12 @@ func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.GenesisState.params": + case "poktroll.application.GenesisState.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) - case "poktroll.GenesisState.application_list": + case "poktroll.application.GenesisState.application_list": if x.ApplicationList == nil { x.ApplicationList = []*Application{} } @@ -279,9 +278,9 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.GenesisState")) } - panic(fmt.Errorf("message poktroll.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.GenesisState does not contain field %s", fd.FullName())) } } @@ -290,17 +289,17 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.GenesisState.params": + case "poktroll.application.GenesisState.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "poktroll.GenesisState.application_list": + case "poktroll.application.GenesisState.application_list": list := []*Application{} return protoreflect.ValueOfList(&_GenesisState_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.GenesisState")) } - panic(fmt.Errorf("message poktroll.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.GenesisState does not contain field %s", fd.FullName())) } } @@ -310,7 +309,7 @@ func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.GenesisState", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in poktroll.application.GenesisState", d.FullName())) } panic("unreachable") } @@ -608,7 +607,7 @@ type GenesisState struct { unknownFields protoimpl.UnknownFields // params defines all the parameters of the module. - Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` + Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` ApplicationList []*Application `protobuf:"bytes,2,rep,name=application_list,json=applicationList,proto3" json:"application_list,omitempty"` } @@ -657,32 +656,32 @@ var file_poktroll_application_genesis_proto_rawDesc = []byte{ 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, - 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, - 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x12, 0x52, 0x0a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, - 0xde, 0x1f, 0x00, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4c, 0x69, 0x73, 0x74, 0x42, 0xc0, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x25, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x41, 0x58, 0xaa, 0x02, - 0x14, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x14, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x5c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x20, 0x50, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x15, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x6e, + 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x52, 0x0a, 0x10, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0f, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0xc0, + 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0x47, 0x65, 0x6e, + 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x25, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x41, 0x58, 0xaa, 0x02, 0x14, 0x50, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, + 0x02, 0x14, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x41, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x20, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x5c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -699,13 +698,13 @@ func file_poktroll_application_genesis_proto_rawDescGZIP() []byte { var file_poktroll_application_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_poktroll_application_genesis_proto_goTypes = []interface{}{ - (*GenesisState)(nil), // 0: poktroll.GenesisState - (*Params)(nil), // 1: poktroll.Params - (*Application)(nil), // 2: poktroll.Application + (*GenesisState)(nil), // 0: poktroll.application.GenesisState + (*Params)(nil), // 1: poktroll.application.Params + (*Application)(nil), // 2: poktroll.application.Application } var file_poktroll_application_genesis_proto_depIdxs = []int32{ - 1, // 0: poktroll.GenesisState.params:type_name -> poktroll.Params - 2, // 1: poktroll.GenesisState.application_list:type_name -> poktroll.Application + 1, // 0: poktroll.application.GenesisState.params:type_name -> poktroll.application.Params + 2, // 1: poktroll.application.GenesisState.application_list:type_name -> poktroll.application.Application 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name @@ -719,6 +718,7 @@ func file_poktroll_application_genesis_proto_init() { return } file_poktroll_application_params_proto_init() + file_poktroll_application_types_proto_init() if !protoimpl.UnsafeEnabled { file_poktroll_application_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenesisState); i { diff --git a/api/poktroll/application/params.pulsar.go b/api/poktroll/application/params.pulsar.go index d7854990e..f4918ce45 100644 --- a/api/poktroll/application/params.pulsar.go +++ b/api/poktroll/application/params.pulsar.go @@ -437,6 +437,9 @@ type Params struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + // max_delegated_gateways defines the maximum number of gateways that a single + // application can delegate to. This is used to prevent performance issues + // in case the relay ring signature becomes too large. MaxDelegatedGateways uint64 `protobuf:"varint,1,opt,name=max_delegated_gateways,json=maxDelegatedGateways,proto3" json:"max_delegated_gateways,omitempty"` } diff --git a/api/poktroll/application/query.pulsar.go b/api/poktroll/application/query.pulsar.go index b1f59e350..83553df90 100644 --- a/api/poktroll/application/query.pulsar.go +++ b/api/poktroll/application/query.pulsar.go @@ -8,7 +8,6 @@ import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" @@ -109,9 +108,9 @@ func (x *fastReflection_QueryParamsRequest) Has(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -125,9 +124,9 @@ func (x *fastReflection_QueryParamsRequest) Clear(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -141,9 +140,9 @@ func (x *fastReflection_QueryParamsRequest) Get(descriptor protoreflect.FieldDes switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsRequest does not contain field %s", descriptor.FullName())) } } @@ -161,9 +160,9 @@ func (x *fastReflection_QueryParamsRequest) Set(fd protoreflect.FieldDescriptor, switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -181,9 +180,9 @@ func (x *fastReflection_QueryParamsRequest) Mutable(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -194,9 +193,9 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -206,7 +205,7 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.QueryParamsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in poktroll.application.QueryParamsRequest", d.FullName())) } panic("unreachable") } @@ -471,13 +470,13 @@ func (x *fastReflection_QueryParamsResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.application.QueryParamsResponse.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -489,13 +488,13 @@ func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.application.QueryParamsResponse.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -507,14 +506,14 @@ func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.application.QueryParamsResponse.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -530,13 +529,13 @@ func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.application.QueryParamsResponse.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -552,16 +551,16 @@ func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.application.QueryParamsResponse.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -570,14 +569,14 @@ func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.application.QueryParamsResponse.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -587,7 +586,7 @@ func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.QueryParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in poktroll.application.QueryParamsResponse", d.FullName())) } panic("unreachable") } @@ -906,13 +905,13 @@ func (x *fastReflection_QueryGetApplicationRequest) Range(f func(protoreflect.Fi // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryGetApplicationRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "poktroll.QueryGetApplicationRequest.address": + case "poktroll.application.QueryGetApplicationRequest.address": return x.Address != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationRequest does not contain field %s", fd.FullName())) } } @@ -924,13 +923,13 @@ func (x *fastReflection_QueryGetApplicationRequest) Has(fd protoreflect.FieldDes // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetApplicationRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "poktroll.QueryGetApplicationRequest.address": + case "poktroll.application.QueryGetApplicationRequest.address": x.Address = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationRequest does not contain field %s", fd.FullName())) } } @@ -942,14 +941,14 @@ func (x *fastReflection_QueryGetApplicationRequest) Clear(fd protoreflect.FieldD // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryGetApplicationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "poktroll.QueryGetApplicationRequest.address": + case "poktroll.application.QueryGetApplicationRequest.address": value := x.Address return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationRequest does not contain field %s", descriptor.FullName())) } } @@ -965,13 +964,13 @@ func (x *fastReflection_QueryGetApplicationRequest) Get(descriptor protoreflect. // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetApplicationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "poktroll.QueryGetApplicationRequest.address": + case "poktroll.application.QueryGetApplicationRequest.address": x.Address = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationRequest does not contain field %s", fd.FullName())) } } @@ -987,13 +986,13 @@ func (x *fastReflection_QueryGetApplicationRequest) Set(fd protoreflect.FieldDes // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetApplicationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryGetApplicationRequest.address": - panic(fmt.Errorf("field address of message poktroll.QueryGetApplicationRequest is not mutable")) + case "poktroll.application.QueryGetApplicationRequest.address": + panic(fmt.Errorf("field address of message poktroll.application.QueryGetApplicationRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationRequest does not contain field %s", fd.FullName())) } } @@ -1002,13 +1001,13 @@ func (x *fastReflection_QueryGetApplicationRequest) Mutable(fd protoreflect.Fiel // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryGetApplicationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryGetApplicationRequest.address": + case "poktroll.application.QueryGetApplicationRequest.address": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationRequest does not contain field %s", fd.FullName())) } } @@ -1018,7 +1017,7 @@ func (x *fastReflection_QueryGetApplicationRequest) NewField(fd protoreflect.Fie func (x *fastReflection_QueryGetApplicationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.QueryGetApplicationRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in poktroll.application.QueryGetApplicationRequest", d.FullName())) } panic("unreachable") } @@ -1326,13 +1325,13 @@ func (x *fastReflection_QueryGetApplicationResponse) Range(f func(protoreflect.F // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryGetApplicationResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "poktroll.QueryGetApplicationResponse.application": + case "poktroll.application.QueryGetApplicationResponse.application": return x.Application != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationResponse does not contain field %s", fd.FullName())) } } @@ -1344,13 +1343,13 @@ func (x *fastReflection_QueryGetApplicationResponse) Has(fd protoreflect.FieldDe // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetApplicationResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "poktroll.QueryGetApplicationResponse.application": + case "poktroll.application.QueryGetApplicationResponse.application": x.Application = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationResponse does not contain field %s", fd.FullName())) } } @@ -1362,14 +1361,14 @@ func (x *fastReflection_QueryGetApplicationResponse) Clear(fd protoreflect.Field // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryGetApplicationResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "poktroll.QueryGetApplicationResponse.application": + case "poktroll.application.QueryGetApplicationResponse.application": value := x.Application return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationResponse does not contain field %s", descriptor.FullName())) } } @@ -1385,13 +1384,13 @@ func (x *fastReflection_QueryGetApplicationResponse) Get(descriptor protoreflect // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetApplicationResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "poktroll.QueryGetApplicationResponse.application": + case "poktroll.application.QueryGetApplicationResponse.application": x.Application = value.Message().Interface().(*Application) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationResponse does not contain field %s", fd.FullName())) } } @@ -1407,16 +1406,16 @@ func (x *fastReflection_QueryGetApplicationResponse) Set(fd protoreflect.FieldDe // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetApplicationResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryGetApplicationResponse.application": + case "poktroll.application.QueryGetApplicationResponse.application": if x.Application == nil { x.Application = new(Application) } return protoreflect.ValueOfMessage(x.Application.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationResponse does not contain field %s", fd.FullName())) } } @@ -1425,14 +1424,14 @@ func (x *fastReflection_QueryGetApplicationResponse) Mutable(fd protoreflect.Fie // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryGetApplicationResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryGetApplicationResponse.application": + case "poktroll.application.QueryGetApplicationResponse.application": m := new(Application) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryGetApplicationResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryGetApplicationResponse does not contain field %s", fd.FullName())) } } @@ -1442,7 +1441,7 @@ func (x *fastReflection_QueryGetApplicationResponse) NewField(fd protoreflect.Fi func (x *fastReflection_QueryGetApplicationResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.QueryGetApplicationResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in poktroll.application.QueryGetApplicationResponse", d.FullName())) } panic("unreachable") } @@ -1761,13 +1760,13 @@ func (x *fastReflection_QueryAllApplicationsRequest) Range(f func(protoreflect.F // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryAllApplicationsRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "poktroll.QueryAllApplicationsRequest.pagination": + case "poktroll.application.QueryAllApplicationsRequest.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsRequest")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsRequest does not contain field %s", fd.FullName())) } } @@ -1779,13 +1778,13 @@ func (x *fastReflection_QueryAllApplicationsRequest) Has(fd protoreflect.FieldDe // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllApplicationsRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "poktroll.QueryAllApplicationsRequest.pagination": + case "poktroll.application.QueryAllApplicationsRequest.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsRequest")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsRequest does not contain field %s", fd.FullName())) } } @@ -1797,14 +1796,14 @@ func (x *fastReflection_QueryAllApplicationsRequest) Clear(fd protoreflect.Field // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryAllApplicationsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "poktroll.QueryAllApplicationsRequest.pagination": + case "poktroll.application.QueryAllApplicationsRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsRequest")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsRequest does not contain field %s", descriptor.FullName())) } } @@ -1820,13 +1819,13 @@ func (x *fastReflection_QueryAllApplicationsRequest) Get(descriptor protoreflect // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllApplicationsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "poktroll.QueryAllApplicationsRequest.pagination": + case "poktroll.application.QueryAllApplicationsRequest.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsRequest")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsRequest does not contain field %s", fd.FullName())) } } @@ -1842,16 +1841,16 @@ func (x *fastReflection_QueryAllApplicationsRequest) Set(fd protoreflect.FieldDe // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllApplicationsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryAllApplicationsRequest.pagination": + case "poktroll.application.QueryAllApplicationsRequest.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsRequest")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsRequest does not contain field %s", fd.FullName())) } } @@ -1860,14 +1859,14 @@ func (x *fastReflection_QueryAllApplicationsRequest) Mutable(fd protoreflect.Fie // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryAllApplicationsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryAllApplicationsRequest.pagination": + case "poktroll.application.QueryAllApplicationsRequest.pagination": m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsRequest")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsRequest does not contain field %s", fd.FullName())) } } @@ -1877,7 +1876,7 @@ func (x *fastReflection_QueryAllApplicationsRequest) NewField(fd protoreflect.Fi func (x *fastReflection_QueryAllApplicationsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.QueryAllApplicationsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in poktroll.application.QueryAllApplicationsRequest", d.FullName())) } panic("unreachable") } @@ -2255,15 +2254,15 @@ func (x *fastReflection_QueryAllApplicationsResponse) Range(f func(protoreflect. // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryAllApplicationsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "poktroll.QueryAllApplicationsResponse.applications": + case "poktroll.application.QueryAllApplicationsResponse.applications": return len(x.Applications) != 0 - case "poktroll.QueryAllApplicationsResponse.pagination": + case "poktroll.application.QueryAllApplicationsResponse.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsResponse")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsResponse does not contain field %s", fd.FullName())) } } @@ -2275,15 +2274,15 @@ func (x *fastReflection_QueryAllApplicationsResponse) Has(fd protoreflect.FieldD // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllApplicationsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "poktroll.QueryAllApplicationsResponse.applications": + case "poktroll.application.QueryAllApplicationsResponse.applications": x.Applications = nil - case "poktroll.QueryAllApplicationsResponse.pagination": + case "poktroll.application.QueryAllApplicationsResponse.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsResponse")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsResponse does not contain field %s", fd.FullName())) } } @@ -2295,20 +2294,20 @@ func (x *fastReflection_QueryAllApplicationsResponse) Clear(fd protoreflect.Fiel // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryAllApplicationsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "poktroll.QueryAllApplicationsResponse.applications": + case "poktroll.application.QueryAllApplicationsResponse.applications": if len(x.Applications) == 0 { return protoreflect.ValueOfList(&_QueryAllApplicationsResponse_1_list{}) } listValue := &_QueryAllApplicationsResponse_1_list{list: &x.Applications} return protoreflect.ValueOfList(listValue) - case "poktroll.QueryAllApplicationsResponse.pagination": + case "poktroll.application.QueryAllApplicationsResponse.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsResponse")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsResponse does not contain field %s", descriptor.FullName())) } } @@ -2324,17 +2323,17 @@ func (x *fastReflection_QueryAllApplicationsResponse) Get(descriptor protoreflec // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllApplicationsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "poktroll.QueryAllApplicationsResponse.applications": + case "poktroll.application.QueryAllApplicationsResponse.applications": lv := value.List() clv := lv.(*_QueryAllApplicationsResponse_1_list) x.Applications = *clv.list - case "poktroll.QueryAllApplicationsResponse.pagination": + case "poktroll.application.QueryAllApplicationsResponse.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsResponse")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsResponse does not contain field %s", fd.FullName())) } } @@ -2350,22 +2349,22 @@ func (x *fastReflection_QueryAllApplicationsResponse) Set(fd protoreflect.FieldD // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllApplicationsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryAllApplicationsResponse.applications": + case "poktroll.application.QueryAllApplicationsResponse.applications": if x.Applications == nil { x.Applications = []*Application{} } value := &_QueryAllApplicationsResponse_1_list{list: &x.Applications} return protoreflect.ValueOfList(value) - case "poktroll.QueryAllApplicationsResponse.pagination": + case "poktroll.application.QueryAllApplicationsResponse.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageResponse) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsResponse")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsResponse does not contain field %s", fd.FullName())) } } @@ -2374,17 +2373,17 @@ func (x *fastReflection_QueryAllApplicationsResponse) Mutable(fd protoreflect.Fi // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryAllApplicationsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryAllApplicationsResponse.applications": + case "poktroll.application.QueryAllApplicationsResponse.applications": list := []*Application{} return protoreflect.ValueOfList(&_QueryAllApplicationsResponse_1_list{list: &list}) - case "poktroll.QueryAllApplicationsResponse.pagination": + case "poktroll.application.QueryAllApplicationsResponse.pagination": m := new(v1beta1.PageResponse) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryAllApplicationsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.application.QueryAllApplicationsResponse")) } - panic(fmt.Errorf("message poktroll.QueryAllApplicationsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.application.QueryAllApplicationsResponse does not contain field %s", fd.FullName())) } } @@ -2394,7 +2393,7 @@ func (x *fastReflection_QueryAllApplicationsResponse) NewField(fd protoreflect.F func (x *fastReflection_QueryAllApplicationsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.QueryAllApplicationsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in poktroll.application.QueryAllApplicationsResponse", d.FullName())) } panic("unreachable") } @@ -2859,8 +2858,8 @@ type QueryAllApplicationsResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Applications []*Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"` - Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` + Applications []*Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"` + Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } func (x *QueryAllApplicationsResponse) Reset() { @@ -2914,90 +2913,89 @@ var file_poktroll_application_query_proto_rawDesc = []byte{ 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, + 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x56, 0x0a, 0x13, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x22, 0x36, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, - 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x68, 0x0a, 0x1b, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x65, 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x6c, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x56, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, + 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x36, + 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x68, 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, + 0x65, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x6f, 0x6b, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, + 0xde, 0x1f, 0x00, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x65, 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, + 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb4, 0x01, 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb4, 0x01, - 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, - 0x0a, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0c, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x84, 0x04, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x90, - 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x28, 0x2e, 0x70, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x12, 0xb4, 0x01, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x30, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, - 0x74, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x84, + 0x04, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x90, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x12, 0x28, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x12, 0x38, - 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xb0, 0x01, 0x0a, 0x0f, 0x41, 0x6c, 0x6c, - 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x31, 0x2e, 0x70, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x32, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x70, 0x6f, - 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xbe, 0x01, 0x0a, 0x18, - 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x25, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, - 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, - 0x50, 0x41, 0x58, 0xaa, 0x02, 0x14, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x41, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x14, 0x50, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0xe2, 0x02, 0x20, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x41, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, - 0x3a, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, + 0x12, 0x29, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0xb4, 0x01, 0x0a, 0x0b, + 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x2e, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x12, 0x38, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x7d, 0x12, 0xb0, 0x01, 0x0a, 0x0f, 0x41, 0x6c, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x31, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xbe, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x25, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x41, 0x58, 0xaa, 0x02, 0x14, + 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x14, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, + 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x20, 0x50, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x15, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3014,29 +3012,29 @@ func file_poktroll_application_query_proto_rawDescGZIP() []byte { var file_poktroll_application_query_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_poktroll_application_query_proto_goTypes = []interface{}{ - (*QueryParamsRequest)(nil), // 0: poktroll.QueryParamsRequest - (*QueryParamsResponse)(nil), // 1: poktroll.QueryParamsResponse - (*QueryGetApplicationRequest)(nil), // 2: poktroll.QueryGetApplicationRequest - (*QueryGetApplicationResponse)(nil), // 3: poktroll.QueryGetApplicationResponse - (*QueryAllApplicationsRequest)(nil), // 4: poktroll.QueryAllApplicationsRequest - (*QueryAllApplicationsResponse)(nil), // 5: poktroll.QueryAllApplicationsResponse - (*Params)(nil), // 6: poktroll.Params - (*Application)(nil), // 7: poktroll.Application + (*QueryParamsRequest)(nil), // 0: poktroll.application.QueryParamsRequest + (*QueryParamsResponse)(nil), // 1: poktroll.application.QueryParamsResponse + (*QueryGetApplicationRequest)(nil), // 2: poktroll.application.QueryGetApplicationRequest + (*QueryGetApplicationResponse)(nil), // 3: poktroll.application.QueryGetApplicationResponse + (*QueryAllApplicationsRequest)(nil), // 4: poktroll.application.QueryAllApplicationsRequest + (*QueryAllApplicationsResponse)(nil), // 5: poktroll.application.QueryAllApplicationsResponse + (*Params)(nil), // 6: poktroll.application.Params + (*Application)(nil), // 7: poktroll.application.Application (*v1beta1.PageRequest)(nil), // 8: cosmos.base.query.v1beta1.PageRequest (*v1beta1.PageResponse)(nil), // 9: cosmos.base.query.v1beta1.PageResponse } var file_poktroll_application_query_proto_depIdxs = []int32{ - 6, // 0: poktroll.QueryParamsResponse.params:type_name -> poktroll.Params - 7, // 1: poktroll.QueryGetApplicationResponse.application:type_name -> poktroll.Application - 8, // 2: poktroll.QueryAllApplicationsRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 7, // 3: poktroll.QueryAllApplicationsResponse.applications:type_name -> poktroll.Application - 9, // 4: poktroll.QueryAllApplicationsResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 0, // 5: poktroll.Query.Params:input_type -> poktroll.QueryParamsRequest - 2, // 6: poktroll.Query.Application:input_type -> poktroll.QueryGetApplicationRequest - 4, // 7: poktroll.Query.AllApplications:input_type -> poktroll.QueryAllApplicationsRequest - 1, // 8: poktroll.Query.Params:output_type -> poktroll.QueryParamsResponse - 3, // 9: poktroll.Query.Application:output_type -> poktroll.QueryGetApplicationResponse - 5, // 10: poktroll.Query.AllApplications:output_type -> poktroll.QueryAllApplicationsResponse + 6, // 0: poktroll.application.QueryParamsResponse.params:type_name -> poktroll.application.Params + 7, // 1: poktroll.application.QueryGetApplicationResponse.application:type_name -> poktroll.application.Application + 8, // 2: poktroll.application.QueryAllApplicationsRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 7, // 3: poktroll.application.QueryAllApplicationsResponse.applications:type_name -> poktroll.application.Application + 9, // 4: poktroll.application.QueryAllApplicationsResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 0, // 5: poktroll.application.Query.Params:input_type -> poktroll.application.QueryParamsRequest + 2, // 6: poktroll.application.Query.Application:input_type -> poktroll.application.QueryGetApplicationRequest + 4, // 7: poktroll.application.Query.AllApplications:input_type -> poktroll.application.QueryAllApplicationsRequest + 1, // 8: poktroll.application.Query.Params:output_type -> poktroll.application.QueryParamsResponse + 3, // 9: poktroll.application.Query.Application:output_type -> poktroll.application.QueryGetApplicationResponse + 5, // 10: poktroll.application.Query.AllApplications:output_type -> poktroll.application.QueryAllApplicationsResponse 8, // [8:11] is the sub-list for method output_type 5, // [5:8] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name @@ -3050,6 +3048,7 @@ func file_poktroll_application_query_proto_init() { return } file_poktroll_application_params_proto_init() + file_poktroll_application_types_proto_init() if !protoimpl.UnsafeEnabled { file_poktroll_application_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsRequest); i { diff --git a/api/poktroll/application/tx.pulsar.go b/api/poktroll/application/tx.pulsar.go index 957934846..b33a55ca4 100644 --- a/api/poktroll/application/tx.pulsar.go +++ b/api/poktroll/application/tx.pulsar.go @@ -5,11 +5,11 @@ import ( _ "cosmossdk.io/api/amino" v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1" _ "cosmossdk.io/api/cosmos/msg/v1" + shared "github.com/pokt-network/poktroll/api/poktroll/shared" fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - shared "github.com/pokt-network/poktroll/api/poktroll/shared" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/api/poktroll/application/application.pulsar.go b/api/poktroll/application/types.pulsar.go similarity index 88% rename from api/poktroll/application/application.pulsar.go rename to api/poktroll/application/types.pulsar.go index 71e0126ee..89f1d355d 100644 --- a/api/poktroll/application/application.pulsar.go +++ b/api/poktroll/application/types.pulsar.go @@ -3,11 +3,11 @@ package application import ( v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1" + shared "github.com/pokt-network/poktroll/api/poktroll/shared" fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - shared "github.com/pokt-network/poktroll/api/poktroll/shared" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -214,8 +214,8 @@ var ( ) func init() { - file_poktroll_application_application_proto_init() - md_Application = File_poktroll_application_application_proto.Messages().ByName("Application") + file_poktroll_application_types_proto_init() + md_Application = File_poktroll_application_types_proto.Messages().ByName("Application") fd_Application_address = md_Application.Fields().ByName("address") fd_Application_stake = md_Application.Fields().ByName("stake") fd_Application_service_configs = md_Application.Fields().ByName("service_configs") @@ -232,7 +232,7 @@ func (x *Application) ProtoReflect() protoreflect.Message { } func (x *Application) slowProtoReflect() protoreflect.Message { - mi := &file_poktroll_application_application_proto_msgTypes[0] + mi := &file_poktroll_application_types_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1142,8 +1142,8 @@ var ( ) func init() { - file_poktroll_application_application_proto_init() - md_UndelegatingGatewayList = File_poktroll_application_application_proto.Messages().ByName("UndelegatingGatewayList") + file_poktroll_application_types_proto_init() + md_UndelegatingGatewayList = File_poktroll_application_types_proto.Messages().ByName("UndelegatingGatewayList") fd_UndelegatingGatewayList_gateway_addresses = md_UndelegatingGatewayList.Fields().ByName("gateway_addresses") } @@ -1156,7 +1156,7 @@ func (x *UndelegatingGatewayList) ProtoReflect() protoreflect.Message { } func (x *UndelegatingGatewayList) slowProtoReflect() protoreflect.Message { - mi := &file_poktroll_application_application_proto_msgTypes[1] + mi := &file_poktroll_application_types_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1570,11 +1570,15 @@ func (x *fastReflection_UndelegatingGatewayList) ProtoMethods() *protoiface.Meth } } +// TODO_AUTOMATE: Add a CI workflow which detects .proto files with incompatible names (i.e. same as the package). +// NB: This file CANNOT be named "application.proto" due to an as of yet unidentified +// issue in how cosmos-proto generates the pulsar plugin output go source code. + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: poktroll/application/application.proto +// source: poktroll/application/types.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -1607,7 +1611,7 @@ type Application struct { func (x *Application) Reset() { *x = Application{} if protoimpl.UnsafeEnabled { - mi := &file_poktroll_application_application_proto_msgTypes[0] + mi := &file_poktroll_application_types_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1621,7 +1625,7 @@ func (*Application) ProtoMessage() {} // Deprecated: Use Application.ProtoReflect.Descriptor instead. func (*Application) Descriptor() ([]byte, []int) { - return file_poktroll_application_application_proto_rawDescGZIP(), []int{0} + return file_poktroll_application_types_proto_rawDescGZIP(), []int{0} } func (x *Application) GetAddress() string { @@ -1672,7 +1676,7 @@ type UndelegatingGatewayList struct { func (x *UndelegatingGatewayList) Reset() { *x = UndelegatingGatewayList{} if protoimpl.UnsafeEnabled { - mi := &file_poktroll_application_application_proto_msgTypes[1] + mi := &file_poktroll_application_types_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1686,7 +1690,7 @@ func (*UndelegatingGatewayList) ProtoMessage() {} // Deprecated: Use UndelegatingGatewayList.ProtoReflect.Descriptor instead. func (*UndelegatingGatewayList) Descriptor() ([]byte, []int) { - return file_poktroll_application_application_proto_rawDescGZIP(), []int{1} + return file_poktroll_application_types_proto_rawDescGZIP(), []int{1} } func (x *UndelegatingGatewayList) GetGatewayAddresses() []string { @@ -1696,96 +1700,95 @@ func (x *UndelegatingGatewayList) GetGatewayAddresses() []string { return nil } -var File_poktroll_application_application_proto protoreflect.FileDescriptor - -var file_poktroll_application_application_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x14, - 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, - 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1d, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, - 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, - 0x04, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, - 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x6b, 0x65, 0x12, 0x52, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x41, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x5c, 0x0a, 0x1b, 0x64, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x65, 0x5f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x1c, 0xc8, 0xde, - 0x1f, 0x00, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x19, 0x64, 0x65, 0x6c, 0x65, - 0x67, 0x61, 0x74, 0x65, 0x65, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x76, 0x0a, 0x15, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, - 0x5f, 0x75, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x55, - 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x14, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, - 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x76, 0x0a, - 0x19, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x43, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x6f, +var File_poktroll_application_types_proto protoreflect.FileDescriptor + +var file_poktroll_application_types_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x14, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x70, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x04, 0x0a, 0x0b, 0x41, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x05, + 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x05, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x52, 0x0a, + 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x73, 0x12, 0x5c, 0x0a, 0x1b, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x65, 0x5f, 0x67, + 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x1c, 0xc8, 0xde, 0x1f, 0x00, 0xd2, 0xb4, 0x2d, 0x14, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x52, 0x19, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x65, 0x47, + 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, + 0x76, 0x0a, 0x15, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x6e, 0x64, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, + 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x04, 0xc8, 0xde, 0x1f, + 0x00, 0x52, 0x14, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x76, 0x0a, 0x19, 0x50, 0x65, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x43, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x6e, 0x64, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0x64, 0x0a, 0x17, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x47, + 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x11, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x1c, 0xc8, 0xde, 0x1f, 0x00, 0xd2, 0xb4, 0x2d, 0x14, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x52, 0x10, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x42, 0xbe, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x47, - 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x64, 0x0a, 0x17, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x49, 0x0a, 0x11, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x1c, 0xc8, 0xde, 0x1f, - 0x00, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x10, 0x67, 0x61, 0x74, 0x65, 0x77, - 0x61, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x42, 0xc4, 0x01, 0x0a, 0x18, - 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x10, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x25, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x41, 0x58, 0xaa, 0x02, 0x14, 0x50, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0xca, 0x02, 0x14, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x41, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x20, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x5c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6e, 0x42, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x25, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x41, 0x58, 0xaa, 0x02, 0x14, + 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x14, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, + 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x20, 0x50, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x15, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_poktroll_application_application_proto_rawDescOnce sync.Once - file_poktroll_application_application_proto_rawDescData = file_poktroll_application_application_proto_rawDesc + file_poktroll_application_types_proto_rawDescOnce sync.Once + file_poktroll_application_types_proto_rawDescData = file_poktroll_application_types_proto_rawDesc ) -func file_poktroll_application_application_proto_rawDescGZIP() []byte { - file_poktroll_application_application_proto_rawDescOnce.Do(func() { - file_poktroll_application_application_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_application_application_proto_rawDescData) +func file_poktroll_application_types_proto_rawDescGZIP() []byte { + file_poktroll_application_types_proto_rawDescOnce.Do(func() { + file_poktroll_application_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_application_types_proto_rawDescData) }) - return file_poktroll_application_application_proto_rawDescData + return file_poktroll_application_types_proto_rawDescData } -var file_poktroll_application_application_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_poktroll_application_application_proto_goTypes = []interface{}{ +var file_poktroll_application_types_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_poktroll_application_types_proto_goTypes = []interface{}{ (*Application)(nil), // 0: poktroll.application.Application (*UndelegatingGatewayList)(nil), // 1: poktroll.application.UndelegatingGatewayList nil, // 2: poktroll.application.Application.PendingUndelegationsEntry (*v1beta1.Coin)(nil), // 3: cosmos.base.v1beta1.Coin (*shared.ApplicationServiceConfig)(nil), // 4: poktroll.shared.ApplicationServiceConfig } -var file_poktroll_application_application_proto_depIdxs = []int32{ +var file_poktroll_application_types_proto_depIdxs = []int32{ 3, // 0: poktroll.application.Application.stake:type_name -> cosmos.base.v1beta1.Coin 4, // 1: poktroll.application.Application.service_configs:type_name -> poktroll.shared.ApplicationServiceConfig 2, // 2: poktroll.application.Application.pending_undelegations:type_name -> poktroll.application.Application.PendingUndelegationsEntry @@ -1797,13 +1800,13 @@ var file_poktroll_application_application_proto_depIdxs = []int32{ 0, // [0:4] is the sub-list for field type_name } -func init() { file_poktroll_application_application_proto_init() } -func file_poktroll_application_application_proto_init() { - if File_poktroll_application_application_proto != nil { +func init() { file_poktroll_application_types_proto_init() } +func file_poktroll_application_types_proto_init() { + if File_poktroll_application_types_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_poktroll_application_application_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_poktroll_application_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Application); i { case 0: return &v.state @@ -1815,7 +1818,7 @@ func file_poktroll_application_application_proto_init() { return nil } } - file_poktroll_application_application_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_poktroll_application_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UndelegatingGatewayList); i { case 0: return &v.state @@ -1832,18 +1835,18 @@ func file_poktroll_application_application_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_poktroll_application_application_proto_rawDesc, + RawDescriptor: file_poktroll_application_types_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_poktroll_application_application_proto_goTypes, - DependencyIndexes: file_poktroll_application_application_proto_depIdxs, - MessageInfos: file_poktroll_application_application_proto_msgTypes, + GoTypes: file_poktroll_application_types_proto_goTypes, + DependencyIndexes: file_poktroll_application_types_proto_depIdxs, + MessageInfos: file_poktroll_application_types_proto_msgTypes, }.Build() - File_poktroll_application_application_proto = out.File - file_poktroll_application_application_proto_rawDesc = nil - file_poktroll_application_application_proto_goTypes = nil - file_poktroll_application_application_proto_depIdxs = nil + File_poktroll_application_types_proto = out.File + file_poktroll_application_types_proto_rawDesc = nil + file_poktroll_application_types_proto_goTypes = nil + file_poktroll_application_types_proto_depIdxs = nil } diff --git a/api/poktroll/gateway/genesis.pulsar.go b/api/poktroll/gateway/genesis.pulsar.go index d178c96d9..b0dfdec51 100644 --- a/api/poktroll/gateway/genesis.pulsar.go +++ b/api/poktroll/gateway/genesis.pulsar.go @@ -655,29 +655,29 @@ var file_poktroll_gateway_genesis_proto_rawDesc = []byte{ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x70, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x67, 0x61, 0x74, - 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x0c, 0x47, - 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, - 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x67, 0x61, 0x74, 0x65, - 0x77, 0x61, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, - 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, - 0x0b, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x42, 0xa8, 0x01, 0x0a, - 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, - 0x74, 0x65, 0x77, 0x61, 0x79, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0xa2, 0x02, 0x03, 0x50, 0x47, 0x58, 0xaa, 0x02, - 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0xca, 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x47, 0x61, 0x74, - 0x65, 0x77, 0x61, 0x79, 0xe2, 0x02, 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, - 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, - 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x70, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x6e, + 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, + 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, + 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0b, 0x67, + 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x42, 0xa8, 0x01, 0x0a, 0x14, 0x63, + 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, + 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, + 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0xa2, 0x02, 0x03, 0x50, 0x47, 0x58, 0xaa, 0x02, 0x10, 0x50, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0xca, + 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0xe2, 0x02, 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x47, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x11, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x47, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -714,7 +714,7 @@ func file_poktroll_gateway_genesis_proto_init() { return } file_poktroll_gateway_params_proto_init() - file_poktroll_gateway_gateway_proto_init() + file_poktroll_gateway_types_proto_init() if !protoimpl.UnsafeEnabled { file_poktroll_gateway_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenesisState); i { diff --git a/api/poktroll/gateway/query.pulsar.go b/api/poktroll/gateway/query.pulsar.go index 36691c4cf..384905ed9 100644 --- a/api/poktroll/gateway/query.pulsar.go +++ b/api/poktroll/gateway/query.pulsar.go @@ -2915,80 +2915,80 @@ var file_poktroll_gateway_query_proto_rawDesc = []byte{ 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, - 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x70, + 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, - 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, - 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x52, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, - 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x32, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x54, 0x0a, 0x17, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, - 0x61, 0x79, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0x22, 0x61, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x61, 0x74, - 0x65, 0x77, 0x61, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, - 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x52, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x32, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, + 0x74, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x54, 0x0a, 0x17, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x22, + 0x61, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, + 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0xa0, 0x01, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, + 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3b, 0x0a, 0x08, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x42, 0x04, 0xc8, 0xde, + 0x1f, 0x00, 0x52, 0x08, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, 0x12, 0x47, 0x0a, 0x0a, + 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa0, 0x01, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, - 0x6c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, - 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x42, 0x04, - 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x08, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, 0x12, 0x47, - 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, - 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0xc0, 0x03, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x12, 0x84, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x70, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0xc0, 0x03, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, + 0x84, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x6f, 0x6b, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x25, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, + 0x25, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x07, 0x47, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0x12, 0x28, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, - 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x27, 0x12, 0x25, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x07, 0x47, 0x61, 0x74, - 0x65, 0x77, 0x61, 0x79, 0x12, 0x28, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, - 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, - 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, - 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x32, 0x12, 0x30, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x7d, 0x12, 0x94, 0x01, 0x0a, 0x0b, 0x41, 0x6c, 0x6c, 0x47, 0x61, 0x74, 0x65, 0x77, - 0x61, 0x79, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, - 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, - 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, + 0x30, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, + 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x7d, 0x12, 0x94, 0x01, 0x0a, 0x0b, 0x41, 0x6c, 0x6c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x73, 0x12, 0x29, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x70, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, + 0x12, 0x26, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x42, 0xa6, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x28, 0x12, 0x26, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, - 0x61, 0x79, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x42, 0xa6, 0x01, 0x0a, 0x14, 0x63, - 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, - 0x77, 0x61, 0x79, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, - 0x65, 0x77, 0x61, 0x79, 0xa2, 0x02, 0x03, 0x50, 0x47, 0x58, 0xaa, 0x02, 0x10, 0x50, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0xca, 0x02, 0x10, - 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, - 0xe2, 0x02, 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x47, 0x61, 0x74, 0x65, - 0x77, 0x61, 0x79, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x11, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x47, 0x61, 0x74, 0x65, - 0x77, 0x61, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x79, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0xa2, 0x02, 0x03, 0x50, 0x47, 0x58, 0xaa, 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0xca, 0x02, 0x10, 0x50, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0xe2, 0x02, + 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, + 0x79, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, + 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, + 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3041,7 +3041,7 @@ func file_poktroll_gateway_query_proto_init() { return } file_poktroll_gateway_params_proto_init() - file_poktroll_gateway_gateway_proto_init() + file_poktroll_gateway_types_proto_init() if !protoimpl.UnsafeEnabled { file_poktroll_gateway_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsRequest); i { diff --git a/api/poktroll/gateway/gateway.pulsar.go b/api/poktroll/gateway/types.pulsar.go similarity index 82% rename from api/poktroll/gateway/gateway.pulsar.go rename to api/poktroll/gateway/types.pulsar.go index 904d9f9fa..c8114b992 100644 --- a/api/poktroll/gateway/gateway.pulsar.go +++ b/api/poktroll/gateway/types.pulsar.go @@ -21,8 +21,8 @@ var ( ) func init() { - file_poktroll_gateway_gateway_proto_init() - md_Gateway = File_poktroll_gateway_gateway_proto.Messages().ByName("Gateway") + file_poktroll_gateway_types_proto_init() + md_Gateway = File_poktroll_gateway_types_proto.Messages().ByName("Gateway") fd_Gateway_address = md_Gateway.Fields().ByName("address") fd_Gateway_stake = md_Gateway.Fields().ByName("stake") } @@ -36,7 +36,7 @@ func (x *Gateway) ProtoReflect() protoreflect.Message { } func (x *Gateway) slowProtoReflect() protoreflect.Message { - mi := &file_poktroll_gateway_gateway_proto_msgTypes[0] + mi := &file_poktroll_gateway_types_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -513,11 +513,15 @@ func (x *fastReflection_Gateway) ProtoMethods() *protoiface.Methods { } } +// TODO_AUTOMATE: Add a CI workflow which detects .proto files with incompatible names (i.e. same as the package). +// NB: This file CANNOT be named "application.proto" due to an as of yet unidentified +// issue in how cosmos-proto generates the pulsar plugin output go source code. + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: poktroll/gateway/gateway.proto +// source: poktroll/gateway/types.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -538,7 +542,7 @@ type Gateway struct { func (x *Gateway) Reset() { *x = Gateway{} if protoimpl.UnsafeEnabled { - mi := &file_poktroll_gateway_gateway_proto_msgTypes[0] + mi := &file_poktroll_gateway_types_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -552,7 +556,7 @@ func (*Gateway) ProtoMessage() {} // Deprecated: Use Gateway.ProtoReflect.Descriptor instead. func (*Gateway) Descriptor() ([]byte, []int) { - return file_poktroll_gateway_gateway_proto_rawDescGZIP(), []int{0} + return file_poktroll_gateway_types_proto_rawDescGZIP(), []int{0} } func (x *Gateway) GetAddress() string { @@ -569,54 +573,54 @@ func (x *Gateway) GetStake() *v1beta1.Coin { return nil } -var File_poktroll_gateway_gateway_proto protoreflect.FileDescriptor - -var file_poktroll_gateway_gateway_proto_rawDesc = []byte{ - 0x0a, 0x1e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, - 0x61, 0x79, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x10, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, - 0x61, 0x79, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, - 0x07, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x05, - 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x05, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x42, 0xa8, 0x01, - 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, - 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x42, 0x0c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, - 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0xa2, 0x02, 0x03, 0x50, 0x47, 0x58, 0xaa, - 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, - 0x61, 0x79, 0xca, 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x47, 0x61, - 0x74, 0x65, 0x77, 0x61, 0x79, 0xe2, 0x02, 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, - 0x3a, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +var File_poktroll_gateway_types_proto protoreflect.FileDescriptor + +var file_poktroll_gateway_types_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x07, 0x47, + 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x6b, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x05, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x42, 0xa6, 0x01, 0x0a, 0x14, + 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x67, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x42, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0xa2, 0x02, 0x03, 0x50, 0x47, 0x58, 0xaa, 0x02, 0x10, 0x50, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0xca, 0x02, + 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, + 0x79, 0xe2, 0x02, 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x47, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x11, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x47, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_poktroll_gateway_gateway_proto_rawDescOnce sync.Once - file_poktroll_gateway_gateway_proto_rawDescData = file_poktroll_gateway_gateway_proto_rawDesc + file_poktroll_gateway_types_proto_rawDescOnce sync.Once + file_poktroll_gateway_types_proto_rawDescData = file_poktroll_gateway_types_proto_rawDesc ) -func file_poktroll_gateway_gateway_proto_rawDescGZIP() []byte { - file_poktroll_gateway_gateway_proto_rawDescOnce.Do(func() { - file_poktroll_gateway_gateway_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_gateway_gateway_proto_rawDescData) +func file_poktroll_gateway_types_proto_rawDescGZIP() []byte { + file_poktroll_gateway_types_proto_rawDescOnce.Do(func() { + file_poktroll_gateway_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_gateway_types_proto_rawDescData) }) - return file_poktroll_gateway_gateway_proto_rawDescData + return file_poktroll_gateway_types_proto_rawDescData } -var file_poktroll_gateway_gateway_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_poktroll_gateway_gateway_proto_goTypes = []interface{}{ +var file_poktroll_gateway_types_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_poktroll_gateway_types_proto_goTypes = []interface{}{ (*Gateway)(nil), // 0: poktroll.gateway.Gateway (*v1beta1.Coin)(nil), // 1: cosmos.base.v1beta1.Coin } -var file_poktroll_gateway_gateway_proto_depIdxs = []int32{ +var file_poktroll_gateway_types_proto_depIdxs = []int32{ 1, // 0: poktroll.gateway.Gateway.stake:type_name -> cosmos.base.v1beta1.Coin 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type @@ -625,13 +629,13 @@ var file_poktroll_gateway_gateway_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_poktroll_gateway_gateway_proto_init() } -func file_poktroll_gateway_gateway_proto_init() { - if File_poktroll_gateway_gateway_proto != nil { +func init() { file_poktroll_gateway_types_proto_init() } +func file_poktroll_gateway_types_proto_init() { + if File_poktroll_gateway_types_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_poktroll_gateway_gateway_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_poktroll_gateway_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Gateway); i { case 0: return &v.state @@ -648,18 +652,18 @@ func file_poktroll_gateway_gateway_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_poktroll_gateway_gateway_proto_rawDesc, + RawDescriptor: file_poktroll_gateway_types_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_poktroll_gateway_gateway_proto_goTypes, - DependencyIndexes: file_poktroll_gateway_gateway_proto_depIdxs, - MessageInfos: file_poktroll_gateway_gateway_proto_msgTypes, + GoTypes: file_poktroll_gateway_types_proto_goTypes, + DependencyIndexes: file_poktroll_gateway_types_proto_depIdxs, + MessageInfos: file_poktroll_gateway_types_proto_msgTypes, }.Build() - File_poktroll_gateway_gateway_proto = out.File - file_poktroll_gateway_gateway_proto_rawDesc = nil - file_poktroll_gateway_gateway_proto_goTypes = nil - file_poktroll_gateway_gateway_proto_depIdxs = nil + File_poktroll_gateway_types_proto = out.File + file_poktroll_gateway_types_proto_rawDesc = nil + file_poktroll_gateway_types_proto_goTypes = nil + file_poktroll_gateway_types_proto_depIdxs = nil } diff --git a/api/poktroll/proof/claim.pulsar.go b/api/poktroll/proof/claim.pulsar.go deleted file mode 100644 index a8049ba31..000000000 --- a/api/poktroll/proof/claim.pulsar.go +++ /dev/null @@ -1,747 +0,0 @@ -// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package proof - -import ( - fmt "fmt" - _ "github.com/cosmos/cosmos-proto" - runtime "github.com/cosmos/cosmos-proto/runtime" - session "github.com/pokt-network/poktroll/api/poktroll/session" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoiface "google.golang.org/protobuf/runtime/protoiface" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - io "io" - reflect "reflect" - sync "sync" -) - -var ( - md_Claim protoreflect.MessageDescriptor - fd_Claim_supplier_operator_address protoreflect.FieldDescriptor - fd_Claim_session_header protoreflect.FieldDescriptor - fd_Claim_root_hash protoreflect.FieldDescriptor -) - -func init() { - file_poktroll_proof_claim_proto_init() - md_Claim = File_poktroll_proof_claim_proto.Messages().ByName("Claim") - fd_Claim_supplier_operator_address = md_Claim.Fields().ByName("supplier_operator_address") - fd_Claim_session_header = md_Claim.Fields().ByName("session_header") - fd_Claim_root_hash = md_Claim.Fields().ByName("root_hash") -} - -var _ protoreflect.Message = (*fastReflection_Claim)(nil) - -type fastReflection_Claim Claim - -func (x *Claim) ProtoReflect() protoreflect.Message { - return (*fastReflection_Claim)(x) -} - -func (x *Claim) slowProtoReflect() protoreflect.Message { - mi := &file_poktroll_proof_claim_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -var _fastReflection_Claim_messageType fastReflection_Claim_messageType -var _ protoreflect.MessageType = fastReflection_Claim_messageType{} - -type fastReflection_Claim_messageType struct{} - -func (x fastReflection_Claim_messageType) Zero() protoreflect.Message { - return (*fastReflection_Claim)(nil) -} -func (x fastReflection_Claim_messageType) New() protoreflect.Message { - return new(fastReflection_Claim) -} -func (x fastReflection_Claim_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Claim -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_Claim) Descriptor() protoreflect.MessageDescriptor { - return md_Claim -} - -// Type returns the message type, which encapsulates both Go and protobuf -// type information. If the Go type information is not needed, -// it is recommended that the message descriptor be used instead. -func (x *fastReflection_Claim) Type() protoreflect.MessageType { - return _fastReflection_Claim_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_Claim) New() protoreflect.Message { - return new(fastReflection_Claim) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_Claim) Interface() protoreflect.ProtoMessage { - return (*Claim)(x) -} - -// Range iterates over every populated field in an undefined order, -// calling f for each field descriptor and value encountered. -// Range returns immediately if f returns false. -// While iterating, mutating operations may only be performed -// on the current field descriptor. -func (x *fastReflection_Claim) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.SupplierOperatorAddress != "" { - value := protoreflect.ValueOfString(x.SupplierOperatorAddress) - if !f(fd_Claim_supplier_operator_address, value) { - return - } - } - if x.SessionHeader != nil { - value := protoreflect.ValueOfMessage(x.SessionHeader.ProtoReflect()) - if !f(fd_Claim_session_header, value) { - return - } - } - if len(x.RootHash) != 0 { - value := protoreflect.ValueOfBytes(x.RootHash) - if !f(fd_Claim_root_hash, value) { - return - } - } -} - -// Has reports whether a field is populated. -// -// Some fields have the property of nullability where it is possible to -// distinguish between the default value of a field and whether the field -// was explicitly populated with the default value. Singular message fields, -// member fields of a oneof, and proto2 scalar fields are nullable. Such -// fields are populated only if explicitly set. -// -// In other cases (aside from the nullable cases above), -// a proto3 scalar field is populated if it contains a non-zero value, and -// a repeated field is populated if it is non-empty. -func (x *fastReflection_Claim) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "poktroll.proof.Claim.supplier_operator_address": - return x.SupplierOperatorAddress != "" - case "poktroll.proof.Claim.session_header": - return x.SessionHeader != nil - case "poktroll.proof.Claim.root_hash": - return len(x.RootHash) != 0 - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) - } - panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", fd.FullName())) - } -} - -// Clear clears the field such that a subsequent Has call reports false. -// -// Clearing an extension field clears both the extension type and value -// associated with the given field number. -// -// Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Claim) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "poktroll.proof.Claim.supplier_operator_address": - x.SupplierOperatorAddress = "" - case "poktroll.proof.Claim.session_header": - x.SessionHeader = nil - case "poktroll.proof.Claim.root_hash": - x.RootHash = nil - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) - } - panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", fd.FullName())) - } -} - -// Get retrieves the value for a field. -// -// For unpopulated scalars, it returns the default value, where -// the default value of a bytes scalar is guaranteed to be a copy. -// For unpopulated composite types, it returns an empty, read-only view -// of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_Claim) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "poktroll.proof.Claim.supplier_operator_address": - value := x.SupplierOperatorAddress - return protoreflect.ValueOfString(value) - case "poktroll.proof.Claim.session_header": - value := x.SessionHeader - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "poktroll.proof.Claim.root_hash": - value := x.RootHash - return protoreflect.ValueOfBytes(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) - } - panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", descriptor.FullName())) - } -} - -// Set stores the value for a field. -// -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType. -// When setting a composite type, it is unspecified whether the stored value -// aliases the source's memory in any way. If the composite value is an -// empty, read-only value, then it panics. -// -// Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Claim) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "poktroll.proof.Claim.supplier_operator_address": - x.SupplierOperatorAddress = value.Interface().(string) - case "poktroll.proof.Claim.session_header": - x.SessionHeader = value.Message().Interface().(*session.SessionHeader) - case "poktroll.proof.Claim.root_hash": - x.RootHash = value.Bytes() - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) - } - panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", fd.FullName())) - } -} - -// Mutable returns a mutable reference to a composite type. -// -// If the field is unpopulated, it may allocate a composite value. -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType -// if not already stored. -// It panics if the field does not contain a composite type. -// -// Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Claim) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "poktroll.proof.Claim.session_header": - if x.SessionHeader == nil { - x.SessionHeader = new(session.SessionHeader) - } - return protoreflect.ValueOfMessage(x.SessionHeader.ProtoReflect()) - case "poktroll.proof.Claim.supplier_operator_address": - panic(fmt.Errorf("field supplier_operator_address of message poktroll.proof.Claim is not mutable")) - case "poktroll.proof.Claim.root_hash": - panic(fmt.Errorf("field root_hash of message poktroll.proof.Claim is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) - } - panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", fd.FullName())) - } -} - -// NewField returns a new value that is assignable to the field -// for the given descriptor. For scalars, this returns the default value. -// For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_Claim) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "poktroll.proof.Claim.supplier_operator_address": - return protoreflect.ValueOfString("") - case "poktroll.proof.Claim.session_header": - m := new(session.SessionHeader) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "poktroll.proof.Claim.root_hash": - return protoreflect.ValueOfBytes(nil) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) - } - panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", fd.FullName())) - } -} - -// WhichOneof reports which field within the oneof is populated, -// returning nil if none are populated. -// It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_Claim) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.proof.Claim", d.FullName())) - } - panic("unreachable") -} - -// GetUnknown retrieves the entire list of unknown fields. -// The caller may only mutate the contents of the RawFields -// if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_Claim) GetUnknown() protoreflect.RawFields { - return x.unknownFields -} - -// SetUnknown stores an entire list of unknown fields. -// The raw fields must be syntactically valid according to the wire format. -// An implementation may panic if this is not the case. -// Once stored, the caller must not mutate the content of the RawFields. -// An empty RawFields may be passed to clear the fields. -// -// SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Claim) SetUnknown(fields protoreflect.RawFields) { - x.unknownFields = fields -} - -// IsValid reports whether the message is valid. -// -// An invalid message is an empty, read-only value. -// -// An invalid message often corresponds to a nil pointer of the concrete -// message type, but the details are implementation dependent. -// Validity is not part of the protobuf data model, and may not -// be preserved in marshaling or other operations. -func (x *fastReflection_Claim) IsValid() bool { - return x != nil -} - -// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. -// This method may return nil. -// -// The returned methods type is identical to -// "google.golang.org/protobuf/runtime/protoiface".Methods. -// Consult the protoiface package documentation for details. -func (x *fastReflection_Claim) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Claim) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = l - l = len(x.SupplierOperatorAddress) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.SessionHeader != nil { - l = options.Size(x.SessionHeader) - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.RootHash) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Claim) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if len(x.RootHash) > 0 { - i -= len(x.RootHash) - copy(dAtA[i:], x.RootHash) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RootHash))) - i-- - dAtA[i] = 0x1a - } - if x.SessionHeader != nil { - encoded, err := options.Marshal(x.SessionHeader) - if err != nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) - i-- - dAtA[i] = 0x12 - } - if len(x.SupplierOperatorAddress) > 0 { - i -= len(x.SupplierOperatorAddress) - copy(dAtA[i:], x.SupplierOperatorAddress) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SupplierOperatorAddress))) - i-- - dAtA[i] = 0xa - } - if input.Buf != nil { - input.Buf = append(input.Buf, dAtA...) - } else { - input.Buf = dAtA - } - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Claim) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Claim: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Claim: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SupplierOperatorAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.SupplierOperatorAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SessionHeader", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if x.SessionHeader == nil { - x.SessionHeader = &session.SessionHeader{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.SessionHeader); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RootHash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.RootHash = append(x.RootHash[:0], dAtA[iNdEx:postIndex]...) - if x.RootHash == nil { - x.RootHash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if (iNdEx + skippy) > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - } - iNdEx += skippy - } - } - - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil - } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, - } -} - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.0 -// protoc (unknown) -// source: poktroll/proof/claim.proto - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Claim is the serialized object stored on-chain for claims pending to be proven -type Claim struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SupplierOperatorAddress string `protobuf:"bytes,1,opt,name=supplier_operator_address,json=supplierOperatorAddress,proto3" json:"supplier_operator_address,omitempty"` // the address of the supplier's operator that submitted this claim - // The session header of the session that this claim is for. - SessionHeader *session.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` - // Root hash returned from smt.SMST#Root(). - RootHash []byte `protobuf:"bytes,3,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` -} - -func (x *Claim) Reset() { - *x = Claim{} - if protoimpl.UnsafeEnabled { - mi := &file_poktroll_proof_claim_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Claim) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Claim) ProtoMessage() {} - -// Deprecated: Use Claim.ProtoReflect.Descriptor instead. -func (*Claim) Descriptor() ([]byte, []int) { - return file_poktroll_proof_claim_proto_rawDescGZIP(), []int{0} -} - -func (x *Claim) GetSupplierOperatorAddress() string { - if x != nil { - return x.SupplierOperatorAddress - } - return "" -} - -func (x *Claim) GetSessionHeader() *session.SessionHeader { - if x != nil { - return x.SessionHeader - } - return nil -} - -func (x *Claim) GetRootHash() []byte { - if x != nil { - return x.RootHash - } - return nil -} - -var File_poktroll_proof_claim_proto protoreflect.FileDescriptor - -var file_poktroll_proof_claim_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x2f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x70, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x1a, 0x19, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x01, 0x0a, 0x05, 0x43, 0x6c, 0x61, 0x69, - 0x6d, 0x12, 0x54, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, - 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x52, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, - 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x48, 0x61, 0x73, 0x68, 0x42, 0x9a, 0x01, 0x0a, - 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x42, 0x0a, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x1f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, - 0x6f, 0x66, 0xa2, 0x02, 0x03, 0x50, 0x50, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xca, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_poktroll_proof_claim_proto_rawDescOnce sync.Once - file_poktroll_proof_claim_proto_rawDescData = file_poktroll_proof_claim_proto_rawDesc -) - -func file_poktroll_proof_claim_proto_rawDescGZIP() []byte { - file_poktroll_proof_claim_proto_rawDescOnce.Do(func() { - file_poktroll_proof_claim_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_proof_claim_proto_rawDescData) - }) - return file_poktroll_proof_claim_proto_rawDescData -} - -var file_poktroll_proof_claim_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_poktroll_proof_claim_proto_goTypes = []interface{}{ - (*Claim)(nil), // 0: poktroll.proof.Claim - (*session.SessionHeader)(nil), // 1: poktroll.session.SessionHeader -} -var file_poktroll_proof_claim_proto_depIdxs = []int32{ - 1, // 0: poktroll.proof.Claim.session_header:type_name -> poktroll.session.SessionHeader - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_poktroll_proof_claim_proto_init() } -func file_poktroll_proof_claim_proto_init() { - if File_poktroll_proof_claim_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_poktroll_proof_claim_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Claim); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_poktroll_proof_claim_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_poktroll_proof_claim_proto_goTypes, - DependencyIndexes: file_poktroll_proof_claim_proto_depIdxs, - MessageInfos: file_poktroll_proof_claim_proto_msgTypes, - }.Build() - File_poktroll_proof_claim_proto = out.File - file_poktroll_proof_claim_proto_rawDesc = nil - file_poktroll_proof_claim_proto_goTypes = nil - file_poktroll_proof_claim_proto_depIdxs = nil -} diff --git a/api/poktroll/proof/event.pulsar.go b/api/poktroll/proof/event.pulsar.go index 5481bfdb1..cecefccb2 100644 --- a/api/poktroll/proof/event.pulsar.go +++ b/api/poktroll/proof/event.pulsar.go @@ -2538,75 +2538,73 @@ var file_poktroll_proof_event_proto_rawDesc = []byte{ 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, - 0x6f, 0x66, 0x2f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, - 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x70, - 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x01, 0x0a, 0x11, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x12, 0x36, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x63, 0x6c, 0x61, 0x69, - 0x6d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, - 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0e, 0xea, 0xde, - 0x1f, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x52, 0x09, 0x6e, 0x75, - 0x6d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, - 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x04, 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, - 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x43, 0x6f, - 0x6d, 0x70, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x22, 0xbd, 0x01, 0x0a, 0x11, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x12, 0x36, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x63, 0x6c, 0x61, 0x69, - 0x6d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, - 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0e, 0xea, 0xde, - 0x1f, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x52, 0x09, 0x6e, 0x75, - 0x6d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, - 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x04, 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, - 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x43, 0x6f, - 0x6d, 0x70, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x22, 0xf7, 0x01, 0x0a, 0x13, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, - 0x65, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, - 0x6f, 0x66, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x63, 0x6c, - 0x61, 0x69, 0x6d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x36, 0x0a, 0x05, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, - 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x05, 0x70, 0x72, 0x6f, - 0x6f, 0x66, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0e, 0xea, 0xde, 0x1f, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, - 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x52, 0x09, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x6c, 0x61, 0x79, - 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, - 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x42, 0x15, 0xea, 0xde, - 0x1f, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, - 0x69, 0x74, 0x73, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x55, - 0x6e, 0x69, 0x74, 0x73, 0x22, 0xf5, 0x01, 0x0a, 0x11, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, - 0x6f, 0x6f, 0x66, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x63, 0x6c, - 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, - 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x05, 0x63, 0x6c, 0x61, - 0x69, 0x6d, 0x12, 0x36, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, - 0x6f, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x75, - 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0e, - 0xea, 0xde, 0x1f, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x52, 0x09, - 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6e, 0x75, 0x6d, - 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x04, 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, - 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x0f, 0x6e, 0x75, 0x6d, - 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x42, 0x9a, 0x01, 0x0a, - 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x42, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x1f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, - 0x6f, 0x66, 0xa2, 0x02, 0x03, 0x50, 0x50, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xca, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x6f, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, + 0x01, 0x0a, 0x11, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, + 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x2d, 0x0a, 0x0a, + 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x0e, 0xea, 0xde, 0x1f, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, + 0x52, 0x09, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6e, + 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x6e, 0x75, 0x6d, 0x5f, + 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x0f, 0x6e, + 0x75, 0x6d, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x22, 0xbd, + 0x01, 0x0a, 0x11, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, + 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x2d, 0x0a, 0x0a, + 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x0e, 0xea, 0xde, 0x1f, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, + 0x52, 0x09, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6e, + 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x6e, 0x75, 0x6d, 0x5f, + 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x0f, 0x6e, + 0x75, 0x6d, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x22, 0xf7, + 0x01, 0x0a, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x75, 0x62, + 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x09, 0xea, 0xde, + 0x1f, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x36, + 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x52, + 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, + 0x6c, 0x61, 0x79, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0e, 0xea, 0xde, 0x1f, 0x0a, + 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x52, 0x09, 0x6e, 0x75, 0x6d, 0x52, + 0x65, 0x6c, 0x61, 0x79, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, + 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, + 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6d, 0x70, + 0x75, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x22, 0xf5, 0x01, 0x0a, 0x11, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x36, + 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x43, + 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x52, + 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x36, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x09, 0xea, 0xde, + 0x1f, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x2d, + 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x04, 0x42, 0x0e, 0xea, 0xde, 0x1f, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, + 0x79, 0x73, 0x52, 0x09, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x12, 0x41, 0x0a, + 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, + 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x6e, 0x75, + 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x52, + 0x0f, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x73, + 0x42, 0x9a, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, + 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0xa2, 0x02, 0x03, 0x50, 0x50, 0x58, 0xaa, 0x02, 0x0e, 0x50, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xca, 0x02, 0x0e, + 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xe2, 0x02, + 0x1a, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x50, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2649,8 +2647,7 @@ func file_poktroll_proof_event_proto_init() { if File_poktroll_proof_event_proto != nil { return } - file_poktroll_proof_claim_proto_init() - file_poktroll_proof_proof_proto_init() + file_poktroll_proof_types_proto_init() if !protoimpl.UnsafeEnabled { file_poktroll_proof_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventClaimCreated); i { diff --git a/api/poktroll/proof/genesis.pulsar.go b/api/poktroll/proof/genesis.pulsar.go index fceb8f8a3..5e82f9e8d 100644 --- a/api/poktroll/proof/genesis.pulsar.go +++ b/api/poktroll/proof/genesis.pulsar.go @@ -802,32 +802,30 @@ var file_poktroll_proof_genesis_proto_rawDesc = []byte{ 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, - 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x1a, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x01, 0x0a, - 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x39, 0x0a, - 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, - 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x3a, 0x0a, 0x0a, 0x63, 0x6c, 0x61, 0x69, - 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x43, 0x6c, - 0x61, 0x69, 0x6d, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x63, 0x6c, 0x61, 0x69, 0x6d, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x6c, 0x69, - 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x42, - 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x4c, 0x69, 0x73, 0x74, - 0x42, 0x9c, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, - 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0xa2, 0x02, 0x03, 0x50, 0x50, 0x58, 0xaa, 0x02, - 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xca, - 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, - 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, - 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, - 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xc1, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x6f, 0x66, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, + 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x3a, 0x0a, 0x0a, + 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x63, + 0x6c, 0x61, 0x69, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x72, + 0x6f, 0x6f, 0x66, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6f, 0x66, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x9c, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x0c, 0x47, 0x65, 0x6e, + 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0xa2, 0x02, 0x03, 0x50, + 0x50, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x50, 0x72, + 0x6f, 0x6f, 0x66, 0xca, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x0f, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x50, 0x72, + 0x6f, 0x6f, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -866,8 +864,7 @@ func file_poktroll_proof_genesis_proto_init() { return } file_poktroll_proof_params_proto_init() - file_poktroll_proof_claim_proto_init() - file_poktroll_proof_proof_proto_init() + file_poktroll_proof_types_proto_init() if !protoimpl.UnsafeEnabled { file_poktroll_proof_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenesisState); i { diff --git a/api/poktroll/proof/proof.pulsar.go b/api/poktroll/proof/proof.pulsar.go deleted file mode 100644 index 9898f478a..000000000 --- a/api/poktroll/proof/proof.pulsar.go +++ /dev/null @@ -1,748 +0,0 @@ -// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package proof - -import ( - fmt "fmt" - _ "github.com/cosmos/cosmos-proto" - runtime "github.com/cosmos/cosmos-proto/runtime" - session "github.com/pokt-network/poktroll/api/poktroll/session" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoiface "google.golang.org/protobuf/runtime/protoiface" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - io "io" - reflect "reflect" - sync "sync" -) - -var ( - md_Proof protoreflect.MessageDescriptor - fd_Proof_supplier_operator_address protoreflect.FieldDescriptor - fd_Proof_session_header protoreflect.FieldDescriptor - fd_Proof_closest_merkle_proof protoreflect.FieldDescriptor -) - -func init() { - file_poktroll_proof_proof_proto_init() - md_Proof = File_poktroll_proof_proof_proto.Messages().ByName("Proof") - fd_Proof_supplier_operator_address = md_Proof.Fields().ByName("supplier_operator_address") - fd_Proof_session_header = md_Proof.Fields().ByName("session_header") - fd_Proof_closest_merkle_proof = md_Proof.Fields().ByName("closest_merkle_proof") -} - -var _ protoreflect.Message = (*fastReflection_Proof)(nil) - -type fastReflection_Proof Proof - -func (x *Proof) ProtoReflect() protoreflect.Message { - return (*fastReflection_Proof)(x) -} - -func (x *Proof) slowProtoReflect() protoreflect.Message { - mi := &file_poktroll_proof_proof_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -var _fastReflection_Proof_messageType fastReflection_Proof_messageType -var _ protoreflect.MessageType = fastReflection_Proof_messageType{} - -type fastReflection_Proof_messageType struct{} - -func (x fastReflection_Proof_messageType) Zero() protoreflect.Message { - return (*fastReflection_Proof)(nil) -} -func (x fastReflection_Proof_messageType) New() protoreflect.Message { - return new(fastReflection_Proof) -} -func (x fastReflection_Proof_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Proof -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_Proof) Descriptor() protoreflect.MessageDescriptor { - return md_Proof -} - -// Type returns the message type, which encapsulates both Go and protobuf -// type information. If the Go type information is not needed, -// it is recommended that the message descriptor be used instead. -func (x *fastReflection_Proof) Type() protoreflect.MessageType { - return _fastReflection_Proof_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_Proof) New() protoreflect.Message { - return new(fastReflection_Proof) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_Proof) Interface() protoreflect.ProtoMessage { - return (*Proof)(x) -} - -// Range iterates over every populated field in an undefined order, -// calling f for each field descriptor and value encountered. -// Range returns immediately if f returns false. -// While iterating, mutating operations may only be performed -// on the current field descriptor. -func (x *fastReflection_Proof) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.SupplierOperatorAddress != "" { - value := protoreflect.ValueOfString(x.SupplierOperatorAddress) - if !f(fd_Proof_supplier_operator_address, value) { - return - } - } - if x.SessionHeader != nil { - value := protoreflect.ValueOfMessage(x.SessionHeader.ProtoReflect()) - if !f(fd_Proof_session_header, value) { - return - } - } - if len(x.ClosestMerkleProof) != 0 { - value := protoreflect.ValueOfBytes(x.ClosestMerkleProof) - if !f(fd_Proof_closest_merkle_proof, value) { - return - } - } -} - -// Has reports whether a field is populated. -// -// Some fields have the property of nullability where it is possible to -// distinguish between the default value of a field and whether the field -// was explicitly populated with the default value. Singular message fields, -// member fields of a oneof, and proto2 scalar fields are nullable. Such -// fields are populated only if explicitly set. -// -// In other cases (aside from the nullable cases above), -// a proto3 scalar field is populated if it contains a non-zero value, and -// a repeated field is populated if it is non-empty. -func (x *fastReflection_Proof) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "poktroll.proof.Proof.supplier_operator_address": - return x.SupplierOperatorAddress != "" - case "poktroll.proof.Proof.session_header": - return x.SessionHeader != nil - case "poktroll.proof.Proof.closest_merkle_proof": - return len(x.ClosestMerkleProof) != 0 - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) - } - panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", fd.FullName())) - } -} - -// Clear clears the field such that a subsequent Has call reports false. -// -// Clearing an extension field clears both the extension type and value -// associated with the given field number. -// -// Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Proof) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "poktroll.proof.Proof.supplier_operator_address": - x.SupplierOperatorAddress = "" - case "poktroll.proof.Proof.session_header": - x.SessionHeader = nil - case "poktroll.proof.Proof.closest_merkle_proof": - x.ClosestMerkleProof = nil - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) - } - panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", fd.FullName())) - } -} - -// Get retrieves the value for a field. -// -// For unpopulated scalars, it returns the default value, where -// the default value of a bytes scalar is guaranteed to be a copy. -// For unpopulated composite types, it returns an empty, read-only view -// of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_Proof) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "poktroll.proof.Proof.supplier_operator_address": - value := x.SupplierOperatorAddress - return protoreflect.ValueOfString(value) - case "poktroll.proof.Proof.session_header": - value := x.SessionHeader - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "poktroll.proof.Proof.closest_merkle_proof": - value := x.ClosestMerkleProof - return protoreflect.ValueOfBytes(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) - } - panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", descriptor.FullName())) - } -} - -// Set stores the value for a field. -// -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType. -// When setting a composite type, it is unspecified whether the stored value -// aliases the source's memory in any way. If the composite value is an -// empty, read-only value, then it panics. -// -// Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Proof) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "poktroll.proof.Proof.supplier_operator_address": - x.SupplierOperatorAddress = value.Interface().(string) - case "poktroll.proof.Proof.session_header": - x.SessionHeader = value.Message().Interface().(*session.SessionHeader) - case "poktroll.proof.Proof.closest_merkle_proof": - x.ClosestMerkleProof = value.Bytes() - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) - } - panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", fd.FullName())) - } -} - -// Mutable returns a mutable reference to a composite type. -// -// If the field is unpopulated, it may allocate a composite value. -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType -// if not already stored. -// It panics if the field does not contain a composite type. -// -// Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Proof) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "poktroll.proof.Proof.session_header": - if x.SessionHeader == nil { - x.SessionHeader = new(session.SessionHeader) - } - return protoreflect.ValueOfMessage(x.SessionHeader.ProtoReflect()) - case "poktroll.proof.Proof.supplier_operator_address": - panic(fmt.Errorf("field supplier_operator_address of message poktroll.proof.Proof is not mutable")) - case "poktroll.proof.Proof.closest_merkle_proof": - panic(fmt.Errorf("field closest_merkle_proof of message poktroll.proof.Proof is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) - } - panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", fd.FullName())) - } -} - -// NewField returns a new value that is assignable to the field -// for the given descriptor. For scalars, this returns the default value. -// For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_Proof) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "poktroll.proof.Proof.supplier_operator_address": - return protoreflect.ValueOfString("") - case "poktroll.proof.Proof.session_header": - m := new(session.SessionHeader) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "poktroll.proof.Proof.closest_merkle_proof": - return protoreflect.ValueOfBytes(nil) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) - } - panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", fd.FullName())) - } -} - -// WhichOneof reports which field within the oneof is populated, -// returning nil if none are populated. -// It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_Proof) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.proof.Proof", d.FullName())) - } - panic("unreachable") -} - -// GetUnknown retrieves the entire list of unknown fields. -// The caller may only mutate the contents of the RawFields -// if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_Proof) GetUnknown() protoreflect.RawFields { - return x.unknownFields -} - -// SetUnknown stores an entire list of unknown fields. -// The raw fields must be syntactically valid according to the wire format. -// An implementation may panic if this is not the case. -// Once stored, the caller must not mutate the content of the RawFields. -// An empty RawFields may be passed to clear the fields. -// -// SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Proof) SetUnknown(fields protoreflect.RawFields) { - x.unknownFields = fields -} - -// IsValid reports whether the message is valid. -// -// An invalid message is an empty, read-only value. -// -// An invalid message often corresponds to a nil pointer of the concrete -// message type, but the details are implementation dependent. -// Validity is not part of the protobuf data model, and may not -// be preserved in marshaling or other operations. -func (x *fastReflection_Proof) IsValid() bool { - return x != nil -} - -// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. -// This method may return nil. -// -// The returned methods type is identical to -// "google.golang.org/protobuf/runtime/protoiface".Methods. -// Consult the protoiface package documentation for details. -func (x *fastReflection_Proof) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Proof) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = l - l = len(x.SupplierOperatorAddress) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.SessionHeader != nil { - l = options.Size(x.SessionHeader) - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.ClosestMerkleProof) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Proof) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if len(x.ClosestMerkleProof) > 0 { - i -= len(x.ClosestMerkleProof) - copy(dAtA[i:], x.ClosestMerkleProof) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ClosestMerkleProof))) - i-- - dAtA[i] = 0x1a - } - if x.SessionHeader != nil { - encoded, err := options.Marshal(x.SessionHeader) - if err != nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) - i-- - dAtA[i] = 0x12 - } - if len(x.SupplierOperatorAddress) > 0 { - i -= len(x.SupplierOperatorAddress) - copy(dAtA[i:], x.SupplierOperatorAddress) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SupplierOperatorAddress))) - i-- - dAtA[i] = 0xa - } - if input.Buf != nil { - input.Buf = append(input.Buf, dAtA...) - } else { - input.Buf = dAtA - } - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Proof) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Proof: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Proof: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SupplierOperatorAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.SupplierOperatorAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SessionHeader", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if x.SessionHeader == nil { - x.SessionHeader = &session.SessionHeader{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.SessionHeader); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ClosestMerkleProof", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.ClosestMerkleProof = append(x.ClosestMerkleProof[:0], dAtA[iNdEx:postIndex]...) - if x.ClosestMerkleProof == nil { - x.ClosestMerkleProof = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if (iNdEx + skippy) > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - } - iNdEx += skippy - } - } - - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil - } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, - } -} - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.0 -// protoc (unknown) -// source: poktroll/proof/proof.proto - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Proof struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Address of the supplier's operator that submitted this proof. - SupplierOperatorAddress string `protobuf:"bytes,1,opt,name=supplier_operator_address,json=supplierOperatorAddress,proto3" json:"supplier_operator_address,omitempty"` - // The session header of the session that this claim is for. - SessionHeader *session.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` - // The serialized SMST proof from the `#ClosestProof()` method. - ClosestMerkleProof []byte `protobuf:"bytes,3,opt,name=closest_merkle_proof,json=closestMerkleProof,proto3" json:"closest_merkle_proof,omitempty"` -} - -func (x *Proof) Reset() { - *x = Proof{} - if protoimpl.UnsafeEnabled { - mi := &file_poktroll_proof_proof_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Proof) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Proof) ProtoMessage() {} - -// Deprecated: Use Proof.ProtoReflect.Descriptor instead. -func (*Proof) Descriptor() ([]byte, []int) { - return file_poktroll_proof_proof_proto_rawDescGZIP(), []int{0} -} - -func (x *Proof) GetSupplierOperatorAddress() string { - if x != nil { - return x.SupplierOperatorAddress - } - return "" -} - -func (x *Proof) GetSessionHeader() *session.SessionHeader { - if x != nil { - return x.SessionHeader - } - return nil -} - -func (x *Proof) GetClosestMerkleProof() []byte { - if x != nil { - return x.ClosestMerkleProof - } - return nil -} - -var File_poktroll_proof_proof_proto protoreflect.FileDescriptor - -var file_poktroll_proof_proof_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x70, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x1a, 0x19, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, 0x01, 0x0a, 0x05, 0x50, 0x72, 0x6f, 0x6f, - 0x66, 0x12, 0x54, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, - 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x52, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, - 0x30, 0x0a, 0x14, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x72, 0x6b, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x63, - 0x6c, 0x6f, 0x73, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x6f, - 0x66, 0x42, 0x9a, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x0a, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, - 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0xa2, 0x02, 0x03, 0x50, 0x50, 0x58, 0xaa, 0x02, 0x0e, - 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xca, 0x02, - 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xe2, - 0x02, 0x1a, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x50, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_poktroll_proof_proof_proto_rawDescOnce sync.Once - file_poktroll_proof_proof_proto_rawDescData = file_poktroll_proof_proof_proto_rawDesc -) - -func file_poktroll_proof_proof_proto_rawDescGZIP() []byte { - file_poktroll_proof_proof_proto_rawDescOnce.Do(func() { - file_poktroll_proof_proof_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_proof_proof_proto_rawDescData) - }) - return file_poktroll_proof_proof_proto_rawDescData -} - -var file_poktroll_proof_proof_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_poktroll_proof_proof_proto_goTypes = []interface{}{ - (*Proof)(nil), // 0: poktroll.proof.Proof - (*session.SessionHeader)(nil), // 1: poktroll.session.SessionHeader -} -var file_poktroll_proof_proof_proto_depIdxs = []int32{ - 1, // 0: poktroll.proof.Proof.session_header:type_name -> poktroll.session.SessionHeader - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_poktroll_proof_proof_proto_init() } -func file_poktroll_proof_proof_proto_init() { - if File_poktroll_proof_proof_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_poktroll_proof_proof_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proof); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_poktroll_proof_proof_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_poktroll_proof_proof_proto_goTypes, - DependencyIndexes: file_poktroll_proof_proof_proto_depIdxs, - MessageInfos: file_poktroll_proof_proof_proto_msgTypes, - }.Build() - File_poktroll_proof_proof_proto = out.File - file_poktroll_proof_proof_proto_rawDesc = nil - file_poktroll_proof_proof_proto_goTypes = nil - file_poktroll_proof_proof_proto_depIdxs = nil -} diff --git a/api/poktroll/proof/query.pulsar.go b/api/poktroll/proof/query.pulsar.go index da5a7778f..d7dec38e1 100644 --- a/api/poktroll/proof/query.pulsar.go +++ b/api/poktroll/proof/query.pulsar.go @@ -5652,151 +5652,149 @@ var file_poktroll_proof_query_proto_rawDesc = []byte{ 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x06, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, - 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x54, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, 0x73, 0x75, - 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x4a, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, - 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, - 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x43, - 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, - 0x6d, 0x22, 0xf8, 0x01, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x43, 0x6c, - 0x61, 0x69, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, + 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x13, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x16, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, + 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x14, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x17, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, - 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1f, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, - 0x64, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, - 0x52, 0x10, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x48, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x96, 0x01, 0x0a, - 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x63, 0x6c, 0x61, 0x69, 0x6d, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x04, - 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x12, 0x47, 0x0a, 0x0a, - 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8b, 0x01, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, - 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, - 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x54, 0x0a, - 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, 0x73, 0x75, 0x70, 0x70, - 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x22, 0x4a, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, - 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x05, - 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x72, 0x6f, - 0x6f, 0x66, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x22, - 0xf8, 0x01, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x6f, - 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x3c, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x52, 0x17, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x4a, 0x0a, 0x15, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x6f, 0x66, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, + 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x22, 0xf8, 0x01, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, + 0x6c, 0x6c, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, + 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, + 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x17, 0x73, 0x75, + 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x04, 0x48, 0x00, 0x52, 0x10, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, + 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x22, 0x96, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x43, 0x6c, 0x61, + 0x69, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x63, + 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x43, 0x6c, 0x61, + 0x69, 0x6d, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x73, + 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, + 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8b, 0x01, 0x0a, 0x14, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x54, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x17, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, - 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x1f, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x5f, - 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x10, - 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, - 0x42, 0x08, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x96, 0x01, 0x0a, 0x16, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x04, 0xc8, 0xde, - 0x1f, 0x00, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, - 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x32, 0xf1, 0x05, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x7e, 0x0a, - 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x6f, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, + 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x4a, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x31, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, + 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, 0x70, 0x72, + 0x6f, 0x6f, 0x66, 0x22, 0xf8, 0x01, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, + 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, + 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x17, 0x73, 0x75, 0x70, 0x70, + 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x65, 0x6e, 0x64, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, + 0x48, 0x00, 0x52, 0x10, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x48, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x96, + 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x6f, 0x66, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x70, 0x72, 0x6f, + 0x6f, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, + 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x12, 0x47, + 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, + 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0xf1, 0x05, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x12, 0x7e, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, - 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0xa9, 0x01, - 0x0a, 0x05, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x24, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, - 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, - 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x12, 0x4b, 0x2f, 0x70, + 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x23, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x63, 0x6c, 0x61, 0x69, 0x6d, - 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x73, - 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0x86, 0x01, 0x0a, 0x09, 0x41, 0x6c, - 0x6c, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, + 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x12, 0xa9, 0x01, 0x0a, 0x05, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x24, 0x2e, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x6f, 0x66, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, + 0x12, 0x4b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x63, + 0x6c, 0x61, 0x69, 0x6d, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x7d, 0x2f, 0x7b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0x86, 0x01, + 0x0a, 0x09, 0x41, 0x6c, 0x6c, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, + 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x43, 0x6c, 0x61, 0x69, + 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x24, 0x12, 0x22, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, + 0x2f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0xa9, 0x01, 0x0a, 0x05, 0x50, 0x72, 0x6f, 0x6f, 0x66, + 0x12, 0x24, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x12, 0x4b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, + 0x6f, 0x6f, 0x66, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x7d, 0x12, 0x86, 0x01, 0x0a, 0x09, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x73, + 0x12, 0x25, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, - 0x6c, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, - 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, - 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x63, 0x6c, 0x61, - 0x69, 0x6d, 0x12, 0xa9, 0x01, 0x0a, 0x05, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x24, 0x2e, 0x70, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, - 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x4d, 0x12, 0x4b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, - 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x7b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x7d, 0x2f, 0x7b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0x86, - 0x01, 0x0a, 0x09, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x12, 0x25, 0x2e, 0x70, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, - 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, - 0x6f, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, - 0x66, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x9a, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, - 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x0a, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0xa2, 0x02, 0x03, - 0x50, 0x50, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x50, - 0x72, 0x6f, 0x6f, 0x66, 0xca, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, - 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x0f, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x50, - 0x72, 0x6f, 0x6f, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, + 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x9a, 0x01, 0x0a, 0x12, + 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x6f, 0x66, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x1f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0xa2, 0x02, 0x03, 0x50, 0x50, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xca, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -5862,8 +5860,7 @@ func file_poktroll_proof_query_proto_init() { return } file_poktroll_proof_params_proto_init() - file_poktroll_proof_claim_proto_init() - file_poktroll_proof_proof_proto_init() + file_poktroll_proof_types_proto_init() if !protoimpl.UnsafeEnabled { file_poktroll_proof_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsRequest); i { diff --git a/api/poktroll/proof/requirement.pulsar.go b/api/poktroll/proof/requirement.pulsar.go deleted file mode 100644 index ea1f308f8..000000000 --- a/api/poktroll/proof/requirement.pulsar.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package proof - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.0 -// protoc (unknown) -// source: poktroll/proof/requirement.proto - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ProofRequirementReason int32 - -const ( - ProofRequirementReason_NOT_REQUIRED ProofRequirementReason = 0 - ProofRequirementReason_PROBABILISTIC ProofRequirementReason = 1 - ProofRequirementReason_THRESHOLD ProofRequirementReason = 2 -) - -// Enum value maps for ProofRequirementReason. -var ( - ProofRequirementReason_name = map[int32]string{ - 0: "NOT_REQUIRED", - 1: "PROBABILISTIC", - 2: "THRESHOLD", - } - ProofRequirementReason_value = map[string]int32{ - "NOT_REQUIRED": 0, - "PROBABILISTIC": 1, - "THRESHOLD": 2, - } -) - -func (x ProofRequirementReason) Enum() *ProofRequirementReason { - p := new(ProofRequirementReason) - *p = x - return p -} - -func (x ProofRequirementReason) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProofRequirementReason) Descriptor() protoreflect.EnumDescriptor { - return file_poktroll_proof_requirement_proto_enumTypes[0].Descriptor() -} - -func (ProofRequirementReason) Type() protoreflect.EnumType { - return &file_poktroll_proof_requirement_proto_enumTypes[0] -} - -func (x ProofRequirementReason) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ProofRequirementReason.Descriptor instead. -func (ProofRequirementReason) EnumDescriptor() ([]byte, []int) { - return file_poktroll_proof_requirement_proto_rawDescGZIP(), []int{0} -} - -var File_poktroll_proof_requirement_proto protoreflect.FileDescriptor - -var file_poktroll_proof_requirement_proto_rawDesc = []byte{ - 0x0a, 0x20, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x0e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, - 0x6f, 0x66, 0x2a, 0x4c, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x69, - 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x0c, - 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, - 0x0a, 0x0d, 0x50, 0x52, 0x4f, 0x42, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x53, 0x54, 0x49, 0x43, 0x10, - 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x10, 0x02, - 0x42, 0xa0, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x10, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0xa2, 0x02, 0x03, 0x50, - 0x50, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x50, 0x72, - 0x6f, 0x6f, 0x66, 0xca, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, - 0x72, 0x6f, 0x6f, 0x66, 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, - 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x0f, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x50, 0x72, - 0x6f, 0x6f, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_poktroll_proof_requirement_proto_rawDescOnce sync.Once - file_poktroll_proof_requirement_proto_rawDescData = file_poktroll_proof_requirement_proto_rawDesc -) - -func file_poktroll_proof_requirement_proto_rawDescGZIP() []byte { - file_poktroll_proof_requirement_proto_rawDescOnce.Do(func() { - file_poktroll_proof_requirement_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_proof_requirement_proto_rawDescData) - }) - return file_poktroll_proof_requirement_proto_rawDescData -} - -var file_poktroll_proof_requirement_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_poktroll_proof_requirement_proto_goTypes = []interface{}{ - (ProofRequirementReason)(0), // 0: poktroll.proof.ProofRequirementReason -} -var file_poktroll_proof_requirement_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_poktroll_proof_requirement_proto_init() } -func file_poktroll_proof_requirement_proto_init() { - if File_poktroll_proof_requirement_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_poktroll_proof_requirement_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_poktroll_proof_requirement_proto_goTypes, - DependencyIndexes: file_poktroll_proof_requirement_proto_depIdxs, - EnumInfos: file_poktroll_proof_requirement_proto_enumTypes, - }.Build() - File_poktroll_proof_requirement_proto = out.File - file_poktroll_proof_requirement_proto_rawDesc = nil - file_poktroll_proof_requirement_proto_goTypes = nil - file_poktroll_proof_requirement_proto_depIdxs = nil -} diff --git a/api/poktroll/proof/stage.pulsar.go b/api/poktroll/proof/stage.pulsar.go deleted file mode 100644 index 48afa3009..000000000 --- a/api/poktroll/proof/stage.pulsar.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package proof - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.0 -// protoc (unknown) -// source: poktroll/proof/stage.proto - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ClaimProofStage int32 - -const ( - ClaimProofStage_CLAIMED ClaimProofStage = 0 - ClaimProofStage_PROVEN ClaimProofStage = 1 - ClaimProofStage_SETTLED ClaimProofStage = 2 - ClaimProofStage_EXPIRED ClaimProofStage = 3 -) - -// Enum value maps for ClaimProofStage. -var ( - ClaimProofStage_name = map[int32]string{ - 0: "CLAIMED", - 1: "PROVEN", - 2: "SETTLED", - 3: "EXPIRED", - } - ClaimProofStage_value = map[string]int32{ - "CLAIMED": 0, - "PROVEN": 1, - "SETTLED": 2, - "EXPIRED": 3, - } -) - -func (x ClaimProofStage) Enum() *ClaimProofStage { - p := new(ClaimProofStage) - *p = x - return p -} - -func (x ClaimProofStage) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ClaimProofStage) Descriptor() protoreflect.EnumDescriptor { - return file_poktroll_proof_stage_proto_enumTypes[0].Descriptor() -} - -func (ClaimProofStage) Type() protoreflect.EnumType { - return &file_poktroll_proof_stage_proto_enumTypes[0] -} - -func (x ClaimProofStage) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ClaimProofStage.Descriptor instead. -func (ClaimProofStage) EnumDescriptor() ([]byte, []int) { - return file_poktroll_proof_stage_proto_rawDescGZIP(), []int{0} -} - -var File_poktroll_proof_stage_proto protoreflect.FileDescriptor - -var file_poktroll_proof_stage_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x70, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2a, 0x44, 0x0a, 0x0f, - 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, - 0x0b, 0x0a, 0x07, 0x43, 0x4c, 0x41, 0x49, 0x4d, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, - 0x50, 0x52, 0x4f, 0x56, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x54, 0x54, - 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, - 0x10, 0x03, 0x42, 0x9a, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x42, 0x0a, 0x53, 0x74, 0x61, 0x67, 0x65, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, - 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0xa2, 0x02, 0x03, 0x50, 0x50, 0x58, 0xaa, 0x02, - 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xca, - 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, - 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, - 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, - 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_poktroll_proof_stage_proto_rawDescOnce sync.Once - file_poktroll_proof_stage_proto_rawDescData = file_poktroll_proof_stage_proto_rawDesc -) - -func file_poktroll_proof_stage_proto_rawDescGZIP() []byte { - file_poktroll_proof_stage_proto_rawDescOnce.Do(func() { - file_poktroll_proof_stage_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_proof_stage_proto_rawDescData) - }) - return file_poktroll_proof_stage_proto_rawDescData -} - -var file_poktroll_proof_stage_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_poktroll_proof_stage_proto_goTypes = []interface{}{ - (ClaimProofStage)(0), // 0: poktroll.proof.ClaimProofStage -} -var file_poktroll_proof_stage_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_poktroll_proof_stage_proto_init() } -func file_poktroll_proof_stage_proto_init() { - if File_poktroll_proof_stage_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_poktroll_proof_stage_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_poktroll_proof_stage_proto_goTypes, - DependencyIndexes: file_poktroll_proof_stage_proto_depIdxs, - EnumInfos: file_poktroll_proof_stage_proto_enumTypes, - }.Build() - File_poktroll_proof_stage_proto = out.File - file_poktroll_proof_stage_proto_rawDesc = nil - file_poktroll_proof_stage_proto_goTypes = nil - file_poktroll_proof_stage_proto_depIdxs = nil -} diff --git a/api/poktroll/proof/tx.pulsar.go b/api/poktroll/proof/tx.pulsar.go index 2dc2e1479..c00b37247 100644 --- a/api/poktroll/proof/tx.pulsar.go +++ b/api/poktroll/proof/tx.pulsar.go @@ -5,13 +5,13 @@ import ( _ "cosmossdk.io/api/amino" v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1" _ "cosmossdk.io/api/cosmos/msg/v1" + session "github.com/pokt-network/poktroll/api/poktroll/session" + _ "github.com/pokt-network/poktroll/api/poktroll/shared" binary "encoding/binary" fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - session "github.com/pokt-network/poktroll/api/poktroll/session" - _ "github.com/pokt-network/poktroll/api/poktroll/shared" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -4638,125 +4638,123 @@ var file_poktroll_proof_tx_proto_rawDesc = []byte{ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x2f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1a, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, - 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x70, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x70, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x01, 0x0a, 0x0f, 0x4d, - 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, - 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, - 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x3a, 0x33, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x20, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x78, - 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0xe9, 0x02, 0x0a, 0x0e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x2c, 0x0a, 0x09, 0x61, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x0d, 0xea, 0xde, 0x1f, 0x09, 0x61, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x61, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x29, - 0x0a, 0x08, 0x61, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, - 0x42, 0x0c, 0xea, 0xde, 0x1f, 0x08, 0x61, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x48, 0x00, - 0x52, 0x07, 0x61, 0x73, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x29, 0x0a, 0x08, 0x61, 0x73, 0x5f, - 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x0c, 0xea, 0xde, 0x1f, - 0x08, 0x61, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x48, 0x00, 0x52, 0x07, 0x61, 0x73, 0x42, - 0x79, 0x74, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x08, 0x61, 0x73, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x42, 0x0c, 0xea, 0xde, 0x1f, 0x08, 0x61, 0x73, 0x5f, 0x66, - 0x6c, 0x6f, 0x61, 0x74, 0x48, 0x00, 0x52, 0x07, 0x61, 0x73, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, - 0x41, 0x0a, 0x07, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x0b, 0xea, 0xde, 0x1f, - 0x07, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x61, 0x73, 0x43, 0x6f, - 0x69, 0x6e, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x74, 0x79, 0x42, 0x09, 0x0a, 0x07, 0x61, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x48, 0x0a, - 0x16, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, - 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xeb, 0x01, 0x0a, 0x0e, 0x4d, 0x73, 0x67, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x54, 0x0a, 0x19, 0x73, 0x75, + 0x6f, 0x6f, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1c, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x70, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x01, 0x0a, + 0x0f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x3a, 0x33, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x20, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2f, 0x78, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0xe9, 0x02, 0x0a, 0x0e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x09, 0x61, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0d, 0xea, 0xde, 0x1f, 0x09, 0x61, 0x73, 0x5f, 0x73, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x61, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x12, 0x29, 0x0a, 0x08, 0x61, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x03, 0x42, 0x0c, 0xea, 0xde, 0x1f, 0x08, 0x61, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, + 0x48, 0x00, 0x52, 0x07, 0x61, 0x73, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x29, 0x0a, 0x08, 0x61, + 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x0c, 0xea, + 0xde, 0x1f, 0x08, 0x61, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x48, 0x00, 0x52, 0x07, 0x61, + 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x08, 0x61, 0x73, 0x5f, 0x66, 0x6c, 0x6f, + 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x42, 0x0c, 0xea, 0xde, 0x1f, 0x08, 0x61, 0x73, + 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x48, 0x00, 0x52, 0x07, 0x61, 0x73, 0x46, 0x6c, 0x6f, 0x61, + 0x74, 0x12, 0x41, 0x0a, 0x07, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x0b, 0xea, + 0xde, 0x1f, 0x07, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x61, 0x73, + 0x43, 0x6f, 0x69, 0x6e, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x42, 0x09, 0x0a, 0x07, 0x61, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, + 0x48, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xeb, 0x01, 0x0a, 0x0e, 0x4d, 0x73, + 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x54, 0x0a, 0x19, + 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, + 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, 0x73, 0x75, 0x70, 0x70, 0x6c, + 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6f, 0x6b, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0d, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, + 0x6f, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, + 0x6f, 0x6f, 0x74, 0x48, 0x61, 0x73, 0x68, 0x3a, 0x1e, 0x82, 0xe7, 0xb0, 0x2a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, - 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, - 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, - 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x6f, 0x6f, - 0x74, 0x48, 0x61, 0x73, 0x68, 0x3a, 0x1e, 0x82, 0xe7, 0xb0, 0x2a, 0x19, 0x73, 0x75, 0x70, 0x70, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x45, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x22, 0xe4, + 0x01, 0x0a, 0x0e, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x6f, + 0x66, 0x12, 0x54, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, + 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x52, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, + 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, + 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x3a, 0x1e, 0x82, 0xe7, 0xb0, 0x2a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x45, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x2b, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x45, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x6d, + 0x69, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2b, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, - 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x22, 0xe4, 0x01, 0x0a, - 0x0e, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, - 0x54, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, 0x73, 0x75, - 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0d, - 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, - 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x3a, 0x1e, 0x82, 0xe7, 0xb0, 0x2a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, - 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x22, 0x45, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, - 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, - 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x72, - 0x6f, 0x6f, 0x66, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x32, 0xeb, 0x02, 0x0a, 0x03, 0x4d, - 0x73, 0x67, 0x12, 0x58, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x1a, 0x27, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, - 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x0b, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x1e, 0x2e, 0x70, 0x6f, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x32, 0xeb, 0x02, 0x0a, + 0x03, 0x4d, 0x73, 0x67, 0x12, 0x58, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x27, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, + 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x1e, 0x2e, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x4d, + 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x1a, 0x26, 0x2e, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x4d, + 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x0b, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x1e, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0x1a, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, + 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x0b, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1e, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x1a, 0x26, 0x2e, 0x70, 0x6f, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x0b, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x6f, - 0x6f, 0x66, 0x12, 0x1e, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x6f, - 0x6f, 0x66, 0x1a, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x6f, - 0x6f, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x0b, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1e, 0x2e, 0x70, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0x97, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, - 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x42, - 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0xa2, 0x02, 0x03, 0x50, 0x50, - 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x50, 0x72, 0x6f, - 0x6f, 0x66, 0xca, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, 0x72, - 0x6f, 0x6f, 0x66, 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x50, - 0x72, 0x6f, 0x6f, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x0f, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x50, 0x72, 0x6f, - 0x6f, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0x97, 0x01, 0x0a, 0x12, 0x63, + 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0xa2, 0x02, 0x03, + 0x50, 0x50, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0xca, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x0f, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -4816,8 +4814,7 @@ func file_poktroll_proof_tx_proto_init() { return } file_poktroll_proof_params_proto_init() - file_poktroll_proof_claim_proto_init() - file_poktroll_proof_proof_proto_init() + file_poktroll_proof_types_proto_init() if !protoimpl.UnsafeEnabled { file_poktroll_proof_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgUpdateParams); i { diff --git a/api/poktroll/proof/types.pulsar.go b/api/poktroll/proof/types.pulsar.go new file mode 100644 index 000000000..2a48995d6 --- /dev/null +++ b/api/poktroll/proof/types.pulsar.go @@ -0,0 +1,1511 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package proof + +import ( + session "github.com/pokt-network/poktroll/api/poktroll/session" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + runtime "github.com/cosmos/cosmos-proto/runtime" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_Proof protoreflect.MessageDescriptor + fd_Proof_supplier_operator_address protoreflect.FieldDescriptor + fd_Proof_session_header protoreflect.FieldDescriptor + fd_Proof_closest_merkle_proof protoreflect.FieldDescriptor +) + +func init() { + file_poktroll_proof_types_proto_init() + md_Proof = File_poktroll_proof_types_proto.Messages().ByName("Proof") + fd_Proof_supplier_operator_address = md_Proof.Fields().ByName("supplier_operator_address") + fd_Proof_session_header = md_Proof.Fields().ByName("session_header") + fd_Proof_closest_merkle_proof = md_Proof.Fields().ByName("closest_merkle_proof") +} + +var _ protoreflect.Message = (*fastReflection_Proof)(nil) + +type fastReflection_Proof Proof + +func (x *Proof) ProtoReflect() protoreflect.Message { + return (*fastReflection_Proof)(x) +} + +func (x *Proof) slowProtoReflect() protoreflect.Message { + mi := &file_poktroll_proof_types_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_Proof_messageType fastReflection_Proof_messageType +var _ protoreflect.MessageType = fastReflection_Proof_messageType{} + +type fastReflection_Proof_messageType struct{} + +func (x fastReflection_Proof_messageType) Zero() protoreflect.Message { + return (*fastReflection_Proof)(nil) +} +func (x fastReflection_Proof_messageType) New() protoreflect.Message { + return new(fastReflection_Proof) +} +func (x fastReflection_Proof_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Proof +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Proof) Descriptor() protoreflect.MessageDescriptor { + return md_Proof +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_Proof) Type() protoreflect.MessageType { + return _fastReflection_Proof_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Proof) New() protoreflect.Message { + return new(fastReflection_Proof) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Proof) Interface() protoreflect.ProtoMessage { + return (*Proof)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_Proof) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.SupplierOperatorAddress != "" { + value := protoreflect.ValueOfString(x.SupplierOperatorAddress) + if !f(fd_Proof_supplier_operator_address, value) { + return + } + } + if x.SessionHeader != nil { + value := protoreflect.ValueOfMessage(x.SessionHeader.ProtoReflect()) + if !f(fd_Proof_session_header, value) { + return + } + } + if len(x.ClosestMerkleProof) != 0 { + value := protoreflect.ValueOfBytes(x.ClosestMerkleProof) + if !f(fd_Proof_closest_merkle_proof, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_Proof) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "poktroll.proof.Proof.supplier_operator_address": + return x.SupplierOperatorAddress != "" + case "poktroll.proof.Proof.session_header": + return x.SessionHeader != nil + case "poktroll.proof.Proof.closest_merkle_proof": + return len(x.ClosestMerkleProof) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) + } + panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Proof) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "poktroll.proof.Proof.supplier_operator_address": + x.SupplierOperatorAddress = "" + case "poktroll.proof.Proof.session_header": + x.SessionHeader = nil + case "poktroll.proof.Proof.closest_merkle_proof": + x.ClosestMerkleProof = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) + } + panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_Proof) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "poktroll.proof.Proof.supplier_operator_address": + value := x.SupplierOperatorAddress + return protoreflect.ValueOfString(value) + case "poktroll.proof.Proof.session_header": + value := x.SessionHeader + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "poktroll.proof.Proof.closest_merkle_proof": + value := x.ClosestMerkleProof + return protoreflect.ValueOfBytes(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) + } + panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Proof) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "poktroll.proof.Proof.supplier_operator_address": + x.SupplierOperatorAddress = value.Interface().(string) + case "poktroll.proof.Proof.session_header": + x.SessionHeader = value.Message().Interface().(*session.SessionHeader) + case "poktroll.proof.Proof.closest_merkle_proof": + x.ClosestMerkleProof = value.Bytes() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) + } + panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Proof) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.proof.Proof.session_header": + if x.SessionHeader == nil { + x.SessionHeader = new(session.SessionHeader) + } + return protoreflect.ValueOfMessage(x.SessionHeader.ProtoReflect()) + case "poktroll.proof.Proof.supplier_operator_address": + panic(fmt.Errorf("field supplier_operator_address of message poktroll.proof.Proof is not mutable")) + case "poktroll.proof.Proof.closest_merkle_proof": + panic(fmt.Errorf("field closest_merkle_proof of message poktroll.proof.Proof is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) + } + panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_Proof) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.proof.Proof.supplier_operator_address": + return protoreflect.ValueOfString("") + case "poktroll.proof.Proof.session_header": + m := new(session.SessionHeader) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "poktroll.proof.Proof.closest_merkle_proof": + return protoreflect.ValueOfBytes(nil) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Proof")) + } + panic(fmt.Errorf("message poktroll.proof.Proof does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_Proof) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in poktroll.proof.Proof", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_Proof) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Proof) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_Proof) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_Proof) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Proof) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.SupplierOperatorAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.SessionHeader != nil { + l = options.Size(x.SessionHeader) + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ClosestMerkleProof) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*Proof) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.ClosestMerkleProof) > 0 { + i -= len(x.ClosestMerkleProof) + copy(dAtA[i:], x.ClosestMerkleProof) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ClosestMerkleProof))) + i-- + dAtA[i] = 0x1a + } + if x.SessionHeader != nil { + encoded, err := options.Marshal(x.SessionHeader) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.SupplierOperatorAddress) > 0 { + i -= len(x.SupplierOperatorAddress) + copy(dAtA[i:], x.SupplierOperatorAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SupplierOperatorAddress))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*Proof) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Proof: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Proof: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SupplierOperatorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.SupplierOperatorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SessionHeader", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.SessionHeader == nil { + x.SessionHeader = &session.SessionHeader{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.SessionHeader); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ClosestMerkleProof", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ClosestMerkleProof = append(x.ClosestMerkleProof[:0], dAtA[iNdEx:postIndex]...) + if x.ClosestMerkleProof == nil { + x.ClosestMerkleProof = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_Claim protoreflect.MessageDescriptor + fd_Claim_supplier_operator_address protoreflect.FieldDescriptor + fd_Claim_session_header protoreflect.FieldDescriptor + fd_Claim_root_hash protoreflect.FieldDescriptor +) + +func init() { + file_poktroll_proof_types_proto_init() + md_Claim = File_poktroll_proof_types_proto.Messages().ByName("Claim") + fd_Claim_supplier_operator_address = md_Claim.Fields().ByName("supplier_operator_address") + fd_Claim_session_header = md_Claim.Fields().ByName("session_header") + fd_Claim_root_hash = md_Claim.Fields().ByName("root_hash") +} + +var _ protoreflect.Message = (*fastReflection_Claim)(nil) + +type fastReflection_Claim Claim + +func (x *Claim) ProtoReflect() protoreflect.Message { + return (*fastReflection_Claim)(x) +} + +func (x *Claim) slowProtoReflect() protoreflect.Message { + mi := &file_poktroll_proof_types_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_Claim_messageType fastReflection_Claim_messageType +var _ protoreflect.MessageType = fastReflection_Claim_messageType{} + +type fastReflection_Claim_messageType struct{} + +func (x fastReflection_Claim_messageType) Zero() protoreflect.Message { + return (*fastReflection_Claim)(nil) +} +func (x fastReflection_Claim_messageType) New() protoreflect.Message { + return new(fastReflection_Claim) +} +func (x fastReflection_Claim_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Claim +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Claim) Descriptor() protoreflect.MessageDescriptor { + return md_Claim +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_Claim) Type() protoreflect.MessageType { + return _fastReflection_Claim_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Claim) New() protoreflect.Message { + return new(fastReflection_Claim) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Claim) Interface() protoreflect.ProtoMessage { + return (*Claim)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_Claim) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.SupplierOperatorAddress != "" { + value := protoreflect.ValueOfString(x.SupplierOperatorAddress) + if !f(fd_Claim_supplier_operator_address, value) { + return + } + } + if x.SessionHeader != nil { + value := protoreflect.ValueOfMessage(x.SessionHeader.ProtoReflect()) + if !f(fd_Claim_session_header, value) { + return + } + } + if len(x.RootHash) != 0 { + value := protoreflect.ValueOfBytes(x.RootHash) + if !f(fd_Claim_root_hash, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_Claim) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "poktroll.proof.Claim.supplier_operator_address": + return x.SupplierOperatorAddress != "" + case "poktroll.proof.Claim.session_header": + return x.SessionHeader != nil + case "poktroll.proof.Claim.root_hash": + return len(x.RootHash) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) + } + panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Claim) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "poktroll.proof.Claim.supplier_operator_address": + x.SupplierOperatorAddress = "" + case "poktroll.proof.Claim.session_header": + x.SessionHeader = nil + case "poktroll.proof.Claim.root_hash": + x.RootHash = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) + } + panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_Claim) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "poktroll.proof.Claim.supplier_operator_address": + value := x.SupplierOperatorAddress + return protoreflect.ValueOfString(value) + case "poktroll.proof.Claim.session_header": + value := x.SessionHeader + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "poktroll.proof.Claim.root_hash": + value := x.RootHash + return protoreflect.ValueOfBytes(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) + } + panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Claim) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "poktroll.proof.Claim.supplier_operator_address": + x.SupplierOperatorAddress = value.Interface().(string) + case "poktroll.proof.Claim.session_header": + x.SessionHeader = value.Message().Interface().(*session.SessionHeader) + case "poktroll.proof.Claim.root_hash": + x.RootHash = value.Bytes() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) + } + panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Claim) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.proof.Claim.session_header": + if x.SessionHeader == nil { + x.SessionHeader = new(session.SessionHeader) + } + return protoreflect.ValueOfMessage(x.SessionHeader.ProtoReflect()) + case "poktroll.proof.Claim.supplier_operator_address": + panic(fmt.Errorf("field supplier_operator_address of message poktroll.proof.Claim is not mutable")) + case "poktroll.proof.Claim.root_hash": + panic(fmt.Errorf("field root_hash of message poktroll.proof.Claim is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) + } + panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_Claim) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "poktroll.proof.Claim.supplier_operator_address": + return protoreflect.ValueOfString("") + case "poktroll.proof.Claim.session_header": + m := new(session.SessionHeader) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "poktroll.proof.Claim.root_hash": + return protoreflect.ValueOfBytes(nil) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.proof.Claim")) + } + panic(fmt.Errorf("message poktroll.proof.Claim does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_Claim) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in poktroll.proof.Claim", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_Claim) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Claim) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_Claim) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_Claim) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Claim) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.SupplierOperatorAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.SessionHeader != nil { + l = options.Size(x.SessionHeader) + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.RootHash) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*Claim) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.RootHash) > 0 { + i -= len(x.RootHash) + copy(dAtA[i:], x.RootHash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RootHash))) + i-- + dAtA[i] = 0x1a + } + if x.SessionHeader != nil { + encoded, err := options.Marshal(x.SessionHeader) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.SupplierOperatorAddress) > 0 { + i -= len(x.SupplierOperatorAddress) + copy(dAtA[i:], x.SupplierOperatorAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SupplierOperatorAddress))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*Claim) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Claim: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Claim: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SupplierOperatorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.SupplierOperatorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SessionHeader", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.SessionHeader == nil { + x.SessionHeader = &session.SessionHeader{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.SessionHeader); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RootHash", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.RootHash = append(x.RootHash[:0], dAtA[iNdEx:postIndex]...) + if x.RootHash == nil { + x.RootHash = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// TODO_AUTOMATE: Add a CI workflow which detects .proto files with incompatible names (i.e. same as the package). +// NB: This file CANNOT be named "application.proto" due to an as of yet unidentified +// issue in how cosmos-proto generates the pulsar plugin output go source code. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: poktroll/proof/types.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ProofRequirementReason int32 + +const ( + ProofRequirementReason_NOT_REQUIRED ProofRequirementReason = 0 + ProofRequirementReason_PROBABILISTIC ProofRequirementReason = 1 + ProofRequirementReason_THRESHOLD ProofRequirementReason = 2 +) + +// Enum value maps for ProofRequirementReason. +var ( + ProofRequirementReason_name = map[int32]string{ + 0: "NOT_REQUIRED", + 1: "PROBABILISTIC", + 2: "THRESHOLD", + } + ProofRequirementReason_value = map[string]int32{ + "NOT_REQUIRED": 0, + "PROBABILISTIC": 1, + "THRESHOLD": 2, + } +) + +func (x ProofRequirementReason) Enum() *ProofRequirementReason { + p := new(ProofRequirementReason) + *p = x + return p +} + +func (x ProofRequirementReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProofRequirementReason) Descriptor() protoreflect.EnumDescriptor { + return file_poktroll_proof_types_proto_enumTypes[0].Descriptor() +} + +func (ProofRequirementReason) Type() protoreflect.EnumType { + return &file_poktroll_proof_types_proto_enumTypes[0] +} + +func (x ProofRequirementReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ProofRequirementReason.Descriptor instead. +func (ProofRequirementReason) EnumDescriptor() ([]byte, []int) { + return file_poktroll_proof_types_proto_rawDescGZIP(), []int{0} +} + +type ClaimProofStage int32 + +const ( + ClaimProofStage_CLAIMED ClaimProofStage = 0 + ClaimProofStage_PROVEN ClaimProofStage = 1 + ClaimProofStage_SETTLED ClaimProofStage = 2 + ClaimProofStage_EXPIRED ClaimProofStage = 3 +) + +// Enum value maps for ClaimProofStage. +var ( + ClaimProofStage_name = map[int32]string{ + 0: "CLAIMED", + 1: "PROVEN", + 2: "SETTLED", + 3: "EXPIRED", + } + ClaimProofStage_value = map[string]int32{ + "CLAIMED": 0, + "PROVEN": 1, + "SETTLED": 2, + "EXPIRED": 3, + } +) + +func (x ClaimProofStage) Enum() *ClaimProofStage { + p := new(ClaimProofStage) + *p = x + return p +} + +func (x ClaimProofStage) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClaimProofStage) Descriptor() protoreflect.EnumDescriptor { + return file_poktroll_proof_types_proto_enumTypes[1].Descriptor() +} + +func (ClaimProofStage) Type() protoreflect.EnumType { + return &file_poktroll_proof_types_proto_enumTypes[1] +} + +func (x ClaimProofStage) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClaimProofStage.Descriptor instead. +func (ClaimProofStage) EnumDescriptor() ([]byte, []int) { + return file_poktroll_proof_types_proto_rawDescGZIP(), []int{1} +} + +type Proof struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Address of the supplier's operator that submitted this proof. + SupplierOperatorAddress string `protobuf:"bytes,1,opt,name=supplier_operator_address,json=supplierOperatorAddress,proto3" json:"supplier_operator_address,omitempty"` + // The session header of the session that this claim is for. + SessionHeader *session.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` + // The serialized SMST proof from the `#ClosestProof()` method. + ClosestMerkleProof []byte `protobuf:"bytes,3,opt,name=closest_merkle_proof,json=closestMerkleProof,proto3" json:"closest_merkle_proof,omitempty"` +} + +func (x *Proof) Reset() { + *x = Proof{} + if protoimpl.UnsafeEnabled { + mi := &file_poktroll_proof_types_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Proof) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proof) ProtoMessage() {} + +// Deprecated: Use Proof.ProtoReflect.Descriptor instead. +func (*Proof) Descriptor() ([]byte, []int) { + return file_poktroll_proof_types_proto_rawDescGZIP(), []int{0} +} + +func (x *Proof) GetSupplierOperatorAddress() string { + if x != nil { + return x.SupplierOperatorAddress + } + return "" +} + +func (x *Proof) GetSessionHeader() *session.SessionHeader { + if x != nil { + return x.SessionHeader + } + return nil +} + +func (x *Proof) GetClosestMerkleProof() []byte { + if x != nil { + return x.ClosestMerkleProof + } + return nil +} + +// Claim is the serialized object stored on-chain for claims pending to be proven +type Claim struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SupplierOperatorAddress string `protobuf:"bytes,1,opt,name=supplier_operator_address,json=supplierOperatorAddress,proto3" json:"supplier_operator_address,omitempty"` // the address of the supplier's operator that submitted this claim + // The session header of the session that this claim is for. + SessionHeader *session.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` + // Root hash returned from smt.SMST#Root(). + RootHash []byte `protobuf:"bytes,3,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` +} + +func (x *Claim) Reset() { + *x = Claim{} + if protoimpl.UnsafeEnabled { + mi := &file_poktroll_proof_types_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Claim) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Claim) ProtoMessage() {} + +// Deprecated: Use Claim.ProtoReflect.Descriptor instead. +func (*Claim) Descriptor() ([]byte, []int) { + return file_poktroll_proof_types_proto_rawDescGZIP(), []int{1} +} + +func (x *Claim) GetSupplierOperatorAddress() string { + if x != nil { + return x.SupplierOperatorAddress + } + return "" +} + +func (x *Claim) GetSessionHeader() *session.SessionHeader { + if x != nil { + return x.SessionHeader + } + return nil +} + +func (x *Claim) GetRootHash() []byte { + if x != nil { + return x.RootHash + } + return nil +} + +var File_poktroll_proof_types_proto protoreflect.FileDescriptor + +var file_poktroll_proof_types_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x1a, 0x19, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, 0x01, 0x0a, 0x05, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, + 0x54, 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, 0x73, 0x75, + 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0d, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x30, 0x0a, + 0x14, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x5f, + 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x63, 0x6c, 0x6f, + 0x73, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x22, + 0xc2, 0x01, 0x0a, 0x05, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x54, 0x0a, 0x19, 0x73, 0x75, 0x70, + 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, + 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x5f, + 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, + 0x48, 0x61, 0x73, 0x68, 0x2a, 0x4c, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, + 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x10, + 0x0a, 0x0c, 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x4f, 0x42, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x53, 0x54, 0x49, + 0x43, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, + 0x10, 0x02, 0x2a, 0x44, 0x0a, 0x0f, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x50, 0x72, 0x6f, 0x6f, 0x66, + 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4c, 0x41, 0x49, 0x4d, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x0b, + 0x0a, 0x07, 0x53, 0x45, 0x54, 0x54, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x45, + 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x03, 0x42, 0x9a, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, + 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x42, + 0x0a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0xa2, 0x02, + 0x03, 0x50, 0x50, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xca, 0x02, 0x0e, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x5c, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_poktroll_proof_types_proto_rawDescOnce sync.Once + file_poktroll_proof_types_proto_rawDescData = file_poktroll_proof_types_proto_rawDesc +) + +func file_poktroll_proof_types_proto_rawDescGZIP() []byte { + file_poktroll_proof_types_proto_rawDescOnce.Do(func() { + file_poktroll_proof_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_proof_types_proto_rawDescData) + }) + return file_poktroll_proof_types_proto_rawDescData +} + +var file_poktroll_proof_types_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_poktroll_proof_types_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_poktroll_proof_types_proto_goTypes = []interface{}{ + (ProofRequirementReason)(0), // 0: poktroll.proof.ProofRequirementReason + (ClaimProofStage)(0), // 1: poktroll.proof.ClaimProofStage + (*Proof)(nil), // 2: poktroll.proof.Proof + (*Claim)(nil), // 3: poktroll.proof.Claim + (*session.SessionHeader)(nil), // 4: poktroll.session.SessionHeader +} +var file_poktroll_proof_types_proto_depIdxs = []int32{ + 4, // 0: poktroll.proof.Proof.session_header:type_name -> poktroll.session.SessionHeader + 4, // 1: poktroll.proof.Claim.session_header:type_name -> poktroll.session.SessionHeader + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_poktroll_proof_types_proto_init() } +func file_poktroll_proof_types_proto_init() { + if File_poktroll_proof_types_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_poktroll_proof_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proof); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_poktroll_proof_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Claim); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_poktroll_proof_types_proto_rawDesc, + NumEnums: 2, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_poktroll_proof_types_proto_goTypes, + DependencyIndexes: file_poktroll_proof_types_proto_depIdxs, + EnumInfos: file_poktroll_proof_types_proto_enumTypes, + MessageInfos: file_poktroll_proof_types_proto_msgTypes, + }.Build() + File_poktroll_proof_types_proto = out.File + file_poktroll_proof_types_proto_rawDesc = nil + file_poktroll_proof_types_proto_goTypes = nil + file_poktroll_proof_types_proto_depIdxs = nil +} diff --git a/api/poktroll/service/genesis.pulsar.go b/api/poktroll/service/genesis.pulsar.go index 576428f97..467339631 100644 --- a/api/poktroll/service/genesis.pulsar.go +++ b/api/poktroll/service/genesis.pulsar.go @@ -3,10 +3,10 @@ package service import ( _ "cosmossdk.io/api/amino" + shared "github.com/pokt-network/poktroll/api/poktroll/shared" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - shared "github.com/pokt-network/poktroll/api/poktroll/shared" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/api/poktroll/service/query.pulsar.go b/api/poktroll/service/query.pulsar.go index 402b216b4..a9a7ed347 100644 --- a/api/poktroll/service/query.pulsar.go +++ b/api/poktroll/service/query.pulsar.go @@ -4,10 +4,10 @@ package service import ( _ "cosmossdk.io/api/amino" v1beta1 "cosmossdk.io/api/cosmos/base/query/v1beta1" + shared "github.com/pokt-network/poktroll/api/poktroll/shared" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - shared "github.com/pokt-network/poktroll/api/poktroll/shared" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" diff --git a/api/poktroll/service/relay.pulsar.go b/api/poktroll/service/relay.pulsar.go index 4434cac63..b20c32954 100644 --- a/api/poktroll/service/relay.pulsar.go +++ b/api/poktroll/service/relay.pulsar.go @@ -2,11 +2,11 @@ package service import ( + session "github.com/pokt-network/poktroll/api/poktroll/session" fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - session "github.com/pokt-network/poktroll/api/poktroll/session" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -2863,64 +2863,63 @@ var file_poktroll_service_relay_proto_rawDesc = []byte{ 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x1e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x6c, 0x0a, 0x05, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x30, 0x0a, 0x03, 0x72, 0x65, - 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, + 0x6f, 0x1a, 0x1c, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x6c, 0x0a, 0x05, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x30, 0x0a, 0x03, 0x72, 0x65, 0x71, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x03, 0x72, 0x65, 0x71, 0x12, 0x31, 0x0a, 0x03, 0x72, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x03, 0x72, 0x65, 0x71, 0x12, 0x31, 0x0a, 0x03, - 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x6c, - 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x03, 0x72, 0x65, 0x73, 0x22, - 0xd2, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x52, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x54, - 0x0a, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, 0x73, 0x75, 0x70, - 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x22, 0x6a, 0x0a, 0x0c, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, - 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x22, 0x6c, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x41, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x03, 0x72, 0x65, 0x73, 0x22, 0xd2, 0x01, + 0x0a, 0x14, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, + 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x54, 0x0a, 0x19, + 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, + 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x17, 0x73, 0x75, 0x70, 0x70, 0x6c, + 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x22, 0x6a, 0x0a, 0x0c, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x9f, - 0x01, 0x0a, 0x15, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x52, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x12, 0x3e, 0x0a, 0x1b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x42, 0xa6, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x0a, 0x52, 0x65, 0x6c, 0x61, 0x79, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, - 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x58, - 0xaa, 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0xca, 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xe2, 0x02, 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x6c, + 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x41, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x04, 0x6d, 0x65, + 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x9f, 0x01, 0x0a, + 0x15, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, + 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x3e, + 0x0a, 0x1b, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x19, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0xa6, + 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x0a, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, + 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x58, 0xaa, 0x02, + 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0xca, 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0xe2, 0x02, 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/poktroll/service/tx.pulsar.go b/api/poktroll/service/tx.pulsar.go index e082fb32b..1947dc7bc 100644 --- a/api/poktroll/service/tx.pulsar.go +++ b/api/poktroll/service/tx.pulsar.go @@ -4,11 +4,11 @@ package service import ( _ "cosmossdk.io/api/amino" _ "cosmossdk.io/api/cosmos/msg/v1" + shared "github.com/pokt-network/poktroll/api/poktroll/shared" fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - shared "github.com/pokt-network/poktroll/api/poktroll/shared" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/api/poktroll/session/query.pulsar.go b/api/poktroll/session/query.pulsar.go index 95db86dc5..7a1d08c52 100644 --- a/api/poktroll/session/query.pulsar.go +++ b/api/poktroll/session/query.pulsar.go @@ -3,12 +3,11 @@ package session import ( _ "cosmossdk.io/api/amino" + shared "github.com/pokt-network/poktroll/api/poktroll/shared" fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - - shared "github.com/pokt-network/poktroll/api/poktroll/shared" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" @@ -109,9 +108,9 @@ func (x *fastReflection_QueryParamsRequest) Has(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -125,9 +124,9 @@ func (x *fastReflection_QueryParamsRequest) Clear(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -141,9 +140,9 @@ func (x *fastReflection_QueryParamsRequest) Get(descriptor protoreflect.FieldDes switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsRequest does not contain field %s", descriptor.FullName())) } } @@ -161,9 +160,9 @@ func (x *fastReflection_QueryParamsRequest) Set(fd protoreflect.FieldDescriptor, switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -181,9 +180,9 @@ func (x *fastReflection_QueryParamsRequest) Mutable(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -194,9 +193,9 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsRequest")) } - panic(fmt.Errorf("message poktroll.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -206,7 +205,7 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.QueryParamsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in poktroll.session.QueryParamsRequest", d.FullName())) } panic("unreachable") } @@ -471,13 +470,13 @@ func (x *fastReflection_QueryParamsResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.session.QueryParamsResponse.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -489,13 +488,13 @@ func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.session.QueryParamsResponse.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -507,14 +506,14 @@ func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.session.QueryParamsResponse.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -530,13 +529,13 @@ func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.session.QueryParamsResponse.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -552,16 +551,16 @@ func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.session.QueryParamsResponse.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -570,14 +569,14 @@ func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryParamsResponse.params": + case "poktroll.session.QueryParamsResponse.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryParamsResponse")) } - panic(fmt.Errorf("message poktroll.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -587,7 +586,7 @@ func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.QueryParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in poktroll.session.QueryParamsResponse", d.FullName())) } panic("unreachable") } @@ -922,17 +921,17 @@ func (x *fastReflection_QueryGetSessionRequest) Range(f func(protoreflect.FieldD // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryGetSessionRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "poktroll.QueryGetSessionRequest.application_address": + case "poktroll.session.QueryGetSessionRequest.application_address": return x.ApplicationAddress != "" - case "poktroll.QueryGetSessionRequest.service": + case "poktroll.session.QueryGetSessionRequest.service": return x.Service != nil - case "poktroll.QueryGetSessionRequest.block_height": + case "poktroll.session.QueryGetSessionRequest.block_height": return x.BlockHeight != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionRequest does not contain field %s", fd.FullName())) } } @@ -944,17 +943,17 @@ func (x *fastReflection_QueryGetSessionRequest) Has(fd protoreflect.FieldDescrip // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetSessionRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "poktroll.QueryGetSessionRequest.application_address": + case "poktroll.session.QueryGetSessionRequest.application_address": x.ApplicationAddress = "" - case "poktroll.QueryGetSessionRequest.service": + case "poktroll.session.QueryGetSessionRequest.service": x.Service = nil - case "poktroll.QueryGetSessionRequest.block_height": + case "poktroll.session.QueryGetSessionRequest.block_height": x.BlockHeight = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionRequest does not contain field %s", fd.FullName())) } } @@ -966,20 +965,20 @@ func (x *fastReflection_QueryGetSessionRequest) Clear(fd protoreflect.FieldDescr // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryGetSessionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "poktroll.QueryGetSessionRequest.application_address": + case "poktroll.session.QueryGetSessionRequest.application_address": value := x.ApplicationAddress return protoreflect.ValueOfString(value) - case "poktroll.QueryGetSessionRequest.service": + case "poktroll.session.QueryGetSessionRequest.service": value := x.Service return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "poktroll.QueryGetSessionRequest.block_height": + case "poktroll.session.QueryGetSessionRequest.block_height": value := x.BlockHeight return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionRequest does not contain field %s", descriptor.FullName())) } } @@ -995,17 +994,17 @@ func (x *fastReflection_QueryGetSessionRequest) Get(descriptor protoreflect.Fiel // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetSessionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "poktroll.QueryGetSessionRequest.application_address": + case "poktroll.session.QueryGetSessionRequest.application_address": x.ApplicationAddress = value.Interface().(string) - case "poktroll.QueryGetSessionRequest.service": + case "poktroll.session.QueryGetSessionRequest.service": x.Service = value.Message().Interface().(*shared.Service) - case "poktroll.QueryGetSessionRequest.block_height": + case "poktroll.session.QueryGetSessionRequest.block_height": x.BlockHeight = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionRequest does not contain field %s", fd.FullName())) } } @@ -1021,20 +1020,20 @@ func (x *fastReflection_QueryGetSessionRequest) Set(fd protoreflect.FieldDescrip // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetSessionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryGetSessionRequest.service": + case "poktroll.session.QueryGetSessionRequest.service": if x.Service == nil { x.Service = new(shared.Service) } return protoreflect.ValueOfMessage(x.Service.ProtoReflect()) - case "poktroll.QueryGetSessionRequest.application_address": - panic(fmt.Errorf("field application_address of message poktroll.QueryGetSessionRequest is not mutable")) - case "poktroll.QueryGetSessionRequest.block_height": - panic(fmt.Errorf("field block_height of message poktroll.QueryGetSessionRequest is not mutable")) + case "poktroll.session.QueryGetSessionRequest.application_address": + panic(fmt.Errorf("field application_address of message poktroll.session.QueryGetSessionRequest is not mutable")) + case "poktroll.session.QueryGetSessionRequest.block_height": + panic(fmt.Errorf("field block_height of message poktroll.session.QueryGetSessionRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionRequest does not contain field %s", fd.FullName())) } } @@ -1043,18 +1042,18 @@ func (x *fastReflection_QueryGetSessionRequest) Mutable(fd protoreflect.FieldDes // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryGetSessionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryGetSessionRequest.application_address": + case "poktroll.session.QueryGetSessionRequest.application_address": return protoreflect.ValueOfString("") - case "poktroll.QueryGetSessionRequest.service": + case "poktroll.session.QueryGetSessionRequest.service": m := new(shared.Service) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "poktroll.QueryGetSessionRequest.block_height": + case "poktroll.session.QueryGetSessionRequest.block_height": return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionRequest")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionRequest does not contain field %s", fd.FullName())) } } @@ -1064,7 +1063,7 @@ func (x *fastReflection_QueryGetSessionRequest) NewField(fd protoreflect.FieldDe func (x *fastReflection_QueryGetSessionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.QueryGetSessionRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in poktroll.session.QueryGetSessionRequest", d.FullName())) } panic("unreachable") } @@ -1453,13 +1452,13 @@ func (x *fastReflection_QueryGetSessionResponse) Range(f func(protoreflect.Field // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryGetSessionResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "poktroll.QueryGetSessionResponse.session": + case "poktroll.session.QueryGetSessionResponse.session": return x.Session != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionResponse does not contain field %s", fd.FullName())) } } @@ -1471,13 +1470,13 @@ func (x *fastReflection_QueryGetSessionResponse) Has(fd protoreflect.FieldDescri // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetSessionResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "poktroll.QueryGetSessionResponse.session": + case "poktroll.session.QueryGetSessionResponse.session": x.Session = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionResponse does not contain field %s", fd.FullName())) } } @@ -1489,14 +1488,14 @@ func (x *fastReflection_QueryGetSessionResponse) Clear(fd protoreflect.FieldDesc // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryGetSessionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "poktroll.QueryGetSessionResponse.session": + case "poktroll.session.QueryGetSessionResponse.session": value := x.Session return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionResponse does not contain field %s", descriptor.FullName())) } } @@ -1512,13 +1511,13 @@ func (x *fastReflection_QueryGetSessionResponse) Get(descriptor protoreflect.Fie // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetSessionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "poktroll.QueryGetSessionResponse.session": + case "poktroll.session.QueryGetSessionResponse.session": x.Session = value.Message().Interface().(*Session) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionResponse does not contain field %s", fd.FullName())) } } @@ -1534,16 +1533,16 @@ func (x *fastReflection_QueryGetSessionResponse) Set(fd protoreflect.FieldDescri // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetSessionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryGetSessionResponse.session": + case "poktroll.session.QueryGetSessionResponse.session": if x.Session == nil { x.Session = new(Session) } return protoreflect.ValueOfMessage(x.Session.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionResponse does not contain field %s", fd.FullName())) } } @@ -1552,14 +1551,14 @@ func (x *fastReflection_QueryGetSessionResponse) Mutable(fd protoreflect.FieldDe // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryGetSessionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "poktroll.QueryGetSessionResponse.session": + case "poktroll.session.QueryGetSessionResponse.session": m := new(Session) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.QueryGetSessionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: poktroll.session.QueryGetSessionResponse")) } - panic(fmt.Errorf("message poktroll.QueryGetSessionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message poktroll.session.QueryGetSessionResponse does not contain field %s", fd.FullName())) } } @@ -1569,7 +1568,7 @@ func (x *fastReflection_QueryGetSessionResponse) NewField(fd protoreflect.FieldD func (x *fastReflection_QueryGetSessionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in poktroll.QueryGetSessionResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in poktroll.session.QueryGetSessionResponse", d.FullName())) } panic("unreachable") } @@ -1968,64 +1967,63 @@ var file_poktroll_session_query_proto_rawDesc = []byte{ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x1e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x1d, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x68, 0x61, 0x72, - 0x65, 0x64, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x52, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, - 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, - 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, - 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x16, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x13, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x12, 0x61, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x32, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x68, 0x61, - 0x72, 0x65, 0x64, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x4e, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, - 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, - 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0xa6, 0x02, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x12, 0x84, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x70, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x27, 0x12, 0x25, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x95, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, - 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x29, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x42, 0xa6, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, - 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x58, - 0xaa, 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x53, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x53, - 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x5c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x3a, 0x3a, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x6f, 0x1a, 0x1c, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1d, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, + 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, + 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x52, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, + 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x13, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x12, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, + 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, + 0x64, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x4e, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, + 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x33, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0xa6, 0x02, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, + 0x84, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x6f, 0x6b, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x25, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, + 0x25, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, + 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x95, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, + 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x29, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0xa6, + 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, + 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x58, 0xaa, 0x02, + 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0xca, 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x53, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, + 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, + 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2042,22 +2040,22 @@ func file_poktroll_session_query_proto_rawDescGZIP() []byte { var file_poktroll_session_query_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_poktroll_session_query_proto_goTypes = []interface{}{ - (*QueryParamsRequest)(nil), // 0: poktroll.QueryParamsRequest - (*QueryParamsResponse)(nil), // 1: poktroll.QueryParamsResponse - (*QueryGetSessionRequest)(nil), // 2: poktroll.QueryGetSessionRequest - (*QueryGetSessionResponse)(nil), // 3: poktroll.QueryGetSessionResponse - (*Params)(nil), // 4: poktroll.Params + (*QueryParamsRequest)(nil), // 0: poktroll.session.QueryParamsRequest + (*QueryParamsResponse)(nil), // 1: poktroll.session.QueryParamsResponse + (*QueryGetSessionRequest)(nil), // 2: poktroll.session.QueryGetSessionRequest + (*QueryGetSessionResponse)(nil), // 3: poktroll.session.QueryGetSessionResponse + (*Params)(nil), // 4: poktroll.session.Params (*shared.Service)(nil), // 5: poktroll.shared.Service - (*Session)(nil), // 6: poktroll.Session + (*Session)(nil), // 6: poktroll.session.Session } var file_poktroll_session_query_proto_depIdxs = []int32{ - 4, // 0: poktroll.QueryParamsResponse.params:type_name -> poktroll.Params - 5, // 1: poktroll.QueryGetSessionRequest.service:type_name -> poktroll.shared.Service - 6, // 2: poktroll.QueryGetSessionResponse.session:type_name -> poktroll.Session - 0, // 3: poktroll.Query.Params:input_type -> poktroll.QueryParamsRequest - 2, // 4: poktroll.Query.GetSession:input_type -> poktroll.QueryGetSessionRequest - 1, // 5: poktroll.Query.Params:output_type -> poktroll.QueryParamsResponse - 3, // 6: poktroll.Query.GetSession:output_type -> poktroll.QueryGetSessionResponse + 4, // 0: poktroll.session.QueryParamsResponse.params:type_name -> poktroll.session.Params + 5, // 1: poktroll.session.QueryGetSessionRequest.service:type_name -> poktroll.shared.Service + 6, // 2: poktroll.session.QueryGetSessionResponse.session:type_name -> poktroll.session.Session + 0, // 3: poktroll.session.Query.Params:input_type -> poktroll.session.QueryParamsRequest + 2, // 4: poktroll.session.Query.GetSession:input_type -> poktroll.session.QueryGetSessionRequest + 1, // 5: poktroll.session.Query.Params:output_type -> poktroll.session.QueryParamsResponse + 3, // 6: poktroll.session.Query.GetSession:output_type -> poktroll.session.QueryGetSessionResponse 5, // [5:7] is the sub-list for method output_type 3, // [3:5] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -2071,6 +2069,7 @@ func file_poktroll_session_query_proto_init() { return } file_poktroll_session_params_proto_init() + file_poktroll_session_types_proto_init() if !protoimpl.UnsafeEnabled { file_poktroll_session_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsRequest); i { diff --git a/api/poktroll/session/session.pulsar.go b/api/poktroll/session/types.pulsar.go similarity index 88% rename from api/poktroll/session/session.pulsar.go rename to api/poktroll/session/types.pulsar.go index 1178c0f5a..bd15d179b 100644 --- a/api/poktroll/session/session.pulsar.go +++ b/api/poktroll/session/types.pulsar.go @@ -2,11 +2,11 @@ package session import ( + application "github.com/pokt-network/poktroll/api/poktroll/application" + shared "github.com/pokt-network/poktroll/api/poktroll/shared" fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - application "github.com/pokt-network/poktroll/api/poktroll/application" - shared "github.com/pokt-network/poktroll/api/poktroll/shared" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -25,8 +25,8 @@ var ( ) func init() { - file_poktroll_session_session_proto_init() - md_SessionHeader = File_poktroll_session_session_proto.Messages().ByName("SessionHeader") + file_poktroll_session_types_proto_init() + md_SessionHeader = File_poktroll_session_types_proto.Messages().ByName("SessionHeader") fd_SessionHeader_application_address = md_SessionHeader.Fields().ByName("application_address") fd_SessionHeader_service = md_SessionHeader.Fields().ByName("service") fd_SessionHeader_session_id = md_SessionHeader.Fields().ByName("session_id") @@ -43,7 +43,7 @@ func (x *SessionHeader) ProtoReflect() protoreflect.Message { } func (x *SessionHeader) slowProtoReflect() protoreflect.Message { - mi := &file_poktroll_session_session_proto_msgTypes[0] + mi := &file_poktroll_session_types_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -736,8 +736,8 @@ var ( ) func init() { - file_poktroll_session_session_proto_init() - md_Session = File_poktroll_session_session_proto.Messages().ByName("Session") + file_poktroll_session_types_proto_init() + md_Session = File_poktroll_session_types_proto.Messages().ByName("Session") fd_Session_header = md_Session.Fields().ByName("header") fd_Session_session_id = md_Session.Fields().ByName("session_id") fd_Session_session_number = md_Session.Fields().ByName("session_number") @@ -755,7 +755,7 @@ func (x *Session) ProtoReflect() protoreflect.Message { } func (x *Session) slowProtoReflect() protoreflect.Message { - mi := &file_poktroll_session_session_proto_msgTypes[1] + mi := &file_poktroll_session_types_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1486,11 +1486,15 @@ func (x *fastReflection_Session) ProtoMethods() *protoiface.Methods { } } +// TODO_AUTOMATE: Add a CI workflow which detects .proto files with incompatible names (i.e. same as the package). +// NB: This file CANNOT be named "application.proto" due to an as of yet unidentified +// issue in how cosmos-proto generates the pulsar plugin output go source code. + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: poktroll/session/session.proto +// source: poktroll/session/types.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -1521,7 +1525,7 @@ type SessionHeader struct { func (x *SessionHeader) Reset() { *x = SessionHeader{} if protoimpl.UnsafeEnabled { - mi := &file_poktroll_session_session_proto_msgTypes[0] + mi := &file_poktroll_session_types_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1535,7 +1539,7 @@ func (*SessionHeader) ProtoMessage() {} // Deprecated: Use SessionHeader.ProtoReflect.Descriptor instead. func (*SessionHeader) Descriptor() ([]byte, []int) { - return file_poktroll_session_session_proto_rawDescGZIP(), []int{0} + return file_poktroll_session_types_proto_rawDescGZIP(), []int{0} } func (x *SessionHeader) GetApplicationAddress() string { @@ -1591,7 +1595,7 @@ type Session struct { func (x *Session) Reset() { *x = Session{} if protoimpl.UnsafeEnabled { - mi := &file_poktroll_session_session_proto_msgTypes[1] + mi := &file_poktroll_session_types_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1605,7 +1609,7 @@ func (*Session) ProtoMessage() {} // Deprecated: Use Session.ProtoReflect.Descriptor instead. func (*Session) Descriptor() ([]byte, []int) { - return file_poktroll_session_session_proto_rawDescGZIP(), []int{1} + return file_poktroll_session_types_proto_rawDescGZIP(), []int{1} } func (x *Session) GetHeader() *SessionHeader { @@ -1650,93 +1654,93 @@ func (x *Session) GetSuppliers() []*shared.Supplier { return nil } -var File_poktroll_session_session_proto protoreflect.FileDescriptor - -var file_poktroll_session_session_proto_rawDesc = []byte{ - 0x0a, 0x1e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x10, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x70, - 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x70, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, - 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x02, 0x0a, 0x0d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x13, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x12, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x32, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x68, - 0x61, 0x72, 0x65, 0x64, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x1a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x12, 0x37, 0x0a, 0x18, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x64, - 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xbb, 0x02, 0x0a, 0x07, 0x53, - 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, - 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, - 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x16, 0x6e, 0x75, 0x6d, 0x5f, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x6e, 0x75, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, - 0x50, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x0b, 0x61, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x37, 0x0a, 0x09, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x68, - 0x61, 0x72, 0x65, 0x64, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x09, 0x73, - 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x73, 0x42, 0xa8, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, +var File_poktroll_session_types_proto protoreflect.FileDescriptor + +var file_poktroll_session_types_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x70, 0x6f, 0x6b, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x70, 0x6f, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x73, 0x75, + 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x02, 0x0a, + 0x0d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x49, + 0x0a, 0x13, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, + 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x12, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x6f, 0x6b, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x1a, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x17, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x37, 0x0a, 0x18, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x22, 0xbb, 0x02, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x37, + 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x42, 0x0c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x58, 0xaa, 0x02, 0x10, 0x50, 0x6f, 0x6b, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x10, - 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0xe2, 0x02, 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x53, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x11, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x53, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, + 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x33, 0x0a, + 0x16, 0x6e, 0x75, 0x6d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x6e, + 0x75, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x09, 0x73, 0x75, 0x70, 0x70, 0x6c, + 0x69, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x6f, 0x6b, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x53, 0x75, 0x70, + 0x70, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x09, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x73, + 0x42, 0xa6, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x73, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, + 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x58, + 0xaa, 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x53, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x10, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x53, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xe2, 0x02, 0x1c, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x5c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x3a, 0x3a, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( - file_poktroll_session_session_proto_rawDescOnce sync.Once - file_poktroll_session_session_proto_rawDescData = file_poktroll_session_session_proto_rawDesc + file_poktroll_session_types_proto_rawDescOnce sync.Once + file_poktroll_session_types_proto_rawDescData = file_poktroll_session_types_proto_rawDesc ) -func file_poktroll_session_session_proto_rawDescGZIP() []byte { - file_poktroll_session_session_proto_rawDescOnce.Do(func() { - file_poktroll_session_session_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_session_session_proto_rawDescData) +func file_poktroll_session_types_proto_rawDescGZIP() []byte { + file_poktroll_session_types_proto_rawDescOnce.Do(func() { + file_poktroll_session_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_poktroll_session_types_proto_rawDescData) }) - return file_poktroll_session_session_proto_rawDescData + return file_poktroll_session_types_proto_rawDescData } -var file_poktroll_session_session_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_poktroll_session_session_proto_goTypes = []interface{}{ +var file_poktroll_session_types_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_poktroll_session_types_proto_goTypes = []interface{}{ (*SessionHeader)(nil), // 0: poktroll.session.SessionHeader (*Session)(nil), // 1: poktroll.session.Session (*shared.Service)(nil), // 2: poktroll.shared.Service (*application.Application)(nil), // 3: poktroll.application.Application (*shared.Supplier)(nil), // 4: poktroll.shared.Supplier } -var file_poktroll_session_session_proto_depIdxs = []int32{ +var file_poktroll_session_types_proto_depIdxs = []int32{ 2, // 0: poktroll.session.SessionHeader.service:type_name -> poktroll.shared.Service 0, // 1: poktroll.session.Session.header:type_name -> poktroll.session.SessionHeader 3, // 2: poktroll.session.Session.application:type_name -> poktroll.application.Application @@ -1748,13 +1752,13 @@ var file_poktroll_session_session_proto_depIdxs = []int32{ 0, // [0:4] is the sub-list for field type_name } -func init() { file_poktroll_session_session_proto_init() } -func file_poktroll_session_session_proto_init() { - if File_poktroll_session_session_proto != nil { +func init() { file_poktroll_session_types_proto_init() } +func file_poktroll_session_types_proto_init() { + if File_poktroll_session_types_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_poktroll_session_session_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_poktroll_session_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SessionHeader); i { case 0: return &v.state @@ -1766,7 +1770,7 @@ func file_poktroll_session_session_proto_init() { return nil } } - file_poktroll_session_session_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_poktroll_session_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Session); i { case 0: return &v.state @@ -1783,18 +1787,18 @@ func file_poktroll_session_session_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_poktroll_session_session_proto_rawDesc, + RawDescriptor: file_poktroll_session_types_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_poktroll_session_session_proto_goTypes, - DependencyIndexes: file_poktroll_session_session_proto_depIdxs, - MessageInfos: file_poktroll_session_session_proto_msgTypes, + GoTypes: file_poktroll_session_types_proto_goTypes, + DependencyIndexes: file_poktroll_session_types_proto_depIdxs, + MessageInfos: file_poktroll_session_types_proto_msgTypes, }.Build() - File_poktroll_session_session_proto = out.File - file_poktroll_session_session_proto_rawDesc = nil - file_poktroll_session_session_proto_goTypes = nil - file_poktroll_session_session_proto_depIdxs = nil + File_poktroll_session_types_proto = out.File + file_poktroll_session_types_proto_rawDesc = nil + file_poktroll_session_types_proto_goTypes = nil + file_poktroll_session_types_proto_depIdxs = nil } diff --git a/api/poktroll/supplier/genesis.pulsar.go b/api/poktroll/supplier/genesis.pulsar.go index 86a864a41..789ffbd8a 100644 --- a/api/poktroll/supplier/genesis.pulsar.go +++ b/api/poktroll/supplier/genesis.pulsar.go @@ -3,10 +3,10 @@ package supplier import ( _ "cosmossdk.io/api/amino" + shared "github.com/pokt-network/poktroll/api/poktroll/shared" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - shared "github.com/pokt-network/poktroll/api/poktroll/shared" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/api/poktroll/supplier/query.pulsar.go b/api/poktroll/supplier/query.pulsar.go index e55cedcde..ab0d72106 100644 --- a/api/poktroll/supplier/query.pulsar.go +++ b/api/poktroll/supplier/query.pulsar.go @@ -5,11 +5,11 @@ import ( _ "cosmossdk.io/api/amino" v1beta1 "cosmossdk.io/api/cosmos/base/query/v1beta1" _ "cosmossdk.io/api/cosmos/base/v1beta1" + shared "github.com/pokt-network/poktroll/api/poktroll/shared" fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - shared "github.com/pokt-network/poktroll/api/poktroll/shared" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" diff --git a/api/poktroll/supplier/tx.pulsar.go b/api/poktroll/supplier/tx.pulsar.go index b589aa142..8381d48ff 100644 --- a/api/poktroll/supplier/tx.pulsar.go +++ b/api/poktroll/supplier/tx.pulsar.go @@ -5,11 +5,11 @@ import ( _ "cosmossdk.io/api/amino" v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1" _ "cosmossdk.io/api/cosmos/msg/v1" + shared "github.com/pokt-network/poktroll/api/poktroll/shared" fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" - shared "github.com/pokt-network/poktroll/api/poktroll/shared" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/api/poktroll/tokenomics/event.pulsar.go b/api/poktroll/tokenomics/event.pulsar.go index 300c5cb18..ba3cbd5e4 100644 --- a/api/poktroll/tokenomics/event.pulsar.go +++ b/api/poktroll/tokenomics/event.pulsar.go @@ -2713,97 +2713,95 @@ var file_poktroll_tokenomics_event_proto_rawDesc = []byte{ 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x70, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x63, 0x6c, 0x61, - 0x69, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x02, 0x0a, 0x11, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, - 0x12, 0x36, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x63, 0x6c, 0x61, 0x69, - 0x6d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, - 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0e, 0xea, 0xde, - 0x1f, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x52, 0x09, 0x6e, 0x75, - 0x6d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, - 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x04, 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, - 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x43, 0x6f, - 0x6d, 0x70, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x6e, 0x0a, 0x11, 0x65, 0x78, - 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x6c, 0x61, 0x69, - 0x6d, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, - 0x6e, 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x10, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xa9, 0x02, 0x0a, 0x11, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, - 0x12, 0x36, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x63, 0x6c, 0x61, 0x69, - 0x6d, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, - 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0e, 0xea, 0xde, - 0x1f, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x52, 0x09, 0x6e, 0x75, - 0x6d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, - 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x04, 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, - 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x43, 0x6f, - 0x6d, 0x70, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x6a, 0x0a, 0x11, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, - 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x15, 0xea, - 0xde, 0x1f, 0x11, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x69, - 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x9c, 0x02, 0x0a, 0x21, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x6c, 0x61, 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x66, 0x66, 0x69, - 0x63, 0x75, 0x6c, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x1c, 0x70, - 0x72, 0x65, 0x76, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, - 0x68, 0x65, 0x78, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x18, 0x70, 0x72, 0x65, 0x76, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, 0x61, 0x73, - 0x68, 0x48, 0x65, 0x78, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x6e, - 0x65, 0x77, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x68, - 0x65, 0x78, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x17, 0x6e, 0x65, 0x77, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, 0x61, 0x73, 0x68, 0x48, - 0x65, 0x78, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x70, 0x72, 0x65, - 0x76, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x5f, 0x65, 0x6d, 0x61, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x70, 0x72, 0x65, 0x76, 0x4e, 0x75, 0x6d, 0x52, - 0x65, 0x6c, 0x61, 0x79, 0x73, 0x45, 0x6d, 0x61, 0x12, 0x2b, 0x0a, 0x12, 0x6e, 0x65, 0x77, 0x5f, - 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x5f, 0x65, 0x6d, 0x61, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6e, 0x65, 0x77, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x6c, 0x61, - 0x79, 0x73, 0x45, 0x6d, 0x61, 0x22, 0xcb, 0x01, 0x0a, 0x1c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, - 0x72, 0x12, 0x3e, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x75, - 0x72, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, - 0x6f, 0x69, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x75, 0x72, - 0x6e, 0x12, 0x40, 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x62, - 0x75, 0x72, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, - 0x75, 0x72, 0x6e, 0x2a, 0x60, 0x0a, 0x15, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x45, 0x78, 0x70, 0x69, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x1d, - 0x45, 0x58, 0x50, 0x49, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, - 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, - 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, - 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x49, 0x4e, 0x56, 0x41, - 0x4c, 0x49, 0x44, 0x10, 0x02, 0x42, 0xb8, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, - 0x73, 0x42, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x24, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x6f, 0x6d, 0x69, 0x63, 0x73, 0xa2, 0x02, 0x03, 0x50, 0x54, 0x58, 0xaa, 0x02, 0x13, 0x50, 0x6f, - 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, - 0x73, 0xca, 0x02, 0x13, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0xe2, 0x02, 0x1f, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x5c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x50, 0x6f, 0x6b, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x3a, 0x3a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x02, 0x0a, 0x11, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x12, 0x36, + 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x43, + 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x52, + 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, + 0x6c, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0e, 0xea, 0xde, 0x1f, 0x0a, + 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x52, 0x09, 0x6e, 0x75, 0x6d, 0x52, + 0x65, 0x6c, 0x61, 0x79, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, + 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, + 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6d, 0x70, + 0x75, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x6e, 0x0a, 0x11, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x45, + 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, + 0x15, 0xea, 0xde, 0x1f, 0x11, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x10, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xa9, 0x02, 0x0a, 0x11, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x36, + 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x43, + 0x6c, 0x61, 0x69, 0x6d, 0x42, 0x09, 0xea, 0xde, 0x1f, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x52, + 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, + 0x6c, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0e, 0xea, 0xde, 0x1f, 0x0a, + 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x52, 0x09, 0x6e, 0x75, 0x6d, 0x52, + 0x65, 0x6c, 0x61, 0x79, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, + 0x70, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x15, 0xea, 0xde, 0x1f, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, + 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6d, 0x70, + 0x75, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x6a, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, + 0x72, 0x6f, 0x6f, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x15, 0xea, 0xde, 0x1f, + 0x11, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x9c, 0x02, 0x0a, 0x21, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x6c, 0x61, 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75, + 0x6c, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x1c, 0x70, 0x72, 0x65, + 0x76, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x68, 0x65, + 0x78, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x18, 0x70, 0x72, 0x65, 0x76, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, 0x61, 0x73, 0x68, 0x48, + 0x65, 0x78, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x6e, 0x65, 0x77, + 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x68, 0x65, 0x78, + 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, + 0x6e, 0x65, 0x77, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, 0x61, 0x73, 0x68, 0x48, 0x65, 0x78, + 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x70, 0x72, 0x65, 0x76, 0x5f, + 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x5f, 0x65, 0x6d, 0x61, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x70, 0x72, 0x65, 0x76, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x6c, + 0x61, 0x79, 0x73, 0x45, 0x6d, 0x61, 0x12, 0x2b, 0x0a, 0x12, 0x6e, 0x65, 0x77, 0x5f, 0x6e, 0x75, + 0x6d, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x73, 0x5f, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0f, 0x6e, 0x65, 0x77, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x73, + 0x45, 0x6d, 0x61, 0x22, 0xcb, 0x01, 0x0a, 0x1c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12, + 0x3e, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x75, 0x72, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, + 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x75, 0x72, 0x6e, 0x12, + 0x40, 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x62, 0x75, 0x72, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, + 0x69, 0x6e, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x75, 0x72, + 0x6e, 0x2a, 0x60, 0x0a, 0x15, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x58, + 0x50, 0x49, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, + 0x0d, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x01, + 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, + 0x44, 0x10, 0x02, 0x42, 0xb8, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x42, + 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x24, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x70, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x6f, 0x6d, + 0x69, 0x63, 0x73, 0xa2, 0x02, 0x03, 0x50, 0x54, 0x58, 0xaa, 0x02, 0x13, 0x50, 0x6f, 0x6b, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0xca, + 0x02, 0x13, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x5c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x6f, 0x6d, 0x69, 0x63, 0x73, 0xe2, 0x02, 0x1f, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x5c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x50, 0x6f, 0x6b, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x3a, 0x3a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto/buf.gen.pulsar.yaml b/proto/buf.gen.pulsar.yaml index 3f46e1774..e8fffdb28 100644 --- a/proto/buf.gen.pulsar.yaml +++ b/proto/buf.gen.pulsar.yaml @@ -16,7 +16,7 @@ managed: plugins: - name: go-pulsar out: ./api - opt: paths=source_relative,Mpoktroll/shared/service.proto=github.com/pokt-network/poktroll/api/poktroll/shared,Mpoktroll/shared/supplier.proto=github.com/pokt-network/poktroll/api/poktroll/shared,Mpoktroll/application/application.proto=github.com/pokt-network/poktroll/api/poktroll/application,Mpoktroll/supplier/supplier.proto=github.com/pokt-network/poktroll/api/poktroll/supplier,Mpoktroll/session/session.proto=github.com/pokt-network/poktroll/api/poktroll/session + opt: paths=source_relative - name: go-grpc out: ./api opt: paths=source_relative diff --git a/proto/poktroll/application/genesis.proto b/proto/poktroll/application/genesis.proto index 98d681851..e04533319 100644 --- a/proto/poktroll/application/genesis.proto +++ b/proto/poktroll/application/genesis.proto @@ -7,7 +7,7 @@ import "amino/amino.proto"; import "gogoproto/gogo.proto"; import "poktroll/application/params.proto"; -import "poktroll/application/application.proto"; +import "poktroll/application/types.proto"; // GenesisState defines the application module's genesis state. message GenesisState { diff --git a/proto/poktroll/application/query.proto b/proto/poktroll/application/query.proto index 71e0536c7..0707ea6f4 100644 --- a/proto/poktroll/application/query.proto +++ b/proto/poktroll/application/query.proto @@ -10,7 +10,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "cosmos/base/v1beta1/coin.proto"; import "poktroll/application/params.proto"; -import "poktroll/application/application.proto"; +import "poktroll/application/types.proto"; // Query defines the gRPC querier service. diff --git a/proto/poktroll/application/application.proto b/proto/poktroll/application/types.proto similarity index 87% rename from proto/poktroll/application/application.proto rename to proto/poktroll/application/types.proto index 3d99314d9..f2fc18f0f 100644 --- a/proto/poktroll/application/application.proto +++ b/proto/poktroll/application/types.proto @@ -1,3 +1,7 @@ +// TODO_AUTOMATE: Add a CI workflow which detects .proto files with incompatible names (i.e. same as the package). +// NB: This file CANNOT be named "application.proto" due to an as of yet unidentified +// issue in how cosmos-proto generates the pulsar plugin output go source code. + syntax = "proto3"; package poktroll.application; diff --git a/proto/poktroll/gateway/genesis.proto b/proto/poktroll/gateway/genesis.proto index f3158785f..d9240ba7b 100644 --- a/proto/poktroll/gateway/genesis.proto +++ b/proto/poktroll/gateway/genesis.proto @@ -7,7 +7,7 @@ import "amino/amino.proto"; import "gogoproto/gogo.proto"; import "poktroll/gateway/params.proto"; -import "poktroll/gateway/gateway.proto"; +import "poktroll/gateway/types.proto"; // GenesisState defines the gateway module's genesis state. message GenesisState { diff --git a/proto/poktroll/gateway/query.proto b/proto/poktroll/gateway/query.proto index 100070c53..74ad4a01a 100644 --- a/proto/poktroll/gateway/query.proto +++ b/proto/poktroll/gateway/query.proto @@ -11,7 +11,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "cosmos/base/v1beta1/coin.proto"; import "poktroll/gateway/params.proto"; -import "poktroll/gateway/gateway.proto"; +import "poktroll/gateway/types.proto"; // Query defines the gRPC querier service. service Query { diff --git a/proto/poktroll/gateway/gateway.proto b/proto/poktroll/gateway/types.proto similarity index 59% rename from proto/poktroll/gateway/gateway.proto rename to proto/poktroll/gateway/types.proto index 498938b92..f15672f66 100644 --- a/proto/poktroll/gateway/gateway.proto +++ b/proto/poktroll/gateway/types.proto @@ -1,3 +1,7 @@ +// TODO_AUTOMATE: Add a CI workflow which detects .proto files with incompatible names (i.e. same as the package). +// NB: This file CANNOT be named "application.proto" due to an as of yet unidentified +// issue in how cosmos-proto generates the pulsar plugin output go source code. + syntax = "proto3"; package poktroll.gateway; diff --git a/proto/poktroll/proof/claim.proto b/proto/poktroll/proof/claim.proto deleted file mode 100644 index bfc5d6cd3..000000000 --- a/proto/poktroll/proof/claim.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package poktroll.proof; - -option go_package = "github.com/pokt-network/poktroll/x/proof/types"; - -import "cosmos_proto/cosmos.proto"; - -import "poktroll/session/session.proto"; - -// Claim is the serialized object stored on-chain for claims pending to be proven -message Claim { - string supplier_operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // the address of the supplier's operator that submitted this claim - // The session header of the session that this claim is for. - poktroll.session.SessionHeader session_header = 2; - // Root hash returned from smt.SMST#Root(). - bytes root_hash = 3; -} diff --git a/proto/poktroll/proof/event.proto b/proto/poktroll/proof/event.proto index 8c94d50ad..c7488756b 100644 --- a/proto/poktroll/proof/event.proto +++ b/proto/poktroll/proof/event.proto @@ -4,8 +4,7 @@ package poktroll.proof; option go_package = "github.com/pokt-network/poktroll/x/proof/types"; import "gogoproto/gogo.proto"; -import "poktroll/proof/claim.proto"; -import "poktroll/proof/proof.proto"; +import "poktroll/proof/types.proto"; message EventClaimCreated { poktroll.proof.Claim claim = 1 [(gogoproto.jsontag) = "claim"]; diff --git a/proto/poktroll/proof/genesis.proto b/proto/poktroll/proof/genesis.proto index bc5dd15fc..681970181 100644 --- a/proto/poktroll/proof/genesis.proto +++ b/proto/poktroll/proof/genesis.proto @@ -7,8 +7,7 @@ import "amino/amino.proto"; import "gogoproto/gogo.proto"; import "poktroll/proof/params.proto"; -import "poktroll/proof/claim.proto"; -import "poktroll/proof/proof.proto"; +import "poktroll/proof/types.proto"; // GenesisState defines the proof module's genesis state. message GenesisState { diff --git a/proto/poktroll/proof/proof.proto b/proto/poktroll/proof/proof.proto deleted file mode 100644 index 5d95903b0..000000000 --- a/proto/poktroll/proof/proof.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; -package poktroll.proof; - -option go_package = "github.com/pokt-network/poktroll/x/proof/types"; - -import "cosmos_proto/cosmos.proto"; - -import "poktroll/session/session.proto"; - -message Proof { - // Address of the supplier's operator that submitted this proof. - string supplier_operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // The session header of the session that this claim is for. - poktroll.session.SessionHeader session_header = 2; - // The serialized SMST proof from the `#ClosestProof()` method. - bytes closest_merkle_proof = 3; -} - diff --git a/proto/poktroll/proof/query.proto b/proto/poktroll/proof/query.proto index af83f822c..4d5f8aeb7 100644 --- a/proto/poktroll/proof/query.proto +++ b/proto/poktroll/proof/query.proto @@ -10,8 +10,7 @@ import "cosmos_proto/cosmos.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "poktroll/proof/params.proto"; -import "poktroll/proof/claim.proto"; -import "poktroll/proof/proof.proto"; +import "poktroll/proof/types.proto"; // Query defines the gRPC querier service. service Query { diff --git a/proto/poktroll/proof/requirement.proto b/proto/poktroll/proof/requirement.proto deleted file mode 100644 index af0acbbd8..000000000 --- a/proto/poktroll/proof/requirement.proto +++ /dev/null @@ -1,11 +0,0 @@ -syntax = "proto3"; - -package poktroll.proof; - -option go_package = "github.com/pokt-network/poktroll/x/proof/types"; - -enum ProofRequirementReason { - NOT_REQUIRED = 0; - PROBABILISTIC = 1; - THRESHOLD = 2; -} \ No newline at end of file diff --git a/proto/poktroll/proof/stage.proto b/proto/poktroll/proof/stage.proto deleted file mode 100644 index 4fcbb2311..000000000 --- a/proto/poktroll/proof/stage.proto +++ /dev/null @@ -1,12 +0,0 @@ -syntax = "proto3"; - -package poktroll.proof; - -option go_package = "github.com/pokt-network/poktroll/x/proof/types"; - -enum ClaimProofStage { - CLAIMED = 0; - PROVEN = 1; - SETTLED = 2; - EXPIRED = 3; -} \ No newline at end of file diff --git a/proto/poktroll/proof/tx.proto b/proto/poktroll/proof/tx.proto index bb46cf099..f91359883 100644 --- a/proto/poktroll/proof/tx.proto +++ b/proto/poktroll/proof/tx.proto @@ -10,9 +10,8 @@ import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "poktroll/proof/params.proto"; -import "poktroll/proof/claim.proto"; -import "poktroll/proof/proof.proto"; -import "poktroll/session/session.proto"; +import "poktroll/proof/types.proto"; +import "poktroll/session/types.proto"; import "poktroll/shared/service.proto"; // Msg defines the Msg service. diff --git a/proto/poktroll/proof/types.proto b/proto/poktroll/proof/types.proto new file mode 100644 index 000000000..718b1f78f --- /dev/null +++ b/proto/poktroll/proof/types.proto @@ -0,0 +1,43 @@ +// TODO_AUTOMATE: Add a CI workflow which detects .proto files with incompatible names (i.e. same as the package). +// NB: This file CANNOT be named "application.proto" due to an as of yet unidentified +// issue in how cosmos-proto generates the pulsar plugin output go source code. + +syntax = "proto3"; +package poktroll.proof; + +option go_package = "github.com/pokt-network/poktroll/x/proof/types"; + +import "cosmos_proto/cosmos.proto"; + +import "poktroll/session/types.proto"; + +message Proof { + // Address of the supplier's operator that submitted this proof. + string supplier_operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // The session header of the session that this claim is for. + poktroll.session.SessionHeader session_header = 2; + // The serialized SMST proof from the `#ClosestProof()` method. + bytes closest_merkle_proof = 3; +} + +// Claim is the serialized object stored on-chain for claims pending to be proven +message Claim { + string supplier_operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // the address of the supplier's operator that submitted this claim + // The session header of the session that this claim is for. + poktroll.session.SessionHeader session_header = 2; + // Root hash returned from smt.SMST#Root(). + bytes root_hash = 3; +} + +enum ProofRequirementReason { + NOT_REQUIRED = 0; + PROBABILISTIC = 1; + THRESHOLD = 2; +} + +enum ClaimProofStage { + CLAIMED = 0; + PROVEN = 1; + SETTLED = 2; + EXPIRED = 3; +} diff --git a/proto/poktroll/service/relay.proto b/proto/poktroll/service/relay.proto index 81e9b40ec..e6c29d54b 100644 --- a/proto/poktroll/service/relay.proto +++ b/proto/poktroll/service/relay.proto @@ -6,7 +6,7 @@ option go_package = "github.com/pokt-network/poktroll/x/service/types"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -import "poktroll/session/session.proto"; +import "poktroll/session/types.proto"; // Relay contains both the RelayRequest (signed by the Application) and the RelayResponse (signed by the Supplier). // The serialized tuple is inserted into the SMST leaves as values in the Claim/Proof lifecycle. diff --git a/proto/poktroll/session/query.proto b/proto/poktroll/session/query.proto index 0e7b6141b..32d37c66a 100644 --- a/proto/poktroll/session/query.proto +++ b/proto/poktroll/session/query.proto @@ -9,7 +9,7 @@ import "google/api/annotations.proto"; import "cosmos_proto/cosmos.proto"; import "poktroll/session/params.proto"; -import "poktroll/session/session.proto"; +import "poktroll/session/types.proto"; import "poktroll/shared/service.proto"; // Query defines the gRPC querier service. diff --git a/proto/poktroll/session/session.proto b/proto/poktroll/session/types.proto similarity index 86% rename from proto/poktroll/session/session.proto rename to proto/poktroll/session/types.proto index c75cb713a..a572917f8 100644 --- a/proto/poktroll/session/session.proto +++ b/proto/poktroll/session/types.proto @@ -1,3 +1,7 @@ +// TODO_AUTOMATE: Add a CI workflow which detects .proto files with incompatible names (i.e. same as the package). +// NB: This file CANNOT be named "application.proto" due to an as of yet unidentified +// issue in how cosmos-proto generates the pulsar plugin output go source code. + syntax = "proto3"; package poktroll.session; @@ -6,7 +10,7 @@ option go_package = "github.com/pokt-network/poktroll/x/session/types"; import "cosmos_proto/cosmos.proto"; import "poktroll/shared/service.proto"; -import "poktroll/application/application.proto"; +import "poktroll/application/types.proto"; import "poktroll/shared/supplier.proto"; // NOTE: Using signed integers for consistency with the cosmos SDK diff --git a/proto/poktroll/tokenomics/event.proto b/proto/poktroll/tokenomics/event.proto index 780564496..b8742e827 100644 --- a/proto/poktroll/tokenomics/event.proto +++ b/proto/poktroll/tokenomics/event.proto @@ -5,8 +5,7 @@ option go_package = "github.com/pokt-network/poktroll/x/tokenomics/types"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; -import "poktroll/proof/claim.proto"; -import "poktroll/proof/requirement.proto"; +import "poktroll/proof/types.proto"; enum ClaimExpirationReason { EXPIRATION_REASON_UNSPECIFIED = 0; // Default value, means may be valid diff --git a/x/application/types/genesis.pb.go b/x/application/types/genesis.pb.go index 302e93cfd..586652a82 100644 --- a/x/application/types/genesis.pb.go +++ b/x/application/types/genesis.pb.go @@ -87,24 +87,24 @@ func init() { } var fileDescriptor_7ad2a010ae2744ea = []byte{ - // 263 bytes of a gzipped FileDescriptorProto + // 260 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2a, 0xc8, 0xcf, 0x2e, 0x29, 0xca, 0xcf, 0xc9, 0xd1, 0x4f, 0x2c, 0x28, 0xc8, 0xc9, 0x4c, 0x4e, 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0xa9, 0xd1, 0x43, 0x52, 0x23, 0x25, 0x98, 0x98, 0x9b, 0x99, 0x97, 0xaf, 0x0f, 0x26, 0x21, 0x0a, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x4c, 0x7d, 0x10, 0x0b, 0x2a, 0xaa, 0x88, 0xd5, - 0x8a, 0x82, 0xc4, 0xa2, 0xc4, 0x5c, 0xa8, 0x0d, 0x52, 0x6a, 0x58, 0x95, 0x20, 0xb1, 0x21, 0xea, - 0x94, 0x16, 0x33, 0x72, 0xf1, 0xb8, 0x43, 0xdc, 0x16, 0x5c, 0x92, 0x58, 0x92, 0x2a, 0x64, 0xcf, - 0xc5, 0x06, 0x31, 0x48, 0x82, 0x51, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x46, 0x0f, 0x9b, 0x5b, 0xf5, - 0x02, 0xc0, 0x6a, 0x9c, 0x38, 0x4f, 0xdc, 0x93, 0x67, 0x58, 0xf1, 0x7c, 0x83, 0x16, 0x63, 0x10, - 0x54, 0x9b, 0x50, 0x10, 0x97, 0x00, 0x92, 0xc2, 0xf8, 0x9c, 0xcc, 0xe2, 0x12, 0x09, 0x26, 0x05, - 0x66, 0x0d, 0x6e, 0x23, 0x45, 0xec, 0x46, 0x39, 0x22, 0xd8, 0x4e, 0x2c, 0x20, 0xf3, 0x82, 0xf8, - 0x91, 0xa4, 0x7d, 0x32, 0x8b, 0x4b, 0x9c, 0xfc, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, - 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, - 0x8e, 0x21, 0xca, 0x24, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x64, - 0xba, 0x6e, 0x5e, 0x6a, 0x49, 0x79, 0x7e, 0x51, 0xb6, 0x3e, 0xdc, 0xff, 0x15, 0x28, 0x21, 0x50, - 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0xf6, 0xbc, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xa1, - 0x6b, 0x2a, 0x56, 0xac, 0x01, 0x00, 0x00, + 0x8a, 0x82, 0xc4, 0xa2, 0xc4, 0x5c, 0xa8, 0x0d, 0x52, 0x0a, 0x58, 0x95, 0x94, 0x54, 0x16, 0xa4, + 0x42, 0x55, 0x28, 0x2d, 0x66, 0xe4, 0xe2, 0x71, 0x87, 0xb8, 0x2a, 0xb8, 0x24, 0xb1, 0x24, 0x55, + 0xc8, 0x9e, 0x8b, 0x0d, 0x62, 0x84, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x8c, 0x1e, 0x36, + 0x57, 0xea, 0x05, 0x80, 0xd5, 0x38, 0x71, 0x9e, 0xb8, 0x27, 0xcf, 0xb0, 0xe2, 0xf9, 0x06, 0x2d, + 0xc6, 0x20, 0xa8, 0x36, 0xa1, 0x20, 0x2e, 0x01, 0x24, 0x85, 0xf1, 0x39, 0x99, 0xc5, 0x25, 0x12, + 0x4c, 0x0a, 0xcc, 0x1a, 0xdc, 0x46, 0x8a, 0xd8, 0x8d, 0x72, 0x44, 0xb0, 0x9d, 0x58, 0x40, 0xe6, + 0x05, 0xf1, 0x23, 0x49, 0xfb, 0x64, 0x16, 0x97, 0x38, 0xf9, 0x9d, 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, 0x49, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, + 0x3e, 0xc8, 0x74, 0xdd, 0xbc, 0xd4, 0x92, 0xf2, 0xfc, 0xa2, 0x6c, 0x7d, 0xb8, 0xcf, 0x2b, 0x30, + 0xfd, 0x9e, 0xc4, 0x06, 0xf6, 0xbc, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x92, 0x31, 0x2a, 0x7c, + 0xa6, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/application/types/params.pb.go b/x/application/types/params.pb.go index a2caf90b1..227e0f149 100644 --- a/x/application/types/params.pb.go +++ b/x/application/types/params.pb.go @@ -26,6 +26,9 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Params defines the parameters for the module. type Params struct { + // max_delegated_gateways defines the maximum number of gateways that a single + // application can delegate to. This is used to prevent performance issues + // in case the relay ring signature becomes too large. MaxDelegatedGateways uint64 `protobuf:"varint,1,opt,name=max_delegated_gateways,json=maxDelegatedGateways,proto3" json:"max_delegated_gateways" yaml:"max_delegated_gateways"` } diff --git a/x/application/types/query.pb.go b/x/application/types/query.pb.go index 1c3f4f74d..b48063481 100644 --- a/x/application/types/query.pb.go +++ b/x/application/types/query.pb.go @@ -311,41 +311,41 @@ func init() { func init() { proto.RegisterFile("poktroll/application/query.proto", fileDescriptor_5cf77e4e046ed3a7) } var fileDescriptor_5cf77e4e046ed3a7 = []byte{ - // 538 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xc1, 0x6a, 0x13, 0x41, - 0x18, 0xc7, 0x33, 0xb5, 0x46, 0x3a, 0x11, 0xc4, 0x31, 0x87, 0xb2, 0x86, 0xb5, 0xdd, 0x43, 0x6d, - 0x2b, 0xce, 0x34, 0x51, 0x8a, 0x78, 0xd1, 0xe6, 0x60, 0x11, 0x41, 0xea, 0x1e, 0x3c, 0x78, 0x9b, - 0xa4, 0xc3, 0x76, 0xe9, 0x66, 0x67, 0xba, 0x33, 0x51, 0x8b, 0x78, 0x11, 0x1f, 0xa0, 0xe0, 0x4b, - 0x78, 0xec, 0xa1, 0x0f, 0xd1, 0x63, 0xc1, 0x8b, 0x27, 0x91, 0x44, 0xf0, 0x35, 0x64, 0x67, 0x66, - 0xe9, 0x44, 0xc7, 0xb4, 0xb9, 0x84, 0xc9, 0xee, 0xff, 0xff, 0xfd, 0x7f, 0xf3, 0x7d, 0x1f, 0x0b, - 0x97, 0x04, 0xdf, 0x57, 0x05, 0xcf, 0x32, 0x42, 0x85, 0xc8, 0xd2, 0x3e, 0x55, 0x29, 0xcf, 0xc9, - 0xc1, 0x90, 0x15, 0x87, 0x58, 0x14, 0x5c, 0x71, 0xd4, 0xac, 0x14, 0xd8, 0x51, 0x04, 0x37, 0xe9, - 0x20, 0xcd, 0x39, 0xd1, 0xbf, 0x46, 0x18, 0x34, 0x13, 0x9e, 0x70, 0x7d, 0x24, 0xe5, 0xc9, 0x3e, - 0x6d, 0x25, 0x9c, 0x27, 0x19, 0x23, 0x54, 0xa4, 0x84, 0xe6, 0x39, 0x57, 0xda, 0x2f, 0xed, 0xdb, - 0xf5, 0x3e, 0x97, 0x03, 0x2e, 0x49, 0x8f, 0x4a, 0x66, 0x52, 0xc9, 0xdb, 0x76, 0x8f, 0x29, 0xda, - 0x26, 0x82, 0x26, 0x69, 0xae, 0xc5, 0x56, 0x1b, 0xba, 0xda, 0x4a, 0xd5, 0xe7, 0x69, 0xf5, 0x7e, - 0xd9, 0x7b, 0x15, 0x41, 0x0b, 0x3a, 0xa8, 0xe2, 0x56, 0xbc, 0x12, 0xe7, 0x6c, 0x74, 0x51, 0x13, - 0xa2, 0x57, 0x25, 0xcc, 0x8e, 0x36, 0xc7, 0xec, 0x60, 0xc8, 0xa4, 0x8a, 0x5e, 0xc3, 0x5b, 0x13, - 0x4f, 0xa5, 0xe0, 0xb9, 0x64, 0xe8, 0x09, 0xac, 0x9b, 0x90, 0x45, 0xb0, 0x04, 0x56, 0x1b, 0x9d, - 0x16, 0xf6, 0x75, 0x0c, 0x1b, 0x57, 0x77, 0xe1, 0xf4, 0xc7, 0x9d, 0xda, 0xd7, 0xdf, 0xc7, 0xeb, - 0x20, 0xb6, 0xb6, 0x68, 0x13, 0x06, 0xba, 0xee, 0x36, 0x53, 0x5b, 0xe7, 0x06, 0x9b, 0x8a, 0x16, - 0xe1, 0x35, 0xba, 0xbb, 0x5b, 0x30, 0x69, 0xea, 0x2f, 0xc4, 0xd5, 0xdf, 0x68, 0x0f, 0xde, 0xf6, - 0xfa, 0x2c, 0xd7, 0x73, 0xd8, 0x70, 0xf2, 0x2d, 0xdc, 0xb2, 0x1f, 0xce, 0xf1, 0x77, 0xe7, 0x4b, - 0xc2, 0xd8, 0xf5, 0x46, 0xcc, 0x26, 0x6d, 0x65, 0x99, 0xa3, 0xac, 0x1a, 0x83, 0x9e, 0x41, 0x78, - 0x3e, 0x2d, 0x1b, 0xb4, 0x82, 0xcd, 0xb8, 0x70, 0x39, 0x2e, 0x6c, 0x16, 0xca, 0x0e, 0x0d, 0xef, - 0xd0, 0x84, 0x59, 0x6f, 0xec, 0x38, 0xa3, 0x13, 0x00, 0x5b, 0xfe, 0x1c, 0x7b, 0xa5, 0x17, 0xf0, - 0xba, 0x83, 0x55, 0x36, 0xe4, 0xca, 0x2c, 0x77, 0x9a, 0x30, 0xa3, 0xed, 0x09, 0xea, 0x39, 0x4d, - 0x7d, 0xf7, 0x42, 0x6a, 0x43, 0xe2, 0x62, 0x77, 0x3e, 0xcf, 0xc3, 0xab, 0x1a, 0x1b, 0x1d, 0x01, - 0x58, 0x37, 0x73, 0x46, 0xab, 0x7e, 0xa8, 0x7f, 0xd7, 0x2a, 0x58, 0xbb, 0x84, 0xd2, 0xa4, 0x46, - 0xed, 0x4f, 0xdf, 0x7e, 0x7d, 0x99, 0xbb, 0x87, 0xd6, 0x48, 0x69, 0xb9, 0x9f, 0x33, 0xf5, 0x8e, - 0x17, 0xfb, 0x64, 0xca, 0xe2, 0xa3, 0x13, 0x00, 0x1b, 0x4e, 0x27, 0xd0, 0xc6, 0x94, 0x34, 0xef, - 0x02, 0x06, 0xed, 0x19, 0x1c, 0x96, 0xf3, 0xa9, 0xe6, 0x7c, 0x8c, 0x1e, 0x5d, 0x82, 0xd3, 0x3d, - 0x7f, 0xb0, 0xab, 0xfd, 0x11, 0x1d, 0x03, 0x78, 0xe3, 0xaf, 0x2d, 0x40, 0xd3, 0x40, 0xfc, 0x9b, - 0x19, 0x74, 0x66, 0xb1, 0x58, 0xf8, 0x4d, 0x0d, 0xbf, 0x81, 0xf0, 0x6c, 0xf0, 0xdd, 0x97, 0xa7, - 0xa3, 0x10, 0x9c, 0x8d, 0x42, 0xf0, 0x73, 0x14, 0x82, 0xa3, 0x71, 0x58, 0x3b, 0x1b, 0x87, 0xb5, - 0xef, 0xe3, 0xb0, 0xf6, 0xe6, 0x61, 0x92, 0xaa, 0xbd, 0x61, 0x0f, 0xf7, 0xf9, 0xe0, 0x3f, 0x35, - 0xdf, 0x4f, 0x54, 0x55, 0x87, 0x82, 0xc9, 0x5e, 0x5d, 0x7f, 0x8b, 0x1e, 0xfc, 0x09, 0x00, 0x00, - 0xff, 0xff, 0x90, 0x94, 0x0d, 0x72, 0xa3, 0x05, 0x00, 0x00, + // 536 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x4f, 0x6b, 0x13, 0x41, + 0x18, 0xc6, 0x33, 0xb5, 0x46, 0x3a, 0x11, 0xc4, 0x31, 0x87, 0xb2, 0x86, 0xb5, 0xdd, 0x83, 0xb6, + 0x15, 0x67, 0x9a, 0x28, 0x45, 0xbc, 0x68, 0x73, 0xb0, 0x88, 0x20, 0x75, 0x0f, 0x1e, 0xbc, 0x4d, + 0xd2, 0x61, 0xbb, 0x74, 0xb3, 0xef, 0x76, 0x77, 0xa2, 0x16, 0xf1, 0x22, 0x7e, 0x80, 0x82, 0x5f, + 0xc2, 0x63, 0x0f, 0xfd, 0x10, 0x3d, 0x16, 0xbc, 0x78, 0x12, 0x49, 0x04, 0xbf, 0x86, 0xec, 0xcc, + 0x2c, 0x9d, 0xd8, 0x31, 0x6d, 0x2e, 0x61, 0xb2, 0xfb, 0x3c, 0xf3, 0xfc, 0xde, 0x3f, 0x2c, 0x5e, + 0xca, 0x60, 0x4f, 0xe6, 0x90, 0x24, 0x8c, 0x67, 0x59, 0x12, 0xf7, 0xb9, 0x8c, 0x21, 0x65, 0xfb, + 0x43, 0x91, 0x1f, 0xd0, 0x2c, 0x07, 0x09, 0xa4, 0x59, 0x29, 0xa8, 0xa5, 0xf0, 0x6e, 0xf2, 0x41, + 0x9c, 0x02, 0x53, 0xbf, 0x5a, 0xe8, 0x35, 0x23, 0x88, 0x40, 0x1d, 0x59, 0x79, 0x32, 0x4f, 0x5b, + 0x11, 0x40, 0x94, 0x08, 0xc6, 0xb3, 0x98, 0xf1, 0x34, 0x05, 0xa9, 0xfc, 0x85, 0x79, 0xbb, 0xd6, + 0x87, 0x62, 0x00, 0x05, 0xeb, 0xf1, 0x42, 0xe8, 0x54, 0xf6, 0xae, 0xdd, 0x13, 0x92, 0xb7, 0x59, + 0xc6, 0xa3, 0x38, 0x55, 0x62, 0xa3, 0xf5, 0x6d, 0x6d, 0xa5, 0xea, 0x43, 0x5c, 0xbd, 0x5f, 0x76, + 0x96, 0x92, 0xf1, 0x9c, 0x0f, 0xaa, 0x38, 0x77, 0xb5, 0xf2, 0x20, 0x13, 0x46, 0x11, 0x34, 0x31, + 0x79, 0x5d, 0x62, 0x6c, 0x2b, 0x5b, 0x28, 0xf6, 0x87, 0xa2, 0x90, 0xc1, 0x1b, 0x7c, 0x6b, 0xe2, + 0x69, 0x91, 0x41, 0x5a, 0x08, 0xf2, 0x14, 0xd7, 0xf5, 0xf5, 0x8b, 0x68, 0x09, 0xad, 0x34, 0x3a, + 0x2d, 0xea, 0xea, 0x15, 0xd5, 0xae, 0xee, 0xc2, 0xc9, 0xcf, 0x3b, 0xb5, 0x6f, 0x7f, 0x8e, 0xd6, + 0x50, 0x68, 0x6c, 0xc1, 0x06, 0xf6, 0xd4, 0xbd, 0x5b, 0x42, 0x6e, 0x9e, 0x19, 0x4c, 0x2a, 0x59, + 0xc4, 0xd7, 0xf8, 0xce, 0x4e, 0x2e, 0x0a, 0x7d, 0xff, 0x42, 0x58, 0xfd, 0x0d, 0x76, 0xf1, 0x6d, + 0xa7, 0xcf, 0x70, 0xbd, 0xc0, 0x0d, 0x2b, 0xdf, 0xc0, 0x2d, 0xbb, 0xe1, 0x2c, 0x7f, 0x77, 0xbe, + 0x24, 0x0c, 0x6d, 0x6f, 0x20, 0x4c, 0xd2, 0x66, 0x92, 0x58, 0xca, 0xaa, 0x31, 0xe4, 0x39, 0xc6, + 0x67, 0x73, 0x32, 0x41, 0x77, 0xa9, 0x1e, 0x14, 0x2d, 0x07, 0x45, 0xf5, 0x2a, 0x99, 0x71, 0xd1, + 0x6d, 0x1e, 0x09, 0xe3, 0x0d, 0x2d, 0x67, 0x70, 0x8c, 0x70, 0xcb, 0x9d, 0x63, 0x4a, 0x7a, 0x89, + 0xaf, 0x5b, 0x58, 0x65, 0x43, 0xae, 0xcc, 0x52, 0xd3, 0x84, 0x99, 0x6c, 0x4d, 0x50, 0xcf, 0x29, + 0xea, 0x7b, 0x17, 0x52, 0x6b, 0x12, 0x1b, 0xbb, 0xf3, 0x65, 0x1e, 0x5f, 0x55, 0xd8, 0xe4, 0x10, + 0xe1, 0xba, 0x9e, 0x33, 0x59, 0x71, 0x43, 0x9d, 0x5f, 0x2b, 0x6f, 0xf5, 0x12, 0x4a, 0x9d, 0x1a, + 0xb4, 0x3f, 0x7f, 0xff, 0xfd, 0x75, 0xee, 0x3e, 0x59, 0x65, 0xa5, 0xe5, 0x41, 0x2a, 0xe4, 0x7b, + 0xc8, 0xf7, 0xd8, 0x94, 0x95, 0x27, 0xc7, 0x08, 0x37, 0xac, 0x4e, 0x90, 0xf5, 0x29, 0x69, 0xce, + 0x05, 0xf4, 0xda, 0x33, 0x38, 0x0c, 0xe7, 0x33, 0xc5, 0xf9, 0x84, 0x3c, 0xbe, 0x04, 0xa7, 0x7d, + 0xfe, 0x68, 0x56, 0xfb, 0x13, 0x39, 0x42, 0xf8, 0xc6, 0x3f, 0x5b, 0x40, 0xa6, 0x81, 0xb8, 0x37, + 0xd3, 0xeb, 0xcc, 0x62, 0x31, 0xf0, 0x1b, 0x0a, 0x7e, 0x9d, 0xd0, 0xd9, 0xe0, 0xbb, 0xaf, 0x4e, + 0x46, 0x3e, 0x3a, 0x1d, 0xf9, 0xe8, 0xd7, 0xc8, 0x47, 0x87, 0x63, 0xbf, 0x76, 0x3a, 0xf6, 0x6b, + 0x3f, 0xc6, 0x7e, 0xed, 0xed, 0xa3, 0x28, 0x96, 0xbb, 0xc3, 0x1e, 0xed, 0xc3, 0xe0, 0x3f, 0x77, + 0x7e, 0x38, 0xff, 0x29, 0xea, 0xd5, 0xd5, 0xb7, 0xe8, 0xe1, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x48, 0x84, 0xf1, 0x3e, 0x9d, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/application/types/application.pb.go b/x/application/types/types.pb.go similarity index 74% rename from x/application/types/application.pb.go rename to x/application/types/types.pb.go index 928be876e..2e9c55442 100644 --- a/x/application/types/application.pb.go +++ b/x/application/types/types.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: poktroll/application/application.proto +// source: poktroll/application/types.proto package types @@ -47,7 +47,7 @@ func (m *Application) Reset() { *m = Application{} } func (m *Application) String() string { return proto.CompactTextString(m) } func (*Application) ProtoMessage() {} func (*Application) Descriptor() ([]byte, []int) { - return fileDescriptor_5933c748ae9780b4, []int{0} + return fileDescriptor_1899440439257283, []int{0} } func (m *Application) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -121,7 +121,7 @@ func (m *UndelegatingGatewayList) Reset() { *m = UndelegatingGatewayList func (m *UndelegatingGatewayList) String() string { return proto.CompactTextString(m) } func (*UndelegatingGatewayList) ProtoMessage() {} func (*UndelegatingGatewayList) Descriptor() ([]byte, []int) { - return fileDescriptor_5933c748ae9780b4, []int{1} + return fileDescriptor_1899440439257283, []int{1} } func (m *UndelegatingGatewayList) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -163,42 +163,40 @@ func init() { proto.RegisterType((*UndelegatingGatewayList)(nil), "poktroll.application.UndelegatingGatewayList") } -func init() { - proto.RegisterFile("poktroll/application/application.proto", fileDescriptor_5933c748ae9780b4) -} +func init() { proto.RegisterFile("poktroll/application/types.proto", fileDescriptor_1899440439257283) } -var fileDescriptor_5933c748ae9780b4 = []byte{ - // 476 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x8b, 0x13, 0x31, - 0x14, 0xc7, 0x3b, 0xfd, 0xa1, 0x6c, 0x0a, 0xba, 0x86, 0x8a, 0xd3, 0xaa, 0x63, 0xd9, 0x83, 0xd4, - 0x43, 0x13, 0xb6, 0x7a, 0x10, 0x3d, 0xb5, 0x45, 0x44, 0x10, 0x91, 0x59, 0xbc, 0x88, 0x30, 0xa4, - 0x33, 0x31, 0x1b, 0x3a, 0x9b, 0x0c, 0x49, 0x3a, 0x6b, 0xff, 0x0b, 0x0f, 0xfe, 0x29, 0xfe, 0x11, - 0x7b, 0x5c, 0x3c, 0x79, 0x12, 0x69, 0xff, 0x11, 0x99, 0x49, 0xda, 0x1d, 0xb5, 0x85, 0xbd, 0x0c, - 0x2f, 0xbc, 0xef, 0xf7, 0xcd, 0xe7, 0xbd, 0x97, 0x80, 0xc7, 0x99, 0x9c, 0x1b, 0x25, 0xd3, 0x14, - 0x93, 0x2c, 0x4b, 0x79, 0x4c, 0x0c, 0x97, 0xa2, 0x1a, 0xa3, 0x4c, 0x49, 0x23, 0x61, 0x67, 0xa3, - 0x43, 0x95, 0x5c, 0xaf, 0xc3, 0x24, 0x93, 0xa5, 0x00, 0x17, 0x91, 0xd5, 0xf6, 0x82, 0x58, 0xea, - 0x33, 0xa9, 0xf1, 0x8c, 0x68, 0x8a, 0xf3, 0xe3, 0x19, 0x35, 0xe4, 0x18, 0xc7, 0x92, 0xbb, 0x5a, - 0xbd, 0xae, 0xcd, 0x47, 0xd6, 0x68, 0x0f, 0x2e, 0xf5, 0x70, 0x8b, 0xa3, 0x4f, 0x89, 0xa2, 0x09, - 0xd6, 0x54, 0xe5, 0x3c, 0xa6, 0x36, 0x7d, 0xf4, 0xad, 0x09, 0xda, 0xe3, 0xab, 0xff, 0xc3, 0x11, - 0xb8, 0x49, 0x92, 0x44, 0x51, 0xad, 0x7d, 0xaf, 0xef, 0x0d, 0x0e, 0x26, 0xfe, 0x8f, 0xef, 0xc3, - 0x8e, 0xab, 0x38, 0xb6, 0x99, 0x13, 0xa3, 0xb8, 0x60, 0xe1, 0x46, 0x08, 0x31, 0x68, 0x69, 0x43, - 0xe6, 0xd4, 0xaf, 0xf7, 0xbd, 0x41, 0x7b, 0xd4, 0x45, 0x4e, 0x5e, 0xd0, 0x22, 0x47, 0x8b, 0xa6, - 0x92, 0x8b, 0xd0, 0xea, 0x60, 0x08, 0x6e, 0x3b, 0x8a, 0x28, 0x96, 0xe2, 0x33, 0x67, 0xda, 0x6f, - 0xf4, 0x1b, 0x83, 0xf6, 0xe8, 0x09, 0xda, 0x0e, 0xc5, 0xd2, 0xa2, 0x0a, 0xdb, 0x89, 0xb5, 0x4c, - 0x4b, 0x47, 0x78, 0x4b, 0x57, 0x8f, 0x1a, 0x7e, 0x02, 0xf7, 0x13, 0x9a, 0x52, 0x46, 0x0c, 0xa5, - 0x51, 0xf1, 0x3d, 0x27, 0xcb, 0xc8, 0x11, 0x52, 0xed, 0x37, 0xfb, 0x8d, 0xc1, 0xc1, 0xe4, 0xc1, - 0xc5, 0xaf, 0x47, 0xb5, 0xbd, 0x0d, 0x75, 0xb7, 0x05, 0x5e, 0x5b, 0xff, 0x78, 0x63, 0x87, 0x39, - 0xb8, 0x9b, 0x51, 0x91, 0x70, 0xc1, 0xa2, 0x85, 0x70, 0x32, 0x2e, 0x85, 0xf6, 0x5b, 0x25, 0xf7, - 0x4b, 0xb4, 0x6b, 0x99, 0x55, 0x78, 0xf4, 0xde, 0xda, 0x3f, 0x54, 0xdd, 0xaf, 0x84, 0x51, 0xcb, - 0x49, 0xb3, 0x80, 0x0a, 0x3b, 0xd9, 0x0e, 0x41, 0x2f, 0x07, 0xdd, 0xbd, 0x46, 0x78, 0x08, 0x1a, - 0x73, 0xba, 0x2c, 0xf7, 0xd4, 0x0c, 0x8b, 0x10, 0x4e, 0x41, 0x2b, 0x27, 0xe9, 0x62, 0xb3, 0x89, - 0xe1, 0x6e, 0xac, 0xab, 0x52, 0x82, 0xb9, 0x4e, 0xdf, 0x72, 0x6d, 0x42, 0xeb, 0x7d, 0x51, 0x7f, - 0xee, 0x1d, 0x25, 0xe0, 0xde, 0x1e, 0x15, 0x7c, 0x03, 0xee, 0xfc, 0x3f, 0xde, 0xfa, 0x35, 0xc6, - 0x7b, 0xc8, 0xfe, 0x99, 0xea, 0xe4, 0xdd, 0xc5, 0x2a, 0xf0, 0x2e, 0x57, 0x81, 0xf7, 0x7b, 0x15, - 0x78, 0x5f, 0xd7, 0x41, 0xed, 0x72, 0x1d, 0xd4, 0x7e, 0xae, 0x83, 0xda, 0xc7, 0x67, 0x8c, 0x9b, - 0xd3, 0xc5, 0x0c, 0xc5, 0xf2, 0x0c, 0x17, 0x3d, 0x0c, 0x05, 0x35, 0xe7, 0x52, 0xcd, 0xf1, 0xf6, - 0x36, 0x7f, 0xf9, 0xeb, 0x79, 0x99, 0x65, 0x46, 0xf5, 0xec, 0x46, 0x79, 0xa7, 0x9f, 0xfe, 0x09, - 0x00, 0x00, 0xff, 0xff, 0xad, 0x54, 0x4d, 0x0e, 0x83, 0x03, 0x00, 0x00, +var fileDescriptor_1899440439257283 = []byte{ + // 473 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x4f, 0x8b, 0xd3, 0x40, + 0x18, 0xc6, 0x9b, 0xfe, 0x51, 0x76, 0x0a, 0xba, 0x0e, 0x15, 0xd3, 0xaa, 0x31, 0xec, 0xa9, 0x1e, + 0x3a, 0xc3, 0x56, 0x0f, 0xa2, 0xa7, 0xb6, 0x88, 0x08, 0x22, 0x92, 0xc5, 0x8b, 0x08, 0x61, 0x9a, + 0x8c, 0xb3, 0x43, 0xb3, 0x33, 0x21, 0x33, 0xcd, 0xda, 0x6f, 0xe1, 0xc1, 0x8f, 0xe2, 0x87, 0xd8, + 0xe3, 0xe2, 0xc9, 0x93, 0x48, 0xfb, 0x45, 0x24, 0x99, 0x69, 0x36, 0xd8, 0x16, 0xbc, 0x94, 0x19, + 0x9e, 0xe7, 0x79, 0xfb, 0x7b, 0xdf, 0x77, 0x02, 0xfc, 0x54, 0x2e, 0x74, 0x26, 0x93, 0x04, 0x93, + 0x34, 0x4d, 0x78, 0x44, 0x34, 0x97, 0x02, 0xeb, 0x55, 0x4a, 0x15, 0x4a, 0x33, 0xa9, 0x25, 0xec, + 0x6d, 0x1d, 0xa8, 0xe6, 0x18, 0xf4, 0x98, 0x64, 0xb2, 0x34, 0xe0, 0xe2, 0x64, 0xbc, 0x03, 0x2f, + 0x92, 0xea, 0x42, 0x2a, 0x3c, 0x27, 0x8a, 0xe2, 0xfc, 0x74, 0x4e, 0x35, 0x39, 0xc5, 0x91, 0xe4, + 0xc2, 0xea, 0x7d, 0xa3, 0x87, 0x26, 0x68, 0x2e, 0x56, 0x7a, 0x5c, 0x81, 0xa8, 0x73, 0x92, 0xd1, + 0x18, 0x2b, 0x9a, 0xe5, 0x3c, 0xa2, 0x46, 0x3e, 0xf9, 0xde, 0x06, 0xdd, 0xc9, 0xcd, 0xff, 0xc3, + 0x31, 0xb8, 0x4d, 0xe2, 0x38, 0xa3, 0x4a, 0xb9, 0x8e, 0xef, 0x0c, 0x8f, 0xa6, 0xee, 0xcf, 0x1f, + 0xa3, 0x9e, 0xad, 0x38, 0x31, 0xca, 0x99, 0xce, 0xb8, 0x60, 0xc1, 0xd6, 0x08, 0x31, 0xe8, 0x28, + 0x4d, 0x16, 0xd4, 0x6d, 0xfa, 0xce, 0xb0, 0x3b, 0xee, 0x23, 0x6b, 0x2f, 0x68, 0x91, 0xa5, 0x45, + 0x33, 0xc9, 0x45, 0x60, 0x7c, 0x30, 0x00, 0x77, 0x2d, 0x45, 0x18, 0x49, 0xf1, 0x85, 0x33, 0xe5, + 0xb6, 0xfc, 0xd6, 0xb0, 0x3b, 0x7e, 0x8a, 0xaa, 0xa1, 0x18, 0x5a, 0x54, 0x63, 0x3b, 0x33, 0x91, + 0x59, 0x99, 0x08, 0xee, 0xa8, 0xfa, 0x55, 0xc1, 0xcf, 0xe0, 0x61, 0x4c, 0x13, 0xca, 0x88, 0xa6, + 0x34, 0x2c, 0x7e, 0x2f, 0xc9, 0x2a, 0xb4, 0x84, 0x54, 0xb9, 0x6d, 0xbf, 0x35, 0x3c, 0x9a, 0x3e, + 0xba, 0xfa, 0xfd, 0xa4, 0x71, 0xb0, 0xa1, 0x7e, 0x55, 0xe0, 0x8d, 0xc9, 0x4f, 0xb6, 0x71, 0x98, + 0x83, 0xfb, 0x29, 0x15, 0x31, 0x17, 0x2c, 0x5c, 0x0a, 0x6b, 0xe3, 0x52, 0x28, 0xb7, 0x53, 0x72, + 0xbf, 0x42, 0xfb, 0x96, 0x59, 0x87, 0x47, 0x1f, 0x4c, 0xfc, 0x63, 0x3d, 0xfd, 0x5a, 0xe8, 0x6c, + 0x35, 0x6d, 0x17, 0x50, 0x41, 0x2f, 0xdd, 0x63, 0x18, 0xe4, 0xa0, 0x7f, 0x30, 0x08, 0x8f, 0x41, + 0x6b, 0x41, 0x57, 0xe5, 0x9e, 0xda, 0x41, 0x71, 0x84, 0x33, 0xd0, 0xc9, 0x49, 0xb2, 0xdc, 0x6e, + 0x62, 0xb4, 0x1f, 0xeb, 0xa6, 0x94, 0x60, 0xb6, 0xd3, 0x77, 0x5c, 0xe9, 0xc0, 0x64, 0x5f, 0x36, + 0x5f, 0x38, 0x27, 0x31, 0x78, 0x70, 0xc0, 0x05, 0xdf, 0x82, 0x7b, 0xbb, 0xe3, 0x6d, 0xfe, 0xc7, + 0x78, 0x8f, 0xd9, 0x3f, 0x53, 0x9d, 0xbe, 0xbf, 0x5a, 0x7b, 0xce, 0xf5, 0xda, 0x73, 0xfe, 0xac, + 0x3d, 0xe7, 0xdb, 0xc6, 0x6b, 0x5c, 0x6f, 0xbc, 0xc6, 0xaf, 0x8d, 0xd7, 0xf8, 0xf4, 0x9c, 0x71, + 0x7d, 0xbe, 0x9c, 0xa3, 0x48, 0x5e, 0xe0, 0xa2, 0x87, 0x91, 0xa0, 0xfa, 0x52, 0x66, 0x0b, 0x5c, + 0xbd, 0xe6, 0xaf, 0xbb, 0x1f, 0xd6, 0xfc, 0x56, 0xf9, 0xa6, 0x9f, 0xfd, 0x0d, 0x00, 0x00, 0xff, + 0xff, 0xac, 0x5c, 0x63, 0xa6, 0x7d, 0x03, 0x00, 0x00, } func (m *Application) Marshal() (dAtA []byte, err error) { @@ -231,14 +229,14 @@ func (m *Application) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintApplication(dAtA, i, uint64(size)) + i = encodeVarintTypes(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x12 - i = encodeVarintApplication(dAtA, i, uint64(k)) + i = encodeVarintTypes(dAtA, i, uint64(k)) i-- dAtA[i] = 0x8 - i = encodeVarintApplication(dAtA, i, uint64(baseI-i)) + i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) i-- dAtA[i] = 0x2a } @@ -247,7 +245,7 @@ func (m *Application) MarshalToSizedBuffer(dAtA []byte) (int, error) { for iNdEx := len(m.DelegateeGatewayAddresses) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.DelegateeGatewayAddresses[iNdEx]) copy(dAtA[i:], m.DelegateeGatewayAddresses[iNdEx]) - i = encodeVarintApplication(dAtA, i, uint64(len(m.DelegateeGatewayAddresses[iNdEx]))) + i = encodeVarintTypes(dAtA, i, uint64(len(m.DelegateeGatewayAddresses[iNdEx]))) i-- dAtA[i] = 0x22 } @@ -260,7 +258,7 @@ func (m *Application) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintApplication(dAtA, i, uint64(size)) + i = encodeVarintTypes(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x1a @@ -273,7 +271,7 @@ func (m *Application) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintApplication(dAtA, i, uint64(size)) + i = encodeVarintTypes(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x12 @@ -281,7 +279,7 @@ func (m *Application) MarshalToSizedBuffer(dAtA []byte) (int, error) { if len(m.Address) > 0 { i -= len(m.Address) copy(dAtA[i:], m.Address) - i = encodeVarintApplication(dAtA, i, uint64(len(m.Address))) + i = encodeVarintTypes(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0xa } @@ -312,7 +310,7 @@ func (m *UndelegatingGatewayList) MarshalToSizedBuffer(dAtA []byte) (int, error) for iNdEx := len(m.GatewayAddresses) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.GatewayAddresses[iNdEx]) copy(dAtA[i:], m.GatewayAddresses[iNdEx]) - i = encodeVarintApplication(dAtA, i, uint64(len(m.GatewayAddresses[iNdEx]))) + i = encodeVarintTypes(dAtA, i, uint64(len(m.GatewayAddresses[iNdEx]))) i-- dAtA[i] = 0x12 } @@ -320,8 +318,8 @@ func (m *UndelegatingGatewayList) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func encodeVarintApplication(dAtA []byte, offset int, v uint64) int { - offset -= sovApplication(v) +func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { + offset -= sovTypes(v) base := offset for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) @@ -339,22 +337,22 @@ func (m *Application) Size() (n int) { _ = l l = len(m.Address) if l > 0 { - n += 1 + l + sovApplication(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } if m.Stake != nil { l = m.Stake.Size() - n += 1 + l + sovApplication(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } if len(m.ServiceConfigs) > 0 { for _, e := range m.ServiceConfigs { l = e.Size() - n += 1 + l + sovApplication(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } } if len(m.DelegateeGatewayAddresses) > 0 { for _, s := range m.DelegateeGatewayAddresses { l = len(s) - n += 1 + l + sovApplication(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } } if len(m.PendingUndelegations) > 0 { @@ -362,8 +360,8 @@ func (m *Application) Size() (n int) { _ = k _ = v l = v.Size() - mapEntrySize := 1 + sovApplication(uint64(k)) + 1 + l + sovApplication(uint64(l)) - n += mapEntrySize + 1 + sovApplication(uint64(mapEntrySize)) + mapEntrySize := 1 + sovTypes(uint64(k)) + 1 + l + sovTypes(uint64(l)) + n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) } } return n @@ -378,17 +376,17 @@ func (m *UndelegatingGatewayList) Size() (n int) { if len(m.GatewayAddresses) > 0 { for _, s := range m.GatewayAddresses { l = len(s) - n += 1 + l + sovApplication(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } } return n } -func sovApplication(x uint64) (n int) { +func sovTypes(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } -func sozApplication(x uint64) (n int) { - return sovApplication(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +func sozTypes(x uint64) (n int) { + return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } func (m *Application) Unmarshal(dAtA []byte) error { l := len(dAtA) @@ -398,7 +396,7 @@ func (m *Application) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowApplication + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -426,7 +424,7 @@ func (m *Application) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowApplication + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -440,11 +438,11 @@ func (m *Application) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -458,7 +456,7 @@ func (m *Application) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowApplication + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -471,11 +469,11 @@ func (m *Application) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -494,7 +492,7 @@ func (m *Application) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowApplication + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -507,11 +505,11 @@ func (m *Application) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -528,7 +526,7 @@ func (m *Application) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowApplication + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -542,11 +540,11 @@ func (m *Application) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -560,7 +558,7 @@ func (m *Application) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowApplication + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -573,11 +571,11 @@ func (m *Application) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -592,7 +590,7 @@ func (m *Application) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowApplication + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -608,7 +606,7 @@ func (m *Application) Unmarshal(dAtA []byte) error { if fieldNum == 1 { for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowApplication + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -624,7 +622,7 @@ func (m *Application) Unmarshal(dAtA []byte) error { var mapmsglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowApplication + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -637,11 +635,11 @@ func (m *Application) Unmarshal(dAtA []byte) error { } } if mapmsglen < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } postmsgIndex := iNdEx + mapmsglen if postmsgIndex < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } if postmsgIndex > l { return io.ErrUnexpectedEOF @@ -653,12 +651,12 @@ func (m *Application) Unmarshal(dAtA []byte) error { iNdEx = postmsgIndex } else { iNdEx = entryPreIndex - skippy, err := skipApplication(dAtA[iNdEx:]) + skippy, err := skipTypes(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } if (iNdEx + skippy) > postIndex { return io.ErrUnexpectedEOF @@ -670,12 +668,12 @@ func (m *Application) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipApplication(dAtA[iNdEx:]) + skippy, err := skipTypes(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -697,7 +695,7 @@ func (m *UndelegatingGatewayList) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowApplication + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -725,7 +723,7 @@ func (m *UndelegatingGatewayList) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowApplication + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -739,11 +737,11 @@ func (m *UndelegatingGatewayList) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -752,12 +750,12 @@ func (m *UndelegatingGatewayList) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipApplication(dAtA[iNdEx:]) + skippy, err := skipTypes(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthApplication + return ErrInvalidLengthTypes } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -771,7 +769,7 @@ func (m *UndelegatingGatewayList) Unmarshal(dAtA []byte) error { } return nil } -func skipApplication(dAtA []byte) (n int, err error) { +func skipTypes(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 depth := 0 @@ -779,7 +777,7 @@ func skipApplication(dAtA []byte) (n int, err error) { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowApplication + return 0, ErrIntOverflowTypes } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -796,7 +794,7 @@ func skipApplication(dAtA []byte) (n int, err error) { case 0: for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowApplication + return 0, ErrIntOverflowTypes } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -812,7 +810,7 @@ func skipApplication(dAtA []byte) (n int, err error) { var length int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowApplication + return 0, ErrIntOverflowTypes } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -825,14 +823,14 @@ func skipApplication(dAtA []byte) (n int, err error) { } } if length < 0 { - return 0, ErrInvalidLengthApplication + return 0, ErrInvalidLengthTypes } iNdEx += length case 3: depth++ case 4: if depth == 0 { - return 0, ErrUnexpectedEndOfGroupApplication + return 0, ErrUnexpectedEndOfGroupTypes } depth-- case 5: @@ -841,7 +839,7 @@ func skipApplication(dAtA []byte) (n int, err error) { return 0, fmt.Errorf("proto: illegal wireType %d", wireType) } if iNdEx < 0 { - return 0, ErrInvalidLengthApplication + return 0, ErrInvalidLengthTypes } if depth == 0 { return iNdEx, nil @@ -851,7 +849,7 @@ func skipApplication(dAtA []byte) (n int, err error) { } var ( - ErrInvalidLengthApplication = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowApplication = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupApplication = fmt.Errorf("proto: unexpected end of group") + ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") ) diff --git a/x/gateway/types/genesis.pb.go b/x/gateway/types/genesis.pb.go index c7cc976de..bd980069d 100644 --- a/x/gateway/types/genesis.pb.go +++ b/x/gateway/types/genesis.pb.go @@ -85,24 +85,23 @@ func init() { func init() { proto.RegisterFile("poktroll/gateway/genesis.proto", fileDescriptor_df7fba938e36955d) } var fileDescriptor_df7fba938e36955d = []byte{ - // 257 bytes of a gzipped FileDescriptorProto + // 255 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0xc8, 0xcf, 0x2e, 0x29, 0xca, 0xcf, 0xc9, 0xd1, 0x4f, 0x4f, 0x2c, 0x49, 0x2d, 0x4f, 0xac, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x80, 0xc9, 0xeb, 0x41, 0xe5, 0xa5, 0x04, 0x13, 0x73, 0x33, 0xf3, 0xf2, 0xf5, 0xc1, 0x24, 0x44, 0x91, 0x94, 0x48, 0x7a, 0x7e, 0x7a, 0x3e, 0x98, 0xa9, 0x0f, 0x62, 0x41, 0x45, 0x65, 0x31, 0x8c, 0x2e, 0x48, 0x2c, 0x4a, - 0xcc, 0x85, 0x9a, 0x2c, 0x85, 0xc5, 0x66, 0x08, 0x0d, 0x91, 0x57, 0xea, 0x67, 0xe4, 0xe2, 0x71, - 0x87, 0xb8, 0x25, 0xb8, 0x24, 0xb1, 0x24, 0x55, 0xc8, 0x9a, 0x8b, 0x0d, 0x62, 0x80, 0x04, 0xa3, - 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x84, 0x1e, 0xba, 0xdb, 0xf4, 0x02, 0xc0, 0xf2, 0x4e, 0x9c, 0x27, - 0xee, 0xc9, 0x33, 0xac, 0x78, 0xbe, 0x41, 0x8b, 0x31, 0x08, 0xaa, 0x45, 0xc8, 0x89, 0x8b, 0x07, - 0xaa, 0x28, 0x3e, 0x27, 0xb3, 0xb8, 0x44, 0x82, 0x49, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x12, 0xd3, - 0x08, 0x77, 0x08, 0xed, 0xc4, 0x02, 0x32, 0x23, 0x88, 0x1b, 0x2a, 0xec, 0x93, 0x59, 0x5c, 0xe2, - 0xe4, 0x75, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, - 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x06, 0xe9, 0x99, 0x25, - 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x20, 0x13, 0x75, 0xf3, 0x52, 0x4b, 0xca, 0xf3, - 0x8b, 0xb2, 0xf5, 0xe1, 0x7e, 0xac, 0x80, 0xfb, 0xb2, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, - 0xec, 0x49, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x42, 0x2c, 0x44, 0xd9, 0x80, 0x01, 0x00, - 0x00, + 0xcc, 0x85, 0x9a, 0x2c, 0x25, 0x83, 0x21, 0x5d, 0x52, 0x59, 0x90, 0x0a, 0x95, 0x55, 0xea, 0x67, + 0xe4, 0xe2, 0x71, 0x87, 0xb8, 0x24, 0xb8, 0x24, 0xb1, 0x24, 0x55, 0xc8, 0x9a, 0x8b, 0x0d, 0xa2, + 0x5d, 0x82, 0x51, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x42, 0x0f, 0xdd, 0x65, 0x7a, 0x01, 0x60, 0x79, + 0x27, 0xce, 0x13, 0xf7, 0xe4, 0x19, 0x56, 0x3c, 0xdf, 0xa0, 0xc5, 0x18, 0x04, 0xd5, 0x22, 0xe4, + 0xc4, 0xc5, 0x03, 0x55, 0x14, 0x9f, 0x93, 0x59, 0x5c, 0x22, 0xc1, 0xa4, 0xc0, 0xac, 0xc1, 0x6d, + 0x24, 0x89, 0x69, 0x84, 0x3b, 0x84, 0x76, 0x62, 0x01, 0x99, 0x11, 0xc4, 0x0d, 0x15, 0xf6, 0xc9, + 0x2c, 0x2e, 0x71, 0xf2, 0x3a, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, + 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x83, + 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x90, 0x89, 0xba, 0x79, 0xa9, + 0x25, 0xe5, 0xf9, 0x45, 0xd9, 0xfa, 0x70, 0x1f, 0x56, 0xa0, 0xfa, 0x31, 0x89, 0x0d, 0xec, 0x49, + 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x9f, 0xec, 0xd3, 0x7e, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/gateway/types/query.pb.go b/x/gateway/types/query.pb.go index 03f87ca34..35356fc26 100644 --- a/x/gateway/types/query.pb.go +++ b/x/gateway/types/query.pb.go @@ -312,41 +312,41 @@ func init() { func init() { proto.RegisterFile("poktroll/gateway/query.proto", fileDescriptor_60df9a8709a45d29) } var fileDescriptor_60df9a8709a45d29 = []byte{ - // 538 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x31, 0x6f, 0xd3, 0x40, - 0x14, 0xc7, 0x73, 0x2d, 0x24, 0xf4, 0xba, 0xc0, 0x51, 0x41, 0x6a, 0x15, 0x83, 0x2c, 0xda, 0x86, - 0x48, 0xbd, 0x6b, 0xc3, 0x02, 0x62, 0x22, 0x03, 0x91, 0x98, 0x8a, 0xc5, 0xc4, 0x82, 0x2e, 0xe9, - 0xc9, 0x58, 0x75, 0x7c, 0xae, 0x7d, 0xa1, 0x44, 0x88, 0x05, 0xf1, 0x01, 0x90, 0x60, 0x60, 0x64, - 0x64, 0xe4, 0x23, 0x30, 0x76, 0xac, 0xc4, 0xc2, 0x84, 0x50, 0x82, 0xc4, 0xd7, 0x40, 0xbe, 0x7b, - 0x17, 0x12, 0x4e, 0x51, 0xb2, 0xc4, 0xb9, 0x7b, 0xff, 0xff, 0x7b, 0xbf, 0xe7, 0xf7, 0x64, 0xbc, - 0x95, 0xc9, 0x63, 0x95, 0xcb, 0x24, 0x61, 0x11, 0x57, 0xe2, 0x94, 0x0f, 0xd9, 0xc9, 0x40, 0xe4, - 0x43, 0x9a, 0xe5, 0x52, 0x49, 0x72, 0xd9, 0x46, 0x29, 0x44, 0xbd, 0x2b, 0xbc, 0x1f, 0xa7, 0x92, - 0xe9, 0x5f, 0x23, 0xf2, 0x36, 0x7b, 0xb2, 0xe8, 0xcb, 0xe2, 0xb9, 0x3e, 0x31, 0x73, 0x80, 0xd0, - 0x46, 0x24, 0x23, 0x69, 0xee, 0xcb, 0x7f, 0x70, 0xbb, 0x15, 0x49, 0x19, 0x25, 0x82, 0xf1, 0x2c, - 0x66, 0x3c, 0x4d, 0xa5, 0xe2, 0x2a, 0x96, 0xa9, 0xf5, 0x34, 0x4d, 0x06, 0xd6, 0xe5, 0x85, 0x30, + // 536 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x31, 0x6f, 0x13, 0x31, + 0x14, 0xc7, 0xe3, 0x16, 0x12, 0xea, 0x2e, 0x60, 0x2a, 0x48, 0x4f, 0xe5, 0x40, 0x27, 0xda, 0x86, + 0x48, 0xb5, 0xdb, 0xb0, 0x80, 0x98, 0xc8, 0x40, 0x24, 0xa6, 0x72, 0x62, 0x62, 0x41, 0x4e, 0x6a, + 0x1d, 0xa7, 0x5e, 0xce, 0xd7, 0x3b, 0x87, 0x12, 0x21, 0x16, 0xc4, 0x07, 0x40, 0x82, 0x81, 0x91, + 0x91, 0x91, 0x8f, 0xc0, 0xd8, 0xb1, 0x12, 0x0b, 0x13, 0x42, 0x09, 0x12, 0x5f, 0x03, 0x9d, 0xfd, + 0x1c, 0x12, 0xac, 0x28, 0x59, 0xda, 0xd8, 0xef, 0xff, 0xde, 0xff, 0xf7, 0xfc, 0x9e, 0x0e, 0x6f, + 0x65, 0xf2, 0x58, 0xe5, 0x32, 0x49, 0x58, 0xc4, 0x95, 0x38, 0xe5, 0x43, 0x76, 0x32, 0x10, 0xf9, + 0x90, 0x66, 0xb9, 0x54, 0x92, 0x5c, 0xb6, 0x51, 0x0a, 0x51, 0xef, 0x0a, 0xef, 0xc7, 0xa9, 0x64, + 0xfa, 0xaf, 0x11, 0x79, 0x9b, 0x3d, 0x59, 0xf4, 0x65, 0xf1, 0x5c, 0x9f, 0x98, 0x39, 0x40, 0x68, + 0x23, 0x92, 0x91, 0x34, 0xf7, 0xe5, 0x2f, 0xb8, 0xdd, 0x8a, 0xa4, 0x8c, 0x12, 0xc1, 0x78, 0x16, + 0x33, 0x9e, 0xa6, 0x52, 0x71, 0x15, 0xcb, 0xd4, 0xe6, 0x34, 0x4d, 0x05, 0xd6, 0xe5, 0x85, 0x30, 0x30, 0xec, 0xe5, 0x41, 0x57, 0x28, 0x7e, 0xc0, 0x32, 0x1e, 0xc5, 0xa9, 0x16, 0x83, 0xd6, 0x9f, - 0xd6, 0x5a, 0x55, 0x4f, 0xc6, 0x36, 0x7e, 0xc3, 0xe9, 0x2e, 0xe3, 0x39, 0xef, 0xdb, 0x52, 0xbe, - 0x13, 0x86, 0xa7, 0x89, 0x07, 0x1b, 0x98, 0x3c, 0x29, 0x01, 0x0e, 0xb5, 0x29, 0x14, 0x27, 0x03, - 0x51, 0xa8, 0x20, 0xc4, 0x57, 0x67, 0x6e, 0x8b, 0x4c, 0xa6, 0x85, 0x20, 0x0f, 0x70, 0xd5, 0x24, - 0xaf, 0xa3, 0x5b, 0xa8, 0xb1, 0xde, 0xaa, 0xd3, 0xff, 0x5f, 0x1e, 0x35, 0x8e, 0xf6, 0xda, 0xd9, - 0xcf, 0x9b, 0x95, 0x2f, 0x7f, 0xbe, 0x36, 0x51, 0x08, 0x96, 0xa0, 0x85, 0xaf, 0xe9, 0x9c, 0x1d, - 0xa1, 0x3a, 0x46, 0x0c, 0xd5, 0x48, 0x1d, 0xd7, 0xf8, 0xd1, 0x51, 0x2e, 0x0a, 0x93, 0x77, 0x2d, - 0xb4, 0xc7, 0xe0, 0x29, 0xbe, 0xee, 0x78, 0x80, 0xe5, 0x3e, 0xae, 0x41, 0x4d, 0x80, 0xd9, 0x74, - 0x61, 0xc0, 0xd3, 0xbe, 0x50, 0xd2, 0x84, 0x56, 0x1f, 0x70, 0xc8, 0xfa, 0x30, 0x49, 0x40, 0x61, - 0x1b, 0x27, 0x8f, 0x30, 0xfe, 0x37, 0x01, 0x48, 0xbc, 0x43, 0x61, 0xe0, 0xe5, 0x08, 0xa8, 0xd9, - 0x1d, 0x18, 0x04, 0x3d, 0xe4, 0x91, 0x00, 0x6f, 0x38, 0xe5, 0x0c, 0x3e, 0x23, 0x5c, 0x77, 0x6b, - 0x4c, 0x5e, 0xe3, 0x25, 0x40, 0x29, 0x1b, 0x5e, 0x5d, 0x86, 0x7d, 0x62, 0x20, 0x9d, 0x19, 0xc2, - 0x15, 0x4d, 0xb8, 0xbb, 0x90, 0xd0, 0x54, 0x9e, 0x46, 0x6c, 0x7d, 0x5b, 0xc5, 0x17, 0x35, 0x22, - 0x79, 0x87, 0x70, 0xd5, 0xcc, 0x8d, 0xdc, 0x76, 0x41, 0xdc, 0xf5, 0xf0, 0xb6, 0x17, 0xa8, 0x4c, - 0xb5, 0x60, 0xef, 0xed, 0xf7, 0xdf, 0x1f, 0x56, 0x76, 0xc9, 0x36, 0x2b, 0xe5, 0x7b, 0xa9, 0x50, - 0xa7, 0x32, 0x3f, 0x66, 0x73, 0x16, 0x96, 0x7c, 0x42, 0xb8, 0x06, 0x5d, 0x93, 0xc6, 0x9c, 0x0a, - 0xce, 0xf2, 0x78, 0x77, 0x96, 0x50, 0x02, 0xcf, 0x3d, 0xcd, 0xd3, 0x22, 0xfb, 0x0b, 0x78, 0xec, - 0xf3, 0x35, 0xac, 0xe1, 0x1b, 0xf2, 0x11, 0xe1, 0xf5, 0xa9, 0x49, 0x92, 0x79, 0x45, 0xdd, 0x8d, - 0xf2, 0x9a, 0xcb, 0x48, 0x01, 0x90, 0x6a, 0xc0, 0x06, 0xd9, 0x59, 0x0e, 0xb0, 0xfd, 0xf8, 0x6c, - 0xe4, 0xa3, 0xf3, 0x91, 0x8f, 0x7e, 0x8d, 0x7c, 0xf4, 0x7e, 0xec, 0x57, 0xce, 0xc7, 0x7e, 0xe5, - 0xc7, 0xd8, 0xaf, 0x3c, 0xdb, 0x8f, 0x62, 0xf5, 0x62, 0xd0, 0xa5, 0x3d, 0xd9, 0x9f, 0x93, 0xeb, - 0xd5, 0x24, 0x9b, 0x1a, 0x66, 0xa2, 0xe8, 0x56, 0xf5, 0xf7, 0xe0, 0xee, 0xdf, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xde, 0x0e, 0x53, 0x9f, 0x2e, 0x05, 0x00, 0x00, + 0xd6, 0x5a, 0x55, 0x4f, 0xc6, 0x36, 0x7e, 0xc3, 0xe9, 0x2e, 0xe3, 0x39, 0xef, 0x5b, 0x2b, 0xb7, + 0x79, 0x35, 0xcc, 0x04, 0x44, 0x83, 0x0d, 0x4c, 0x9e, 0x94, 0xf6, 0x87, 0x3a, 0x25, 0x14, 0x27, + 0x03, 0x51, 0xa8, 0x20, 0xc4, 0x57, 0x67, 0x6e, 0x8b, 0x4c, 0xa6, 0x85, 0x20, 0x0f, 0x70, 0xd5, + 0x94, 0xae, 0xa3, 0x5b, 0xa8, 0xb1, 0xde, 0xaa, 0xd3, 0xff, 0x9f, 0x8e, 0x9a, 0x8c, 0xf6, 0xda, + 0xd9, 0xcf, 0x9b, 0x95, 0x2f, 0x7f, 0xbe, 0x36, 0x51, 0x08, 0x29, 0x41, 0x0b, 0x5f, 0xd3, 0x35, + 0x3b, 0x42, 0x75, 0x8c, 0x18, 0xdc, 0x48, 0x1d, 0xd7, 0xf8, 0xd1, 0x51, 0x2e, 0x0a, 0x53, 0x77, + 0x2d, 0xb4, 0xc7, 0xe0, 0x29, 0xbe, 0xee, 0xe4, 0x00, 0xcb, 0x7d, 0x5c, 0x03, 0x4f, 0x80, 0xd9, + 0x74, 0x61, 0x20, 0xa7, 0x7d, 0xa1, 0xa4, 0x09, 0xad, 0x3e, 0xe0, 0x50, 0xf5, 0x61, 0x92, 0x80, + 0xc2, 0x36, 0x4e, 0x1e, 0x61, 0xfc, 0xef, 0xfd, 0xa1, 0xf0, 0x0e, 0x85, 0x71, 0x97, 0x03, 0xa0, + 0x66, 0x73, 0x60, 0x0c, 0xf4, 0x90, 0x47, 0x02, 0x72, 0xc3, 0xa9, 0xcc, 0xe0, 0x33, 0xc2, 0x75, + 0xd7, 0x63, 0xf2, 0x8c, 0x97, 0x00, 0xa5, 0x6c, 0x78, 0x75, 0x19, 0xf6, 0x49, 0x02, 0xe9, 0xcc, + 0x10, 0xae, 0x68, 0xc2, 0xdd, 0x85, 0x84, 0xc6, 0x79, 0x1a, 0xb1, 0xf5, 0x6d, 0x15, 0x5f, 0xd4, + 0x88, 0xe4, 0x1d, 0xc2, 0x55, 0x33, 0x37, 0x72, 0xdb, 0x05, 0x71, 0xd7, 0xc3, 0xdb, 0x5e, 0xa0, + 0x32, 0x6e, 0xc1, 0xde, 0xdb, 0xef, 0xbf, 0x3f, 0xac, 0xec, 0x92, 0x6d, 0x56, 0xca, 0xf7, 0x52, + 0xa1, 0x4e, 0x65, 0x7e, 0xcc, 0xe6, 0xac, 0x2b, 0xf9, 0x84, 0x70, 0x0d, 0xba, 0x26, 0x8d, 0x39, + 0x0e, 0xce, 0xf2, 0x78, 0x77, 0x96, 0x50, 0x02, 0xcf, 0x3d, 0xcd, 0xd3, 0x22, 0xfb, 0x0b, 0x78, + 0xec, 0xff, 0xd7, 0xb0, 0x86, 0x6f, 0xc8, 0x47, 0x84, 0xd7, 0xa7, 0x26, 0x49, 0xe6, 0x99, 0xba, + 0x1b, 0xe5, 0x35, 0x97, 0x91, 0x02, 0x20, 0xd5, 0x80, 0x0d, 0xb2, 0xb3, 0x1c, 0x60, 0xfb, 0xf1, + 0xd9, 0xc8, 0x47, 0xe7, 0x23, 0x1f, 0xfd, 0x1a, 0xf9, 0xe8, 0xfd, 0xd8, 0xaf, 0x9c, 0x8f, 0xfd, + 0xca, 0x8f, 0xb1, 0x5f, 0x79, 0xb6, 0x1f, 0xc5, 0xea, 0xc5, 0xa0, 0x4b, 0x7b, 0xb2, 0x3f, 0xa7, + 0xd6, 0xab, 0xd9, 0xcf, 0x41, 0xb7, 0xaa, 0xbf, 0x07, 0x77, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, + 0x9a, 0x35, 0xc2, 0xb2, 0x2c, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/gateway/types/gateway.pb.go b/x/gateway/types/types.pb.go similarity index 70% rename from x/gateway/types/gateway.pb.go rename to x/gateway/types/types.pb.go index 7a952076e..7d44d8f92 100644 --- a/x/gateway/types/gateway.pb.go +++ b/x/gateway/types/types.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: poktroll/gateway/gateway.proto +// source: poktroll/gateway/types.proto package types @@ -33,7 +33,7 @@ func (m *Gateway) Reset() { *m = Gateway{} } func (m *Gateway) String() string { return proto.CompactTextString(m) } func (*Gateway) ProtoMessage() {} func (*Gateway) Descriptor() ([]byte, []int) { - return fileDescriptor_3b77f5ee1eae982b, []int{0} + return fileDescriptor_8e457ba71add809d, []int{0} } func (m *Gateway) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -80,25 +80,25 @@ func init() { proto.RegisterType((*Gateway)(nil), "poktroll.gateway.Gateway") } -func init() { proto.RegisterFile("poktroll/gateway/gateway.proto", fileDescriptor_3b77f5ee1eae982b) } +func init() { proto.RegisterFile("poktroll/gateway/types.proto", fileDescriptor_8e457ba71add809d) } -var fileDescriptor_3b77f5ee1eae982b = []byte{ +var fileDescriptor_8e457ba71add809d = []byte{ // 241 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0xc8, 0xcf, 0x2e, - 0x29, 0xca, 0xcf, 0xc9, 0xd1, 0x4f, 0x4f, 0x2c, 0x49, 0x2d, 0x4f, 0xac, 0x84, 0xd1, 0x7a, 0x05, - 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x02, 0x30, 0x79, 0x3d, 0xa8, 0xb8, 0x94, 0x64, 0x72, 0x7e, 0x71, - 0x6e, 0x7e, 0x71, 0x3c, 0x58, 0x5e, 0x1f, 0xc2, 0x81, 0x28, 0x96, 0x92, 0x83, 0xf0, 0xf4, 0x93, - 0x12, 0x8b, 0x53, 0xf5, 0xcb, 0x0c, 0x93, 0x52, 0x4b, 0x12, 0x0d, 0xf5, 0x93, 0xf3, 0x33, 0xf3, - 0x20, 0xf2, 0x4a, 0x79, 0x5c, 0xec, 0xee, 0x10, 0x53, 0x84, 0x8c, 0xb8, 0xd8, 0x13, 0x53, 0x52, - 0x8a, 0x52, 0x8b, 0x8b, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x9d, 0x24, 0x2e, 0x6d, 0xd1, 0x15, - 0x81, 0x9a, 0xe6, 0x08, 0x91, 0x09, 0x2e, 0x29, 0xca, 0xcc, 0x4b, 0x0f, 0x82, 0x29, 0x14, 0xd2, - 0xe7, 0x62, 0x2d, 0x2e, 0x49, 0xcc, 0x4e, 0x95, 0x60, 0x52, 0x60, 0xd4, 0xe0, 0x36, 0x92, 0xd4, - 0x83, 0x2a, 0x07, 0x59, 0xa7, 0x07, 0xb5, 0x4e, 0xcf, 0x39, 0x3f, 0x33, 0x2f, 0x08, 0xa2, 0xce, - 0xc9, 0xeb, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, - 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x0c, 0xd2, 0x33, 0x4b, - 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x41, 0x3e, 0xd4, 0xcd, 0x4b, 0x2d, 0x29, 0xcf, - 0x2f, 0xca, 0xd6, 0x87, 0x07, 0x47, 0x05, 0x3c, 0x40, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, - 0xc0, 0x5e, 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x3f, 0xfa, 0xe8, 0x0a, 0x31, 0x01, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x29, 0xc8, 0xcf, 0x2e, + 0x29, 0xca, 0xcf, 0xc9, 0xd1, 0x4f, 0x4f, 0x2c, 0x49, 0x2d, 0x4f, 0xac, 0xd4, 0x2f, 0xa9, 0x2c, + 0x48, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x80, 0xc9, 0xea, 0x41, 0x65, 0xa5, + 0x24, 0x93, 0xf3, 0x8b, 0x73, 0xf3, 0x8b, 0xe3, 0xc1, 0xf2, 0xfa, 0x10, 0x0e, 0x44, 0xb1, 0x94, + 0x1c, 0x84, 0xa7, 0x9f, 0x94, 0x58, 0x9c, 0xaa, 0x5f, 0x66, 0x98, 0x94, 0x5a, 0x92, 0x68, 0xa8, + 0x9f, 0x9c, 0x9f, 0x99, 0x07, 0x91, 0x57, 0xca, 0xe3, 0x62, 0x77, 0x87, 0x98, 0x22, 0x64, 0xc4, + 0xc5, 0x9e, 0x98, 0x92, 0x52, 0x94, 0x5a, 0x5c, 0x2c, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0xe9, 0x24, + 0x71, 0x69, 0x8b, 0xae, 0x08, 0xd4, 0x34, 0x47, 0x88, 0x4c, 0x70, 0x49, 0x51, 0x66, 0x5e, 0x7a, + 0x10, 0x4c, 0xa1, 0x90, 0x3e, 0x17, 0x6b, 0x71, 0x49, 0x62, 0x76, 0xaa, 0x04, 0x93, 0x02, 0xa3, + 0x06, 0xb7, 0x91, 0xa4, 0x1e, 0x54, 0x39, 0xc8, 0x3a, 0x3d, 0xa8, 0x75, 0x7a, 0xce, 0xf9, 0x99, + 0x79, 0x41, 0x10, 0x75, 0x4e, 0x5e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, + 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, + 0x65, 0x90, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0xf2, 0xa1, 0x6e, + 0x5e, 0x6a, 0x49, 0x79, 0x7e, 0x51, 0xb6, 0x3e, 0x3c, 0x30, 0x2a, 0x50, 0x83, 0x23, 0x89, 0x0d, + 0xec, 0x05, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x92, 0x6a, 0xb1, 0x2f, 0x01, 0x00, 0x00, } @@ -129,7 +129,7 @@ func (m *Gateway) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintGateway(dAtA, i, uint64(size)) + i = encodeVarintTypes(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x12 @@ -137,15 +137,15 @@ func (m *Gateway) MarshalToSizedBuffer(dAtA []byte) (int, error) { if len(m.Address) > 0 { i -= len(m.Address) copy(dAtA[i:], m.Address) - i = encodeVarintGateway(dAtA, i, uint64(len(m.Address))) + i = encodeVarintTypes(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func encodeVarintGateway(dAtA []byte, offset int, v uint64) int { - offset -= sovGateway(v) +func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { + offset -= sovTypes(v) base := offset for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) @@ -163,20 +163,20 @@ func (m *Gateway) Size() (n int) { _ = l l = len(m.Address) if l > 0 { - n += 1 + l + sovGateway(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } if m.Stake != nil { l = m.Stake.Size() - n += 1 + l + sovGateway(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } return n } -func sovGateway(x uint64) (n int) { +func sovTypes(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } -func sozGateway(x uint64) (n int) { - return sovGateway(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +func sozTypes(x uint64) (n int) { + return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } func (m *Gateway) Unmarshal(dAtA []byte) error { l := len(dAtA) @@ -186,7 +186,7 @@ func (m *Gateway) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowGateway + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -214,7 +214,7 @@ func (m *Gateway) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowGateway + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -228,11 +228,11 @@ func (m *Gateway) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthGateway + return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthGateway + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -246,7 +246,7 @@ func (m *Gateway) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowGateway + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -259,11 +259,11 @@ func (m *Gateway) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthGateway + return ErrInvalidLengthTypes } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthGateway + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -277,12 +277,12 @@ func (m *Gateway) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipGateway(dAtA[iNdEx:]) + skippy, err := skipTypes(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGateway + return ErrInvalidLengthTypes } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -296,7 +296,7 @@ func (m *Gateway) Unmarshal(dAtA []byte) error { } return nil } -func skipGateway(dAtA []byte) (n int, err error) { +func skipTypes(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 depth := 0 @@ -304,7 +304,7 @@ func skipGateway(dAtA []byte) (n int, err error) { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowGateway + return 0, ErrIntOverflowTypes } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -321,7 +321,7 @@ func skipGateway(dAtA []byte) (n int, err error) { case 0: for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowGateway + return 0, ErrIntOverflowTypes } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -337,7 +337,7 @@ func skipGateway(dAtA []byte) (n int, err error) { var length int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowGateway + return 0, ErrIntOverflowTypes } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -350,14 +350,14 @@ func skipGateway(dAtA []byte) (n int, err error) { } } if length < 0 { - return 0, ErrInvalidLengthGateway + return 0, ErrInvalidLengthTypes } iNdEx += length case 3: depth++ case 4: if depth == 0 { - return 0, ErrUnexpectedEndOfGroupGateway + return 0, ErrUnexpectedEndOfGroupTypes } depth-- case 5: @@ -366,7 +366,7 @@ func skipGateway(dAtA []byte) (n int, err error) { return 0, fmt.Errorf("proto: illegal wireType %d", wireType) } if iNdEx < 0 { - return 0, ErrInvalidLengthGateway + return 0, ErrInvalidLengthTypes } if depth == 0 { return iNdEx, nil @@ -376,7 +376,7 @@ func skipGateway(dAtA []byte) (n int, err error) { } var ( - ErrInvalidLengthGateway = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowGateway = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupGateway = fmt.Errorf("proto: unexpected end of group") + ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") ) diff --git a/x/proof/types/claim.pb.go b/x/proof/types/claim.pb.go deleted file mode 100644 index d386160e4..000000000 --- a/x/proof/types/claim.pb.go +++ /dev/null @@ -1,440 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: poktroll/proof/claim.proto - -package types - -import ( - fmt "fmt" - _ "github.com/cosmos/cosmos-proto" - proto "github.com/cosmos/gogoproto/proto" - types "github.com/pokt-network/poktroll/x/session/types" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// Claim is the serialized object stored on-chain for claims pending to be proven -type Claim struct { - SupplierOperatorAddress string `protobuf:"bytes,1,opt,name=supplier_operator_address,json=supplierOperatorAddress,proto3" json:"supplier_operator_address,omitempty"` - // The session header of the session that this claim is for. - SessionHeader *types.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` - // Root hash returned from smt.SMST#Root(). - RootHash []byte `protobuf:"bytes,3,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` -} - -func (m *Claim) Reset() { *m = Claim{} } -func (m *Claim) String() string { return proto.CompactTextString(m) } -func (*Claim) ProtoMessage() {} -func (*Claim) Descriptor() ([]byte, []int) { - return fileDescriptor_51f775f805f1488c, []int{0} -} -func (m *Claim) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Claim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Claim.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Claim) XXX_Merge(src proto.Message) { - xxx_messageInfo_Claim.Merge(m, src) -} -func (m *Claim) XXX_Size() int { - return m.Size() -} -func (m *Claim) XXX_DiscardUnknown() { - xxx_messageInfo_Claim.DiscardUnknown(m) -} - -var xxx_messageInfo_Claim proto.InternalMessageInfo - -func (m *Claim) GetSupplierOperatorAddress() string { - if m != nil { - return m.SupplierOperatorAddress - } - return "" -} - -func (m *Claim) GetSessionHeader() *types.SessionHeader { - if m != nil { - return m.SessionHeader - } - return nil -} - -func (m *Claim) GetRootHash() []byte { - if m != nil { - return m.RootHash - } - return nil -} - -func init() { - proto.RegisterType((*Claim)(nil), "poktroll.proof.Claim") -} - -func init() { proto.RegisterFile("poktroll/proof/claim.proto", fileDescriptor_51f775f805f1488c) } - -var fileDescriptor_51f775f805f1488c = []byte{ - // 287 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xcf, 0x4a, 0xc3, 0x40, - 0x10, 0xc6, 0xbb, 0x8a, 0x62, 0xa3, 0xf6, 0x10, 0x04, 0xd3, 0x0a, 0x6b, 0xf0, 0x94, 0x4b, 0x13, - 0xd0, 0x27, 0xb0, 0x82, 0xe4, 0x26, 0xa4, 0x9e, 0xbc, 0x84, 0x6d, 0xb2, 0x36, 0xa1, 0x49, 0x66, - 0x99, 0xd9, 0xa2, 0xbe, 0x85, 0x0f, 0xe3, 0x13, 0x78, 0xf2, 0x58, 0x3c, 0x79, 0x94, 0xe4, 0x45, - 0x24, 0x7f, 0xf1, 0x34, 0xcc, 0xfe, 0x66, 0xbe, 0x6f, 0xe7, 0x33, 0x66, 0x0a, 0x36, 0x1a, 0x21, - 0xcb, 0x3c, 0x85, 0x00, 0xcf, 0x5e, 0x94, 0x89, 0x34, 0x77, 0x15, 0x82, 0x06, 0x73, 0xd2, 0x33, - 0xb7, 0x61, 0xb3, 0x69, 0x04, 0x94, 0x03, 0x85, 0x0d, 0xf5, 0xda, 0xa6, 0x1d, 0x9d, 0xf1, 0x41, - 0x86, 0x24, 0x51, 0x0a, 0x45, 0x5f, 0x5b, 0x7e, 0xf5, 0xc9, 0x8c, 0x83, 0xbb, 0x5a, 0xda, 0x7c, - 0x34, 0xa6, 0xb4, 0x55, 0x2a, 0x4b, 0x25, 0x86, 0xa0, 0x24, 0x0a, 0x0d, 0x18, 0x8a, 0x38, 0x46, - 0x49, 0x64, 0x31, 0x9b, 0x39, 0xe3, 0x85, 0xf5, 0xfd, 0x31, 0x3f, 0xeb, 0xe4, 0x6f, 0x5b, 0xb2, - 0xd4, 0x98, 0x16, 0xeb, 0xe0, 0xbc, 0x5f, 0x7d, 0xe8, 0x36, 0x3b, 0x6c, 0xde, 0x1b, 0x93, 0xce, - 0x30, 0x4c, 0xa4, 0x88, 0x25, 0x5a, 0x7b, 0x36, 0x73, 0x8e, 0xaf, 0x2f, 0xdd, 0xe1, 0x86, 0xfe, - 0x43, 0xcb, 0xb6, 0xfa, 0xcd, 0x58, 0x70, 0x4a, 0xff, 0x5b, 0xf3, 0xc2, 0x18, 0x23, 0x80, 0x0e, - 0x13, 0x41, 0x89, 0xb5, 0x6f, 0x33, 0xe7, 0x24, 0x38, 0xaa, 0x1f, 0x7c, 0x41, 0xc9, 0xc2, 0xff, - 0x2a, 0x39, 0xdb, 0x95, 0x9c, 0xfd, 0x96, 0x9c, 0xbd, 0x57, 0x7c, 0xb4, 0xab, 0xf8, 0xe8, 0xa7, - 0xe2, 0xa3, 0x27, 0x77, 0x9d, 0xea, 0x64, 0xbb, 0x72, 0x23, 0xc8, 0xbd, 0xda, 0x70, 0x5e, 0x48, - 0xfd, 0x02, 0xb8, 0xf1, 0x86, 0x58, 0x5e, 0xbb, 0x7c, 0xf5, 0x9b, 0x92, 0xb4, 0x3a, 0x6c, 0x52, - 0xb9, 0xf9, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xb2, 0xfb, 0x84, 0x3e, 0x7e, 0x01, 0x00, 0x00, -} - -func (m *Claim) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Claim) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Claim) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RootHash) > 0 { - i -= len(m.RootHash) - copy(dAtA[i:], m.RootHash) - i = encodeVarintClaim(dAtA, i, uint64(len(m.RootHash))) - i-- - dAtA[i] = 0x1a - } - if m.SessionHeader != nil { - { - size, err := m.SessionHeader.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintClaim(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.SupplierOperatorAddress) > 0 { - i -= len(m.SupplierOperatorAddress) - copy(dAtA[i:], m.SupplierOperatorAddress) - i = encodeVarintClaim(dAtA, i, uint64(len(m.SupplierOperatorAddress))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintClaim(dAtA []byte, offset int, v uint64) int { - offset -= sovClaim(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Claim) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SupplierOperatorAddress) - if l > 0 { - n += 1 + l + sovClaim(uint64(l)) - } - if m.SessionHeader != nil { - l = m.SessionHeader.Size() - n += 1 + l + sovClaim(uint64(l)) - } - l = len(m.RootHash) - if l > 0 { - n += 1 + l + sovClaim(uint64(l)) - } - return n -} - -func sovClaim(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozClaim(x uint64) (n int) { - return sovClaim(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *Claim) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowClaim - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Claim: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Claim: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SupplierOperatorAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowClaim - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthClaim - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthClaim - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SupplierOperatorAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SessionHeader", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowClaim - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthClaim - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthClaim - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.SessionHeader == nil { - m.SessionHeader = &types.SessionHeader{} - } - if err := m.SessionHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RootHash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowClaim - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthClaim - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthClaim - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RootHash = append(m.RootHash[:0], dAtA[iNdEx:postIndex]...) - if m.RootHash == nil { - m.RootHash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipClaim(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthClaim - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipClaim(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowClaim - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowClaim - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowClaim - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthClaim - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupClaim - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthClaim - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthClaim = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowClaim = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupClaim = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/proof/types/event.pb.go b/x/proof/types/event.pb.go index 3c53ade1b..e4115bda9 100644 --- a/x/proof/types/event.pb.go +++ b/x/proof/types/event.pb.go @@ -291,29 +291,29 @@ func init() { func init() { proto.RegisterFile("poktroll/proof/event.proto", fileDescriptor_dd4c19e04487fbec) } var fileDescriptor_dd4c19e04487fbec = []byte{ - // 343 bytes of a gzipped FileDescriptorProto + // 337 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2a, 0xc8, 0xcf, 0x2e, 0x29, 0xca, 0xcf, 0xc9, 0xd1, 0x2f, 0x28, 0xca, 0xcf, 0x4f, 0xd3, 0x4f, 0x2d, 0x4b, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0xc9, 0xe9, 0x81, 0xe5, 0xa4, 0x44, 0xd2, - 0xf3, 0xd3, 0xf3, 0xc1, 0x52, 0xfa, 0x20, 0x16, 0x44, 0x95, 0x14, 0xba, 0x09, 0xc9, 0x39, 0x89, - 0x99, 0xb9, 0x38, 0xe4, 0xc0, 0x24, 0x44, 0x4e, 0x69, 0x2f, 0x23, 0x97, 0xa0, 0x2b, 0xc8, 0x36, - 0x67, 0x90, 0x06, 0xe7, 0xa2, 0xd4, 0xc4, 0x92, 0xd4, 0x14, 0x21, 0x33, 0x2e, 0x56, 0xb0, 0x01, - 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0xa2, 0x7a, 0xa8, 0x6e, 0xd0, 0x03, 0x2b, 0x76, 0xe2, - 0x7c, 0x75, 0x4f, 0x1e, 0xa2, 0x2e, 0x08, 0x42, 0x09, 0xe9, 0x72, 0x71, 0xe5, 0x95, 0xe6, 0xc6, - 0x17, 0xa5, 0xe6, 0x24, 0x56, 0x16, 0x4b, 0x30, 0x29, 0x30, 0x6a, 0xb0, 0x38, 0xf1, 0xbd, 0xba, - 0x27, 0x8f, 0x24, 0x1a, 0xc4, 0x99, 0x57, 0x9a, 0x1b, 0x04, 0x66, 0x0a, 0x39, 0x72, 0x09, 0x82, - 0x24, 0x92, 0xf3, 0x73, 0x0b, 0x4a, 0x4b, 0x52, 0xe3, 0x4b, 0xf3, 0x32, 0x4b, 0x8a, 0x25, 0x98, - 0xc1, 0xba, 0x44, 0x5f, 0xdd, 0x93, 0xc7, 0x94, 0x0c, 0xe2, 0xcf, 0x2b, 0xcd, 0x75, 0x86, 0x88, - 0x84, 0x82, 0x04, 0xd0, 0xdc, 0x1f, 0x5a, 0x90, 0x32, 0xc4, 0xdc, 0xff, 0x9d, 0x91, 0x4b, 0x18, - 0xec, 0xfe, 0x00, 0x90, 0xc3, 0x82, 0x4b, 0x93, 0x72, 0x33, 0x4b, 0x28, 0xf1, 0x81, 0x19, 0x17, - 0x2b, 0x58, 0x01, 0xd8, 0xf1, 0x58, 0xf4, 0x81, 0xad, 0x81, 0xe8, 0x03, 0x0b, 0x04, 0x41, 0x28, - 0x34, 0x9f, 0x33, 0x93, 0xe5, 0x73, 0x16, 0x92, 0x7c, 0xfe, 0x15, 0x16, 0x73, 0x60, 0x27, 0x51, - 0x1a, 0x73, 0x43, 0xc6, 0xdf, 0x4e, 0x1e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, - 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, - 0x10, 0xa5, 0x97, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0x72, 0xbe, - 0x6e, 0x5e, 0x6a, 0x49, 0x79, 0x7e, 0x51, 0xb6, 0x3e, 0x3c, 0xff, 0x56, 0x40, 0x73, 0x70, 0x49, - 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0x0b, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x43, - 0x89, 0xd4, 0x5f, 0x3e, 0x04, 0x00, 0x00, + 0xf3, 0xd3, 0xf3, 0xc1, 0x52, 0xfa, 0x20, 0x16, 0x44, 0x95, 0x14, 0xba, 0x09, 0x25, 0x95, 0x05, + 0xa9, 0xc5, 0x10, 0x39, 0xa5, 0xbd, 0x8c, 0x5c, 0x82, 0xae, 0x20, 0x13, 0x9d, 0x73, 0x12, 0x33, + 0x73, 0x9d, 0x8b, 0x52, 0x13, 0x4b, 0x52, 0x53, 0x84, 0xcc, 0xb8, 0x58, 0x93, 0x41, 0x7c, 0x09, + 0x46, 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x51, 0x3d, 0x54, 0x7b, 0xf4, 0xc0, 0x8a, 0x9d, 0x38, 0x5f, + 0xdd, 0x93, 0x87, 0xa8, 0x0b, 0x82, 0x50, 0x42, 0xba, 0x5c, 0x5c, 0x79, 0xa5, 0xb9, 0xf1, 0x45, + 0xa9, 0x39, 0x89, 0x95, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0x2c, 0x4e, 0x7c, 0xaf, 0xee, 0xc9, + 0x23, 0x89, 0x06, 0x71, 0xe6, 0x95, 0xe6, 0x06, 0x81, 0x99, 0x42, 0x8e, 0x5c, 0x82, 0x20, 0x89, + 0xe4, 0xfc, 0xdc, 0x82, 0xd2, 0x92, 0xd4, 0xf8, 0xd2, 0xbc, 0xcc, 0x92, 0x62, 0x09, 0x66, 0xb0, + 0x2e, 0xd1, 0x57, 0xf7, 0xe4, 0x31, 0x25, 0x83, 0xf8, 0xf3, 0x4a, 0x73, 0x9d, 0x21, 0x22, 0xa1, + 0x20, 0x01, 0x34, 0xf7, 0x87, 0x16, 0xa4, 0x0c, 0x31, 0xf7, 0x7f, 0x67, 0xe4, 0x12, 0x06, 0xbb, + 0x3f, 0x00, 0xe4, 0xb0, 0xe0, 0xd2, 0xa4, 0xdc, 0xcc, 0x12, 0x4a, 0x7c, 0x60, 0xc6, 0xc5, 0x0a, + 0x56, 0x00, 0x76, 0x3c, 0x16, 0x7d, 0x60, 0x6b, 0x20, 0xfa, 0xc0, 0x02, 0x41, 0x10, 0x0a, 0xcd, + 0xe7, 0xcc, 0x64, 0xf9, 0x9c, 0x85, 0x24, 0x9f, 0x7f, 0x85, 0xc5, 0x1c, 0xd8, 0x49, 0x94, 0xc6, + 0xdc, 0x90, 0xf1, 0xb7, 0x93, 0xc7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, + 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, + 0xe9, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x83, 0x9c, 0xaf, 0x9b, + 0x97, 0x5a, 0x52, 0x9e, 0x5f, 0x94, 0xad, 0x0f, 0xcf, 0xbf, 0x15, 0xc8, 0x39, 0x38, 0x89, 0x0d, + 0x9c, 0x85, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x7c, 0xc8, 0x0b, 0xd8, 0x22, 0x04, 0x00, + 0x00, } func (m *EventClaimCreated) Marshal() (dAtA []byte, err error) { diff --git a/x/proof/types/genesis.pb.go b/x/proof/types/genesis.pb.go index 1d263d9ca..009d0aa7a 100644 --- a/x/proof/types/genesis.pb.go +++ b/x/proof/types/genesis.pb.go @@ -93,25 +93,25 @@ func init() { func init() { proto.RegisterFile("poktroll/proof/genesis.proto", fileDescriptor_2da3e253d01f195c) } var fileDescriptor_2da3e253d01f195c = []byte{ - // 281 bytes of a gzipped FileDescriptorProto + // 274 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x29, 0xc8, 0xcf, 0x2e, 0x29, 0xca, 0xcf, 0xc9, 0xd1, 0x2f, 0x28, 0xca, 0xcf, 0x4f, 0xd3, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0xc9, 0xea, 0x81, 0x65, 0xa5, 0x04, 0x13, 0x73, 0x33, 0xf3, 0xf2, 0xf5, 0xc1, 0x24, 0x44, 0x89, 0x94, 0x48, 0x7a, 0x7e, 0x7a, 0x3e, 0x98, 0xa9, 0x0f, 0x62, 0x41, 0x45, 0xa5, 0xd1, 0x8c, 0x2d, 0x48, 0x2c, 0x4a, 0xcc, 0x85, - 0x9a, 0x2a, 0x25, 0x85, 0x26, 0x99, 0x9c, 0x93, 0x98, 0x99, 0x8b, 0x43, 0x0e, 0x4c, 0x42, 0xe4, - 0x94, 0x0e, 0x32, 0x72, 0xf1, 0xb8, 0x43, 0xdc, 0x17, 0x5c, 0x92, 0x58, 0x92, 0x2a, 0x64, 0xc9, - 0xc5, 0x06, 0x31, 0x58, 0x82, 0x51, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x4c, 0x0f, 0xd5, 0xbd, 0x7a, - 0x01, 0x60, 0x59, 0x27, 0xce, 0x13, 0xf7, 0xe4, 0x19, 0x56, 0x3c, 0xdf, 0xa0, 0xc5, 0x18, 0x04, - 0xd5, 0x20, 0x64, 0xc5, 0xc5, 0x05, 0xb6, 0x36, 0x3e, 0x27, 0xb3, 0xb8, 0x44, 0x82, 0x49, 0x81, - 0x59, 0x83, 0xdb, 0x48, 0x14, 0x5d, 0xbb, 0x33, 0x48, 0x85, 0x13, 0x0b, 0x48, 0x77, 0x10, 0x27, - 0x58, 0xb9, 0x4f, 0x66, 0x71, 0x09, 0x48, 0x2f, 0x58, 0x1e, 0xa2, 0x97, 0x19, 0xbb, 0xde, 0x00, - 0x10, 0x09, 0xd3, 0x0b, 0x16, 0x02, 0xe9, 0x75, 0xf2, 0x38, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, - 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, - 0x63, 0x39, 0x86, 0x28, 0xbd, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, - 0x90, 0x59, 0xba, 0x79, 0xa9, 0x25, 0xe5, 0xf9, 0x45, 0xd9, 0xfa, 0xf0, 0x10, 0xa9, 0x80, 0x86, - 0x49, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0x50, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x87, 0x6c, 0xc9, 0x62, 0xc2, 0x01, 0x00, 0x00, + 0x9a, 0x2a, 0x25, 0x85, 0x26, 0x59, 0x52, 0x59, 0x90, 0x0a, 0x95, 0x53, 0x3a, 0xc8, 0xc8, 0xc5, + 0xe3, 0x0e, 0x71, 0x43, 0x70, 0x49, 0x62, 0x49, 0xaa, 0x90, 0x25, 0x17, 0x1b, 0x44, 0xb3, 0x04, + 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x98, 0x1e, 0xaa, 0x9b, 0xf4, 0x02, 0xc0, 0xb2, 0x4e, 0x9c, + 0x27, 0xee, 0xc9, 0x33, 0xac, 0x78, 0xbe, 0x41, 0x8b, 0x31, 0x08, 0xaa, 0x41, 0xc8, 0x8a, 0x8b, + 0x2b, 0x39, 0x27, 0x31, 0x33, 0x37, 0x3e, 0x27, 0xb3, 0xb8, 0x44, 0x82, 0x49, 0x81, 0x59, 0x83, + 0xdb, 0x48, 0x14, 0x5d, 0xbb, 0x33, 0x48, 0x85, 0x13, 0x0b, 0x48, 0x77, 0x10, 0x27, 0x58, 0xb9, + 0x4f, 0x66, 0x71, 0x09, 0x48, 0x2f, 0x58, 0x1e, 0xa2, 0x97, 0x19, 0xbb, 0xde, 0x00, 0x10, 0x09, + 0xd3, 0x0b, 0x16, 0x02, 0xe9, 0x75, 0xf2, 0x38, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, + 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, + 0x86, 0x28, 0xbd, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x90, 0x59, + 0xba, 0x79, 0xa9, 0x25, 0xe5, 0xf9, 0x45, 0xd9, 0xfa, 0xf0, 0x10, 0xa9, 0x40, 0x0e, 0x93, 0x24, + 0x36, 0x70, 0xa0, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x79, 0x83, 0x1c, 0x32, 0xa6, 0x01, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/proof/types/proof.pb.go b/x/proof/types/proof.pb.go deleted file mode 100644 index bebd6aa99..000000000 --- a/x/proof/types/proof.pb.go +++ /dev/null @@ -1,441 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: poktroll/proof/proof.proto - -package types - -import ( - fmt "fmt" - _ "github.com/cosmos/cosmos-proto" - proto "github.com/cosmos/gogoproto/proto" - types "github.com/pokt-network/poktroll/x/session/types" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -type Proof struct { - // Address of the supplier's operator that submitted this proof. - SupplierOperatorAddress string `protobuf:"bytes,1,opt,name=supplier_operator_address,json=supplierOperatorAddress,proto3" json:"supplier_operator_address,omitempty"` - // The session header of the session that this claim is for. - SessionHeader *types.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` - // The serialized SMST proof from the `#ClosestProof()` method. - ClosestMerkleProof []byte `protobuf:"bytes,3,opt,name=closest_merkle_proof,json=closestMerkleProof,proto3" json:"closest_merkle_proof,omitempty"` -} - -func (m *Proof) Reset() { *m = Proof{} } -func (m *Proof) String() string { return proto.CompactTextString(m) } -func (*Proof) ProtoMessage() {} -func (*Proof) Descriptor() ([]byte, []int) { - return fileDescriptor_0119ab01846040c2, []int{0} -} -func (m *Proof) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Proof.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Proof) XXX_Merge(src proto.Message) { - xxx_messageInfo_Proof.Merge(m, src) -} -func (m *Proof) XXX_Size() int { - return m.Size() -} -func (m *Proof) XXX_DiscardUnknown() { - xxx_messageInfo_Proof.DiscardUnknown(m) -} - -var xxx_messageInfo_Proof proto.InternalMessageInfo - -func (m *Proof) GetSupplierOperatorAddress() string { - if m != nil { - return m.SupplierOperatorAddress - } - return "" -} - -func (m *Proof) GetSessionHeader() *types.SessionHeader { - if m != nil { - return m.SessionHeader - } - return nil -} - -func (m *Proof) GetClosestMerkleProof() []byte { - if m != nil { - return m.ClosestMerkleProof - } - return nil -} - -func init() { - proto.RegisterType((*Proof)(nil), "poktroll.proof.Proof") -} - -func init() { proto.RegisterFile("poktroll/proof/proof.proto", fileDescriptor_0119ab01846040c2) } - -var fileDescriptor_0119ab01846040c2 = []byte{ - // 292 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xbf, 0x4e, 0xc3, 0x30, - 0x10, 0xc6, 0x6b, 0x10, 0x48, 0x04, 0xe8, 0x10, 0x55, 0x22, 0xed, 0x60, 0x22, 0xa6, 0x2c, 0x4d, - 0x10, 0x3c, 0x01, 0x1d, 0x50, 0x17, 0x04, 0x4a, 0x99, 0x58, 0xac, 0x34, 0x31, 0x6d, 0x94, 0x3f, - 0x67, 0xf9, 0x5c, 0x01, 0x6f, 0xc1, 0xc3, 0xf0, 0x10, 0x8c, 0x15, 0x0b, 0x8c, 0x28, 0x79, 0x11, - 0x54, 0xdb, 0x89, 0x58, 0x72, 0xba, 0xfc, 0xee, 0x3e, 0xdf, 0xf7, 0x39, 0x13, 0x01, 0x85, 0x92, - 0x50, 0x96, 0x91, 0x90, 0x00, 0xcf, 0xe6, 0x1b, 0x0a, 0x09, 0x0a, 0xdc, 0x61, 0xc7, 0x42, 0xfd, - 0x77, 0x32, 0x4e, 0x01, 0x2b, 0x40, 0xa6, 0x69, 0x64, 0x1a, 0x33, 0x3a, 0xa1, 0xbd, 0x0c, 0x72, - 0xc4, 0x1c, 0xea, 0xae, 0x1a, 0x7e, 0xf1, 0x4d, 0x9c, 0x83, 0x87, 0x9d, 0x88, 0xfb, 0xe8, 0x8c, - 0x71, 0x23, 0x44, 0x99, 0x73, 0xc9, 0x40, 0x70, 0x99, 0x28, 0x90, 0x2c, 0xc9, 0x32, 0xc9, 0x11, - 0x3d, 0xe2, 0x93, 0xe0, 0x68, 0xe6, 0x7d, 0x7d, 0x4c, 0x47, 0x56, 0xfe, 0xc6, 0x90, 0x85, 0x92, - 0x79, 0xbd, 0x8a, 0xcf, 0xba, 0xd5, 0x7b, 0xbb, 0x69, 0xb1, 0x7b, 0xeb, 0x0c, 0xed, 0x83, 0x6c, - 0xcd, 0x93, 0x8c, 0x4b, 0x6f, 0xcf, 0x27, 0xc1, 0xf1, 0xd5, 0x79, 0xd8, 0x7b, 0xe8, 0x0e, 0x5a, - 0x98, 0x3a, 0xd7, 0x63, 0xf1, 0x29, 0xfe, 0x6f, 0xdd, 0x4b, 0x67, 0x94, 0x96, 0x80, 0x1c, 0x15, - 0xab, 0xb8, 0x2c, 0x4a, 0xce, 0xb4, 0x75, 0x6f, 0xdf, 0x27, 0xc1, 0x49, 0xec, 0x5a, 0x76, 0xa7, - 0x91, 0xf6, 0x33, 0x9b, 0x7f, 0x36, 0x94, 0x6c, 0x1b, 0x4a, 0x7e, 0x1b, 0x4a, 0xde, 0x5b, 0x3a, - 0xd8, 0xb6, 0x74, 0xf0, 0xd3, 0xd2, 0xc1, 0x53, 0xb8, 0xca, 0xd5, 0x7a, 0xb3, 0x0c, 0x53, 0xa8, - 0xa2, 0xdd, 0x15, 0xd3, 0x9a, 0xab, 0x17, 0x90, 0x45, 0xd4, 0x67, 0xf5, 0x6a, 0x43, 0x57, 0x6f, - 0x82, 0xe3, 0xf2, 0x50, 0x47, 0x75, 0xfd, 0x17, 0x00, 0x00, 0xff, 0xff, 0x75, 0xc2, 0x0a, 0xf2, - 0x93, 0x01, 0x00, 0x00, -} - -func (m *Proof) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Proof) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Proof) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ClosestMerkleProof) > 0 { - i -= len(m.ClosestMerkleProof) - copy(dAtA[i:], m.ClosestMerkleProof) - i = encodeVarintProof(dAtA, i, uint64(len(m.ClosestMerkleProof))) - i-- - dAtA[i] = 0x1a - } - if m.SessionHeader != nil { - { - size, err := m.SessionHeader.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintProof(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.SupplierOperatorAddress) > 0 { - i -= len(m.SupplierOperatorAddress) - copy(dAtA[i:], m.SupplierOperatorAddress) - i = encodeVarintProof(dAtA, i, uint64(len(m.SupplierOperatorAddress))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintProof(dAtA []byte, offset int, v uint64) int { - offset -= sovProof(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Proof) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SupplierOperatorAddress) - if l > 0 { - n += 1 + l + sovProof(uint64(l)) - } - if m.SessionHeader != nil { - l = m.SessionHeader.Size() - n += 1 + l + sovProof(uint64(l)) - } - l = len(m.ClosestMerkleProof) - if l > 0 { - n += 1 + l + sovProof(uint64(l)) - } - return n -} - -func sovProof(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozProof(x uint64) (n int) { - return sovProof(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *Proof) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowProof - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Proof: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Proof: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SupplierOperatorAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowProof - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthProof - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthProof - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SupplierOperatorAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SessionHeader", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowProof - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthProof - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthProof - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.SessionHeader == nil { - m.SessionHeader = &types.SessionHeader{} - } - if err := m.SessionHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClosestMerkleProof", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowProof - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthProof - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthProof - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClosestMerkleProof = append(m.ClosestMerkleProof[:0], dAtA[iNdEx:postIndex]...) - if m.ClosestMerkleProof == nil { - m.ClosestMerkleProof = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipProof(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthProof - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipProof(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowProof - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowProof - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowProof - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthProof - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupProof - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthProof - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthProof = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowProof = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupProof = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/proof/types/query.pb.go b/x/proof/types/query.pb.go index b2ab4e3d1..a9f940c24 100644 --- a/x/proof/types/query.pb.go +++ b/x/proof/types/query.pb.go @@ -640,54 +640,54 @@ func init() { func init() { proto.RegisterFile("poktroll/proof/query.proto", fileDescriptor_452adc3cc4abc239) } var fileDescriptor_452adc3cc4abc239 = []byte{ - // 750 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0xbf, 0x6f, 0x13, 0x4b, - 0x10, 0xf6, 0x25, 0xb1, 0xf5, 0xbc, 0x4f, 0x7a, 0x7a, 0x6f, 0x9f, 0x13, 0x1c, 0x03, 0x4e, 0x74, - 0xf9, 0x41, 0x14, 0x94, 0x3b, 0x25, 0xa9, 0x90, 0x68, 0x62, 0x04, 0x31, 0x20, 0x84, 0xb9, 0x50, - 0xd1, 0x58, 0xe7, 0x78, 0x73, 0x39, 0xe5, 0x7c, 0x7b, 0xb9, 0x5d, 0x03, 0x51, 0x14, 0x0a, 0x0a, - 0x1a, 0x1a, 0x24, 0x24, 0xfe, 0x06, 0xe8, 0x28, 0xf8, 0x23, 0x52, 0x46, 0xd0, 0x50, 0x21, 0x94, - 0x20, 0x51, 0xd3, 0x51, 0xa2, 0x9b, 0x9d, 0xc3, 0xbe, 0x23, 0x17, 0x07, 0x89, 0x02, 0x89, 0x66, - 0xe5, 0xdb, 0xf9, 0x76, 0xe6, 0x9b, 0x6f, 0xbf, 0x9d, 0x84, 0x54, 0x02, 0xbe, 0x25, 0x43, 0xee, - 0x79, 0x66, 0x10, 0x72, 0xbe, 0x61, 0x6e, 0x77, 0x59, 0xb8, 0x63, 0x04, 0x21, 0x97, 0x9c, 0xfe, - 0x13, 0xc7, 0x0c, 0x88, 0x55, 0xfe, 0xb3, 0x3b, 0xae, 0xcf, 0x4d, 0x58, 0x15, 0xa4, 0x52, 0x72, - 0xb8, 0xc3, 0xe1, 0xa7, 0x19, 0xfd, 0xc2, 0xdd, 0x73, 0x0e, 0xe7, 0x8e, 0xc7, 0x4c, 0x3b, 0x70, - 0x4d, 0xdb, 0xf7, 0xb9, 0xb4, 0xa5, 0xcb, 0x7d, 0x81, 0xd1, 0xf1, 0x75, 0x2e, 0x3a, 0x5c, 0x34, - 0xd5, 0x31, 0xf5, 0x81, 0xa1, 0x79, 0xf5, 0x65, 0xb6, 0x6c, 0xc1, 0x14, 0x15, 0xf3, 0xfe, 0x62, - 0x8b, 0x49, 0x7b, 0xd1, 0x0c, 0x6c, 0xc7, 0xf5, 0x21, 0x0f, 0x62, 0xcf, 0xa6, 0x98, 0x07, 0x76, - 0x68, 0x77, 0xe2, 0x44, 0xe9, 0xb6, 0xd6, 0x3d, 0xdb, 0xed, 0x64, 0xc4, 0x60, 0x55, 0x31, 0xbd, - 0x44, 0xe8, 0x9d, 0xa8, 0x6c, 0x03, 0x92, 0x59, 0x6c, 0xbb, 0xcb, 0x84, 0xd4, 0x1b, 0xe4, 0xff, - 0xc4, 0xae, 0x08, 0xb8, 0x2f, 0x18, 0xbd, 0x44, 0x0a, 0xaa, 0x68, 0x59, 0x9b, 0xd4, 0xe6, 0xfe, - 0x5e, 0x1a, 0x33, 0x92, 0x82, 0x19, 0x0a, 0x5f, 0x2b, 0xee, 0x7f, 0x98, 0xc8, 0xbd, 0xfc, 0xfc, - 0x7a, 0x5e, 0xb3, 0xf0, 0x80, 0xfe, 0x54, 0x23, 0x25, 0x48, 0xb9, 0xca, 0xe4, 0x95, 0x88, 0x1b, - 0x96, 0xa2, 0xe7, 0x09, 0x11, 0x4c, 0x08, 0x97, 0xfb, 0x4d, 0xb7, 0x0d, 0x79, 0x8b, 0x56, 0x11, - 0x77, 0xae, 0xb7, 0xe9, 0x5d, 0x32, 0x2e, 0xba, 0x41, 0xe0, 0xb9, 0x2c, 0x6c, 0xf2, 0x80, 0x85, - 0xb6, 0xe4, 0x61, 0xd3, 0x6e, 0xb7, 0x43, 0x26, 0x44, 0x79, 0x28, 0x42, 0xd7, 0xca, 0x6f, 0xdf, - 0x2c, 0x94, 0x50, 0xd5, 0x15, 0x15, 0x59, 0x93, 0xa1, 0xeb, 0x3b, 0xd6, 0x99, 0xf8, 0xe8, 0x6d, - 0x3c, 0x89, 0x61, 0xfd, 0x06, 0x19, 0x4d, 0x91, 0xc1, 0x0e, 0x17, 0x49, 0x1e, 0x94, 0xc3, 0x06, - 0x47, 0xd3, 0x0d, 0x02, 0xba, 0x36, 0x12, 0xf5, 0x67, 0x29, 0xa4, 0xfe, 0x55, 0xc3, 0x64, 0x2b, - 0x9e, 0x07, 0xe1, 0x58, 0x45, 0x7a, 0x8d, 0x90, 0xde, 0x25, 0x62, 0xc6, 0x59, 0x03, 0x99, 0x46, - 0x37, 0x6e, 0x28, 0xf3, 0xe1, 0x8d, 0x1b, 0x0d, 0xdb, 0x61, 0x78, 0xd6, 0xea, 0x3b, 0x49, 0x2f, - 0x0f, 0xd4, 0xa0, 0x9e, 0xcb, 0xec, 0x95, 0x4e, 0x24, 0x04, 0x1e, 0x46, 0x78, 0x9f, 0xc4, 0x06, - 0xa1, 0x31, 0x80, 0xf9, 0xed, 0xe6, 0x26, 0x73, 0x9d, 0x4d, 0x59, 0x1e, 0x99, 0xd4, 0xe6, 0x46, - 0xea, 0x39, 0xeb, 0x5f, 0x8c, 0x5d, 0xf5, 0xdb, 0x75, 0x88, 0xd4, 0xfe, 0x22, 0x85, 0x0d, 0xd7, - 0x93, 0x2c, 0xd4, 0x5f, 0x68, 0x64, 0x2c, 0xdd, 0x3a, 0x0a, 0xb9, 0x4c, 0x0a, 0x20, 0x4f, 0x64, - 0x95, 0xe1, 0x41, 0x4a, 0x22, 0x94, 0xae, 0x26, 0x04, 0x1b, 0x02, 0xc1, 0x2e, 0x0c, 0x14, 0x4c, - 0x55, 0xec, 0x57, 0x2c, 0xe1, 0xb6, 0x46, 0x54, 0xee, 0x77, 0x71, 0x1b, 0x92, 0xe9, 0xb9, 0x0d, - 0xc4, 0xc8, 0x72, 0x1b, 0xa0, 0x63, 0xb7, 0xc1, 0x56, 0xc2, 0x6d, 0x10, 0xfe, 0x33, 0xdd, 0x16, - 0xb7, 0xde, 0x73, 0x1b, 0xc8, 0x93, 0xe9, 0xb6, 0x7e, 0x25, 0x11, 0xfa, 0xcb, 0xdc, 0xb6, 0xf4, - 0x25, 0x4f, 0xf2, 0x40, 0x8c, 0x3e, 0x22, 0x05, 0x35, 0x02, 0xa9, 0x9e, 0x66, 0xf0, 0xe3, 0x94, - 0xad, 0x4c, 0x9d, 0x88, 0x51, 0x85, 0xf4, 0x8b, 0x8f, 0xdf, 0x7d, 0x7a, 0x3e, 0x34, 0x43, 0xa7, - 0xcc, 0x08, 0xbc, 0xe0, 0x33, 0xf9, 0x80, 0x87, 0x5b, 0xe6, 0xb1, 0x7f, 0x0b, 0xe8, 0x2b, 0x8d, - 0xe4, 0xe1, 0x61, 0xd1, 0xe9, 0x63, 0x73, 0xa7, 0x86, 0x6f, 0x65, 0x66, 0x00, 0x0a, 0x39, 0xac, - 0x01, 0x87, 0x5b, 0xf4, 0xe6, 0x89, 0x1c, 0xe0, 0x11, 0x9b, 0xbb, 0xbd, 0xeb, 0xdf, 0x33, 0x77, - 0x33, 0x9d, 0xb4, 0x47, 0x9f, 0x68, 0xa4, 0xf8, 0x7d, 0x6e, 0xd0, 0xe3, 0x99, 0xa4, 0x47, 0x6a, - 0x65, 0x76, 0x10, 0x0c, 0x19, 0xcf, 0x03, 0xe3, 0x69, 0xaa, 0x0f, 0x66, 0x0c, 0xa2, 0x81, 0x3f, - 0xb2, 0x45, 0xeb, 0x9f, 0x21, 0xd9, 0xa2, 0x25, 0x1e, 0xf7, 0x29, 0x45, 0x53, 0xeb, 0xcf, 0x8a, - 0xa6, 0xec, 0x9f, 0x2d, 0x5a, 0x62, 0x32, 0x64, 0x8b, 0x96, 0x7c, 0x45, 0xa7, 0x14, 0x0d, 0xd6, - 0x5a, 0x7d, 0xff, 0xb0, 0xaa, 0x1d, 0x1c, 0x56, 0xb5, 0x8f, 0x87, 0x55, 0xed, 0xd9, 0x51, 0x35, - 0x77, 0x70, 0x54, 0xcd, 0xbd, 0x3f, 0xaa, 0xe6, 0xee, 0x19, 0x8e, 0x2b, 0x37, 0xbb, 0x2d, 0x63, - 0x9d, 0x77, 0x32, 0xf2, 0x3c, 0xc4, 0x4c, 0x72, 0x27, 0x60, 0xa2, 0x55, 0x80, 0x7f, 0x44, 0x96, - 0xbf, 0x05, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x27, 0xdb, 0x39, 0x99, 0x09, 0x00, 0x00, + // 745 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0xbf, 0x6f, 0xd3, 0x5a, + 0x14, 0x8e, 0xdb, 0x26, 0x7a, 0xb9, 0x4f, 0x7a, 0x7a, 0xef, 0xbe, 0xb4, 0xa4, 0x01, 0xd2, 0xca, + 0xfd, 0x41, 0x55, 0x54, 0x5b, 0x6d, 0x27, 0x24, 0x96, 0x06, 0x41, 0x03, 0x08, 0x11, 0x5c, 0x26, + 0x96, 0xc8, 0x69, 0x6e, 0x5d, 0xab, 0x8e, 0xaf, 0xeb, 0x7b, 0x03, 0x54, 0x55, 0x19, 0x18, 0x58, + 0x58, 0x90, 0x90, 0xf8, 0x1b, 0x60, 0x63, 0xe0, 0x8f, 0xe8, 0x58, 0xc1, 0xc2, 0x84, 0x50, 0x8b, + 0xc4, 0xcc, 0xc6, 0x88, 0x7c, 0xee, 0x31, 0x89, 0x4d, 0xdd, 0x14, 0x89, 0x01, 0x89, 0xc5, 0xb2, + 0xef, 0xf9, 0xce, 0xb9, 0xdf, 0xf9, 0xee, 0x77, 0x8f, 0x4c, 0x2a, 0x01, 0xdf, 0x92, 0x21, 0xf7, + 0x3c, 0x33, 0x08, 0x39, 0xdf, 0x30, 0xb7, 0xbb, 0x2c, 0xdc, 0x31, 0x82, 0x90, 0x4b, 0x4e, 0xff, + 0x89, 0x63, 0x06, 0xc4, 0x2a, 0xff, 0xd9, 0x1d, 0xd7, 0xe7, 0x26, 0x3c, 0x15, 0xa4, 0x52, 0x72, + 0xb8, 0xc3, 0xe1, 0xd5, 0x8c, 0xde, 0x70, 0xf5, 0x9c, 0xc3, 0xb9, 0xe3, 0x31, 0xd3, 0x0e, 0x5c, + 0xd3, 0xf6, 0x7d, 0x2e, 0x6d, 0xe9, 0x72, 0x5f, 0x60, 0x74, 0x7c, 0x9d, 0x8b, 0x0e, 0x17, 0x4d, + 0x95, 0xa6, 0x3e, 0x30, 0x34, 0xaf, 0xbe, 0xcc, 0x96, 0x2d, 0x98, 0xa2, 0x62, 0xde, 0x5f, 0x6c, + 0x31, 0x69, 0x2f, 0x9a, 0x81, 0xed, 0xb8, 0x3e, 0xd4, 0x41, 0xec, 0xd9, 0x14, 0xf3, 0xc0, 0x0e, + 0xed, 0x4e, 0x5c, 0x28, 0xdd, 0x96, 0xdc, 0x09, 0x18, 0xc6, 0xf4, 0x12, 0xa1, 0x77, 0xa2, 0xd2, + 0x0d, 0x48, 0xb0, 0xd8, 0x76, 0x97, 0x09, 0xa9, 0x37, 0xc8, 0xff, 0x89, 0x55, 0x11, 0x70, 0x5f, + 0x30, 0x7a, 0x89, 0x14, 0x54, 0xe1, 0xb2, 0x36, 0xa9, 0xcd, 0xfd, 0xbd, 0x34, 0x66, 0x24, 0x45, + 0x31, 0x14, 0xbe, 0x56, 0xdc, 0xff, 0x30, 0x91, 0x7b, 0xf9, 0xf9, 0xf5, 0xbc, 0x66, 0x61, 0x82, + 0xfe, 0x54, 0x23, 0x25, 0x28, 0xb9, 0xca, 0xe4, 0x15, 0xcf, 0x76, 0x3b, 0xb8, 0x15, 0x3d, 0x4f, + 0x88, 0x60, 0x42, 0xb8, 0xdc, 0x6f, 0xba, 0x6d, 0xa8, 0x5b, 0xb4, 0x8a, 0xb8, 0x72, 0xbd, 0x4d, + 0xef, 0x92, 0x71, 0xd1, 0x0d, 0x02, 0xcf, 0x65, 0x61, 0x93, 0x07, 0x2c, 0xb4, 0x25, 0x0f, 0x9b, + 0x76, 0xbb, 0x1d, 0x32, 0x21, 0xca, 0x43, 0x11, 0xba, 0x56, 0x7e, 0xfb, 0x66, 0xa1, 0x84, 0xca, + 0xad, 0xa8, 0xc8, 0x9a, 0x0c, 0x5d, 0xdf, 0xb1, 0xce, 0xc4, 0xa9, 0xb7, 0x31, 0x13, 0xc3, 0xfa, + 0x0d, 0x32, 0x9a, 0x22, 0x83, 0x1d, 0x2e, 0x92, 0xfc, 0x7a, 0xb4, 0x80, 0x0d, 0x8e, 0xa6, 0x1b, + 0x04, 0x74, 0x6d, 0x24, 0xea, 0xcf, 0x52, 0x48, 0xfd, 0xab, 0x86, 0xc5, 0x56, 0x3c, 0x0f, 0xc2, + 0xb1, 0x8a, 0xf4, 0x1a, 0x21, 0xbd, 0x83, 0xc2, 0x8a, 0xb3, 0x06, 0x32, 0x8d, 0x4e, 0xd5, 0x50, + 0x06, 0xc3, 0x53, 0x35, 0x1a, 0xb6, 0xc3, 0x30, 0xd7, 0xea, 0xcb, 0xa4, 0x97, 0x07, 0x6a, 0x50, + 0xcf, 0x65, 0xf6, 0x4a, 0x27, 0x12, 0x02, 0x0f, 0x23, 0xbc, 0x4f, 0x62, 0x83, 0xd0, 0x18, 0xc0, + 0xfc, 0x76, 0x73, 0x93, 0xb9, 0xce, 0xa6, 0x2c, 0x8f, 0x4c, 0x6a, 0x73, 0x23, 0xf5, 0x9c, 0xf5, + 0x2f, 0xc6, 0xae, 0xfa, 0xed, 0x3a, 0x44, 0x6a, 0x7f, 0x91, 0xc2, 0x86, 0xeb, 0x49, 0x16, 0xea, + 0x2f, 0x34, 0x32, 0x96, 0x6e, 0x1d, 0x85, 0x5c, 0x26, 0x05, 0x90, 0x27, 0xb2, 0xca, 0xf0, 0x20, + 0x25, 0x11, 0x4a, 0x57, 0x13, 0x82, 0x0d, 0x81, 0x60, 0x17, 0x06, 0x0a, 0xa6, 0x76, 0xec, 0x57, + 0x2c, 0xe1, 0xb6, 0x46, 0xb4, 0xdd, 0xef, 0xe2, 0x36, 0x24, 0xd3, 0x73, 0x1b, 0x88, 0x91, 0xe5, + 0x36, 0x40, 0xc7, 0x6e, 0x83, 0xa5, 0x84, 0xdb, 0x20, 0xfc, 0x67, 0xba, 0x2d, 0x6e, 0xbd, 0xe7, + 0x36, 0x90, 0x27, 0xd3, 0x6d, 0xfd, 0x4a, 0x22, 0xf4, 0x97, 0xb9, 0x6d, 0xe9, 0x4b, 0x9e, 0xe4, + 0x81, 0x18, 0x7d, 0x44, 0x0a, 0x6a, 0x04, 0x52, 0x3d, 0xcd, 0xe0, 0xc7, 0x29, 0x5b, 0x99, 0x3a, + 0x11, 0xa3, 0x36, 0xd2, 0x2f, 0x3e, 0x7e, 0xf7, 0xe9, 0xf9, 0xd0, 0x0c, 0x9d, 0x32, 0x23, 0xf0, + 0x82, 0xcf, 0xe4, 0x03, 0x1e, 0x6e, 0x99, 0xc7, 0xce, 0x7b, 0xfa, 0x4a, 0x23, 0x79, 0xb8, 0x58, + 0x74, 0xfa, 0xd8, 0xda, 0xa9, 0xe1, 0x5b, 0x99, 0x19, 0x80, 0x42, 0x0e, 0x6b, 0xc0, 0xe1, 0x16, + 0xbd, 0x79, 0x22, 0x07, 0xb8, 0xc4, 0xe6, 0x6e, 0xef, 0xf8, 0xf7, 0xcc, 0xdd, 0x4c, 0x27, 0xed, + 0xd1, 0x27, 0x1a, 0x29, 0x7e, 0x9f, 0x1b, 0xf4, 0x78, 0x26, 0xe9, 0x91, 0x5a, 0x99, 0x1d, 0x04, + 0x43, 0xc6, 0xf3, 0xc0, 0x78, 0x9a, 0xea, 0x83, 0x19, 0x83, 0x68, 0xe0, 0x8f, 0x6c, 0xd1, 0xfa, + 0x67, 0x48, 0xb6, 0x68, 0x89, 0xcb, 0x7d, 0x4a, 0xd1, 0xd4, 0xf3, 0x67, 0x45, 0x53, 0xf6, 0xcf, + 0x16, 0x2d, 0x31, 0x19, 0xb2, 0x45, 0x4b, 0xde, 0xa2, 0x53, 0x8a, 0x06, 0xcf, 0x5a, 0x7d, 0xff, + 0xb0, 0xaa, 0x1d, 0x1c, 0x56, 0xb5, 0x8f, 0x87, 0x55, 0xed, 0xd9, 0x51, 0x35, 0x77, 0x70, 0x54, + 0xcd, 0xbd, 0x3f, 0xaa, 0xe6, 0xee, 0x19, 0x8e, 0x2b, 0x37, 0xbb, 0x2d, 0x63, 0x9d, 0x77, 0x32, + 0xea, 0x3c, 0xec, 0xff, 0x0f, 0x69, 0x15, 0xe0, 0x47, 0x64, 0xf9, 0x5b, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x5f, 0x3d, 0xec, 0xb5, 0x7d, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/proof/types/requirement.pb.go b/x/proof/types/requirement.pb.go deleted file mode 100644 index 78b52fc2e..000000000 --- a/x/proof/types/requirement.pb.go +++ /dev/null @@ -1,72 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: poktroll/proof/requirement.proto - -package types - -import ( - fmt "fmt" - proto "github.com/cosmos/gogoproto/proto" - math "math" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -type ProofRequirementReason int32 - -const ( - ProofRequirementReason_NOT_REQUIRED ProofRequirementReason = 0 - ProofRequirementReason_PROBABILISTIC ProofRequirementReason = 1 - ProofRequirementReason_THRESHOLD ProofRequirementReason = 2 -) - -var ProofRequirementReason_name = map[int32]string{ - 0: "NOT_REQUIRED", - 1: "PROBABILISTIC", - 2: "THRESHOLD", -} - -var ProofRequirementReason_value = map[string]int32{ - "NOT_REQUIRED": 0, - "PROBABILISTIC": 1, - "THRESHOLD": 2, -} - -func (x ProofRequirementReason) String() string { - return proto.EnumName(ProofRequirementReason_name, int32(x)) -} - -func (ProofRequirementReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_33d036c0b01e3395, []int{0} -} - -func init() { - proto.RegisterEnum("poktroll.proof.ProofRequirementReason", ProofRequirementReason_name, ProofRequirementReason_value) -} - -func init() { proto.RegisterFile("poktroll/proof/requirement.proto", fileDescriptor_33d036c0b01e3395) } - -var fileDescriptor_33d036c0b01e3395 = []byte{ - // 200 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x28, 0xc8, 0xcf, 0x2e, - 0x29, 0xca, 0xcf, 0xc9, 0xd1, 0x2f, 0x28, 0xca, 0xcf, 0x4f, 0xd3, 0x2f, 0x4a, 0x2d, 0x2c, 0xcd, - 0x2c, 0x4a, 0xcd, 0x4d, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0xa9, - 0xd0, 0x03, 0xab, 0xd0, 0xf2, 0xe1, 0x12, 0x0b, 0x00, 0x31, 0x82, 0x10, 0x2a, 0x83, 0x52, 0x13, - 0x8b, 0xf3, 0xf3, 0x84, 0x04, 0xb8, 0x78, 0xfc, 0xfc, 0x43, 0xe2, 0x83, 0x5c, 0x03, 0x43, 0x3d, - 0x83, 0x5c, 0x5d, 0x04, 0x18, 0x84, 0x04, 0xb9, 0x78, 0x03, 0x82, 0xfc, 0x9d, 0x1c, 0x9d, 0x3c, - 0x7d, 0x3c, 0x83, 0x43, 0x3c, 0x9d, 0x05, 0x18, 0x85, 0x78, 0xb9, 0x38, 0x43, 0x3c, 0x82, 0x5c, - 0x83, 0x3d, 0xfc, 0x7d, 0x5c, 0x04, 0x98, 0x9c, 0x3c, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, - 0x8e, 0xf1, 0xc1, 0x23, 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, 0x1f, - 0xe4, 0x04, 0xdd, 0xbc, 0xd4, 0x92, 0xf2, 0xfc, 0xa2, 0x6c, 0x7d, 0xb8, 0x8b, 0x2b, 0xa0, 0x6e, - 0x2e, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x3b, 0xd7, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, - 0x12, 0x9e, 0x3a, 0x15, 0xd2, 0x00, 0x00, 0x00, -} diff --git a/x/proof/types/stage.pb.go b/x/proof/types/stage.pb.go deleted file mode 100644 index 80d215572..000000000 --- a/x/proof/types/stage.pb.go +++ /dev/null @@ -1,74 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: poktroll/proof/stage.proto - -package types - -import ( - fmt "fmt" - proto "github.com/cosmos/gogoproto/proto" - math "math" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -type ClaimProofStage int32 - -const ( - ClaimProofStage_CLAIMED ClaimProofStage = 0 - ClaimProofStage_PROVEN ClaimProofStage = 1 - ClaimProofStage_SETTLED ClaimProofStage = 2 - ClaimProofStage_EXPIRED ClaimProofStage = 3 -) - -var ClaimProofStage_name = map[int32]string{ - 0: "CLAIMED", - 1: "PROVEN", - 2: "SETTLED", - 3: "EXPIRED", -} - -var ClaimProofStage_value = map[string]int32{ - "CLAIMED": 0, - "PROVEN": 1, - "SETTLED": 2, - "EXPIRED": 3, -} - -func (x ClaimProofStage) String() string { - return proto.EnumName(ClaimProofStage_name, int32(x)) -} - -func (ClaimProofStage) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b565e55c52d3566e, []int{0} -} - -func init() { - proto.RegisterEnum("poktroll.proof.ClaimProofStage", ClaimProofStage_name, ClaimProofStage_value) -} - -func init() { proto.RegisterFile("poktroll/proof/stage.proto", fileDescriptor_b565e55c52d3566e) } - -var fileDescriptor_b565e55c52d3566e = []byte{ - // 188 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2a, 0xc8, 0xcf, 0x2e, - 0x29, 0xca, 0xcf, 0xc9, 0xd1, 0x2f, 0x28, 0xca, 0xcf, 0x4f, 0xd3, 0x2f, 0x2e, 0x49, 0x4c, 0x4f, - 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0xc9, 0xe9, 0x81, 0xe5, 0xb4, 0x5c, 0xb8, - 0xf8, 0x9d, 0x73, 0x12, 0x33, 0x73, 0x03, 0x40, 0xbc, 0x60, 0x90, 0x42, 0x21, 0x6e, 0x2e, 0x76, - 0x67, 0x1f, 0x47, 0x4f, 0x5f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x2e, 0x2e, 0xb6, 0x80, 0x20, 0xff, - 0x30, 0x57, 0x3f, 0x01, 0x46, 0x90, 0x44, 0xb0, 0x6b, 0x48, 0x88, 0x8f, 0xab, 0x8b, 0x00, 0x13, - 0x88, 0xe3, 0x1a, 0x11, 0xe0, 0x19, 0xe4, 0xea, 0x22, 0xc0, 0xec, 0xe4, 0x71, 0xe2, 0x91, 0x1c, - 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, - 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x7a, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, - 0xf9, 0xb9, 0xfa, 0x20, 0xab, 0x75, 0xf3, 0x52, 0x4b, 0xca, 0xf3, 0x8b, 0xb2, 0xf5, 0xe1, 0x6e, - 0xac, 0x80, 0xba, 0xb2, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xec, 0x4c, 0x63, 0x40, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x09, 0xfc, 0x51, 0x09, 0xc4, 0x00, 0x00, 0x00, -} diff --git a/x/proof/types/tx.pb.go b/x/proof/types/tx.pb.go index 6901f8590..a4df6c6ab 100644 --- a/x/proof/types/tx.pb.go +++ b/x/proof/types/tx.pb.go @@ -543,57 +543,57 @@ func init() { func init() { proto.RegisterFile("poktroll/proof/tx.proto", fileDescriptor_345e95e87511f6a6) } var fileDescriptor_345e95e87511f6a6 = []byte{ - // 793 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0x41, 0x4f, 0xdb, 0x48, - 0x14, 0x8e, 0xc3, 0x12, 0xe2, 0x49, 0xc8, 0x6a, 0x2d, 0x96, 0x38, 0x41, 0xeb, 0x44, 0x39, 0xec, - 0x66, 0xd9, 0xc5, 0x16, 0xb0, 0x42, 0x5a, 0x6e, 0x04, 0x15, 0xa5, 0x07, 0x54, 0x64, 0x8a, 0x54, - 0xf5, 0x62, 0x4d, 0x92, 0x21, 0xb1, 0x88, 0x3d, 0xd6, 0xcc, 0x84, 0xc2, 0xad, 0xea, 0xb1, 0xa7, - 0xfe, 0x8c, 0x1e, 0x39, 0xf4, 0xd2, 0x7f, 0xc0, 0x11, 0xf5, 0xd4, 0x53, 0x54, 0x41, 0x25, 0x54, - 0xf8, 0x13, 0x95, 0x67, 0xc6, 0x8e, 0x93, 0x06, 0xa8, 0x7a, 0xea, 0x25, 0x9e, 0x79, 0xdf, 0xf7, - 0x9e, 0xde, 0xfb, 0xde, 0x9b, 0x17, 0x50, 0x0c, 0xf0, 0x11, 0x23, 0xb8, 0xdf, 0xb7, 0x02, 0x82, - 0xf1, 0xa1, 0xc5, 0x4e, 0xcc, 0x80, 0x60, 0x86, 0xb5, 0x42, 0x04, 0x98, 0x1c, 0x28, 0xff, 0x06, - 0x3d, 0xd7, 0xc7, 0x16, 0xff, 0x15, 0x94, 0xb2, 0xd1, 0xc6, 0xd4, 0xc3, 0xd4, 0x6a, 0x41, 0x8a, - 0xac, 0xe3, 0xd5, 0x16, 0x62, 0x70, 0xd5, 0x6a, 0x63, 0xd7, 0x97, 0x78, 0x51, 0xe2, 0x1e, 0xed, - 0x5a, 0xc7, 0xab, 0xe1, 0x47, 0x02, 0x25, 0x01, 0x38, 0xfc, 0x66, 0x89, 0x8b, 0x84, 0x16, 0xba, - 0xb8, 0x8b, 0x85, 0x3d, 0x3c, 0x49, 0xeb, 0xd2, 0x44, 0x96, 0x01, 0x24, 0xd0, 0x8b, 0x5c, 0xca, - 0x13, 0x60, 0xbb, 0x0f, 0x5d, 0xef, 0x0e, 0x8c, 0xff, 0x46, 0xe9, 0xc7, 0x18, 0x45, 0x94, 0xba, - 0xd8, 0x8f, 0xbe, 0x12, 0xff, 0x63, 0x84, 0xf7, 0x20, 0x41, 0x1d, 0x8b, 0x22, 0x72, 0xec, 0xb6, - 0x91, 0x80, 0x6b, 0xef, 0x15, 0xf0, 0xeb, 0x2e, 0xed, 0x1e, 0x04, 0x1d, 0xc8, 0xd0, 0x1e, 0x4f, - 0x48, 0xdb, 0x00, 0x2a, 0x1c, 0xb0, 0x1e, 0x26, 0x2e, 0x3b, 0xd5, 0x95, 0xaa, 0x52, 0x57, 0x1b, - 0xfa, 0x87, 0x77, 0x2b, 0x0b, 0xb2, 0xc4, 0xad, 0x4e, 0x87, 0x20, 0x4a, 0xf7, 0x19, 0x71, 0xfd, - 0xae, 0x3d, 0xa2, 0x6a, 0xff, 0x83, 0x8c, 0x28, 0x49, 0x4f, 0x57, 0x95, 0x7a, 0x6e, 0x6d, 0xd1, - 0x1c, 0x57, 0xdf, 0x14, 0xf1, 0x1b, 0xea, 0xf9, 0xb0, 0x92, 0x7a, 0x7b, 0x7d, 0xb6, 0xac, 0xd8, - 0xd2, 0x61, 0x73, 0xfd, 0xd5, 0xf5, 0xd9, 0xf2, 0x28, 0xd4, 0xeb, 0xeb, 0xb3, 0xe5, 0x6a, 0x9c, - 0xf8, 0x89, 0x2c, 0x7b, 0x22, 0xcf, 0x5a, 0x09, 0x14, 0x27, 0x4c, 0x36, 0xa2, 0x01, 0xf6, 0x29, - 0xaa, 0x7d, 0x49, 0x83, 0xc2, 0x38, 0xf6, 0xc3, 0x55, 0x69, 0xe0, 0x17, 0x1f, 0x7a, 0x88, 0xd7, - 0xa4, 0xda, 0xfc, 0xac, 0xfd, 0x0b, 0x54, 0x48, 0x1d, 0xca, 0xb9, 0xfa, 0x0c, 0x8f, 0x35, 0x7f, - 0x33, 0xac, 0x8c, 0x8c, 0xcd, 0x94, 0x9d, 0x85, 0x32, 0x98, 0xf6, 0x37, 0xc8, 0x42, 0xea, 0xb8, - 0x3e, 0xdb, 0xf8, 0x4f, 0xcf, 0x54, 0x95, 0xfa, 0x4c, 0x23, 0x7f, 0x33, 0xac, 0xc4, 0xb6, 0x66, - 0xca, 0x9e, 0x83, 0xf4, 0x71, 0x78, 0x94, 0xd4, 0xd6, 0x29, 0x43, 0x54, 0x9f, 0xab, 0x2a, 0xf5, - 0x7c, 0x4c, 0xe5, 0x36, 0x41, 0x6d, 0x84, 0x47, 0x49, 0x3d, 0xec, 0x63, 0xc8, 0xf4, 0x6c, 0x55, - 0xa9, 0xa7, 0x63, 0x2a, 0xb7, 0x09, 0xea, 0x4e, 0x78, 0xd4, 0xb6, 0xc0, 0x1c, 0xa4, 0x4e, 0x38, - 0xd3, 0xba, 0xca, 0x3b, 0x53, 0x32, 0x65, 0xd5, 0xe1, 0xd0, 0x9b, 0x72, 0xe8, 0xcd, 0x6d, 0xec, - 0xfa, 0x8d, 0xdc, 0xcd, 0xb0, 0x12, 0xb1, 0x9b, 0x29, 0x3b, 0x03, 0x69, 0x68, 0xde, 0x2c, 0x8c, - 0x37, 0xa8, 0xa1, 0xf2, 0x90, 0xec, 0x34, 0x40, 0xb5, 0x26, 0x58, 0x1c, 0x97, 0x3a, 0xea, 0x82, - 0x66, 0xc6, 0x03, 0xa1, 0xdc, 0x37, 0x10, 0xd1, 0x14, 0xd4, 0x6e, 0x15, 0xde, 0xb5, 0x6d, 0x82, - 0x20, 0x43, 0xdb, 0xe1, 0x03, 0xd0, 0x9e, 0x82, 0x12, 0x1d, 0x04, 0x41, 0xdf, 0x45, 0xc4, 0xc1, - 0x01, 0x22, 0x90, 0x61, 0xe2, 0x40, 0xd1, 0xab, 0x07, 0xbb, 0x58, 0x8c, 0x5c, 0x9f, 0x48, 0x4f, - 0x09, 0x6b, 0x3b, 0xa0, 0x20, 0x5f, 0x89, 0xd3, 0x43, 0xb0, 0x83, 0x88, 0x9c, 0xd8, 0xca, 0x28, - 0xc1, 0xe8, 0x15, 0xed, 0x8b, 0x6f, 0x93, 0xd3, 0xec, 0x79, 0x9a, 0xbc, 0x6a, 0x4b, 0x40, 0x25, - 0x18, 0x33, 0xa7, 0x07, 0x69, 0x8f, 0xcf, 0x41, 0xde, 0xce, 0x86, 0x86, 0x26, 0xa4, 0xbd, 0x4d, - 0x23, 0x94, 0xec, 0xee, 0xec, 0x6b, 0x8f, 0xb8, 0x6e, 0x89, 0x62, 0x63, 0xdd, 0xfe, 0x01, 0xb3, - 0xfc, 0xf9, 0x4b, 0xd9, 0x7e, 0x9f, 0x94, 0x4d, 0xb0, 0x05, 0xa7, 0xf6, 0x59, 0x88, 0xb6, 0x3f, - 0x68, 0x79, 0x2e, 0xdb, 0x0b, 0xf1, 0x9f, 0x5c, 0xb4, 0x05, 0x30, 0xcb, 0xcb, 0x90, 0x82, 0x89, - 0xcb, 0x77, 0xaa, 0x95, 0xa8, 0x32, 0xa9, 0x96, 0x88, 0x77, 0x87, 0x5a, 0x82, 0x2d, 0x38, 0x6b, - 0xb7, 0x69, 0x30, 0xb3, 0x4b, 0xbb, 0xda, 0x33, 0x90, 0x1f, 0xdb, 0x79, 0x95, 0x49, 0xaf, 0x89, - 0xcd, 0x52, 0xfe, 0xeb, 0x01, 0x42, 0x9c, 0xce, 0x01, 0xc8, 0x25, 0x07, 0xd8, 0x98, 0xe2, 0x97, - 0xc0, 0xcb, 0x7f, 0xde, 0x8f, 0x27, 0xc3, 0x26, 0x5b, 0x3c, 0x2d, 0x6c, 0x02, 0x9f, 0x1a, 0x76, - 0x9a, 0x78, 0x07, 0x20, 0x97, 0x5c, 0x92, 0xc6, 0xfd, 0x55, 0x4e, 0x0d, 0x3b, 0xe5, 0xe5, 0x97, - 0x67, 0x5f, 0x86, 0xeb, 0xbd, 0xd1, 0x3c, 0xbf, 0x34, 0x94, 0x8b, 0x4b, 0x43, 0xf9, 0x74, 0x69, - 0x28, 0x6f, 0xae, 0x8c, 0xd4, 0xc5, 0x95, 0x91, 0xfa, 0x78, 0x65, 0xa4, 0x9e, 0x9b, 0x5d, 0x97, - 0xf5, 0x06, 0x2d, 0xb3, 0x8d, 0x3d, 0x2b, 0x0c, 0xb9, 0xe2, 0x23, 0xf6, 0x02, 0x93, 0x23, 0xeb, - 0x9b, 0xad, 0x1f, 0xee, 0x18, 0xda, 0xca, 0xf0, 0xbf, 0xab, 0xf5, 0xaf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xa9, 0xe8, 0xcc, 0x37, 0xea, 0x07, 0x00, 0x00, + // 786 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0xc1, 0x4e, 0xdb, 0x4a, + 0x14, 0x8d, 0xc3, 0x23, 0xc4, 0x93, 0x90, 0xa7, 0x67, 0xf1, 0x88, 0x13, 0xde, 0x73, 0xa2, 0x2c, + 0xda, 0x94, 0x16, 0x5b, 0x40, 0x85, 0x54, 0x76, 0x04, 0x15, 0xa5, 0x0b, 0x54, 0x64, 0x8a, 0x54, + 0x75, 0x63, 0x4d, 0x92, 0x21, 0xb1, 0x88, 0x3d, 0xd6, 0xcc, 0x84, 0xc2, 0xae, 0xea, 0xb2, 0xab, + 0x7e, 0x46, 0x97, 0x2c, 0xba, 0xe9, 0x1f, 0xb0, 0x44, 0x5d, 0x75, 0x15, 0x55, 0x50, 0x09, 0x15, + 0x7e, 0xa2, 0xf2, 0xcc, 0xc4, 0x71, 0xd2, 0x00, 0x55, 0x57, 0xdd, 0xc4, 0x33, 0xf7, 0x9c, 0x39, + 0xb9, 0xf7, 0xdc, 0xeb, 0x31, 0xc8, 0x07, 0xf8, 0x80, 0x11, 0xdc, 0xed, 0x5a, 0x01, 0xc1, 0x78, + 0xdf, 0x62, 0x47, 0x66, 0x40, 0x30, 0xc3, 0x5a, 0x6e, 0x00, 0x98, 0x1c, 0x28, 0xfe, 0x03, 0x3d, + 0xd7, 0xc7, 0x16, 0xff, 0x15, 0x94, 0xa2, 0xd1, 0xc4, 0xd4, 0xc3, 0xd4, 0x6a, 0x40, 0x8a, 0xac, + 0xc3, 0xe5, 0x06, 0x62, 0x70, 0xd9, 0x6a, 0x62, 0xd7, 0x97, 0x78, 0x5e, 0xe2, 0x1e, 0x6d, 0x5b, + 0x87, 0xcb, 0xe1, 0x43, 0x02, 0x05, 0x01, 0x38, 0x7c, 0x67, 0x89, 0x8d, 0x84, 0xe6, 0xda, 0xb8, + 0x8d, 0x45, 0x3c, 0x5c, 0xc9, 0xe8, 0xc2, 0x58, 0x96, 0x01, 0x24, 0xd0, 0x1b, 0x1c, 0x29, 0x8e, + 0x97, 0x70, 0x1c, 0xa0, 0x01, 0xf6, 0x5f, 0x84, 0x51, 0x44, 0xa9, 0x8b, 0xfd, 0x11, 0xf4, 0xff, + 0x21, 0xda, 0x81, 0x04, 0xb5, 0x2c, 0x8a, 0xc8, 0xa1, 0xdb, 0x44, 0x02, 0xae, 0x7c, 0x52, 0xc0, + 0xdf, 0xdb, 0xb4, 0xbd, 0x17, 0xb4, 0x20, 0x43, 0x3b, 0xfc, 0x2f, 0xb5, 0x35, 0xa0, 0xc2, 0x1e, + 0xeb, 0x60, 0xe2, 0xb2, 0x63, 0x5d, 0x29, 0x2b, 0x55, 0xb5, 0xa6, 0x7f, 0xfe, 0xb8, 0x34, 0x27, + 0x8b, 0xd8, 0x68, 0xb5, 0x08, 0xa2, 0x74, 0x97, 0x11, 0xd7, 0x6f, 0xdb, 0x43, 0xaa, 0xf6, 0x04, + 0xa4, 0x44, 0xd2, 0x7a, 0xb2, 0xac, 0x54, 0x33, 0x2b, 0xf3, 0xe6, 0xa8, 0xbf, 0xa6, 0xd0, 0xaf, + 0xa9, 0xa7, 0xfd, 0x52, 0xe2, 0xc3, 0xe5, 0xc9, 0xa2, 0x62, 0xcb, 0x03, 0xeb, 0xab, 0x6f, 0x2f, + 0x4f, 0x16, 0x87, 0x52, 0xef, 0x2e, 0x4f, 0x16, 0xcb, 0x51, 0xe2, 0x47, 0xb2, 0xe8, 0xb1, 0x3c, + 0x2b, 0x05, 0x90, 0x1f, 0x0b, 0xd9, 0x88, 0x06, 0xd8, 0xa7, 0xa8, 0xf2, 0x3d, 0x09, 0x72, 0xa3, + 0xd8, 0x6f, 0x57, 0xa5, 0x81, 0xbf, 0x7c, 0xe8, 0x21, 0x5e, 0x93, 0x6a, 0xf3, 0xb5, 0xf6, 0x08, + 0xa8, 0x90, 0x3a, 0x94, 0x73, 0xf5, 0x29, 0xae, 0x35, 0x7b, 0xd5, 0x2f, 0x0d, 0x83, 0xf5, 0x84, + 0x9d, 0x86, 0x52, 0x4c, 0x7b, 0x00, 0xd2, 0x90, 0x3a, 0xae, 0xcf, 0xd6, 0x1e, 0xeb, 0xa9, 0xb2, + 0x52, 0x9d, 0xaa, 0x65, 0xaf, 0xfa, 0xa5, 0x28, 0x56, 0x4f, 0xd8, 0x33, 0x90, 0x3e, 0x0b, 0x97, + 0x92, 0xda, 0x38, 0x66, 0x88, 0xea, 0x33, 0x65, 0xa5, 0x9a, 0x8d, 0xa8, 0x3c, 0x26, 0xa8, 0xb5, + 0x70, 0x29, 0xa9, 0xfb, 0x5d, 0x0c, 0x99, 0x9e, 0x2e, 0x2b, 0xd5, 0x64, 0x44, 0xe5, 0x31, 0x41, + 0xdd, 0x0a, 0x97, 0xda, 0x06, 0x98, 0x81, 0xd4, 0x09, 0xa7, 0x56, 0x57, 0x79, 0x67, 0x0a, 0xa6, + 0xac, 0x3a, 0x1c, 0x6b, 0x53, 0x8e, 0xb5, 0xb9, 0x89, 0x5d, 0xbf, 0x96, 0xb9, 0xea, 0x97, 0x06, + 0xec, 0x7a, 0xc2, 0x4e, 0x41, 0x1a, 0x86, 0xd7, 0x73, 0xa3, 0x0d, 0xaa, 0xa9, 0x5c, 0x32, 0x1c, + 0xb4, 0x4a, 0x1d, 0xcc, 0x8f, 0x5a, 0x3d, 0xe8, 0x82, 0x66, 0x46, 0x03, 0xa1, 0xdc, 0x36, 0x10, + 0x83, 0x29, 0xa8, 0x5c, 0x2b, 0xbc, 0x6b, 0x9b, 0x04, 0x41, 0x86, 0x36, 0xbb, 0xd0, 0xf5, 0xb4, + 0x17, 0xa0, 0x40, 0x7b, 0x41, 0xd0, 0x75, 0x11, 0x71, 0x70, 0x80, 0x08, 0x64, 0x98, 0x38, 0x50, + 0xf4, 0xea, 0xce, 0x2e, 0xe6, 0x07, 0x47, 0x9f, 0xcb, 0x93, 0x12, 0xd6, 0xb6, 0x40, 0x4e, 0xbe, + 0x2b, 0x4e, 0x07, 0xc1, 0x16, 0x22, 0x72, 0x62, 0x4b, 0xc3, 0x04, 0x25, 0x6e, 0xee, 0x8a, 0x67, + 0x9d, 0xd3, 0xec, 0x59, 0x1a, 0xdf, 0x6a, 0x0b, 0x40, 0x25, 0x18, 0x33, 0xa7, 0x03, 0x69, 0x87, + 0xcf, 0x41, 0xd6, 0x4e, 0x87, 0x81, 0x3a, 0xa4, 0x9d, 0x75, 0x23, 0xb4, 0xec, 0xe6, 0xec, 0x2b, + 0x4f, 0xb9, 0x6f, 0xb1, 0x62, 0x23, 0xdf, 0x1e, 0x82, 0xe9, 0x66, 0x18, 0x90, 0xb6, 0xfd, 0x3b, + 0x6e, 0x9b, 0x60, 0x0b, 0x4e, 0xe5, 0x9b, 0x30, 0x6d, 0xb7, 0xd7, 0xf0, 0x5c, 0xb6, 0x13, 0xe2, + 0x7f, 0xb8, 0x69, 0x73, 0x60, 0x9a, 0x97, 0x21, 0x0d, 0x13, 0x9b, 0x5f, 0x74, 0x2b, 0x56, 0x65, + 0xdc, 0x2d, 0xa1, 0x77, 0x83, 0x5b, 0x82, 0x2d, 0x38, 0x2b, 0xd7, 0x49, 0x30, 0xb5, 0x4d, 0xdb, + 0xda, 0x4b, 0x90, 0x1d, 0xb9, 0xf3, 0x4a, 0xe3, 0xa7, 0xc6, 0x6e, 0x96, 0xe2, 0xfd, 0x3b, 0x08, + 0x51, 0x3a, 0x7b, 0x20, 0x13, 0x1f, 0x60, 0x63, 0xc2, 0xb9, 0x18, 0x5e, 0xbc, 0x77, 0x3b, 0x1e, + 0x97, 0x8d, 0xb7, 0x78, 0x92, 0x6c, 0x0c, 0x9f, 0x28, 0x3b, 0xc9, 0xbc, 0x3d, 0x90, 0x89, 0x5f, + 0x92, 0xc6, 0xed, 0x55, 0x4e, 0x94, 0x9d, 0xf0, 0xe6, 0x17, 0xa7, 0xdf, 0x84, 0xd7, 0x7b, 0xad, + 0x7e, 0x7a, 0x6e, 0x28, 0x67, 0xe7, 0x86, 0xf2, 0xf5, 0xdc, 0x50, 0xde, 0x5f, 0x18, 0x89, 0xb3, + 0x0b, 0x23, 0xf1, 0xe5, 0xc2, 0x48, 0xbc, 0x32, 0xdb, 0x2e, 0xeb, 0xf4, 0x1a, 0x66, 0x13, 0x7b, + 0x56, 0x28, 0xb9, 0xe4, 0x23, 0xf6, 0x1a, 0x93, 0x03, 0xeb, 0xa7, 0x5b, 0x9f, 0x7f, 0xcc, 0x1a, + 0x29, 0xfe, 0xb9, 0x5a, 0xfd, 0x11, 0x00, 0x00, 0xff, 0xff, 0x26, 0xcc, 0x7e, 0x2f, 0xcc, 0x07, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/proof/types/types.pb.go b/x/proof/types/types.pb.go new file mode 100644 index 000000000..f35dbfb4e --- /dev/null +++ b/x/proof/types/types.pb.go @@ -0,0 +1,797 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: poktroll/proof/types.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + proto "github.com/cosmos/gogoproto/proto" + types "github.com/pokt-network/poktroll/x/session/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type ProofRequirementReason int32 + +const ( + ProofRequirementReason_NOT_REQUIRED ProofRequirementReason = 0 + ProofRequirementReason_PROBABILISTIC ProofRequirementReason = 1 + ProofRequirementReason_THRESHOLD ProofRequirementReason = 2 +) + +var ProofRequirementReason_name = map[int32]string{ + 0: "NOT_REQUIRED", + 1: "PROBABILISTIC", + 2: "THRESHOLD", +} + +var ProofRequirementReason_value = map[string]int32{ + "NOT_REQUIRED": 0, + "PROBABILISTIC": 1, + "THRESHOLD": 2, +} + +func (x ProofRequirementReason) String() string { + return proto.EnumName(ProofRequirementReason_name, int32(x)) +} + +func (ProofRequirementReason) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_b75ef15dfd4d6998, []int{0} +} + +type ClaimProofStage int32 + +const ( + ClaimProofStage_CLAIMED ClaimProofStage = 0 + ClaimProofStage_PROVEN ClaimProofStage = 1 + ClaimProofStage_SETTLED ClaimProofStage = 2 + ClaimProofStage_EXPIRED ClaimProofStage = 3 +) + +var ClaimProofStage_name = map[int32]string{ + 0: "CLAIMED", + 1: "PROVEN", + 2: "SETTLED", + 3: "EXPIRED", +} + +var ClaimProofStage_value = map[string]int32{ + "CLAIMED": 0, + "PROVEN": 1, + "SETTLED": 2, + "EXPIRED": 3, +} + +func (x ClaimProofStage) String() string { + return proto.EnumName(ClaimProofStage_name, int32(x)) +} + +func (ClaimProofStage) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_b75ef15dfd4d6998, []int{1} +} + +type Proof struct { + // Address of the supplier's operator that submitted this proof. + SupplierOperatorAddress string `protobuf:"bytes,1,opt,name=supplier_operator_address,json=supplierOperatorAddress,proto3" json:"supplier_operator_address,omitempty"` + // The session header of the session that this claim is for. + SessionHeader *types.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` + // The serialized SMST proof from the `#ClosestProof()` method. + ClosestMerkleProof []byte `protobuf:"bytes,3,opt,name=closest_merkle_proof,json=closestMerkleProof,proto3" json:"closest_merkle_proof,omitempty"` +} + +func (m *Proof) Reset() { *m = Proof{} } +func (m *Proof) String() string { return proto.CompactTextString(m) } +func (*Proof) ProtoMessage() {} +func (*Proof) Descriptor() ([]byte, []int) { + return fileDescriptor_b75ef15dfd4d6998, []int{0} +} +func (m *Proof) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Proof.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Proof) XXX_Merge(src proto.Message) { + xxx_messageInfo_Proof.Merge(m, src) +} +func (m *Proof) XXX_Size() int { + return m.Size() +} +func (m *Proof) XXX_DiscardUnknown() { + xxx_messageInfo_Proof.DiscardUnknown(m) +} + +var xxx_messageInfo_Proof proto.InternalMessageInfo + +func (m *Proof) GetSupplierOperatorAddress() string { + if m != nil { + return m.SupplierOperatorAddress + } + return "" +} + +func (m *Proof) GetSessionHeader() *types.SessionHeader { + if m != nil { + return m.SessionHeader + } + return nil +} + +func (m *Proof) GetClosestMerkleProof() []byte { + if m != nil { + return m.ClosestMerkleProof + } + return nil +} + +// Claim is the serialized object stored on-chain for claims pending to be proven +type Claim struct { + SupplierOperatorAddress string `protobuf:"bytes,1,opt,name=supplier_operator_address,json=supplierOperatorAddress,proto3" json:"supplier_operator_address,omitempty"` + // The session header of the session that this claim is for. + SessionHeader *types.SessionHeader `protobuf:"bytes,2,opt,name=session_header,json=sessionHeader,proto3" json:"session_header,omitempty"` + // Root hash returned from smt.SMST#Root(). + RootHash []byte `protobuf:"bytes,3,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` +} + +func (m *Claim) Reset() { *m = Claim{} } +func (m *Claim) String() string { return proto.CompactTextString(m) } +func (*Claim) ProtoMessage() {} +func (*Claim) Descriptor() ([]byte, []int) { + return fileDescriptor_b75ef15dfd4d6998, []int{1} +} +func (m *Claim) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Claim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Claim.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Claim) XXX_Merge(src proto.Message) { + xxx_messageInfo_Claim.Merge(m, src) +} +func (m *Claim) XXX_Size() int { + return m.Size() +} +func (m *Claim) XXX_DiscardUnknown() { + xxx_messageInfo_Claim.DiscardUnknown(m) +} + +var xxx_messageInfo_Claim proto.InternalMessageInfo + +func (m *Claim) GetSupplierOperatorAddress() string { + if m != nil { + return m.SupplierOperatorAddress + } + return "" +} + +func (m *Claim) GetSessionHeader() *types.SessionHeader { + if m != nil { + return m.SessionHeader + } + return nil +} + +func (m *Claim) GetRootHash() []byte { + if m != nil { + return m.RootHash + } + return nil +} + +func init() { + proto.RegisterEnum("poktroll.proof.ProofRequirementReason", ProofRequirementReason_name, ProofRequirementReason_value) + proto.RegisterEnum("poktroll.proof.ClaimProofStage", ClaimProofStage_name, ClaimProofStage_value) + proto.RegisterType((*Proof)(nil), "poktroll.proof.Proof") + proto.RegisterType((*Claim)(nil), "poktroll.proof.Claim") +} + +func init() { proto.RegisterFile("poktroll/proof/types.proto", fileDescriptor_b75ef15dfd4d6998) } + +var fileDescriptor_b75ef15dfd4d6998 = []byte{ + // 439 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x92, 0x4f, 0x6e, 0xd3, 0x40, + 0x14, 0xc6, 0x33, 0xa9, 0x5a, 0xc8, 0xb4, 0x29, 0x66, 0x54, 0x41, 0x1a, 0x90, 0x89, 0xba, 0x8a, + 0x2a, 0xd5, 0x46, 0x70, 0x82, 0xfc, 0x31, 0xb2, 0x25, 0xb7, 0x0e, 0x63, 0x83, 0x10, 0x1b, 0x6b, + 0x9a, 0x0c, 0xb1, 0x15, 0xdb, 0xcf, 0xcc, 0x4c, 0x04, 0xdc, 0x82, 0xc3, 0x70, 0x02, 0x56, 0x2c, + 0x2b, 0x36, 0xb0, 0x44, 0xc9, 0x45, 0x90, 0x27, 0x4e, 0x94, 0x23, 0x74, 0x35, 0x7a, 0xf3, 0x7b, + 0xef, 0x7b, 0xfa, 0x9e, 0x3e, 0xdc, 0x2d, 0x61, 0xa1, 0x04, 0x64, 0x99, 0x5d, 0x0a, 0x80, 0x4f, + 0xb6, 0xfa, 0x56, 0x72, 0x69, 0x95, 0x02, 0x14, 0x90, 0xd3, 0x2d, 0xb3, 0x34, 0xeb, 0x9e, 0x4f, + 0x41, 0xe6, 0x20, 0x63, 0x4d, 0xed, 0x4d, 0xb1, 0x69, 0xed, 0x3e, 0xdf, 0xc9, 0x48, 0x2e, 0x65, + 0x0a, 0xc5, 0xbe, 0xd0, 0xc5, 0x1f, 0x84, 0x0f, 0x27, 0x95, 0x04, 0x89, 0xf0, 0xb9, 0x5c, 0x96, + 0x65, 0x96, 0x72, 0x11, 0x43, 0xc9, 0x05, 0x53, 0x20, 0x62, 0x36, 0x9b, 0x09, 0x2e, 0x65, 0x07, + 0xf5, 0x50, 0xbf, 0x35, 0xec, 0xfc, 0xfe, 0x71, 0x75, 0x56, 0x8b, 0x0f, 0x36, 0x24, 0x54, 0x22, + 0x2d, 0xe6, 0xf4, 0xe9, 0x76, 0x34, 0xa8, 0x27, 0x6b, 0x4c, 0xde, 0xe0, 0xd3, 0x7a, 0x6d, 0x9c, + 0x70, 0x36, 0xe3, 0xa2, 0xd3, 0xec, 0xa1, 0xfe, 0xf1, 0xab, 0x17, 0xd6, 0xce, 0x41, 0xcd, 0xad, + 0x70, 0xf3, 0xba, 0xba, 0x8d, 0xb6, 0xe5, 0x7e, 0x49, 0x5e, 0xe2, 0xb3, 0x69, 0x06, 0x92, 0x4b, + 0x15, 0xe7, 0x5c, 0x2c, 0x32, 0x1e, 0x6b, 0xe3, 0x9d, 0x83, 0x1e, 0xea, 0x9f, 0x50, 0x52, 0xb3, + 0x6b, 0x8d, 0xb4, 0x9f, 0x8b, 0x9f, 0x08, 0x1f, 0x8e, 0x32, 0x96, 0xe6, 0xf7, 0xdc, 0xd9, 0x33, + 0xdc, 0x12, 0x00, 0x2a, 0x4e, 0x98, 0x4c, 0x6a, 0x3b, 0x0f, 0xab, 0x0f, 0x97, 0xc9, 0xe4, 0xd2, + 0xc7, 0x4f, 0xb4, 0x1b, 0xca, 0x3f, 0x2f, 0x53, 0xc1, 0x73, 0x5e, 0x28, 0xca, 0x99, 0x84, 0x82, + 0x18, 0xf8, 0xe4, 0x26, 0x88, 0x62, 0xea, 0xbc, 0x7d, 0xe7, 0x51, 0x67, 0x6c, 0x34, 0xc8, 0x63, + 0xdc, 0x9e, 0xd0, 0x60, 0x38, 0x18, 0x7a, 0xbe, 0x17, 0x46, 0xde, 0xc8, 0x40, 0xa4, 0x8d, 0x5b, + 0x91, 0x4b, 0x9d, 0xd0, 0x0d, 0xfc, 0xb1, 0xd1, 0xbc, 0x1c, 0xe3, 0x47, 0xfa, 0x22, 0x5a, 0x32, + 0x54, 0x6c, 0xce, 0xc9, 0x31, 0x7e, 0x30, 0xf2, 0x07, 0xde, 0xb5, 0x56, 0xc0, 0xf8, 0x68, 0x42, + 0x83, 0xf7, 0xce, 0x8d, 0x81, 0x2a, 0x10, 0x3a, 0x51, 0xe4, 0x3b, 0x63, 0xa3, 0x59, 0x15, 0xce, + 0x87, 0x89, 0xde, 0x73, 0x30, 0x74, 0x7f, 0xad, 0x4c, 0x74, 0xb7, 0x32, 0xd1, 0xbf, 0x95, 0x89, + 0xbe, 0xaf, 0xcd, 0xc6, 0xdd, 0xda, 0x6c, 0xfc, 0x5d, 0x9b, 0x8d, 0x8f, 0xd6, 0x3c, 0x55, 0xc9, + 0xf2, 0xd6, 0x9a, 0x42, 0x6e, 0x57, 0x47, 0xb8, 0x2a, 0xb8, 0xfa, 0x02, 0x62, 0x61, 0xef, 0x22, + 0xf8, 0x75, 0x3f, 0xcb, 0xb7, 0x47, 0x3a, 0x83, 0xaf, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0xa3, + 0xc2, 0x94, 0xb8, 0xea, 0x02, 0x00, 0x00, +} + +func (m *Proof) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Proof) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Proof) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ClosestMerkleProof) > 0 { + i -= len(m.ClosestMerkleProof) + copy(dAtA[i:], m.ClosestMerkleProof) + i = encodeVarintTypes(dAtA, i, uint64(len(m.ClosestMerkleProof))) + i-- + dAtA[i] = 0x1a + } + if m.SessionHeader != nil { + { + size, err := m.SessionHeader.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTypes(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.SupplierOperatorAddress) > 0 { + i -= len(m.SupplierOperatorAddress) + copy(dAtA[i:], m.SupplierOperatorAddress) + i = encodeVarintTypes(dAtA, i, uint64(len(m.SupplierOperatorAddress))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Claim) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Claim) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Claim) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.RootHash) > 0 { + i -= len(m.RootHash) + copy(dAtA[i:], m.RootHash) + i = encodeVarintTypes(dAtA, i, uint64(len(m.RootHash))) + i-- + dAtA[i] = 0x1a + } + if m.SessionHeader != nil { + { + size, err := m.SessionHeader.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTypes(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.SupplierOperatorAddress) > 0 { + i -= len(m.SupplierOperatorAddress) + copy(dAtA[i:], m.SupplierOperatorAddress) + i = encodeVarintTypes(dAtA, i, uint64(len(m.SupplierOperatorAddress))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { + offset -= sovTypes(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Proof) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.SupplierOperatorAddress) + if l > 0 { + n += 1 + l + sovTypes(uint64(l)) + } + if m.SessionHeader != nil { + l = m.SessionHeader.Size() + n += 1 + l + sovTypes(uint64(l)) + } + l = len(m.ClosestMerkleProof) + if l > 0 { + n += 1 + l + sovTypes(uint64(l)) + } + return n +} + +func (m *Claim) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.SupplierOperatorAddress) + if l > 0 { + n += 1 + l + sovTypes(uint64(l)) + } + if m.SessionHeader != nil { + l = m.SessionHeader.Size() + n += 1 + l + sovTypes(uint64(l)) + } + l = len(m.RootHash) + if l > 0 { + n += 1 + l + sovTypes(uint64(l)) + } + return n +} + +func sovTypes(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTypes(x uint64) (n int) { + return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Proof) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTypes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Proof: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Proof: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SupplierOperatorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTypes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTypes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SupplierOperatorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionHeader", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTypes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTypes + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SessionHeader == nil { + m.SessionHeader = &types.SessionHeader{} + } + if err := m.SessionHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClosestMerkleProof", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTypes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTypes + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClosestMerkleProof = append(m.ClosestMerkleProof[:0], dAtA[iNdEx:postIndex]...) + if m.ClosestMerkleProof == nil { + m.ClosestMerkleProof = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTypes(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTypes + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Claim) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTypes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Claim: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Claim: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SupplierOperatorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTypes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTypes + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SupplierOperatorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SessionHeader", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTypes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTypes + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SessionHeader == nil { + m.SessionHeader = &types.SessionHeader{} + } + if err := m.SessionHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RootHash", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTypes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTypes + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RootHash = append(m.RootHash[:0], dAtA[iNdEx:postIndex]...) + if m.RootHash == nil { + m.RootHash = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTypes(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTypes + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipTypes(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTypes + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTypes + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTypes + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthTypes + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupTypes + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthTypes + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/service/types/relay.pb.go b/x/service/types/relay.pb.go index dc2e55c54..0420af51b 100644 --- a/x/service/types/relay.pb.go +++ b/x/service/types/relay.pb.go @@ -326,33 +326,33 @@ func init() { proto.RegisterFile("poktroll/service/relay.proto", fileDescriptor_ var fileDescriptor_38cf3e40553b40a1 = []byte{ // 432 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xf6, 0xd2, 0x02, 0xea, 0xd2, 0x22, 0xb4, 0x0a, 0xc2, 0x29, 0xd5, 0xb6, 0xf2, 0x01, 0x7a, - 0xa9, 0x5d, 0xe0, 0x8e, 0x68, 0x0e, 0x08, 0x21, 0x21, 0x24, 0x87, 0x13, 0x17, 0x6b, 0x1b, 0x8f, - 0x1c, 0x13, 0xc7, 0xbb, 0xd9, 0x59, 0x03, 0x79, 0x0b, 0xde, 0x80, 0x97, 0xe0, 0x21, 0x72, 0x8c, - 0x72, 0xe2, 0x84, 0x50, 0xf2, 0x22, 0xc8, 0xf6, 0x3a, 0x38, 0xe1, 0x4f, 0x48, 0x3d, 0xd9, 0x33, - 0xdf, 0x7c, 0x3b, 0xdf, 0x7c, 0xa3, 0xa1, 0x47, 0x4a, 0x8e, 0x8c, 0x96, 0x59, 0x16, 0x20, 0xe8, - 0xf7, 0xe9, 0x00, 0x02, 0x0d, 0x99, 0x98, 0xfa, 0x4a, 0x4b, 0x23, 0xd9, 0x9d, 0x06, 0xf5, 0x2d, - 0x7a, 0xd8, 0x1d, 0x48, 0x1c, 0x4b, 0x8c, 0x2a, 0x3c, 0xa8, 0x83, 0xba, 0xf8, 0xb0, 0x93, 0xc8, - 0x44, 0xd6, 0xf9, 0xf2, 0xcf, 0x66, 0x79, 0xab, 0x01, 0x62, 0x2a, 0xf3, 0xe6, 0x5b, 0xe3, 0x5e, - 0x46, 0xaf, 0x87, 0x65, 0x47, 0x76, 0x4e, 0x77, 0x34, 0x4c, 0x5c, 0x72, 0x42, 0x4e, 0x6f, 0x3d, - 0xe6, 0xfe, 0x76, 0x67, 0xbf, 0xaa, 0x0a, 0x61, 0x52, 0x00, 0x9a, 0xb0, 0x2c, 0x65, 0x8f, 0x4a, - 0x06, 0xba, 0xd7, 0x2a, 0xc6, 0xf1, 0x1f, 0x19, 0xa8, 0x64, 0x8e, 0x50, 0x52, 0xd0, 0x5b, 0x10, - 0xda, 0x69, 0x3f, 0xf4, 0x0a, 0x8c, 0x88, 0x85, 0x11, 0xec, 0x39, 0xbd, 0x6d, 0x75, 0x45, 0x43, - 0x10, 0x31, 0x68, 0x2b, 0x64, 0xe3, 0xd9, 0x5a, 0x77, 0xbf, 0xfe, 0xbe, 0xa8, 0xca, 0xc2, 0x03, - 0x6c, 0x87, 0xec, 0x88, 0xee, 0x61, 0x9a, 0xe4, 0xc2, 0x14, 0x1a, 0x2a, 0x65, 0xfb, 0xe1, 0xcf, - 0x04, 0x7b, 0x43, 0xbb, 0x58, 0x28, 0x95, 0xa5, 0xa0, 0x23, 0xa9, 0x40, 0x0b, 0x23, 0x75, 0x24, - 0xe2, 0x58, 0x03, 0xa2, 0xbb, 0x73, 0x42, 0x4e, 0xf7, 0x7a, 0xee, 0xe2, 0xcb, 0x59, 0xc7, 0xfa, - 0x7a, 0x51, 0x23, 0x7d, 0xa3, 0xd3, 0x3c, 0x09, 0xef, 0x35, 0xd4, 0xd7, 0x96, 0x69, 0x61, 0xef, - 0x1d, 0xdd, 0x6f, 0xcf, 0xc4, 0x9e, 0xd1, 0xdd, 0x31, 0x18, 0x61, 0x27, 0x78, 0xf0, 0x77, 0x2b, - 0x1b, 0x07, 0x7a, 0xbb, 0xb3, 0x6f, 0xc7, 0x4e, 0x58, 0x31, 0x99, 0x4b, 0x6f, 0x2a, 0x31, 0xcd, - 0xa4, 0x88, 0xed, 0x0c, 0x4d, 0xe8, 0x65, 0xf4, 0x60, 0xc3, 0x56, 0x76, 0xb1, 0xd1, 0xec, 0xe1, - 0x3f, 0xb6, 0xf0, 0x9f, 0xdd, 0x3e, 0x13, 0x7a, 0xf7, 0xb7, 0xfc, 0x2b, 0xdb, 0xd7, 0x53, 0x7a, - 0xff, 0xd7, 0x8d, 0x6c, 0x6f, 0xb0, 0xbb, 0xed, 0x7c, 0xbf, 0x29, 0xe8, 0xbd, 0x9c, 0x2d, 0x39, - 0x99, 0x2f, 0x39, 0xf9, 0xbe, 0xe4, 0xe4, 0xd3, 0x8a, 0x3b, 0xf3, 0x15, 0x77, 0xbe, 0xae, 0xb8, - 0xf3, 0xf6, 0x3c, 0x49, 0xcd, 0xb0, 0xb8, 0xf4, 0x07, 0x72, 0x1c, 0x94, 0x9a, 0xce, 0x72, 0x30, - 0x1f, 0xa4, 0x1e, 0x05, 0xeb, 0x83, 0xf8, 0xb8, 0xbe, 0x39, 0x33, 0x55, 0x80, 0x97, 0x37, 0xaa, - 0x8b, 0x78, 0xf2, 0x23, 0x00, 0x00, 0xff, 0xff, 0xf3, 0xcc, 0x64, 0x01, 0x94, 0x03, 0x00, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0xcd, 0x8e, 0xd3, 0x30, + 0x10, 0x8e, 0xd9, 0x05, 0xb4, 0x66, 0x17, 0x21, 0xab, 0x88, 0x74, 0xa9, 0xd2, 0x2a, 0x07, 0xe8, + 0xa5, 0x49, 0x81, 0x3b, 0xa2, 0x3d, 0x20, 0x84, 0x84, 0x90, 0x52, 0x4e, 0x5c, 0x22, 0xb7, 0x19, + 0xa5, 0xa1, 0x69, 0xec, 0xda, 0x0e, 0xd0, 0xb7, 0xe0, 0x0d, 0x78, 0x09, 0x1e, 0xa2, 0xc7, 0xaa, + 0x27, 0x4e, 0x08, 0xb5, 0x2f, 0x82, 0xe2, 0x38, 0x25, 0x2d, 0x7f, 0x42, 0xda, 0x53, 0x32, 0xf3, + 0xcd, 0xe7, 0x6f, 0xe6, 0x1b, 0x0d, 0x6e, 0x71, 0x36, 0x53, 0x82, 0xa5, 0xa9, 0x2f, 0x41, 0xbc, + 0x4f, 0x26, 0xe0, 0x0b, 0x48, 0xe9, 0xd2, 0xe3, 0x82, 0x29, 0x46, 0xee, 0x54, 0xa8, 0x67, 0xd0, + 0xcb, 0xe6, 0x84, 0xc9, 0x39, 0x93, 0xa1, 0xc6, 0xfd, 0x32, 0x28, 0x8b, 0x2f, 0x1b, 0x31, 0x8b, + 0x59, 0x99, 0x2f, 0xfe, 0x4c, 0xb6, 0x2e, 0x20, 0x65, 0xc2, 0x32, 0x5f, 0x2d, 0x39, 0x18, 0x8e, + 0x9b, 0xe2, 0xeb, 0x41, 0xa1, 0x47, 0xfa, 0xf8, 0x44, 0xc0, 0xc2, 0x46, 0x1d, 0xd4, 0xbd, 0xf5, + 0xd8, 0xf1, 0x8e, 0x75, 0x3d, 0x5d, 0x15, 0xc0, 0x22, 0x07, 0xa9, 0x82, 0xa2, 0x94, 0x3c, 0x2a, + 0x18, 0xd2, 0xbe, 0xa6, 0x19, 0xed, 0x3f, 0x32, 0x24, 0x67, 0x99, 0x84, 0x82, 0x22, 0xdd, 0x0d, + 0xc2, 0x8d, 0xfa, 0x43, 0xaf, 0x40, 0xd1, 0x88, 0x2a, 0x4a, 0x9e, 0xe3, 0xdb, 0xa6, 0xbb, 0x70, + 0x0a, 0x34, 0x02, 0x61, 0x1a, 0x39, 0x78, 0x56, 0xe3, 0xde, 0xa8, 0xfc, 0xbe, 0xd0, 0x65, 0xc1, + 0x85, 0xac, 0x87, 0xa4, 0x85, 0xcf, 0x64, 0x12, 0x67, 0x54, 0xe5, 0x02, 0x74, 0x67, 0xe7, 0xc1, + 0xcf, 0x04, 0x79, 0x83, 0x9b, 0x32, 0xe7, 0x3c, 0x4d, 0x40, 0x84, 0x8c, 0x83, 0xa0, 0x8a, 0x89, + 0x90, 0x46, 0x91, 0x00, 0x29, 0xed, 0x93, 0x0e, 0xea, 0x9e, 0x0d, 0xed, 0xcd, 0x97, 0x5e, 0xc3, + 0xb8, 0x3a, 0x28, 0x91, 0x91, 0x12, 0x49, 0x16, 0x07, 0xf7, 0x2a, 0xea, 0x6b, 0xc3, 0x34, 0xb0, + 0xfb, 0x0e, 0x9f, 0xd7, 0x67, 0x22, 0xcf, 0xf0, 0xe9, 0x1c, 0x14, 0x35, 0x13, 0x3c, 0xf8, 0xbb, + 0x95, 0x95, 0x03, 0xc3, 0xd3, 0xd5, 0xb7, 0xb6, 0x15, 0x68, 0x26, 0xb1, 0xf1, 0x4d, 0x4e, 0x97, + 0x29, 0xa3, 0x91, 0x99, 0xa1, 0x0a, 0xdd, 0x14, 0x5f, 0x1c, 0xd8, 0x4a, 0x06, 0x07, 0x62, 0x0f, + 0xff, 0xb1, 0x85, 0xff, 0x54, 0xfb, 0x8c, 0xf0, 0xdd, 0xdf, 0xf2, 0xaf, 0x6c, 0x5f, 0x4f, 0xf1, + 0xfd, 0x5f, 0x37, 0x72, 0xbc, 0xc1, 0xe6, 0xb1, 0xf3, 0xa3, 0xaa, 0x60, 0xf8, 0x72, 0xb5, 0x75, + 0xd0, 0x7a, 0xeb, 0xa0, 0xef, 0x5b, 0x07, 0x7d, 0xda, 0x39, 0xd6, 0x7a, 0xe7, 0x58, 0x5f, 0x77, + 0x8e, 0xf5, 0xb6, 0x1f, 0x27, 0x6a, 0x9a, 0x8f, 0xbd, 0x09, 0x9b, 0xfb, 0x45, 0x4f, 0xbd, 0x0c, + 0xd4, 0x07, 0x26, 0x66, 0xfe, 0xfe, 0x1c, 0x3e, 0xee, 0x2f, 0x4e, 0x1f, 0xc4, 0xf8, 0x86, 0xbe, + 0x88, 0x27, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x0b, 0xfb, 0x3a, 0x92, 0x03, 0x00, 0x00, } func (m *Relay) Marshal() (dAtA []byte, err error) { diff --git a/x/session/types/query.pb.go b/x/session/types/query.pb.go index 64e4d9192..03c4a163a 100644 --- a/x/session/types/query.pb.go +++ b/x/session/types/query.pb.go @@ -229,38 +229,38 @@ func init() { func init() { proto.RegisterFile("poktroll/session/query.proto", fileDescriptor_d59d2e9c0a875c89) } var fileDescriptor_d59d2e9c0a875c89 = []byte{ - // 485 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xbb, 0x8e, 0x13, 0x31, - 0x14, 0x8d, 0xb3, 0x22, 0x68, 0xbd, 0x14, 0xe0, 0x8d, 0x60, 0x36, 0x5a, 0x86, 0x65, 0xc4, 0x8a, - 0xb0, 0x22, 0x63, 0x94, 0x2d, 0xa9, 0x48, 0xc3, 0xa3, 0x40, 0x30, 0xe9, 0x68, 0x22, 0x67, 0x62, - 0x4d, 0xac, 0x4c, 0xe6, 0xce, 0xda, 0x0e, 0xb0, 0x2d, 0xe2, 0x03, 0x90, 0x10, 0xbf, 0x80, 0x28, - 0x29, 0xa8, 0xf8, 0x82, 0x2d, 0x57, 0xd0, 0x50, 0x21, 0x94, 0x20, 0xf1, 0x1b, 0x28, 0xb6, 0x87, - 0x97, 0x15, 0x85, 0x26, 0xf1, 0xdc, 0x73, 0xce, 0xbd, 0xe7, 0x1e, 0x1b, 0xef, 0x96, 0x30, 0xd1, - 0x12, 0xf2, 0x9c, 0x2a, 0xae, 0x94, 0x80, 0x82, 0x1e, 0xcd, 0xb8, 0x3c, 0x8e, 0x4b, 0x09, 0x1a, - 0xc8, 0xf9, 0x0a, 0x8d, 0x1d, 0xda, 0xba, 0xc0, 0xa6, 0xa2, 0x00, 0x6a, 0x7e, 0x2d, 0xa9, 0xd5, - 0xcc, 0x20, 0x03, 0x73, 0xa4, 0xcb, 0x93, 0xab, 0xee, 0x66, 0x00, 0x59, 0xce, 0x29, 0x2b, 0x05, - 0x65, 0x45, 0x01, 0x9a, 0x69, 0x01, 0x85, 0x72, 0xe8, 0x4e, 0x0a, 0x6a, 0x0a, 0x6a, 0x60, 0x65, - 0xf6, 0xc3, 0x41, 0x97, 0x3d, 0x47, 0x25, 0x93, 0x6c, 0x5a, 0xc1, 0xa1, 0x07, 0xbb, 0x7f, 0x5f, - 0x3e, 0x66, 0x92, 0x8f, 0xa8, 0xe2, 0xf2, 0xa9, 0x48, 0xb9, 0x85, 0xa3, 0x26, 0x26, 0x8f, 0x97, - 0x0b, 0x3e, 0x32, 0x3d, 0x13, 0x7e, 0x34, 0xe3, 0x4a, 0x47, 0x09, 0xde, 0xfe, 0xab, 0xaa, 0x4a, - 0x28, 0x14, 0x27, 0xb7, 0x71, 0xc3, 0xce, 0x0e, 0xd0, 0x1e, 0x6a, 0x6f, 0x75, 0x83, 0xf8, 0xdf, - 0x3c, 0x62, 0xab, 0xe8, 0x6d, 0x9e, 0x7c, 0xbd, 0x52, 0x7b, 0xf7, 0xe3, 0xfd, 0x01, 0x4a, 0x9c, - 0x24, 0xfa, 0x88, 0xf0, 0x45, 0xd3, 0xf4, 0x2e, 0xd7, 0x7d, 0xcb, 0x76, 0xe3, 0xc8, 0x7d, 0xbc, - 0xcd, 0xca, 0x32, 0x17, 0xa9, 0xc9, 0x64, 0xc0, 0x46, 0x23, 0xc9, 0x95, 0x1d, 0xb2, 0xd9, 0x0b, - 0x3e, 0x7d, 0xe8, 0x34, 0x5d, 0x22, 0x77, 0x2c, 0xd2, 0xd7, 0x52, 0x14, 0x59, 0x42, 0xfe, 0x10, - 0x39, 0x84, 0x74, 0xf1, 0x59, 0xb7, 0x60, 0x50, 0xf7, 0x3c, 0x9a, 0x00, 0xe2, 0xbe, 0xc5, 0x93, - 0x8a, 0x48, 0xae, 0xe2, 0x73, 0xc3, 0x1c, 0xd2, 0xc9, 0x60, 0xcc, 0x45, 0x36, 0xd6, 0xc1, 0xc6, - 0x1e, 0x6a, 0x6f, 0x24, 0x5b, 0xa6, 0x76, 0xcf, 0x94, 0xa2, 0x87, 0xf8, 0x92, 0xe7, 0xdd, 0x85, - 0x72, 0xb8, 0x9c, 0x68, 0x4a, 0x2e, 0x95, 0x1d, 0x3f, 0x95, 0x4a, 0x53, 0x31, 0xbb, 0x6f, 0xeb, - 0xf8, 0x8c, 0x69, 0x48, 0x5e, 0x22, 0xdc, 0xb0, 0xa1, 0x91, 0x6b, 0xbe, 0xd0, 0xbf, 0x9b, 0xd6, - 0xfe, 0x1a, 0x96, 0xb5, 0x15, 0x75, 0x5e, 0x7c, 0xfe, 0xfe, 0xba, 0x7e, 0x9d, 0xec, 0xd3, 0x25, - 0xbd, 0x53, 0x70, 0xfd, 0x0c, 0xe4, 0x84, 0xae, 0x78, 0x4c, 0xe4, 0x0d, 0xc2, 0xf8, 0xf7, 0x72, - 0xa4, 0xbd, 0x62, 0x88, 0x77, 0x77, 0xad, 0x1b, 0xff, 0xc1, 0x74, 0x96, 0xba, 0xc6, 0xd2, 0x4d, - 0x72, 0xb0, 0xc6, 0x52, 0xc6, 0xf5, 0xc0, 0x9d, 0x7b, 0x0f, 0x4e, 0xe6, 0x21, 0x3a, 0x9d, 0x87, - 0xe8, 0xdb, 0x3c, 0x44, 0xaf, 0x16, 0x61, 0xed, 0x74, 0x11, 0xd6, 0xbe, 0x2c, 0xc2, 0xda, 0x93, - 0x5b, 0x99, 0xd0, 0xe3, 0xd9, 0x30, 0x4e, 0x61, 0xba, 0xa2, 0xdf, 0xf3, 0x5f, 0x1d, 0xf5, 0x71, - 0xc9, 0xd5, 0xb0, 0x61, 0x9e, 0xfc, 0xe1, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc6, 0xd4, 0xf4, - 0x87, 0xe4, 0x03, 0x00, 0x00, + // 484 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xbf, 0x6f, 0x13, 0x31, + 0x14, 0x8e, 0x53, 0x11, 0x54, 0x97, 0x01, 0xdc, 0x08, 0xae, 0x51, 0x39, 0xca, 0x89, 0x8a, 0x50, + 0x91, 0x33, 0x4a, 0x47, 0x26, 0xb2, 0xf0, 0x63, 0x40, 0x70, 0xd9, 0x58, 0x22, 0xe7, 0x62, 0x5d, + 0xac, 0x5c, 0xee, 0x5d, 0x6d, 0x07, 0xe8, 0x8a, 0xf8, 0x03, 0x90, 0x10, 0xff, 0x02, 0x62, 0x64, + 0x60, 0xe2, 0x2f, 0xe8, 0x58, 0xc1, 0xc2, 0x84, 0x50, 0x82, 0xc4, 0xbf, 0x81, 0x62, 0xfb, 0x04, + 0xc5, 0x44, 0xed, 0x12, 0x39, 0xef, 0xfb, 0xbe, 0xf7, 0xbe, 0xf7, 0xd9, 0x87, 0xb7, 0x4b, 0x98, + 0x68, 0x09, 0x79, 0x4e, 0x15, 0x57, 0x4a, 0x40, 0x41, 0x0f, 0x66, 0x5c, 0x1e, 0xc6, 0xa5, 0x04, + 0x0d, 0xe4, 0x62, 0x85, 0xc6, 0x0e, 0x6d, 0x5d, 0x62, 0x53, 0x51, 0x00, 0x35, 0xbf, 0x96, 0xd4, + 0x6a, 0x66, 0x90, 0x81, 0x39, 0xd2, 0xe5, 0xc9, 0x55, 0xb7, 0x33, 0x80, 0x2c, 0xe7, 0x94, 0x95, + 0x82, 0xb2, 0xa2, 0x00, 0xcd, 0xb4, 0x80, 0x42, 0x39, 0x74, 0x2b, 0x05, 0x35, 0x05, 0x35, 0xb0, + 0x32, 0xfb, 0xc7, 0x41, 0x57, 0x3d, 0x47, 0x25, 0x93, 0x6c, 0x5a, 0xc1, 0xbe, 0x61, 0x7d, 0x58, + 0xf2, 0xff, 0x88, 0xc7, 0x4c, 0xf2, 0x11, 0x55, 0x5c, 0x3e, 0x17, 0x29, 0xb7, 0x70, 0xd4, 0xc4, + 0xe4, 0xe9, 0x72, 0xbd, 0x27, 0xa6, 0x63, 0xc2, 0x0f, 0x66, 0x5c, 0xe9, 0x28, 0xc1, 0x9b, 0x27, + 0xaa, 0xaa, 0x84, 0x42, 0x71, 0x72, 0x17, 0x37, 0xec, 0xe4, 0x00, 0xed, 0xa0, 0xf6, 0x46, 0x37, + 0x88, 0xff, 0x4d, 0x23, 0xb6, 0x8a, 0xde, 0xfa, 0xd1, 0xf7, 0x6b, 0xb5, 0x0f, 0xbf, 0x3e, 0xee, + 0xa1, 0xc4, 0x49, 0xa2, 0xcf, 0x08, 0x5f, 0x36, 0x4d, 0xef, 0x73, 0xdd, 0xb7, 0x6c, 0x37, 0x8e, + 0x3c, 0xc4, 0x9b, 0xac, 0x2c, 0x73, 0x91, 0x9a, 0x44, 0x06, 0x6c, 0x34, 0x92, 0x5c, 0xd9, 0x21, + 0xeb, 0xbd, 0xe0, 0xcb, 0xa7, 0x4e, 0xd3, 0xe5, 0x71, 0xcf, 0x22, 0x7d, 0x2d, 0x45, 0x91, 0x25, + 0xe4, 0x2f, 0x91, 0x43, 0x48, 0x17, 0x9f, 0x77, 0x0b, 0x06, 0x75, 0xcf, 0xa3, 0x09, 0x20, 0xee, + 0x5b, 0x3c, 0xa9, 0x88, 0xe4, 0x3a, 0xbe, 0x30, 0xcc, 0x21, 0x9d, 0x0c, 0xc6, 0x5c, 0x64, 0x63, + 0x1d, 0xac, 0xed, 0xa0, 0xf6, 0x5a, 0xb2, 0x61, 0x6a, 0x0f, 0x4c, 0x29, 0x7a, 0x8c, 0xaf, 0x78, + 0xde, 0x5d, 0x28, 0xfb, 0xcb, 0x89, 0xa6, 0xe4, 0x52, 0xd9, 0xf2, 0x53, 0xa9, 0x34, 0x15, 0xb3, + 0xfb, 0xbe, 0x8e, 0xcf, 0x99, 0x86, 0xe4, 0x35, 0xc2, 0x0d, 0x1b, 0x1a, 0xb9, 0xe1, 0x0b, 0xfd, + 0xbb, 0x69, 0xed, 0x9e, 0xc2, 0xb2, 0xb6, 0xa2, 0xce, 0xab, 0xaf, 0x3f, 0xdf, 0xd6, 0x6f, 0x92, + 0x5d, 0xba, 0xa4, 0x77, 0x0a, 0xae, 0x5f, 0x80, 0x9c, 0xd0, 0x15, 0x4f, 0x89, 0xbc, 0x43, 0x18, + 0xff, 0x59, 0x8e, 0xb4, 0x57, 0x0c, 0xf1, 0xee, 0xae, 0x75, 0xeb, 0x0c, 0x4c, 0x67, 0xa9, 0x6b, + 0x2c, 0xdd, 0x26, 0x7b, 0xa7, 0x58, 0xca, 0xb8, 0x1e, 0xb8, 0x73, 0xef, 0xd1, 0xd1, 0x3c, 0x44, + 0xc7, 0xf3, 0x10, 0xfd, 0x98, 0x87, 0xe8, 0xcd, 0x22, 0xac, 0x1d, 0x2f, 0xc2, 0xda, 0xb7, 0x45, + 0x58, 0x7b, 0x76, 0x27, 0x13, 0x7a, 0x3c, 0x1b, 0xc6, 0x29, 0x4c, 0x57, 0xf4, 0x7b, 0x79, 0xf2, + 0x83, 0x18, 0x36, 0xcc, 0x93, 0xdf, 0xff, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xad, 0xa2, 0x9f, 0xb2, + 0xe2, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/session/types/session.pb.go b/x/session/types/types.pb.go similarity index 75% rename from x/session/types/session.pb.go rename to x/session/types/types.pb.go index 128bd97dc..7f7cf1039 100644 --- a/x/session/types/session.pb.go +++ b/x/session/types/types.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: poktroll/session/session.proto +// source: poktroll/session/types.proto package types @@ -44,7 +44,7 @@ func (m *SessionHeader) Reset() { *m = SessionHeader{} } func (m *SessionHeader) String() string { return proto.CompactTextString(m) } func (*SessionHeader) ProtoMessage() {} func (*SessionHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_6c21b78e7ee4068a, []int{0} + return fileDescriptor_4b2d9db41a667008, []int{0} } func (m *SessionHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -123,7 +123,7 @@ func (m *Session) Reset() { *m = Session{} } func (m *Session) String() string { return proto.CompactTextString(m) } func (*Session) ProtoMessage() {} func (*Session) Descriptor() ([]byte, []int) { - return fileDescriptor_6c21b78e7ee4068a, []int{1} + return fileDescriptor_4b2d9db41a667008, []int{1} } func (m *Session) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -199,40 +199,40 @@ func init() { proto.RegisterType((*Session)(nil), "poktroll.session.Session") } -func init() { proto.RegisterFile("poktroll/session/session.proto", fileDescriptor_6c21b78e7ee4068a) } - -var fileDescriptor_6c21b78e7ee4068a = []byte{ - // 471 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x93, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xc7, 0xe3, 0x04, 0x52, 0x65, 0xad, 0x22, 0xb4, 0xe5, 0xc3, 0x8d, 0x54, 0x13, 0x2a, 0x81, - 0x72, 0xa9, 0x8d, 0xdc, 0x43, 0x0e, 0x9c, 0x1a, 0x84, 0xd4, 0x72, 0x40, 0xc8, 0xb9, 0x71, 0xb1, - 0x1c, 0xef, 0x2a, 0xb6, 0x62, 0xef, 0x5a, 0xbb, 0x6b, 0x3e, 0xde, 0x82, 0x77, 0xe0, 0x15, 0xb8, - 0xf1, 0x02, 0x1c, 0x2b, 0x4e, 0x1c, 0x51, 0xf2, 0x22, 0x95, 0xd7, 0xb3, 0xb1, 0x9b, 0x9c, 0xb2, - 0x99, 0xdf, 0x7f, 0x66, 0xff, 0x33, 0x3b, 0x46, 0x6e, 0xc9, 0xd7, 0x4a, 0xf0, 0x3c, 0xf7, 0x25, - 0x95, 0x32, 0xe3, 0xcc, 0xfc, 0x7a, 0xa5, 0xe0, 0x8a, 0xe3, 0xc7, 0x86, 0x7b, 0x10, 0x1f, 0x9f, - 0x26, 0x5c, 0x16, 0x5c, 0x46, 0x9a, 0xfb, 0xcd, 0x9f, 0x46, 0x3c, 0x3e, 0x6b, 0x8b, 0xa5, 0xb1, - 0xa0, 0xc4, 0x97, 0x54, 0x7c, 0xc9, 0x12, 0x0a, 0xf8, 0xf5, 0x0e, 0xc7, 0x65, 0x99, 0x67, 0x49, - 0xac, 0xea, 0xfb, 0x3a, 0x67, 0xd0, 0xb9, 0x07, 0x65, 0xaa, 0x5a, 0x43, 0x45, 0xc3, 0xcf, 0x7f, - 0xf6, 0xd1, 0xf1, 0xa2, 0x71, 0x73, 0x4d, 0x63, 0x42, 0x05, 0xbe, 0x41, 0x27, 0x9d, 0x32, 0x51, - 0x4c, 0x88, 0xa0, 0x52, 0x3a, 0xd6, 0xc4, 0x9a, 0x8e, 0xe6, 0xce, 0xdf, 0x5f, 0x17, 0x4f, 0xc0, - 0xe7, 0x55, 0x43, 0x16, 0x4a, 0x64, 0x6c, 0x15, 0xe2, 0x4e, 0x12, 0x10, 0x1c, 0xa0, 0x23, 0x70, - 0xed, 0xf4, 0x27, 0xd6, 0xd4, 0x0e, 0x1c, 0xaf, 0x1d, 0x81, 0xb6, 0xe3, 0x2d, 0x1a, 0x1e, 0x1a, - 0x21, 0x3e, 0x43, 0x08, 0xa6, 0x13, 0x65, 0xc4, 0x19, 0xd4, 0xb7, 0x86, 0x23, 0x88, 0xdc, 0x10, - 0xfc, 0x16, 0x8d, 0x0d, 0x96, 0x2a, 0x16, 0x2a, 0x5a, 0xe6, 0x3c, 0x59, 0x47, 0x29, 0xcd, 0x56, - 0xa9, 0x72, 0x1e, 0x4c, 0xac, 0xe9, 0x20, 0x7c, 0x0e, 0x8a, 0x45, 0x2d, 0x98, 0xd7, 0xfc, 0x5a, - 0x63, 0x3c, 0x43, 0x8e, 0x49, 0xa6, 0x8c, 0xdc, 0x4f, 0x7d, 0xa8, 0x53, 0x9f, 0x02, 0x7f, 0xcf, - 0x48, 0x27, 0xf1, 0xfc, 0x77, 0x1f, 0x1d, 0xc1, 0x94, 0xf0, 0x0c, 0x0d, 0x53, 0x3d, 0x29, 0x3d, - 0x12, 0x3b, 0x78, 0xe1, 0xed, 0x3f, 0xab, 0x77, 0x6f, 0xa0, 0x21, 0xc8, 0xf7, 0x3a, 0xeb, 0xef, - 0x77, 0xf6, 0x0a, 0x3d, 0x32, 0x98, 0x55, 0xc5, 0x92, 0x0a, 0xdd, 0xfc, 0x20, 0x3c, 0x86, 0xe8, - 0x47, 0x1d, 0xc4, 0x97, 0xe8, 0x19, 0xab, 0x8a, 0xc6, 0xbb, 0x8c, 0x4a, 0x2a, 0x22, 0xe0, 0xd0, - 0xfc, 0x09, 0xab, 0x0a, 0x6d, 0x5d, 0x7e, 0xa2, 0xc2, 0x78, 0x7e, 0x87, 0xec, 0xce, 0xf3, 0xe8, - 0x5e, 0xed, 0xe0, 0x65, 0x6b, 0xbc, 0xbb, 0x37, 0x57, 0xed, 0x39, 0xec, 0x66, 0xe1, 0x19, 0x1a, - 0x99, 0xe5, 0x91, 0xce, 0x70, 0x32, 0x98, 0xda, 0xc1, 0xe9, 0xe1, 0x7b, 0x82, 0x22, 0x6c, 0xb5, - 0xf3, 0x0f, 0x7f, 0x36, 0xae, 0x75, 0xbb, 0x71, 0xad, 0xff, 0x1b, 0xd7, 0xfa, 0xb1, 0x75, 0x7b, - 0xb7, 0x5b, 0xb7, 0xf7, 0x6f, 0xeb, 0xf6, 0x3e, 0xbf, 0x59, 0x65, 0x2a, 0xad, 0x96, 0x5e, 0xc2, - 0x0b, 0xbf, 0xae, 0x74, 0xc1, 0xa8, 0xfa, 0xca, 0xc5, 0xda, 0xdf, 0x6d, 0xed, 0xb7, 0xdd, 0xb7, - 0xa4, 0xbe, 0x97, 0x54, 0x2e, 0x87, 0x7a, 0x6d, 0x2f, 0xef, 0x02, 0x00, 0x00, 0xff, 0xff, 0x87, - 0x46, 0x6f, 0xb0, 0x6c, 0x03, 0x00, 0x00, +func init() { proto.RegisterFile("poktroll/session/types.proto", fileDescriptor_4b2d9db41a667008) } + +var fileDescriptor_4b2d9db41a667008 = []byte{ + // 467 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x93, 0xcd, 0x8e, 0xd3, 0x30, + 0x14, 0x85, 0x9b, 0x16, 0x3a, 0xaa, 0xa3, 0x41, 0xc8, 0xc3, 0x8f, 0xa7, 0x62, 0x42, 0x18, 0x09, + 0xa9, 0x9b, 0x71, 0x50, 0x66, 0xd1, 0x05, 0xab, 0x29, 0x42, 0x9a, 0x61, 0x81, 0x90, 0xbb, 0x63, + 0x13, 0xa5, 0xb1, 0xd5, 0x44, 0x6d, 0xec, 0xc8, 0x76, 0xf8, 0x79, 0x0b, 0xde, 0x81, 0x57, 0x60, + 0xc7, 0x0b, 0xb0, 0x1c, 0xb1, 0x62, 0x89, 0xda, 0x17, 0x19, 0xc5, 0x71, 0x26, 0x69, 0xbb, 0x6b, + 0xfd, 0x9d, 0x7b, 0x7d, 0xce, 0xf5, 0x0d, 0x78, 0x51, 0x88, 0x95, 0x96, 0x62, 0xbd, 0x0e, 0x14, + 0x53, 0x2a, 0x13, 0x3c, 0xd0, 0xdf, 0x0b, 0xa6, 0x70, 0x21, 0x85, 0x16, 0xf0, 0x71, 0x43, 0xb1, + 0xa5, 0xe3, 0xd3, 0x44, 0xa8, 0x5c, 0xa8, 0xc8, 0xf0, 0xa0, 0xfe, 0x53, 0x8b, 0xc7, 0x67, 0x6d, + 0xab, 0x34, 0x96, 0x8c, 0x06, 0x8a, 0xc9, 0x2f, 0x59, 0xc2, 0x2c, 0xf6, 0xef, 0x71, 0x5c, 0x14, + 0xeb, 0x2c, 0x89, 0xf5, 0xde, 0x6d, 0x63, 0xef, 0xa0, 0x41, 0x59, 0x29, 0x99, 0xac, 0xf9, 0xf9, + 0xcf, 0x3e, 0x38, 0x9e, 0xd7, 0x3e, 0xae, 0x59, 0x4c, 0x99, 0x84, 0x37, 0xe0, 0xa4, 0xd3, 0x2c, + 0x8a, 0x29, 0x95, 0x4c, 0x29, 0xe4, 0xf8, 0xce, 0x64, 0x34, 0x43, 0x7f, 0x7f, 0x5d, 0x3c, 0xb1, + 0x0e, 0xaf, 0x6a, 0x32, 0xd7, 0x32, 0xe3, 0x4b, 0x02, 0x3b, 0x45, 0x96, 0xc0, 0x10, 0x1c, 0x59, + 0xbf, 0xa8, 0xef, 0x3b, 0x13, 0x37, 0x44, 0xb8, 0x0d, 0x6f, 0xec, 0xe0, 0x79, 0xcd, 0x49, 0x23, + 0x84, 0x67, 0x00, 0xd8, 0xb9, 0x44, 0x19, 0x45, 0x83, 0xea, 0x56, 0x32, 0xb2, 0x27, 0x37, 0x14, + 0xbe, 0x05, 0xe3, 0x06, 0x2b, 0x1d, 0x4b, 0x1d, 0x2d, 0xd6, 0x22, 0x59, 0x45, 0x29, 0xcb, 0x96, + 0xa9, 0x46, 0x0f, 0x7c, 0x67, 0x32, 0x20, 0xcf, 0xad, 0x62, 0x5e, 0x09, 0x66, 0x15, 0xbf, 0x36, + 0x18, 0x4e, 0x01, 0x6a, 0x8a, 0x19, 0xa7, 0xbb, 0xa5, 0x0f, 0x4d, 0xe9, 0x53, 0xcb, 0xdf, 0x73, + 0xda, 0x29, 0x3c, 0xff, 0xdd, 0x07, 0x47, 0x76, 0x4a, 0x70, 0x0a, 0x86, 0xa9, 0x99, 0x94, 0x19, + 0x89, 0x1b, 0xbe, 0xc4, 0xfb, 0x0f, 0x8a, 0x77, 0x06, 0x4a, 0xac, 0x7c, 0x2f, 0x59, 0x7f, 0x3f, + 0xd9, 0x6b, 0xf0, 0xa8, 0xc1, 0xbc, 0xcc, 0x17, 0x4c, 0x9a, 0xf0, 0x03, 0x72, 0x6c, 0x4f, 0x3f, + 0x9a, 0x43, 0x78, 0x09, 0x9e, 0xf1, 0x32, 0xaf, 0xbd, 0xab, 0xa8, 0x60, 0x32, 0xb2, 0xdc, 0x86, + 0x3f, 0xe1, 0x65, 0x6e, 0xac, 0xab, 0x4f, 0x4c, 0x36, 0x9e, 0xdf, 0x01, 0xb7, 0xf3, 0x3c, 0x26, + 0xab, 0x1b, 0xbe, 0x6a, 0x8d, 0x77, 0x20, 0xbe, 0x6a, 0x7f, 0x93, 0x6e, 0x15, 0x9c, 0x82, 0x51, + 0xb3, 0x3c, 0x0a, 0x0d, 0xfd, 0xc1, 0xc4, 0x0d, 0x4f, 0x0f, 0xdf, 0xd3, 0x2a, 0x48, 0xab, 0x9d, + 0x7d, 0xf8, 0xb3, 0xf1, 0x9c, 0xdb, 0x8d, 0xe7, 0xfc, 0xdf, 0x78, 0xce, 0x8f, 0xad, 0xd7, 0xbb, + 0xdd, 0x7a, 0xbd, 0x7f, 0x5b, 0xaf, 0xf7, 0xf9, 0xcd, 0x32, 0xd3, 0x69, 0xb9, 0xc0, 0x89, 0xc8, + 0x83, 0xaa, 0xd3, 0x05, 0x67, 0xfa, 0xab, 0x90, 0xab, 0xe0, 0x7e, 0x6b, 0xbf, 0xed, 0x7e, 0x43, + 0x8b, 0xa1, 0x59, 0xdb, 0xcb, 0xbb, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9b, 0xab, 0x87, 0x9e, 0x64, + 0x03, 0x00, 0x00, } func (m *SessionHeader) Marshal() (dAtA []byte, err error) { @@ -256,19 +256,19 @@ func (m *SessionHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if m.SessionEndBlockHeight != 0 { - i = encodeVarintSession(dAtA, i, uint64(m.SessionEndBlockHeight)) + i = encodeVarintTypes(dAtA, i, uint64(m.SessionEndBlockHeight)) i-- dAtA[i] = 0x28 } if m.SessionStartBlockHeight != 0 { - i = encodeVarintSession(dAtA, i, uint64(m.SessionStartBlockHeight)) + i = encodeVarintTypes(dAtA, i, uint64(m.SessionStartBlockHeight)) i-- dAtA[i] = 0x20 } if len(m.SessionId) > 0 { i -= len(m.SessionId) copy(dAtA[i:], m.SessionId) - i = encodeVarintSession(dAtA, i, uint64(len(m.SessionId))) + i = encodeVarintTypes(dAtA, i, uint64(len(m.SessionId))) i-- dAtA[i] = 0x1a } @@ -279,7 +279,7 @@ func (m *SessionHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintSession(dAtA, i, uint64(size)) + i = encodeVarintTypes(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x12 @@ -287,7 +287,7 @@ func (m *SessionHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { if len(m.ApplicationAddress) > 0 { i -= len(m.ApplicationAddress) copy(dAtA[i:], m.ApplicationAddress) - i = encodeVarintSession(dAtA, i, uint64(len(m.ApplicationAddress))) + i = encodeVarintTypes(dAtA, i, uint64(len(m.ApplicationAddress))) i-- dAtA[i] = 0xa } @@ -322,7 +322,7 @@ func (m *Session) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintSession(dAtA, i, uint64(size)) + i = encodeVarintTypes(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x32 @@ -335,25 +335,25 @@ func (m *Session) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintSession(dAtA, i, uint64(size)) + i = encodeVarintTypes(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x2a } if m.NumBlocksPerSession != 0 { - i = encodeVarintSession(dAtA, i, uint64(m.NumBlocksPerSession)) + i = encodeVarintTypes(dAtA, i, uint64(m.NumBlocksPerSession)) i-- dAtA[i] = 0x20 } if m.SessionNumber != 0 { - i = encodeVarintSession(dAtA, i, uint64(m.SessionNumber)) + i = encodeVarintTypes(dAtA, i, uint64(m.SessionNumber)) i-- dAtA[i] = 0x18 } if len(m.SessionId) > 0 { i -= len(m.SessionId) copy(dAtA[i:], m.SessionId) - i = encodeVarintSession(dAtA, i, uint64(len(m.SessionId))) + i = encodeVarintTypes(dAtA, i, uint64(len(m.SessionId))) i-- dAtA[i] = 0x12 } @@ -364,7 +364,7 @@ func (m *Session) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintSession(dAtA, i, uint64(size)) + i = encodeVarintTypes(dAtA, i, uint64(size)) } i-- dAtA[i] = 0xa @@ -372,8 +372,8 @@ func (m *Session) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func encodeVarintSession(dAtA []byte, offset int, v uint64) int { - offset -= sovSession(v) +func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { + offset -= sovTypes(v) base := offset for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) @@ -391,21 +391,21 @@ func (m *SessionHeader) Size() (n int) { _ = l l = len(m.ApplicationAddress) if l > 0 { - n += 1 + l + sovSession(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } if m.Service != nil { l = m.Service.Size() - n += 1 + l + sovSession(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } l = len(m.SessionId) if l > 0 { - n += 1 + l + sovSession(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } if m.SessionStartBlockHeight != 0 { - n += 1 + sovSession(uint64(m.SessionStartBlockHeight)) + n += 1 + sovTypes(uint64(m.SessionStartBlockHeight)) } if m.SessionEndBlockHeight != 0 { - n += 1 + sovSession(uint64(m.SessionEndBlockHeight)) + n += 1 + sovTypes(uint64(m.SessionEndBlockHeight)) } return n } @@ -418,36 +418,36 @@ func (m *Session) Size() (n int) { _ = l if m.Header != nil { l = m.Header.Size() - n += 1 + l + sovSession(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } l = len(m.SessionId) if l > 0 { - n += 1 + l + sovSession(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } if m.SessionNumber != 0 { - n += 1 + sovSession(uint64(m.SessionNumber)) + n += 1 + sovTypes(uint64(m.SessionNumber)) } if m.NumBlocksPerSession != 0 { - n += 1 + sovSession(uint64(m.NumBlocksPerSession)) + n += 1 + sovTypes(uint64(m.NumBlocksPerSession)) } if m.Application != nil { l = m.Application.Size() - n += 1 + l + sovSession(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } if len(m.Suppliers) > 0 { for _, e := range m.Suppliers { l = e.Size() - n += 1 + l + sovSession(uint64(l)) + n += 1 + l + sovTypes(uint64(l)) } } return n } -func sovSession(x uint64) (n int) { +func sovTypes(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } -func sozSession(x uint64) (n int) { - return sovSession(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +func sozTypes(x uint64) (n int) { + return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } func (m *SessionHeader) Unmarshal(dAtA []byte) error { l := len(dAtA) @@ -457,7 +457,7 @@ func (m *SessionHeader) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -485,7 +485,7 @@ func (m *SessionHeader) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -499,11 +499,11 @@ func (m *SessionHeader) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -517,7 +517,7 @@ func (m *SessionHeader) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -530,11 +530,11 @@ func (m *SessionHeader) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -553,7 +553,7 @@ func (m *SessionHeader) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -567,11 +567,11 @@ func (m *SessionHeader) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -585,7 +585,7 @@ func (m *SessionHeader) Unmarshal(dAtA []byte) error { m.SessionStartBlockHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -604,7 +604,7 @@ func (m *SessionHeader) Unmarshal(dAtA []byte) error { m.SessionEndBlockHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -618,12 +618,12 @@ func (m *SessionHeader) Unmarshal(dAtA []byte) error { } default: iNdEx = preIndex - skippy, err := skipSession(dAtA[iNdEx:]) + skippy, err := skipTypes(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -645,7 +645,7 @@ func (m *Session) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -673,7 +673,7 @@ func (m *Session) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -686,11 +686,11 @@ func (m *Session) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -709,7 +709,7 @@ func (m *Session) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -723,11 +723,11 @@ func (m *Session) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -741,7 +741,7 @@ func (m *Session) Unmarshal(dAtA []byte) error { m.SessionNumber = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -760,7 +760,7 @@ func (m *Session) Unmarshal(dAtA []byte) error { m.NumBlocksPerSession = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -779,7 +779,7 @@ func (m *Session) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -792,11 +792,11 @@ func (m *Session) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -815,7 +815,7 @@ func (m *Session) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowSession + return ErrIntOverflowTypes } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -828,11 +828,11 @@ func (m *Session) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } if postIndex > l { return io.ErrUnexpectedEOF @@ -844,12 +844,12 @@ func (m *Session) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipSession(dAtA[iNdEx:]) + skippy, err := skipTypes(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthSession + return ErrInvalidLengthTypes } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -863,7 +863,7 @@ func (m *Session) Unmarshal(dAtA []byte) error { } return nil } -func skipSession(dAtA []byte) (n int, err error) { +func skipTypes(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 depth := 0 @@ -871,7 +871,7 @@ func skipSession(dAtA []byte) (n int, err error) { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowSession + return 0, ErrIntOverflowTypes } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -888,7 +888,7 @@ func skipSession(dAtA []byte) (n int, err error) { case 0: for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowSession + return 0, ErrIntOverflowTypes } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -904,7 +904,7 @@ func skipSession(dAtA []byte) (n int, err error) { var length int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowSession + return 0, ErrIntOverflowTypes } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -917,14 +917,14 @@ func skipSession(dAtA []byte) (n int, err error) { } } if length < 0 { - return 0, ErrInvalidLengthSession + return 0, ErrInvalidLengthTypes } iNdEx += length case 3: depth++ case 4: if depth == 0 { - return 0, ErrUnexpectedEndOfGroupSession + return 0, ErrUnexpectedEndOfGroupTypes } depth-- case 5: @@ -933,7 +933,7 @@ func skipSession(dAtA []byte) (n int, err error) { return 0, fmt.Errorf("proto: illegal wireType %d", wireType) } if iNdEx < 0 { - return 0, ErrInvalidLengthSession + return 0, ErrInvalidLengthTypes } if depth == 0 { return iNdEx, nil @@ -943,7 +943,7 @@ func skipSession(dAtA []byte) (n int, err error) { } var ( - ErrInvalidLengthSession = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowSession = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupSession = fmt.Errorf("proto: unexpected end of group") + ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") ) diff --git a/x/tokenomics/types/event.pb.go b/x/tokenomics/types/event.pb.go index 5c55fbc6e..9d40ac9a3 100644 --- a/x/tokenomics/types/event.pb.go +++ b/x/tokenomics/types/event.pb.go @@ -346,52 +346,52 @@ func init() { func init() { proto.RegisterFile("poktroll/tokenomics/event.proto", fileDescriptor_a78874bbf91a58c7) } var fileDescriptor_a78874bbf91a58c7 = []byte{ - // 718 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x54, 0xc1, 0x4e, 0xdb, 0x4a, - 0x14, 0x8d, 0x03, 0x3c, 0x29, 0xc3, 0x03, 0x12, 0x53, 0xd4, 0x94, 0x42, 0x12, 0xb2, 0xa8, 0x28, - 0x15, 0xb6, 0x00, 0xa9, 0xab, 0x0a, 0x35, 0x09, 0xa6, 0x58, 0x2a, 0x49, 0xe4, 0x40, 0x55, 0x75, - 0x33, 0x75, 0xec, 0x9b, 0x64, 0x4a, 0x3c, 0xe3, 0x8e, 0xc7, 0x49, 0xf8, 0x8b, 0x7e, 0x40, 0x7f, - 0xa0, 0x8b, 0xfe, 0x47, 0xa5, 0x6e, 0x58, 0x76, 0x85, 0x2a, 0xd8, 0xf1, 0x15, 0x95, 0xc7, 0x21, - 0x49, 0x03, 0x55, 0xd7, 0xdd, 0x24, 0xd6, 0x3d, 0xe7, 0xdc, 0x7b, 0xe6, 0x78, 0x7c, 0x51, 0xde, - 0x67, 0x67, 0x82, 0xb3, 0x6e, 0x57, 0x17, 0xec, 0x0c, 0x28, 0xf3, 0x88, 0x13, 0xe8, 0xd0, 0x03, - 0x2a, 0x34, 0x9f, 0x33, 0xc1, 0xd4, 0xe5, 0x5b, 0x82, 0x36, 0x26, 0xac, 0x3e, 0x68, 0xb3, 0x36, - 0x93, 0xb8, 0x1e, 0x3d, 0xc5, 0xd4, 0xd5, 0x9c, 0xc3, 0x02, 0x8f, 0x05, 0x7a, 0xd3, 0x0e, 0x40, - 0xef, 0xed, 0x34, 0x41, 0xd8, 0x3b, 0xba, 0xc3, 0x08, 0x1d, 0xe2, 0xab, 0xa3, 0x59, 0x3e, 0x67, - 0xac, 0xa5, 0x3b, 0x5d, 0x9b, 0x78, 0x43, 0xac, 0x30, 0x85, 0x71, 0xf8, 0x18, 0x12, 0x0e, 0xde, - 0xc8, 0x48, 0xf1, 0x6b, 0x12, 0x65, 0x8c, 0xc8, 0x58, 0x25, 0x92, 0x19, 0x03, 0x9f, 0x70, 0x70, - 0xd5, 0xe7, 0x68, 0x4e, 0xb6, 0xc9, 0x2a, 0x05, 0x65, 0x73, 0x7e, 0x77, 0x45, 0x1b, 0xd9, 0x95, - 0x7d, 0x34, 0x49, 0x2e, 0xa7, 0x6e, 0x2e, 0xf3, 0x31, 0xcf, 0x8a, 0xff, 0xd4, 0x6d, 0x84, 0x68, - 0xe8, 0x61, 0x0e, 0x5d, 0xfb, 0x3c, 0xc8, 0x26, 0x0b, 0xca, 0xe6, 0x6c, 0x79, 0xf1, 0xe6, 0x32, - 0x3f, 0x51, 0xb5, 0x52, 0x34, 0xf4, 0x2c, 0xf9, 0xa8, 0x96, 0x50, 0x26, 0x02, 0x1c, 0xe6, 0xf9, - 0xa1, 0x00, 0x1c, 0x52, 0x22, 0x82, 0xec, 0x8c, 0x54, 0xad, 0xdc, 0x5c, 0xe6, 0xef, 0x82, 0xd6, - 0x12, 0x0d, 0xbd, 0x4a, 0x5c, 0x39, 0x8d, 0x0a, 0x2a, 0x45, 0x19, 0x88, 0x4c, 0xdb, 0x82, 0x30, - 0x8a, 0x39, 0xd8, 0x01, 0xa3, 0xd9, 0xd9, 0x82, 0xb2, 0xb9, 0xb8, 0xbb, 0xa5, 0xdd, 0x13, 0xb2, - 0x36, 0x3e, 0xa7, 0x94, 0x58, 0x52, 0x11, 0x8f, 0xbb, 0xd3, 0xc8, 0x4a, 0xc3, 0x14, 0xb1, 0xf8, - 0xe5, 0xb7, 0xbc, 0x1a, 0x20, 0x44, 0xf7, 0x9f, 0xca, 0xeb, 0x03, 0xca, 0x48, 0x4b, 0x78, 0xe2, - 0x2a, 0x0c, 0xf3, 0x7a, 0x32, 0xed, 0xba, 0x1e, 0xfd, 0x5a, 0x63, 0xde, 0x64, 0x56, 0x77, 0x9a, - 0x58, 0x69, 0x7f, 0x8a, 0x5e, 0xfc, 0x9c, 0x44, 0x1b, 0x32, 0x2b, 0x69, 0xff, 0x98, 0x50, 0x42, - 0xdb, 0x07, 0xa4, 0xd5, 0x22, 0x4e, 0xd8, 0x15, 0xe7, 0xa7, 0xbe, 0x6b, 0x0b, 0x70, 0xd5, 0x75, - 0x84, 0x02, 0xe0, 0x3d, 0xe2, 0x00, 0x26, 0xae, 0x0c, 0x30, 0x65, 0xa5, 0x86, 0x15, 0xd3, 0x55, - 0xf7, 0xd1, 0x9a, 0xcf, 0xa1, 0x87, 0x85, 0xcd, 0xdb, 0x20, 0x70, 0xc7, 0x0e, 0x3a, 0xb8, 0x03, - 0x03, 0x0c, 0xd4, 0x61, 0x2e, 0xb8, 0x32, 0xb4, 0x94, 0x95, 0x8d, 0x38, 0x27, 0x92, 0x72, 0x64, - 0x07, 0x9d, 0x23, 0x18, 0x18, 0x31, 0xae, 0xbe, 0x40, 0x8f, 0x29, 0xf4, 0xff, 0x28, 0x9f, 0x91, - 0xf2, 0x87, 0x14, 0xfa, 0xf7, 0xaa, 0xb7, 0xd1, 0xb2, 0x9c, 0x3e, 0x7e, 0x1f, 0x18, 0x3c, 0x5b, - 0x06, 0x36, 0x1b, 0x9d, 0x18, 0x7a, 0xd5, 0xdb, 0xb7, 0x63, 0x78, 0xb6, 0xfa, 0x0c, 0xa9, 0xd1, - 0xb0, 0x29, 0xf6, 0x9c, 0x64, 0x2f, 0x51, 0xe8, 0x4f, 0x92, 0x8b, 0xdf, 0x15, 0xb4, 0x26, 0xe3, - 0x29, 0xf9, 0x7e, 0x97, 0x38, 0xf2, 0x96, 0xd5, 0x7a, 0xc0, 0x87, 0x67, 0x77, 0xd5, 0xa7, 0x28, - 0x6d, 0x8f, 0x21, 0x6c, 0xbb, 0x2e, 0x1f, 0xe6, 0xb3, 0x34, 0x51, 0x2f, 0xb9, 0x2e, 0x57, 0xf7, - 0xd1, 0x02, 0x0c, 0x7c, 0x70, 0x04, 0xb8, 0xb8, 0x19, 0x72, 0x2a, 0x63, 0x99, 0xdf, 0x7d, 0xa4, - 0xc5, 0xcb, 0x43, 0x8b, 0x96, 0x87, 0x36, 0x5c, 0x1e, 0x5a, 0x85, 0x11, 0x6a, 0xfd, 0x7f, 0xcb, - 0x2f, 0x87, 0x9c, 0xaa, 0x2f, 0xd1, 0x22, 0xb4, 0x5a, 0xe0, 0x08, 0xd2, 0x83, 0xb8, 0xc1, 0xcc, - 0xdf, 0x1a, 0x2c, 0x8c, 0x04, 0x51, 0x87, 0xad, 0xf7, 0x68, 0xe5, 0xde, 0x4f, 0x4b, 0xdd, 0x40, - 0xeb, 0xc6, 0xdb, 0xba, 0x69, 0x95, 0x4e, 0xcc, 0x5a, 0x15, 0x5b, 0x46, 0xa9, 0x51, 0xab, 0xe2, - 0xd3, 0x6a, 0xa3, 0x6e, 0x54, 0xcc, 0x43, 0xd3, 0x38, 0x48, 0x27, 0xd4, 0x0c, 0x5a, 0xa8, 0x5b, - 0xb5, 0xda, 0x21, 0x3e, 0x36, 0x1b, 0x0d, 0xb3, 0xfa, 0x2a, 0xad, 0x8c, 0x4b, 0x66, 0xf5, 0x4d, - 0xe9, 0xb5, 0x79, 0x90, 0x4e, 0x96, 0x8f, 0xbf, 0x5d, 0xe5, 0x94, 0x8b, 0xab, 0x9c, 0xf2, 0xf3, - 0x2a, 0xa7, 0x7c, 0xba, 0xce, 0x25, 0x2e, 0xae, 0x73, 0x89, 0x1f, 0xd7, 0xb9, 0xc4, 0xbb, 0xbd, - 0x36, 0x11, 0x9d, 0xb0, 0xa9, 0x39, 0xcc, 0xd3, 0xa3, 0x3b, 0xbc, 0x4d, 0x41, 0xf4, 0x19, 0x3f, - 0xd3, 0x47, 0xeb, 0x6f, 0x30, 0xb9, 0x88, 0xc5, 0xb9, 0x0f, 0x41, 0xf3, 0x3f, 0xb9, 0x00, 0xf7, - 0x7e, 0x05, 0x00, 0x00, 0xff, 0xff, 0xac, 0x71, 0x68, 0xf9, 0xac, 0x05, 0x00, 0x00, + // 716 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x94, 0x4d, 0x4f, 0xdb, 0x48, + 0x18, 0xc7, 0xe3, 0x00, 0x2b, 0x65, 0x58, 0x20, 0x19, 0x16, 0x6d, 0x96, 0x85, 0x04, 0x72, 0x58, + 0xb1, 0xac, 0xb0, 0x05, 0x48, 0x7b, 0x5a, 0xa1, 0x4d, 0x82, 0x59, 0x2c, 0x2d, 0x49, 0xe4, 0x40, + 0x55, 0xf5, 0x32, 0x75, 0xec, 0x27, 0xc9, 0x94, 0x78, 0xc6, 0x1d, 0x8f, 0x93, 0xf0, 0x2d, 0xfa, + 0x01, 0xfa, 0x05, 0x7a, 0xe8, 0xf7, 0xa8, 0xd4, 0x0b, 0xc7, 0x9e, 0x50, 0x05, 0x37, 0x3e, 0x45, + 0xe5, 0x71, 0x48, 0xd2, 0x40, 0xd5, 0x73, 0x2f, 0xf6, 0xf8, 0x79, 0x7e, 0xcf, 0xcb, 0xfc, 0x67, + 0xfc, 0xa0, 0x62, 0xc0, 0x2f, 0xa5, 0xe0, 0xbd, 0x9e, 0x21, 0xf9, 0x25, 0x30, 0xee, 0x53, 0x37, + 0x34, 0xa0, 0x0f, 0x4c, 0xea, 0x81, 0xe0, 0x92, 0xe3, 0xd5, 0x07, 0x40, 0x9f, 0x00, 0xeb, 0xbf, + 0x74, 0x78, 0x87, 0x2b, 0xbf, 0x11, 0xaf, 0x12, 0x74, 0xbd, 0xe0, 0xf2, 0xd0, 0xe7, 0xa1, 0xd1, + 0x72, 0x42, 0x30, 0xfa, 0xfb, 0x2d, 0x90, 0xce, 0xbe, 0xe1, 0x72, 0xca, 0x46, 0xfe, 0xf5, 0x71, + 0xad, 0x40, 0x70, 0xde, 0x36, 0xe4, 0x55, 0x00, 0x61, 0xe2, 0x2b, 0xbd, 0x4f, 0xa3, 0x9c, 0x19, + 0x97, 0xad, 0xf6, 0x1c, 0xea, 0x9b, 0xc3, 0x80, 0x0a, 0xf0, 0xf0, 0xdf, 0x68, 0xc1, 0x8d, 0xbf, + 0xf3, 0xda, 0x96, 0xb6, 0xb3, 0x78, 0xb0, 0xa6, 0x8f, 0x9b, 0x51, 0x19, 0x74, 0x05, 0x57, 0x32, + 0xf7, 0x37, 0xc5, 0x84, 0xb3, 0x93, 0x17, 0xde, 0x43, 0x88, 0x45, 0x3e, 0x11, 0xd0, 0x73, 0xae, + 0xc2, 0x7c, 0x7a, 0x4b, 0xdb, 0x99, 0xaf, 0x2c, 0xdf, 0xdf, 0x14, 0xa7, 0xac, 0x76, 0x86, 0x45, + 0xbe, 0xad, 0x96, 0xb8, 0x8c, 0x72, 0xb1, 0xc3, 0xe5, 0x7e, 0x10, 0x49, 0x20, 0x11, 0xa3, 0x32, + 0xcc, 0xcf, 0xa9, 0xa8, 0xb5, 0xfb, 0x9b, 0xe2, 0x63, 0xa7, 0xbd, 0xc2, 0x22, 0xbf, 0x9a, 0x58, + 0x2e, 0x62, 0x03, 0x66, 0x28, 0x07, 0x71, 0xd3, 0x8e, 0xa4, 0x9c, 0x11, 0x01, 0x4e, 0xc8, 0x59, + 0x7e, 0x7e, 0x4b, 0xdb, 0x59, 0x3e, 0xd8, 0xd5, 0x9f, 0x90, 0x50, 0x9f, 0xec, 0x53, 0x85, 0xd8, + 0x2a, 0x22, 0x29, 0xf7, 0x28, 0x91, 0x9d, 0x85, 0x19, 0xb0, 0xf4, 0xee, 0x2b, 0xbd, 0x9a, 0x20, + 0x65, 0xef, 0x87, 0xd2, 0xeb, 0x15, 0xca, 0xa9, 0x96, 0x88, 0x80, 0xd7, 0x11, 0x15, 0xe0, 0x03, + 0x93, 0x23, 0xbd, 0xfe, 0x98, 0xed, 0xba, 0x11, 0x3f, 0xed, 0x09, 0x37, 0xad, 0xd5, 0xa3, 0x24, + 0x76, 0x36, 0x98, 0xc1, 0x4b, 0x6f, 0xd3, 0x68, 0x5b, 0x69, 0xa5, 0xda, 0x3f, 0xa3, 0x8c, 0xb2, + 0xce, 0x31, 0x6d, 0xb7, 0xa9, 0x1b, 0xf5, 0xe4, 0xd5, 0x45, 0xe0, 0x39, 0x12, 0x3c, 0xbc, 0x89, + 0x50, 0x08, 0xa2, 0x4f, 0x5d, 0x20, 0xd4, 0x53, 0x02, 0x66, 0xec, 0xcc, 0xc8, 0x62, 0x79, 0xf8, + 0x08, 0x6d, 0x04, 0x02, 0xfa, 0x44, 0x3a, 0xa2, 0x03, 0x92, 0x74, 0x9d, 0xb0, 0x4b, 0xba, 0x30, + 0x24, 0xc0, 0x5c, 0xee, 0x81, 0xa7, 0x44, 0xcb, 0xd8, 0xf9, 0x98, 0x39, 0x57, 0xc8, 0xa9, 0x13, + 0x76, 0x4f, 0x61, 0x68, 0x26, 0x7e, 0xfc, 0x0f, 0xfa, 0x9d, 0xc1, 0xe0, 0x9b, 0xe1, 0x73, 0x2a, + 0xfc, 0x57, 0x06, 0x83, 0x27, 0xa3, 0xf7, 0xd0, 0xaa, 0xaa, 0x3e, 0x39, 0x0f, 0x02, 0xbe, 0xa3, + 0x04, 0x9b, 0x8f, 0x77, 0x0c, 0xfd, 0xda, 0xc3, 0xe9, 0x98, 0xbe, 0x83, 0xff, 0x42, 0x38, 0x2e, + 0x36, 0x43, 0x2f, 0x28, 0x7a, 0x85, 0xc1, 0x60, 0x1a, 0x2e, 0x7d, 0xd4, 0xd0, 0x86, 0x92, 0xa7, + 0x1c, 0x04, 0x3d, 0xea, 0xaa, 0x5b, 0x56, 0xef, 0x83, 0x18, 0xed, 0xdd, 0xc3, 0x7f, 0xa2, 0xac, + 0x33, 0x71, 0x11, 0xc7, 0xf3, 0xc4, 0x48, 0x9f, 0x95, 0x29, 0x7b, 0xd9, 0xf3, 0x04, 0x3e, 0x42, + 0x4b, 0x30, 0x0c, 0xc0, 0x95, 0xe0, 0x91, 0x56, 0x24, 0x98, 0x92, 0x65, 0xf1, 0xe0, 0x37, 0x3d, + 0x19, 0x0d, 0x7a, 0x3c, 0x1a, 0xf4, 0xd1, 0x68, 0xd0, 0xab, 0x9c, 0x32, 0xfb, 0xe7, 0x07, 0xbe, + 0x12, 0x09, 0x86, 0xff, 0x45, 0xcb, 0xd0, 0x6e, 0x83, 0x2b, 0x69, 0x1f, 0x92, 0x04, 0x73, 0xdf, + 0x4b, 0xb0, 0x34, 0x0e, 0x88, 0x33, 0xec, 0xbe, 0x44, 0x6b, 0x4f, 0xfe, 0x5a, 0x78, 0x1b, 0x6d, + 0x9a, 0xcf, 0x1b, 0x96, 0x5d, 0x3e, 0xb7, 0xea, 0x35, 0x62, 0x9b, 0xe5, 0x66, 0xbd, 0x46, 0x2e, + 0x6a, 0xcd, 0x86, 0x59, 0xb5, 0x4e, 0x2c, 0xf3, 0x38, 0x9b, 0xc2, 0x39, 0xb4, 0xd4, 0xb0, 0xeb, + 0xf5, 0x13, 0x72, 0x66, 0x35, 0x9b, 0x56, 0xed, 0xbf, 0xac, 0x36, 0x31, 0x59, 0xb5, 0x67, 0xe5, + 0xff, 0xad, 0xe3, 0x6c, 0xba, 0x72, 0xf6, 0xe1, 0xb6, 0xa0, 0x5d, 0xdf, 0x16, 0xb4, 0xcf, 0xb7, + 0x05, 0xed, 0xcd, 0x5d, 0x21, 0x75, 0x7d, 0x57, 0x48, 0x7d, 0xba, 0x2b, 0xa4, 0x5e, 0x1c, 0x76, + 0xa8, 0xec, 0x46, 0x2d, 0xdd, 0xe5, 0xbe, 0x11, 0xdf, 0xe1, 0x3d, 0x06, 0x72, 0xc0, 0xc5, 0xa5, + 0x31, 0x1e, 0x7c, 0xc3, 0xe9, 0x31, 0xab, 0xe6, 0x5f, 0xeb, 0x27, 0x35, 0x00, 0x0f, 0xbf, 0x04, + 0x00, 0x00, 0xff, 0xff, 0x2f, 0x87, 0x12, 0xed, 0x8a, 0x05, 0x00, 0x00, } func (m *EventClaimExpired) Marshal() (dAtA []byte, err error) {