diff --git a/.deepsource.toml b/.deepsource.toml index 8b42c258ff023..9733ff8f32339 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -6,7 +6,6 @@ test_patterns = [ ] exclude_patterns = [ - "third_party/proto/**", "testutil/**", "proto/cosmos/**", "contrib/**" diff --git a/CHANGELOG.md b/CHANGELOG.md index de9bd67deffe0..fc1f43ebb41da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Improvements +* [#13070](https://github.com/cosmos/cosmos-sdk/pull/13070) Migrate from `gogo/protobuf` to `cosmos/gogoproto`. * [#12981](https://github.com/cosmos/cosmos-sdk/pull/12981) Return proper error when parsing telemetry configuration. * [#12995](https://github.com/cosmos/cosmos-sdk/pull/12995) Add `FormatTime` and `ParseTimeString` methods. * [#12952](https://github.com/cosmos/cosmos-sdk/pull/12952) Replace keyring module to Cosmos fork. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9eb3b634aaa6b..becf33576225e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -184,7 +184,7 @@ For consistency between our CI and the local tests, `GOWORK=off` is set in the ` ## Protobuf -We use [Protocol Buffers](https://developers.google.com/protocol-buffers) along with [gogoproto](https://github.com/gogo/protobuf) to generate code for use in Cosmos SDK. +We use [Protocol Buffers](https://developers.google.com/protocol-buffers) along with [gogoproto](https://github.com/cosmos/gogoproto) to generate code for use in Cosmos SDK. For deterministic behavior around Protobuf tooling, everything is containerized using Docker. Make sure to have Docker installed on your machine, or head to [Docker's website](https://docs.docker.com/get-docker/) to install it. diff --git a/Makefile b/Makefile index 32c9778d1f6b5..d3431380a0942 100644 --- a/Makefile +++ b/Makefile @@ -389,10 +389,9 @@ devdoc-update: ### Protobuf ### ############################################################################### -protoVer=0.8 +protoVer=0.10 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) containerProtoGen=$(PROJECT_NAME)-proto-gen-$(protoVer) -containerProtoGenAny=$(PROJECT_NAME)-proto-gen-any-$(protoVer) containerProtoGenSwagger=$(PROJECT_NAME)-proto-gen-swagger-$(protoVer) containerProtoFmt=$(PROJECT_NAME)-proto-fmt-$(protoVer) @@ -403,12 +402,6 @@ proto-gen: @if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGen}$$"; then docker start -a $(containerProtoGen); else docker run --name $(containerProtoGen) -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) \ sh ./scripts/protocgen.sh; fi -# This generates the SDK's custom wrapper for google.protobuf.Any. It should only be run manually when needed -proto-gen-any: - @echo "Generating Protobuf Any" - @if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGenAny}$$"; then docker start -a $(containerProtoGenAny); else docker run --name $(containerProtoGenAny) -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) \ - sh ./scripts/protocgen-any.sh; fi - proto-swagger-gen: @echo "Generating Protobuf Swagger" @if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGenSwagger}$$"; then docker start -a $(containerProtoGenSwagger); else docker run --name $(containerProtoGenSwagger) -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) \ @@ -417,7 +410,7 @@ proto-swagger-gen: proto-format: @echo "Formatting Protobuf files" @if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoFmt}$$"; then docker start -a $(containerProtoFmt); else docker run --name $(containerProtoFmt) -v $(CURDIR):/workspace --workdir /workspace tendermintdev/docker-build-proto \ - find ./ -not -path "./third_party/*" -name "*.proto" -exec clang-format -i {} \; ; fi + find ./ -name "*.proto" -exec clang-format -i {} \; ; fi proto-lint: @@ -426,34 +419,18 @@ proto-lint: proto-check-breaking: @$(DOCKER_BUF) breaking --against $(HTTPS_GIT)#branch=main +TM_URL = https://raw.githubusercontent.com/tendermint/tendermint/v0.37.0-alpha.2/proto/tendermint -TM_URL = https://raw.githubusercontent.com/tendermint/tendermint/v0.37.0-alpha.1/proto/tendermint -GOGO_PROTO_URL = https://raw.githubusercontent.com/regen-network/protobuf/v1.3.3-alpha.regen.1 -COSMOS_PROTO_URL = https://raw.githubusercontent.com/regen-network/cosmos-proto/v0.3.1 -CONFIO_URL = https://raw.githubusercontent.com/confio/ics23/go/v0.7.0 - -TM_CRYPTO_TYPES = third_party/proto/tendermint/crypto -TM_ABCI_TYPES = third_party/proto/tendermint/abci -TM_TYPES = third_party/proto/tendermint/types -TM_VERSION = third_party/proto/tendermint/version -TM_LIBS = third_party/proto/tendermint/libs/bits -TM_P2P = third_party/proto/tendermint/p2p - -GOGO_PROTO_TYPES = third_party/proto/gogoproto -COSMOS_PROTO_TYPES = third_party/proto/cosmos_proto -CONFIO_TYPES = third_party/proto/confio +TM_CRYPTO_TYPES = proto/tendermint/crypto +TM_ABCI_TYPES = proto/tendermint/abci +TM_TYPES = proto/tendermint/types +TM_VERSION = proto/tendermint/version +TM_LIBS = proto/tendermint/libs/bits +TM_P2P = proto/tendermint/p2p proto-update-deps: - @mkdir -p $(GOGO_PROTO_TYPES) - @curl -sSL $(GOGO_PROTO_URL)/gogoproto/gogo.proto > $(GOGO_PROTO_TYPES)/gogo.proto + @echo "Updating Protobuf dependencies" - @mkdir -p $(COSMOS_PROTO_TYPES) - @curl -sSL $(COSMOS_PROTO_URL)/cosmos.proto > $(COSMOS_PROTO_TYPES)/cosmos.proto - -## Importing of tendermint protobuf definitions currently requires the -## use of `sed` in order to build properly with cosmos-sdk's proto file layout -## (which is the standard Buf.build FILE_LAYOUT) -## Issue link: https://github.com/tendermint/tendermint/issues/5021 @mkdir -p $(TM_ABCI_TYPES) @curl -sSL $(TM_URL)/abci/types.proto > $(TM_ABCI_TYPES)/types.proto @@ -477,13 +454,7 @@ proto-update-deps: @mkdir -p $(TM_P2P) @curl -sSL $(TM_URL)/p2p/types.proto > $(TM_P2P)/types.proto - - -## insert go package option into proofs.proto file -## Issue link: https://github.com/confio/ics23/issues/32 - @sed -i '4ioption go_package = "github.com/confio/ics23/go";' $(CONFIO_TYPES)/proofs.proto - -.PHONY: proto-all proto-gen proto-gen-any proto-swagger-gen proto-format proto-lint proto-check-breaking proto-update-deps +.PHONY: proto-all proto-gen proto-swagger-gen proto-format proto-lint proto-check-breaking proto-update-deps ############################################################################### ### Localnet ### diff --git a/UPGRADING.md b/UPGRADING.md index 9933e05171b9e..564bcaf08868e 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -28,6 +28,13 @@ The constructor, `NewSimApp` has been simplified: `simapp.MakeTestEncodingConfig()` was deprecated and has been removed. Instead you can use the `TestEncodingConfig` from the `types/module/testutil` package. This means you can replace your usage of `simapp.MakeTestEncodingConfig` in tests to `moduletestutil.MakeTestEncodingConfig`, which takes a series of relevant `AppModuleBasic` as input (the module being tested and any potential dependencies). +### Protobuf + +The SDK has migrated from `gogo/protobuf` (which is currently unmaintained), to our own maintained fork, [`cosmos/gogoproto`](https://github.com/cosmos/gogoproto). + +This means you should replace all imports of `github.com/gogo/protobuf` to `github.com/cosmos/gogoproto`. +This allows you to remove the replace directive `replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1` from your `go.mod` file. + ### `x/gov` #### Minimum Proposal Deposit At Time of Submission diff --git a/api/cosmos/auth/v1beta1/auth.pulsar.go b/api/cosmos/auth/v1beta1/auth.pulsar.go index a1332e3a67a91..df8ae64ddb2c7 100644 --- a/api/cosmos/auth/v1beta1/auth.pulsar.go +++ b/api/cosmos/auth/v1beta1/auth.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/auth/v1beta1/genesis.pulsar.go b/api/cosmos/auth/v1beta1/genesis.pulsar.go index 9aa36a1484cbd..4b43b66fafea1 100644 --- a/api/cosmos/auth/v1beta1/genesis.pulsar.go +++ b/api/cosmos/auth/v1beta1/genesis.pulsar.go @@ -4,7 +4,7 @@ package authv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/auth/v1beta1/query.pulsar.go b/api/cosmos/auth/v1beta1/query.pulsar.go index 6a75246f9e047..f182aa503401e 100644 --- a/api/cosmos/auth/v1beta1/query.pulsar.go +++ b/api/cosmos/auth/v1beta1/query.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/auth/v1beta1/tx.pulsar.go b/api/cosmos/auth/v1beta1/tx.pulsar.go index b937cca7832b4..92e76b3b93f6b 100644 --- a/api/cosmos/auth/v1beta1/tx.pulsar.go +++ b/api/cosmos/auth/v1beta1/tx.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/authz/v1beta1/authz.pulsar.go b/api/cosmos/authz/v1beta1/authz.pulsar.go index 40a01208e1ae6..8c3932235832d 100644 --- a/api/cosmos/authz/v1beta1/authz.pulsar.go +++ b/api/cosmos/authz/v1beta1/authz.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/authz/v1beta1/genesis.pulsar.go b/api/cosmos/authz/v1beta1/genesis.pulsar.go index ea322c85efa40..4a05c36ecca49 100644 --- a/api/cosmos/authz/v1beta1/genesis.pulsar.go +++ b/api/cosmos/authz/v1beta1/genesis.pulsar.go @@ -4,7 +4,7 @@ package authzv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/authz/v1beta1/tx.pulsar.go b/api/cosmos/authz/v1beta1/tx.pulsar.go index 936cb890f5e16..ba0e0e3e45c65 100644 --- a/api/cosmos/authz/v1beta1/tx.pulsar.go +++ b/api/cosmos/authz/v1beta1/tx.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/bank/v1beta1/authz.pulsar.go b/api/cosmos/bank/v1beta1/authz.pulsar.go index 1443714203353..b88e8e6f6c74f 100644 --- a/api/cosmos/bank/v1beta1/authz.pulsar.go +++ b/api/cosmos/bank/v1beta1/authz.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/bank/v1beta1/bank.pulsar.go b/api/cosmos/bank/v1beta1/bank.pulsar.go index 556580ca0a391..f7b9b8dd75f5d 100644 --- a/api/cosmos/bank/v1beta1/bank.pulsar.go +++ b/api/cosmos/bank/v1beta1/bank.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/bank/v1beta1/genesis.pulsar.go b/api/cosmos/bank/v1beta1/genesis.pulsar.go index 7e4005d8552fb..c119ee3b538fc 100644 --- a/api/cosmos/bank/v1beta1/genesis.pulsar.go +++ b/api/cosmos/bank/v1beta1/genesis.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/bank/v1beta1/query.pulsar.go b/api/cosmos/bank/v1beta1/query.pulsar.go index 98f94a8ea65ef..e639bee08dc14 100644 --- a/api/cosmos/bank/v1beta1/query.pulsar.go +++ b/api/cosmos/bank/v1beta1/query.pulsar.go @@ -8,7 +8,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/bank/v1beta1/tx.pulsar.go b/api/cosmos/bank/v1beta1/tx.pulsar.go index 246fbd81df0de..4acdbe2f6c623 100644 --- a/api/cosmos/bank/v1beta1/tx.pulsar.go +++ b/api/cosmos/bank/v1beta1/tx.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/base/abci/v1beta1/abci.pulsar.go b/api/cosmos/base/abci/v1beta1/abci.pulsar.go index 173b4489944e4..6d3253676da16 100644 --- a/api/cosmos/base/abci/v1beta1/abci.pulsar.go +++ b/api/cosmos/base/abci/v1beta1/abci.pulsar.go @@ -5,7 +5,7 @@ import ( abci "cosmossdk.io/api/tendermint/abci" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/base/kv/v1beta1/kv.pulsar.go b/api/cosmos/base/kv/v1beta1/kv.pulsar.go index 1403c88f929ee..2207271cc025d 100644 --- a/api/cosmos/base/kv/v1beta1/kv.pulsar.go +++ b/api/cosmos/base/kv/v1beta1/kv.pulsar.go @@ -4,7 +4,7 @@ package kvv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/base/snapshots/v1beta1/snapshot.pulsar.go b/api/cosmos/base/snapshots/v1beta1/snapshot.pulsar.go index 607579ea23d09..3e595a928356c 100644 --- a/api/cosmos/base/snapshots/v1beta1/snapshot.pulsar.go +++ b/api/cosmos/base/snapshots/v1beta1/snapshot.pulsar.go @@ -4,7 +4,7 @@ package snapshotsv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/base/store/v1beta1/commit_info.pulsar.go b/api/cosmos/base/store/v1beta1/commit_info.pulsar.go index 7d47e79e2c66c..02bfa7426cba5 100644 --- a/api/cosmos/base/store/v1beta1/commit_info.pulsar.go +++ b/api/cosmos/base/store/v1beta1/commit_info.pulsar.go @@ -4,7 +4,7 @@ package storev1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/base/tendermint/v1beta1/query.pulsar.go b/api/cosmos/base/tendermint/v1beta1/query.pulsar.go index 6b18c443f304e..9d037fff7d1c3 100644 --- a/api/cosmos/base/tendermint/v1beta1/query.pulsar.go +++ b/api/cosmos/base/tendermint/v1beta1/query.pulsar.go @@ -8,7 +8,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/base/tendermint/v1beta1/types.pulsar.go b/api/cosmos/base/tendermint/v1beta1/types.pulsar.go index e2270170ff766..b443f1fa96138 100644 --- a/api/cosmos/base/tendermint/v1beta1/types.pulsar.go +++ b/api/cosmos/base/tendermint/v1beta1/types.pulsar.go @@ -6,7 +6,7 @@ import ( version "cosmossdk.io/api/tendermint/version" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/base/v1beta1/coin.pulsar.go b/api/cosmos/base/v1beta1/coin.pulsar.go index 51913f4d508a7..ff57c051da3a2 100644 --- a/api/cosmos/base/v1beta1/coin.pulsar.go +++ b/api/cosmos/base/v1beta1/coin.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/capability/v1beta1/capability.pulsar.go b/api/cosmos/capability/v1beta1/capability.pulsar.go index bb8c8638b7f96..72aa4ba0110c0 100644 --- a/api/cosmos/capability/v1beta1/capability.pulsar.go +++ b/api/cosmos/capability/v1beta1/capability.pulsar.go @@ -4,7 +4,7 @@ package capabilityv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/capability/v1beta1/genesis.pulsar.go b/api/cosmos/capability/v1beta1/genesis.pulsar.go index 823ad3458e9b0..28ae2a4641473 100644 --- a/api/cosmos/capability/v1beta1/genesis.pulsar.go +++ b/api/cosmos/capability/v1beta1/genesis.pulsar.go @@ -4,7 +4,7 @@ package capabilityv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/crisis/v1beta1/genesis.pulsar.go b/api/cosmos/crisis/v1beta1/genesis.pulsar.go index 902ae1cb0a478..9cc3a01628b8b 100644 --- a/api/cosmos/crisis/v1beta1/genesis.pulsar.go +++ b/api/cosmos/crisis/v1beta1/genesis.pulsar.go @@ -5,7 +5,7 @@ import ( v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/crisis/v1beta1/tx.pulsar.go b/api/cosmos/crisis/v1beta1/tx.pulsar.go index 1b6acca498ef6..2de2035d29c47 100644 --- a/api/cosmos/crisis/v1beta1/tx.pulsar.go +++ b/api/cosmos/crisis/v1beta1/tx.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/crypto/ed25519/keys.pulsar.go b/api/cosmos/crypto/ed25519/keys.pulsar.go index 0369058c077b3..4b439b032afa5 100644 --- a/api/cosmos/crypto/ed25519/keys.pulsar.go +++ b/api/cosmos/crypto/ed25519/keys.pulsar.go @@ -4,7 +4,7 @@ package ed25519 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/crypto/hd/v1/hd.pulsar.go b/api/cosmos/crypto/hd/v1/hd.pulsar.go index 6cc8df992e21a..65a7a6dbb0200 100644 --- a/api/cosmos/crypto/hd/v1/hd.pulsar.go +++ b/api/cosmos/crypto/hd/v1/hd.pulsar.go @@ -4,7 +4,7 @@ package hdv1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/crypto/keyring/v1/record.pulsar.go b/api/cosmos/crypto/keyring/v1/record.pulsar.go index adb1fc0b50637..8c04e58545f47 100644 --- a/api/cosmos/crypto/keyring/v1/record.pulsar.go +++ b/api/cosmos/crypto/keyring/v1/record.pulsar.go @@ -5,7 +5,7 @@ import ( v1 "cosmossdk.io/api/cosmos/crypto/hd/v1" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/crypto/multisig/keys.pulsar.go b/api/cosmos/crypto/multisig/keys.pulsar.go index 7bb7a67def16e..02ec2f7f9476e 100644 --- a/api/cosmos/crypto/multisig/keys.pulsar.go +++ b/api/cosmos/crypto/multisig/keys.pulsar.go @@ -4,7 +4,7 @@ package multisig import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/crypto/multisig/v1beta1/multisig.pulsar.go b/api/cosmos/crypto/multisig/v1beta1/multisig.pulsar.go index 66aebea2627cd..2bf4fc7cd6ccb 100644 --- a/api/cosmos/crypto/multisig/v1beta1/multisig.pulsar.go +++ b/api/cosmos/crypto/multisig/v1beta1/multisig.pulsar.go @@ -4,7 +4,7 @@ package multisigv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/crypto/secp256k1/keys.pulsar.go b/api/cosmos/crypto/secp256k1/keys.pulsar.go index 7697a8acfc2af..397a7ab0922a9 100644 --- a/api/cosmos/crypto/secp256k1/keys.pulsar.go +++ b/api/cosmos/crypto/secp256k1/keys.pulsar.go @@ -4,7 +4,7 @@ package secp256k1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/crypto/secp256r1/keys.pulsar.go b/api/cosmos/crypto/secp256r1/keys.pulsar.go index 347e5a10885c0..02f122b0a8784 100644 --- a/api/cosmos/crypto/secp256r1/keys.pulsar.go +++ b/api/cosmos/crypto/secp256r1/keys.pulsar.go @@ -4,7 +4,7 @@ package secp256r1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/distribution/v1beta1/distribution.pulsar.go b/api/cosmos/distribution/v1beta1/distribution.pulsar.go index e7ab050cde5f4..085a2c477f9c9 100644 --- a/api/cosmos/distribution/v1beta1/distribution.pulsar.go +++ b/api/cosmos/distribution/v1beta1/distribution.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/distribution/v1beta1/genesis.pulsar.go b/api/cosmos/distribution/v1beta1/genesis.pulsar.go index 50aedee2a4e30..b8a416f629708 100644 --- a/api/cosmos/distribution/v1beta1/genesis.pulsar.go +++ b/api/cosmos/distribution/v1beta1/genesis.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/distribution/v1beta1/query.pulsar.go b/api/cosmos/distribution/v1beta1/query.pulsar.go index 2601738a73667..531bf3194fe5e 100644 --- a/api/cosmos/distribution/v1beta1/query.pulsar.go +++ b/api/cosmos/distribution/v1beta1/query.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/distribution/v1beta1/tx.pulsar.go b/api/cosmos/distribution/v1beta1/tx.pulsar.go index 9edd76996df69..640e9bfb647fb 100644 --- a/api/cosmos/distribution/v1beta1/tx.pulsar.go +++ b/api/cosmos/distribution/v1beta1/tx.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/evidence/v1beta1/evidence.pulsar.go b/api/cosmos/evidence/v1beta1/evidence.pulsar.go index b73310940bc6a..3d8f1f8fc3942 100644 --- a/api/cosmos/evidence/v1beta1/evidence.pulsar.go +++ b/api/cosmos/evidence/v1beta1/evidence.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/evidence/v1beta1/query.pulsar.go b/api/cosmos/evidence/v1beta1/query.pulsar.go index bfb4b2b7d9acf..ec37067af6e91 100644 --- a/api/cosmos/evidence/v1beta1/query.pulsar.go +++ b/api/cosmos/evidence/v1beta1/query.pulsar.go @@ -5,7 +5,7 @@ import ( v1beta1 "cosmossdk.io/api/cosmos/base/query/v1beta1" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/evidence/v1beta1/tx.pulsar.go b/api/cosmos/evidence/v1beta1/tx.pulsar.go index a58621c7ca248..0d411e286074b 100644 --- a/api/cosmos/evidence/v1beta1/tx.pulsar.go +++ b/api/cosmos/evidence/v1beta1/tx.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/feegrant/v1beta1/feegrant.pulsar.go b/api/cosmos/feegrant/v1beta1/feegrant.pulsar.go index 3d94c19622c36..fe138f4e6f037 100644 --- a/api/cosmos/feegrant/v1beta1/feegrant.pulsar.go +++ b/api/cosmos/feegrant/v1beta1/feegrant.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/feegrant/v1beta1/genesis.pulsar.go b/api/cosmos/feegrant/v1beta1/genesis.pulsar.go index bd5d09f47b53b..49604e010044f 100644 --- a/api/cosmos/feegrant/v1beta1/genesis.pulsar.go +++ b/api/cosmos/feegrant/v1beta1/genesis.pulsar.go @@ -4,7 +4,7 @@ package feegrantv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/genutil/v1beta1/genesis.pulsar.go b/api/cosmos/genutil/v1beta1/genesis.pulsar.go index 892cd73ee3ccd..19ef7cca86c69 100644 --- a/api/cosmos/genutil/v1beta1/genesis.pulsar.go +++ b/api/cosmos/genutil/v1beta1/genesis.pulsar.go @@ -4,7 +4,7 @@ package genutilv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/gov/v1/gov.pulsar.go b/api/cosmos/gov/v1/gov.pulsar.go index 2561f83ce74e6..4e1459ff90567 100644 --- a/api/cosmos/gov/v1/gov.pulsar.go +++ b/api/cosmos/gov/v1/gov.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/gov/v1/tx.pulsar.go b/api/cosmos/gov/v1/tx.pulsar.go index b8593ef271c32..cfe72fd34a205 100644 --- a/api/cosmos/gov/v1/tx.pulsar.go +++ b/api/cosmos/gov/v1/tx.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/gov/v1beta1/genesis.pulsar.go b/api/cosmos/gov/v1beta1/genesis.pulsar.go index 418f8270917fc..c34920f18ae2f 100644 --- a/api/cosmos/gov/v1beta1/genesis.pulsar.go +++ b/api/cosmos/gov/v1beta1/genesis.pulsar.go @@ -4,7 +4,7 @@ package govv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/gov/v1beta1/gov.pulsar.go b/api/cosmos/gov/v1beta1/gov.pulsar.go index 34cda46075727..5be248bef7b69 100644 --- a/api/cosmos/gov/v1beta1/gov.pulsar.go +++ b/api/cosmos/gov/v1beta1/gov.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/gov/v1beta1/query.pulsar.go b/api/cosmos/gov/v1beta1/query.pulsar.go index cd26db04c5968..1ab943ed17875 100644 --- a/api/cosmos/gov/v1beta1/query.pulsar.go +++ b/api/cosmos/gov/v1beta1/query.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/gov/v1beta1/tx.pulsar.go b/api/cosmos/gov/v1beta1/tx.pulsar.go index cabd5494e6974..99cf628db0bfc 100644 --- a/api/cosmos/gov/v1beta1/tx.pulsar.go +++ b/api/cosmos/gov/v1beta1/tx.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/group/module/v1/module.pulsar.go b/api/cosmos/group/module/v1/module.pulsar.go index 0925cb2ab09fe..4d67367da2f7e 100644 --- a/api/cosmos/group/module/v1/module.pulsar.go +++ b/api/cosmos/group/module/v1/module.pulsar.go @@ -5,7 +5,7 @@ import ( _ "cosmossdk.io/api/cosmos/app/v1alpha1" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/group/v1/query.pulsar.go b/api/cosmos/group/v1/query.pulsar.go index af0b70baf1431..cdca72edc7391 100644 --- a/api/cosmos/group/v1/query.pulsar.go +++ b/api/cosmos/group/v1/query.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/group/v1/tx.pulsar.go b/api/cosmos/group/v1/tx.pulsar.go index dfb7fee50d85f..06795c1f416bf 100644 --- a/api/cosmos/group/v1/tx.pulsar.go +++ b/api/cosmos/group/v1/tx.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/group/v1/types.pulsar.go b/api/cosmos/group/v1/types.pulsar.go index 5d052565d460a..ac3083c3a8910 100644 --- a/api/cosmos/group/v1/types.pulsar.go +++ b/api/cosmos/group/v1/types.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/mint/v1beta1/genesis.pulsar.go b/api/cosmos/mint/v1beta1/genesis.pulsar.go index 1afa792e2756b..8d233174a279c 100644 --- a/api/cosmos/mint/v1beta1/genesis.pulsar.go +++ b/api/cosmos/mint/v1beta1/genesis.pulsar.go @@ -4,7 +4,7 @@ package mintv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/mint/v1beta1/mint.pulsar.go b/api/cosmos/mint/v1beta1/mint.pulsar.go index a9798476db8f1..94a547ac330ab 100644 --- a/api/cosmos/mint/v1beta1/mint.pulsar.go +++ b/api/cosmos/mint/v1beta1/mint.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/mint/v1beta1/query.pulsar.go b/api/cosmos/mint/v1beta1/query.pulsar.go index 8d1c5da47cde9..040a842255580 100644 --- a/api/cosmos/mint/v1beta1/query.pulsar.go +++ b/api/cosmos/mint/v1beta1/query.pulsar.go @@ -4,7 +4,7 @@ package mintv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/mint/v1beta1/tx.pulsar.go b/api/cosmos/mint/v1beta1/tx.pulsar.go index 17b7a59c6fea5..4c996d2fa1700 100644 --- a/api/cosmos/mint/v1beta1/tx.pulsar.go +++ b/api/cosmos/mint/v1beta1/tx.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/params/v1beta1/params.pulsar.go b/api/cosmos/params/v1beta1/params.pulsar.go index 6e6e5034eb630..146a75e2a4cd9 100644 --- a/api/cosmos/params/v1beta1/params.pulsar.go +++ b/api/cosmos/params/v1beta1/params.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/params/v1beta1/query.pulsar.go b/api/cosmos/params/v1beta1/query.pulsar.go index 639b86eb3fe0a..f6389bf2106fb 100644 --- a/api/cosmos/params/v1beta1/query.pulsar.go +++ b/api/cosmos/params/v1beta1/query.pulsar.go @@ -4,7 +4,7 @@ package paramsv1beta1 import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/query/v1/query.pulsar.go b/api/cosmos/query/v1/query.pulsar.go index d43453b7bd268..e1410436717a6 100644 --- a/api/cosmos/query/v1/query.pulsar.go +++ b/api/cosmos/query/v1/query.pulsar.go @@ -37,6 +37,7 @@ var ( // deterministic is set to true when the query is guaranteed to return a // deterministic response. Concretely, it means that the query has been // tested on the SDK to return the exact same response upon multiple calls. + // Each of these queries also handles its own gas consumption. // // When set to true, the query can safely be called from within the state // machine, for example via ADR-033 calls or from CosmWasm contracts. diff --git a/api/cosmos/slashing/v1beta1/genesis.pulsar.go b/api/cosmos/slashing/v1beta1/genesis.pulsar.go index 16ded99669b44..ce9f88a295f32 100644 --- a/api/cosmos/slashing/v1beta1/genesis.pulsar.go +++ b/api/cosmos/slashing/v1beta1/genesis.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/slashing/v1beta1/query.pulsar.go b/api/cosmos/slashing/v1beta1/query.pulsar.go index fb9261815c182..716e4381f6455 100644 --- a/api/cosmos/slashing/v1beta1/query.pulsar.go +++ b/api/cosmos/slashing/v1beta1/query.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/slashing/v1beta1/slashing.pulsar.go b/api/cosmos/slashing/v1beta1/slashing.pulsar.go index c0f54d6f77ab4..c56ac07254375 100644 --- a/api/cosmos/slashing/v1beta1/slashing.pulsar.go +++ b/api/cosmos/slashing/v1beta1/slashing.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/slashing/v1beta1/tx.pulsar.go b/api/cosmos/slashing/v1beta1/tx.pulsar.go index 3e96c48f18662..9febce8865c1c 100644 --- a/api/cosmos/slashing/v1beta1/tx.pulsar.go +++ b/api/cosmos/slashing/v1beta1/tx.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/staking/v1beta1/authz.pulsar.go b/api/cosmos/staking/v1beta1/authz.pulsar.go index 43d65cbab32d0..5f48d8d932635 100644 --- a/api/cosmos/staking/v1beta1/authz.pulsar.go +++ b/api/cosmos/staking/v1beta1/authz.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/staking/v1beta1/genesis.pulsar.go b/api/cosmos/staking/v1beta1/genesis.pulsar.go index 094309b4420f6..d9dc2259fcfd5 100644 --- a/api/cosmos/staking/v1beta1/genesis.pulsar.go +++ b/api/cosmos/staking/v1beta1/genesis.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/staking/v1beta1/query.pulsar.go b/api/cosmos/staking/v1beta1/query.pulsar.go index 0ae12d5b553fd..3e191caed10af 100644 --- a/api/cosmos/staking/v1beta1/query.pulsar.go +++ b/api/cosmos/staking/v1beta1/query.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/staking/v1beta1/staking.pulsar.go b/api/cosmos/staking/v1beta1/staking.pulsar.go index 4fa721fc27c11..c674415af9180 100644 --- a/api/cosmos/staking/v1beta1/staking.pulsar.go +++ b/api/cosmos/staking/v1beta1/staking.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/staking/v1beta1/tx.pulsar.go b/api/cosmos/staking/v1beta1/tx.pulsar.go index b265c158358eb..8f8bc90eded26 100644 --- a/api/cosmos/staking/v1beta1/tx.pulsar.go +++ b/api/cosmos/staking/v1beta1/tx.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/tx/v1beta1/tx.pulsar.go b/api/cosmos/tx/v1beta1/tx.pulsar.go index 0f5a8b0bbe52d..54eca117719ce 100644 --- a/api/cosmos/tx/v1beta1/tx.pulsar.go +++ b/api/cosmos/tx/v1beta1/tx.pulsar.go @@ -8,7 +8,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/upgrade/v1beta1/tx.pulsar.go b/api/cosmos/upgrade/v1beta1/tx.pulsar.go index 0410fa81fc9a2..c0d43be7792e2 100644 --- a/api/cosmos/upgrade/v1beta1/tx.pulsar.go +++ b/api/cosmos/upgrade/v1beta1/tx.pulsar.go @@ -6,7 +6,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/upgrade/v1beta1/upgrade.pulsar.go b/api/cosmos/upgrade/v1beta1/upgrade.pulsar.go index 1894a795cc92c..722fb794a5673 100644 --- a/api/cosmos/upgrade/v1beta1/upgrade.pulsar.go +++ b/api/cosmos/upgrade/v1beta1/upgrade.pulsar.go @@ -5,7 +5,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/vesting/v1beta1/tx.pulsar.go b/api/cosmos/vesting/v1beta1/tx.pulsar.go index bdd73bd28b684..c9b0b3c73fcea 100644 --- a/api/cosmos/vesting/v1beta1/tx.pulsar.go +++ b/api/cosmos/vesting/v1beta1/tx.pulsar.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/cosmos/vesting/v1beta1/vesting.pulsar.go b/api/cosmos/vesting/v1beta1/vesting.pulsar.go index b4f946b0987a6..5a385f989f409 100644 --- a/api/cosmos/vesting/v1beta1/vesting.pulsar.go +++ b/api/cosmos/vesting/v1beta1/vesting.pulsar.go @@ -6,7 +6,7 @@ import ( v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/go.mod b/api/go.mod index dcfdfa640dc74..a173314c79c6d 100644 --- a/api/go.mod +++ b/api/go.mod @@ -4,7 +4,7 @@ go 1.18 require ( github.com/cosmos/cosmos-proto v1.0.0-alpha7 - github.com/gogo/protobuf v1.3.2 + github.com/cosmos/gogoproto v1.4.1 google.golang.org/genproto v0.0.0-20220725144611-272f38e5d71b google.golang.org/grpc v1.49.0 google.golang.org/protobuf v1.28.1 diff --git a/api/go.sum b/api/go.sum index 3a6c15fed87fd..b24fd9c1b2ed4 100644 --- a/api/go.sum +++ b/api/go.sum @@ -1,8 +1,8 @@ github.com/cosmos/cosmos-proto v1.0.0-alpha7 h1:yqYUOHF2jopwZh4dVQp3xgqwftE5/2hkrwIV6vkUbO0= github.com/cosmos/cosmos-proto v1.0.0-alpha7/go.mod h1:dosO4pSAbJF8zWCzCoTWP7nNsjcvSUBQmniFxDg5daw= +github.com/cosmos/gogoproto v1.4.1 h1:WoyH+0/jbCTzpKNvyav5FL1ZTWsp1im1MxEpJEzKUB8= +github.com/cosmos/gogoproto v1.4.1/go.mod h1:Ac9lzL4vFpBMcptJROQ6dQ4M3pOEK5Z/l0Q9p+LoCr4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= @@ -10,44 +10,16 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20220726230323-06994584191e h1:wOQNKh1uuDGRnmgF0jDxh7ctgGy/3P4rYWQRVJD4/Yg= golang.org/x/net v0.0.0-20220726230323-06994584191e/go.mod h1:AaygXjzTFtRAg2ttMY5RMuhpJ3cNnI0XpyFJD1iQRSM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab h1:2QkjZIsXupsJbJIdSjjUOgWK3aEtzyuh2mPt3l/CkeU= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/genproto v0.0.0-20220725144611-272f38e5d71b h1:SfSkJugek6xm7lWywqth4r2iTrYLpD8lOj1nMIIhMNM= google.golang.org/genproto v0.0.0-20220725144611-272f38e5d71b/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= google.golang.org/grpc v1.49.0 h1:WTLtQzmQori5FUH25Pq4WT22oCsv8USpQ+F6rqtsmxw= diff --git a/api/tendermint/abci/types.pulsar.go b/api/tendermint/abci/types.pulsar.go index 383c54e4cd43b..42d240bbcbc1a 100644 --- a/api/tendermint/abci/types.pulsar.go +++ b/api/tendermint/abci/types.pulsar.go @@ -6,7 +6,7 @@ import ( types "cosmossdk.io/api/tendermint/types" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" @@ -21,7 +21,6 @@ var ( fd_Request_echo protoreflect.FieldDescriptor fd_Request_flush protoreflect.FieldDescriptor fd_Request_info protoreflect.FieldDescriptor - fd_Request_set_option protoreflect.FieldDescriptor fd_Request_init_chain protoreflect.FieldDescriptor fd_Request_query protoreflect.FieldDescriptor fd_Request_begin_block protoreflect.FieldDescriptor @@ -33,6 +32,8 @@ var ( fd_Request_offer_snapshot protoreflect.FieldDescriptor fd_Request_load_snapshot_chunk protoreflect.FieldDescriptor fd_Request_apply_snapshot_chunk protoreflect.FieldDescriptor + fd_Request_prepare_proposal protoreflect.FieldDescriptor + fd_Request_process_proposal protoreflect.FieldDescriptor ) func init() { @@ -41,7 +42,6 @@ func init() { fd_Request_echo = md_Request.Fields().ByName("echo") fd_Request_flush = md_Request.Fields().ByName("flush") fd_Request_info = md_Request.Fields().ByName("info") - fd_Request_set_option = md_Request.Fields().ByName("set_option") fd_Request_init_chain = md_Request.Fields().ByName("init_chain") fd_Request_query = md_Request.Fields().ByName("query") fd_Request_begin_block = md_Request.Fields().ByName("begin_block") @@ -53,6 +53,8 @@ func init() { fd_Request_offer_snapshot = md_Request.Fields().ByName("offer_snapshot") fd_Request_load_snapshot_chunk = md_Request.Fields().ByName("load_snapshot_chunk") fd_Request_apply_snapshot_chunk = md_Request.Fields().ByName("apply_snapshot_chunk") + fd_Request_prepare_proposal = md_Request.Fields().ByName("prepare_proposal") + fd_Request_process_proposal = md_Request.Fields().ByName("process_proposal") } var _ protoreflect.Message = (*fastReflection_Request)(nil) @@ -140,12 +142,6 @@ func (x *fastReflection_Request) Range(f func(protoreflect.FieldDescriptor, prot if !f(fd_Request_info, value) { return } - case *Request_SetOption: - v := o.SetOption - value := protoreflect.ValueOfMessage(v.ProtoReflect()) - if !f(fd_Request_set_option, value) { - return - } case *Request_InitChain: v := o.InitChain value := protoreflect.ValueOfMessage(v.ProtoReflect()) @@ -212,6 +208,18 @@ func (x *fastReflection_Request) Range(f func(protoreflect.FieldDescriptor, prot if !f(fd_Request_apply_snapshot_chunk, value) { return } + case *Request_PrepareProposal: + v := o.PrepareProposal + value := protoreflect.ValueOfMessage(v.ProtoReflect()) + if !f(fd_Request_prepare_proposal, value) { + return + } + case *Request_ProcessProposal: + v := o.ProcessProposal + value := protoreflect.ValueOfMessage(v.ProtoReflect()) + if !f(fd_Request_process_proposal, value) { + return + } } } } @@ -253,14 +261,6 @@ func (x *fastReflection_Request) Has(fd protoreflect.FieldDescriptor) bool { } else { return false } - case "tendermint.abci.Request.set_option": - if x.Value == nil { - return false - } else if _, ok := x.Value.(*Request_SetOption); ok { - return true - } else { - return false - } case "tendermint.abci.Request.init_chain": if x.Value == nil { return false @@ -349,6 +349,22 @@ func (x *fastReflection_Request) Has(fd protoreflect.FieldDescriptor) bool { } else { return false } + case "tendermint.abci.Request.prepare_proposal": + if x.Value == nil { + return false + } else if _, ok := x.Value.(*Request_PrepareProposal); ok { + return true + } else { + return false + } + case "tendermint.abci.Request.process_proposal": + if x.Value == nil { + return false + } else if _, ok := x.Value.(*Request_ProcessProposal); ok { + return true + } else { + return false + } default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Request")) @@ -371,8 +387,6 @@ func (x *fastReflection_Request) Clear(fd protoreflect.FieldDescriptor) { x.Value = nil case "tendermint.abci.Request.info": x.Value = nil - case "tendermint.abci.Request.set_option": - x.Value = nil case "tendermint.abci.Request.init_chain": x.Value = nil case "tendermint.abci.Request.query": @@ -395,6 +409,10 @@ func (x *fastReflection_Request) Clear(fd protoreflect.FieldDescriptor) { x.Value = nil case "tendermint.abci.Request.apply_snapshot_chunk": x.Value = nil + case "tendermint.abci.Request.prepare_proposal": + x.Value = nil + case "tendermint.abci.Request.process_proposal": + x.Value = nil default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Request")) @@ -435,14 +453,6 @@ func (x *fastReflection_Request) Get(descriptor protoreflect.FieldDescriptor) pr } else { return protoreflect.ValueOfMessage((*RequestInfo)(nil).ProtoReflect()) } - case "tendermint.abci.Request.set_option": - if x.Value == nil { - return protoreflect.ValueOfMessage((*RequestSetOption)(nil).ProtoReflect()) - } else if v, ok := x.Value.(*Request_SetOption); ok { - return protoreflect.ValueOfMessage(v.SetOption.ProtoReflect()) - } else { - return protoreflect.ValueOfMessage((*RequestSetOption)(nil).ProtoReflect()) - } case "tendermint.abci.Request.init_chain": if x.Value == nil { return protoreflect.ValueOfMessage((*RequestInitChain)(nil).ProtoReflect()) @@ -531,6 +541,22 @@ func (x *fastReflection_Request) Get(descriptor protoreflect.FieldDescriptor) pr } else { return protoreflect.ValueOfMessage((*RequestApplySnapshotChunk)(nil).ProtoReflect()) } + case "tendermint.abci.Request.prepare_proposal": + if x.Value == nil { + return protoreflect.ValueOfMessage((*RequestPrepareProposal)(nil).ProtoReflect()) + } else if v, ok := x.Value.(*Request_PrepareProposal); ok { + return protoreflect.ValueOfMessage(v.PrepareProposal.ProtoReflect()) + } else { + return protoreflect.ValueOfMessage((*RequestPrepareProposal)(nil).ProtoReflect()) + } + case "tendermint.abci.Request.process_proposal": + if x.Value == nil { + return protoreflect.ValueOfMessage((*RequestProcessProposal)(nil).ProtoReflect()) + } else if v, ok := x.Value.(*Request_ProcessProposal); ok { + return protoreflect.ValueOfMessage(v.ProcessProposal.ProtoReflect()) + } else { + return protoreflect.ValueOfMessage((*RequestProcessProposal)(nil).ProtoReflect()) + } default: if descriptor.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Request")) @@ -560,9 +586,6 @@ func (x *fastReflection_Request) Set(fd protoreflect.FieldDescriptor, value prot case "tendermint.abci.Request.info": cv := value.Message().Interface().(*RequestInfo) x.Value = &Request_Info{Info: cv} - case "tendermint.abci.Request.set_option": - cv := value.Message().Interface().(*RequestSetOption) - x.Value = &Request_SetOption{SetOption: cv} case "tendermint.abci.Request.init_chain": cv := value.Message().Interface().(*RequestInitChain) x.Value = &Request_InitChain{InitChain: cv} @@ -596,6 +619,12 @@ func (x *fastReflection_Request) Set(fd protoreflect.FieldDescriptor, value prot case "tendermint.abci.Request.apply_snapshot_chunk": cv := value.Message().Interface().(*RequestApplySnapshotChunk) x.Value = &Request_ApplySnapshotChunk{ApplySnapshotChunk: cv} + case "tendermint.abci.Request.prepare_proposal": + cv := value.Message().Interface().(*RequestPrepareProposal) + x.Value = &Request_PrepareProposal{PrepareProposal: cv} + case "tendermint.abci.Request.process_proposal": + cv := value.Message().Interface().(*RequestProcessProposal) + x.Value = &Request_ProcessProposal{ProcessProposal: cv} default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Request")) @@ -664,22 +693,6 @@ func (x *fastReflection_Request) Mutable(fd protoreflect.FieldDescriptor) protor x.Value = oneofValue return protoreflect.ValueOfMessage(value.ProtoReflect()) } - case "tendermint.abci.Request.set_option": - if x.Value == nil { - value := &RequestSetOption{} - oneofValue := &Request_SetOption{SetOption: value} - x.Value = oneofValue - return protoreflect.ValueOfMessage(value.ProtoReflect()) - } - switch m := x.Value.(type) { - case *Request_SetOption: - return protoreflect.ValueOfMessage(m.SetOption.ProtoReflect()) - default: - value := &RequestSetOption{} - oneofValue := &Request_SetOption{SetOption: value} - x.Value = oneofValue - return protoreflect.ValueOfMessage(value.ProtoReflect()) - } case "tendermint.abci.Request.init_chain": if x.Value == nil { value := &RequestInitChain{} @@ -856,6 +869,38 @@ func (x *fastReflection_Request) Mutable(fd protoreflect.FieldDescriptor) protor x.Value = oneofValue return protoreflect.ValueOfMessage(value.ProtoReflect()) } + case "tendermint.abci.Request.prepare_proposal": + if x.Value == nil { + value := &RequestPrepareProposal{} + oneofValue := &Request_PrepareProposal{PrepareProposal: value} + x.Value = oneofValue + return protoreflect.ValueOfMessage(value.ProtoReflect()) + } + switch m := x.Value.(type) { + case *Request_PrepareProposal: + return protoreflect.ValueOfMessage(m.PrepareProposal.ProtoReflect()) + default: + value := &RequestPrepareProposal{} + oneofValue := &Request_PrepareProposal{PrepareProposal: value} + x.Value = oneofValue + return protoreflect.ValueOfMessage(value.ProtoReflect()) + } + case "tendermint.abci.Request.process_proposal": + if x.Value == nil { + value := &RequestProcessProposal{} + oneofValue := &Request_ProcessProposal{ProcessProposal: value} + x.Value = oneofValue + return protoreflect.ValueOfMessage(value.ProtoReflect()) + } + switch m := x.Value.(type) { + case *Request_ProcessProposal: + return protoreflect.ValueOfMessage(m.ProcessProposal.ProtoReflect()) + default: + value := &RequestProcessProposal{} + oneofValue := &Request_ProcessProposal{ProcessProposal: value} + x.Value = oneofValue + return protoreflect.ValueOfMessage(value.ProtoReflect()) + } default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Request")) @@ -878,9 +923,6 @@ func (x *fastReflection_Request) NewField(fd protoreflect.FieldDescriptor) proto case "tendermint.abci.Request.info": value := &RequestInfo{} return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.Request.set_option": - value := &RequestSetOption{} - return protoreflect.ValueOfMessage(value.ProtoReflect()) case "tendermint.abci.Request.init_chain": value := &RequestInitChain{} return protoreflect.ValueOfMessage(value.ProtoReflect()) @@ -914,6 +956,12 @@ func (x *fastReflection_Request) NewField(fd protoreflect.FieldDescriptor) proto case "tendermint.abci.Request.apply_snapshot_chunk": value := &RequestApplySnapshotChunk{} return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.Request.prepare_proposal": + value := &RequestPrepareProposal{} + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.Request.process_proposal": + value := &RequestProcessProposal{} + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Request")) @@ -938,8 +986,6 @@ func (x *fastReflection_Request) WhichOneof(d protoreflect.OneofDescriptor) prot return x.Descriptor().Fields().ByName("flush") case *Request_Info: return x.Descriptor().Fields().ByName("info") - case *Request_SetOption: - return x.Descriptor().Fields().ByName("set_option") case *Request_InitChain: return x.Descriptor().Fields().ByName("init_chain") case *Request_Query: @@ -962,6 +1008,10 @@ func (x *fastReflection_Request) WhichOneof(d protoreflect.OneofDescriptor) prot return x.Descriptor().Fields().ByName("load_snapshot_chunk") case *Request_ApplySnapshotChunk: return x.Descriptor().Fields().ByName("apply_snapshot_chunk") + case *Request_PrepareProposal: + return x.Descriptor().Fields().ByName("prepare_proposal") + case *Request_ProcessProposal: + return x.Descriptor().Fields().ByName("process_proposal") } default: panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.Request", d.FullName())) @@ -1038,12 +1088,6 @@ func (x *fastReflection_Request) ProtoMethods() *protoiface.Methods { } l = options.Size(x.Info) n += 1 + l + runtime.Sov(uint64(l)) - case *Request_SetOption: - if x == nil { - break - } - l = options.Size(x.SetOption) - n += 1 + l + runtime.Sov(uint64(l)) case *Request_InitChain: if x == nil { break @@ -1110,6 +1154,18 @@ func (x *fastReflection_Request) ProtoMethods() *protoiface.Methods { } l = options.Size(x.ApplySnapshotChunk) n += 1 + l + runtime.Sov(uint64(l)) + case *Request_PrepareProposal: + if x == nil { + break + } + l = options.Size(x.PrepareProposal) + n += 2 + l + runtime.Sov(uint64(l)) + case *Request_ProcessProposal: + if x == nil { + break + } + l = options.Size(x.ProcessProposal) + n += 2 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -1180,19 +1236,6 @@ func (x *fastReflection_Request) ProtoMethods() *protoiface.Methods { i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- dAtA[i] = 0x1a - case *Request_SetOption: - encoded, err := options.Marshal(x.SetOption) - 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] = 0x22 case *Request_InitChain: encoded, err := options.Marshal(x.InitChain) if err != nil { @@ -1336,6 +1379,36 @@ func (x *fastReflection_Request) ProtoMethods() *protoiface.Methods { i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- dAtA[i] = 0x7a + case *Request_PrepareProposal: + encoded, err := options.Marshal(x.PrepareProposal) + 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] = 0x1 + i-- + dAtA[i] = 0x82 + case *Request_ProcessProposal: + encoded, err := options.Marshal(x.ProcessProposal) + 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] = 0x1 + i-- + dAtA[i] = 0x8a } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -1491,41 +1564,6 @@ func (x *fastReflection_Request) ProtoMethods() *protoiface.Methods { } x.Value = &Request_Info{v} iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SetOption", 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 - } - v := &RequestSetOption{} - if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - x.Value = &Request_SetOption{v} - iNdEx = postIndex case 5: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InitChain", wireType) @@ -1911,6 +1949,76 @@ func (x *fastReflection_Request) ProtoMethods() *protoiface.Methods { } x.Value = &Request_ApplySnapshotChunk{v} iNdEx = postIndex + case 16: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PrepareProposal", 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 + } + v := &RequestPrepareProposal{} + if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + x.Value = &Request_PrepareProposal{v} + iNdEx = postIndex + case 17: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProcessProposal", 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 + } + v := &RequestProcessProposal{} + if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + x.Value = &Request_ProcessProposal{v} + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -2727,6 +2835,7 @@ var ( fd_RequestInfo_version protoreflect.FieldDescriptor fd_RequestInfo_block_version protoreflect.FieldDescriptor fd_RequestInfo_p2p_version protoreflect.FieldDescriptor + fd_RequestInfo_abci_version protoreflect.FieldDescriptor ) func init() { @@ -2735,6 +2844,7 @@ func init() { fd_RequestInfo_version = md_RequestInfo.Fields().ByName("version") fd_RequestInfo_block_version = md_RequestInfo.Fields().ByName("block_version") fd_RequestInfo_p2p_version = md_RequestInfo.Fields().ByName("p2p_version") + fd_RequestInfo_abci_version = md_RequestInfo.Fields().ByName("abci_version") } var _ protoreflect.Message = (*fastReflection_RequestInfo)(nil) @@ -2820,6 +2930,12 @@ func (x *fastReflection_RequestInfo) Range(f func(protoreflect.FieldDescriptor, return } } + if x.AbciVersion != "" { + value := protoreflect.ValueOfString(x.AbciVersion) + if !f(fd_RequestInfo_abci_version, value) { + return + } + } } // Has reports whether a field is populated. @@ -2841,6 +2957,8 @@ func (x *fastReflection_RequestInfo) Has(fd protoreflect.FieldDescriptor) bool { return x.BlockVersion != uint64(0) case "tendermint.abci.RequestInfo.p2p_version": return x.P2PVersion != uint64(0) + case "tendermint.abci.RequestInfo.abci_version": + return x.AbciVersion != "" default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInfo")) @@ -2863,6 +2981,8 @@ func (x *fastReflection_RequestInfo) Clear(fd protoreflect.FieldDescriptor) { x.BlockVersion = uint64(0) case "tendermint.abci.RequestInfo.p2p_version": x.P2PVersion = uint64(0) + case "tendermint.abci.RequestInfo.abci_version": + x.AbciVersion = "" default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInfo")) @@ -2888,6 +3008,9 @@ func (x *fastReflection_RequestInfo) Get(descriptor protoreflect.FieldDescriptor case "tendermint.abci.RequestInfo.p2p_version": value := x.P2PVersion return protoreflect.ValueOfUint64(value) + case "tendermint.abci.RequestInfo.abci_version": + value := x.AbciVersion + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInfo")) @@ -2914,6 +3037,8 @@ func (x *fastReflection_RequestInfo) Set(fd protoreflect.FieldDescriptor, value x.BlockVersion = value.Uint() case "tendermint.abci.RequestInfo.p2p_version": x.P2PVersion = value.Uint() + case "tendermint.abci.RequestInfo.abci_version": + x.AbciVersion = value.Interface().(string) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInfo")) @@ -2940,6 +3065,8 @@ func (x *fastReflection_RequestInfo) Mutable(fd protoreflect.FieldDescriptor) pr panic(fmt.Errorf("field block_version of message tendermint.abci.RequestInfo is not mutable")) case "tendermint.abci.RequestInfo.p2p_version": panic(fmt.Errorf("field p2p_version of message tendermint.abci.RequestInfo is not mutable")) + case "tendermint.abci.RequestInfo.abci_version": + panic(fmt.Errorf("field abci_version of message tendermint.abci.RequestInfo is not mutable")) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInfo")) @@ -2959,6 +3086,8 @@ func (x *fastReflection_RequestInfo) NewField(fd protoreflect.FieldDescriptor) p return protoreflect.ValueOfUint64(uint64(0)) case "tendermint.abci.RequestInfo.p2p_version": return protoreflect.ValueOfUint64(uint64(0)) + case "tendermint.abci.RequestInfo.abci_version": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInfo")) @@ -3038,6 +3167,10 @@ func (x *fastReflection_RequestInfo) ProtoMethods() *protoiface.Methods { if x.P2PVersion != 0 { n += 1 + runtime.Sov(uint64(x.P2PVersion)) } + l = len(x.AbciVersion) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -3067,6 +3200,13 @@ func (x *fastReflection_RequestInfo) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.AbciVersion) > 0 { + i -= len(x.AbciVersion) + copy(dAtA[i:], x.AbciVersion) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AbciVersion))) + i-- + dAtA[i] = 0x22 + } if x.P2PVersion != 0 { i = runtime.EncodeVarint(dAtA, i, uint64(x.P2PVersion)) i-- @@ -3203,6 +3343,38 @@ func (x *fastReflection_RequestInfo) ProtoMethods() *protoiface.Methods { break } } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AbciVersion", 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.AbciVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -3238,28 +3410,87 @@ func (x *fastReflection_RequestInfo) ProtoMethods() *protoiface.Methods { } } -var ( - md_RequestSetOption protoreflect.MessageDescriptor - fd_RequestSetOption_key protoreflect.FieldDescriptor - fd_RequestSetOption_value protoreflect.FieldDescriptor -) +var _ protoreflect.List = (*_RequestInitChain_4_list)(nil) + +type _RequestInitChain_4_list struct { + list *[]*ValidatorUpdate +} + +func (x *_RequestInitChain_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_RequestInitChain_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_RequestInitChain_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) + (*x.list)[i] = concreteValue +} + +func (x *_RequestInitChain_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) + *x.list = append(*x.list, concreteValue) +} + +func (x *_RequestInitChain_4_list) AppendMutable() protoreflect.Value { + v := new(ValidatorUpdate) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_RequestInitChain_4_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_RequestInitChain_4_list) NewElement() protoreflect.Value { + v := new(ValidatorUpdate) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_RequestInitChain_4_list) IsValid() bool { + return x.list != nil +} + +var ( + md_RequestInitChain protoreflect.MessageDescriptor + fd_RequestInitChain_time protoreflect.FieldDescriptor + fd_RequestInitChain_chain_id protoreflect.FieldDescriptor + fd_RequestInitChain_consensus_params protoreflect.FieldDescriptor + fd_RequestInitChain_validators protoreflect.FieldDescriptor + fd_RequestInitChain_app_state_bytes protoreflect.FieldDescriptor + fd_RequestInitChain_initial_height protoreflect.FieldDescriptor +) func init() { file_tendermint_abci_types_proto_init() - md_RequestSetOption = File_tendermint_abci_types_proto.Messages().ByName("RequestSetOption") - fd_RequestSetOption_key = md_RequestSetOption.Fields().ByName("key") - fd_RequestSetOption_value = md_RequestSetOption.Fields().ByName("value") + md_RequestInitChain = File_tendermint_abci_types_proto.Messages().ByName("RequestInitChain") + fd_RequestInitChain_time = md_RequestInitChain.Fields().ByName("time") + fd_RequestInitChain_chain_id = md_RequestInitChain.Fields().ByName("chain_id") + fd_RequestInitChain_consensus_params = md_RequestInitChain.Fields().ByName("consensus_params") + fd_RequestInitChain_validators = md_RequestInitChain.Fields().ByName("validators") + fd_RequestInitChain_app_state_bytes = md_RequestInitChain.Fields().ByName("app_state_bytes") + fd_RequestInitChain_initial_height = md_RequestInitChain.Fields().ByName("initial_height") } -var _ protoreflect.Message = (*fastReflection_RequestSetOption)(nil) +var _ protoreflect.Message = (*fastReflection_RequestInitChain)(nil) -type fastReflection_RequestSetOption RequestSetOption +type fastReflection_RequestInitChain RequestInitChain -func (x *RequestSetOption) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestSetOption)(x) +func (x *RequestInitChain) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestInitChain)(x) } -func (x *RequestSetOption) slowProtoReflect() protoreflect.Message { +func (x *RequestInitChain) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3271,43 +3502,43 @@ func (x *RequestSetOption) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestSetOption_messageType fastReflection_RequestSetOption_messageType -var _ protoreflect.MessageType = fastReflection_RequestSetOption_messageType{} +var _fastReflection_RequestInitChain_messageType fastReflection_RequestInitChain_messageType +var _ protoreflect.MessageType = fastReflection_RequestInitChain_messageType{} -type fastReflection_RequestSetOption_messageType struct{} +type fastReflection_RequestInitChain_messageType struct{} -func (x fastReflection_RequestSetOption_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestSetOption)(nil) +func (x fastReflection_RequestInitChain_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestInitChain)(nil) } -func (x fastReflection_RequestSetOption_messageType) New() protoreflect.Message { - return new(fastReflection_RequestSetOption) +func (x fastReflection_RequestInitChain_messageType) New() protoreflect.Message { + return new(fastReflection_RequestInitChain) } -func (x fastReflection_RequestSetOption_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestSetOption +func (x fastReflection_RequestInitChain_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestInitChain } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestSetOption) Descriptor() protoreflect.MessageDescriptor { - return md_RequestSetOption +func (x *fastReflection_RequestInitChain) Descriptor() protoreflect.MessageDescriptor { + return md_RequestInitChain } // 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_RequestSetOption) Type() protoreflect.MessageType { - return _fastReflection_RequestSetOption_messageType +func (x *fastReflection_RequestInitChain) Type() protoreflect.MessageType { + return _fastReflection_RequestInitChain_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestSetOption) New() protoreflect.Message { - return new(fastReflection_RequestSetOption) +func (x *fastReflection_RequestInitChain) New() protoreflect.Message { + return new(fastReflection_RequestInitChain) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestSetOption) Interface() protoreflect.ProtoMessage { - return (*RequestSetOption)(x) +func (x *fastReflection_RequestInitChain) Interface() protoreflect.ProtoMessage { + return (*RequestInitChain)(x) } // Range iterates over every populated field in an undefined order, @@ -3315,16 +3546,40 @@ func (x *fastReflection_RequestSetOption) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestSetOption) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Key != "" { - value := protoreflect.ValueOfString(x.Key) - if !f(fd_RequestSetOption_key, value) { +func (x *fastReflection_RequestInitChain) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Time != nil { + value := protoreflect.ValueOfMessage(x.Time.ProtoReflect()) + if !f(fd_RequestInitChain_time, value) { return } } - if x.Value != "" { - value := protoreflect.ValueOfString(x.Value) - if !f(fd_RequestSetOption_value, value) { + if x.ChainId != "" { + value := protoreflect.ValueOfString(x.ChainId) + if !f(fd_RequestInitChain_chain_id, value) { + return + } + } + if x.ConsensusParams != nil { + value := protoreflect.ValueOfMessage(x.ConsensusParams.ProtoReflect()) + if !f(fd_RequestInitChain_consensus_params, value) { + return + } + } + if len(x.Validators) != 0 { + value := protoreflect.ValueOfList(&_RequestInitChain_4_list{list: &x.Validators}) + if !f(fd_RequestInitChain_validators, value) { + return + } + } + if len(x.AppStateBytes) != 0 { + value := protoreflect.ValueOfBytes(x.AppStateBytes) + if !f(fd_RequestInitChain_app_state_bytes, value) { + return + } + } + if x.InitialHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.InitialHeight) + if !f(fd_RequestInitChain_initial_height, value) { return } } @@ -3341,17 +3596,25 @@ func (x *fastReflection_RequestSetOption) Range(f func(protoreflect.FieldDescrip // 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_RequestSetOption) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestInitChain) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.RequestSetOption.key": - return x.Key != "" - case "tendermint.abci.RequestSetOption.value": - return x.Value != "" + case "tendermint.abci.RequestInitChain.time": + return x.Time != nil + case "tendermint.abci.RequestInitChain.chain_id": + return x.ChainId != "" + case "tendermint.abci.RequestInitChain.consensus_params": + return x.ConsensusParams != nil + case "tendermint.abci.RequestInitChain.validators": + return len(x.Validators) != 0 + case "tendermint.abci.RequestInitChain.app_state_bytes": + return len(x.AppStateBytes) != 0 + case "tendermint.abci.RequestInitChain.initial_height": + return x.InitialHeight != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) } - panic(fmt.Errorf("message tendermint.abci.RequestSetOption does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestInitChain does not contain field %s", fd.FullName())) } } @@ -3361,17 +3624,25 @@ func (x *fastReflection_RequestSetOption) Has(fd protoreflect.FieldDescriptor) b // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestSetOption) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestInitChain) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.RequestSetOption.key": - x.Key = "" - case "tendermint.abci.RequestSetOption.value": - x.Value = "" + case "tendermint.abci.RequestInitChain.time": + x.Time = nil + case "tendermint.abci.RequestInitChain.chain_id": + x.ChainId = "" + case "tendermint.abci.RequestInitChain.consensus_params": + x.ConsensusParams = nil + case "tendermint.abci.RequestInitChain.validators": + x.Validators = nil + case "tendermint.abci.RequestInitChain.app_state_bytes": + x.AppStateBytes = nil + case "tendermint.abci.RequestInitChain.initial_height": + x.InitialHeight = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) } - panic(fmt.Errorf("message tendermint.abci.RequestSetOption does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestInitChain does not contain field %s", fd.FullName())) } } @@ -3381,19 +3652,34 @@ func (x *fastReflection_RequestSetOption) Clear(fd protoreflect.FieldDescriptor) // 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_RequestSetOption) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestInitChain) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.RequestSetOption.key": - value := x.Key - return protoreflect.ValueOfString(value) - case "tendermint.abci.RequestSetOption.value": - value := x.Value + case "tendermint.abci.RequestInitChain.time": + value := x.Time + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.RequestInitChain.chain_id": + value := x.ChainId return protoreflect.ValueOfString(value) + case "tendermint.abci.RequestInitChain.consensus_params": + value := x.ConsensusParams + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.RequestInitChain.validators": + if len(x.Validators) == 0 { + return protoreflect.ValueOfList(&_RequestInitChain_4_list{}) + } + listValue := &_RequestInitChain_4_list{list: &x.Validators} + return protoreflect.ValueOfList(listValue) + case "tendermint.abci.RequestInitChain.app_state_bytes": + value := x.AppStateBytes + return protoreflect.ValueOfBytes(value) + case "tendermint.abci.RequestInitChain.initial_height": + value := x.InitialHeight + return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) } - panic(fmt.Errorf("message tendermint.abci.RequestSetOption does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestInitChain does not contain field %s", descriptor.FullName())) } } @@ -3407,17 +3693,27 @@ func (x *fastReflection_RequestSetOption) Get(descriptor protoreflect.FieldDescr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestSetOption) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestInitChain) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.RequestSetOption.key": - x.Key = value.Interface().(string) - case "tendermint.abci.RequestSetOption.value": - x.Value = value.Interface().(string) + case "tendermint.abci.RequestInitChain.time": + x.Time = value.Message().Interface().(*timestamppb.Timestamp) + case "tendermint.abci.RequestInitChain.chain_id": + x.ChainId = value.Interface().(string) + case "tendermint.abci.RequestInitChain.consensus_params": + x.ConsensusParams = value.Message().Interface().(*types.ConsensusParams) + case "tendermint.abci.RequestInitChain.validators": + lv := value.List() + clv := lv.(*_RequestInitChain_4_list) + x.Validators = *clv.list + case "tendermint.abci.RequestInitChain.app_state_bytes": + x.AppStateBytes = value.Bytes() + case "tendermint.abci.RequestInitChain.initial_height": + x.InitialHeight = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) } - panic(fmt.Errorf("message tendermint.abci.RequestSetOption does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestInitChain does not contain field %s", fd.FullName())) } } @@ -3431,44 +3727,73 @@ func (x *fastReflection_RequestSetOption) Set(fd protoreflect.FieldDescriptor, v // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestSetOption) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestInitChain) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestSetOption.key": - panic(fmt.Errorf("field key of message tendermint.abci.RequestSetOption is not mutable")) - case "tendermint.abci.RequestSetOption.value": - panic(fmt.Errorf("field value of message tendermint.abci.RequestSetOption is not mutable")) + case "tendermint.abci.RequestInitChain.time": + if x.Time == nil { + x.Time = new(timestamppb.Timestamp) + } + return protoreflect.ValueOfMessage(x.Time.ProtoReflect()) + case "tendermint.abci.RequestInitChain.consensus_params": + if x.ConsensusParams == nil { + x.ConsensusParams = new(types.ConsensusParams) + } + return protoreflect.ValueOfMessage(x.ConsensusParams.ProtoReflect()) + case "tendermint.abci.RequestInitChain.validators": + if x.Validators == nil { + x.Validators = []*ValidatorUpdate{} + } + value := &_RequestInitChain_4_list{list: &x.Validators} + return protoreflect.ValueOfList(value) + case "tendermint.abci.RequestInitChain.chain_id": + panic(fmt.Errorf("field chain_id of message tendermint.abci.RequestInitChain is not mutable")) + case "tendermint.abci.RequestInitChain.app_state_bytes": + panic(fmt.Errorf("field app_state_bytes of message tendermint.abci.RequestInitChain is not mutable")) + case "tendermint.abci.RequestInitChain.initial_height": + panic(fmt.Errorf("field initial_height of message tendermint.abci.RequestInitChain is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) } - panic(fmt.Errorf("message tendermint.abci.RequestSetOption does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestInitChain 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_RequestSetOption) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestInitChain) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestSetOption.key": - return protoreflect.ValueOfString("") - case "tendermint.abci.RequestSetOption.value": + case "tendermint.abci.RequestInitChain.time": + m := new(timestamppb.Timestamp) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.RequestInitChain.chain_id": return protoreflect.ValueOfString("") + case "tendermint.abci.RequestInitChain.consensus_params": + m := new(types.ConsensusParams) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.RequestInitChain.validators": + list := []*ValidatorUpdate{} + return protoreflect.ValueOfList(&_RequestInitChain_4_list{list: &list}) + case "tendermint.abci.RequestInitChain.app_state_bytes": + return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.RequestInitChain.initial_height": + return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) } - panic(fmt.Errorf("message tendermint.abci.RequestSetOption does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestInitChain 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_RequestSetOption) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestInitChain) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestSetOption", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestInitChain", d.FullName())) } panic("unreachable") } @@ -3476,7 +3801,7 @@ func (x *fastReflection_RequestSetOption) WhichOneof(d protoreflect.OneofDescrip // 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_RequestSetOption) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestInitChain) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -3487,7 +3812,7 @@ func (x *fastReflection_RequestSetOption) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestSetOption) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestInitChain) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -3499,7 +3824,7 @@ func (x *fastReflection_RequestSetOption) SetUnknown(fields protoreflect.RawFiel // 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_RequestSetOption) IsValid() bool { +func (x *fastReflection_RequestInitChain) IsValid() bool { return x != nil } @@ -3509,9 +3834,9 @@ func (x *fastReflection_RequestSetOption) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestSetOption) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestSetOption) + x := input.Message.Interface().(*RequestInitChain) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3523,15 +3848,32 @@ func (x *fastReflection_RequestSetOption) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Key) - if l > 0 { + if x.Time != nil { + l = options.Size(x.Time) n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Value) + l = len(x.ChainId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.unknownFields != nil { + if x.ConsensusParams != nil { + l = options.Size(x.ConsensusParams) + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Validators) > 0 { + for _, e := range x.Validators { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.AppStateBytes) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.InitialHeight != 0 { + n += 1 + runtime.Sov(uint64(x.InitialHeight)) + } + if x.unknownFields != nil { n += len(x.unknownFields) } return protoiface.SizeOutput{ @@ -3541,7 +3883,7 @@ func (x *fastReflection_RequestSetOption) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestSetOption) + x := input.Message.Interface().(*RequestInitChain) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3560,17 +3902,66 @@ func (x *fastReflection_RequestSetOption) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Value) > 0 { - i -= len(x.Value) - copy(dAtA[i:], x.Value) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + if x.InitialHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.InitialHeight)) + i-- + dAtA[i] = 0x30 + } + if len(x.AppStateBytes) > 0 { + i -= len(x.AppStateBytes) + copy(dAtA[i:], x.AppStateBytes) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AppStateBytes))) + i-- + dAtA[i] = 0x2a + } + if len(x.Validators) > 0 { + for iNdEx := len(x.Validators) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Validators[iNdEx]) + 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] = 0x22 + } + } + if x.ConsensusParams != nil { + encoded, err := options.Marshal(x.ConsensusParams) + 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] = 0x1a + } + if len(x.ChainId) > 0 { + i -= len(x.ChainId) + copy(dAtA[i:], x.ChainId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ChainId))) i-- dAtA[i] = 0x12 } - if len(x.Key) > 0 { - i -= len(x.Key) - copy(dAtA[i:], x.Key) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Key))) + if x.Time != nil { + encoded, err := options.Marshal(x.Time) + 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] = 0xa } @@ -3585,7 +3976,7 @@ func (x *fastReflection_RequestSetOption) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestSetOption) + x := input.Message.Interface().(*RequestInitChain) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3617,17 +4008,17 @@ func (x *fastReflection_RequestSetOption) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestSetOption: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestInitChain: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestSetOption: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestInitChain: 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 Key", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Time", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -3637,27 +4028,31 @@ func (x *fastReflection_RequestSetOption) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Key = string(dAtA[iNdEx:postIndex]) + if x.Time == nil { + x.Time = ×tamppb.Timestamp{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Time); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3685,8 +4080,131 @@ func (x *fastReflection_RequestSetOption) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Value = string(dAtA[iNdEx:postIndex]) + x.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConsensusParams", 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.ConsensusParams == nil { + x.ConsensusParams = &types.ConsensusParams{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ConsensusParams); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Validators", 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 + } + x.Validators = append(x.Validators, &ValidatorUpdate{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Validators[len(x.Validators)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AppStateBytes", 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.AppStateBytes = append(x.AppStateBytes[:0], dAtA[iNdEx:postIndex]...) + if x.AppStateBytes == nil { + x.AppStateBytes = []byte{} + } iNdEx = postIndex + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InitialHeight", wireType) + } + x.InitialHeight = 0 + 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++ + x.InitialHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -3722,87 +4240,32 @@ func (x *fastReflection_RequestSetOption) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_RequestInitChain_4_list)(nil) +var ( + md_RequestQuery protoreflect.MessageDescriptor + fd_RequestQuery_data protoreflect.FieldDescriptor + fd_RequestQuery_path protoreflect.FieldDescriptor + fd_RequestQuery_height protoreflect.FieldDescriptor + fd_RequestQuery_prove protoreflect.FieldDescriptor +) -type _RequestInitChain_4_list struct { - list *[]*ValidatorUpdate +func init() { + file_tendermint_abci_types_proto_init() + md_RequestQuery = File_tendermint_abci_types_proto.Messages().ByName("RequestQuery") + fd_RequestQuery_data = md_RequestQuery.Fields().ByName("data") + fd_RequestQuery_path = md_RequestQuery.Fields().ByName("path") + fd_RequestQuery_height = md_RequestQuery.Fields().ByName("height") + fd_RequestQuery_prove = md_RequestQuery.Fields().ByName("prove") } -func (x *_RequestInitChain_4_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} +var _ protoreflect.Message = (*fastReflection_RequestQuery)(nil) -func (x *_RequestInitChain_4_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_RequestInitChain_4_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) - (*x.list)[i] = concreteValue -} - -func (x *_RequestInitChain_4_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) - *x.list = append(*x.list, concreteValue) -} - -func (x *_RequestInitChain_4_list) AppendMutable() protoreflect.Value { - v := new(ValidatorUpdate) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_RequestInitChain_4_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_RequestInitChain_4_list) NewElement() protoreflect.Value { - v := new(ValidatorUpdate) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_RequestInitChain_4_list) IsValid() bool { - return x.list != nil -} - -var ( - md_RequestInitChain protoreflect.MessageDescriptor - fd_RequestInitChain_time protoreflect.FieldDescriptor - fd_RequestInitChain_chain_id protoreflect.FieldDescriptor - fd_RequestInitChain_consensus_params protoreflect.FieldDescriptor - fd_RequestInitChain_validators protoreflect.FieldDescriptor - fd_RequestInitChain_app_state_bytes protoreflect.FieldDescriptor - fd_RequestInitChain_initial_height protoreflect.FieldDescriptor -) - -func init() { - file_tendermint_abci_types_proto_init() - md_RequestInitChain = File_tendermint_abci_types_proto.Messages().ByName("RequestInitChain") - fd_RequestInitChain_time = md_RequestInitChain.Fields().ByName("time") - fd_RequestInitChain_chain_id = md_RequestInitChain.Fields().ByName("chain_id") - fd_RequestInitChain_consensus_params = md_RequestInitChain.Fields().ByName("consensus_params") - fd_RequestInitChain_validators = md_RequestInitChain.Fields().ByName("validators") - fd_RequestInitChain_app_state_bytes = md_RequestInitChain.Fields().ByName("app_state_bytes") - fd_RequestInitChain_initial_height = md_RequestInitChain.Fields().ByName("initial_height") -} - -var _ protoreflect.Message = (*fastReflection_RequestInitChain)(nil) - -type fastReflection_RequestInitChain RequestInitChain +type fastReflection_RequestQuery RequestQuery -func (x *RequestInitChain) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestInitChain)(x) +func (x *RequestQuery) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestQuery)(x) } -func (x *RequestInitChain) slowProtoReflect() protoreflect.Message { +func (x *RequestQuery) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3814,43 +4277,43 @@ func (x *RequestInitChain) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestInitChain_messageType fastReflection_RequestInitChain_messageType -var _ protoreflect.MessageType = fastReflection_RequestInitChain_messageType{} +var _fastReflection_RequestQuery_messageType fastReflection_RequestQuery_messageType +var _ protoreflect.MessageType = fastReflection_RequestQuery_messageType{} -type fastReflection_RequestInitChain_messageType struct{} +type fastReflection_RequestQuery_messageType struct{} -func (x fastReflection_RequestInitChain_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestInitChain)(nil) +func (x fastReflection_RequestQuery_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestQuery)(nil) } -func (x fastReflection_RequestInitChain_messageType) New() protoreflect.Message { - return new(fastReflection_RequestInitChain) +func (x fastReflection_RequestQuery_messageType) New() protoreflect.Message { + return new(fastReflection_RequestQuery) } -func (x fastReflection_RequestInitChain_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestInitChain +func (x fastReflection_RequestQuery_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestQuery } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestInitChain) Descriptor() protoreflect.MessageDescriptor { - return md_RequestInitChain +func (x *fastReflection_RequestQuery) Descriptor() protoreflect.MessageDescriptor { + return md_RequestQuery } // 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_RequestInitChain) Type() protoreflect.MessageType { - return _fastReflection_RequestInitChain_messageType +func (x *fastReflection_RequestQuery) Type() protoreflect.MessageType { + return _fastReflection_RequestQuery_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestInitChain) New() protoreflect.Message { - return new(fastReflection_RequestInitChain) +func (x *fastReflection_RequestQuery) New() protoreflect.Message { + return new(fastReflection_RequestQuery) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestInitChain) Interface() protoreflect.ProtoMessage { - return (*RequestInitChain)(x) +func (x *fastReflection_RequestQuery) Interface() protoreflect.ProtoMessage { + return (*RequestQuery)(x) } // Range iterates over every populated field in an undefined order, @@ -3858,40 +4321,28 @@ func (x *fastReflection_RequestInitChain) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestInitChain) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Time != nil { - value := protoreflect.ValueOfMessage(x.Time.ProtoReflect()) - if !f(fd_RequestInitChain_time, value) { - return - } - } - if x.ChainId != "" { - value := protoreflect.ValueOfString(x.ChainId) - if !f(fd_RequestInitChain_chain_id, value) { - return - } - } - if x.ConsensusParams != nil { - value := protoreflect.ValueOfMessage(x.ConsensusParams.ProtoReflect()) - if !f(fd_RequestInitChain_consensus_params, value) { +func (x *fastReflection_RequestQuery) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Data) != 0 { + value := protoreflect.ValueOfBytes(x.Data) + if !f(fd_RequestQuery_data, value) { return } } - if len(x.Validators) != 0 { - value := protoreflect.ValueOfList(&_RequestInitChain_4_list{list: &x.Validators}) - if !f(fd_RequestInitChain_validators, value) { + if x.Path != "" { + value := protoreflect.ValueOfString(x.Path) + if !f(fd_RequestQuery_path, value) { return } } - if len(x.AppStateBytes) != 0 { - value := protoreflect.ValueOfBytes(x.AppStateBytes) - if !f(fd_RequestInitChain_app_state_bytes, value) { + if x.Height != int64(0) { + value := protoreflect.ValueOfInt64(x.Height) + if !f(fd_RequestQuery_height, value) { return } } - if x.InitialHeight != int64(0) { - value := protoreflect.ValueOfInt64(x.InitialHeight) - if !f(fd_RequestInitChain_initial_height, value) { + if x.Prove != false { + value := protoreflect.ValueOfBool(x.Prove) + if !f(fd_RequestQuery_prove, value) { return } } @@ -3908,25 +4359,21 @@ func (x *fastReflection_RequestInitChain) Range(f func(protoreflect.FieldDescrip // 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_RequestInitChain) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestQuery) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.RequestInitChain.time": - return x.Time != nil - case "tendermint.abci.RequestInitChain.chain_id": - return x.ChainId != "" - case "tendermint.abci.RequestInitChain.consensus_params": - return x.ConsensusParams != nil - case "tendermint.abci.RequestInitChain.validators": - return len(x.Validators) != 0 - case "tendermint.abci.RequestInitChain.app_state_bytes": - return len(x.AppStateBytes) != 0 - case "tendermint.abci.RequestInitChain.initial_height": - return x.InitialHeight != int64(0) + case "tendermint.abci.RequestQuery.data": + return len(x.Data) != 0 + case "tendermint.abci.RequestQuery.path": + return x.Path != "" + case "tendermint.abci.RequestQuery.height": + return x.Height != int64(0) + case "tendermint.abci.RequestQuery.prove": + return x.Prove != false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) } - panic(fmt.Errorf("message tendermint.abci.RequestInitChain does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestQuery does not contain field %s", fd.FullName())) } } @@ -3936,25 +4383,21 @@ func (x *fastReflection_RequestInitChain) Has(fd protoreflect.FieldDescriptor) b // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestInitChain) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestQuery) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.RequestInitChain.time": - x.Time = nil - case "tendermint.abci.RequestInitChain.chain_id": - x.ChainId = "" - case "tendermint.abci.RequestInitChain.consensus_params": - x.ConsensusParams = nil - case "tendermint.abci.RequestInitChain.validators": - x.Validators = nil - case "tendermint.abci.RequestInitChain.app_state_bytes": - x.AppStateBytes = nil - case "tendermint.abci.RequestInitChain.initial_height": - x.InitialHeight = int64(0) + case "tendermint.abci.RequestQuery.data": + x.Data = nil + case "tendermint.abci.RequestQuery.path": + x.Path = "" + case "tendermint.abci.RequestQuery.height": + x.Height = int64(0) + case "tendermint.abci.RequestQuery.prove": + x.Prove = false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) } - panic(fmt.Errorf("message tendermint.abci.RequestInitChain does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestQuery does not contain field %s", fd.FullName())) } } @@ -3964,34 +4407,25 @@ func (x *fastReflection_RequestInitChain) Clear(fd protoreflect.FieldDescriptor) // 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_RequestInitChain) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestQuery) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.RequestInitChain.time": - value := x.Time - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.RequestInitChain.chain_id": - value := x.ChainId - return protoreflect.ValueOfString(value) - case "tendermint.abci.RequestInitChain.consensus_params": - value := x.ConsensusParams - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.RequestInitChain.validators": - if len(x.Validators) == 0 { - return protoreflect.ValueOfList(&_RequestInitChain_4_list{}) - } - listValue := &_RequestInitChain_4_list{list: &x.Validators} - return protoreflect.ValueOfList(listValue) - case "tendermint.abci.RequestInitChain.app_state_bytes": - value := x.AppStateBytes + case "tendermint.abci.RequestQuery.data": + value := x.Data return protoreflect.ValueOfBytes(value) - case "tendermint.abci.RequestInitChain.initial_height": - value := x.InitialHeight + case "tendermint.abci.RequestQuery.path": + value := x.Path + return protoreflect.ValueOfString(value) + case "tendermint.abci.RequestQuery.height": + value := x.Height return protoreflect.ValueOfInt64(value) + case "tendermint.abci.RequestQuery.prove": + value := x.Prove + return protoreflect.ValueOfBool(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) } - panic(fmt.Errorf("message tendermint.abci.RequestInitChain does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestQuery does not contain field %s", descriptor.FullName())) } } @@ -4005,27 +4439,21 @@ func (x *fastReflection_RequestInitChain) Get(descriptor protoreflect.FieldDescr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestInitChain) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestQuery) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.RequestInitChain.time": - x.Time = value.Message().Interface().(*timestamppb.Timestamp) - case "tendermint.abci.RequestInitChain.chain_id": - x.ChainId = value.Interface().(string) - case "tendermint.abci.RequestInitChain.consensus_params": - x.ConsensusParams = value.Message().Interface().(*ConsensusParams) - case "tendermint.abci.RequestInitChain.validators": - lv := value.List() - clv := lv.(*_RequestInitChain_4_list) - x.Validators = *clv.list - case "tendermint.abci.RequestInitChain.app_state_bytes": - x.AppStateBytes = value.Bytes() - case "tendermint.abci.RequestInitChain.initial_height": - x.InitialHeight = value.Int() + case "tendermint.abci.RequestQuery.data": + x.Data = value.Bytes() + case "tendermint.abci.RequestQuery.path": + x.Path = value.Interface().(string) + case "tendermint.abci.RequestQuery.height": + x.Height = value.Int() + case "tendermint.abci.RequestQuery.prove": + x.Prove = value.Bool() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) } - panic(fmt.Errorf("message tendermint.abci.RequestInitChain does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestQuery does not contain field %s", fd.FullName())) } } @@ -4039,73 +4467,52 @@ func (x *fastReflection_RequestInitChain) Set(fd protoreflect.FieldDescriptor, v // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestInitChain) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestQuery) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestInitChain.time": - if x.Time == nil { - x.Time = new(timestamppb.Timestamp) - } - return protoreflect.ValueOfMessage(x.Time.ProtoReflect()) - case "tendermint.abci.RequestInitChain.consensus_params": - if x.ConsensusParams == nil { - x.ConsensusParams = new(ConsensusParams) - } - return protoreflect.ValueOfMessage(x.ConsensusParams.ProtoReflect()) - case "tendermint.abci.RequestInitChain.validators": - if x.Validators == nil { - x.Validators = []*ValidatorUpdate{} - } - value := &_RequestInitChain_4_list{list: &x.Validators} - return protoreflect.ValueOfList(value) - case "tendermint.abci.RequestInitChain.chain_id": - panic(fmt.Errorf("field chain_id of message tendermint.abci.RequestInitChain is not mutable")) - case "tendermint.abci.RequestInitChain.app_state_bytes": - panic(fmt.Errorf("field app_state_bytes of message tendermint.abci.RequestInitChain is not mutable")) - case "tendermint.abci.RequestInitChain.initial_height": - panic(fmt.Errorf("field initial_height of message tendermint.abci.RequestInitChain is not mutable")) + case "tendermint.abci.RequestQuery.data": + panic(fmt.Errorf("field data of message tendermint.abci.RequestQuery is not mutable")) + case "tendermint.abci.RequestQuery.path": + panic(fmt.Errorf("field path of message tendermint.abci.RequestQuery is not mutable")) + case "tendermint.abci.RequestQuery.height": + panic(fmt.Errorf("field height of message tendermint.abci.RequestQuery is not mutable")) + case "tendermint.abci.RequestQuery.prove": + panic(fmt.Errorf("field prove of message tendermint.abci.RequestQuery is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) } - panic(fmt.Errorf("message tendermint.abci.RequestInitChain does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestQuery 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_RequestInitChain) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestQuery) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestInitChain.time": - m := new(timestamppb.Timestamp) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.RequestInitChain.chain_id": - return protoreflect.ValueOfString("") - case "tendermint.abci.RequestInitChain.consensus_params": - m := new(ConsensusParams) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.RequestInitChain.validators": - list := []*ValidatorUpdate{} - return protoreflect.ValueOfList(&_RequestInitChain_4_list{list: &list}) - case "tendermint.abci.RequestInitChain.app_state_bytes": + case "tendermint.abci.RequestQuery.data": return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.RequestInitChain.initial_height": + case "tendermint.abci.RequestQuery.path": + return protoreflect.ValueOfString("") + case "tendermint.abci.RequestQuery.height": return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.RequestQuery.prove": + return protoreflect.ValueOfBool(false) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) } - panic(fmt.Errorf("message tendermint.abci.RequestInitChain does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestQuery 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_RequestInitChain) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestQuery) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestInitChain", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestQuery", d.FullName())) } panic("unreachable") } @@ -4113,7 +4520,7 @@ func (x *fastReflection_RequestInitChain) WhichOneof(d protoreflect.OneofDescrip // 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_RequestInitChain) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestQuery) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4124,7 +4531,7 @@ func (x *fastReflection_RequestInitChain) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestInitChain) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestQuery) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4136,7 +4543,7 @@ func (x *fastReflection_RequestInitChain) SetUnknown(fields protoreflect.RawFiel // 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_RequestInitChain) IsValid() bool { +func (x *fastReflection_RequestQuery) IsValid() bool { return x != nil } @@ -4146,9 +4553,9 @@ func (x *fastReflection_RequestInitChain) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestInitChain) + x := input.Message.Interface().(*RequestQuery) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4160,30 +4567,19 @@ func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Time != nil { - l = options.Size(x.Time) - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.ChainId) + l = len(x.Data) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.ConsensusParams != nil { - l = options.Size(x.ConsensusParams) - n += 1 + l + runtime.Sov(uint64(l)) - } - if len(x.Validators) > 0 { - for _, e := range x.Validators { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - l = len(x.AppStateBytes) + l = len(x.Path) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.InitialHeight != 0 { - n += 1 + runtime.Sov(uint64(x.InitialHeight)) + if x.Height != 0 { + n += 1 + runtime.Sov(uint64(x.Height)) + } + if x.Prove { + n += 2 } if x.unknownFields != nil { n += len(x.unknownFields) @@ -4195,7 +4591,7 @@ func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestInitChain) + x := input.Message.Interface().(*RequestQuery) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4214,66 +4610,32 @@ func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.InitialHeight != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.InitialHeight)) - i-- - dAtA[i] = 0x30 - } - if len(x.AppStateBytes) > 0 { - i -= len(x.AppStateBytes) - copy(dAtA[i:], x.AppStateBytes) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AppStateBytes))) + if x.Prove { i-- - dAtA[i] = 0x2a - } - if len(x.Validators) > 0 { - for iNdEx := len(x.Validators) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Validators[iNdEx]) - 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] = 0x22 + if x.Prove { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x20 } - if x.ConsensusParams != nil { - encoded, err := options.Marshal(x.ConsensusParams) - 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))) + if x.Height != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(x.ChainId) > 0 { - i -= len(x.ChainId) - copy(dAtA[i:], x.ChainId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ChainId))) + if len(x.Path) > 0 { + i -= len(x.Path) + copy(dAtA[i:], x.Path) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Path))) i-- dAtA[i] = 0x12 } - if x.Time != nil { - encoded, err := options.Marshal(x.Time) - 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))) + if len(x.Data) > 0 { + i -= len(x.Data) + copy(dAtA[i:], x.Data) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) i-- dAtA[i] = 0xa } @@ -4288,7 +4650,7 @@ func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestInitChain) + x := input.Message.Interface().(*RequestQuery) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4320,17 +4682,17 @@ func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestInitChain: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestQuery: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestInitChain: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestQuery: 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 Time", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -4340,31 +4702,29 @@ func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Time == nil { - x.Time = ×tamppb.Timestamp{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Time); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + x.Data = append(x.Data[:0], dAtA[iNdEx:postIndex]...) + if x.Data == nil { + x.Data = []byte{} } iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4392,13 +4752,13 @@ func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.ChainId = string(dAtA[iNdEx:postIndex]) + x.Path = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConsensusParams", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) } - var msglen int + x.Height = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -4408,33 +4768,16 @@ func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + x.Height |= int64(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.ConsensusParams == nil { - x.ConsensusParams = &ConsensusParams{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ConsensusParams); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Validators", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Prove", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -4444,93 +4787,26 @@ func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + x.Prove = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Validators = append(x.Validators, &ValidatorUpdate{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Validators[len(x.Validators)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AppStateBytes", 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.AppStateBytes = append(x.AppStateBytes[:0], dAtA[iNdEx:postIndex]...) - if x.AppStateBytes == nil { - x.AppStateBytes = []byte{} - } - iNdEx = postIndex - case 6: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InitialHeight", wireType) - } - x.InitialHeight = 0 - 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++ - x.InitialHeight |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - 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]...) + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) } iNdEx += skippy } @@ -4552,32 +4828,83 @@ func (x *fastReflection_RequestInitChain) ProtoMethods() *protoiface.Methods { } } +var _ protoreflect.List = (*_RequestBeginBlock_4_list)(nil) + +type _RequestBeginBlock_4_list struct { + list *[]*Misbehavior +} + +func (x *_RequestBeginBlock_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_RequestBeginBlock_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_RequestBeginBlock_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Misbehavior) + (*x.list)[i] = concreteValue +} + +func (x *_RequestBeginBlock_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Misbehavior) + *x.list = append(*x.list, concreteValue) +} + +func (x *_RequestBeginBlock_4_list) AppendMutable() protoreflect.Value { + v := new(Misbehavior) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_RequestBeginBlock_4_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_RequestBeginBlock_4_list) NewElement() protoreflect.Value { + v := new(Misbehavior) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_RequestBeginBlock_4_list) IsValid() bool { + return x.list != nil +} + var ( - md_RequestQuery protoreflect.MessageDescriptor - fd_RequestQuery_data protoreflect.FieldDescriptor - fd_RequestQuery_path protoreflect.FieldDescriptor - fd_RequestQuery_height protoreflect.FieldDescriptor - fd_RequestQuery_prove protoreflect.FieldDescriptor + md_RequestBeginBlock protoreflect.MessageDescriptor + fd_RequestBeginBlock_hash protoreflect.FieldDescriptor + fd_RequestBeginBlock_header protoreflect.FieldDescriptor + fd_RequestBeginBlock_last_commit_info protoreflect.FieldDescriptor + fd_RequestBeginBlock_byzantine_validators protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_RequestQuery = File_tendermint_abci_types_proto.Messages().ByName("RequestQuery") - fd_RequestQuery_data = md_RequestQuery.Fields().ByName("data") - fd_RequestQuery_path = md_RequestQuery.Fields().ByName("path") - fd_RequestQuery_height = md_RequestQuery.Fields().ByName("height") - fd_RequestQuery_prove = md_RequestQuery.Fields().ByName("prove") + md_RequestBeginBlock = File_tendermint_abci_types_proto.Messages().ByName("RequestBeginBlock") + fd_RequestBeginBlock_hash = md_RequestBeginBlock.Fields().ByName("hash") + fd_RequestBeginBlock_header = md_RequestBeginBlock.Fields().ByName("header") + fd_RequestBeginBlock_last_commit_info = md_RequestBeginBlock.Fields().ByName("last_commit_info") + fd_RequestBeginBlock_byzantine_validators = md_RequestBeginBlock.Fields().ByName("byzantine_validators") } -var _ protoreflect.Message = (*fastReflection_RequestQuery)(nil) +var _ protoreflect.Message = (*fastReflection_RequestBeginBlock)(nil) -type fastReflection_RequestQuery RequestQuery +type fastReflection_RequestBeginBlock RequestBeginBlock -func (x *RequestQuery) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestQuery)(x) +func (x *RequestBeginBlock) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestBeginBlock)(x) } -func (x *RequestQuery) slowProtoReflect() protoreflect.Message { +func (x *RequestBeginBlock) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4589,43 +4916,43 @@ func (x *RequestQuery) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestQuery_messageType fastReflection_RequestQuery_messageType -var _ protoreflect.MessageType = fastReflection_RequestQuery_messageType{} +var _fastReflection_RequestBeginBlock_messageType fastReflection_RequestBeginBlock_messageType +var _ protoreflect.MessageType = fastReflection_RequestBeginBlock_messageType{} -type fastReflection_RequestQuery_messageType struct{} +type fastReflection_RequestBeginBlock_messageType struct{} -func (x fastReflection_RequestQuery_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestQuery)(nil) +func (x fastReflection_RequestBeginBlock_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestBeginBlock)(nil) } -func (x fastReflection_RequestQuery_messageType) New() protoreflect.Message { - return new(fastReflection_RequestQuery) +func (x fastReflection_RequestBeginBlock_messageType) New() protoreflect.Message { + return new(fastReflection_RequestBeginBlock) } -func (x fastReflection_RequestQuery_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestQuery +func (x fastReflection_RequestBeginBlock_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestBeginBlock } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestQuery) Descriptor() protoreflect.MessageDescriptor { - return md_RequestQuery +func (x *fastReflection_RequestBeginBlock) Descriptor() protoreflect.MessageDescriptor { + return md_RequestBeginBlock } // 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_RequestQuery) Type() protoreflect.MessageType { - return _fastReflection_RequestQuery_messageType +func (x *fastReflection_RequestBeginBlock) Type() protoreflect.MessageType { + return _fastReflection_RequestBeginBlock_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestQuery) New() protoreflect.Message { - return new(fastReflection_RequestQuery) +func (x *fastReflection_RequestBeginBlock) New() protoreflect.Message { + return new(fastReflection_RequestBeginBlock) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestQuery) Interface() protoreflect.ProtoMessage { - return (*RequestQuery)(x) +func (x *fastReflection_RequestBeginBlock) Interface() protoreflect.ProtoMessage { + return (*RequestBeginBlock)(x) } // Range iterates over every populated field in an undefined order, @@ -4633,28 +4960,28 @@ func (x *fastReflection_RequestQuery) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestQuery) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Data) != 0 { - value := protoreflect.ValueOfBytes(x.Data) - if !f(fd_RequestQuery_data, value) { +func (x *fastReflection_RequestBeginBlock) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Hash) != 0 { + value := protoreflect.ValueOfBytes(x.Hash) + if !f(fd_RequestBeginBlock_hash, value) { return } } - if x.Path != "" { - value := protoreflect.ValueOfString(x.Path) - if !f(fd_RequestQuery_path, value) { + if x.Header != nil { + value := protoreflect.ValueOfMessage(x.Header.ProtoReflect()) + if !f(fd_RequestBeginBlock_header, value) { return } } - if x.Height != int64(0) { - value := protoreflect.ValueOfInt64(x.Height) - if !f(fd_RequestQuery_height, value) { + if x.LastCommitInfo != nil { + value := protoreflect.ValueOfMessage(x.LastCommitInfo.ProtoReflect()) + if !f(fd_RequestBeginBlock_last_commit_info, value) { return } } - if x.Prove != false { - value := protoreflect.ValueOfBool(x.Prove) - if !f(fd_RequestQuery_prove, value) { + if len(x.ByzantineValidators) != 0 { + value := protoreflect.ValueOfList(&_RequestBeginBlock_4_list{list: &x.ByzantineValidators}) + if !f(fd_RequestBeginBlock_byzantine_validators, value) { return } } @@ -4671,21 +4998,21 @@ func (x *fastReflection_RequestQuery) Range(f func(protoreflect.FieldDescriptor, // 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_RequestQuery) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestBeginBlock) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.RequestQuery.data": - return len(x.Data) != 0 - case "tendermint.abci.RequestQuery.path": - return x.Path != "" - case "tendermint.abci.RequestQuery.height": - return x.Height != int64(0) - case "tendermint.abci.RequestQuery.prove": - return x.Prove != false + case "tendermint.abci.RequestBeginBlock.hash": + return len(x.Hash) != 0 + case "tendermint.abci.RequestBeginBlock.header": + return x.Header != nil + case "tendermint.abci.RequestBeginBlock.last_commit_info": + return x.LastCommitInfo != nil + case "tendermint.abci.RequestBeginBlock.byzantine_validators": + return len(x.ByzantineValidators) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) } - panic(fmt.Errorf("message tendermint.abci.RequestQuery does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock does not contain field %s", fd.FullName())) } } @@ -4695,21 +5022,21 @@ func (x *fastReflection_RequestQuery) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestQuery) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestBeginBlock) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.RequestQuery.data": - x.Data = nil - case "tendermint.abci.RequestQuery.path": - x.Path = "" - case "tendermint.abci.RequestQuery.height": - x.Height = int64(0) - case "tendermint.abci.RequestQuery.prove": - x.Prove = false + case "tendermint.abci.RequestBeginBlock.hash": + x.Hash = nil + case "tendermint.abci.RequestBeginBlock.header": + x.Header = nil + case "tendermint.abci.RequestBeginBlock.last_commit_info": + x.LastCommitInfo = nil + case "tendermint.abci.RequestBeginBlock.byzantine_validators": + x.ByzantineValidators = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) } - panic(fmt.Errorf("message tendermint.abci.RequestQuery does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock does not contain field %s", fd.FullName())) } } @@ -4719,25 +5046,28 @@ func (x *fastReflection_RequestQuery) Clear(fd protoreflect.FieldDescriptor) { // 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_RequestQuery) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestBeginBlock) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.RequestQuery.data": - value := x.Data + case "tendermint.abci.RequestBeginBlock.hash": + value := x.Hash return protoreflect.ValueOfBytes(value) - case "tendermint.abci.RequestQuery.path": - value := x.Path - return protoreflect.ValueOfString(value) - case "tendermint.abci.RequestQuery.height": - value := x.Height - return protoreflect.ValueOfInt64(value) - case "tendermint.abci.RequestQuery.prove": - value := x.Prove - return protoreflect.ValueOfBool(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) + case "tendermint.abci.RequestBeginBlock.header": + value := x.Header + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.RequestBeginBlock.last_commit_info": + value := x.LastCommitInfo + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.RequestBeginBlock.byzantine_validators": + if len(x.ByzantineValidators) == 0 { + return protoreflect.ValueOfList(&_RequestBeginBlock_4_list{}) } - panic(fmt.Errorf("message tendermint.abci.RequestQuery does not contain field %s", descriptor.FullName())) + listValue := &_RequestBeginBlock_4_list{list: &x.ByzantineValidators} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) + } + panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock does not contain field %s", descriptor.FullName())) } } @@ -4751,21 +5081,23 @@ func (x *fastReflection_RequestQuery) Get(descriptor protoreflect.FieldDescripto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestQuery) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestBeginBlock) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.RequestQuery.data": - x.Data = value.Bytes() - case "tendermint.abci.RequestQuery.path": - x.Path = value.Interface().(string) - case "tendermint.abci.RequestQuery.height": - x.Height = value.Int() - case "tendermint.abci.RequestQuery.prove": - x.Prove = value.Bool() + case "tendermint.abci.RequestBeginBlock.hash": + x.Hash = value.Bytes() + case "tendermint.abci.RequestBeginBlock.header": + x.Header = value.Message().Interface().(*types.Header) + case "tendermint.abci.RequestBeginBlock.last_commit_info": + x.LastCommitInfo = value.Message().Interface().(*CommitInfo) + case "tendermint.abci.RequestBeginBlock.byzantine_validators": + lv := value.List() + clv := lv.(*_RequestBeginBlock_4_list) + x.ByzantineValidators = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) } - panic(fmt.Errorf("message tendermint.abci.RequestQuery does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock does not contain field %s", fd.FullName())) } } @@ -4779,52 +5111,65 @@ func (x *fastReflection_RequestQuery) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestQuery) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestBeginBlock) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestQuery.data": - panic(fmt.Errorf("field data of message tendermint.abci.RequestQuery is not mutable")) - case "tendermint.abci.RequestQuery.path": - panic(fmt.Errorf("field path of message tendermint.abci.RequestQuery is not mutable")) - case "tendermint.abci.RequestQuery.height": - panic(fmt.Errorf("field height of message tendermint.abci.RequestQuery is not mutable")) - case "tendermint.abci.RequestQuery.prove": - panic(fmt.Errorf("field prove of message tendermint.abci.RequestQuery is not mutable")) + case "tendermint.abci.RequestBeginBlock.header": + if x.Header == nil { + x.Header = new(types.Header) + } + return protoreflect.ValueOfMessage(x.Header.ProtoReflect()) + case "tendermint.abci.RequestBeginBlock.last_commit_info": + if x.LastCommitInfo == nil { + x.LastCommitInfo = new(CommitInfo) + } + return protoreflect.ValueOfMessage(x.LastCommitInfo.ProtoReflect()) + case "tendermint.abci.RequestBeginBlock.byzantine_validators": + if x.ByzantineValidators == nil { + x.ByzantineValidators = []*Misbehavior{} + } + value := &_RequestBeginBlock_4_list{list: &x.ByzantineValidators} + return protoreflect.ValueOfList(value) + case "tendermint.abci.RequestBeginBlock.hash": + panic(fmt.Errorf("field hash of message tendermint.abci.RequestBeginBlock is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) } - panic(fmt.Errorf("message tendermint.abci.RequestQuery does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock 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_RequestQuery) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestBeginBlock) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestQuery.data": + case "tendermint.abci.RequestBeginBlock.hash": return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.RequestQuery.path": - return protoreflect.ValueOfString("") - case "tendermint.abci.RequestQuery.height": - return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.abci.RequestQuery.prove": - return protoreflect.ValueOfBool(false) + case "tendermint.abci.RequestBeginBlock.header": + m := new(types.Header) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.RequestBeginBlock.last_commit_info": + m := new(CommitInfo) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.RequestBeginBlock.byzantine_validators": + list := []*Misbehavior{} + return protoreflect.ValueOfList(&_RequestBeginBlock_4_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestQuery")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) } - panic(fmt.Errorf("message tendermint.abci.RequestQuery does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock 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_RequestQuery) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestBeginBlock) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestQuery", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestBeginBlock", d.FullName())) } panic("unreachable") } @@ -4832,7 +5177,7 @@ func (x *fastReflection_RequestQuery) WhichOneof(d protoreflect.OneofDescriptor) // 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_RequestQuery) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestBeginBlock) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4843,7 +5188,7 @@ func (x *fastReflection_RequestQuery) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestQuery) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestBeginBlock) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4855,7 +5200,7 @@ func (x *fastReflection_RequestQuery) SetUnknown(fields protoreflect.RawFields) // 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_RequestQuery) IsValid() bool { +func (x *fastReflection_RequestBeginBlock) IsValid() bool { return x != nil } @@ -4865,9 +5210,9 @@ func (x *fastReflection_RequestQuery) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestBeginBlock) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestQuery) + x := input.Message.Interface().(*RequestBeginBlock) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4879,19 +5224,23 @@ func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Data) + l = len(x.Hash) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Path) - if l > 0 { + if x.Header != nil { + l = options.Size(x.Header) n += 1 + l + runtime.Sov(uint64(l)) } - if x.Height != 0 { - n += 1 + runtime.Sov(uint64(x.Height)) + if x.LastCommitInfo != nil { + l = options.Size(x.LastCommitInfo) + n += 1 + l + runtime.Sov(uint64(l)) } - if x.Prove { - n += 2 + if len(x.ByzantineValidators) > 0 { + for _, e := range x.ByzantineValidators { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } } if x.unknownFields != nil { n += len(x.unknownFields) @@ -4903,7 +5252,7 @@ func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestQuery) + x := input.Message.Interface().(*RequestBeginBlock) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4922,32 +5271,54 @@ func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Prove { - i-- - if x.Prove { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if len(x.ByzantineValidators) > 0 { + for iNdEx := len(x.ByzantineValidators) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ByzantineValidators[iNdEx]) + 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] = 0x22 } - i-- - dAtA[i] = 0x20 } - if x.Height != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) + if x.LastCommitInfo != nil { + encoded, err := options.Marshal(x.LastCommitInfo) + 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] = 0x18 + dAtA[i] = 0x1a } - if len(x.Path) > 0 { - i -= len(x.Path) - copy(dAtA[i:], x.Path) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Path))) + if x.Header != nil { + encoded, err := options.Marshal(x.Header) + 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.Data) > 0 { - i -= len(x.Data) - copy(dAtA[i:], x.Data) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) + if len(x.Hash) > 0 { + i -= len(x.Hash) + copy(dAtA[i:], x.Hash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Hash))) i-- dAtA[i] = 0xa } @@ -4962,7 +5333,7 @@ func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestQuery) + x := input.Message.Interface().(*RequestBeginBlock) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4994,15 +5365,15 @@ func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestQuery: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestBeginBlock: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestQuery: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestBeginBlock: 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 Data", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -5029,16 +5400,16 @@ func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Data = append(x.Data[:0], dAtA[iNdEx:postIndex]...) - if x.Data == nil { - x.Data = []byte{} + x.Hash = append(x.Hash[:0], dAtA[iNdEx:postIndex]...) + if x.Hash == nil { + x.Hash = []byte{} } iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -5048,29 +5419,33 @@ func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Path = string(dAtA[iNdEx:postIndex]) + if x.Header == nil { + x.Header = &types.Header{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Header); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LastCommitInfo", wireType) } - x.Height = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -5080,16 +5455,33 @@ func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - x.Height |= int64(b&0x7F) << shift + 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.LastCommitInfo == nil { + x.LastCommitInfo = &CommitInfo{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LastCommitInfo); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex case 4: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Prove", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ByzantineValidators", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -5099,17 +5491,31 @@ func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - x.Prove = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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 + } + x.ByzantineValidators = append(x.ByzantineValidators, &Misbehavior{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ByzantineValidators[len(x.ByzantineValidators)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + 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 @@ -5140,83 +5546,28 @@ func (x *fastReflection_RequestQuery) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_RequestBeginBlock_4_list)(nil) - -type _RequestBeginBlock_4_list struct { - list *[]*Evidence -} - -func (x *_RequestBeginBlock_4_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_RequestBeginBlock_4_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_RequestBeginBlock_4_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Evidence) - (*x.list)[i] = concreteValue -} - -func (x *_RequestBeginBlock_4_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Evidence) - *x.list = append(*x.list, concreteValue) -} - -func (x *_RequestBeginBlock_4_list) AppendMutable() protoreflect.Value { - v := new(Evidence) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_RequestBeginBlock_4_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_RequestBeginBlock_4_list) NewElement() protoreflect.Value { - v := new(Evidence) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_RequestBeginBlock_4_list) IsValid() bool { - return x.list != nil -} - var ( - md_RequestBeginBlock protoreflect.MessageDescriptor - fd_RequestBeginBlock_hash protoreflect.FieldDescriptor - fd_RequestBeginBlock_header protoreflect.FieldDescriptor - fd_RequestBeginBlock_last_commit_info protoreflect.FieldDescriptor - fd_RequestBeginBlock_byzantine_validators protoreflect.FieldDescriptor + md_RequestCheckTx protoreflect.MessageDescriptor + fd_RequestCheckTx_tx protoreflect.FieldDescriptor + fd_RequestCheckTx_type protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_RequestBeginBlock = File_tendermint_abci_types_proto.Messages().ByName("RequestBeginBlock") - fd_RequestBeginBlock_hash = md_RequestBeginBlock.Fields().ByName("hash") - fd_RequestBeginBlock_header = md_RequestBeginBlock.Fields().ByName("header") - fd_RequestBeginBlock_last_commit_info = md_RequestBeginBlock.Fields().ByName("last_commit_info") - fd_RequestBeginBlock_byzantine_validators = md_RequestBeginBlock.Fields().ByName("byzantine_validators") + md_RequestCheckTx = File_tendermint_abci_types_proto.Messages().ByName("RequestCheckTx") + fd_RequestCheckTx_tx = md_RequestCheckTx.Fields().ByName("tx") + fd_RequestCheckTx_type = md_RequestCheckTx.Fields().ByName("type") } -var _ protoreflect.Message = (*fastReflection_RequestBeginBlock)(nil) +var _ protoreflect.Message = (*fastReflection_RequestCheckTx)(nil) -type fastReflection_RequestBeginBlock RequestBeginBlock +type fastReflection_RequestCheckTx RequestCheckTx -func (x *RequestBeginBlock) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestBeginBlock)(x) +func (x *RequestCheckTx) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestCheckTx)(x) } -func (x *RequestBeginBlock) slowProtoReflect() protoreflect.Message { +func (x *RequestCheckTx) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5228,43 +5579,43 @@ func (x *RequestBeginBlock) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestBeginBlock_messageType fastReflection_RequestBeginBlock_messageType -var _ protoreflect.MessageType = fastReflection_RequestBeginBlock_messageType{} +var _fastReflection_RequestCheckTx_messageType fastReflection_RequestCheckTx_messageType +var _ protoreflect.MessageType = fastReflection_RequestCheckTx_messageType{} -type fastReflection_RequestBeginBlock_messageType struct{} +type fastReflection_RequestCheckTx_messageType struct{} -func (x fastReflection_RequestBeginBlock_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestBeginBlock)(nil) +func (x fastReflection_RequestCheckTx_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestCheckTx)(nil) } -func (x fastReflection_RequestBeginBlock_messageType) New() protoreflect.Message { - return new(fastReflection_RequestBeginBlock) +func (x fastReflection_RequestCheckTx_messageType) New() protoreflect.Message { + return new(fastReflection_RequestCheckTx) } -func (x fastReflection_RequestBeginBlock_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestBeginBlock +func (x fastReflection_RequestCheckTx_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestCheckTx } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestBeginBlock) Descriptor() protoreflect.MessageDescriptor { - return md_RequestBeginBlock +func (x *fastReflection_RequestCheckTx) Descriptor() protoreflect.MessageDescriptor { + return md_RequestCheckTx } // 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_RequestBeginBlock) Type() protoreflect.MessageType { - return _fastReflection_RequestBeginBlock_messageType +func (x *fastReflection_RequestCheckTx) Type() protoreflect.MessageType { + return _fastReflection_RequestCheckTx_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestBeginBlock) New() protoreflect.Message { - return new(fastReflection_RequestBeginBlock) +func (x *fastReflection_RequestCheckTx) New() protoreflect.Message { + return new(fastReflection_RequestCheckTx) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestBeginBlock) Interface() protoreflect.ProtoMessage { - return (*RequestBeginBlock)(x) +func (x *fastReflection_RequestCheckTx) Interface() protoreflect.ProtoMessage { + return (*RequestCheckTx)(x) } // Range iterates over every populated field in an undefined order, @@ -5272,28 +5623,16 @@ func (x *fastReflection_RequestBeginBlock) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestBeginBlock) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Hash) != 0 { - value := protoreflect.ValueOfBytes(x.Hash) - if !f(fd_RequestBeginBlock_hash, value) { - return - } - } - if x.Header != nil { - value := protoreflect.ValueOfMessage(x.Header.ProtoReflect()) - if !f(fd_RequestBeginBlock_header, value) { - return - } - } - if x.LastCommitInfo != nil { - value := protoreflect.ValueOfMessage(x.LastCommitInfo.ProtoReflect()) - if !f(fd_RequestBeginBlock_last_commit_info, value) { +func (x *fastReflection_RequestCheckTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Tx) != 0 { + value := protoreflect.ValueOfBytes(x.Tx) + if !f(fd_RequestCheckTx_tx, value) { return } } - if len(x.ByzantineValidators) != 0 { - value := protoreflect.ValueOfList(&_RequestBeginBlock_4_list{list: &x.ByzantineValidators}) - if !f(fd_RequestBeginBlock_byzantine_validators, value) { + if x.Type_ != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Type_)) + if !f(fd_RequestCheckTx_type, value) { return } } @@ -5310,21 +5649,17 @@ func (x *fastReflection_RequestBeginBlock) Range(f func(protoreflect.FieldDescri // 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_RequestBeginBlock) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestCheckTx) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.RequestBeginBlock.hash": - return len(x.Hash) != 0 - case "tendermint.abci.RequestBeginBlock.header": - return x.Header != nil - case "tendermint.abci.RequestBeginBlock.last_commit_info": - return x.LastCommitInfo != nil - case "tendermint.abci.RequestBeginBlock.byzantine_validators": - return len(x.ByzantineValidators) != 0 + case "tendermint.abci.RequestCheckTx.tx": + return len(x.Tx) != 0 + case "tendermint.abci.RequestCheckTx.type": + return x.Type_ != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCheckTx does not contain field %s", fd.FullName())) } } @@ -5334,21 +5669,17 @@ func (x *fastReflection_RequestBeginBlock) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestBeginBlock) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestCheckTx) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.RequestBeginBlock.hash": - x.Hash = nil - case "tendermint.abci.RequestBeginBlock.header": - x.Header = nil - case "tendermint.abci.RequestBeginBlock.last_commit_info": - x.LastCommitInfo = nil - case "tendermint.abci.RequestBeginBlock.byzantine_validators": - x.ByzantineValidators = nil + case "tendermint.abci.RequestCheckTx.tx": + x.Tx = nil + case "tendermint.abci.RequestCheckTx.type": + x.Type_ = 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCheckTx does not contain field %s", fd.FullName())) } } @@ -5358,28 +5689,19 @@ func (x *fastReflection_RequestBeginBlock) Clear(fd protoreflect.FieldDescriptor // 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_RequestBeginBlock) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestCheckTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.RequestBeginBlock.hash": - value := x.Hash + case "tendermint.abci.RequestCheckTx.tx": + value := x.Tx return protoreflect.ValueOfBytes(value) - case "tendermint.abci.RequestBeginBlock.header": - value := x.Header - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.RequestBeginBlock.last_commit_info": - value := x.LastCommitInfo - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.RequestBeginBlock.byzantine_validators": - if len(x.ByzantineValidators) == 0 { - return protoreflect.ValueOfList(&_RequestBeginBlock_4_list{}) - } - listValue := &_RequestBeginBlock_4_list{list: &x.ByzantineValidators} - return protoreflect.ValueOfList(listValue) + case "tendermint.abci.RequestCheckTx.type": + value := x.Type_ + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCheckTx does not contain field %s", descriptor.FullName())) } } @@ -5393,23 +5715,17 @@ func (x *fastReflection_RequestBeginBlock) Get(descriptor protoreflect.FieldDesc // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestBeginBlock) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestCheckTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.RequestBeginBlock.hash": - x.Hash = value.Bytes() - case "tendermint.abci.RequestBeginBlock.header": - x.Header = value.Message().Interface().(*types.Header) - case "tendermint.abci.RequestBeginBlock.last_commit_info": - x.LastCommitInfo = value.Message().Interface().(*LastCommitInfo) - case "tendermint.abci.RequestBeginBlock.byzantine_validators": - lv := value.List() - clv := lv.(*_RequestBeginBlock_4_list) - x.ByzantineValidators = *clv.list + case "tendermint.abci.RequestCheckTx.tx": + x.Tx = value.Bytes() + case "tendermint.abci.RequestCheckTx.type": + x.Type_ = (CheckTxType)(value.Enum()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCheckTx does not contain field %s", fd.FullName())) } } @@ -5423,65 +5739,44 @@ func (x *fastReflection_RequestBeginBlock) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestBeginBlock) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestCheckTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestBeginBlock.header": - if x.Header == nil { - x.Header = new(types.Header) - } - return protoreflect.ValueOfMessage(x.Header.ProtoReflect()) - case "tendermint.abci.RequestBeginBlock.last_commit_info": - if x.LastCommitInfo == nil { - x.LastCommitInfo = new(LastCommitInfo) - } - return protoreflect.ValueOfMessage(x.LastCommitInfo.ProtoReflect()) - case "tendermint.abci.RequestBeginBlock.byzantine_validators": - if x.ByzantineValidators == nil { - x.ByzantineValidators = []*Evidence{} - } - value := &_RequestBeginBlock_4_list{list: &x.ByzantineValidators} - return protoreflect.ValueOfList(value) - case "tendermint.abci.RequestBeginBlock.hash": - panic(fmt.Errorf("field hash of message tendermint.abci.RequestBeginBlock is not mutable")) + case "tendermint.abci.RequestCheckTx.tx": + panic(fmt.Errorf("field tx of message tendermint.abci.RequestCheckTx is not mutable")) + case "tendermint.abci.RequestCheckTx.type": + panic(fmt.Errorf("field type of message tendermint.abci.RequestCheckTx is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCheckTx 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_RequestBeginBlock) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestCheckTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestBeginBlock.hash": + case "tendermint.abci.RequestCheckTx.tx": return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.RequestBeginBlock.header": - m := new(types.Header) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.RequestBeginBlock.last_commit_info": - m := new(LastCommitInfo) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.RequestBeginBlock.byzantine_validators": - list := []*Evidence{} - return protoreflect.ValueOfList(&_RequestBeginBlock_4_list{list: &list}) + case "tendermint.abci.RequestCheckTx.type": + return protoreflect.ValueOfEnum(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestBeginBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCheckTx 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_RequestBeginBlock) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestCheckTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestBeginBlock", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestCheckTx", d.FullName())) } panic("unreachable") } @@ -5489,7 +5784,7 @@ func (x *fastReflection_RequestBeginBlock) WhichOneof(d protoreflect.OneofDescri // 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_RequestBeginBlock) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestCheckTx) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5500,7 +5795,7 @@ func (x *fastReflection_RequestBeginBlock) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestBeginBlock) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestCheckTx) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5512,7 +5807,7 @@ func (x *fastReflection_RequestBeginBlock) SetUnknown(fields protoreflect.RawFie // 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_RequestBeginBlock) IsValid() bool { +func (x *fastReflection_RequestCheckTx) IsValid() bool { return x != nil } @@ -5522,9 +5817,9 @@ func (x *fastReflection_RequestBeginBlock) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestBeginBlock) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestCheckTx) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestBeginBlock) + x := input.Message.Interface().(*RequestCheckTx) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5536,23 +5831,12 @@ func (x *fastReflection_RequestBeginBlock) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Hash) + l = len(x.Tx) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Header != nil { - l = options.Size(x.Header) - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.LastCommitInfo != nil { - l = options.Size(x.LastCommitInfo) - n += 1 + l + runtime.Sov(uint64(l)) - } - if len(x.ByzantineValidators) > 0 { - for _, e := range x.ByzantineValidators { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } + if x.Type_ != 0 { + n += 1 + runtime.Sov(uint64(x.Type_)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -5564,7 +5848,7 @@ func (x *fastReflection_RequestBeginBlock) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestBeginBlock) + x := input.Message.Interface().(*RequestCheckTx) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5583,54 +5867,15 @@ func (x *fastReflection_RequestBeginBlock) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.ByzantineValidators) > 0 { - for iNdEx := len(x.ByzantineValidators) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.ByzantineValidators[iNdEx]) - 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] = 0x22 - } - } - if x.LastCommitInfo != nil { - encoded, err := options.Marshal(x.LastCommitInfo) - 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] = 0x1a - } - if x.Header != nil { - encoded, err := options.Marshal(x.Header) - 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))) + if x.Type_ != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Type_)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } - if len(x.Hash) > 0 { - i -= len(x.Hash) - copy(dAtA[i:], x.Hash) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Hash))) + if len(x.Tx) > 0 { + i -= len(x.Tx) + copy(dAtA[i:], x.Tx) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Tx))) i-- dAtA[i] = 0xa } @@ -5645,7 +5890,7 @@ func (x *fastReflection_RequestBeginBlock) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestBeginBlock) + x := input.Message.Interface().(*RequestCheckTx) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5677,15 +5922,15 @@ func (x *fastReflection_RequestBeginBlock) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestBeginBlock: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestCheckTx: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestBeginBlock: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestCheckTx: 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 Hash", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -5712,88 +5957,16 @@ func (x *fastReflection_RequestBeginBlock) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Hash = append(x.Hash[:0], dAtA[iNdEx:postIndex]...) - if x.Hash == nil { - x.Hash = []byte{} + x.Tx = append(x.Tx[:0], dAtA[iNdEx:postIndex]...) + if x.Tx == nil { + x.Tx = []byte{} } iNdEx = postIndex case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Header", 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.Header == nil { - x.Header = &types.Header{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Header); 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 LastCommitInfo", 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.LastCommitInfo == nil { - x.LastCommitInfo = &LastCommitInfo{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LastCommitInfo); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ByzantineValidators", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Type_", wireType) } - var msglen int + x.Type_ = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -5803,26 +5976,11 @@ func (x *fastReflection_RequestBeginBlock) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + x.Type_ |= CheckTxType(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 - } - x.ByzantineValidators = append(x.ByzantineValidators, &Evidence{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ByzantineValidators[len(x.ByzantineValidators)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -5859,27 +6017,25 @@ func (x *fastReflection_RequestBeginBlock) ProtoMethods() *protoiface.Methods { } var ( - md_RequestCheckTx protoreflect.MessageDescriptor - fd_RequestCheckTx_tx protoreflect.FieldDescriptor - fd_RequestCheckTx_type protoreflect.FieldDescriptor + md_RequestDeliverTx protoreflect.MessageDescriptor + fd_RequestDeliverTx_tx protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_RequestCheckTx = File_tendermint_abci_types_proto.Messages().ByName("RequestCheckTx") - fd_RequestCheckTx_tx = md_RequestCheckTx.Fields().ByName("tx") - fd_RequestCheckTx_type = md_RequestCheckTx.Fields().ByName("type") + md_RequestDeliverTx = File_tendermint_abci_types_proto.Messages().ByName("RequestDeliverTx") + fd_RequestDeliverTx_tx = md_RequestDeliverTx.Fields().ByName("tx") } -var _ protoreflect.Message = (*fastReflection_RequestCheckTx)(nil) +var _ protoreflect.Message = (*fastReflection_RequestDeliverTx)(nil) -type fastReflection_RequestCheckTx RequestCheckTx +type fastReflection_RequestDeliverTx RequestDeliverTx -func (x *RequestCheckTx) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestCheckTx)(x) +func (x *RequestDeliverTx) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestDeliverTx)(x) } -func (x *RequestCheckTx) slowProtoReflect() protoreflect.Message { +func (x *RequestDeliverTx) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5891,43 +6047,43 @@ func (x *RequestCheckTx) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestCheckTx_messageType fastReflection_RequestCheckTx_messageType -var _ protoreflect.MessageType = fastReflection_RequestCheckTx_messageType{} +var _fastReflection_RequestDeliverTx_messageType fastReflection_RequestDeliverTx_messageType +var _ protoreflect.MessageType = fastReflection_RequestDeliverTx_messageType{} -type fastReflection_RequestCheckTx_messageType struct{} +type fastReflection_RequestDeliverTx_messageType struct{} -func (x fastReflection_RequestCheckTx_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestCheckTx)(nil) +func (x fastReflection_RequestDeliverTx_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestDeliverTx)(nil) } -func (x fastReflection_RequestCheckTx_messageType) New() protoreflect.Message { - return new(fastReflection_RequestCheckTx) +func (x fastReflection_RequestDeliverTx_messageType) New() protoreflect.Message { + return new(fastReflection_RequestDeliverTx) } -func (x fastReflection_RequestCheckTx_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestCheckTx +func (x fastReflection_RequestDeliverTx_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestDeliverTx } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestCheckTx) Descriptor() protoreflect.MessageDescriptor { - return md_RequestCheckTx +func (x *fastReflection_RequestDeliverTx) Descriptor() protoreflect.MessageDescriptor { + return md_RequestDeliverTx } // 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_RequestCheckTx) Type() protoreflect.MessageType { - return _fastReflection_RequestCheckTx_messageType -} +func (x *fastReflection_RequestDeliverTx) Type() protoreflect.MessageType { + return _fastReflection_RequestDeliverTx_messageType +} // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestCheckTx) New() protoreflect.Message { - return new(fastReflection_RequestCheckTx) +func (x *fastReflection_RequestDeliverTx) New() protoreflect.Message { + return new(fastReflection_RequestDeliverTx) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestCheckTx) Interface() protoreflect.ProtoMessage { - return (*RequestCheckTx)(x) +func (x *fastReflection_RequestDeliverTx) Interface() protoreflect.ProtoMessage { + return (*RequestDeliverTx)(x) } // Range iterates over every populated field in an undefined order, @@ -5935,16 +6091,10 @@ func (x *fastReflection_RequestCheckTx) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestCheckTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_RequestDeliverTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if len(x.Tx) != 0 { value := protoreflect.ValueOfBytes(x.Tx) - if !f(fd_RequestCheckTx_tx, value) { - return - } - } - if x.Type_ != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Type_)) - if !f(fd_RequestCheckTx_type, value) { + if !f(fd_RequestDeliverTx_tx, value) { return } } @@ -5961,17 +6111,15 @@ func (x *fastReflection_RequestCheckTx) Range(f func(protoreflect.FieldDescripto // 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_RequestCheckTx) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestDeliverTx) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.RequestCheckTx.tx": + case "tendermint.abci.RequestDeliverTx.tx": return len(x.Tx) != 0 - case "tendermint.abci.RequestCheckTx.type": - return x.Type_ != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestCheckTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx does not contain field %s", fd.FullName())) } } @@ -5981,17 +6129,15 @@ func (x *fastReflection_RequestCheckTx) Has(fd protoreflect.FieldDescriptor) boo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestCheckTx) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestDeliverTx) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.RequestCheckTx.tx": + case "tendermint.abci.RequestDeliverTx.tx": x.Tx = nil - case "tendermint.abci.RequestCheckTx.type": - x.Type_ = 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestCheckTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx does not contain field %s", fd.FullName())) } } @@ -6001,19 +6147,16 @@ func (x *fastReflection_RequestCheckTx) Clear(fd protoreflect.FieldDescriptor) { // 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_RequestCheckTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestDeliverTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.RequestCheckTx.tx": + case "tendermint.abci.RequestDeliverTx.tx": value := x.Tx return protoreflect.ValueOfBytes(value) - case "tendermint.abci.RequestCheckTx.type": - value := x.Type_ - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestCheckTx does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx does not contain field %s", descriptor.FullName())) } } @@ -6027,17 +6170,15 @@ func (x *fastReflection_RequestCheckTx) Get(descriptor protoreflect.FieldDescrip // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestCheckTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestDeliverTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.RequestCheckTx.tx": + case "tendermint.abci.RequestDeliverTx.tx": x.Tx = value.Bytes() - case "tendermint.abci.RequestCheckTx.type": - x.Type_ = (CheckTxType)(value.Enum()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestCheckTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx does not contain field %s", fd.FullName())) } } @@ -6051,44 +6192,40 @@ func (x *fastReflection_RequestCheckTx) Set(fd protoreflect.FieldDescriptor, val // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestCheckTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestDeliverTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestCheckTx.tx": - panic(fmt.Errorf("field tx of message tendermint.abci.RequestCheckTx is not mutable")) - case "tendermint.abci.RequestCheckTx.type": - panic(fmt.Errorf("field type of message tendermint.abci.RequestCheckTx is not mutable")) + case "tendermint.abci.RequestDeliverTx.tx": + panic(fmt.Errorf("field tx of message tendermint.abci.RequestDeliverTx is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestCheckTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx 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_RequestCheckTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestDeliverTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestCheckTx.tx": + case "tendermint.abci.RequestDeliverTx.tx": return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.RequestCheckTx.type": - return protoreflect.ValueOfEnum(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.RequestCheckTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx 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_RequestCheckTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestDeliverTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestCheckTx", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestDeliverTx", d.FullName())) } panic("unreachable") } @@ -6096,7 +6233,7 @@ func (x *fastReflection_RequestCheckTx) WhichOneof(d protoreflect.OneofDescripto // 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_RequestCheckTx) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestDeliverTx) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -6107,7 +6244,7 @@ func (x *fastReflection_RequestCheckTx) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestCheckTx) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestDeliverTx) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -6119,7 +6256,7 @@ func (x *fastReflection_RequestCheckTx) SetUnknown(fields protoreflect.RawFields // 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_RequestCheckTx) IsValid() bool { +func (x *fastReflection_RequestDeliverTx) IsValid() bool { return x != nil } @@ -6129,9 +6266,9 @@ func (x *fastReflection_RequestCheckTx) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestCheckTx) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestDeliverTx) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestCheckTx) + x := input.Message.Interface().(*RequestDeliverTx) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6147,9 +6284,6 @@ func (x *fastReflection_RequestCheckTx) ProtoMethods() *protoiface.Methods { if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Type_ != 0 { - n += 1 + runtime.Sov(uint64(x.Type_)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -6160,7 +6294,7 @@ func (x *fastReflection_RequestCheckTx) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestCheckTx) + x := input.Message.Interface().(*RequestDeliverTx) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6179,11 +6313,6 @@ func (x *fastReflection_RequestCheckTx) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Type_ != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Type_)) - i-- - dAtA[i] = 0x10 - } if len(x.Tx) > 0 { i -= len(x.Tx) copy(dAtA[i:], x.Tx) @@ -6202,7 +6331,7 @@ func (x *fastReflection_RequestCheckTx) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestCheckTx) + x := input.Message.Interface().(*RequestDeliverTx) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6234,10 +6363,10 @@ func (x *fastReflection_RequestCheckTx) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestCheckTx: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestDeliverTx: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestCheckTx: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestDeliverTx: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -6274,25 +6403,6 @@ func (x *fastReflection_RequestCheckTx) ProtoMethods() *protoiface.Methods { x.Tx = []byte{} } iNdEx = postIndex - case 2: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Type_", wireType) - } - x.Type_ = 0 - 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++ - x.Type_ |= CheckTxType(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -6329,25 +6439,25 @@ func (x *fastReflection_RequestCheckTx) ProtoMethods() *protoiface.Methods { } var ( - md_RequestDeliverTx protoreflect.MessageDescriptor - fd_RequestDeliverTx_tx protoreflect.FieldDescriptor + md_RequestEndBlock protoreflect.MessageDescriptor + fd_RequestEndBlock_height protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_RequestDeliverTx = File_tendermint_abci_types_proto.Messages().ByName("RequestDeliverTx") - fd_RequestDeliverTx_tx = md_RequestDeliverTx.Fields().ByName("tx") + md_RequestEndBlock = File_tendermint_abci_types_proto.Messages().ByName("RequestEndBlock") + fd_RequestEndBlock_height = md_RequestEndBlock.Fields().ByName("height") } -var _ protoreflect.Message = (*fastReflection_RequestDeliverTx)(nil) +var _ protoreflect.Message = (*fastReflection_RequestEndBlock)(nil) -type fastReflection_RequestDeliverTx RequestDeliverTx +type fastReflection_RequestEndBlock RequestEndBlock -func (x *RequestDeliverTx) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestDeliverTx)(x) +func (x *RequestEndBlock) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestEndBlock)(x) } -func (x *RequestDeliverTx) slowProtoReflect() protoreflect.Message { +func (x *RequestEndBlock) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -6359,43 +6469,43 @@ func (x *RequestDeliverTx) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestDeliverTx_messageType fastReflection_RequestDeliverTx_messageType -var _ protoreflect.MessageType = fastReflection_RequestDeliverTx_messageType{} +var _fastReflection_RequestEndBlock_messageType fastReflection_RequestEndBlock_messageType +var _ protoreflect.MessageType = fastReflection_RequestEndBlock_messageType{} -type fastReflection_RequestDeliverTx_messageType struct{} +type fastReflection_RequestEndBlock_messageType struct{} -func (x fastReflection_RequestDeliverTx_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestDeliverTx)(nil) +func (x fastReflection_RequestEndBlock_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestEndBlock)(nil) } -func (x fastReflection_RequestDeliverTx_messageType) New() protoreflect.Message { - return new(fastReflection_RequestDeliverTx) +func (x fastReflection_RequestEndBlock_messageType) New() protoreflect.Message { + return new(fastReflection_RequestEndBlock) } -func (x fastReflection_RequestDeliverTx_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestDeliverTx +func (x fastReflection_RequestEndBlock_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestEndBlock } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestDeliverTx) Descriptor() protoreflect.MessageDescriptor { - return md_RequestDeliverTx +func (x *fastReflection_RequestEndBlock) Descriptor() protoreflect.MessageDescriptor { + return md_RequestEndBlock } // 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_RequestDeliverTx) Type() protoreflect.MessageType { - return _fastReflection_RequestDeliverTx_messageType +func (x *fastReflection_RequestEndBlock) Type() protoreflect.MessageType { + return _fastReflection_RequestEndBlock_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestDeliverTx) New() protoreflect.Message { - return new(fastReflection_RequestDeliverTx) +func (x *fastReflection_RequestEndBlock) New() protoreflect.Message { + return new(fastReflection_RequestEndBlock) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestDeliverTx) Interface() protoreflect.ProtoMessage { - return (*RequestDeliverTx)(x) +func (x *fastReflection_RequestEndBlock) Interface() protoreflect.ProtoMessage { + return (*RequestEndBlock)(x) } // Range iterates over every populated field in an undefined order, @@ -6403,10 +6513,10 @@ func (x *fastReflection_RequestDeliverTx) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestDeliverTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Tx) != 0 { - value := protoreflect.ValueOfBytes(x.Tx) - if !f(fd_RequestDeliverTx_tx, value) { +func (x *fastReflection_RequestEndBlock) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Height != int64(0) { + value := protoreflect.ValueOfInt64(x.Height) + if !f(fd_RequestEndBlock_height, value) { return } } @@ -6423,15 +6533,15 @@ func (x *fastReflection_RequestDeliverTx) Range(f func(protoreflect.FieldDescrip // 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_RequestDeliverTx) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestEndBlock) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.RequestDeliverTx.tx": - return len(x.Tx) != 0 + case "tendermint.abci.RequestEndBlock.height": + return x.Height != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestEndBlock does not contain field %s", fd.FullName())) } } @@ -6441,15 +6551,15 @@ func (x *fastReflection_RequestDeliverTx) Has(fd protoreflect.FieldDescriptor) b // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestDeliverTx) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestEndBlock) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.RequestDeliverTx.tx": - x.Tx = nil + case "tendermint.abci.RequestEndBlock.height": + x.Height = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestEndBlock does not contain field %s", fd.FullName())) } } @@ -6459,16 +6569,16 @@ func (x *fastReflection_RequestDeliverTx) Clear(fd protoreflect.FieldDescriptor) // 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_RequestDeliverTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestEndBlock) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.RequestDeliverTx.tx": - value := x.Tx - return protoreflect.ValueOfBytes(value) + case "tendermint.abci.RequestEndBlock.height": + value := x.Height + return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestEndBlock does not contain field %s", descriptor.FullName())) } } @@ -6482,15 +6592,15 @@ func (x *fastReflection_RequestDeliverTx) Get(descriptor protoreflect.FieldDescr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestDeliverTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestEndBlock) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.RequestDeliverTx.tx": - x.Tx = value.Bytes() + case "tendermint.abci.RequestEndBlock.height": + x.Height = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestEndBlock does not contain field %s", fd.FullName())) } } @@ -6504,40 +6614,40 @@ func (x *fastReflection_RequestDeliverTx) Set(fd protoreflect.FieldDescriptor, v // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestDeliverTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestEndBlock) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestDeliverTx.tx": - panic(fmt.Errorf("field tx of message tendermint.abci.RequestDeliverTx is not mutable")) + case "tendermint.abci.RequestEndBlock.height": + panic(fmt.Errorf("field height of message tendermint.abci.RequestEndBlock is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestEndBlock 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_RequestDeliverTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestEndBlock) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestDeliverTx.tx": - return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.RequestEndBlock.height": + return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.RequestDeliverTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestEndBlock 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_RequestDeliverTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestEndBlock) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestDeliverTx", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestEndBlock", d.FullName())) } panic("unreachable") } @@ -6545,7 +6655,7 @@ func (x *fastReflection_RequestDeliverTx) WhichOneof(d protoreflect.OneofDescrip // 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_RequestDeliverTx) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestEndBlock) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -6556,7 +6666,7 @@ func (x *fastReflection_RequestDeliverTx) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestDeliverTx) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestEndBlock) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -6568,7 +6678,7 @@ func (x *fastReflection_RequestDeliverTx) SetUnknown(fields protoreflect.RawFiel // 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_RequestDeliverTx) IsValid() bool { +func (x *fastReflection_RequestEndBlock) IsValid() bool { return x != nil } @@ -6578,9 +6688,9 @@ func (x *fastReflection_RequestDeliverTx) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestDeliverTx) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestEndBlock) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestDeliverTx) + x := input.Message.Interface().(*RequestEndBlock) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6592,9 +6702,8 @@ func (x *fastReflection_RequestDeliverTx) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Tx) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.Height != 0 { + n += 1 + runtime.Sov(uint64(x.Height)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -6606,7 +6715,7 @@ func (x *fastReflection_RequestDeliverTx) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestDeliverTx) + x := input.Message.Interface().(*RequestEndBlock) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6625,12 +6734,10 @@ func (x *fastReflection_RequestDeliverTx) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Tx) > 0 { - i -= len(x.Tx) - copy(dAtA[i:], x.Tx) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Tx))) + if x.Height != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -6643,7 +6750,7 @@ func (x *fastReflection_RequestDeliverTx) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestDeliverTx) + x := input.Message.Interface().(*RequestEndBlock) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6675,17 +6782,17 @@ func (x *fastReflection_RequestDeliverTx) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestDeliverTx: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestEndBlock: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestDeliverTx: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestEndBlock: 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 Tx", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) } - var byteLen int + x.Height = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -6695,26 +6802,11 @@ func (x *fastReflection_RequestDeliverTx) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + x.Height |= int64(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.Tx = append(x.Tx[:0], dAtA[iNdEx:postIndex]...) - if x.Tx == nil { - x.Tx = []byte{} - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -6751,25 +6843,23 @@ func (x *fastReflection_RequestDeliverTx) ProtoMethods() *protoiface.Methods { } var ( - md_RequestEndBlock protoreflect.MessageDescriptor - fd_RequestEndBlock_height protoreflect.FieldDescriptor + md_RequestCommit protoreflect.MessageDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_RequestEndBlock = File_tendermint_abci_types_proto.Messages().ByName("RequestEndBlock") - fd_RequestEndBlock_height = md_RequestEndBlock.Fields().ByName("height") + md_RequestCommit = File_tendermint_abci_types_proto.Messages().ByName("RequestCommit") } -var _ protoreflect.Message = (*fastReflection_RequestEndBlock)(nil) +var _ protoreflect.Message = (*fastReflection_RequestCommit)(nil) -type fastReflection_RequestEndBlock RequestEndBlock +type fastReflection_RequestCommit RequestCommit -func (x *RequestEndBlock) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestEndBlock)(x) +func (x *RequestCommit) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestCommit)(x) } -func (x *RequestEndBlock) slowProtoReflect() protoreflect.Message { +func (x *RequestCommit) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -6781,43 +6871,43 @@ func (x *RequestEndBlock) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestEndBlock_messageType fastReflection_RequestEndBlock_messageType -var _ protoreflect.MessageType = fastReflection_RequestEndBlock_messageType{} +var _fastReflection_RequestCommit_messageType fastReflection_RequestCommit_messageType +var _ protoreflect.MessageType = fastReflection_RequestCommit_messageType{} -type fastReflection_RequestEndBlock_messageType struct{} +type fastReflection_RequestCommit_messageType struct{} -func (x fastReflection_RequestEndBlock_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestEndBlock)(nil) +func (x fastReflection_RequestCommit_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestCommit)(nil) } -func (x fastReflection_RequestEndBlock_messageType) New() protoreflect.Message { - return new(fastReflection_RequestEndBlock) +func (x fastReflection_RequestCommit_messageType) New() protoreflect.Message { + return new(fastReflection_RequestCommit) } -func (x fastReflection_RequestEndBlock_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestEndBlock +func (x fastReflection_RequestCommit_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestCommit } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestEndBlock) Descriptor() protoreflect.MessageDescriptor { - return md_RequestEndBlock +func (x *fastReflection_RequestCommit) Descriptor() protoreflect.MessageDescriptor { + return md_RequestCommit } // 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_RequestEndBlock) Type() protoreflect.MessageType { - return _fastReflection_RequestEndBlock_messageType +func (x *fastReflection_RequestCommit) Type() protoreflect.MessageType { + return _fastReflection_RequestCommit_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestEndBlock) New() protoreflect.Message { - return new(fastReflection_RequestEndBlock) +func (x *fastReflection_RequestCommit) New() protoreflect.Message { + return new(fastReflection_RequestCommit) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestEndBlock) Interface() protoreflect.ProtoMessage { - return (*RequestEndBlock)(x) +func (x *fastReflection_RequestCommit) Interface() protoreflect.ProtoMessage { + return (*RequestCommit)(x) } // Range iterates over every populated field in an undefined order, @@ -6825,13 +6915,7 @@ func (x *fastReflection_RequestEndBlock) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestEndBlock) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Height != int64(0) { - value := protoreflect.ValueOfInt64(x.Height) - if !f(fd_RequestEndBlock_height, value) { - return - } - } +func (x *fastReflection_RequestCommit) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -6845,15 +6929,13 @@ func (x *fastReflection_RequestEndBlock) Range(f func(protoreflect.FieldDescript // 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_RequestEndBlock) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestCommit) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.RequestEndBlock.height": - return x.Height != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) } - panic(fmt.Errorf("message tendermint.abci.RequestEndBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCommit does not contain field %s", fd.FullName())) } } @@ -6863,15 +6945,13 @@ func (x *fastReflection_RequestEndBlock) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestEndBlock) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestCommit) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.RequestEndBlock.height": - x.Height = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) } - panic(fmt.Errorf("message tendermint.abci.RequestEndBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCommit does not contain field %s", fd.FullName())) } } @@ -6881,16 +6961,13 @@ func (x *fastReflection_RequestEndBlock) Clear(fd protoreflect.FieldDescriptor) // 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_RequestEndBlock) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestCommit) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.RequestEndBlock.height": - value := x.Height - return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) } - panic(fmt.Errorf("message tendermint.abci.RequestEndBlock does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCommit does not contain field %s", descriptor.FullName())) } } @@ -6904,15 +6981,13 @@ func (x *fastReflection_RequestEndBlock) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestEndBlock) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestCommit) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.RequestEndBlock.height": - x.Height = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) } - panic(fmt.Errorf("message tendermint.abci.RequestEndBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCommit does not contain field %s", fd.FullName())) } } @@ -6926,40 +7001,36 @@ func (x *fastReflection_RequestEndBlock) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestEndBlock) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestCommit) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestEndBlock.height": - panic(fmt.Errorf("field height of message tendermint.abci.RequestEndBlock is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) } - panic(fmt.Errorf("message tendermint.abci.RequestEndBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCommit 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_RequestEndBlock) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestCommit) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestEndBlock.height": - return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) } - panic(fmt.Errorf("message tendermint.abci.RequestEndBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestCommit 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_RequestEndBlock) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestCommit) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestEndBlock", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestCommit", d.FullName())) } panic("unreachable") } @@ -6967,7 +7038,7 @@ func (x *fastReflection_RequestEndBlock) WhichOneof(d protoreflect.OneofDescript // 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_RequestEndBlock) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestCommit) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -6978,7 +7049,7 @@ func (x *fastReflection_RequestEndBlock) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestEndBlock) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestCommit) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -6990,7 +7061,7 @@ func (x *fastReflection_RequestEndBlock) SetUnknown(fields protoreflect.RawField // 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_RequestEndBlock) IsValid() bool { +func (x *fastReflection_RequestCommit) IsValid() bool { return x != nil } @@ -7000,9 +7071,9 @@ func (x *fastReflection_RequestEndBlock) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestEndBlock) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestCommit) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestEndBlock) + x := input.Message.Interface().(*RequestCommit) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7014,9 +7085,6 @@ func (x *fastReflection_RequestEndBlock) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Height != 0 { - n += 1 + runtime.Sov(uint64(x.Height)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -7027,7 +7095,7 @@ func (x *fastReflection_RequestEndBlock) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestEndBlock) + x := input.Message.Interface().(*RequestCommit) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7046,11 +7114,6 @@ func (x *fastReflection_RequestEndBlock) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Height != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) - i-- - dAtA[i] = 0x8 - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -7062,7 +7125,7 @@ func (x *fastReflection_RequestEndBlock) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestEndBlock) + x := input.Message.Interface().(*RequestCommit) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7094,31 +7157,12 @@ func (x *fastReflection_RequestEndBlock) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestEndBlock: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestCommit: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestEndBlock: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestCommit: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) - } - x.Height = 0 - 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++ - x.Height |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -7155,23 +7199,23 @@ func (x *fastReflection_RequestEndBlock) ProtoMethods() *protoiface.Methods { } var ( - md_RequestCommit protoreflect.MessageDescriptor + md_RequestListSnapshots protoreflect.MessageDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_RequestCommit = File_tendermint_abci_types_proto.Messages().ByName("RequestCommit") + md_RequestListSnapshots = File_tendermint_abci_types_proto.Messages().ByName("RequestListSnapshots") } -var _ protoreflect.Message = (*fastReflection_RequestCommit)(nil) +var _ protoreflect.Message = (*fastReflection_RequestListSnapshots)(nil) -type fastReflection_RequestCommit RequestCommit +type fastReflection_RequestListSnapshots RequestListSnapshots -func (x *RequestCommit) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestCommit)(x) +func (x *RequestListSnapshots) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestListSnapshots)(x) } -func (x *RequestCommit) slowProtoReflect() protoreflect.Message { +func (x *RequestListSnapshots) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7183,43 +7227,43 @@ func (x *RequestCommit) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestCommit_messageType fastReflection_RequestCommit_messageType -var _ protoreflect.MessageType = fastReflection_RequestCommit_messageType{} +var _fastReflection_RequestListSnapshots_messageType fastReflection_RequestListSnapshots_messageType +var _ protoreflect.MessageType = fastReflection_RequestListSnapshots_messageType{} -type fastReflection_RequestCommit_messageType struct{} +type fastReflection_RequestListSnapshots_messageType struct{} -func (x fastReflection_RequestCommit_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestCommit)(nil) +func (x fastReflection_RequestListSnapshots_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestListSnapshots)(nil) } -func (x fastReflection_RequestCommit_messageType) New() protoreflect.Message { - return new(fastReflection_RequestCommit) +func (x fastReflection_RequestListSnapshots_messageType) New() protoreflect.Message { + return new(fastReflection_RequestListSnapshots) } -func (x fastReflection_RequestCommit_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestCommit +func (x fastReflection_RequestListSnapshots_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestListSnapshots } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestCommit) Descriptor() protoreflect.MessageDescriptor { - return md_RequestCommit +func (x *fastReflection_RequestListSnapshots) Descriptor() protoreflect.MessageDescriptor { + return md_RequestListSnapshots } // 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_RequestCommit) Type() protoreflect.MessageType { - return _fastReflection_RequestCommit_messageType +func (x *fastReflection_RequestListSnapshots) Type() protoreflect.MessageType { + return _fastReflection_RequestListSnapshots_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestCommit) New() protoreflect.Message { - return new(fastReflection_RequestCommit) -} +func (x *fastReflection_RequestListSnapshots) New() protoreflect.Message { + return new(fastReflection_RequestListSnapshots) +} // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestCommit) Interface() protoreflect.ProtoMessage { - return (*RequestCommit)(x) +func (x *fastReflection_RequestListSnapshots) Interface() protoreflect.ProtoMessage { + return (*RequestListSnapshots)(x) } // Range iterates over every populated field in an undefined order, @@ -7227,7 +7271,7 @@ func (x *fastReflection_RequestCommit) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestCommit) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_RequestListSnapshots) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -7241,13 +7285,13 @@ func (x *fastReflection_RequestCommit) Range(f func(protoreflect.FieldDescriptor // 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_RequestCommit) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestListSnapshots) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.RequestCommit does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots does not contain field %s", fd.FullName())) } } @@ -7257,13 +7301,13 @@ func (x *fastReflection_RequestCommit) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestCommit) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestListSnapshots) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.RequestCommit does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots does not contain field %s", fd.FullName())) } } @@ -7273,13 +7317,13 @@ func (x *fastReflection_RequestCommit) Clear(fd protoreflect.FieldDescriptor) { // 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_RequestCommit) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestListSnapshots) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.RequestCommit does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots does not contain field %s", descriptor.FullName())) } } @@ -7293,13 +7337,13 @@ func (x *fastReflection_RequestCommit) Get(descriptor protoreflect.FieldDescript // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestCommit) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestListSnapshots) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.RequestCommit does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots does not contain field %s", fd.FullName())) } } @@ -7313,36 +7357,36 @@ func (x *fastReflection_RequestCommit) Set(fd protoreflect.FieldDescriptor, valu // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestCommit) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestListSnapshots) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.RequestCommit does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots 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_RequestCommit) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestListSnapshots) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.RequestCommit does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots 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_RequestCommit) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestListSnapshots) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestCommit", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestListSnapshots", d.FullName())) } panic("unreachable") } @@ -7350,7 +7394,7 @@ func (x *fastReflection_RequestCommit) WhichOneof(d protoreflect.OneofDescriptor // 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_RequestCommit) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestListSnapshots) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7361,7 +7405,7 @@ func (x *fastReflection_RequestCommit) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestCommit) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestListSnapshots) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7373,7 +7417,7 @@ func (x *fastReflection_RequestCommit) SetUnknown(fields protoreflect.RawFields) // 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_RequestCommit) IsValid() bool { +func (x *fastReflection_RequestListSnapshots) IsValid() bool { return x != nil } @@ -7383,9 +7427,9 @@ func (x *fastReflection_RequestCommit) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestCommit) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestListSnapshots) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestCommit) + x := input.Message.Interface().(*RequestListSnapshots) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7407,7 +7451,7 @@ func (x *fastReflection_RequestCommit) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestCommit) + x := input.Message.Interface().(*RequestListSnapshots) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7437,7 +7481,7 @@ func (x *fastReflection_RequestCommit) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestCommit) + x := input.Message.Interface().(*RequestListSnapshots) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7469,10 +7513,10 @@ func (x *fastReflection_RequestCommit) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestCommit: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestListSnapshots: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestCommit: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestListSnapshots: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -7511,23 +7555,27 @@ func (x *fastReflection_RequestCommit) ProtoMethods() *protoiface.Methods { } var ( - md_RequestListSnapshots protoreflect.MessageDescriptor + md_RequestOfferSnapshot protoreflect.MessageDescriptor + fd_RequestOfferSnapshot_snapshot protoreflect.FieldDescriptor + fd_RequestOfferSnapshot_app_hash protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_RequestListSnapshots = File_tendermint_abci_types_proto.Messages().ByName("RequestListSnapshots") + md_RequestOfferSnapshot = File_tendermint_abci_types_proto.Messages().ByName("RequestOfferSnapshot") + fd_RequestOfferSnapshot_snapshot = md_RequestOfferSnapshot.Fields().ByName("snapshot") + fd_RequestOfferSnapshot_app_hash = md_RequestOfferSnapshot.Fields().ByName("app_hash") } -var _ protoreflect.Message = (*fastReflection_RequestListSnapshots)(nil) +var _ protoreflect.Message = (*fastReflection_RequestOfferSnapshot)(nil) -type fastReflection_RequestListSnapshots RequestListSnapshots +type fastReflection_RequestOfferSnapshot RequestOfferSnapshot -func (x *RequestListSnapshots) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestListSnapshots)(x) +func (x *RequestOfferSnapshot) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestOfferSnapshot)(x) } -func (x *RequestListSnapshots) slowProtoReflect() protoreflect.Message { +func (x *RequestOfferSnapshot) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7539,43 +7587,43 @@ func (x *RequestListSnapshots) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestListSnapshots_messageType fastReflection_RequestListSnapshots_messageType -var _ protoreflect.MessageType = fastReflection_RequestListSnapshots_messageType{} +var _fastReflection_RequestOfferSnapshot_messageType fastReflection_RequestOfferSnapshot_messageType +var _ protoreflect.MessageType = fastReflection_RequestOfferSnapshot_messageType{} -type fastReflection_RequestListSnapshots_messageType struct{} +type fastReflection_RequestOfferSnapshot_messageType struct{} -func (x fastReflection_RequestListSnapshots_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestListSnapshots)(nil) +func (x fastReflection_RequestOfferSnapshot_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestOfferSnapshot)(nil) } -func (x fastReflection_RequestListSnapshots_messageType) New() protoreflect.Message { - return new(fastReflection_RequestListSnapshots) +func (x fastReflection_RequestOfferSnapshot_messageType) New() protoreflect.Message { + return new(fastReflection_RequestOfferSnapshot) } -func (x fastReflection_RequestListSnapshots_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestListSnapshots +func (x fastReflection_RequestOfferSnapshot_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestOfferSnapshot } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestListSnapshots) Descriptor() protoreflect.MessageDescriptor { - return md_RequestListSnapshots +func (x *fastReflection_RequestOfferSnapshot) Descriptor() protoreflect.MessageDescriptor { + return md_RequestOfferSnapshot } // 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_RequestListSnapshots) Type() protoreflect.MessageType { - return _fastReflection_RequestListSnapshots_messageType +func (x *fastReflection_RequestOfferSnapshot) Type() protoreflect.MessageType { + return _fastReflection_RequestOfferSnapshot_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestListSnapshots) New() protoreflect.Message { - return new(fastReflection_RequestListSnapshots) +func (x *fastReflection_RequestOfferSnapshot) New() protoreflect.Message { + return new(fastReflection_RequestOfferSnapshot) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestListSnapshots) Interface() protoreflect.ProtoMessage { - return (*RequestListSnapshots)(x) +func (x *fastReflection_RequestOfferSnapshot) Interface() protoreflect.ProtoMessage { + return (*RequestOfferSnapshot)(x) } // Range iterates over every populated field in an undefined order, @@ -7583,7 +7631,19 @@ func (x *fastReflection_RequestListSnapshots) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestListSnapshots) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_RequestOfferSnapshot) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Snapshot != nil { + value := protoreflect.ValueOfMessage(x.Snapshot.ProtoReflect()) + if !f(fd_RequestOfferSnapshot_snapshot, value) { + return + } + } + if len(x.AppHash) != 0 { + value := protoreflect.ValueOfBytes(x.AppHash) + if !f(fd_RequestOfferSnapshot_app_hash, value) { + return + } + } } // Has reports whether a field is populated. @@ -7597,13 +7657,17 @@ func (x *fastReflection_RequestListSnapshots) Range(f func(protoreflect.FieldDes // 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_RequestListSnapshots) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestOfferSnapshot) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "tendermint.abci.RequestOfferSnapshot.snapshot": + return x.Snapshot != nil + case "tendermint.abci.RequestOfferSnapshot.app_hash": + return len(x.AppHash) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot does not contain field %s", fd.FullName())) } } @@ -7613,13 +7677,17 @@ func (x *fastReflection_RequestListSnapshots) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestListSnapshots) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestOfferSnapshot) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "tendermint.abci.RequestOfferSnapshot.snapshot": + x.Snapshot = nil + case "tendermint.abci.RequestOfferSnapshot.app_hash": + x.AppHash = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot does not contain field %s", fd.FullName())) } } @@ -7629,13 +7697,19 @@ func (x *fastReflection_RequestListSnapshots) Clear(fd protoreflect.FieldDescrip // 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_RequestListSnapshots) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestOfferSnapshot) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "tendermint.abci.RequestOfferSnapshot.snapshot": + value := x.Snapshot + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.RequestOfferSnapshot.app_hash": + value := x.AppHash + return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot does not contain field %s", descriptor.FullName())) } } @@ -7649,13 +7723,17 @@ func (x *fastReflection_RequestListSnapshots) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestListSnapshots) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestOfferSnapshot) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "tendermint.abci.RequestOfferSnapshot.snapshot": + x.Snapshot = value.Message().Interface().(*Snapshot) + case "tendermint.abci.RequestOfferSnapshot.app_hash": + x.AppHash = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot does not contain field %s", fd.FullName())) } } @@ -7669,36 +7747,48 @@ func (x *fastReflection_RequestListSnapshots) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestListSnapshots) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestOfferSnapshot) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "tendermint.abci.RequestOfferSnapshot.snapshot": + if x.Snapshot == nil { + x.Snapshot = new(Snapshot) + } + return protoreflect.ValueOfMessage(x.Snapshot.ProtoReflect()) + case "tendermint.abci.RequestOfferSnapshot.app_hash": + panic(fmt.Errorf("field app_hash of message tendermint.abci.RequestOfferSnapshot is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot 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_RequestListSnapshots) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestOfferSnapshot) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "tendermint.abci.RequestOfferSnapshot.snapshot": + m := new(Snapshot) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.RequestOfferSnapshot.app_hash": + return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.RequestListSnapshots does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot 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_RequestListSnapshots) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestOfferSnapshot) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestListSnapshots", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestOfferSnapshot", d.FullName())) } panic("unreachable") } @@ -7706,7 +7796,7 @@ func (x *fastReflection_RequestListSnapshots) WhichOneof(d protoreflect.OneofDes // 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_RequestListSnapshots) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestOfferSnapshot) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7717,7 +7807,7 @@ func (x *fastReflection_RequestListSnapshots) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestListSnapshots) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestOfferSnapshot) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7729,7 +7819,7 @@ func (x *fastReflection_RequestListSnapshots) SetUnknown(fields protoreflect.Raw // 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_RequestListSnapshots) IsValid() bool { +func (x *fastReflection_RequestOfferSnapshot) IsValid() bool { return x != nil } @@ -7739,9 +7829,9 @@ func (x *fastReflection_RequestListSnapshots) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestListSnapshots) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestOfferSnapshot) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestListSnapshots) + x := input.Message.Interface().(*RequestOfferSnapshot) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7753,6 +7843,14 @@ func (x *fastReflection_RequestListSnapshots) ProtoMethods() *protoiface.Methods var n int var l int _ = l + if x.Snapshot != nil { + l = options.Size(x.Snapshot) + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.AppHash) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -7763,7 +7861,7 @@ func (x *fastReflection_RequestListSnapshots) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestListSnapshots) + x := input.Message.Interface().(*RequestOfferSnapshot) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7782,6 +7880,27 @@ func (x *fastReflection_RequestListSnapshots) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.AppHash) > 0 { + i -= len(x.AppHash) + copy(dAtA[i:], x.AppHash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AppHash))) + i-- + dAtA[i] = 0x12 + } + if x.Snapshot != nil { + encoded, err := options.Marshal(x.Snapshot) + 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] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -7793,7 +7912,7 @@ func (x *fastReflection_RequestListSnapshots) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestListSnapshots) + x := input.Message.Interface().(*RequestOfferSnapshot) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7825,18 +7944,88 @@ func (x *fastReflection_RequestListSnapshots) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestListSnapshots: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestOfferSnapshot: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestListSnapshots: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestOfferSnapshot: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Snapshot", 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.Snapshot == nil { + x.Snapshot = &Snapshot{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Snapshot); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AppHash", 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.AppHash = append(x.AppHash[:0], dAtA[iNdEx:postIndex]...) + if x.AppHash == nil { + x.AppHash = []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 } @@ -7867,27 +8056,29 @@ func (x *fastReflection_RequestListSnapshots) ProtoMethods() *protoiface.Methods } var ( - md_RequestOfferSnapshot protoreflect.MessageDescriptor - fd_RequestOfferSnapshot_snapshot protoreflect.FieldDescriptor - fd_RequestOfferSnapshot_app_hash protoreflect.FieldDescriptor + md_RequestLoadSnapshotChunk protoreflect.MessageDescriptor + fd_RequestLoadSnapshotChunk_height protoreflect.FieldDescriptor + fd_RequestLoadSnapshotChunk_format protoreflect.FieldDescriptor + fd_RequestLoadSnapshotChunk_chunk protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_RequestOfferSnapshot = File_tendermint_abci_types_proto.Messages().ByName("RequestOfferSnapshot") - fd_RequestOfferSnapshot_snapshot = md_RequestOfferSnapshot.Fields().ByName("snapshot") - fd_RequestOfferSnapshot_app_hash = md_RequestOfferSnapshot.Fields().ByName("app_hash") + md_RequestLoadSnapshotChunk = File_tendermint_abci_types_proto.Messages().ByName("RequestLoadSnapshotChunk") + fd_RequestLoadSnapshotChunk_height = md_RequestLoadSnapshotChunk.Fields().ByName("height") + fd_RequestLoadSnapshotChunk_format = md_RequestLoadSnapshotChunk.Fields().ByName("format") + fd_RequestLoadSnapshotChunk_chunk = md_RequestLoadSnapshotChunk.Fields().ByName("chunk") } -var _ protoreflect.Message = (*fastReflection_RequestOfferSnapshot)(nil) +var _ protoreflect.Message = (*fastReflection_RequestLoadSnapshotChunk)(nil) -type fastReflection_RequestOfferSnapshot RequestOfferSnapshot +type fastReflection_RequestLoadSnapshotChunk RequestLoadSnapshotChunk -func (x *RequestOfferSnapshot) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestOfferSnapshot)(x) +func (x *RequestLoadSnapshotChunk) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestLoadSnapshotChunk)(x) } -func (x *RequestOfferSnapshot) slowProtoReflect() protoreflect.Message { +func (x *RequestLoadSnapshotChunk) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7899,43 +8090,43 @@ func (x *RequestOfferSnapshot) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestOfferSnapshot_messageType fastReflection_RequestOfferSnapshot_messageType -var _ protoreflect.MessageType = fastReflection_RequestOfferSnapshot_messageType{} +var _fastReflection_RequestLoadSnapshotChunk_messageType fastReflection_RequestLoadSnapshotChunk_messageType +var _ protoreflect.MessageType = fastReflection_RequestLoadSnapshotChunk_messageType{} -type fastReflection_RequestOfferSnapshot_messageType struct{} +type fastReflection_RequestLoadSnapshotChunk_messageType struct{} -func (x fastReflection_RequestOfferSnapshot_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestOfferSnapshot)(nil) +func (x fastReflection_RequestLoadSnapshotChunk_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestLoadSnapshotChunk)(nil) } -func (x fastReflection_RequestOfferSnapshot_messageType) New() protoreflect.Message { - return new(fastReflection_RequestOfferSnapshot) +func (x fastReflection_RequestLoadSnapshotChunk_messageType) New() protoreflect.Message { + return new(fastReflection_RequestLoadSnapshotChunk) } -func (x fastReflection_RequestOfferSnapshot_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestOfferSnapshot +func (x fastReflection_RequestLoadSnapshotChunk_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestLoadSnapshotChunk } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestOfferSnapshot) Descriptor() protoreflect.MessageDescriptor { - return md_RequestOfferSnapshot +func (x *fastReflection_RequestLoadSnapshotChunk) Descriptor() protoreflect.MessageDescriptor { + return md_RequestLoadSnapshotChunk } // 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_RequestOfferSnapshot) Type() protoreflect.MessageType { - return _fastReflection_RequestOfferSnapshot_messageType +func (x *fastReflection_RequestLoadSnapshotChunk) Type() protoreflect.MessageType { + return _fastReflection_RequestLoadSnapshotChunk_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestOfferSnapshot) New() protoreflect.Message { - return new(fastReflection_RequestOfferSnapshot) +func (x *fastReflection_RequestLoadSnapshotChunk) New() protoreflect.Message { + return new(fastReflection_RequestLoadSnapshotChunk) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestOfferSnapshot) Interface() protoreflect.ProtoMessage { - return (*RequestOfferSnapshot)(x) +func (x *fastReflection_RequestLoadSnapshotChunk) Interface() protoreflect.ProtoMessage { + return (*RequestLoadSnapshotChunk)(x) } // Range iterates over every populated field in an undefined order, @@ -7943,16 +8134,22 @@ func (x *fastReflection_RequestOfferSnapshot) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestOfferSnapshot) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Snapshot != nil { - value := protoreflect.ValueOfMessage(x.Snapshot.ProtoReflect()) - if !f(fd_RequestOfferSnapshot_snapshot, value) { +func (x *fastReflection_RequestLoadSnapshotChunk) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Height != uint64(0) { + value := protoreflect.ValueOfUint64(x.Height) + if !f(fd_RequestLoadSnapshotChunk_height, value) { return } } - if len(x.AppHash) != 0 { - value := protoreflect.ValueOfBytes(x.AppHash) - if !f(fd_RequestOfferSnapshot_app_hash, value) { + if x.Format != uint32(0) { + value := protoreflect.ValueOfUint32(x.Format) + if !f(fd_RequestLoadSnapshotChunk_format, value) { + return + } + } + if x.Chunk != uint32(0) { + value := protoreflect.ValueOfUint32(x.Chunk) + if !f(fd_RequestLoadSnapshotChunk_chunk, value) { return } } @@ -7969,17 +8166,19 @@ func (x *fastReflection_RequestOfferSnapshot) Range(f func(protoreflect.FieldDes // 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_RequestOfferSnapshot) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestLoadSnapshotChunk) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.RequestOfferSnapshot.snapshot": - return x.Snapshot != nil - case "tendermint.abci.RequestOfferSnapshot.app_hash": - return len(x.AppHash) != 0 + case "tendermint.abci.RequestLoadSnapshotChunk.height": + return x.Height != uint64(0) + case "tendermint.abci.RequestLoadSnapshotChunk.format": + return x.Format != uint32(0) + case "tendermint.abci.RequestLoadSnapshotChunk.chunk": + return x.Chunk != uint32(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk does not contain field %s", fd.FullName())) } } @@ -7989,17 +8188,19 @@ func (x *fastReflection_RequestOfferSnapshot) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestOfferSnapshot) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestLoadSnapshotChunk) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.RequestOfferSnapshot.snapshot": - x.Snapshot = nil - case "tendermint.abci.RequestOfferSnapshot.app_hash": - x.AppHash = nil + case "tendermint.abci.RequestLoadSnapshotChunk.height": + x.Height = uint64(0) + case "tendermint.abci.RequestLoadSnapshotChunk.format": + x.Format = uint32(0) + case "tendermint.abci.RequestLoadSnapshotChunk.chunk": + x.Chunk = uint32(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk does not contain field %s", fd.FullName())) } } @@ -8009,19 +8210,22 @@ func (x *fastReflection_RequestOfferSnapshot) Clear(fd protoreflect.FieldDescrip // 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_RequestOfferSnapshot) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestLoadSnapshotChunk) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.RequestOfferSnapshot.snapshot": - value := x.Snapshot - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.RequestOfferSnapshot.app_hash": - value := x.AppHash - return protoreflect.ValueOfBytes(value) + case "tendermint.abci.RequestLoadSnapshotChunk.height": + value := x.Height + return protoreflect.ValueOfUint64(value) + case "tendermint.abci.RequestLoadSnapshotChunk.format": + value := x.Format + return protoreflect.ValueOfUint32(value) + case "tendermint.abci.RequestLoadSnapshotChunk.chunk": + value := x.Chunk + return protoreflect.ValueOfUint32(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk does not contain field %s", descriptor.FullName())) } } @@ -8035,17 +8239,19 @@ func (x *fastReflection_RequestOfferSnapshot) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestOfferSnapshot) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestLoadSnapshotChunk) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.RequestOfferSnapshot.snapshot": - x.Snapshot = value.Message().Interface().(*Snapshot) - case "tendermint.abci.RequestOfferSnapshot.app_hash": - x.AppHash = value.Bytes() + case "tendermint.abci.RequestLoadSnapshotChunk.height": + x.Height = value.Uint() + case "tendermint.abci.RequestLoadSnapshotChunk.format": + x.Format = uint32(value.Uint()) + case "tendermint.abci.RequestLoadSnapshotChunk.chunk": + x.Chunk = uint32(value.Uint()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk does not contain field %s", fd.FullName())) } } @@ -8059,48 +8265,48 @@ func (x *fastReflection_RequestOfferSnapshot) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestOfferSnapshot) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestLoadSnapshotChunk) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestOfferSnapshot.snapshot": - if x.Snapshot == nil { - x.Snapshot = new(Snapshot) - } - return protoreflect.ValueOfMessage(x.Snapshot.ProtoReflect()) - case "tendermint.abci.RequestOfferSnapshot.app_hash": - panic(fmt.Errorf("field app_hash of message tendermint.abci.RequestOfferSnapshot is not mutable")) + case "tendermint.abci.RequestLoadSnapshotChunk.height": + panic(fmt.Errorf("field height of message tendermint.abci.RequestLoadSnapshotChunk is not mutable")) + case "tendermint.abci.RequestLoadSnapshotChunk.format": + panic(fmt.Errorf("field format of message tendermint.abci.RequestLoadSnapshotChunk is not mutable")) + case "tendermint.abci.RequestLoadSnapshotChunk.chunk": + panic(fmt.Errorf("field chunk of message tendermint.abci.RequestLoadSnapshotChunk is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk 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_RequestOfferSnapshot) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestLoadSnapshotChunk) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestOfferSnapshot.snapshot": - m := new(Snapshot) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.RequestOfferSnapshot.app_hash": - return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.RequestLoadSnapshotChunk.height": + return protoreflect.ValueOfUint64(uint64(0)) + case "tendermint.abci.RequestLoadSnapshotChunk.format": + return protoreflect.ValueOfUint32(uint32(0)) + case "tendermint.abci.RequestLoadSnapshotChunk.chunk": + return protoreflect.ValueOfUint32(uint32(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestOfferSnapshot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk 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_RequestOfferSnapshot) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestLoadSnapshotChunk) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestOfferSnapshot", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestLoadSnapshotChunk", d.FullName())) } panic("unreachable") } @@ -8108,7 +8314,7 @@ func (x *fastReflection_RequestOfferSnapshot) WhichOneof(d protoreflect.OneofDes // 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_RequestOfferSnapshot) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestLoadSnapshotChunk) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8119,7 +8325,7 @@ func (x *fastReflection_RequestOfferSnapshot) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestOfferSnapshot) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestLoadSnapshotChunk) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8131,7 +8337,7 @@ func (x *fastReflection_RequestOfferSnapshot) SetUnknown(fields protoreflect.Raw // 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_RequestOfferSnapshot) IsValid() bool { +func (x *fastReflection_RequestLoadSnapshotChunk) IsValid() bool { return x != nil } @@ -8141,9 +8347,9 @@ func (x *fastReflection_RequestOfferSnapshot) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestOfferSnapshot) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestLoadSnapshotChunk) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestOfferSnapshot) + x := input.Message.Interface().(*RequestLoadSnapshotChunk) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8155,13 +8361,14 @@ func (x *fastReflection_RequestOfferSnapshot) ProtoMethods() *protoiface.Methods var n int var l int _ = l - if x.Snapshot != nil { - l = options.Size(x.Snapshot) - n += 1 + l + runtime.Sov(uint64(l)) + if x.Height != 0 { + n += 1 + runtime.Sov(uint64(x.Height)) } - l = len(x.AppHash) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.Format != 0 { + n += 1 + runtime.Sov(uint64(x.Format)) + } + if x.Chunk != 0 { + n += 1 + runtime.Sov(uint64(x.Chunk)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -8173,7 +8380,7 @@ func (x *fastReflection_RequestOfferSnapshot) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestOfferSnapshot) + x := input.Message.Interface().(*RequestLoadSnapshotChunk) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8192,26 +8399,20 @@ func (x *fastReflection_RequestOfferSnapshot) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.AppHash) > 0 { - i -= len(x.AppHash) - copy(dAtA[i:], x.AppHash) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AppHash))) + if x.Chunk != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Chunk)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x18 } - if x.Snapshot != nil { - encoded, err := options.Marshal(x.Snapshot) - 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))) + if x.Format != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Format)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x10 + } + if x.Height != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) + i-- + dAtA[i] = 0x8 } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -8224,7 +8425,7 @@ func (x *fastReflection_RequestOfferSnapshot) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestOfferSnapshot) + x := input.Message.Interface().(*RequestLoadSnapshotChunk) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8256,17 +8457,17 @@ func (x *fastReflection_RequestOfferSnapshot) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestOfferSnapshot: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestLoadSnapshotChunk: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestOfferSnapshot: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestLoadSnapshotChunk: 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 Snapshot", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) } - var msglen int + x.Height = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -8276,33 +8477,16 @@ func (x *fastReflection_RequestOfferSnapshot) ProtoMethods() *protoiface.Methods } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + x.Height |= uint64(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.Snapshot == nil { - x.Snapshot = &Snapshot{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Snapshot); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Format", wireType) } - var byteLen int + x.Format = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -8312,26 +8496,30 @@ func (x *fastReflection_RequestOfferSnapshot) ProtoMethods() *protoiface.Methods } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + x.Format |= uint32(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 + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType) } - x.AppHash = append(x.AppHash[:0], dAtA[iNdEx:postIndex]...) - if x.AppHash == nil { - x.AppHash = []byte{} + x.Chunk = 0 + 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++ + x.Chunk |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -8368,29 +8556,29 @@ func (x *fastReflection_RequestOfferSnapshot) ProtoMethods() *protoiface.Methods } var ( - md_RequestLoadSnapshotChunk protoreflect.MessageDescriptor - fd_RequestLoadSnapshotChunk_height protoreflect.FieldDescriptor - fd_RequestLoadSnapshotChunk_format protoreflect.FieldDescriptor - fd_RequestLoadSnapshotChunk_chunk protoreflect.FieldDescriptor + md_RequestApplySnapshotChunk protoreflect.MessageDescriptor + fd_RequestApplySnapshotChunk_index protoreflect.FieldDescriptor + fd_RequestApplySnapshotChunk_chunk protoreflect.FieldDescriptor + fd_RequestApplySnapshotChunk_sender protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_RequestLoadSnapshotChunk = File_tendermint_abci_types_proto.Messages().ByName("RequestLoadSnapshotChunk") - fd_RequestLoadSnapshotChunk_height = md_RequestLoadSnapshotChunk.Fields().ByName("height") - fd_RequestLoadSnapshotChunk_format = md_RequestLoadSnapshotChunk.Fields().ByName("format") - fd_RequestLoadSnapshotChunk_chunk = md_RequestLoadSnapshotChunk.Fields().ByName("chunk") + md_RequestApplySnapshotChunk = File_tendermint_abci_types_proto.Messages().ByName("RequestApplySnapshotChunk") + fd_RequestApplySnapshotChunk_index = md_RequestApplySnapshotChunk.Fields().ByName("index") + fd_RequestApplySnapshotChunk_chunk = md_RequestApplySnapshotChunk.Fields().ByName("chunk") + fd_RequestApplySnapshotChunk_sender = md_RequestApplySnapshotChunk.Fields().ByName("sender") } -var _ protoreflect.Message = (*fastReflection_RequestLoadSnapshotChunk)(nil) +var _ protoreflect.Message = (*fastReflection_RequestApplySnapshotChunk)(nil) -type fastReflection_RequestLoadSnapshotChunk RequestLoadSnapshotChunk +type fastReflection_RequestApplySnapshotChunk RequestApplySnapshotChunk -func (x *RequestLoadSnapshotChunk) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestLoadSnapshotChunk)(x) +func (x *RequestApplySnapshotChunk) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestApplySnapshotChunk)(x) } -func (x *RequestLoadSnapshotChunk) slowProtoReflect() protoreflect.Message { +func (x *RequestApplySnapshotChunk) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -8402,43 +8590,43 @@ func (x *RequestLoadSnapshotChunk) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestLoadSnapshotChunk_messageType fastReflection_RequestLoadSnapshotChunk_messageType -var _ protoreflect.MessageType = fastReflection_RequestLoadSnapshotChunk_messageType{} +var _fastReflection_RequestApplySnapshotChunk_messageType fastReflection_RequestApplySnapshotChunk_messageType +var _ protoreflect.MessageType = fastReflection_RequestApplySnapshotChunk_messageType{} -type fastReflection_RequestLoadSnapshotChunk_messageType struct{} +type fastReflection_RequestApplySnapshotChunk_messageType struct{} -func (x fastReflection_RequestLoadSnapshotChunk_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestLoadSnapshotChunk)(nil) +func (x fastReflection_RequestApplySnapshotChunk_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestApplySnapshotChunk)(nil) } -func (x fastReflection_RequestLoadSnapshotChunk_messageType) New() protoreflect.Message { - return new(fastReflection_RequestLoadSnapshotChunk) +func (x fastReflection_RequestApplySnapshotChunk_messageType) New() protoreflect.Message { + return new(fastReflection_RequestApplySnapshotChunk) } -func (x fastReflection_RequestLoadSnapshotChunk_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestLoadSnapshotChunk +func (x fastReflection_RequestApplySnapshotChunk_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestApplySnapshotChunk } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestLoadSnapshotChunk) Descriptor() protoreflect.MessageDescriptor { - return md_RequestLoadSnapshotChunk +func (x *fastReflection_RequestApplySnapshotChunk) Descriptor() protoreflect.MessageDescriptor { + return md_RequestApplySnapshotChunk } // 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_RequestLoadSnapshotChunk) Type() protoreflect.MessageType { - return _fastReflection_RequestLoadSnapshotChunk_messageType +func (x *fastReflection_RequestApplySnapshotChunk) Type() protoreflect.MessageType { + return _fastReflection_RequestApplySnapshotChunk_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestLoadSnapshotChunk) New() protoreflect.Message { - return new(fastReflection_RequestLoadSnapshotChunk) +func (x *fastReflection_RequestApplySnapshotChunk) New() protoreflect.Message { + return new(fastReflection_RequestApplySnapshotChunk) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestLoadSnapshotChunk) Interface() protoreflect.ProtoMessage { - return (*RequestLoadSnapshotChunk)(x) +func (x *fastReflection_RequestApplySnapshotChunk) Interface() protoreflect.ProtoMessage { + return (*RequestApplySnapshotChunk)(x) } // Range iterates over every populated field in an undefined order, @@ -8446,22 +8634,22 @@ func (x *fastReflection_RequestLoadSnapshotChunk) Interface() protoreflect.Proto // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestLoadSnapshotChunk) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Height != uint64(0) { - value := protoreflect.ValueOfUint64(x.Height) - if !f(fd_RequestLoadSnapshotChunk_height, value) { +func (x *fastReflection_RequestApplySnapshotChunk) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Index != uint32(0) { + value := protoreflect.ValueOfUint32(x.Index) + if !f(fd_RequestApplySnapshotChunk_index, value) { return } } - if x.Format != uint32(0) { - value := protoreflect.ValueOfUint32(x.Format) - if !f(fd_RequestLoadSnapshotChunk_format, value) { + if len(x.Chunk) != 0 { + value := protoreflect.ValueOfBytes(x.Chunk) + if !f(fd_RequestApplySnapshotChunk_chunk, value) { return } } - if x.Chunk != uint32(0) { - value := protoreflect.ValueOfUint32(x.Chunk) - if !f(fd_RequestLoadSnapshotChunk_chunk, value) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RequestApplySnapshotChunk_sender, value) { return } } @@ -8478,19 +8666,19 @@ func (x *fastReflection_RequestLoadSnapshotChunk) Range(f func(protoreflect.Fiel // 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_RequestLoadSnapshotChunk) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestApplySnapshotChunk) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.RequestLoadSnapshotChunk.height": - return x.Height != uint64(0) - case "tendermint.abci.RequestLoadSnapshotChunk.format": - return x.Format != uint32(0) - case "tendermint.abci.RequestLoadSnapshotChunk.chunk": - return x.Chunk != uint32(0) + case "tendermint.abci.RequestApplySnapshotChunk.index": + return x.Index != uint32(0) + case "tendermint.abci.RequestApplySnapshotChunk.chunk": + return len(x.Chunk) != 0 + case "tendermint.abci.RequestApplySnapshotChunk.sender": + return x.Sender != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk does not contain field %s", fd.FullName())) } } @@ -8500,19 +8688,19 @@ func (x *fastReflection_RequestLoadSnapshotChunk) Has(fd protoreflect.FieldDescr // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestLoadSnapshotChunk) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestApplySnapshotChunk) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.RequestLoadSnapshotChunk.height": - x.Height = uint64(0) - case "tendermint.abci.RequestLoadSnapshotChunk.format": - x.Format = uint32(0) - case "tendermint.abci.RequestLoadSnapshotChunk.chunk": - x.Chunk = uint32(0) + case "tendermint.abci.RequestApplySnapshotChunk.index": + x.Index = uint32(0) + case "tendermint.abci.RequestApplySnapshotChunk.chunk": + x.Chunk = nil + case "tendermint.abci.RequestApplySnapshotChunk.sender": + x.Sender = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk does not contain field %s", fd.FullName())) } } @@ -8522,22 +8710,22 @@ func (x *fastReflection_RequestLoadSnapshotChunk) Clear(fd protoreflect.FieldDes // 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_RequestLoadSnapshotChunk) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestApplySnapshotChunk) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.RequestLoadSnapshotChunk.height": - value := x.Height - return protoreflect.ValueOfUint64(value) - case "tendermint.abci.RequestLoadSnapshotChunk.format": - value := x.Format + case "tendermint.abci.RequestApplySnapshotChunk.index": + value := x.Index return protoreflect.ValueOfUint32(value) - case "tendermint.abci.RequestLoadSnapshotChunk.chunk": + case "tendermint.abci.RequestApplySnapshotChunk.chunk": value := x.Chunk - return protoreflect.ValueOfUint32(value) + return protoreflect.ValueOfBytes(value) + case "tendermint.abci.RequestApplySnapshotChunk.sender": + value := x.Sender + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk does not contain field %s", descriptor.FullName())) } } @@ -8551,19 +8739,19 @@ func (x *fastReflection_RequestLoadSnapshotChunk) Get(descriptor protoreflect.Fi // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestLoadSnapshotChunk) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestApplySnapshotChunk) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.RequestLoadSnapshotChunk.height": - x.Height = value.Uint() - case "tendermint.abci.RequestLoadSnapshotChunk.format": - x.Format = uint32(value.Uint()) - case "tendermint.abci.RequestLoadSnapshotChunk.chunk": - x.Chunk = uint32(value.Uint()) + case "tendermint.abci.RequestApplySnapshotChunk.index": + x.Index = uint32(value.Uint()) + case "tendermint.abci.RequestApplySnapshotChunk.chunk": + x.Chunk = value.Bytes() + case "tendermint.abci.RequestApplySnapshotChunk.sender": + x.Sender = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk does not contain field %s", fd.FullName())) } } @@ -8577,48 +8765,48 @@ func (x *fastReflection_RequestLoadSnapshotChunk) Set(fd protoreflect.FieldDescr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestLoadSnapshotChunk) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestApplySnapshotChunk) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestLoadSnapshotChunk.height": - panic(fmt.Errorf("field height of message tendermint.abci.RequestLoadSnapshotChunk is not mutable")) - case "tendermint.abci.RequestLoadSnapshotChunk.format": - panic(fmt.Errorf("field format of message tendermint.abci.RequestLoadSnapshotChunk is not mutable")) - case "tendermint.abci.RequestLoadSnapshotChunk.chunk": - panic(fmt.Errorf("field chunk of message tendermint.abci.RequestLoadSnapshotChunk is not mutable")) + case "tendermint.abci.RequestApplySnapshotChunk.index": + panic(fmt.Errorf("field index of message tendermint.abci.RequestApplySnapshotChunk is not mutable")) + case "tendermint.abci.RequestApplySnapshotChunk.chunk": + panic(fmt.Errorf("field chunk of message tendermint.abci.RequestApplySnapshotChunk is not mutable")) + case "tendermint.abci.RequestApplySnapshotChunk.sender": + panic(fmt.Errorf("field sender of message tendermint.abci.RequestApplySnapshotChunk is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk 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_RequestLoadSnapshotChunk) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestApplySnapshotChunk) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestLoadSnapshotChunk.height": - return protoreflect.ValueOfUint64(uint64(0)) - case "tendermint.abci.RequestLoadSnapshotChunk.format": - return protoreflect.ValueOfUint32(uint32(0)) - case "tendermint.abci.RequestLoadSnapshotChunk.chunk": + case "tendermint.abci.RequestApplySnapshotChunk.index": return protoreflect.ValueOfUint32(uint32(0)) + case "tendermint.abci.RequestApplySnapshotChunk.chunk": + return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.RequestApplySnapshotChunk.sender": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.RequestLoadSnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk 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_RequestLoadSnapshotChunk) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestApplySnapshotChunk) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestLoadSnapshotChunk", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestApplySnapshotChunk", d.FullName())) } panic("unreachable") } @@ -8626,7 +8814,7 @@ func (x *fastReflection_RequestLoadSnapshotChunk) WhichOneof(d protoreflect.Oneo // 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_RequestLoadSnapshotChunk) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestApplySnapshotChunk) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8637,7 +8825,7 @@ func (x *fastReflection_RequestLoadSnapshotChunk) GetUnknown() protoreflect.RawF // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestLoadSnapshotChunk) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestApplySnapshotChunk) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8649,7 +8837,7 @@ func (x *fastReflection_RequestLoadSnapshotChunk) SetUnknown(fields protoreflect // 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_RequestLoadSnapshotChunk) IsValid() bool { +func (x *fastReflection_RequestApplySnapshotChunk) IsValid() bool { return x != nil } @@ -8659,9 +8847,9 @@ func (x *fastReflection_RequestLoadSnapshotChunk) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestLoadSnapshotChunk) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestApplySnapshotChunk) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestLoadSnapshotChunk) + x := input.Message.Interface().(*RequestApplySnapshotChunk) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8673,14 +8861,16 @@ func (x *fastReflection_RequestLoadSnapshotChunk) ProtoMethods() *protoiface.Met var n int var l int _ = l - if x.Height != 0 { - n += 1 + runtime.Sov(uint64(x.Height)) + if x.Index != 0 { + n += 1 + runtime.Sov(uint64(x.Index)) } - if x.Format != 0 { - n += 1 + runtime.Sov(uint64(x.Format)) + l = len(x.Chunk) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) } - if x.Chunk != 0 { - n += 1 + runtime.Sov(uint64(x.Chunk)) + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -8692,7 +8882,7 @@ func (x *fastReflection_RequestLoadSnapshotChunk) ProtoMethods() *protoiface.Met } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestLoadSnapshotChunk) + x := input.Message.Interface().(*RequestApplySnapshotChunk) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8711,18 +8901,22 @@ func (x *fastReflection_RequestLoadSnapshotChunk) ProtoMethods() *protoiface.Met i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Chunk != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Chunk)) + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if x.Format != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Format)) + if len(x.Chunk) > 0 { + i -= len(x.Chunk) + copy(dAtA[i:], x.Chunk) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Chunk))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if x.Height != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) + if x.Index != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Index)) i-- dAtA[i] = 0x8 } @@ -8737,7 +8931,7 @@ func (x *fastReflection_RequestLoadSnapshotChunk) ProtoMethods() *protoiface.Met }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestLoadSnapshotChunk) + x := input.Message.Interface().(*RequestApplySnapshotChunk) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8769,17 +8963,17 @@ func (x *fastReflection_RequestLoadSnapshotChunk) ProtoMethods() *protoiface.Met fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestLoadSnapshotChunk: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestApplySnapshotChunk: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestLoadSnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestApplySnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) } - x.Height = 0 + x.Index = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -8789,16 +8983,16 @@ func (x *fastReflection_RequestLoadSnapshotChunk) ProtoMethods() *protoiface.Met } b := dAtA[iNdEx] iNdEx++ - x.Height |= uint64(b&0x7F) << shift + x.Index |= uint32(b&0x7F) << shift if b < 0x80 { break } } case 2: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Format", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType) } - x.Format = 0 + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -8808,16 +9002,31 @@ func (x *fastReflection_RequestLoadSnapshotChunk) ProtoMethods() *protoiface.Met } b := dAtA[iNdEx] iNdEx++ - x.Format |= uint32(b&0x7F) << shift + 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.Chunk = append(x.Chunk[:0], dAtA[iNdEx:postIndex]...) + if x.Chunk == nil { + x.Chunk = []byte{} + } + iNdEx = postIndex case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) } - x.Chunk = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -8827,11 +9036,24 @@ func (x *fastReflection_RequestLoadSnapshotChunk) ProtoMethods() *protoiface.Met } b := dAtA[iNdEx] iNdEx++ - x.Chunk |= uint32(b&0x7F) << shift + 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.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -8867,30 +9089,137 @@ func (x *fastReflection_RequestLoadSnapshotChunk) ProtoMethods() *protoiface.Met } } +var _ protoreflect.List = (*_RequestPrepareProposal_2_list)(nil) + +type _RequestPrepareProposal_2_list struct { + list *[][]byte +} + +func (x *_RequestPrepareProposal_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_RequestPrepareProposal_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfBytes((*x.list)[i]) +} + +func (x *_RequestPrepareProposal_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Bytes() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_RequestPrepareProposal_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Bytes() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_RequestPrepareProposal_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message RequestPrepareProposal at list field Txs as it is not of Message kind")) +} + +func (x *_RequestPrepareProposal_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_RequestPrepareProposal_2_list) NewElement() protoreflect.Value { + var v []byte + return protoreflect.ValueOfBytes(v) +} + +func (x *_RequestPrepareProposal_2_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_RequestPrepareProposal_4_list)(nil) + +type _RequestPrepareProposal_4_list struct { + list *[]*Misbehavior +} + +func (x *_RequestPrepareProposal_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_RequestPrepareProposal_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_RequestPrepareProposal_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Misbehavior) + (*x.list)[i] = concreteValue +} + +func (x *_RequestPrepareProposal_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Misbehavior) + *x.list = append(*x.list, concreteValue) +} + +func (x *_RequestPrepareProposal_4_list) AppendMutable() protoreflect.Value { + v := new(Misbehavior) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_RequestPrepareProposal_4_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_RequestPrepareProposal_4_list) NewElement() protoreflect.Value { + v := new(Misbehavior) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_RequestPrepareProposal_4_list) IsValid() bool { + return x.list != nil +} + var ( - md_RequestApplySnapshotChunk protoreflect.MessageDescriptor - fd_RequestApplySnapshotChunk_index protoreflect.FieldDescriptor - fd_RequestApplySnapshotChunk_chunk protoreflect.FieldDescriptor - fd_RequestApplySnapshotChunk_sender protoreflect.FieldDescriptor + md_RequestPrepareProposal protoreflect.MessageDescriptor + fd_RequestPrepareProposal_max_tx_bytes protoreflect.FieldDescriptor + fd_RequestPrepareProposal_txs protoreflect.FieldDescriptor + fd_RequestPrepareProposal_local_last_commit protoreflect.FieldDescriptor + fd_RequestPrepareProposal_misbehavior protoreflect.FieldDescriptor + fd_RequestPrepareProposal_height protoreflect.FieldDescriptor + fd_RequestPrepareProposal_time protoreflect.FieldDescriptor + fd_RequestPrepareProposal_next_validators_hash protoreflect.FieldDescriptor + fd_RequestPrepareProposal_proposer_address protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_RequestApplySnapshotChunk = File_tendermint_abci_types_proto.Messages().ByName("RequestApplySnapshotChunk") - fd_RequestApplySnapshotChunk_index = md_RequestApplySnapshotChunk.Fields().ByName("index") - fd_RequestApplySnapshotChunk_chunk = md_RequestApplySnapshotChunk.Fields().ByName("chunk") - fd_RequestApplySnapshotChunk_sender = md_RequestApplySnapshotChunk.Fields().ByName("sender") + md_RequestPrepareProposal = File_tendermint_abci_types_proto.Messages().ByName("RequestPrepareProposal") + fd_RequestPrepareProposal_max_tx_bytes = md_RequestPrepareProposal.Fields().ByName("max_tx_bytes") + fd_RequestPrepareProposal_txs = md_RequestPrepareProposal.Fields().ByName("txs") + fd_RequestPrepareProposal_local_last_commit = md_RequestPrepareProposal.Fields().ByName("local_last_commit") + fd_RequestPrepareProposal_misbehavior = md_RequestPrepareProposal.Fields().ByName("misbehavior") + fd_RequestPrepareProposal_height = md_RequestPrepareProposal.Fields().ByName("height") + fd_RequestPrepareProposal_time = md_RequestPrepareProposal.Fields().ByName("time") + fd_RequestPrepareProposal_next_validators_hash = md_RequestPrepareProposal.Fields().ByName("next_validators_hash") + fd_RequestPrepareProposal_proposer_address = md_RequestPrepareProposal.Fields().ByName("proposer_address") } -var _ protoreflect.Message = (*fastReflection_RequestApplySnapshotChunk)(nil) +var _ protoreflect.Message = (*fastReflection_RequestPrepareProposal)(nil) -type fastReflection_RequestApplySnapshotChunk RequestApplySnapshotChunk +type fastReflection_RequestPrepareProposal RequestPrepareProposal -func (x *RequestApplySnapshotChunk) ProtoReflect() protoreflect.Message { - return (*fastReflection_RequestApplySnapshotChunk)(x) +func (x *RequestPrepareProposal) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestPrepareProposal)(x) } -func (x *RequestApplySnapshotChunk) slowProtoReflect() protoreflect.Message { +func (x *RequestPrepareProposal) slowProtoReflect() protoreflect.Message { mi := &file_tendermint_abci_types_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -8902,43 +9231,43 @@ func (x *RequestApplySnapshotChunk) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_RequestApplySnapshotChunk_messageType fastReflection_RequestApplySnapshotChunk_messageType -var _ protoreflect.MessageType = fastReflection_RequestApplySnapshotChunk_messageType{} +var _fastReflection_RequestPrepareProposal_messageType fastReflection_RequestPrepareProposal_messageType +var _ protoreflect.MessageType = fastReflection_RequestPrepareProposal_messageType{} -type fastReflection_RequestApplySnapshotChunk_messageType struct{} +type fastReflection_RequestPrepareProposal_messageType struct{} -func (x fastReflection_RequestApplySnapshotChunk_messageType) Zero() protoreflect.Message { - return (*fastReflection_RequestApplySnapshotChunk)(nil) +func (x fastReflection_RequestPrepareProposal_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestPrepareProposal)(nil) } -func (x fastReflection_RequestApplySnapshotChunk_messageType) New() protoreflect.Message { - return new(fastReflection_RequestApplySnapshotChunk) +func (x fastReflection_RequestPrepareProposal_messageType) New() protoreflect.Message { + return new(fastReflection_RequestPrepareProposal) } -func (x fastReflection_RequestApplySnapshotChunk_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_RequestApplySnapshotChunk +func (x fastReflection_RequestPrepareProposal_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestPrepareProposal } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_RequestApplySnapshotChunk) Descriptor() protoreflect.MessageDescriptor { - return md_RequestApplySnapshotChunk +func (x *fastReflection_RequestPrepareProposal) Descriptor() protoreflect.MessageDescriptor { + return md_RequestPrepareProposal } // 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_RequestApplySnapshotChunk) Type() protoreflect.MessageType { - return _fastReflection_RequestApplySnapshotChunk_messageType +func (x *fastReflection_RequestPrepareProposal) Type() protoreflect.MessageType { + return _fastReflection_RequestPrepareProposal_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_RequestApplySnapshotChunk) New() protoreflect.Message { - return new(fastReflection_RequestApplySnapshotChunk) +func (x *fastReflection_RequestPrepareProposal) New() protoreflect.Message { + return new(fastReflection_RequestPrepareProposal) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_RequestApplySnapshotChunk) Interface() protoreflect.ProtoMessage { - return (*RequestApplySnapshotChunk)(x) +func (x *fastReflection_RequestPrepareProposal) Interface() protoreflect.ProtoMessage { + return (*RequestPrepareProposal)(x) } // Range iterates over every populated field in an undefined order, @@ -8946,22 +9275,52 @@ func (x *fastReflection_RequestApplySnapshotChunk) Interface() protoreflect.Prot // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_RequestApplySnapshotChunk) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Index != uint32(0) { - value := protoreflect.ValueOfUint32(x.Index) - if !f(fd_RequestApplySnapshotChunk_index, value) { +func (x *fastReflection_RequestPrepareProposal) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.MaxTxBytes != int64(0) { + value := protoreflect.ValueOfInt64(x.MaxTxBytes) + if !f(fd_RequestPrepareProposal_max_tx_bytes, value) { return } } - if len(x.Chunk) != 0 { - value := protoreflect.ValueOfBytes(x.Chunk) - if !f(fd_RequestApplySnapshotChunk_chunk, value) { + if len(x.Txs) != 0 { + value := protoreflect.ValueOfList(&_RequestPrepareProposal_2_list{list: &x.Txs}) + if !f(fd_RequestPrepareProposal_txs, value) { return } } - if x.Sender != "" { - value := protoreflect.ValueOfString(x.Sender) - if !f(fd_RequestApplySnapshotChunk_sender, value) { + if x.LocalLastCommit != nil { + value := protoreflect.ValueOfMessage(x.LocalLastCommit.ProtoReflect()) + if !f(fd_RequestPrepareProposal_local_last_commit, value) { + return + } + } + if len(x.Misbehavior) != 0 { + value := protoreflect.ValueOfList(&_RequestPrepareProposal_4_list{list: &x.Misbehavior}) + if !f(fd_RequestPrepareProposal_misbehavior, value) { + return + } + } + if x.Height != int64(0) { + value := protoreflect.ValueOfInt64(x.Height) + if !f(fd_RequestPrepareProposal_height, value) { + return + } + } + if x.Time != nil { + value := protoreflect.ValueOfMessage(x.Time.ProtoReflect()) + if !f(fd_RequestPrepareProposal_time, value) { + return + } + } + if len(x.NextValidatorsHash) != 0 { + value := protoreflect.ValueOfBytes(x.NextValidatorsHash) + if !f(fd_RequestPrepareProposal_next_validators_hash, value) { + return + } + } + if len(x.ProposerAddress) != 0 { + value := protoreflect.ValueOfBytes(x.ProposerAddress) + if !f(fd_RequestPrepareProposal_proposer_address, value) { return } } @@ -8978,19 +9337,29 @@ func (x *fastReflection_RequestApplySnapshotChunk) Range(f func(protoreflect.Fie // 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_RequestApplySnapshotChunk) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_RequestPrepareProposal) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.RequestApplySnapshotChunk.index": - return x.Index != uint32(0) - case "tendermint.abci.RequestApplySnapshotChunk.chunk": - return len(x.Chunk) != 0 - case "tendermint.abci.RequestApplySnapshotChunk.sender": - return x.Sender != "" + case "tendermint.abci.RequestPrepareProposal.max_tx_bytes": + return x.MaxTxBytes != int64(0) + case "tendermint.abci.RequestPrepareProposal.txs": + return len(x.Txs) != 0 + case "tendermint.abci.RequestPrepareProposal.local_last_commit": + return x.LocalLastCommit != nil + case "tendermint.abci.RequestPrepareProposal.misbehavior": + return len(x.Misbehavior) != 0 + case "tendermint.abci.RequestPrepareProposal.height": + return x.Height != int64(0) + case "tendermint.abci.RequestPrepareProposal.time": + return x.Time != nil + case "tendermint.abci.RequestPrepareProposal.next_validators_hash": + return len(x.NextValidatorsHash) != 0 + case "tendermint.abci.RequestPrepareProposal.proposer_address": + return len(x.ProposerAddress) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestPrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestPrepareProposal does not contain field %s", fd.FullName())) } } @@ -9000,19 +9369,29 @@ func (x *fastReflection_RequestApplySnapshotChunk) Has(fd protoreflect.FieldDesc // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestApplySnapshotChunk) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_RequestPrepareProposal) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.RequestApplySnapshotChunk.index": - x.Index = uint32(0) - case "tendermint.abci.RequestApplySnapshotChunk.chunk": - x.Chunk = nil - case "tendermint.abci.RequestApplySnapshotChunk.sender": - x.Sender = "" + case "tendermint.abci.RequestPrepareProposal.max_tx_bytes": + x.MaxTxBytes = int64(0) + case "tendermint.abci.RequestPrepareProposal.txs": + x.Txs = nil + case "tendermint.abci.RequestPrepareProposal.local_last_commit": + x.LocalLastCommit = nil + case "tendermint.abci.RequestPrepareProposal.misbehavior": + x.Misbehavior = nil + case "tendermint.abci.RequestPrepareProposal.height": + x.Height = int64(0) + case "tendermint.abci.RequestPrepareProposal.time": + x.Time = nil + case "tendermint.abci.RequestPrepareProposal.next_validators_hash": + x.NextValidatorsHash = nil + case "tendermint.abci.RequestPrepareProposal.proposer_address": + x.ProposerAddress = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestPrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestPrepareProposal does not contain field %s", fd.FullName())) } } @@ -9022,22 +9401,43 @@ func (x *fastReflection_RequestApplySnapshotChunk) Clear(fd protoreflect.FieldDe // 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_RequestApplySnapshotChunk) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestPrepareProposal) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.RequestApplySnapshotChunk.index": - value := x.Index - return protoreflect.ValueOfUint32(value) - case "tendermint.abci.RequestApplySnapshotChunk.chunk": - value := x.Chunk + case "tendermint.abci.RequestPrepareProposal.max_tx_bytes": + value := x.MaxTxBytes + return protoreflect.ValueOfInt64(value) + case "tendermint.abci.RequestPrepareProposal.txs": + if len(x.Txs) == 0 { + return protoreflect.ValueOfList(&_RequestPrepareProposal_2_list{}) + } + listValue := &_RequestPrepareProposal_2_list{list: &x.Txs} + return protoreflect.ValueOfList(listValue) + case "tendermint.abci.RequestPrepareProposal.local_last_commit": + value := x.LocalLastCommit + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.RequestPrepareProposal.misbehavior": + if len(x.Misbehavior) == 0 { + return protoreflect.ValueOfList(&_RequestPrepareProposal_4_list{}) + } + listValue := &_RequestPrepareProposal_4_list{list: &x.Misbehavior} + return protoreflect.ValueOfList(listValue) + case "tendermint.abci.RequestPrepareProposal.height": + value := x.Height + return protoreflect.ValueOfInt64(value) + case "tendermint.abci.RequestPrepareProposal.time": + value := x.Time + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.RequestPrepareProposal.next_validators_hash": + value := x.NextValidatorsHash + return protoreflect.ValueOfBytes(value) + case "tendermint.abci.RequestPrepareProposal.proposer_address": + value := x.ProposerAddress return protoreflect.ValueOfBytes(value) - case "tendermint.abci.RequestApplySnapshotChunk.sender": - value := x.Sender - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestPrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestPrepareProposal does not contain field %s", descriptor.FullName())) } } @@ -9051,19 +9451,33 @@ func (x *fastReflection_RequestApplySnapshotChunk) Get(descriptor protoreflect.F // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestApplySnapshotChunk) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_RequestPrepareProposal) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.RequestApplySnapshotChunk.index": - x.Index = uint32(value.Uint()) - case "tendermint.abci.RequestApplySnapshotChunk.chunk": - x.Chunk = value.Bytes() - case "tendermint.abci.RequestApplySnapshotChunk.sender": - x.Sender = value.Interface().(string) + case "tendermint.abci.RequestPrepareProposal.max_tx_bytes": + x.MaxTxBytes = value.Int() + case "tendermint.abci.RequestPrepareProposal.txs": + lv := value.List() + clv := lv.(*_RequestPrepareProposal_2_list) + x.Txs = *clv.list + case "tendermint.abci.RequestPrepareProposal.local_last_commit": + x.LocalLastCommit = value.Message().Interface().(*ExtendedCommitInfo) + case "tendermint.abci.RequestPrepareProposal.misbehavior": + lv := value.List() + clv := lv.(*_RequestPrepareProposal_4_list) + x.Misbehavior = *clv.list + case "tendermint.abci.RequestPrepareProposal.height": + x.Height = value.Int() + case "tendermint.abci.RequestPrepareProposal.time": + x.Time = value.Message().Interface().(*timestamppb.Timestamp) + case "tendermint.abci.RequestPrepareProposal.next_validators_hash": + x.NextValidatorsHash = value.Bytes() + case "tendermint.abci.RequestPrepareProposal.proposer_address": + x.ProposerAddress = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestPrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestPrepareProposal does not contain field %s", fd.FullName())) } } @@ -9077,48 +9491,86 @@ func (x *fastReflection_RequestApplySnapshotChunk) Set(fd protoreflect.FieldDesc // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestApplySnapshotChunk) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestPrepareProposal) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestApplySnapshotChunk.index": - panic(fmt.Errorf("field index of message tendermint.abci.RequestApplySnapshotChunk is not mutable")) - case "tendermint.abci.RequestApplySnapshotChunk.chunk": - panic(fmt.Errorf("field chunk of message tendermint.abci.RequestApplySnapshotChunk is not mutable")) - case "tendermint.abci.RequestApplySnapshotChunk.sender": - panic(fmt.Errorf("field sender of message tendermint.abci.RequestApplySnapshotChunk is not mutable")) + case "tendermint.abci.RequestPrepareProposal.txs": + if x.Txs == nil { + x.Txs = [][]byte{} + } + value := &_RequestPrepareProposal_2_list{list: &x.Txs} + return protoreflect.ValueOfList(value) + case "tendermint.abci.RequestPrepareProposal.local_last_commit": + if x.LocalLastCommit == nil { + x.LocalLastCommit = new(ExtendedCommitInfo) + } + return protoreflect.ValueOfMessage(x.LocalLastCommit.ProtoReflect()) + case "tendermint.abci.RequestPrepareProposal.misbehavior": + if x.Misbehavior == nil { + x.Misbehavior = []*Misbehavior{} + } + value := &_RequestPrepareProposal_4_list{list: &x.Misbehavior} + return protoreflect.ValueOfList(value) + case "tendermint.abci.RequestPrepareProposal.time": + if x.Time == nil { + x.Time = new(timestamppb.Timestamp) + } + return protoreflect.ValueOfMessage(x.Time.ProtoReflect()) + case "tendermint.abci.RequestPrepareProposal.max_tx_bytes": + panic(fmt.Errorf("field max_tx_bytes of message tendermint.abci.RequestPrepareProposal is not mutable")) + case "tendermint.abci.RequestPrepareProposal.height": + panic(fmt.Errorf("field height of message tendermint.abci.RequestPrepareProposal is not mutable")) + case "tendermint.abci.RequestPrepareProposal.next_validators_hash": + panic(fmt.Errorf("field next_validators_hash of message tendermint.abci.RequestPrepareProposal is not mutable")) + case "tendermint.abci.RequestPrepareProposal.proposer_address": + panic(fmt.Errorf("field proposer_address of message tendermint.abci.RequestPrepareProposal is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestPrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestPrepareProposal 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_RequestApplySnapshotChunk) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_RequestPrepareProposal) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.RequestApplySnapshotChunk.index": - return protoreflect.ValueOfUint32(uint32(0)) - case "tendermint.abci.RequestApplySnapshotChunk.chunk": + case "tendermint.abci.RequestPrepareProposal.max_tx_bytes": + return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.RequestPrepareProposal.txs": + list := [][]byte{} + return protoreflect.ValueOfList(&_RequestPrepareProposal_2_list{list: &list}) + case "tendermint.abci.RequestPrepareProposal.local_last_commit": + m := new(ExtendedCommitInfo) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.RequestPrepareProposal.misbehavior": + list := []*Misbehavior{} + return protoreflect.ValueOfList(&_RequestPrepareProposal_4_list{list: &list}) + case "tendermint.abci.RequestPrepareProposal.height": + return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.RequestPrepareProposal.time": + m := new(timestamppb.Timestamp) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.RequestPrepareProposal.next_validators_hash": + return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.RequestPrepareProposal.proposer_address": return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.RequestApplySnapshotChunk.sender": - return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestPrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.RequestApplySnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.RequestPrepareProposal 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_RequestApplySnapshotChunk) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_RequestPrepareProposal) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestApplySnapshotChunk", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestPrepareProposal", d.FullName())) } panic("unreachable") } @@ -9126,7 +9578,7 @@ func (x *fastReflection_RequestApplySnapshotChunk) WhichOneof(d protoreflect.One // 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_RequestApplySnapshotChunk) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_RequestPrepareProposal) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -9137,7 +9589,7 @@ func (x *fastReflection_RequestApplySnapshotChunk) GetUnknown() protoreflect.Raw // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_RequestApplySnapshotChunk) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_RequestPrepareProposal) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -9149,7 +9601,7 @@ func (x *fastReflection_RequestApplySnapshotChunk) SetUnknown(fields protoreflec // 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_RequestApplySnapshotChunk) IsValid() bool { +func (x *fastReflection_RequestPrepareProposal) IsValid() bool { return x != nil } @@ -9159,9 +9611,9 @@ func (x *fastReflection_RequestApplySnapshotChunk) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_RequestApplySnapshotChunk) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_RequestPrepareProposal) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*RequestApplySnapshotChunk) + x := input.Message.Interface().(*RequestPrepareProposal) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9173,14 +9625,37 @@ func (x *fastReflection_RequestApplySnapshotChunk) ProtoMethods() *protoiface.Me var n int var l int _ = l - if x.Index != 0 { - n += 1 + runtime.Sov(uint64(x.Index)) + if x.MaxTxBytes != 0 { + n += 1 + runtime.Sov(uint64(x.MaxTxBytes)) } - l = len(x.Chunk) + if len(x.Txs) > 0 { + for _, b := range x.Txs { + l = len(b) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.LocalLastCommit != nil { + l = options.Size(x.LocalLastCommit) + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Misbehavior) > 0 { + for _, e := range x.Misbehavior { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Height != 0 { + n += 1 + runtime.Sov(uint64(x.Height)) + } + if x.Time != nil { + l = options.Size(x.Time) + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.NextValidatorsHash) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Sender) + l = len(x.ProposerAddress) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -9194,7 +9669,7 @@ func (x *fastReflection_RequestApplySnapshotChunk) ProtoMethods() *protoiface.Me } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*RequestApplySnapshotChunk) + x := input.Message.Interface().(*RequestPrepareProposal) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9213,22 +9688,80 @@ func (x *fastReflection_RequestApplySnapshotChunk) ProtoMethods() *protoiface.Me i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Sender) > 0 { - i -= len(x.Sender) - copy(dAtA[i:], x.Sender) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + if len(x.ProposerAddress) > 0 { + i -= len(x.ProposerAddress) + copy(dAtA[i:], x.ProposerAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProposerAddress))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x42 } - if len(x.Chunk) > 0 { - i -= len(x.Chunk) - copy(dAtA[i:], x.Chunk) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Chunk))) + if len(x.NextValidatorsHash) > 0 { + i -= len(x.NextValidatorsHash) + copy(dAtA[i:], x.NextValidatorsHash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.NextValidatorsHash))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x3a } - if x.Index != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Index)) + if x.Time != nil { + encoded, err := options.Marshal(x.Time) + 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] = 0x32 + } + if x.Height != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) + i-- + dAtA[i] = 0x28 + } + if len(x.Misbehavior) > 0 { + for iNdEx := len(x.Misbehavior) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Misbehavior[iNdEx]) + 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] = 0x22 + } + } + if x.LocalLastCommit != nil { + encoded, err := options.Marshal(x.LocalLastCommit) + 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] = 0x1a + } + if len(x.Txs) > 0 { + for iNdEx := len(x.Txs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Txs[iNdEx]) + copy(dAtA[i:], x.Txs[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Txs[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if x.MaxTxBytes != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxTxBytes)) i-- dAtA[i] = 0x8 } @@ -9243,7 +9776,7 @@ func (x *fastReflection_RequestApplySnapshotChunk) ProtoMethods() *protoiface.Me }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*RequestApplySnapshotChunk) + x := input.Message.Interface().(*RequestPrepareProposal) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9275,17 +9808,17 @@ func (x *fastReflection_RequestApplySnapshotChunk) ProtoMethods() *protoiface.Me fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestApplySnapshotChunk: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestPrepareProposal: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestApplySnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestPrepareProposal: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxTxBytes", wireType) } - x.Index = 0 + x.MaxTxBytes = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -9295,14 +9828,14 @@ func (x *fastReflection_RequestApplySnapshotChunk) ProtoMethods() *protoiface.Me } b := dAtA[iNdEx] iNdEx++ - x.Index |= uint32(b&0x7F) << shift + x.MaxTxBytes |= int64(b&0x7F) << shift if b < 0x80 { break } } case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Txs", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -9329,16 +9862,14 @@ func (x *fastReflection_RequestApplySnapshotChunk) ProtoMethods() *protoiface.Me if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Chunk = append(x.Chunk[:0], dAtA[iNdEx:postIndex]...) - if x.Chunk == nil { - x.Chunk = []byte{} - } + x.Txs = append(x.Txs, make([]byte, postIndex-iNdEx)) + copy(x.Txs[len(x.Txs)-1], dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LocalLastCommit", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -9348,42 +9879,1225 @@ func (x *fastReflection_RequestApplySnapshotChunk) ProtoMethods() *protoiface.Me } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Sender = string(dAtA[iNdEx:postIndex]) - 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 x.LocalLastCommit == nil { + x.LocalLastCommit = &ExtendedCommitInfo{} } - if (iNdEx + skippy) > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LocalLastCommit); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Misbehavior", wireType) } - iNdEx += skippy - } - } + 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 + } + x.Misbehavior = append(x.Misbehavior, &Misbehavior{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Misbehavior[len(x.Misbehavior)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + } + x.Height = 0 + 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++ + x.Height |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Time", 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.Time == nil { + x.Time = ×tamppb.Timestamp{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Time); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NextValidatorsHash", 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.NextValidatorsHash = append(x.NextValidatorsHash[:0], dAtA[iNdEx:postIndex]...) + if x.NextValidatorsHash == nil { + x.NextValidatorsHash = []byte{} + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProposerAddress", 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.ProposerAddress = append(x.ProposerAddress[:0], dAtA[iNdEx:postIndex]...) + if x.ProposerAddress == nil { + x.ProposerAddress = []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 _ protoreflect.List = (*_RequestProcessProposal_1_list)(nil) + +type _RequestProcessProposal_1_list struct { + list *[][]byte +} + +func (x *_RequestProcessProposal_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_RequestProcessProposal_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfBytes((*x.list)[i]) +} + +func (x *_RequestProcessProposal_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Bytes() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_RequestProcessProposal_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Bytes() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_RequestProcessProposal_1_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message RequestProcessProposal at list field Txs as it is not of Message kind")) +} + +func (x *_RequestProcessProposal_1_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_RequestProcessProposal_1_list) NewElement() protoreflect.Value { + var v []byte + return protoreflect.ValueOfBytes(v) +} + +func (x *_RequestProcessProposal_1_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_RequestProcessProposal_3_list)(nil) + +type _RequestProcessProposal_3_list struct { + list *[]*Misbehavior +} + +func (x *_RequestProcessProposal_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_RequestProcessProposal_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_RequestProcessProposal_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Misbehavior) + (*x.list)[i] = concreteValue +} + +func (x *_RequestProcessProposal_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Misbehavior) + *x.list = append(*x.list, concreteValue) +} + +func (x *_RequestProcessProposal_3_list) AppendMutable() protoreflect.Value { + v := new(Misbehavior) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_RequestProcessProposal_3_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_RequestProcessProposal_3_list) NewElement() protoreflect.Value { + v := new(Misbehavior) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_RequestProcessProposal_3_list) IsValid() bool { + return x.list != nil +} + +var ( + md_RequestProcessProposal protoreflect.MessageDescriptor + fd_RequestProcessProposal_txs protoreflect.FieldDescriptor + fd_RequestProcessProposal_proposed_last_commit protoreflect.FieldDescriptor + fd_RequestProcessProposal_misbehavior protoreflect.FieldDescriptor + fd_RequestProcessProposal_hash protoreflect.FieldDescriptor + fd_RequestProcessProposal_height protoreflect.FieldDescriptor + fd_RequestProcessProposal_time protoreflect.FieldDescriptor + fd_RequestProcessProposal_next_validators_hash protoreflect.FieldDescriptor + fd_RequestProcessProposal_proposer_address protoreflect.FieldDescriptor +) + +func init() { + file_tendermint_abci_types_proto_init() + md_RequestProcessProposal = File_tendermint_abci_types_proto.Messages().ByName("RequestProcessProposal") + fd_RequestProcessProposal_txs = md_RequestProcessProposal.Fields().ByName("txs") + fd_RequestProcessProposal_proposed_last_commit = md_RequestProcessProposal.Fields().ByName("proposed_last_commit") + fd_RequestProcessProposal_misbehavior = md_RequestProcessProposal.Fields().ByName("misbehavior") + fd_RequestProcessProposal_hash = md_RequestProcessProposal.Fields().ByName("hash") + fd_RequestProcessProposal_height = md_RequestProcessProposal.Fields().ByName("height") + fd_RequestProcessProposal_time = md_RequestProcessProposal.Fields().ByName("time") + fd_RequestProcessProposal_next_validators_hash = md_RequestProcessProposal.Fields().ByName("next_validators_hash") + fd_RequestProcessProposal_proposer_address = md_RequestProcessProposal.Fields().ByName("proposer_address") +} + +var _ protoreflect.Message = (*fastReflection_RequestProcessProposal)(nil) + +type fastReflection_RequestProcessProposal RequestProcessProposal + +func (x *RequestProcessProposal) ProtoReflect() protoreflect.Message { + return (*fastReflection_RequestProcessProposal)(x) +} + +func (x *RequestProcessProposal) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[16] + 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_RequestProcessProposal_messageType fastReflection_RequestProcessProposal_messageType +var _ protoreflect.MessageType = fastReflection_RequestProcessProposal_messageType{} + +type fastReflection_RequestProcessProposal_messageType struct{} + +func (x fastReflection_RequestProcessProposal_messageType) Zero() protoreflect.Message { + return (*fastReflection_RequestProcessProposal)(nil) +} +func (x fastReflection_RequestProcessProposal_messageType) New() protoreflect.Message { + return new(fastReflection_RequestProcessProposal) +} +func (x fastReflection_RequestProcessProposal_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RequestProcessProposal +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RequestProcessProposal) Descriptor() protoreflect.MessageDescriptor { + return md_RequestProcessProposal +} + +// 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_RequestProcessProposal) Type() protoreflect.MessageType { + return _fastReflection_RequestProcessProposal_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RequestProcessProposal) New() protoreflect.Message { + return new(fastReflection_RequestProcessProposal) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RequestProcessProposal) Interface() protoreflect.ProtoMessage { + return (*RequestProcessProposal)(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_RequestProcessProposal) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Txs) != 0 { + value := protoreflect.ValueOfList(&_RequestProcessProposal_1_list{list: &x.Txs}) + if !f(fd_RequestProcessProposal_txs, value) { + return + } + } + if x.ProposedLastCommit != nil { + value := protoreflect.ValueOfMessage(x.ProposedLastCommit.ProtoReflect()) + if !f(fd_RequestProcessProposal_proposed_last_commit, value) { + return + } + } + if len(x.Misbehavior) != 0 { + value := protoreflect.ValueOfList(&_RequestProcessProposal_3_list{list: &x.Misbehavior}) + if !f(fd_RequestProcessProposal_misbehavior, value) { + return + } + } + if len(x.Hash) != 0 { + value := protoreflect.ValueOfBytes(x.Hash) + if !f(fd_RequestProcessProposal_hash, value) { + return + } + } + if x.Height != int64(0) { + value := protoreflect.ValueOfInt64(x.Height) + if !f(fd_RequestProcessProposal_height, value) { + return + } + } + if x.Time != nil { + value := protoreflect.ValueOfMessage(x.Time.ProtoReflect()) + if !f(fd_RequestProcessProposal_time, value) { + return + } + } + if len(x.NextValidatorsHash) != 0 { + value := protoreflect.ValueOfBytes(x.NextValidatorsHash) + if !f(fd_RequestProcessProposal_next_validators_hash, value) { + return + } + } + if len(x.ProposerAddress) != 0 { + value := protoreflect.ValueOfBytes(x.ProposerAddress) + if !f(fd_RequestProcessProposal_proposer_address, 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_RequestProcessProposal) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "tendermint.abci.RequestProcessProposal.txs": + return len(x.Txs) != 0 + case "tendermint.abci.RequestProcessProposal.proposed_last_commit": + return x.ProposedLastCommit != nil + case "tendermint.abci.RequestProcessProposal.misbehavior": + return len(x.Misbehavior) != 0 + case "tendermint.abci.RequestProcessProposal.hash": + return len(x.Hash) != 0 + case "tendermint.abci.RequestProcessProposal.height": + return x.Height != int64(0) + case "tendermint.abci.RequestProcessProposal.time": + return x.Time != nil + case "tendermint.abci.RequestProcessProposal.next_validators_hash": + return len(x.NextValidatorsHash) != 0 + case "tendermint.abci.RequestProcessProposal.proposer_address": + return len(x.ProposerAddress) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestProcessProposal")) + } + panic(fmt.Errorf("message tendermint.abci.RequestProcessProposal 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_RequestProcessProposal) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "tendermint.abci.RequestProcessProposal.txs": + x.Txs = nil + case "tendermint.abci.RequestProcessProposal.proposed_last_commit": + x.ProposedLastCommit = nil + case "tendermint.abci.RequestProcessProposal.misbehavior": + x.Misbehavior = nil + case "tendermint.abci.RequestProcessProposal.hash": + x.Hash = nil + case "tendermint.abci.RequestProcessProposal.height": + x.Height = int64(0) + case "tendermint.abci.RequestProcessProposal.time": + x.Time = nil + case "tendermint.abci.RequestProcessProposal.next_validators_hash": + x.NextValidatorsHash = nil + case "tendermint.abci.RequestProcessProposal.proposer_address": + x.ProposerAddress = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestProcessProposal")) + } + panic(fmt.Errorf("message tendermint.abci.RequestProcessProposal 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_RequestProcessProposal) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "tendermint.abci.RequestProcessProposal.txs": + if len(x.Txs) == 0 { + return protoreflect.ValueOfList(&_RequestProcessProposal_1_list{}) + } + listValue := &_RequestProcessProposal_1_list{list: &x.Txs} + return protoreflect.ValueOfList(listValue) + case "tendermint.abci.RequestProcessProposal.proposed_last_commit": + value := x.ProposedLastCommit + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.RequestProcessProposal.misbehavior": + if len(x.Misbehavior) == 0 { + return protoreflect.ValueOfList(&_RequestProcessProposal_3_list{}) + } + listValue := &_RequestProcessProposal_3_list{list: &x.Misbehavior} + return protoreflect.ValueOfList(listValue) + case "tendermint.abci.RequestProcessProposal.hash": + value := x.Hash + return protoreflect.ValueOfBytes(value) + case "tendermint.abci.RequestProcessProposal.height": + value := x.Height + return protoreflect.ValueOfInt64(value) + case "tendermint.abci.RequestProcessProposal.time": + value := x.Time + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.RequestProcessProposal.next_validators_hash": + value := x.NextValidatorsHash + return protoreflect.ValueOfBytes(value) + case "tendermint.abci.RequestProcessProposal.proposer_address": + value := x.ProposerAddress + return protoreflect.ValueOfBytes(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestProcessProposal")) + } + panic(fmt.Errorf("message tendermint.abci.RequestProcessProposal 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_RequestProcessProposal) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "tendermint.abci.RequestProcessProposal.txs": + lv := value.List() + clv := lv.(*_RequestProcessProposal_1_list) + x.Txs = *clv.list + case "tendermint.abci.RequestProcessProposal.proposed_last_commit": + x.ProposedLastCommit = value.Message().Interface().(*CommitInfo) + case "tendermint.abci.RequestProcessProposal.misbehavior": + lv := value.List() + clv := lv.(*_RequestProcessProposal_3_list) + x.Misbehavior = *clv.list + case "tendermint.abci.RequestProcessProposal.hash": + x.Hash = value.Bytes() + case "tendermint.abci.RequestProcessProposal.height": + x.Height = value.Int() + case "tendermint.abci.RequestProcessProposal.time": + x.Time = value.Message().Interface().(*timestamppb.Timestamp) + case "tendermint.abci.RequestProcessProposal.next_validators_hash": + x.NextValidatorsHash = value.Bytes() + case "tendermint.abci.RequestProcessProposal.proposer_address": + x.ProposerAddress = value.Bytes() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestProcessProposal")) + } + panic(fmt.Errorf("message tendermint.abci.RequestProcessProposal 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_RequestProcessProposal) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "tendermint.abci.RequestProcessProposal.txs": + if x.Txs == nil { + x.Txs = [][]byte{} + } + value := &_RequestProcessProposal_1_list{list: &x.Txs} + return protoreflect.ValueOfList(value) + case "tendermint.abci.RequestProcessProposal.proposed_last_commit": + if x.ProposedLastCommit == nil { + x.ProposedLastCommit = new(CommitInfo) + } + return protoreflect.ValueOfMessage(x.ProposedLastCommit.ProtoReflect()) + case "tendermint.abci.RequestProcessProposal.misbehavior": + if x.Misbehavior == nil { + x.Misbehavior = []*Misbehavior{} + } + value := &_RequestProcessProposal_3_list{list: &x.Misbehavior} + return protoreflect.ValueOfList(value) + case "tendermint.abci.RequestProcessProposal.time": + if x.Time == nil { + x.Time = new(timestamppb.Timestamp) + } + return protoreflect.ValueOfMessage(x.Time.ProtoReflect()) + case "tendermint.abci.RequestProcessProposal.hash": + panic(fmt.Errorf("field hash of message tendermint.abci.RequestProcessProposal is not mutable")) + case "tendermint.abci.RequestProcessProposal.height": + panic(fmt.Errorf("field height of message tendermint.abci.RequestProcessProposal is not mutable")) + case "tendermint.abci.RequestProcessProposal.next_validators_hash": + panic(fmt.Errorf("field next_validators_hash of message tendermint.abci.RequestProcessProposal is not mutable")) + case "tendermint.abci.RequestProcessProposal.proposer_address": + panic(fmt.Errorf("field proposer_address of message tendermint.abci.RequestProcessProposal is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestProcessProposal")) + } + panic(fmt.Errorf("message tendermint.abci.RequestProcessProposal 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_RequestProcessProposal) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "tendermint.abci.RequestProcessProposal.txs": + list := [][]byte{} + return protoreflect.ValueOfList(&_RequestProcessProposal_1_list{list: &list}) + case "tendermint.abci.RequestProcessProposal.proposed_last_commit": + m := new(CommitInfo) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.RequestProcessProposal.misbehavior": + list := []*Misbehavior{} + return protoreflect.ValueOfList(&_RequestProcessProposal_3_list{list: &list}) + case "tendermint.abci.RequestProcessProposal.hash": + return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.RequestProcessProposal.height": + return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.RequestProcessProposal.time": + m := new(timestamppb.Timestamp) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.RequestProcessProposal.next_validators_hash": + return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.RequestProcessProposal.proposer_address": + return protoreflect.ValueOfBytes(nil) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.RequestProcessProposal")) + } + panic(fmt.Errorf("message tendermint.abci.RequestProcessProposal 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_RequestProcessProposal) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.RequestProcessProposal", 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_RequestProcessProposal) 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_RequestProcessProposal) 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_RequestProcessProposal) 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_RequestProcessProposal) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RequestProcessProposal) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Txs) > 0 { + for _, b := range x.Txs { + l = len(b) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.ProposedLastCommit != nil { + l = options.Size(x.ProposedLastCommit) + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Misbehavior) > 0 { + for _, e := range x.Misbehavior { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.Hash) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Height != 0 { + n += 1 + runtime.Sov(uint64(x.Height)) + } + if x.Time != nil { + l = options.Size(x.Time) + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.NextValidatorsHash) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProposerAddress) + 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().(*RequestProcessProposal) + 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.ProposerAddress) > 0 { + i -= len(x.ProposerAddress) + copy(dAtA[i:], x.ProposerAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProposerAddress))) + i-- + dAtA[i] = 0x42 + } + if len(x.NextValidatorsHash) > 0 { + i -= len(x.NextValidatorsHash) + copy(dAtA[i:], x.NextValidatorsHash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.NextValidatorsHash))) + i-- + dAtA[i] = 0x3a + } + if x.Time != nil { + encoded, err := options.Marshal(x.Time) + 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] = 0x32 + } + if x.Height != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) + i-- + dAtA[i] = 0x28 + } + if len(x.Hash) > 0 { + i -= len(x.Hash) + copy(dAtA[i:], x.Hash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Hash))) + i-- + dAtA[i] = 0x22 + } + if len(x.Misbehavior) > 0 { + for iNdEx := len(x.Misbehavior) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Misbehavior[iNdEx]) + 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] = 0x1a + } + } + if x.ProposedLastCommit != nil { + encoded, err := options.Marshal(x.ProposedLastCommit) + 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.Txs) > 0 { + for iNdEx := len(x.Txs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Txs[iNdEx]) + copy(dAtA[i:], x.Txs[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Txs[iNdEx]))) + 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().(*RequestProcessProposal) + 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: RequestProcessProposal: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RequestProcessProposal: 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 Txs", 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.Txs = append(x.Txs, make([]byte, postIndex-iNdEx)) + copy(x.Txs[len(x.Txs)-1], 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 ProposedLastCommit", 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.ProposedLastCommit == nil { + x.ProposedLastCommit = &CommitInfo{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ProposedLastCommit); 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 Misbehavior", 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 + } + x.Misbehavior = append(x.Misbehavior, &Misbehavior{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Misbehavior[len(x.Misbehavior)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Hash", 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.Hash = append(x.Hash[:0], dAtA[iNdEx:postIndex]...) + if x.Hash == nil { + x.Hash = []byte{} + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + } + x.Height = 0 + 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++ + x.Height |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Time", 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.Time == nil { + x.Time = ×tamppb.Timestamp{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Time); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NextValidatorsHash", 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.NextValidatorsHash = append(x.NextValidatorsHash[:0], dAtA[iNdEx:postIndex]...) + if x.NextValidatorsHash == nil { + x.NextValidatorsHash = []byte{} + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProposerAddress", 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.ProposerAddress = append(x.ProposerAddress[:0], dAtA[iNdEx:postIndex]...) + if x.ProposerAddress == nil { + x.ProposerAddress = []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 @@ -9407,7 +11121,6 @@ var ( fd_Response_echo protoreflect.FieldDescriptor fd_Response_flush protoreflect.FieldDescriptor fd_Response_info protoreflect.FieldDescriptor - fd_Response_set_option protoreflect.FieldDescriptor fd_Response_init_chain protoreflect.FieldDescriptor fd_Response_query protoreflect.FieldDescriptor fd_Response_begin_block protoreflect.FieldDescriptor @@ -9419,6 +11132,8 @@ var ( fd_Response_offer_snapshot protoreflect.FieldDescriptor fd_Response_load_snapshot_chunk protoreflect.FieldDescriptor fd_Response_apply_snapshot_chunk protoreflect.FieldDescriptor + fd_Response_prepare_proposal protoreflect.FieldDescriptor + fd_Response_process_proposal protoreflect.FieldDescriptor ) func init() { @@ -9428,7 +11143,6 @@ func init() { fd_Response_echo = md_Response.Fields().ByName("echo") fd_Response_flush = md_Response.Fields().ByName("flush") fd_Response_info = md_Response.Fields().ByName("info") - fd_Response_set_option = md_Response.Fields().ByName("set_option") fd_Response_init_chain = md_Response.Fields().ByName("init_chain") fd_Response_query = md_Response.Fields().ByName("query") fd_Response_begin_block = md_Response.Fields().ByName("begin_block") @@ -9440,6 +11154,8 @@ func init() { fd_Response_offer_snapshot = md_Response.Fields().ByName("offer_snapshot") fd_Response_load_snapshot_chunk = md_Response.Fields().ByName("load_snapshot_chunk") fd_Response_apply_snapshot_chunk = md_Response.Fields().ByName("apply_snapshot_chunk") + fd_Response_prepare_proposal = md_Response.Fields().ByName("prepare_proposal") + fd_Response_process_proposal = md_Response.Fields().ByName("process_proposal") } var _ protoreflect.Message = (*fastReflection_Response)(nil) @@ -9451,7 +11167,7 @@ func (x *Response) ProtoReflect() protoreflect.Message { } func (x *Response) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[16] + mi := &file_tendermint_abci_types_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9533,12 +11249,6 @@ func (x *fastReflection_Response) Range(f func(protoreflect.FieldDescriptor, pro if !f(fd_Response_info, value) { return } - case *Response_SetOption: - v := o.SetOption - value := protoreflect.ValueOfMessage(v.ProtoReflect()) - if !f(fd_Response_set_option, value) { - return - } case *Response_InitChain: v := o.InitChain value := protoreflect.ValueOfMessage(v.ProtoReflect()) @@ -9605,6 +11315,18 @@ func (x *fastReflection_Response) Range(f func(protoreflect.FieldDescriptor, pro if !f(fd_Response_apply_snapshot_chunk, value) { return } + case *Response_PrepareProposal: + v := o.PrepareProposal + value := protoreflect.ValueOfMessage(v.ProtoReflect()) + if !f(fd_Response_prepare_proposal, value) { + return + } + case *Response_ProcessProposal: + v := o.ProcessProposal + value := protoreflect.ValueOfMessage(v.ProtoReflect()) + if !f(fd_Response_process_proposal, value) { + return + } } } } @@ -9654,14 +11376,6 @@ func (x *fastReflection_Response) Has(fd protoreflect.FieldDescriptor) bool { } else { return false } - case "tendermint.abci.Response.set_option": - if x.Value == nil { - return false - } else if _, ok := x.Value.(*Response_SetOption); ok { - return true - } else { - return false - } case "tendermint.abci.Response.init_chain": if x.Value == nil { return false @@ -9750,6 +11464,22 @@ func (x *fastReflection_Response) Has(fd protoreflect.FieldDescriptor) bool { } else { return false } + case "tendermint.abci.Response.prepare_proposal": + if x.Value == nil { + return false + } else if _, ok := x.Value.(*Response_PrepareProposal); ok { + return true + } else { + return false + } + case "tendermint.abci.Response.process_proposal": + if x.Value == nil { + return false + } else if _, ok := x.Value.(*Response_ProcessProposal); ok { + return true + } else { + return false + } default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Response")) @@ -9774,8 +11504,6 @@ func (x *fastReflection_Response) Clear(fd protoreflect.FieldDescriptor) { x.Value = nil case "tendermint.abci.Response.info": x.Value = nil - case "tendermint.abci.Response.set_option": - x.Value = nil case "tendermint.abci.Response.init_chain": x.Value = nil case "tendermint.abci.Response.query": @@ -9798,6 +11526,10 @@ func (x *fastReflection_Response) Clear(fd protoreflect.FieldDescriptor) { x.Value = nil case "tendermint.abci.Response.apply_snapshot_chunk": x.Value = nil + case "tendermint.abci.Response.prepare_proposal": + x.Value = nil + case "tendermint.abci.Response.process_proposal": + x.Value = nil default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Response")) @@ -9846,14 +11578,6 @@ func (x *fastReflection_Response) Get(descriptor protoreflect.FieldDescriptor) p } else { return protoreflect.ValueOfMessage((*ResponseInfo)(nil).ProtoReflect()) } - case "tendermint.abci.Response.set_option": - if x.Value == nil { - return protoreflect.ValueOfMessage((*ResponseSetOption)(nil).ProtoReflect()) - } else if v, ok := x.Value.(*Response_SetOption); ok { - return protoreflect.ValueOfMessage(v.SetOption.ProtoReflect()) - } else { - return protoreflect.ValueOfMessage((*ResponseSetOption)(nil).ProtoReflect()) - } case "tendermint.abci.Response.init_chain": if x.Value == nil { return protoreflect.ValueOfMessage((*ResponseInitChain)(nil).ProtoReflect()) @@ -9942,6 +11666,22 @@ func (x *fastReflection_Response) Get(descriptor protoreflect.FieldDescriptor) p } else { return protoreflect.ValueOfMessage((*ResponseApplySnapshotChunk)(nil).ProtoReflect()) } + case "tendermint.abci.Response.prepare_proposal": + if x.Value == nil { + return protoreflect.ValueOfMessage((*ResponsePrepareProposal)(nil).ProtoReflect()) + } else if v, ok := x.Value.(*Response_PrepareProposal); ok { + return protoreflect.ValueOfMessage(v.PrepareProposal.ProtoReflect()) + } else { + return protoreflect.ValueOfMessage((*ResponsePrepareProposal)(nil).ProtoReflect()) + } + case "tendermint.abci.Response.process_proposal": + if x.Value == nil { + return protoreflect.ValueOfMessage((*ResponseProcessProposal)(nil).ProtoReflect()) + } else if v, ok := x.Value.(*Response_ProcessProposal); ok { + return protoreflect.ValueOfMessage(v.ProcessProposal.ProtoReflect()) + } else { + return protoreflect.ValueOfMessage((*ResponseProcessProposal)(nil).ProtoReflect()) + } default: if descriptor.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Response")) @@ -9974,9 +11714,6 @@ func (x *fastReflection_Response) Set(fd protoreflect.FieldDescriptor, value pro case "tendermint.abci.Response.info": cv := value.Message().Interface().(*ResponseInfo) x.Value = &Response_Info{Info: cv} - case "tendermint.abci.Response.set_option": - cv := value.Message().Interface().(*ResponseSetOption) - x.Value = &Response_SetOption{SetOption: cv} case "tendermint.abci.Response.init_chain": cv := value.Message().Interface().(*ResponseInitChain) x.Value = &Response_InitChain{InitChain: cv} @@ -10010,6 +11747,12 @@ func (x *fastReflection_Response) Set(fd protoreflect.FieldDescriptor, value pro case "tendermint.abci.Response.apply_snapshot_chunk": cv := value.Message().Interface().(*ResponseApplySnapshotChunk) x.Value = &Response_ApplySnapshotChunk{ApplySnapshotChunk: cv} + case "tendermint.abci.Response.prepare_proposal": + cv := value.Message().Interface().(*ResponsePrepareProposal) + x.Value = &Response_PrepareProposal{PrepareProposal: cv} + case "tendermint.abci.Response.process_proposal": + cv := value.Message().Interface().(*ResponseProcessProposal) + x.Value = &Response_ProcessProposal{ProcessProposal: cv} default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Response")) @@ -10094,22 +11837,6 @@ func (x *fastReflection_Response) Mutable(fd protoreflect.FieldDescriptor) proto x.Value = oneofValue return protoreflect.ValueOfMessage(value.ProtoReflect()) } - case "tendermint.abci.Response.set_option": - if x.Value == nil { - value := &ResponseSetOption{} - oneofValue := &Response_SetOption{SetOption: value} - x.Value = oneofValue - return protoreflect.ValueOfMessage(value.ProtoReflect()) - } - switch m := x.Value.(type) { - case *Response_SetOption: - return protoreflect.ValueOfMessage(m.SetOption.ProtoReflect()) - default: - value := &ResponseSetOption{} - oneofValue := &Response_SetOption{SetOption: value} - x.Value = oneofValue - return protoreflect.ValueOfMessage(value.ProtoReflect()) - } case "tendermint.abci.Response.init_chain": if x.Value == nil { value := &ResponseInitChain{} @@ -10286,6 +12013,38 @@ func (x *fastReflection_Response) Mutable(fd protoreflect.FieldDescriptor) proto x.Value = oneofValue return protoreflect.ValueOfMessage(value.ProtoReflect()) } + case "tendermint.abci.Response.prepare_proposal": + if x.Value == nil { + value := &ResponsePrepareProposal{} + oneofValue := &Response_PrepareProposal{PrepareProposal: value} + x.Value = oneofValue + return protoreflect.ValueOfMessage(value.ProtoReflect()) + } + switch m := x.Value.(type) { + case *Response_PrepareProposal: + return protoreflect.ValueOfMessage(m.PrepareProposal.ProtoReflect()) + default: + value := &ResponsePrepareProposal{} + oneofValue := &Response_PrepareProposal{PrepareProposal: value} + x.Value = oneofValue + return protoreflect.ValueOfMessage(value.ProtoReflect()) + } + case "tendermint.abci.Response.process_proposal": + if x.Value == nil { + value := &ResponseProcessProposal{} + oneofValue := &Response_ProcessProposal{ProcessProposal: value} + x.Value = oneofValue + return protoreflect.ValueOfMessage(value.ProtoReflect()) + } + switch m := x.Value.(type) { + case *Response_ProcessProposal: + return protoreflect.ValueOfMessage(m.ProcessProposal.ProtoReflect()) + default: + value := &ResponseProcessProposal{} + oneofValue := &Response_ProcessProposal{ProcessProposal: value} + x.Value = oneofValue + return protoreflect.ValueOfMessage(value.ProtoReflect()) + } default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Response")) @@ -10311,9 +12070,6 @@ func (x *fastReflection_Response) NewField(fd protoreflect.FieldDescriptor) prot case "tendermint.abci.Response.info": value := &ResponseInfo{} return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.Response.set_option": - value := &ResponseSetOption{} - return protoreflect.ValueOfMessage(value.ProtoReflect()) case "tendermint.abci.Response.init_chain": value := &ResponseInitChain{} return protoreflect.ValueOfMessage(value.ProtoReflect()) @@ -10347,6 +12103,12 @@ func (x *fastReflection_Response) NewField(fd protoreflect.FieldDescriptor) prot case "tendermint.abci.Response.apply_snapshot_chunk": value := &ResponseApplySnapshotChunk{} return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.Response.prepare_proposal": + value := &ResponsePrepareProposal{} + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.Response.process_proposal": + value := &ResponseProcessProposal{} + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Response")) @@ -10373,8 +12135,6 @@ func (x *fastReflection_Response) WhichOneof(d protoreflect.OneofDescriptor) pro return x.Descriptor().Fields().ByName("flush") case *Response_Info: return x.Descriptor().Fields().ByName("info") - case *Response_SetOption: - return x.Descriptor().Fields().ByName("set_option") case *Response_InitChain: return x.Descriptor().Fields().ByName("init_chain") case *Response_Query: @@ -10397,6 +12157,10 @@ func (x *fastReflection_Response) WhichOneof(d protoreflect.OneofDescriptor) pro return x.Descriptor().Fields().ByName("load_snapshot_chunk") case *Response_ApplySnapshotChunk: return x.Descriptor().Fields().ByName("apply_snapshot_chunk") + case *Response_PrepareProposal: + return x.Descriptor().Fields().ByName("prepare_proposal") + case *Response_ProcessProposal: + return x.Descriptor().Fields().ByName("process_proposal") } default: panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.Response", d.FullName())) @@ -10479,12 +12243,6 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { } l = options.Size(x.Info) n += 1 + l + runtime.Sov(uint64(l)) - case *Response_SetOption: - if x == nil { - break - } - l = options.Size(x.SetOption) - n += 1 + l + runtime.Sov(uint64(l)) case *Response_InitChain: if x == nil { break @@ -10551,6 +12309,18 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { } l = options.Size(x.ApplySnapshotChunk) n += 2 + l + runtime.Sov(uint64(l)) + case *Response_PrepareProposal: + if x == nil { + break + } + l = options.Size(x.PrepareProposal) + n += 2 + l + runtime.Sov(uint64(l)) + case *Response_ProcessProposal: + if x == nil { + break + } + l = options.Size(x.ProcessProposal) + n += 2 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -10634,19 +12404,6 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- dAtA[i] = 0x22 - case *Response_SetOption: - encoded, err := options.Marshal(x.SetOption) - 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] = 0x2a case *Response_InitChain: encoded, err := options.Marshal(x.InitChain) if err != nil { @@ -10792,6 +12549,36 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { dAtA[i] = 0x1 i-- dAtA[i] = 0x82 + case *Response_PrepareProposal: + encoded, err := options.Marshal(x.PrepareProposal) + 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] = 0x1 + i-- + dAtA[i] = 0x8a + case *Response_ProcessProposal: + encoded, err := options.Marshal(x.ProcessProposal) + 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] = 0x1 + i-- + dAtA[i] = 0x92 } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -10976,15 +12763,85 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - v := &ResponseInfo{} + v := &ResponseInfo{} + if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + x.Value = &Response_Info{v} + iNdEx = postIndex + case 6: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InitChain", 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 + } + v := &ResponseInitChain{} + if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + x.Value = &Response_InitChain{v} + iNdEx = postIndex + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Query", 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 + } + v := &ResponseQuery{} if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Value = &Response_Info{v} + x.Value = &Response_Query{v} iNdEx = postIndex - case 5: + case 8: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SetOption", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BeginBlock", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11011,15 +12868,15 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - v := &ResponseSetOption{} + v := &ResponseBeginBlock{} if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Value = &Response_SetOption{v} + x.Value = &Response_BeginBlock{v} iNdEx = postIndex - case 6: + case 9: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InitChain", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CheckTx", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11046,15 +12903,15 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - v := &ResponseInitChain{} + v := &ResponseCheckTx{} if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Value = &Response_InitChain{v} + x.Value = &Response_CheckTx{v} iNdEx = postIndex - case 7: + case 10: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DeliverTx", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11081,15 +12938,15 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - v := &ResponseQuery{} + v := &ResponseDeliverTx{} if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Value = &Response_Query{v} + x.Value = &Response_DeliverTx{v} iNdEx = postIndex - case 8: + case 11: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BeginBlock", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EndBlock", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11116,15 +12973,15 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - v := &ResponseBeginBlock{} + v := &ResponseEndBlock{} if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Value = &Response_BeginBlock{v} + x.Value = &Response_EndBlock{v} iNdEx = postIndex - case 9: + case 12: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CheckTx", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11151,15 +13008,15 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - v := &ResponseCheckTx{} + v := &ResponseCommit{} if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Value = &Response_CheckTx{v} + x.Value = &Response_Commit{v} iNdEx = postIndex - case 10: + case 13: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DeliverTx", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ListSnapshots", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11186,15 +13043,15 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - v := &ResponseDeliverTx{} + v := &ResponseListSnapshots{} if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Value = &Response_DeliverTx{v} + x.Value = &Response_ListSnapshots{v} iNdEx = postIndex - case 11: + case 14: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EndBlock", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OfferSnapshot", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11221,15 +13078,15 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - v := &ResponseEndBlock{} + v := &ResponseOfferSnapshot{} if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Value = &Response_EndBlock{v} + x.Value = &Response_OfferSnapshot{v} iNdEx = postIndex - case 12: + case 15: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LoadSnapshotChunk", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11256,15 +13113,15 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - v := &ResponseCommit{} + v := &ResponseLoadSnapshotChunk{} if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Value = &Response_Commit{v} + x.Value = &Response_LoadSnapshotChunk{v} iNdEx = postIndex - case 13: + case 16: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ListSnapshots", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ApplySnapshotChunk", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11291,15 +13148,15 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - v := &ResponseListSnapshots{} + v := &ResponseApplySnapshotChunk{} if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Value = &Response_ListSnapshots{v} + x.Value = &Response_ApplySnapshotChunk{v} iNdEx = postIndex - case 14: + case 17: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OfferSnapshot", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PrepareProposal", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11326,15 +13183,15 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - v := &ResponseOfferSnapshot{} + v := &ResponsePrepareProposal{} if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Value = &Response_OfferSnapshot{v} + x.Value = &Response_PrepareProposal{v} iNdEx = postIndex - case 15: + case 18: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LoadSnapshotChunk", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProcessProposal", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11358,20 +13215,408 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { if postIndex < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - if postIndex > l { + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + v := &ResponseProcessProposal{} + if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + x.Value = &Response_ProcessProposal{v} + 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_ResponseException protoreflect.MessageDescriptor + fd_ResponseException_error protoreflect.FieldDescriptor +) + +func init() { + file_tendermint_abci_types_proto_init() + md_ResponseException = File_tendermint_abci_types_proto.Messages().ByName("ResponseException") + fd_ResponseException_error = md_ResponseException.Fields().ByName("error") +} + +var _ protoreflect.Message = (*fastReflection_ResponseException)(nil) + +type fastReflection_ResponseException ResponseException + +func (x *ResponseException) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseException)(x) +} + +func (x *ResponseException) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[18] + 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_ResponseException_messageType fastReflection_ResponseException_messageType +var _ protoreflect.MessageType = fastReflection_ResponseException_messageType{} + +type fastReflection_ResponseException_messageType struct{} + +func (x fastReflection_ResponseException_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseException)(nil) +} +func (x fastReflection_ResponseException_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseException) +} +func (x fastReflection_ResponseException_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseException +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_ResponseException) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseException +} + +// 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_ResponseException) Type() protoreflect.MessageType { + return _fastReflection_ResponseException_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_ResponseException) New() protoreflect.Message { + return new(fastReflection_ResponseException) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_ResponseException) Interface() protoreflect.ProtoMessage { + return (*ResponseException)(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_ResponseException) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Error != "" { + value := protoreflect.ValueOfString(x.Error) + if !f(fd_ResponseException_error, 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_ResponseException) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "tendermint.abci.ResponseException.error": + return x.Error != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + } + panic(fmt.Errorf("message tendermint.abci.ResponseException 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_ResponseException) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "tendermint.abci.ResponseException.error": + x.Error = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + } + panic(fmt.Errorf("message tendermint.abci.ResponseException 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_ResponseException) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "tendermint.abci.ResponseException.error": + value := x.Error + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + } + panic(fmt.Errorf("message tendermint.abci.ResponseException 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_ResponseException) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "tendermint.abci.ResponseException.error": + x.Error = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + } + panic(fmt.Errorf("message tendermint.abci.ResponseException 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_ResponseException) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "tendermint.abci.ResponseException.error": + panic(fmt.Errorf("field error of message tendermint.abci.ResponseException is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + } + panic(fmt.Errorf("message tendermint.abci.ResponseException 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_ResponseException) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "tendermint.abci.ResponseException.error": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + } + panic(fmt.Errorf("message tendermint.abci.ResponseException 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_ResponseException) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseException", 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_ResponseException) 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_ResponseException) 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_ResponseException) 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_ResponseException) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*ResponseException) + 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.Error) + 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().(*ResponseException) + 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.Error) > 0 { + i -= len(x.Error) + copy(dAtA[i:], x.Error) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Error))) + 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().(*ResponseException) + 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 } - v := &ResponseLoadSnapshotChunk{} - if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - x.Value = &Response_LoadSnapshotChunk{v} - iNdEx = postIndex - case 16: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseException: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseException: 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 ApplySnapshotChunk", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Error", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -11381,26 +13626,23 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - v := &ResponseApplySnapshotChunk{} - if err := options.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - x.Value = &Response_ApplySnapshotChunk{v} + x.Error = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11438,26 +13680,26 @@ func (x *fastReflection_Response) ProtoMethods() *protoiface.Methods { } var ( - md_ResponseException protoreflect.MessageDescriptor - fd_ResponseException_error protoreflect.FieldDescriptor + md_ResponseEcho protoreflect.MessageDescriptor + fd_ResponseEcho_message protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseException = File_tendermint_abci_types_proto.Messages().ByName("ResponseException") - fd_ResponseException_error = md_ResponseException.Fields().ByName("error") + md_ResponseEcho = File_tendermint_abci_types_proto.Messages().ByName("ResponseEcho") + fd_ResponseEcho_message = md_ResponseEcho.Fields().ByName("message") } -var _ protoreflect.Message = (*fastReflection_ResponseException)(nil) - -type fastReflection_ResponseException ResponseException +var _ protoreflect.Message = (*fastReflection_ResponseEcho)(nil) -func (x *ResponseException) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseException)(x) +type fastReflection_ResponseEcho ResponseEcho + +func (x *ResponseEcho) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseEcho)(x) } -func (x *ResponseException) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[17] +func (x *ResponseEcho) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11468,43 +13710,43 @@ func (x *ResponseException) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseException_messageType fastReflection_ResponseException_messageType -var _ protoreflect.MessageType = fastReflection_ResponseException_messageType{} +var _fastReflection_ResponseEcho_messageType fastReflection_ResponseEcho_messageType +var _ protoreflect.MessageType = fastReflection_ResponseEcho_messageType{} -type fastReflection_ResponseException_messageType struct{} +type fastReflection_ResponseEcho_messageType struct{} -func (x fastReflection_ResponseException_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseException)(nil) +func (x fastReflection_ResponseEcho_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseEcho)(nil) } -func (x fastReflection_ResponseException_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseException) +func (x fastReflection_ResponseEcho_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseEcho) } -func (x fastReflection_ResponseException_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseException +func (x fastReflection_ResponseEcho_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseEcho } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseException) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseException +func (x *fastReflection_ResponseEcho) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseEcho } // 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_ResponseException) Type() protoreflect.MessageType { - return _fastReflection_ResponseException_messageType +func (x *fastReflection_ResponseEcho) Type() protoreflect.MessageType { + return _fastReflection_ResponseEcho_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseException) New() protoreflect.Message { - return new(fastReflection_ResponseException) +func (x *fastReflection_ResponseEcho) New() protoreflect.Message { + return new(fastReflection_ResponseEcho) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseException) Interface() protoreflect.ProtoMessage { - return (*ResponseException)(x) +func (x *fastReflection_ResponseEcho) Interface() protoreflect.ProtoMessage { + return (*ResponseEcho)(x) } // Range iterates over every populated field in an undefined order, @@ -11512,10 +13754,10 @@ func (x *fastReflection_ResponseException) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseException) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Error != "" { - value := protoreflect.ValueOfString(x.Error) - if !f(fd_ResponseException_error, value) { +func (x *fastReflection_ResponseEcho) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Message != "" { + value := protoreflect.ValueOfString(x.Message) + if !f(fd_ResponseEcho_message, value) { return } } @@ -11532,15 +13774,15 @@ func (x *fastReflection_ResponseException) Range(f func(protoreflect.FieldDescri // 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_ResponseException) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseEcho) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseException.error": - return x.Error != "" + case "tendermint.abci.ResponseEcho.message": + return x.Message != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) } - panic(fmt.Errorf("message tendermint.abci.ResponseException does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEcho does not contain field %s", fd.FullName())) } } @@ -11550,15 +13792,15 @@ func (x *fastReflection_ResponseException) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseException) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseEcho) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseException.error": - x.Error = "" + case "tendermint.abci.ResponseEcho.message": + x.Message = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) } - panic(fmt.Errorf("message tendermint.abci.ResponseException does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEcho does not contain field %s", fd.FullName())) } } @@ -11568,16 +13810,16 @@ func (x *fastReflection_ResponseException) Clear(fd protoreflect.FieldDescriptor // 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_ResponseException) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseEcho) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseException.error": - value := x.Error + case "tendermint.abci.ResponseEcho.message": + value := x.Message return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) } - panic(fmt.Errorf("message tendermint.abci.ResponseException does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEcho does not contain field %s", descriptor.FullName())) } } @@ -11591,15 +13833,15 @@ func (x *fastReflection_ResponseException) Get(descriptor protoreflect.FieldDesc // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseException) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseEcho) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseException.error": - x.Error = value.Interface().(string) + case "tendermint.abci.ResponseEcho.message": + x.Message = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) } - panic(fmt.Errorf("message tendermint.abci.ResponseException does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEcho does not contain field %s", fd.FullName())) } } @@ -11613,40 +13855,40 @@ func (x *fastReflection_ResponseException) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseException) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseEcho) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseException.error": - panic(fmt.Errorf("field error of message tendermint.abci.ResponseException is not mutable")) + case "tendermint.abci.ResponseEcho.message": + panic(fmt.Errorf("field message of message tendermint.abci.ResponseEcho is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) } - panic(fmt.Errorf("message tendermint.abci.ResponseException does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEcho 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_ResponseException) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseEcho) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseException.error": + case "tendermint.abci.ResponseEcho.message": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseException")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) } - panic(fmt.Errorf("message tendermint.abci.ResponseException does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEcho 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_ResponseException) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseEcho) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseException", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseEcho", d.FullName())) } panic("unreachable") } @@ -11654,7 +13896,7 @@ func (x *fastReflection_ResponseException) WhichOneof(d protoreflect.OneofDescri // 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_ResponseException) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseEcho) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -11665,7 +13907,7 @@ func (x *fastReflection_ResponseException) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseException) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseEcho) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -11677,7 +13919,7 @@ func (x *fastReflection_ResponseException) SetUnknown(fields protoreflect.RawFie // 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_ResponseException) IsValid() bool { +func (x *fastReflection_ResponseEcho) IsValid() bool { return x != nil } @@ -11687,9 +13929,9 @@ func (x *fastReflection_ResponseException) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseException) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseEcho) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseException) + x := input.Message.Interface().(*ResponseEcho) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11701,7 +13943,7 @@ func (x *fastReflection_ResponseException) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Error) + l = len(x.Message) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -11715,7 +13957,7 @@ func (x *fastReflection_ResponseException) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseException) + x := input.Message.Interface().(*ResponseEcho) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11734,10 +13976,10 @@ func (x *fastReflection_ResponseException) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Error) > 0 { - i -= len(x.Error) - copy(dAtA[i:], x.Error) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Error))) + if len(x.Message) > 0 { + i -= len(x.Message) + copy(dAtA[i:], x.Message) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Message))) i-- dAtA[i] = 0xa } @@ -11752,7 +13994,7 @@ func (x *fastReflection_ResponseException) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseException) + x := input.Message.Interface().(*ResponseEcho) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11784,15 +14026,15 @@ func (x *fastReflection_ResponseException) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseException: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseEcho: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseException: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseEcho: 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 Error", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11820,7 +14062,7 @@ func (x *fastReflection_ResponseException) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Error = string(dAtA[iNdEx:postIndex]) + x.Message = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11858,26 +14100,24 @@ func (x *fastReflection_ResponseException) ProtoMethods() *protoiface.Methods { } var ( - md_ResponseEcho protoreflect.MessageDescriptor - fd_ResponseEcho_message protoreflect.FieldDescriptor + md_ResponseFlush protoreflect.MessageDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseEcho = File_tendermint_abci_types_proto.Messages().ByName("ResponseEcho") - fd_ResponseEcho_message = md_ResponseEcho.Fields().ByName("message") + md_ResponseFlush = File_tendermint_abci_types_proto.Messages().ByName("ResponseFlush") } -var _ protoreflect.Message = (*fastReflection_ResponseEcho)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseFlush)(nil) -type fastReflection_ResponseEcho ResponseEcho +type fastReflection_ResponseFlush ResponseFlush -func (x *ResponseEcho) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseEcho)(x) +func (x *ResponseFlush) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseFlush)(x) } -func (x *ResponseEcho) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[18] +func (x *ResponseFlush) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11888,43 +14128,43 @@ func (x *ResponseEcho) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseEcho_messageType fastReflection_ResponseEcho_messageType -var _ protoreflect.MessageType = fastReflection_ResponseEcho_messageType{} +var _fastReflection_ResponseFlush_messageType fastReflection_ResponseFlush_messageType +var _ protoreflect.MessageType = fastReflection_ResponseFlush_messageType{} -type fastReflection_ResponseEcho_messageType struct{} +type fastReflection_ResponseFlush_messageType struct{} -func (x fastReflection_ResponseEcho_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseEcho)(nil) +func (x fastReflection_ResponseFlush_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseFlush)(nil) } -func (x fastReflection_ResponseEcho_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseEcho) +func (x fastReflection_ResponseFlush_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseFlush) } -func (x fastReflection_ResponseEcho_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseEcho +func (x fastReflection_ResponseFlush_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseFlush } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseEcho) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseEcho +func (x *fastReflection_ResponseFlush) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseFlush } // 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_ResponseEcho) Type() protoreflect.MessageType { - return _fastReflection_ResponseEcho_messageType +func (x *fastReflection_ResponseFlush) Type() protoreflect.MessageType { + return _fastReflection_ResponseFlush_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseEcho) New() protoreflect.Message { - return new(fastReflection_ResponseEcho) +func (x *fastReflection_ResponseFlush) New() protoreflect.Message { + return new(fastReflection_ResponseFlush) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseEcho) Interface() protoreflect.ProtoMessage { - return (*ResponseEcho)(x) +func (x *fastReflection_ResponseFlush) Interface() protoreflect.ProtoMessage { + return (*ResponseFlush)(x) } // Range iterates over every populated field in an undefined order, @@ -11932,13 +14172,7 @@ func (x *fastReflection_ResponseEcho) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseEcho) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Message != "" { - value := protoreflect.ValueOfString(x.Message) - if !f(fd_ResponseEcho_message, value) { - return - } - } +func (x *fastReflection_ResponseFlush) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -11952,15 +14186,13 @@ func (x *fastReflection_ResponseEcho) Range(f func(protoreflect.FieldDescriptor, // 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_ResponseEcho) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseFlush) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseEcho.message": - return x.Message != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEcho does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseFlush does not contain field %s", fd.FullName())) } } @@ -11970,15 +14202,13 @@ func (x *fastReflection_ResponseEcho) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseEcho) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseFlush) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseEcho.message": - x.Message = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEcho does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseFlush does not contain field %s", fd.FullName())) } } @@ -11988,16 +14218,13 @@ func (x *fastReflection_ResponseEcho) Clear(fd protoreflect.FieldDescriptor) { // 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_ResponseEcho) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseFlush) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseEcho.message": - value := x.Message - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEcho does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseFlush does not contain field %s", descriptor.FullName())) } } @@ -12011,15 +14238,13 @@ func (x *fastReflection_ResponseEcho) Get(descriptor protoreflect.FieldDescripto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseEcho) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseFlush) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseEcho.message": - x.Message = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEcho does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseFlush does not contain field %s", fd.FullName())) } } @@ -12033,40 +14258,36 @@ func (x *fastReflection_ResponseEcho) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseEcho) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseFlush) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseEcho.message": - panic(fmt.Errorf("field message of message tendermint.abci.ResponseEcho is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEcho does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseFlush 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_ResponseEcho) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseFlush) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseEcho.message": - return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEcho")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEcho does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseFlush 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_ResponseEcho) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseFlush) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseEcho", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseFlush", d.FullName())) } panic("unreachable") } @@ -12074,7 +14295,7 @@ func (x *fastReflection_ResponseEcho) WhichOneof(d protoreflect.OneofDescriptor) // 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_ResponseEcho) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseFlush) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -12085,7 +14306,7 @@ func (x *fastReflection_ResponseEcho) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseEcho) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseFlush) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -12097,7 +14318,7 @@ func (x *fastReflection_ResponseEcho) SetUnknown(fields protoreflect.RawFields) // 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_ResponseEcho) IsValid() bool { +func (x *fastReflection_ResponseFlush) IsValid() bool { return x != nil } @@ -12107,9 +14328,9 @@ func (x *fastReflection_ResponseEcho) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseEcho) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseFlush) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseEcho) + x := input.Message.Interface().(*ResponseFlush) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12121,10 +14342,6 @@ func (x *fastReflection_ResponseEcho) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Message) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -12135,7 +14352,7 @@ func (x *fastReflection_ResponseEcho) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseEcho) + x := input.Message.Interface().(*ResponseFlush) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12154,13 +14371,6 @@ func (x *fastReflection_ResponseEcho) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Message) > 0 { - i -= len(x.Message) - copy(dAtA[i:], x.Message) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Message))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -12172,7 +14382,7 @@ func (x *fastReflection_ResponseEcho) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseEcho) + x := input.Message.Interface().(*ResponseFlush) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12204,44 +14414,12 @@ func (x *fastReflection_ResponseEcho) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseEcho: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseFlush: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseEcho: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseFlush: 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 Message", 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.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -12278,24 +14456,34 @@ func (x *fastReflection_ResponseEcho) ProtoMethods() *protoiface.Methods { } var ( - md_ResponseFlush protoreflect.MessageDescriptor + md_ResponseInfo protoreflect.MessageDescriptor + fd_ResponseInfo_data protoreflect.FieldDescriptor + fd_ResponseInfo_version protoreflect.FieldDescriptor + fd_ResponseInfo_app_version protoreflect.FieldDescriptor + fd_ResponseInfo_last_block_height protoreflect.FieldDescriptor + fd_ResponseInfo_last_block_app_hash protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseFlush = File_tendermint_abci_types_proto.Messages().ByName("ResponseFlush") + md_ResponseInfo = File_tendermint_abci_types_proto.Messages().ByName("ResponseInfo") + fd_ResponseInfo_data = md_ResponseInfo.Fields().ByName("data") + fd_ResponseInfo_version = md_ResponseInfo.Fields().ByName("version") + fd_ResponseInfo_app_version = md_ResponseInfo.Fields().ByName("app_version") + fd_ResponseInfo_last_block_height = md_ResponseInfo.Fields().ByName("last_block_height") + fd_ResponseInfo_last_block_app_hash = md_ResponseInfo.Fields().ByName("last_block_app_hash") } -var _ protoreflect.Message = (*fastReflection_ResponseFlush)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseInfo)(nil) -type fastReflection_ResponseFlush ResponseFlush +type fastReflection_ResponseInfo ResponseInfo -func (x *ResponseFlush) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseFlush)(x) +func (x *ResponseInfo) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseInfo)(x) } -func (x *ResponseFlush) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[19] +func (x *ResponseInfo) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12306,43 +14494,43 @@ func (x *ResponseFlush) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseFlush_messageType fastReflection_ResponseFlush_messageType -var _ protoreflect.MessageType = fastReflection_ResponseFlush_messageType{} +var _fastReflection_ResponseInfo_messageType fastReflection_ResponseInfo_messageType +var _ protoreflect.MessageType = fastReflection_ResponseInfo_messageType{} -type fastReflection_ResponseFlush_messageType struct{} +type fastReflection_ResponseInfo_messageType struct{} -func (x fastReflection_ResponseFlush_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseFlush)(nil) +func (x fastReflection_ResponseInfo_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseInfo)(nil) } -func (x fastReflection_ResponseFlush_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseFlush) +func (x fastReflection_ResponseInfo_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseInfo) } -func (x fastReflection_ResponseFlush_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseFlush +func (x fastReflection_ResponseInfo_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseInfo } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseFlush) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseFlush +func (x *fastReflection_ResponseInfo) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseInfo } // 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_ResponseFlush) Type() protoreflect.MessageType { - return _fastReflection_ResponseFlush_messageType +func (x *fastReflection_ResponseInfo) Type() protoreflect.MessageType { + return _fastReflection_ResponseInfo_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseFlush) New() protoreflect.Message { - return new(fastReflection_ResponseFlush) +func (x *fastReflection_ResponseInfo) New() protoreflect.Message { + return new(fastReflection_ResponseInfo) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseFlush) Interface() protoreflect.ProtoMessage { - return (*ResponseFlush)(x) +func (x *fastReflection_ResponseInfo) Interface() protoreflect.ProtoMessage { + return (*ResponseInfo)(x) } // Range iterates over every populated field in an undefined order, @@ -12350,7 +14538,37 @@ func (x *fastReflection_ResponseFlush) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseFlush) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_ResponseInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Data != "" { + value := protoreflect.ValueOfString(x.Data) + if !f(fd_ResponseInfo_data, value) { + return + } + } + if x.Version != "" { + value := protoreflect.ValueOfString(x.Version) + if !f(fd_ResponseInfo_version, value) { + return + } + } + if x.AppVersion != uint64(0) { + value := protoreflect.ValueOfUint64(x.AppVersion) + if !f(fd_ResponseInfo_app_version, value) { + return + } + } + if x.LastBlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.LastBlockHeight) + if !f(fd_ResponseInfo_last_block_height, value) { + return + } + } + if len(x.LastBlockAppHash) != 0 { + value := protoreflect.ValueOfBytes(x.LastBlockAppHash) + if !f(fd_ResponseInfo_last_block_app_hash, value) { + return + } + } } // Has reports whether a field is populated. @@ -12364,13 +14582,23 @@ func (x *fastReflection_ResponseFlush) Range(f func(protoreflect.FieldDescriptor // 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_ResponseFlush) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseInfo) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "tendermint.abci.ResponseInfo.data": + return x.Data != "" + case "tendermint.abci.ResponseInfo.version": + return x.Version != "" + case "tendermint.abci.ResponseInfo.app_version": + return x.AppVersion != uint64(0) + case "tendermint.abci.ResponseInfo.last_block_height": + return x.LastBlockHeight != int64(0) + case "tendermint.abci.ResponseInfo.last_block_app_hash": + return len(x.LastBlockAppHash) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) } - panic(fmt.Errorf("message tendermint.abci.ResponseFlush does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInfo does not contain field %s", fd.FullName())) } } @@ -12380,13 +14608,23 @@ func (x *fastReflection_ResponseFlush) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseFlush) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseInfo) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "tendermint.abci.ResponseInfo.data": + x.Data = "" + case "tendermint.abci.ResponseInfo.version": + x.Version = "" + case "tendermint.abci.ResponseInfo.app_version": + x.AppVersion = uint64(0) + case "tendermint.abci.ResponseInfo.last_block_height": + x.LastBlockHeight = int64(0) + case "tendermint.abci.ResponseInfo.last_block_app_hash": + x.LastBlockAppHash = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) } - panic(fmt.Errorf("message tendermint.abci.ResponseFlush does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInfo does not contain field %s", fd.FullName())) } } @@ -12396,13 +14634,28 @@ func (x *fastReflection_ResponseFlush) Clear(fd protoreflect.FieldDescriptor) { // 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_ResponseFlush) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "tendermint.abci.ResponseInfo.data": + value := x.Data + return protoreflect.ValueOfString(value) + case "tendermint.abci.ResponseInfo.version": + value := x.Version + return protoreflect.ValueOfString(value) + case "tendermint.abci.ResponseInfo.app_version": + value := x.AppVersion + return protoreflect.ValueOfUint64(value) + case "tendermint.abci.ResponseInfo.last_block_height": + value := x.LastBlockHeight + return protoreflect.ValueOfInt64(value) + case "tendermint.abci.ResponseInfo.last_block_app_hash": + value := x.LastBlockAppHash + return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) } - panic(fmt.Errorf("message tendermint.abci.ResponseFlush does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInfo does not contain field %s", descriptor.FullName())) } } @@ -12416,13 +14669,23 @@ func (x *fastReflection_ResponseFlush) Get(descriptor protoreflect.FieldDescript // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseFlush) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "tendermint.abci.ResponseInfo.data": + x.Data = value.Interface().(string) + case "tendermint.abci.ResponseInfo.version": + x.Version = value.Interface().(string) + case "tendermint.abci.ResponseInfo.app_version": + x.AppVersion = value.Uint() + case "tendermint.abci.ResponseInfo.last_block_height": + x.LastBlockHeight = value.Int() + case "tendermint.abci.ResponseInfo.last_block_app_hash": + x.LastBlockAppHash = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) } - panic(fmt.Errorf("message tendermint.abci.ResponseFlush does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInfo does not contain field %s", fd.FullName())) } } @@ -12436,36 +14699,56 @@ func (x *fastReflection_ResponseFlush) Set(fd protoreflect.FieldDescriptor, valu // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseFlush) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "tendermint.abci.ResponseInfo.data": + panic(fmt.Errorf("field data of message tendermint.abci.ResponseInfo is not mutable")) + case "tendermint.abci.ResponseInfo.version": + panic(fmt.Errorf("field version of message tendermint.abci.ResponseInfo is not mutable")) + case "tendermint.abci.ResponseInfo.app_version": + panic(fmt.Errorf("field app_version of message tendermint.abci.ResponseInfo is not mutable")) + case "tendermint.abci.ResponseInfo.last_block_height": + panic(fmt.Errorf("field last_block_height of message tendermint.abci.ResponseInfo is not mutable")) + case "tendermint.abci.ResponseInfo.last_block_app_hash": + panic(fmt.Errorf("field last_block_app_hash of message tendermint.abci.ResponseInfo is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) } - panic(fmt.Errorf("message tendermint.abci.ResponseFlush does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInfo 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_ResponseFlush) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "tendermint.abci.ResponseInfo.data": + return protoreflect.ValueOfString("") + case "tendermint.abci.ResponseInfo.version": + return protoreflect.ValueOfString("") + case "tendermint.abci.ResponseInfo.app_version": + return protoreflect.ValueOfUint64(uint64(0)) + case "tendermint.abci.ResponseInfo.last_block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.ResponseInfo.last_block_app_hash": + return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseFlush")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) } - panic(fmt.Errorf("message tendermint.abci.ResponseFlush does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInfo 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_ResponseFlush) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseFlush", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseInfo", d.FullName())) } panic("unreachable") } @@ -12473,7 +14756,7 @@ func (x *fastReflection_ResponseFlush) WhichOneof(d protoreflect.OneofDescriptor // 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_ResponseFlush) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseInfo) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -12484,7 +14767,7 @@ func (x *fastReflection_ResponseFlush) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseFlush) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseInfo) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -12496,7 +14779,7 @@ func (x *fastReflection_ResponseFlush) SetUnknown(fields protoreflect.RawFields) // 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_ResponseFlush) IsValid() bool { +func (x *fastReflection_ResponseInfo) IsValid() bool { return x != nil } @@ -12506,9 +14789,9 @@ func (x *fastReflection_ResponseFlush) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseFlush) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseInfo) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseFlush) + x := input.Message.Interface().(*ResponseInfo) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12520,6 +14803,24 @@ func (x *fastReflection_ResponseFlush) ProtoMethods() *protoiface.Methods { var n int var l int _ = l + l = len(x.Data) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Version) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.AppVersion != 0 { + n += 1 + runtime.Sov(uint64(x.AppVersion)) + } + if x.LastBlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.LastBlockHeight)) + } + l = len(x.LastBlockAppHash) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -12530,7 +14831,7 @@ func (x *fastReflection_ResponseFlush) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseFlush) + x := input.Message.Interface().(*ResponseInfo) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12549,6 +14850,37 @@ func (x *fastReflection_ResponseFlush) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.LastBlockAppHash) > 0 { + i -= len(x.LastBlockAppHash) + copy(dAtA[i:], x.LastBlockAppHash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LastBlockAppHash))) + i-- + dAtA[i] = 0x2a + } + if x.LastBlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.LastBlockHeight)) + i-- + dAtA[i] = 0x20 + } + if x.AppVersion != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AppVersion)) + i-- + dAtA[i] = 0x18 + } + if len(x.Version) > 0 { + i -= len(x.Version) + copy(dAtA[i:], x.Version) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Version))) + i-- + dAtA[i] = 0x12 + } + if len(x.Data) > 0 { + i -= len(x.Data) + copy(dAtA[i:], x.Data) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) + i-- + dAtA[i] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -12560,7 +14892,7 @@ func (x *fastReflection_ResponseFlush) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseFlush) + x := input.Message.Interface().(*ResponseInfo) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12592,12 +14924,148 @@ func (x *fastReflection_ResponseFlush) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseFlush: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseInfo: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseFlush: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseInfo: 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 Data", 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.Data = 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 Version", 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.Version = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AppVersion", wireType) + } + x.AppVersion = 0 + 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++ + x.AppVersion |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LastBlockHeight", wireType) + } + x.LastBlockHeight = 0 + 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++ + x.LastBlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LastBlockAppHash", 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.LastBlockAppHash = append(x.LastBlockAppHash[:0], dAtA[iNdEx:postIndex]...) + if x.LastBlockAppHash == nil { + x.LastBlockAppHash = []byte{} + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -12633,35 +15101,82 @@ func (x *fastReflection_ResponseFlush) ProtoMethods() *protoiface.Methods { } } +var _ protoreflect.List = (*_ResponseInitChain_2_list)(nil) + +type _ResponseInitChain_2_list struct { + list *[]*ValidatorUpdate +} + +func (x *_ResponseInitChain_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_ResponseInitChain_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_ResponseInitChain_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) + (*x.list)[i] = concreteValue +} + +func (x *_ResponseInitChain_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) + *x.list = append(*x.list, concreteValue) +} + +func (x *_ResponseInitChain_2_list) AppendMutable() protoreflect.Value { + v := new(ValidatorUpdate) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_ResponseInitChain_2_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_ResponseInitChain_2_list) NewElement() protoreflect.Value { + v := new(ValidatorUpdate) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_ResponseInitChain_2_list) IsValid() bool { + return x.list != nil +} + var ( - md_ResponseInfo protoreflect.MessageDescriptor - fd_ResponseInfo_data protoreflect.FieldDescriptor - fd_ResponseInfo_version protoreflect.FieldDescriptor - fd_ResponseInfo_app_version protoreflect.FieldDescriptor - fd_ResponseInfo_last_block_height protoreflect.FieldDescriptor - fd_ResponseInfo_last_block_app_hash protoreflect.FieldDescriptor + md_ResponseInitChain protoreflect.MessageDescriptor + fd_ResponseInitChain_consensus_params protoreflect.FieldDescriptor + fd_ResponseInitChain_validators protoreflect.FieldDescriptor + fd_ResponseInitChain_app_hash protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseInfo = File_tendermint_abci_types_proto.Messages().ByName("ResponseInfo") - fd_ResponseInfo_data = md_ResponseInfo.Fields().ByName("data") - fd_ResponseInfo_version = md_ResponseInfo.Fields().ByName("version") - fd_ResponseInfo_app_version = md_ResponseInfo.Fields().ByName("app_version") - fd_ResponseInfo_last_block_height = md_ResponseInfo.Fields().ByName("last_block_height") - fd_ResponseInfo_last_block_app_hash = md_ResponseInfo.Fields().ByName("last_block_app_hash") + md_ResponseInitChain = File_tendermint_abci_types_proto.Messages().ByName("ResponseInitChain") + fd_ResponseInitChain_consensus_params = md_ResponseInitChain.Fields().ByName("consensus_params") + fd_ResponseInitChain_validators = md_ResponseInitChain.Fields().ByName("validators") + fd_ResponseInitChain_app_hash = md_ResponseInitChain.Fields().ByName("app_hash") } -var _ protoreflect.Message = (*fastReflection_ResponseInfo)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseInitChain)(nil) -type fastReflection_ResponseInfo ResponseInfo +type fastReflection_ResponseInitChain ResponseInitChain -func (x *ResponseInfo) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseInfo)(x) +func (x *ResponseInitChain) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseInitChain)(x) } -func (x *ResponseInfo) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[20] +func (x *ResponseInitChain) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12672,43 +15187,43 @@ func (x *ResponseInfo) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseInfo_messageType fastReflection_ResponseInfo_messageType -var _ protoreflect.MessageType = fastReflection_ResponseInfo_messageType{} +var _fastReflection_ResponseInitChain_messageType fastReflection_ResponseInitChain_messageType +var _ protoreflect.MessageType = fastReflection_ResponseInitChain_messageType{} -type fastReflection_ResponseInfo_messageType struct{} +type fastReflection_ResponseInitChain_messageType struct{} -func (x fastReflection_ResponseInfo_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseInfo)(nil) +func (x fastReflection_ResponseInitChain_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseInitChain)(nil) } -func (x fastReflection_ResponseInfo_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseInfo) +func (x fastReflection_ResponseInitChain_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseInitChain) } -func (x fastReflection_ResponseInfo_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseInfo +func (x fastReflection_ResponseInitChain_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseInitChain } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseInfo) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseInfo +func (x *fastReflection_ResponseInitChain) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseInitChain } // 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_ResponseInfo) Type() protoreflect.MessageType { - return _fastReflection_ResponseInfo_messageType +func (x *fastReflection_ResponseInitChain) Type() protoreflect.MessageType { + return _fastReflection_ResponseInitChain_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseInfo) New() protoreflect.Message { - return new(fastReflection_ResponseInfo) +func (x *fastReflection_ResponseInitChain) New() protoreflect.Message { + return new(fastReflection_ResponseInitChain) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseInfo) Interface() protoreflect.ProtoMessage { - return (*ResponseInfo)(x) +func (x *fastReflection_ResponseInitChain) Interface() protoreflect.ProtoMessage { + return (*ResponseInitChain)(x) } // Range iterates over every populated field in an undefined order, @@ -12716,34 +15231,22 @@ func (x *fastReflection_ResponseInfo) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Data != "" { - value := protoreflect.ValueOfString(x.Data) - if !f(fd_ResponseInfo_data, value) { - return - } - } - if x.Version != "" { - value := protoreflect.ValueOfString(x.Version) - if !f(fd_ResponseInfo_version, value) { - return - } - } - if x.AppVersion != uint64(0) { - value := protoreflect.ValueOfUint64(x.AppVersion) - if !f(fd_ResponseInfo_app_version, value) { +func (x *fastReflection_ResponseInitChain) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ConsensusParams != nil { + value := protoreflect.ValueOfMessage(x.ConsensusParams.ProtoReflect()) + if !f(fd_ResponseInitChain_consensus_params, value) { return } } - if x.LastBlockHeight != int64(0) { - value := protoreflect.ValueOfInt64(x.LastBlockHeight) - if !f(fd_ResponseInfo_last_block_height, value) { + if len(x.Validators) != 0 { + value := protoreflect.ValueOfList(&_ResponseInitChain_2_list{list: &x.Validators}) + if !f(fd_ResponseInitChain_validators, value) { return } } - if len(x.LastBlockAppHash) != 0 { - value := protoreflect.ValueOfBytes(x.LastBlockAppHash) - if !f(fd_ResponseInfo_last_block_app_hash, value) { + if len(x.AppHash) != 0 { + value := protoreflect.ValueOfBytes(x.AppHash) + if !f(fd_ResponseInitChain_app_hash, value) { return } } @@ -12760,23 +15263,19 @@ func (x *fastReflection_ResponseInfo) Range(f func(protoreflect.FieldDescriptor, // 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_ResponseInfo) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseInitChain) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseInfo.data": - return x.Data != "" - case "tendermint.abci.ResponseInfo.version": - return x.Version != "" - case "tendermint.abci.ResponseInfo.app_version": - return x.AppVersion != uint64(0) - case "tendermint.abci.ResponseInfo.last_block_height": - return x.LastBlockHeight != int64(0) - case "tendermint.abci.ResponseInfo.last_block_app_hash": - return len(x.LastBlockAppHash) != 0 + case "tendermint.abci.ResponseInitChain.consensus_params": + return x.ConsensusParams != nil + case "tendermint.abci.ResponseInitChain.validators": + return len(x.Validators) != 0 + case "tendermint.abci.ResponseInitChain.app_hash": + return len(x.AppHash) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInitChain does not contain field %s", fd.FullName())) } } @@ -12786,23 +15285,19 @@ func (x *fastReflection_ResponseInfo) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseInfo) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseInitChain) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseInfo.data": - x.Data = "" - case "tendermint.abci.ResponseInfo.version": - x.Version = "" - case "tendermint.abci.ResponseInfo.app_version": - x.AppVersion = uint64(0) - case "tendermint.abci.ResponseInfo.last_block_height": - x.LastBlockHeight = int64(0) - case "tendermint.abci.ResponseInfo.last_block_app_hash": - x.LastBlockAppHash = nil + case "tendermint.abci.ResponseInitChain.consensus_params": + x.ConsensusParams = nil + case "tendermint.abci.ResponseInitChain.validators": + x.Validators = nil + case "tendermint.abci.ResponseInitChain.app_hash": + x.AppHash = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInitChain does not contain field %s", fd.FullName())) } } @@ -12812,28 +15307,25 @@ func (x *fastReflection_ResponseInfo) Clear(fd protoreflect.FieldDescriptor) { // 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_ResponseInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseInitChain) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseInfo.data": - value := x.Data - return protoreflect.ValueOfString(value) - case "tendermint.abci.ResponseInfo.version": - value := x.Version - return protoreflect.ValueOfString(value) - case "tendermint.abci.ResponseInfo.app_version": - value := x.AppVersion - return protoreflect.ValueOfUint64(value) - case "tendermint.abci.ResponseInfo.last_block_height": - value := x.LastBlockHeight - return protoreflect.ValueOfInt64(value) - case "tendermint.abci.ResponseInfo.last_block_app_hash": - value := x.LastBlockAppHash + case "tendermint.abci.ResponseInitChain.consensus_params": + value := x.ConsensusParams + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.ResponseInitChain.validators": + if len(x.Validators) == 0 { + return protoreflect.ValueOfList(&_ResponseInitChain_2_list{}) + } + listValue := &_ResponseInitChain_2_list{list: &x.Validators} + return protoreflect.ValueOfList(listValue) + case "tendermint.abci.ResponseInitChain.app_hash": + value := x.AppHash return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInfo does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInitChain does not contain field %s", descriptor.FullName())) } } @@ -12847,23 +15339,21 @@ func (x *fastReflection_ResponseInfo) Get(descriptor protoreflect.FieldDescripto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseInitChain) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseInfo.data": - x.Data = value.Interface().(string) - case "tendermint.abci.ResponseInfo.version": - x.Version = value.Interface().(string) - case "tendermint.abci.ResponseInfo.app_version": - x.AppVersion = value.Uint() - case "tendermint.abci.ResponseInfo.last_block_height": - x.LastBlockHeight = value.Int() - case "tendermint.abci.ResponseInfo.last_block_app_hash": - x.LastBlockAppHash = value.Bytes() + case "tendermint.abci.ResponseInitChain.consensus_params": + x.ConsensusParams = value.Message().Interface().(*types.ConsensusParams) + case "tendermint.abci.ResponseInitChain.validators": + lv := value.List() + clv := lv.(*_ResponseInitChain_2_list) + x.Validators = *clv.list + case "tendermint.abci.ResponseInitChain.app_hash": + x.AppHash = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInitChain does not contain field %s", fd.FullName())) } } @@ -12877,56 +15367,57 @@ func (x *fastReflection_ResponseInfo) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseInitChain) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseInfo.data": - panic(fmt.Errorf("field data of message tendermint.abci.ResponseInfo is not mutable")) - case "tendermint.abci.ResponseInfo.version": - panic(fmt.Errorf("field version of message tendermint.abci.ResponseInfo is not mutable")) - case "tendermint.abci.ResponseInfo.app_version": - panic(fmt.Errorf("field app_version of message tendermint.abci.ResponseInfo is not mutable")) - case "tendermint.abci.ResponseInfo.last_block_height": - panic(fmt.Errorf("field last_block_height of message tendermint.abci.ResponseInfo is not mutable")) - case "tendermint.abci.ResponseInfo.last_block_app_hash": - panic(fmt.Errorf("field last_block_app_hash of message tendermint.abci.ResponseInfo is not mutable")) + case "tendermint.abci.ResponseInitChain.consensus_params": + if x.ConsensusParams == nil { + x.ConsensusParams = new(types.ConsensusParams) + } + return protoreflect.ValueOfMessage(x.ConsensusParams.ProtoReflect()) + case "tendermint.abci.ResponseInitChain.validators": + if x.Validators == nil { + x.Validators = []*ValidatorUpdate{} + } + value := &_ResponseInitChain_2_list{list: &x.Validators} + return protoreflect.ValueOfList(value) + case "tendermint.abci.ResponseInitChain.app_hash": + panic(fmt.Errorf("field app_hash of message tendermint.abci.ResponseInitChain is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInitChain 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_ResponseInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseInitChain) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseInfo.data": - return protoreflect.ValueOfString("") - case "tendermint.abci.ResponseInfo.version": - return protoreflect.ValueOfString("") - case "tendermint.abci.ResponseInfo.app_version": - return protoreflect.ValueOfUint64(uint64(0)) - case "tendermint.abci.ResponseInfo.last_block_height": - return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.abci.ResponseInfo.last_block_app_hash": + case "tendermint.abci.ResponseInitChain.consensus_params": + m := new(types.ConsensusParams) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.ResponseInitChain.validators": + list := []*ValidatorUpdate{} + return protoreflect.ValueOfList(&_ResponseInitChain_2_list{list: &list}) + case "tendermint.abci.ResponseInitChain.app_hash": return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseInitChain 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_ResponseInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseInitChain) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseInfo", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseInitChain", d.FullName())) } panic("unreachable") } @@ -12934,7 +15425,7 @@ func (x *fastReflection_ResponseInfo) WhichOneof(d protoreflect.OneofDescriptor) // 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_ResponseInfo) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseInitChain) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -12945,7 +15436,7 @@ func (x *fastReflection_ResponseInfo) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseInfo) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseInitChain) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -12957,7 +15448,7 @@ func (x *fastReflection_ResponseInfo) SetUnknown(fields protoreflect.RawFields) // 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_ResponseInfo) IsValid() bool { +func (x *fastReflection_ResponseInitChain) IsValid() bool { return x != nil } @@ -12967,9 +15458,9 @@ func (x *fastReflection_ResponseInfo) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseInfo) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseInitChain) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseInfo) + x := input.Message.Interface().(*ResponseInitChain) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12981,21 +15472,17 @@ func (x *fastReflection_ResponseInfo) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Data) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Version) - if l > 0 { + if x.ConsensusParams != nil { + l = options.Size(x.ConsensusParams) n += 1 + l + runtime.Sov(uint64(l)) } - if x.AppVersion != 0 { - n += 1 + runtime.Sov(uint64(x.AppVersion)) - } - if x.LastBlockHeight != 0 { - n += 1 + runtime.Sov(uint64(x.LastBlockHeight)) + if len(x.Validators) > 0 { + for _, e := range x.Validators { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } } - l = len(x.LastBlockAppHash) + l = len(x.AppHash) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -13009,7 +15496,7 @@ func (x *fastReflection_ResponseInfo) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseInfo) + x := input.Message.Interface().(*ResponseInitChain) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13028,34 +15515,40 @@ func (x *fastReflection_ResponseInfo) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.LastBlockAppHash) > 0 { - i -= len(x.LastBlockAppHash) - copy(dAtA[i:], x.LastBlockAppHash) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LastBlockAppHash))) - i-- - dAtA[i] = 0x2a - } - if x.LastBlockHeight != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.LastBlockHeight)) - i-- - dAtA[i] = 0x20 - } - if x.AppVersion != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.AppVersion)) + if len(x.AppHash) > 0 { + i -= len(x.AppHash) + copy(dAtA[i:], x.AppHash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AppHash))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if len(x.Version) > 0 { - i -= len(x.Version) - copy(dAtA[i:], x.Version) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Version))) - i-- - dAtA[i] = 0x12 + if len(x.Validators) > 0 { + for iNdEx := len(x.Validators) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Validators[iNdEx]) + 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.Data) > 0 { - i -= len(x.Data) - copy(dAtA[i:], x.Data) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) + if x.ConsensusParams != nil { + encoded, err := options.Marshal(x.ConsensusParams) + 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] = 0xa } @@ -13070,7 +15563,7 @@ func (x *fastReflection_ResponseInfo) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseInfo) + x := input.Message.Interface().(*ResponseInitChain) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13102,17 +15595,17 @@ func (x *fastReflection_ResponseInfo) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseInfo: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseInitChain: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseInfo: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseInitChain: 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 Data", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConsensusParams", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -13122,29 +15615,33 @@ func (x *fastReflection_ResponseInfo) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Data = string(dAtA[iNdEx:postIndex]) + if x.ConsensusParams == nil { + x.ConsensusParams = &types.ConsensusParams{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ConsensusParams); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Validators", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -13154,65 +15651,29 @@ func (x *fastReflection_ResponseInfo) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Version = string(dAtA[iNdEx:postIndex]) + x.Validators = append(x.Validators, &ValidatorUpdate{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Validators[len(x.Validators)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AppVersion", wireType) - } - x.AppVersion = 0 - 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++ - x.AppVersion |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LastBlockHeight", wireType) - } - x.LastBlockHeight = 0 - 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++ - x.LastBlockHeight |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LastBlockAppHash", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -13239,9 +15700,9 @@ func (x *fastReflection_ResponseInfo) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.LastBlockAppHash = append(x.LastBlockAppHash[:0], dAtA[iNdEx:postIndex]...) - if x.LastBlockAppHash == nil { - x.LastBlockAppHash = []byte{} + x.AppHash = append(x.AppHash[:0], dAtA[iNdEx:postIndex]...) + if x.AppHash == nil { + x.AppHash = []byte{} } iNdEx = postIndex default: @@ -13280,30 +15741,42 @@ func (x *fastReflection_ResponseInfo) ProtoMethods() *protoiface.Methods { } var ( - md_ResponseSetOption protoreflect.MessageDescriptor - fd_ResponseSetOption_code protoreflect.FieldDescriptor - fd_ResponseSetOption_log protoreflect.FieldDescriptor - fd_ResponseSetOption_info protoreflect.FieldDescriptor + md_ResponseQuery protoreflect.MessageDescriptor + fd_ResponseQuery_code protoreflect.FieldDescriptor + fd_ResponseQuery_log protoreflect.FieldDescriptor + fd_ResponseQuery_info protoreflect.FieldDescriptor + fd_ResponseQuery_index protoreflect.FieldDescriptor + fd_ResponseQuery_key protoreflect.FieldDescriptor + fd_ResponseQuery_value protoreflect.FieldDescriptor + fd_ResponseQuery_proof_ops protoreflect.FieldDescriptor + fd_ResponseQuery_height protoreflect.FieldDescriptor + fd_ResponseQuery_codespace protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseSetOption = File_tendermint_abci_types_proto.Messages().ByName("ResponseSetOption") - fd_ResponseSetOption_code = md_ResponseSetOption.Fields().ByName("code") - fd_ResponseSetOption_log = md_ResponseSetOption.Fields().ByName("log") - fd_ResponseSetOption_info = md_ResponseSetOption.Fields().ByName("info") + md_ResponseQuery = File_tendermint_abci_types_proto.Messages().ByName("ResponseQuery") + fd_ResponseQuery_code = md_ResponseQuery.Fields().ByName("code") + fd_ResponseQuery_log = md_ResponseQuery.Fields().ByName("log") + fd_ResponseQuery_info = md_ResponseQuery.Fields().ByName("info") + fd_ResponseQuery_index = md_ResponseQuery.Fields().ByName("index") + fd_ResponseQuery_key = md_ResponseQuery.Fields().ByName("key") + fd_ResponseQuery_value = md_ResponseQuery.Fields().ByName("value") + fd_ResponseQuery_proof_ops = md_ResponseQuery.Fields().ByName("proof_ops") + fd_ResponseQuery_height = md_ResponseQuery.Fields().ByName("height") + fd_ResponseQuery_codespace = md_ResponseQuery.Fields().ByName("codespace") } -var _ protoreflect.Message = (*fastReflection_ResponseSetOption)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseQuery)(nil) -type fastReflection_ResponseSetOption ResponseSetOption +type fastReflection_ResponseQuery ResponseQuery -func (x *ResponseSetOption) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseSetOption)(x) +func (x *ResponseQuery) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseQuery)(x) } -func (x *ResponseSetOption) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[21] +func (x *ResponseQuery) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13314,43 +15787,43 @@ func (x *ResponseSetOption) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseSetOption_messageType fastReflection_ResponseSetOption_messageType -var _ protoreflect.MessageType = fastReflection_ResponseSetOption_messageType{} +var _fastReflection_ResponseQuery_messageType fastReflection_ResponseQuery_messageType +var _ protoreflect.MessageType = fastReflection_ResponseQuery_messageType{} -type fastReflection_ResponseSetOption_messageType struct{} +type fastReflection_ResponseQuery_messageType struct{} -func (x fastReflection_ResponseSetOption_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseSetOption)(nil) +func (x fastReflection_ResponseQuery_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseQuery)(nil) } -func (x fastReflection_ResponseSetOption_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseSetOption) +func (x fastReflection_ResponseQuery_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseQuery) } -func (x fastReflection_ResponseSetOption_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseSetOption +func (x fastReflection_ResponseQuery_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseQuery } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseSetOption) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseSetOption +func (x *fastReflection_ResponseQuery) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseQuery } // 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_ResponseSetOption) Type() protoreflect.MessageType { - return _fastReflection_ResponseSetOption_messageType +func (x *fastReflection_ResponseQuery) Type() protoreflect.MessageType { + return _fastReflection_ResponseQuery_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseSetOption) New() protoreflect.Message { - return new(fastReflection_ResponseSetOption) +func (x *fastReflection_ResponseQuery) New() protoreflect.Message { + return new(fastReflection_ResponseQuery) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseSetOption) Interface() protoreflect.ProtoMessage { - return (*ResponseSetOption)(x) +func (x *fastReflection_ResponseQuery) Interface() protoreflect.ProtoMessage { + return (*ResponseQuery)(x) } // Range iterates over every populated field in an undefined order, @@ -13358,22 +15831,58 @@ func (x *fastReflection_ResponseSetOption) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseSetOption) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_ResponseQuery) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Code != uint32(0) { value := protoreflect.ValueOfUint32(x.Code) - if !f(fd_ResponseSetOption_code, value) { + if !f(fd_ResponseQuery_code, value) { return } } if x.Log != "" { value := protoreflect.ValueOfString(x.Log) - if !f(fd_ResponseSetOption_log, value) { + if !f(fd_ResponseQuery_log, value) { return } } if x.Info != "" { value := protoreflect.ValueOfString(x.Info) - if !f(fd_ResponseSetOption_info, value) { + if !f(fd_ResponseQuery_info, value) { + return + } + } + if x.Index != int64(0) { + value := protoreflect.ValueOfInt64(x.Index) + if !f(fd_ResponseQuery_index, value) { + return + } + } + if len(x.Key) != 0 { + value := protoreflect.ValueOfBytes(x.Key) + if !f(fd_ResponseQuery_key, value) { + return + } + } + if len(x.Value) != 0 { + value := protoreflect.ValueOfBytes(x.Value) + if !f(fd_ResponseQuery_value, value) { + return + } + } + if x.ProofOps != nil { + value := protoreflect.ValueOfMessage(x.ProofOps.ProtoReflect()) + if !f(fd_ResponseQuery_proof_ops, value) { + return + } + } + if x.Height != int64(0) { + value := protoreflect.ValueOfInt64(x.Height) + if !f(fd_ResponseQuery_height, value) { + return + } + } + if x.Codespace != "" { + value := protoreflect.ValueOfString(x.Codespace) + if !f(fd_ResponseQuery_codespace, value) { return } } @@ -13390,19 +15899,31 @@ func (x *fastReflection_ResponseSetOption) Range(f func(protoreflect.FieldDescri // 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_ResponseSetOption) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseQuery) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseSetOption.code": + case "tendermint.abci.ResponseQuery.code": return x.Code != uint32(0) - case "tendermint.abci.ResponseSetOption.log": + case "tendermint.abci.ResponseQuery.log": return x.Log != "" - case "tendermint.abci.ResponseSetOption.info": + case "tendermint.abci.ResponseQuery.info": return x.Info != "" + case "tendermint.abci.ResponseQuery.index": + return x.Index != int64(0) + case "tendermint.abci.ResponseQuery.key": + return len(x.Key) != 0 + case "tendermint.abci.ResponseQuery.value": + return len(x.Value) != 0 + case "tendermint.abci.ResponseQuery.proof_ops": + return x.ProofOps != nil + case "tendermint.abci.ResponseQuery.height": + return x.Height != int64(0) + case "tendermint.abci.ResponseQuery.codespace": + return x.Codespace != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) } - panic(fmt.Errorf("message tendermint.abci.ResponseSetOption does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseQuery does not contain field %s", fd.FullName())) } } @@ -13412,19 +15933,31 @@ func (x *fastReflection_ResponseSetOption) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseSetOption) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseQuery) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseSetOption.code": + case "tendermint.abci.ResponseQuery.code": x.Code = uint32(0) - case "tendermint.abci.ResponseSetOption.log": + case "tendermint.abci.ResponseQuery.log": x.Log = "" - case "tendermint.abci.ResponseSetOption.info": + case "tendermint.abci.ResponseQuery.info": x.Info = "" + case "tendermint.abci.ResponseQuery.index": + x.Index = int64(0) + case "tendermint.abci.ResponseQuery.key": + x.Key = nil + case "tendermint.abci.ResponseQuery.value": + x.Value = nil + case "tendermint.abci.ResponseQuery.proof_ops": + x.ProofOps = nil + case "tendermint.abci.ResponseQuery.height": + x.Height = int64(0) + case "tendermint.abci.ResponseQuery.codespace": + x.Codespace = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) } - panic(fmt.Errorf("message tendermint.abci.ResponseSetOption does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseQuery does not contain field %s", fd.FullName())) } } @@ -13434,22 +15967,40 @@ func (x *fastReflection_ResponseSetOption) Clear(fd protoreflect.FieldDescriptor // 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_ResponseSetOption) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseQuery) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseSetOption.code": + case "tendermint.abci.ResponseQuery.code": value := x.Code return protoreflect.ValueOfUint32(value) - case "tendermint.abci.ResponseSetOption.log": + case "tendermint.abci.ResponseQuery.log": value := x.Log return protoreflect.ValueOfString(value) - case "tendermint.abci.ResponseSetOption.info": + case "tendermint.abci.ResponseQuery.info": value := x.Info return protoreflect.ValueOfString(value) + case "tendermint.abci.ResponseQuery.index": + value := x.Index + return protoreflect.ValueOfInt64(value) + case "tendermint.abci.ResponseQuery.key": + value := x.Key + return protoreflect.ValueOfBytes(value) + case "tendermint.abci.ResponseQuery.value": + value := x.Value + return protoreflect.ValueOfBytes(value) + case "tendermint.abci.ResponseQuery.proof_ops": + value := x.ProofOps + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.ResponseQuery.height": + value := x.Height + return protoreflect.ValueOfInt64(value) + case "tendermint.abci.ResponseQuery.codespace": + value := x.Codespace + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) } - panic(fmt.Errorf("message tendermint.abci.ResponseSetOption does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseQuery does not contain field %s", descriptor.FullName())) } } @@ -13463,19 +16014,31 @@ func (x *fastReflection_ResponseSetOption) Get(descriptor protoreflect.FieldDesc // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseSetOption) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseQuery) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseSetOption.code": + case "tendermint.abci.ResponseQuery.code": x.Code = uint32(value.Uint()) - case "tendermint.abci.ResponseSetOption.log": + case "tendermint.abci.ResponseQuery.log": x.Log = value.Interface().(string) - case "tendermint.abci.ResponseSetOption.info": + case "tendermint.abci.ResponseQuery.info": x.Info = value.Interface().(string) + case "tendermint.abci.ResponseQuery.index": + x.Index = value.Int() + case "tendermint.abci.ResponseQuery.key": + x.Key = value.Bytes() + case "tendermint.abci.ResponseQuery.value": + x.Value = value.Bytes() + case "tendermint.abci.ResponseQuery.proof_ops": + x.ProofOps = value.Message().Interface().(*crypto.ProofOps) + case "tendermint.abci.ResponseQuery.height": + x.Height = value.Int() + case "tendermint.abci.ResponseQuery.codespace": + x.Codespace = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) } - panic(fmt.Errorf("message tendermint.abci.ResponseSetOption does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseQuery does not contain field %s", fd.FullName())) } } @@ -13489,48 +16052,76 @@ func (x *fastReflection_ResponseSetOption) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseSetOption) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseQuery) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseSetOption.code": - panic(fmt.Errorf("field code of message tendermint.abci.ResponseSetOption is not mutable")) - case "tendermint.abci.ResponseSetOption.log": - panic(fmt.Errorf("field log of message tendermint.abci.ResponseSetOption is not mutable")) - case "tendermint.abci.ResponseSetOption.info": - panic(fmt.Errorf("field info of message tendermint.abci.ResponseSetOption is not mutable")) + case "tendermint.abci.ResponseQuery.proof_ops": + if x.ProofOps == nil { + x.ProofOps = new(crypto.ProofOps) + } + return protoreflect.ValueOfMessage(x.ProofOps.ProtoReflect()) + case "tendermint.abci.ResponseQuery.code": + panic(fmt.Errorf("field code of message tendermint.abci.ResponseQuery is not mutable")) + case "tendermint.abci.ResponseQuery.log": + panic(fmt.Errorf("field log of message tendermint.abci.ResponseQuery is not mutable")) + case "tendermint.abci.ResponseQuery.info": + panic(fmt.Errorf("field info of message tendermint.abci.ResponseQuery is not mutable")) + case "tendermint.abci.ResponseQuery.index": + panic(fmt.Errorf("field index of message tendermint.abci.ResponseQuery is not mutable")) + case "tendermint.abci.ResponseQuery.key": + panic(fmt.Errorf("field key of message tendermint.abci.ResponseQuery is not mutable")) + case "tendermint.abci.ResponseQuery.value": + panic(fmt.Errorf("field value of message tendermint.abci.ResponseQuery is not mutable")) + case "tendermint.abci.ResponseQuery.height": + panic(fmt.Errorf("field height of message tendermint.abci.ResponseQuery is not mutable")) + case "tendermint.abci.ResponseQuery.codespace": + panic(fmt.Errorf("field codespace of message tendermint.abci.ResponseQuery is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) } - panic(fmt.Errorf("message tendermint.abci.ResponseSetOption does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseQuery 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_ResponseSetOption) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseQuery) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseSetOption.code": + case "tendermint.abci.ResponseQuery.code": return protoreflect.ValueOfUint32(uint32(0)) - case "tendermint.abci.ResponseSetOption.log": + case "tendermint.abci.ResponseQuery.log": + return protoreflect.ValueOfString("") + case "tendermint.abci.ResponseQuery.info": return protoreflect.ValueOfString("") - case "tendermint.abci.ResponseSetOption.info": + case "tendermint.abci.ResponseQuery.index": + return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.ResponseQuery.key": + return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.ResponseQuery.value": + return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.ResponseQuery.proof_ops": + m := new(crypto.ProofOps) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.ResponseQuery.height": + return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.ResponseQuery.codespace": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseSetOption")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) } - panic(fmt.Errorf("message tendermint.abci.ResponseSetOption does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseQuery 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_ResponseSetOption) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseQuery) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseSetOption", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseQuery", d.FullName())) } panic("unreachable") } @@ -13538,7 +16129,7 @@ func (x *fastReflection_ResponseSetOption) WhichOneof(d protoreflect.OneofDescri // 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_ResponseSetOption) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseQuery) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -13549,7 +16140,7 @@ func (x *fastReflection_ResponseSetOption) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseSetOption) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseQuery) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -13561,7 +16152,7 @@ func (x *fastReflection_ResponseSetOption) SetUnknown(fields protoreflect.RawFie // 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_ResponseSetOption) IsValid() bool { +func (x *fastReflection_ResponseQuery) IsValid() bool { return x != nil } @@ -13571,9 +16162,9 @@ func (x *fastReflection_ResponseSetOption) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseSetOption) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseSetOption) + x := input.Message.Interface().(*ResponseQuery) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13596,6 +16187,28 @@ func (x *fastReflection_ResponseSetOption) ProtoMethods() *protoiface.Methods { if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + if x.Index != 0 { + n += 1 + runtime.Sov(uint64(x.Index)) + } + l = len(x.Key) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Value) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.ProofOps != nil { + l = options.Size(x.ProofOps) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Height != 0 { + n += 1 + runtime.Sov(uint64(x.Height)) + } + l = len(x.Codespace) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -13606,7 +16219,7 @@ func (x *fastReflection_ResponseSetOption) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseSetOption) + x := input.Message.Interface().(*ResponseQuery) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13625,6 +16238,51 @@ func (x *fastReflection_ResponseSetOption) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.Codespace) > 0 { + i -= len(x.Codespace) + copy(dAtA[i:], x.Codespace) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Codespace))) + i-- + dAtA[i] = 0x52 + } + if x.Height != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) + i-- + dAtA[i] = 0x48 + } + if x.ProofOps != nil { + encoded, err := options.Marshal(x.ProofOps) + 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] = 0x42 + } + if len(x.Value) > 0 { + i -= len(x.Value) + copy(dAtA[i:], x.Value) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + i-- + dAtA[i] = 0x3a + } + if len(x.Key) > 0 { + i -= len(x.Key) + copy(dAtA[i:], x.Key) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Key))) + i-- + dAtA[i] = 0x32 + } + if x.Index != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Index)) + i-- + dAtA[i] = 0x28 + } if len(x.Info) > 0 { i -= len(x.Info) copy(dAtA[i:], x.Info) @@ -13655,7 +16313,7 @@ func (x *fastReflection_ResponseSetOption) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseSetOption) + x := input.Message.Interface().(*ResponseQuery) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13674,30 +16332,113 @@ func (x *fastReflection_ResponseSetOption) ProtoMethods() *protoiface.Methods { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow } - if iNdEx >= l { + 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: ResponseQuery: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseQuery: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) + } + x.Code = 0 + 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++ + x.Code |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Log", 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 } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + x.Log = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseSetOption: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseSetOption: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + 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.Info = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) } - x.Code = 0 + x.Index = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -13707,16 +16448,16 @@ func (x *fastReflection_ResponseSetOption) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - x.Code |= uint32(b&0x7F) << shift + x.Index |= int64(b&0x7F) << shift if b < 0x80 { break } } - case 3: + case 6: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Log", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) } - var stringLen uint64 + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -13726,27 +16467,118 @@ func (x *fastReflection_ResponseSetOption) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if byteLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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.Log = string(dAtA[iNdEx:postIndex]) + x.Key = append(x.Key[:0], dAtA[iNdEx:postIndex]...) + if x.Key == nil { + x.Key = []byte{} + } iNdEx = postIndex - case 4: + case 7: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", 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.Value = append(x.Value[:0], dAtA[iNdEx:postIndex]...) + if x.Value == nil { + x.Value = []byte{} + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProofOps", 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.ProofOps == nil { + x.ProofOps = &crypto.ProofOps{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ProofOps); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 9: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + } + x.Height = 0 + 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++ + x.Height |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13774,7 +16606,7 @@ func (x *fastReflection_ResponseSetOption) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Info = string(dAtA[iNdEx:postIndex]) + x.Codespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13811,82 +16643,78 @@ func (x *fastReflection_ResponseSetOption) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_ResponseInitChain_2_list)(nil) +var _ protoreflect.List = (*_ResponseBeginBlock_1_list)(nil) -type _ResponseInitChain_2_list struct { - list *[]*ValidatorUpdate +type _ResponseBeginBlock_1_list struct { + list *[]*Event } -func (x *_ResponseInitChain_2_list) Len() int { +func (x *_ResponseBeginBlock_1_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_ResponseInitChain_2_list) Get(i int) protoreflect.Value { +func (x *_ResponseBeginBlock_1_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_ResponseInitChain_2_list) Set(i int, value protoreflect.Value) { +func (x *_ResponseBeginBlock_1_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) + concreteValue := valueUnwrapped.Interface().(*Event) (*x.list)[i] = concreteValue } -func (x *_ResponseInitChain_2_list) Append(value protoreflect.Value) { +func (x *_ResponseBeginBlock_1_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) + concreteValue := valueUnwrapped.Interface().(*Event) *x.list = append(*x.list, concreteValue) } -func (x *_ResponseInitChain_2_list) AppendMutable() protoreflect.Value { - v := new(ValidatorUpdate) +func (x *_ResponseBeginBlock_1_list) AppendMutable() protoreflect.Value { + v := new(Event) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_ResponseInitChain_2_list) Truncate(n int) { +func (x *_ResponseBeginBlock_1_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_ResponseInitChain_2_list) NewElement() protoreflect.Value { - v := new(ValidatorUpdate) +func (x *_ResponseBeginBlock_1_list) NewElement() protoreflect.Value { + v := new(Event) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_ResponseInitChain_2_list) IsValid() bool { +func (x *_ResponseBeginBlock_1_list) IsValid() bool { return x.list != nil } var ( - md_ResponseInitChain protoreflect.MessageDescriptor - fd_ResponseInitChain_consensus_params protoreflect.FieldDescriptor - fd_ResponseInitChain_validators protoreflect.FieldDescriptor - fd_ResponseInitChain_app_hash protoreflect.FieldDescriptor + md_ResponseBeginBlock protoreflect.MessageDescriptor + fd_ResponseBeginBlock_events protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseInitChain = File_tendermint_abci_types_proto.Messages().ByName("ResponseInitChain") - fd_ResponseInitChain_consensus_params = md_ResponseInitChain.Fields().ByName("consensus_params") - fd_ResponseInitChain_validators = md_ResponseInitChain.Fields().ByName("validators") - fd_ResponseInitChain_app_hash = md_ResponseInitChain.Fields().ByName("app_hash") + md_ResponseBeginBlock = File_tendermint_abci_types_proto.Messages().ByName("ResponseBeginBlock") + fd_ResponseBeginBlock_events = md_ResponseBeginBlock.Fields().ByName("events") } -var _ protoreflect.Message = (*fastReflection_ResponseInitChain)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseBeginBlock)(nil) -type fastReflection_ResponseInitChain ResponseInitChain +type fastReflection_ResponseBeginBlock ResponseBeginBlock -func (x *ResponseInitChain) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseInitChain)(x) +func (x *ResponseBeginBlock) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseBeginBlock)(x) } -func (x *ResponseInitChain) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[22] +func (x *ResponseBeginBlock) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13897,43 +16725,43 @@ func (x *ResponseInitChain) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseInitChain_messageType fastReflection_ResponseInitChain_messageType -var _ protoreflect.MessageType = fastReflection_ResponseInitChain_messageType{} +var _fastReflection_ResponseBeginBlock_messageType fastReflection_ResponseBeginBlock_messageType +var _ protoreflect.MessageType = fastReflection_ResponseBeginBlock_messageType{} -type fastReflection_ResponseInitChain_messageType struct{} +type fastReflection_ResponseBeginBlock_messageType struct{} -func (x fastReflection_ResponseInitChain_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseInitChain)(nil) +func (x fastReflection_ResponseBeginBlock_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseBeginBlock)(nil) } -func (x fastReflection_ResponseInitChain_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseInitChain) +func (x fastReflection_ResponseBeginBlock_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseBeginBlock) } -func (x fastReflection_ResponseInitChain_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseInitChain +func (x fastReflection_ResponseBeginBlock_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseBeginBlock } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseInitChain) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseInitChain +func (x *fastReflection_ResponseBeginBlock) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseBeginBlock } // 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_ResponseInitChain) Type() protoreflect.MessageType { - return _fastReflection_ResponseInitChain_messageType +func (x *fastReflection_ResponseBeginBlock) Type() protoreflect.MessageType { + return _fastReflection_ResponseBeginBlock_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseInitChain) New() protoreflect.Message { - return new(fastReflection_ResponseInitChain) +func (x *fastReflection_ResponseBeginBlock) New() protoreflect.Message { + return new(fastReflection_ResponseBeginBlock) } // Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseInitChain) Interface() protoreflect.ProtoMessage { - return (*ResponseInitChain)(x) +// returns the underlying ProtoMessage interface. +func (x *fastReflection_ResponseBeginBlock) Interface() protoreflect.ProtoMessage { + return (*ResponseBeginBlock)(x) } // Range iterates over every populated field in an undefined order, @@ -13941,22 +16769,10 @@ func (x *fastReflection_ResponseInitChain) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseInitChain) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.ConsensusParams != nil { - value := protoreflect.ValueOfMessage(x.ConsensusParams.ProtoReflect()) - if !f(fd_ResponseInitChain_consensus_params, value) { - return - } - } - if len(x.Validators) != 0 { - value := protoreflect.ValueOfList(&_ResponseInitChain_2_list{list: &x.Validators}) - if !f(fd_ResponseInitChain_validators, value) { - return - } - } - if len(x.AppHash) != 0 { - value := protoreflect.ValueOfBytes(x.AppHash) - if !f(fd_ResponseInitChain_app_hash, value) { +func (x *fastReflection_ResponseBeginBlock) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Events) != 0 { + value := protoreflect.ValueOfList(&_ResponseBeginBlock_1_list{list: &x.Events}) + if !f(fd_ResponseBeginBlock_events, value) { return } } @@ -13973,19 +16789,15 @@ func (x *fastReflection_ResponseInitChain) Range(f func(protoreflect.FieldDescri // 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_ResponseInitChain) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseBeginBlock) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseInitChain.consensus_params": - return x.ConsensusParams != nil - case "tendermint.abci.ResponseInitChain.validators": - return len(x.Validators) != 0 - case "tendermint.abci.ResponseInitChain.app_hash": - return len(x.AppHash) != 0 + case "tendermint.abci.ResponseBeginBlock.events": + return len(x.Events) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInitChain does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock does not contain field %s", fd.FullName())) } } @@ -13995,19 +16807,15 @@ func (x *fastReflection_ResponseInitChain) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseInitChain) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseBeginBlock) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseInitChain.consensus_params": - x.ConsensusParams = nil - case "tendermint.abci.ResponseInitChain.validators": - x.Validators = nil - case "tendermint.abci.ResponseInitChain.app_hash": - x.AppHash = nil + case "tendermint.abci.ResponseBeginBlock.events": + x.Events = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInitChain does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock does not contain field %s", fd.FullName())) } } @@ -14017,25 +16825,19 @@ func (x *fastReflection_ResponseInitChain) Clear(fd protoreflect.FieldDescriptor // 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_ResponseInitChain) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseBeginBlock) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseInitChain.consensus_params": - value := x.ConsensusParams - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.ResponseInitChain.validators": - if len(x.Validators) == 0 { - return protoreflect.ValueOfList(&_ResponseInitChain_2_list{}) + case "tendermint.abci.ResponseBeginBlock.events": + if len(x.Events) == 0 { + return protoreflect.ValueOfList(&_ResponseBeginBlock_1_list{}) } - listValue := &_ResponseInitChain_2_list{list: &x.Validators} + listValue := &_ResponseBeginBlock_1_list{list: &x.Events} return protoreflect.ValueOfList(listValue) - case "tendermint.abci.ResponseInitChain.app_hash": - value := x.AppHash - return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInitChain does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock does not contain field %s", descriptor.FullName())) } } @@ -14049,21 +16851,17 @@ func (x *fastReflection_ResponseInitChain) Get(descriptor protoreflect.FieldDesc // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseInitChain) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseBeginBlock) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseInitChain.consensus_params": - x.ConsensusParams = value.Message().Interface().(*ConsensusParams) - case "tendermint.abci.ResponseInitChain.validators": + case "tendermint.abci.ResponseBeginBlock.events": lv := value.List() - clv := lv.(*_ResponseInitChain_2_list) - x.Validators = *clv.list - case "tendermint.abci.ResponseInitChain.app_hash": - x.AppHash = value.Bytes() + clv := lv.(*_ResponseBeginBlock_1_list) + x.Events = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInitChain does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock does not contain field %s", fd.FullName())) } } @@ -14077,57 +16875,45 @@ func (x *fastReflection_ResponseInitChain) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseInitChain) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseBeginBlock) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseInitChain.consensus_params": - if x.ConsensusParams == nil { - x.ConsensusParams = new(ConsensusParams) - } - return protoreflect.ValueOfMessage(x.ConsensusParams.ProtoReflect()) - case "tendermint.abci.ResponseInitChain.validators": - if x.Validators == nil { - x.Validators = []*ValidatorUpdate{} + case "tendermint.abci.ResponseBeginBlock.events": + if x.Events == nil { + x.Events = []*Event{} } - value := &_ResponseInitChain_2_list{list: &x.Validators} + value := &_ResponseBeginBlock_1_list{list: &x.Events} return protoreflect.ValueOfList(value) - case "tendermint.abci.ResponseInitChain.app_hash": - panic(fmt.Errorf("field app_hash of message tendermint.abci.ResponseInitChain is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInitChain does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock 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_ResponseInitChain) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseBeginBlock) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseInitChain.consensus_params": - m := new(ConsensusParams) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.ResponseInitChain.validators": - list := []*ValidatorUpdate{} - return protoreflect.ValueOfList(&_ResponseInitChain_2_list{list: &list}) - case "tendermint.abci.ResponseInitChain.app_hash": - return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.ResponseBeginBlock.events": + list := []*Event{} + return protoreflect.ValueOfList(&_ResponseBeginBlock_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseInitChain")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseInitChain does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock 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_ResponseInitChain) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseBeginBlock) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseInitChain", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseBeginBlock", d.FullName())) } panic("unreachable") } @@ -14135,7 +16921,7 @@ func (x *fastReflection_ResponseInitChain) WhichOneof(d protoreflect.OneofDescri // 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_ResponseInitChain) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseBeginBlock) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -14146,7 +16932,7 @@ func (x *fastReflection_ResponseInitChain) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseInitChain) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseBeginBlock) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -14158,7 +16944,7 @@ func (x *fastReflection_ResponseInitChain) SetUnknown(fields protoreflect.RawFie // 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_ResponseInitChain) IsValid() bool { +func (x *fastReflection_ResponseBeginBlock) IsValid() bool { return x != nil } @@ -14168,9 +16954,9 @@ func (x *fastReflection_ResponseInitChain) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseInitChain) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseBeginBlock) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseInitChain) + x := input.Message.Interface().(*ResponseBeginBlock) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14182,20 +16968,12 @@ func (x *fastReflection_ResponseInitChain) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.ConsensusParams != nil { - l = options.Size(x.ConsensusParams) - n += 1 + l + runtime.Sov(uint64(l)) - } - if len(x.Validators) > 0 { - for _, e := range x.Validators { + if len(x.Events) > 0 { + for _, e := range x.Events { l = options.Size(e) n += 1 + l + runtime.Sov(uint64(l)) } } - l = len(x.AppHash) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -14206,7 +16984,7 @@ func (x *fastReflection_ResponseInitChain) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseInitChain) + x := input.Message.Interface().(*ResponseBeginBlock) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14225,16 +17003,9 @@ func (x *fastReflection_ResponseInitChain) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.AppHash) > 0 { - i -= len(x.AppHash) - copy(dAtA[i:], x.AppHash) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AppHash))) - i-- - dAtA[i] = 0x1a - } - if len(x.Validators) > 0 { - for iNdEx := len(x.Validators) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Validators[iNdEx]) + if len(x.Events) > 0 { + for iNdEx := len(x.Events) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Events[iNdEx]) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14245,22 +17016,8 @@ func (x *fastReflection_ResponseInitChain) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x12 - } - } - if x.ConsensusParams != nil { - encoded, err := options.Marshal(x.ConsensusParams) - if err != nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, err + dAtA[i] = 0xa } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) - i-- - dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -14273,7 +17030,7 @@ func (x *fastReflection_ResponseInitChain) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseInitChain) + x := input.Message.Interface().(*ResponseBeginBlock) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14305,51 +17062,15 @@ func (x *fastReflection_ResponseInitChain) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseInitChain: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseBeginBlock: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseInitChain: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseBeginBlock: 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 ConsensusParams", 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.ConsensusParams == nil { - x.ConsensusParams = &ConsensusParams{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ConsensusParams); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Validators", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14366,53 +17087,19 @@ func (x *fastReflection_ResponseInitChain) ProtoMethods() *protoiface.Methods { 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 - } - x.Validators = append(x.Validators, &ValidatorUpdate{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Validators[len(x.Validators)-1]); 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 AppHash", 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 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + byteLen + 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 } - x.AppHash = append(x.AppHash[:0], dAtA[iNdEx:postIndex]...) - if x.AppHash == nil { - x.AppHash = []byte{} + x.Events = append(x.Events, &Event{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Events[len(x.Events)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex default: @@ -14450,43 +17137,98 @@ func (x *fastReflection_ResponseInitChain) ProtoMethods() *protoiface.Methods { } } +var _ protoreflect.List = (*_ResponseCheckTx_7_list)(nil) + +type _ResponseCheckTx_7_list struct { + list *[]*Event +} + +func (x *_ResponseCheckTx_7_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_ResponseCheckTx_7_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_ResponseCheckTx_7_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Event) + (*x.list)[i] = concreteValue +} + +func (x *_ResponseCheckTx_7_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Event) + *x.list = append(*x.list, concreteValue) +} + +func (x *_ResponseCheckTx_7_list) AppendMutable() protoreflect.Value { + v := new(Event) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_ResponseCheckTx_7_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_ResponseCheckTx_7_list) NewElement() protoreflect.Value { + v := new(Event) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_ResponseCheckTx_7_list) IsValid() bool { + return x.list != nil +} + var ( - md_ResponseQuery protoreflect.MessageDescriptor - fd_ResponseQuery_code protoreflect.FieldDescriptor - fd_ResponseQuery_log protoreflect.FieldDescriptor - fd_ResponseQuery_info protoreflect.FieldDescriptor - fd_ResponseQuery_index protoreflect.FieldDescriptor - fd_ResponseQuery_key protoreflect.FieldDescriptor - fd_ResponseQuery_value protoreflect.FieldDescriptor - fd_ResponseQuery_proof_ops protoreflect.FieldDescriptor - fd_ResponseQuery_height protoreflect.FieldDescriptor - fd_ResponseQuery_codespace protoreflect.FieldDescriptor + md_ResponseCheckTx protoreflect.MessageDescriptor + fd_ResponseCheckTx_code protoreflect.FieldDescriptor + fd_ResponseCheckTx_data protoreflect.FieldDescriptor + fd_ResponseCheckTx_log protoreflect.FieldDescriptor + fd_ResponseCheckTx_info protoreflect.FieldDescriptor + fd_ResponseCheckTx_gas_wanted protoreflect.FieldDescriptor + fd_ResponseCheckTx_gas_used protoreflect.FieldDescriptor + fd_ResponseCheckTx_events protoreflect.FieldDescriptor + fd_ResponseCheckTx_codespace protoreflect.FieldDescriptor + fd_ResponseCheckTx_sender protoreflect.FieldDescriptor + fd_ResponseCheckTx_priority protoreflect.FieldDescriptor + fd_ResponseCheckTx_mempool_error protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseQuery = File_tendermint_abci_types_proto.Messages().ByName("ResponseQuery") - fd_ResponseQuery_code = md_ResponseQuery.Fields().ByName("code") - fd_ResponseQuery_log = md_ResponseQuery.Fields().ByName("log") - fd_ResponseQuery_info = md_ResponseQuery.Fields().ByName("info") - fd_ResponseQuery_index = md_ResponseQuery.Fields().ByName("index") - fd_ResponseQuery_key = md_ResponseQuery.Fields().ByName("key") - fd_ResponseQuery_value = md_ResponseQuery.Fields().ByName("value") - fd_ResponseQuery_proof_ops = md_ResponseQuery.Fields().ByName("proof_ops") - fd_ResponseQuery_height = md_ResponseQuery.Fields().ByName("height") - fd_ResponseQuery_codespace = md_ResponseQuery.Fields().ByName("codespace") + md_ResponseCheckTx = File_tendermint_abci_types_proto.Messages().ByName("ResponseCheckTx") + fd_ResponseCheckTx_code = md_ResponseCheckTx.Fields().ByName("code") + fd_ResponseCheckTx_data = md_ResponseCheckTx.Fields().ByName("data") + fd_ResponseCheckTx_log = md_ResponseCheckTx.Fields().ByName("log") + fd_ResponseCheckTx_info = md_ResponseCheckTx.Fields().ByName("info") + fd_ResponseCheckTx_gas_wanted = md_ResponseCheckTx.Fields().ByName("gas_wanted") + fd_ResponseCheckTx_gas_used = md_ResponseCheckTx.Fields().ByName("gas_used") + fd_ResponseCheckTx_events = md_ResponseCheckTx.Fields().ByName("events") + fd_ResponseCheckTx_codespace = md_ResponseCheckTx.Fields().ByName("codespace") + fd_ResponseCheckTx_sender = md_ResponseCheckTx.Fields().ByName("sender") + fd_ResponseCheckTx_priority = md_ResponseCheckTx.Fields().ByName("priority") + fd_ResponseCheckTx_mempool_error = md_ResponseCheckTx.Fields().ByName("mempool_error") } -var _ protoreflect.Message = (*fastReflection_ResponseQuery)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseCheckTx)(nil) -type fastReflection_ResponseQuery ResponseQuery +type fastReflection_ResponseCheckTx ResponseCheckTx -func (x *ResponseQuery) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseQuery)(x) +func (x *ResponseCheckTx) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseCheckTx)(x) } -func (x *ResponseQuery) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[23] +func (x *ResponseCheckTx) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14497,43 +17239,43 @@ func (x *ResponseQuery) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseQuery_messageType fastReflection_ResponseQuery_messageType -var _ protoreflect.MessageType = fastReflection_ResponseQuery_messageType{} +var _fastReflection_ResponseCheckTx_messageType fastReflection_ResponseCheckTx_messageType +var _ protoreflect.MessageType = fastReflection_ResponseCheckTx_messageType{} -type fastReflection_ResponseQuery_messageType struct{} +type fastReflection_ResponseCheckTx_messageType struct{} -func (x fastReflection_ResponseQuery_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseQuery)(nil) +func (x fastReflection_ResponseCheckTx_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseCheckTx)(nil) } -func (x fastReflection_ResponseQuery_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseQuery) +func (x fastReflection_ResponseCheckTx_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseCheckTx) } -func (x fastReflection_ResponseQuery_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseQuery +func (x fastReflection_ResponseCheckTx_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseCheckTx } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseQuery) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseQuery +func (x *fastReflection_ResponseCheckTx) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseCheckTx } // 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_ResponseQuery) Type() protoreflect.MessageType { - return _fastReflection_ResponseQuery_messageType +func (x *fastReflection_ResponseCheckTx) Type() protoreflect.MessageType { + return _fastReflection_ResponseCheckTx_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseQuery) New() protoreflect.Message { - return new(fastReflection_ResponseQuery) +func (x *fastReflection_ResponseCheckTx) New() protoreflect.Message { + return new(fastReflection_ResponseCheckTx) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseQuery) Interface() protoreflect.ProtoMessage { - return (*ResponseQuery)(x) +func (x *fastReflection_ResponseCheckTx) Interface() protoreflect.ProtoMessage { + return (*ResponseCheckTx)(x) } // Range iterates over every populated field in an undefined order, @@ -14541,58 +17283,70 @@ func (x *fastReflection_ResponseQuery) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseQuery) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_ResponseCheckTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Code != uint32(0) { value := protoreflect.ValueOfUint32(x.Code) - if !f(fd_ResponseQuery_code, value) { + if !f(fd_ResponseCheckTx_code, value) { + return + } + } + if len(x.Data) != 0 { + value := protoreflect.ValueOfBytes(x.Data) + if !f(fd_ResponseCheckTx_data, value) { return } } if x.Log != "" { value := protoreflect.ValueOfString(x.Log) - if !f(fd_ResponseQuery_log, value) { + if !f(fd_ResponseCheckTx_log, value) { return } } if x.Info != "" { value := protoreflect.ValueOfString(x.Info) - if !f(fd_ResponseQuery_info, value) { + if !f(fd_ResponseCheckTx_info, value) { return } } - if x.Index != int64(0) { - value := protoreflect.ValueOfInt64(x.Index) - if !f(fd_ResponseQuery_index, value) { + if x.GasWanted != int64(0) { + value := protoreflect.ValueOfInt64(x.GasWanted) + if !f(fd_ResponseCheckTx_gas_wanted, value) { return } } - if len(x.Key) != 0 { - value := protoreflect.ValueOfBytes(x.Key) - if !f(fd_ResponseQuery_key, value) { + if x.GasUsed != int64(0) { + value := protoreflect.ValueOfInt64(x.GasUsed) + if !f(fd_ResponseCheckTx_gas_used, value) { return } } - if len(x.Value) != 0 { - value := protoreflect.ValueOfBytes(x.Value) - if !f(fd_ResponseQuery_value, value) { + if len(x.Events) != 0 { + value := protoreflect.ValueOfList(&_ResponseCheckTx_7_list{list: &x.Events}) + if !f(fd_ResponseCheckTx_events, value) { return } } - if x.ProofOps != nil { - value := protoreflect.ValueOfMessage(x.ProofOps.ProtoReflect()) - if !f(fd_ResponseQuery_proof_ops, value) { + if x.Codespace != "" { + value := protoreflect.ValueOfString(x.Codespace) + if !f(fd_ResponseCheckTx_codespace, value) { return } } - if x.Height != int64(0) { - value := protoreflect.ValueOfInt64(x.Height) - if !f(fd_ResponseQuery_height, value) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_ResponseCheckTx_sender, value) { return } } - if x.Codespace != "" { - value := protoreflect.ValueOfString(x.Codespace) - if !f(fd_ResponseQuery_codespace, value) { + if x.Priority != int64(0) { + value := protoreflect.ValueOfInt64(x.Priority) + if !f(fd_ResponseCheckTx_priority, value) { + return + } + } + if x.MempoolError != "" { + value := protoreflect.ValueOfString(x.MempoolError) + if !f(fd_ResponseCheckTx_mempool_error, value) { return } } @@ -14609,31 +17363,35 @@ func (x *fastReflection_ResponseQuery) Range(f func(protoreflect.FieldDescriptor // 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_ResponseQuery) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseCheckTx) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseQuery.code": + case "tendermint.abci.ResponseCheckTx.code": return x.Code != uint32(0) - case "tendermint.abci.ResponseQuery.log": + case "tendermint.abci.ResponseCheckTx.data": + return len(x.Data) != 0 + case "tendermint.abci.ResponseCheckTx.log": return x.Log != "" - case "tendermint.abci.ResponseQuery.info": + case "tendermint.abci.ResponseCheckTx.info": return x.Info != "" - case "tendermint.abci.ResponseQuery.index": - return x.Index != int64(0) - case "tendermint.abci.ResponseQuery.key": - return len(x.Key) != 0 - case "tendermint.abci.ResponseQuery.value": - return len(x.Value) != 0 - case "tendermint.abci.ResponseQuery.proof_ops": - return x.ProofOps != nil - case "tendermint.abci.ResponseQuery.height": - return x.Height != int64(0) - case "tendermint.abci.ResponseQuery.codespace": + case "tendermint.abci.ResponseCheckTx.gas_wanted": + return x.GasWanted != int64(0) + case "tendermint.abci.ResponseCheckTx.gas_used": + return x.GasUsed != int64(0) + case "tendermint.abci.ResponseCheckTx.events": + return len(x.Events) != 0 + case "tendermint.abci.ResponseCheckTx.codespace": return x.Codespace != "" + case "tendermint.abci.ResponseCheckTx.sender": + return x.Sender != "" + case "tendermint.abci.ResponseCheckTx.priority": + return x.Priority != int64(0) + case "tendermint.abci.ResponseCheckTx.mempool_error": + return x.MempoolError != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseQuery does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx does not contain field %s", fd.FullName())) } } @@ -14643,31 +17401,35 @@ func (x *fastReflection_ResponseQuery) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseQuery) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseCheckTx) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseQuery.code": + case "tendermint.abci.ResponseCheckTx.code": x.Code = uint32(0) - case "tendermint.abci.ResponseQuery.log": + case "tendermint.abci.ResponseCheckTx.data": + x.Data = nil + case "tendermint.abci.ResponseCheckTx.log": x.Log = "" - case "tendermint.abci.ResponseQuery.info": + case "tendermint.abci.ResponseCheckTx.info": x.Info = "" - case "tendermint.abci.ResponseQuery.index": - x.Index = int64(0) - case "tendermint.abci.ResponseQuery.key": - x.Key = nil - case "tendermint.abci.ResponseQuery.value": - x.Value = nil - case "tendermint.abci.ResponseQuery.proof_ops": - x.ProofOps = nil - case "tendermint.abci.ResponseQuery.height": - x.Height = int64(0) - case "tendermint.abci.ResponseQuery.codespace": + case "tendermint.abci.ResponseCheckTx.gas_wanted": + x.GasWanted = int64(0) + case "tendermint.abci.ResponseCheckTx.gas_used": + x.GasUsed = int64(0) + case "tendermint.abci.ResponseCheckTx.events": + x.Events = nil + case "tendermint.abci.ResponseCheckTx.codespace": x.Codespace = "" + case "tendermint.abci.ResponseCheckTx.sender": + x.Sender = "" + case "tendermint.abci.ResponseCheckTx.priority": + x.Priority = int64(0) + case "tendermint.abci.ResponseCheckTx.mempool_error": + x.MempoolError = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseQuery does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx does not contain field %s", fd.FullName())) } } @@ -14677,40 +17439,49 @@ func (x *fastReflection_ResponseQuery) Clear(fd protoreflect.FieldDescriptor) { // 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_ResponseQuery) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseCheckTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseQuery.code": + case "tendermint.abci.ResponseCheckTx.code": value := x.Code return protoreflect.ValueOfUint32(value) - case "tendermint.abci.ResponseQuery.log": + case "tendermint.abci.ResponseCheckTx.data": + value := x.Data + return protoreflect.ValueOfBytes(value) + case "tendermint.abci.ResponseCheckTx.log": value := x.Log return protoreflect.ValueOfString(value) - case "tendermint.abci.ResponseQuery.info": + case "tendermint.abci.ResponseCheckTx.info": value := x.Info return protoreflect.ValueOfString(value) - case "tendermint.abci.ResponseQuery.index": - value := x.Index + case "tendermint.abci.ResponseCheckTx.gas_wanted": + value := x.GasWanted return protoreflect.ValueOfInt64(value) - case "tendermint.abci.ResponseQuery.key": - value := x.Key - return protoreflect.ValueOfBytes(value) - case "tendermint.abci.ResponseQuery.value": - value := x.Value - return protoreflect.ValueOfBytes(value) - case "tendermint.abci.ResponseQuery.proof_ops": - value := x.ProofOps - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.ResponseQuery.height": - value := x.Height + case "tendermint.abci.ResponseCheckTx.gas_used": + value := x.GasUsed return protoreflect.ValueOfInt64(value) - case "tendermint.abci.ResponseQuery.codespace": + case "tendermint.abci.ResponseCheckTx.events": + if len(x.Events) == 0 { + return protoreflect.ValueOfList(&_ResponseCheckTx_7_list{}) + } + listValue := &_ResponseCheckTx_7_list{list: &x.Events} + return protoreflect.ValueOfList(listValue) + case "tendermint.abci.ResponseCheckTx.codespace": value := x.Codespace return protoreflect.ValueOfString(value) + case "tendermint.abci.ResponseCheckTx.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "tendermint.abci.ResponseCheckTx.priority": + value := x.Priority + return protoreflect.ValueOfInt64(value) + case "tendermint.abci.ResponseCheckTx.mempool_error": + value := x.MempoolError + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseQuery does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx does not contain field %s", descriptor.FullName())) } } @@ -14724,31 +17495,37 @@ func (x *fastReflection_ResponseQuery) Get(descriptor protoreflect.FieldDescript // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseQuery) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseCheckTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseQuery.code": + case "tendermint.abci.ResponseCheckTx.code": x.Code = uint32(value.Uint()) - case "tendermint.abci.ResponseQuery.log": + case "tendermint.abci.ResponseCheckTx.data": + x.Data = value.Bytes() + case "tendermint.abci.ResponseCheckTx.log": x.Log = value.Interface().(string) - case "tendermint.abci.ResponseQuery.info": + case "tendermint.abci.ResponseCheckTx.info": x.Info = value.Interface().(string) - case "tendermint.abci.ResponseQuery.index": - x.Index = value.Int() - case "tendermint.abci.ResponseQuery.key": - x.Key = value.Bytes() - case "tendermint.abci.ResponseQuery.value": - x.Value = value.Bytes() - case "tendermint.abci.ResponseQuery.proof_ops": - x.ProofOps = value.Message().Interface().(*crypto.ProofOps) - case "tendermint.abci.ResponseQuery.height": - x.Height = value.Int() - case "tendermint.abci.ResponseQuery.codespace": + case "tendermint.abci.ResponseCheckTx.gas_wanted": + x.GasWanted = value.Int() + case "tendermint.abci.ResponseCheckTx.gas_used": + x.GasUsed = value.Int() + case "tendermint.abci.ResponseCheckTx.events": + lv := value.List() + clv := lv.(*_ResponseCheckTx_7_list) + x.Events = *clv.list + case "tendermint.abci.ResponseCheckTx.codespace": x.Codespace = value.Interface().(string) + case "tendermint.abci.ResponseCheckTx.sender": + x.Sender = value.Interface().(string) + case "tendermint.abci.ResponseCheckTx.priority": + x.Priority = value.Int() + case "tendermint.abci.ResponseCheckTx.mempool_error": + x.MempoolError = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseQuery does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx does not contain field %s", fd.FullName())) } } @@ -14762,76 +17539,85 @@ func (x *fastReflection_ResponseQuery) Set(fd protoreflect.FieldDescriptor, valu // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseQuery) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseCheckTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseQuery.proof_ops": - if x.ProofOps == nil { - x.ProofOps = new(crypto.ProofOps) + case "tendermint.abci.ResponseCheckTx.events": + if x.Events == nil { + x.Events = []*Event{} } - return protoreflect.ValueOfMessage(x.ProofOps.ProtoReflect()) - case "tendermint.abci.ResponseQuery.code": - panic(fmt.Errorf("field code of message tendermint.abci.ResponseQuery is not mutable")) - case "tendermint.abci.ResponseQuery.log": - panic(fmt.Errorf("field log of message tendermint.abci.ResponseQuery is not mutable")) - case "tendermint.abci.ResponseQuery.info": - panic(fmt.Errorf("field info of message tendermint.abci.ResponseQuery is not mutable")) - case "tendermint.abci.ResponseQuery.index": - panic(fmt.Errorf("field index of message tendermint.abci.ResponseQuery is not mutable")) - case "tendermint.abci.ResponseQuery.key": - panic(fmt.Errorf("field key of message tendermint.abci.ResponseQuery is not mutable")) - case "tendermint.abci.ResponseQuery.value": - panic(fmt.Errorf("field value of message tendermint.abci.ResponseQuery is not mutable")) - case "tendermint.abci.ResponseQuery.height": - panic(fmt.Errorf("field height of message tendermint.abci.ResponseQuery is not mutable")) - case "tendermint.abci.ResponseQuery.codespace": - panic(fmt.Errorf("field codespace of message tendermint.abci.ResponseQuery is not mutable")) + value := &_ResponseCheckTx_7_list{list: &x.Events} + return protoreflect.ValueOfList(value) + case "tendermint.abci.ResponseCheckTx.code": + panic(fmt.Errorf("field code of message tendermint.abci.ResponseCheckTx is not mutable")) + case "tendermint.abci.ResponseCheckTx.data": + panic(fmt.Errorf("field data of message tendermint.abci.ResponseCheckTx is not mutable")) + case "tendermint.abci.ResponseCheckTx.log": + panic(fmt.Errorf("field log of message tendermint.abci.ResponseCheckTx is not mutable")) + case "tendermint.abci.ResponseCheckTx.info": + panic(fmt.Errorf("field info of message tendermint.abci.ResponseCheckTx is not mutable")) + case "tendermint.abci.ResponseCheckTx.gas_wanted": + panic(fmt.Errorf("field gas_wanted of message tendermint.abci.ResponseCheckTx is not mutable")) + case "tendermint.abci.ResponseCheckTx.gas_used": + panic(fmt.Errorf("field gas_used of message tendermint.abci.ResponseCheckTx is not mutable")) + case "tendermint.abci.ResponseCheckTx.codespace": + panic(fmt.Errorf("field codespace of message tendermint.abci.ResponseCheckTx is not mutable")) + case "tendermint.abci.ResponseCheckTx.sender": + panic(fmt.Errorf("field sender of message tendermint.abci.ResponseCheckTx is not mutable")) + case "tendermint.abci.ResponseCheckTx.priority": + panic(fmt.Errorf("field priority of message tendermint.abci.ResponseCheckTx is not mutable")) + case "tendermint.abci.ResponseCheckTx.mempool_error": + panic(fmt.Errorf("field mempool_error of message tendermint.abci.ResponseCheckTx is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseQuery does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx 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_ResponseQuery) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseCheckTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseQuery.code": + case "tendermint.abci.ResponseCheckTx.code": return protoreflect.ValueOfUint32(uint32(0)) - case "tendermint.abci.ResponseQuery.log": + case "tendermint.abci.ResponseCheckTx.data": + return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.ResponseCheckTx.log": return protoreflect.ValueOfString("") - case "tendermint.abci.ResponseQuery.info": + case "tendermint.abci.ResponseCheckTx.info": return protoreflect.ValueOfString("") - case "tendermint.abci.ResponseQuery.index": + case "tendermint.abci.ResponseCheckTx.gas_wanted": return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.abci.ResponseQuery.key": - return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.ResponseQuery.value": - return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.ResponseQuery.proof_ops": - m := new(crypto.ProofOps) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.ResponseQuery.height": + case "tendermint.abci.ResponseCheckTx.gas_used": return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.abci.ResponseQuery.codespace": + case "tendermint.abci.ResponseCheckTx.events": + list := []*Event{} + return protoreflect.ValueOfList(&_ResponseCheckTx_7_list{list: &list}) + case "tendermint.abci.ResponseCheckTx.codespace": + return protoreflect.ValueOfString("") + case "tendermint.abci.ResponseCheckTx.sender": + return protoreflect.ValueOfString("") + case "tendermint.abci.ResponseCheckTx.priority": + return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.ResponseCheckTx.mempool_error": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseQuery")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseQuery does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx 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_ResponseQuery) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseCheckTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseQuery", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseCheckTx", d.FullName())) } panic("unreachable") } @@ -14839,7 +17625,7 @@ func (x *fastReflection_ResponseQuery) WhichOneof(d protoreflect.OneofDescriptor // 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_ResponseQuery) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseCheckTx) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -14850,7 +17636,7 @@ func (x *fastReflection_ResponseQuery) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseQuery) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseCheckTx) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -14862,7 +17648,7 @@ func (x *fastReflection_ResponseQuery) SetUnknown(fields protoreflect.RawFields) // 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_ResponseQuery) IsValid() bool { +func (x *fastReflection_ResponseCheckTx) IsValid() bool { return x != nil } @@ -14872,9 +17658,9 @@ func (x *fastReflection_ResponseQuery) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseQuery) + x := input.Message.Interface().(*ResponseCheckTx) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14889,6 +17675,10 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { if x.Code != 0 { n += 1 + runtime.Sov(uint64(x.Code)) } + l = len(x.Data) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } l = len(x.Log) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) @@ -14897,25 +17687,30 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Index != 0 { - n += 1 + runtime.Sov(uint64(x.Index)) + if x.GasWanted != 0 { + n += 1 + runtime.Sov(uint64(x.GasWanted)) } - l = len(x.Key) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.GasUsed != 0 { + n += 1 + runtime.Sov(uint64(x.GasUsed)) } - l = len(x.Value) + if len(x.Events) > 0 { + for _, e := range x.Events { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.Codespace) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.ProofOps != nil { - l = options.Size(x.ProofOps) + l = len(x.Sender) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Height != 0 { - n += 1 + runtime.Sov(uint64(x.Height)) + if x.Priority != 0 { + n += 1 + runtime.Sov(uint64(x.Priority)) } - l = len(x.Codespace) + l = len(x.MempoolError) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -14929,7 +17724,7 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseQuery) + x := input.Message.Interface().(*ResponseCheckTx) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14948,48 +17743,55 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Codespace) > 0 { - i -= len(x.Codespace) - copy(dAtA[i:], x.Codespace) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Codespace))) + if len(x.MempoolError) > 0 { + i -= len(x.MempoolError) + copy(dAtA[i:], x.MempoolError) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MempoolError))) i-- - dAtA[i] = 0x52 + dAtA[i] = 0x5a } - if x.Height != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) + if x.Priority != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Priority)) i-- - dAtA[i] = 0x48 + dAtA[i] = 0x50 } - if x.ProofOps != nil { - encoded, err := options.Marshal(x.ProofOps) - 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))) + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) i-- - dAtA[i] = 0x42 + dAtA[i] = 0x4a } - if len(x.Value) > 0 { - i -= len(x.Value) - copy(dAtA[i:], x.Value) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + if len(x.Codespace) > 0 { + i -= len(x.Codespace) + copy(dAtA[i:], x.Codespace) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Codespace))) i-- - dAtA[i] = 0x3a + dAtA[i] = 0x42 } - if len(x.Key) > 0 { - i -= len(x.Key) - copy(dAtA[i:], x.Key) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Key))) + if len(x.Events) > 0 { + for iNdEx := len(x.Events) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Events[iNdEx]) + 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] = 0x3a + } + } + if x.GasUsed != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.GasUsed)) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x30 } - if x.Index != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Index)) + if x.GasWanted != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.GasWanted)) i-- dAtA[i] = 0x28 } @@ -15007,6 +17809,13 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { i-- dAtA[i] = 0x1a } + if len(x.Data) > 0 { + i -= len(x.Data) + copy(dAtA[i:], x.Data) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) + i-- + dAtA[i] = 0x12 + } if x.Code != 0 { i = runtime.EncodeVarint(dAtA, i, uint64(x.Code)) i-- @@ -15023,7 +17832,7 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseQuery) + x := input.Message.Interface().(*ResponseCheckTx) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15055,10 +17864,10 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseQuery: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseCheckTx: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseQuery: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseCheckTx: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15080,6 +17889,40 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { break } } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Data", 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.Data = append(x.Data[:0], dAtA[iNdEx:postIndex]...) + if x.Data == nil { + x.Data = []byte{} + } + iNdEx = postIndex case 3: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Log", wireType) @@ -15146,9 +17989,9 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { iNdEx = postIndex case 5: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasWanted", wireType) } - x.Index = 0 + x.GasWanted = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -15158,16 +18001,35 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - x.Index |= int64(b&0x7F) << shift + x.GasWanted |= int64(b&0x7F) << shift if b < 0x80 { break } } case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType) + } + x.GasUsed = 0 + 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++ + x.GasUsed |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -15177,31 +18039,31 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + byteLen + 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 } - x.Key = append(x.Key[:0], dAtA[iNdEx:postIndex]...) - if x.Key == nil { - x.Key = []byte{} + x.Events = append(x.Events, &Event{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Events[len(x.Events)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 7: + case 8: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -15211,31 +18073,29 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + byteLen + 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.Value = append(x.Value[:0], dAtA[iNdEx:postIndex]...) - if x.Value == nil { - x.Value = []byte{} - } + x.Codespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 8: + case 9: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProofOps", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -15245,33 +18105,29 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.ProofOps == nil { - x.ProofOps = &crypto.ProofOps{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ProofOps); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.Sender = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 9: + case 10: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Priority", wireType) } - x.Height = 0 + x.Priority = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -15281,14 +18137,14 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - x.Height |= int64(b&0x7F) << shift + x.Priority |= int64(b&0x7F) << shift if b < 0x80 { break } } - case 10: + case 11: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MempoolError", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15316,7 +18172,7 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Codespace = string(dAtA[iNdEx:postIndex]) + x.MempoolError = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15353,78 +18209,92 @@ func (x *fastReflection_ResponseQuery) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_ResponseBeginBlock_1_list)(nil) +var _ protoreflect.List = (*_ResponseDeliverTx_7_list)(nil) -type _ResponseBeginBlock_1_list struct { +type _ResponseDeliverTx_7_list struct { list *[]*Event } -func (x *_ResponseBeginBlock_1_list) Len() int { +func (x *_ResponseDeliverTx_7_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_ResponseBeginBlock_1_list) Get(i int) protoreflect.Value { +func (x *_ResponseDeliverTx_7_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_ResponseBeginBlock_1_list) Set(i int, value protoreflect.Value) { +func (x *_ResponseDeliverTx_7_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Event) (*x.list)[i] = concreteValue } -func (x *_ResponseBeginBlock_1_list) Append(value protoreflect.Value) { +func (x *_ResponseDeliverTx_7_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Event) *x.list = append(*x.list, concreteValue) } -func (x *_ResponseBeginBlock_1_list) AppendMutable() protoreflect.Value { +func (x *_ResponseDeliverTx_7_list) AppendMutable() protoreflect.Value { v := new(Event) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_ResponseBeginBlock_1_list) Truncate(n int) { +func (x *_ResponseDeliverTx_7_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_ResponseBeginBlock_1_list) NewElement() protoreflect.Value { +func (x *_ResponseDeliverTx_7_list) NewElement() protoreflect.Value { v := new(Event) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_ResponseBeginBlock_1_list) IsValid() bool { +func (x *_ResponseDeliverTx_7_list) IsValid() bool { return x.list != nil } var ( - md_ResponseBeginBlock protoreflect.MessageDescriptor - fd_ResponseBeginBlock_events protoreflect.FieldDescriptor + md_ResponseDeliverTx protoreflect.MessageDescriptor + fd_ResponseDeliverTx_code protoreflect.FieldDescriptor + fd_ResponseDeliverTx_data protoreflect.FieldDescriptor + fd_ResponseDeliverTx_log protoreflect.FieldDescriptor + fd_ResponseDeliverTx_info protoreflect.FieldDescriptor + fd_ResponseDeliverTx_gas_wanted protoreflect.FieldDescriptor + fd_ResponseDeliverTx_gas_used protoreflect.FieldDescriptor + fd_ResponseDeliverTx_events protoreflect.FieldDescriptor + fd_ResponseDeliverTx_codespace protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseBeginBlock = File_tendermint_abci_types_proto.Messages().ByName("ResponseBeginBlock") - fd_ResponseBeginBlock_events = md_ResponseBeginBlock.Fields().ByName("events") + md_ResponseDeliverTx = File_tendermint_abci_types_proto.Messages().ByName("ResponseDeliverTx") + fd_ResponseDeliverTx_code = md_ResponseDeliverTx.Fields().ByName("code") + fd_ResponseDeliverTx_data = md_ResponseDeliverTx.Fields().ByName("data") + fd_ResponseDeliverTx_log = md_ResponseDeliverTx.Fields().ByName("log") + fd_ResponseDeliverTx_info = md_ResponseDeliverTx.Fields().ByName("info") + fd_ResponseDeliverTx_gas_wanted = md_ResponseDeliverTx.Fields().ByName("gas_wanted") + fd_ResponseDeliverTx_gas_used = md_ResponseDeliverTx.Fields().ByName("gas_used") + fd_ResponseDeliverTx_events = md_ResponseDeliverTx.Fields().ByName("events") + fd_ResponseDeliverTx_codespace = md_ResponseDeliverTx.Fields().ByName("codespace") } -var _ protoreflect.Message = (*fastReflection_ResponseBeginBlock)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseDeliverTx)(nil) -type fastReflection_ResponseBeginBlock ResponseBeginBlock +type fastReflection_ResponseDeliverTx ResponseDeliverTx -func (x *ResponseBeginBlock) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseBeginBlock)(x) +func (x *ResponseDeliverTx) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseDeliverTx)(x) } -func (x *ResponseBeginBlock) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[24] +func (x *ResponseDeliverTx) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15435,43 +18305,43 @@ func (x *ResponseBeginBlock) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseBeginBlock_messageType fastReflection_ResponseBeginBlock_messageType -var _ protoreflect.MessageType = fastReflection_ResponseBeginBlock_messageType{} +var _fastReflection_ResponseDeliverTx_messageType fastReflection_ResponseDeliverTx_messageType +var _ protoreflect.MessageType = fastReflection_ResponseDeliverTx_messageType{} -type fastReflection_ResponseBeginBlock_messageType struct{} +type fastReflection_ResponseDeliverTx_messageType struct{} -func (x fastReflection_ResponseBeginBlock_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseBeginBlock)(nil) +func (x fastReflection_ResponseDeliverTx_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseDeliverTx)(nil) } -func (x fastReflection_ResponseBeginBlock_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseBeginBlock) +func (x fastReflection_ResponseDeliverTx_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseDeliverTx) } -func (x fastReflection_ResponseBeginBlock_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseBeginBlock +func (x fastReflection_ResponseDeliverTx_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseDeliverTx } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseBeginBlock) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseBeginBlock +func (x *fastReflection_ResponseDeliverTx) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseDeliverTx } // 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_ResponseBeginBlock) Type() protoreflect.MessageType { - return _fastReflection_ResponseBeginBlock_messageType +func (x *fastReflection_ResponseDeliverTx) Type() protoreflect.MessageType { + return _fastReflection_ResponseDeliverTx_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseBeginBlock) New() protoreflect.Message { - return new(fastReflection_ResponseBeginBlock) +func (x *fastReflection_ResponseDeliverTx) New() protoreflect.Message { + return new(fastReflection_ResponseDeliverTx) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseBeginBlock) Interface() protoreflect.ProtoMessage { - return (*ResponseBeginBlock)(x) +func (x *fastReflection_ResponseDeliverTx) Interface() protoreflect.ProtoMessage { + return (*ResponseDeliverTx)(x) } // Range iterates over every populated field in an undefined order, @@ -15479,10 +18349,52 @@ func (x *fastReflection_ResponseBeginBlock) Interface() protoreflect.ProtoMessag // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseBeginBlock) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_ResponseDeliverTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Code != uint32(0) { + value := protoreflect.ValueOfUint32(x.Code) + if !f(fd_ResponseDeliverTx_code, value) { + return + } + } + if len(x.Data) != 0 { + value := protoreflect.ValueOfBytes(x.Data) + if !f(fd_ResponseDeliverTx_data, value) { + return + } + } + if x.Log != "" { + value := protoreflect.ValueOfString(x.Log) + if !f(fd_ResponseDeliverTx_log, value) { + return + } + } + if x.Info != "" { + value := protoreflect.ValueOfString(x.Info) + if !f(fd_ResponseDeliverTx_info, value) { + return + } + } + if x.GasWanted != int64(0) { + value := protoreflect.ValueOfInt64(x.GasWanted) + if !f(fd_ResponseDeliverTx_gas_wanted, value) { + return + } + } + if x.GasUsed != int64(0) { + value := protoreflect.ValueOfInt64(x.GasUsed) + if !f(fd_ResponseDeliverTx_gas_used, value) { + return + } + } if len(x.Events) != 0 { - value := protoreflect.ValueOfList(&_ResponseBeginBlock_1_list{list: &x.Events}) - if !f(fd_ResponseBeginBlock_events, value) { + value := protoreflect.ValueOfList(&_ResponseDeliverTx_7_list{list: &x.Events}) + if !f(fd_ResponseDeliverTx_events, value) { + return + } + } + if x.Codespace != "" { + value := protoreflect.ValueOfString(x.Codespace) + if !f(fd_ResponseDeliverTx_codespace, value) { return } } @@ -15499,15 +18411,29 @@ func (x *fastReflection_ResponseBeginBlock) Range(f func(protoreflect.FieldDescr // 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_ResponseBeginBlock) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseDeliverTx) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseBeginBlock.events": + case "tendermint.abci.ResponseDeliverTx.code": + return x.Code != uint32(0) + case "tendermint.abci.ResponseDeliverTx.data": + return len(x.Data) != 0 + case "tendermint.abci.ResponseDeliverTx.log": + return x.Log != "" + case "tendermint.abci.ResponseDeliverTx.info": + return x.Info != "" + case "tendermint.abci.ResponseDeliverTx.gas_wanted": + return x.GasWanted != int64(0) + case "tendermint.abci.ResponseDeliverTx.gas_used": + return x.GasUsed != int64(0) + case "tendermint.abci.ResponseDeliverTx.events": return len(x.Events) != 0 + case "tendermint.abci.ResponseDeliverTx.codespace": + return x.Codespace != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx does not contain field %s", fd.FullName())) } } @@ -15517,15 +18443,29 @@ func (x *fastReflection_ResponseBeginBlock) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseBeginBlock) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseDeliverTx) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseBeginBlock.events": + case "tendermint.abci.ResponseDeliverTx.code": + x.Code = uint32(0) + case "tendermint.abci.ResponseDeliverTx.data": + x.Data = nil + case "tendermint.abci.ResponseDeliverTx.log": + x.Log = "" + case "tendermint.abci.ResponseDeliverTx.info": + x.Info = "" + case "tendermint.abci.ResponseDeliverTx.gas_wanted": + x.GasWanted = int64(0) + case "tendermint.abci.ResponseDeliverTx.gas_used": + x.GasUsed = int64(0) + case "tendermint.abci.ResponseDeliverTx.events": x.Events = nil + case "tendermint.abci.ResponseDeliverTx.codespace": + x.Codespace = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx does not contain field %s", fd.FullName())) } } @@ -15535,19 +18475,40 @@ func (x *fastReflection_ResponseBeginBlock) Clear(fd protoreflect.FieldDescripto // 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_ResponseBeginBlock) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseDeliverTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseBeginBlock.events": + case "tendermint.abci.ResponseDeliverTx.code": + value := x.Code + return protoreflect.ValueOfUint32(value) + case "tendermint.abci.ResponseDeliverTx.data": + value := x.Data + return protoreflect.ValueOfBytes(value) + case "tendermint.abci.ResponseDeliverTx.log": + value := x.Log + return protoreflect.ValueOfString(value) + case "tendermint.abci.ResponseDeliverTx.info": + value := x.Info + return protoreflect.ValueOfString(value) + case "tendermint.abci.ResponseDeliverTx.gas_wanted": + value := x.GasWanted + return protoreflect.ValueOfInt64(value) + case "tendermint.abci.ResponseDeliverTx.gas_used": + value := x.GasUsed + return protoreflect.ValueOfInt64(value) + case "tendermint.abci.ResponseDeliverTx.events": if len(x.Events) == 0 { - return protoreflect.ValueOfList(&_ResponseBeginBlock_1_list{}) + return protoreflect.ValueOfList(&_ResponseDeliverTx_7_list{}) } - listValue := &_ResponseBeginBlock_1_list{list: &x.Events} + listValue := &_ResponseDeliverTx_7_list{list: &x.Events} return protoreflect.ValueOfList(listValue) + case "tendermint.abci.ResponseDeliverTx.codespace": + value := x.Codespace + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx does not contain field %s", descriptor.FullName())) } } @@ -15561,17 +18522,31 @@ func (x *fastReflection_ResponseBeginBlock) Get(descriptor protoreflect.FieldDes // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseBeginBlock) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseDeliverTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseBeginBlock.events": + case "tendermint.abci.ResponseDeliverTx.code": + x.Code = uint32(value.Uint()) + case "tendermint.abci.ResponseDeliverTx.data": + x.Data = value.Bytes() + case "tendermint.abci.ResponseDeliverTx.log": + x.Log = value.Interface().(string) + case "tendermint.abci.ResponseDeliverTx.info": + x.Info = value.Interface().(string) + case "tendermint.abci.ResponseDeliverTx.gas_wanted": + x.GasWanted = value.Int() + case "tendermint.abci.ResponseDeliverTx.gas_used": + x.GasUsed = value.Int() + case "tendermint.abci.ResponseDeliverTx.events": lv := value.List() - clv := lv.(*_ResponseBeginBlock_1_list) + clv := lv.(*_ResponseDeliverTx_7_list) x.Events = *clv.list + case "tendermint.abci.ResponseDeliverTx.codespace": + x.Codespace = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx does not contain field %s", fd.FullName())) } } @@ -15585,45 +18560,73 @@ func (x *fastReflection_ResponseBeginBlock) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseBeginBlock) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseDeliverTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseBeginBlock.events": + case "tendermint.abci.ResponseDeliverTx.events": if x.Events == nil { x.Events = []*Event{} } - value := &_ResponseBeginBlock_1_list{list: &x.Events} + value := &_ResponseDeliverTx_7_list{list: &x.Events} return protoreflect.ValueOfList(value) + case "tendermint.abci.ResponseDeliverTx.code": + panic(fmt.Errorf("field code of message tendermint.abci.ResponseDeliverTx is not mutable")) + case "tendermint.abci.ResponseDeliverTx.data": + panic(fmt.Errorf("field data of message tendermint.abci.ResponseDeliverTx is not mutable")) + case "tendermint.abci.ResponseDeliverTx.log": + panic(fmt.Errorf("field log of message tendermint.abci.ResponseDeliverTx is not mutable")) + case "tendermint.abci.ResponseDeliverTx.info": + panic(fmt.Errorf("field info of message tendermint.abci.ResponseDeliverTx is not mutable")) + case "tendermint.abci.ResponseDeliverTx.gas_wanted": + panic(fmt.Errorf("field gas_wanted of message tendermint.abci.ResponseDeliverTx is not mutable")) + case "tendermint.abci.ResponseDeliverTx.gas_used": + panic(fmt.Errorf("field gas_used of message tendermint.abci.ResponseDeliverTx is not mutable")) + case "tendermint.abci.ResponseDeliverTx.codespace": + panic(fmt.Errorf("field codespace of message tendermint.abci.ResponseDeliverTx is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx 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_ResponseBeginBlock) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseDeliverTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseBeginBlock.events": + case "tendermint.abci.ResponseDeliverTx.code": + return protoreflect.ValueOfUint32(uint32(0)) + case "tendermint.abci.ResponseDeliverTx.data": + return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.ResponseDeliverTx.log": + return protoreflect.ValueOfString("") + case "tendermint.abci.ResponseDeliverTx.info": + return protoreflect.ValueOfString("") + case "tendermint.abci.ResponseDeliverTx.gas_wanted": + return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.ResponseDeliverTx.gas_used": + return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.ResponseDeliverTx.events": list := []*Event{} - return protoreflect.ValueOfList(&_ResponseBeginBlock_1_list{list: &list}) + return protoreflect.ValueOfList(&_ResponseDeliverTx_7_list{list: &list}) + case "tendermint.abci.ResponseDeliverTx.codespace": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseBeginBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) } - panic(fmt.Errorf("message tendermint.abci.ResponseBeginBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx 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_ResponseBeginBlock) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseDeliverTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseBeginBlock", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseDeliverTx", d.FullName())) } panic("unreachable") } @@ -15631,7 +18634,7 @@ func (x *fastReflection_ResponseBeginBlock) WhichOneof(d protoreflect.OneofDescr // 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_ResponseBeginBlock) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseDeliverTx) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -15642,7 +18645,7 @@ func (x *fastReflection_ResponseBeginBlock) GetUnknown() protoreflect.RawFields // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseBeginBlock) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseDeliverTx) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -15654,7 +18657,7 @@ func (x *fastReflection_ResponseBeginBlock) SetUnknown(fields protoreflect.RawFi // 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_ResponseBeginBlock) IsValid() bool { +func (x *fastReflection_ResponseDeliverTx) IsValid() bool { return x != nil } @@ -15664,9 +18667,9 @@ func (x *fastReflection_ResponseBeginBlock) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseBeginBlock) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseDeliverTx) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseBeginBlock) + x := input.Message.Interface().(*ResponseDeliverTx) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15678,12 +18681,37 @@ func (x *fastReflection_ResponseBeginBlock) ProtoMethods() *protoiface.Methods { var n int var l int _ = l + if x.Code != 0 { + n += 1 + runtime.Sov(uint64(x.Code)) + } + l = len(x.Data) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Log) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Info) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.GasWanted != 0 { + n += 1 + runtime.Sov(uint64(x.GasWanted)) + } + if x.GasUsed != 0 { + n += 1 + runtime.Sov(uint64(x.GasUsed)) + } if len(x.Events) > 0 { for _, e := range x.Events { l = options.Size(e) n += 1 + l + runtime.Sov(uint64(l)) } } + l = len(x.Codespace) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -15694,7 +18722,7 @@ func (x *fastReflection_ResponseBeginBlock) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseBeginBlock) + x := input.Message.Interface().(*ResponseDeliverTx) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15713,6 +18741,13 @@ func (x *fastReflection_ResponseBeginBlock) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.Codespace) > 0 { + i -= len(x.Codespace) + copy(dAtA[i:], x.Codespace) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Codespace))) + i-- + dAtA[i] = 0x42 + } if len(x.Events) > 0 { for iNdEx := len(x.Events) - 1; iNdEx >= 0; iNdEx-- { encoded, err := options.Marshal(x.Events[iNdEx]) @@ -15726,9 +18761,45 @@ func (x *fastReflection_ResponseBeginBlock) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x3a } } + if x.GasUsed != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.GasUsed)) + i-- + dAtA[i] = 0x30 + } + if x.GasWanted != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.GasWanted)) + i-- + dAtA[i] = 0x28 + } + if len(x.Info) > 0 { + i -= len(x.Info) + copy(dAtA[i:], x.Info) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Info))) + i-- + dAtA[i] = 0x22 + } + if len(x.Log) > 0 { + i -= len(x.Log) + copy(dAtA[i:], x.Log) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Log))) + i-- + dAtA[i] = 0x1a + } + if len(x.Data) > 0 { + i -= len(x.Data) + copy(dAtA[i:], x.Data) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) + i-- + dAtA[i] = 0x12 + } + if x.Code != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Code)) + i-- + dAtA[i] = 0x8 + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -15740,7 +18811,7 @@ func (x *fastReflection_ResponseBeginBlock) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseBeginBlock) + x := input.Message.Interface().(*ResponseDeliverTx) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15772,13 +18843,168 @@ func (x *fastReflection_ResponseBeginBlock) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseBeginBlock: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseDeliverTx: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseBeginBlock: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseDeliverTx: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) + } + x.Code = 0 + 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++ + x.Code |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Data", 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.Data = append(x.Data[:0], dAtA[iNdEx:postIndex]...) + if x.Data == nil { + x.Data = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Log", 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.Log = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Info", 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.Info = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasWanted", wireType) + } + x.GasWanted = 0 + 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++ + x.GasWanted |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType) + } + x.GasUsed = 0 + 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++ + x.GasUsed |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) } @@ -15812,6 +19038,38 @@ func (x *fastReflection_ResponseBeginBlock) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Codespace", 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.Codespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -15847,92 +19105,133 @@ func (x *fastReflection_ResponseBeginBlock) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_ResponseCheckTx_7_list)(nil) +var _ protoreflect.List = (*_ResponseEndBlock_1_list)(nil) -type _ResponseCheckTx_7_list struct { +type _ResponseEndBlock_1_list struct { + list *[]*ValidatorUpdate +} + +func (x *_ResponseEndBlock_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_ResponseEndBlock_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_ResponseEndBlock_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) + (*x.list)[i] = concreteValue +} + +func (x *_ResponseEndBlock_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) + *x.list = append(*x.list, concreteValue) +} + +func (x *_ResponseEndBlock_1_list) AppendMutable() protoreflect.Value { + v := new(ValidatorUpdate) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_ResponseEndBlock_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_ResponseEndBlock_1_list) NewElement() protoreflect.Value { + v := new(ValidatorUpdate) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_ResponseEndBlock_1_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_ResponseEndBlock_3_list)(nil) + +type _ResponseEndBlock_3_list struct { list *[]*Event } -func (x *_ResponseCheckTx_7_list) Len() int { +func (x *_ResponseEndBlock_3_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_ResponseCheckTx_7_list) Get(i int) protoreflect.Value { +func (x *_ResponseEndBlock_3_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_ResponseCheckTx_7_list) Set(i int, value protoreflect.Value) { +func (x *_ResponseEndBlock_3_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Event) (*x.list)[i] = concreteValue } -func (x *_ResponseCheckTx_7_list) Append(value protoreflect.Value) { +func (x *_ResponseEndBlock_3_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Event) *x.list = append(*x.list, concreteValue) } -func (x *_ResponseCheckTx_7_list) AppendMutable() protoreflect.Value { +func (x *_ResponseEndBlock_3_list) AppendMutable() protoreflect.Value { v := new(Event) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_ResponseCheckTx_7_list) Truncate(n int) { +func (x *_ResponseEndBlock_3_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_ResponseCheckTx_7_list) NewElement() protoreflect.Value { +func (x *_ResponseEndBlock_3_list) NewElement() protoreflect.Value { v := new(Event) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_ResponseCheckTx_7_list) IsValid() bool { +func (x *_ResponseEndBlock_3_list) IsValid() bool { return x.list != nil } var ( - md_ResponseCheckTx protoreflect.MessageDescriptor - fd_ResponseCheckTx_code protoreflect.FieldDescriptor - fd_ResponseCheckTx_data protoreflect.FieldDescriptor - fd_ResponseCheckTx_log protoreflect.FieldDescriptor - fd_ResponseCheckTx_info protoreflect.FieldDescriptor - fd_ResponseCheckTx_gas_wanted protoreflect.FieldDescriptor - fd_ResponseCheckTx_gas_used protoreflect.FieldDescriptor - fd_ResponseCheckTx_events protoreflect.FieldDescriptor - fd_ResponseCheckTx_codespace protoreflect.FieldDescriptor + md_ResponseEndBlock protoreflect.MessageDescriptor + fd_ResponseEndBlock_validator_updates protoreflect.FieldDescriptor + fd_ResponseEndBlock_consensus_param_updates protoreflect.FieldDescriptor + fd_ResponseEndBlock_events protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseCheckTx = File_tendermint_abci_types_proto.Messages().ByName("ResponseCheckTx") - fd_ResponseCheckTx_code = md_ResponseCheckTx.Fields().ByName("code") - fd_ResponseCheckTx_data = md_ResponseCheckTx.Fields().ByName("data") - fd_ResponseCheckTx_log = md_ResponseCheckTx.Fields().ByName("log") - fd_ResponseCheckTx_info = md_ResponseCheckTx.Fields().ByName("info") - fd_ResponseCheckTx_gas_wanted = md_ResponseCheckTx.Fields().ByName("gas_wanted") - fd_ResponseCheckTx_gas_used = md_ResponseCheckTx.Fields().ByName("gas_used") - fd_ResponseCheckTx_events = md_ResponseCheckTx.Fields().ByName("events") - fd_ResponseCheckTx_codespace = md_ResponseCheckTx.Fields().ByName("codespace") + md_ResponseEndBlock = File_tendermint_abci_types_proto.Messages().ByName("ResponseEndBlock") + fd_ResponseEndBlock_validator_updates = md_ResponseEndBlock.Fields().ByName("validator_updates") + fd_ResponseEndBlock_consensus_param_updates = md_ResponseEndBlock.Fields().ByName("consensus_param_updates") + fd_ResponseEndBlock_events = md_ResponseEndBlock.Fields().ByName("events") } -var _ protoreflect.Message = (*fastReflection_ResponseCheckTx)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseEndBlock)(nil) -type fastReflection_ResponseCheckTx ResponseCheckTx +type fastReflection_ResponseEndBlock ResponseEndBlock -func (x *ResponseCheckTx) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseCheckTx)(x) +func (x *ResponseEndBlock) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseEndBlock)(x) } -func (x *ResponseCheckTx) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[25] +func (x *ResponseEndBlock) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15943,43 +19242,43 @@ func (x *ResponseCheckTx) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseCheckTx_messageType fastReflection_ResponseCheckTx_messageType -var _ protoreflect.MessageType = fastReflection_ResponseCheckTx_messageType{} +var _fastReflection_ResponseEndBlock_messageType fastReflection_ResponseEndBlock_messageType +var _ protoreflect.MessageType = fastReflection_ResponseEndBlock_messageType{} -type fastReflection_ResponseCheckTx_messageType struct{} +type fastReflection_ResponseEndBlock_messageType struct{} -func (x fastReflection_ResponseCheckTx_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseCheckTx)(nil) +func (x fastReflection_ResponseEndBlock_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseEndBlock)(nil) } -func (x fastReflection_ResponseCheckTx_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseCheckTx) +func (x fastReflection_ResponseEndBlock_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseEndBlock) } -func (x fastReflection_ResponseCheckTx_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseCheckTx +func (x fastReflection_ResponseEndBlock_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseEndBlock } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseCheckTx) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseCheckTx +func (x *fastReflection_ResponseEndBlock) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseEndBlock } // 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_ResponseCheckTx) Type() protoreflect.MessageType { - return _fastReflection_ResponseCheckTx_messageType +func (x *fastReflection_ResponseEndBlock) Type() protoreflect.MessageType { + return _fastReflection_ResponseEndBlock_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseCheckTx) New() protoreflect.Message { - return new(fastReflection_ResponseCheckTx) +func (x *fastReflection_ResponseEndBlock) New() protoreflect.Message { + return new(fastReflection_ResponseEndBlock) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseCheckTx) Interface() protoreflect.ProtoMessage { - return (*ResponseCheckTx)(x) +func (x *fastReflection_ResponseEndBlock) Interface() protoreflect.ProtoMessage { + return (*ResponseEndBlock)(x) } // Range iterates over every populated field in an undefined order, @@ -15987,52 +19286,22 @@ func (x *fastReflection_ResponseCheckTx) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseCheckTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Code != uint32(0) { - value := protoreflect.ValueOfUint32(x.Code) - if !f(fd_ResponseCheckTx_code, value) { - return - } - } - if len(x.Data) != 0 { - value := protoreflect.ValueOfBytes(x.Data) - if !f(fd_ResponseCheckTx_data, value) { - return - } - } - if x.Log != "" { - value := protoreflect.ValueOfString(x.Log) - if !f(fd_ResponseCheckTx_log, value) { - return - } - } - if x.Info != "" { - value := protoreflect.ValueOfString(x.Info) - if !f(fd_ResponseCheckTx_info, value) { - return - } - } - if x.GasWanted != int64(0) { - value := protoreflect.ValueOfInt64(x.GasWanted) - if !f(fd_ResponseCheckTx_gas_wanted, value) { +func (x *fastReflection_ResponseEndBlock) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.ValidatorUpdates) != 0 { + value := protoreflect.ValueOfList(&_ResponseEndBlock_1_list{list: &x.ValidatorUpdates}) + if !f(fd_ResponseEndBlock_validator_updates, value) { return } } - if x.GasUsed != int64(0) { - value := protoreflect.ValueOfInt64(x.GasUsed) - if !f(fd_ResponseCheckTx_gas_used, value) { + if x.ConsensusParamUpdates != nil { + value := protoreflect.ValueOfMessage(x.ConsensusParamUpdates.ProtoReflect()) + if !f(fd_ResponseEndBlock_consensus_param_updates, value) { return } } if len(x.Events) != 0 { - value := protoreflect.ValueOfList(&_ResponseCheckTx_7_list{list: &x.Events}) - if !f(fd_ResponseCheckTx_events, value) { - return - } - } - if x.Codespace != "" { - value := protoreflect.ValueOfString(x.Codespace) - if !f(fd_ResponseCheckTx_codespace, value) { + value := protoreflect.ValueOfList(&_ResponseEndBlock_3_list{list: &x.Events}) + if !f(fd_ResponseEndBlock_events, value) { return } } @@ -16049,29 +19318,19 @@ func (x *fastReflection_ResponseCheckTx) Range(f func(protoreflect.FieldDescript // 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_ResponseCheckTx) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseEndBlock) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseCheckTx.code": - return x.Code != uint32(0) - case "tendermint.abci.ResponseCheckTx.data": - return len(x.Data) != 0 - case "tendermint.abci.ResponseCheckTx.log": - return x.Log != "" - case "tendermint.abci.ResponseCheckTx.info": - return x.Info != "" - case "tendermint.abci.ResponseCheckTx.gas_wanted": - return x.GasWanted != int64(0) - case "tendermint.abci.ResponseCheckTx.gas_used": - return x.GasUsed != int64(0) - case "tendermint.abci.ResponseCheckTx.events": + case "tendermint.abci.ResponseEndBlock.validator_updates": + return len(x.ValidatorUpdates) != 0 + case "tendermint.abci.ResponseEndBlock.consensus_param_updates": + return x.ConsensusParamUpdates != nil + case "tendermint.abci.ResponseEndBlock.events": return len(x.Events) != 0 - case "tendermint.abci.ResponseCheckTx.codespace": - return x.Codespace != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock does not contain field %s", fd.FullName())) } } @@ -16081,29 +19340,19 @@ func (x *fastReflection_ResponseCheckTx) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseCheckTx) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseEndBlock) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseCheckTx.code": - x.Code = uint32(0) - case "tendermint.abci.ResponseCheckTx.data": - x.Data = nil - case "tendermint.abci.ResponseCheckTx.log": - x.Log = "" - case "tendermint.abci.ResponseCheckTx.info": - x.Info = "" - case "tendermint.abci.ResponseCheckTx.gas_wanted": - x.GasWanted = int64(0) - case "tendermint.abci.ResponseCheckTx.gas_used": - x.GasUsed = int64(0) - case "tendermint.abci.ResponseCheckTx.events": + case "tendermint.abci.ResponseEndBlock.validator_updates": + x.ValidatorUpdates = nil + case "tendermint.abci.ResponseEndBlock.consensus_param_updates": + x.ConsensusParamUpdates = nil + case "tendermint.abci.ResponseEndBlock.events": x.Events = nil - case "tendermint.abci.ResponseCheckTx.codespace": - x.Codespace = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock does not contain field %s", fd.FullName())) } } @@ -16113,40 +19362,28 @@ func (x *fastReflection_ResponseCheckTx) Clear(fd protoreflect.FieldDescriptor) // 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_ResponseCheckTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseEndBlock) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseCheckTx.code": - value := x.Code - return protoreflect.ValueOfUint32(value) - case "tendermint.abci.ResponseCheckTx.data": - value := x.Data - return protoreflect.ValueOfBytes(value) - case "tendermint.abci.ResponseCheckTx.log": - value := x.Log - return protoreflect.ValueOfString(value) - case "tendermint.abci.ResponseCheckTx.info": - value := x.Info - return protoreflect.ValueOfString(value) - case "tendermint.abci.ResponseCheckTx.gas_wanted": - value := x.GasWanted - return protoreflect.ValueOfInt64(value) - case "tendermint.abci.ResponseCheckTx.gas_used": - value := x.GasUsed - return protoreflect.ValueOfInt64(value) - case "tendermint.abci.ResponseCheckTx.events": + case "tendermint.abci.ResponseEndBlock.validator_updates": + if len(x.ValidatorUpdates) == 0 { + return protoreflect.ValueOfList(&_ResponseEndBlock_1_list{}) + } + listValue := &_ResponseEndBlock_1_list{list: &x.ValidatorUpdates} + return protoreflect.ValueOfList(listValue) + case "tendermint.abci.ResponseEndBlock.consensus_param_updates": + value := x.ConsensusParamUpdates + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.ResponseEndBlock.events": if len(x.Events) == 0 { - return protoreflect.ValueOfList(&_ResponseCheckTx_7_list{}) + return protoreflect.ValueOfList(&_ResponseEndBlock_3_list{}) } - listValue := &_ResponseCheckTx_7_list{list: &x.Events} + listValue := &_ResponseEndBlock_3_list{list: &x.Events} return protoreflect.ValueOfList(listValue) - case "tendermint.abci.ResponseCheckTx.codespace": - value := x.Codespace - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock does not contain field %s", descriptor.FullName())) } } @@ -16160,31 +19397,23 @@ func (x *fastReflection_ResponseCheckTx) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseCheckTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseEndBlock) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseCheckTx.code": - x.Code = uint32(value.Uint()) - case "tendermint.abci.ResponseCheckTx.data": - x.Data = value.Bytes() - case "tendermint.abci.ResponseCheckTx.log": - x.Log = value.Interface().(string) - case "tendermint.abci.ResponseCheckTx.info": - x.Info = value.Interface().(string) - case "tendermint.abci.ResponseCheckTx.gas_wanted": - x.GasWanted = value.Int() - case "tendermint.abci.ResponseCheckTx.gas_used": - x.GasUsed = value.Int() - case "tendermint.abci.ResponseCheckTx.events": + case "tendermint.abci.ResponseEndBlock.validator_updates": lv := value.List() - clv := lv.(*_ResponseCheckTx_7_list) + clv := lv.(*_ResponseEndBlock_1_list) + x.ValidatorUpdates = *clv.list + case "tendermint.abci.ResponseEndBlock.consensus_param_updates": + x.ConsensusParamUpdates = value.Message().Interface().(*types.ConsensusParams) + case "tendermint.abci.ResponseEndBlock.events": + lv := value.List() + clv := lv.(*_ResponseEndBlock_3_list) x.Events = *clv.list - case "tendermint.abci.ResponseCheckTx.codespace": - x.Codespace = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock does not contain field %s", fd.FullName())) } } @@ -16198,73 +19427,62 @@ func (x *fastReflection_ResponseCheckTx) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseCheckTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseEndBlock) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseCheckTx.events": + case "tendermint.abci.ResponseEndBlock.validator_updates": + if x.ValidatorUpdates == nil { + x.ValidatorUpdates = []*ValidatorUpdate{} + } + value := &_ResponseEndBlock_1_list{list: &x.ValidatorUpdates} + return protoreflect.ValueOfList(value) + case "tendermint.abci.ResponseEndBlock.consensus_param_updates": + if x.ConsensusParamUpdates == nil { + x.ConsensusParamUpdates = new(types.ConsensusParams) + } + return protoreflect.ValueOfMessage(x.ConsensusParamUpdates.ProtoReflect()) + case "tendermint.abci.ResponseEndBlock.events": if x.Events == nil { x.Events = []*Event{} } - value := &_ResponseCheckTx_7_list{list: &x.Events} + value := &_ResponseEndBlock_3_list{list: &x.Events} return protoreflect.ValueOfList(value) - case "tendermint.abci.ResponseCheckTx.code": - panic(fmt.Errorf("field code of message tendermint.abci.ResponseCheckTx is not mutable")) - case "tendermint.abci.ResponseCheckTx.data": - panic(fmt.Errorf("field data of message tendermint.abci.ResponseCheckTx is not mutable")) - case "tendermint.abci.ResponseCheckTx.log": - panic(fmt.Errorf("field log of message tendermint.abci.ResponseCheckTx is not mutable")) - case "tendermint.abci.ResponseCheckTx.info": - panic(fmt.Errorf("field info of message tendermint.abci.ResponseCheckTx is not mutable")) - case "tendermint.abci.ResponseCheckTx.gas_wanted": - panic(fmt.Errorf("field gas_wanted of message tendermint.abci.ResponseCheckTx is not mutable")) - case "tendermint.abci.ResponseCheckTx.gas_used": - panic(fmt.Errorf("field gas_used of message tendermint.abci.ResponseCheckTx is not mutable")) - case "tendermint.abci.ResponseCheckTx.codespace": - panic(fmt.Errorf("field codespace of message tendermint.abci.ResponseCheckTx is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock 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_ResponseCheckTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseEndBlock) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseCheckTx.code": - return protoreflect.ValueOfUint32(uint32(0)) - case "tendermint.abci.ResponseCheckTx.data": - return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.ResponseCheckTx.log": - return protoreflect.ValueOfString("") - case "tendermint.abci.ResponseCheckTx.info": - return protoreflect.ValueOfString("") - case "tendermint.abci.ResponseCheckTx.gas_wanted": - return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.abci.ResponseCheckTx.gas_used": - return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.abci.ResponseCheckTx.events": + case "tendermint.abci.ResponseEndBlock.validator_updates": + list := []*ValidatorUpdate{} + return protoreflect.ValueOfList(&_ResponseEndBlock_1_list{list: &list}) + case "tendermint.abci.ResponseEndBlock.consensus_param_updates": + m := new(types.ConsensusParams) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.ResponseEndBlock.events": list := []*Event{} - return protoreflect.ValueOfList(&_ResponseCheckTx_7_list{list: &list}) - case "tendermint.abci.ResponseCheckTx.codespace": - return protoreflect.ValueOfString("") + return protoreflect.ValueOfList(&_ResponseEndBlock_3_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCheckTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCheckTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock 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_ResponseCheckTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseEndBlock) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseCheckTx", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseEndBlock", d.FullName())) } panic("unreachable") } @@ -16272,7 +19490,7 @@ func (x *fastReflection_ResponseCheckTx) WhichOneof(d protoreflect.OneofDescript // 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_ResponseCheckTx) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseEndBlock) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -16283,7 +19501,7 @@ func (x *fastReflection_ResponseCheckTx) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseCheckTx) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseEndBlock) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -16295,7 +19513,7 @@ func (x *fastReflection_ResponseCheckTx) SetUnknown(fields protoreflect.RawField // 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_ResponseCheckTx) IsValid() bool { +func (x *fastReflection_ResponseEndBlock) IsValid() bool { return x != nil } @@ -16305,9 +19523,9 @@ func (x *fastReflection_ResponseCheckTx) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseEndBlock) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseCheckTx) + x := input.Message.Interface().(*ResponseEndBlock) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16319,37 +19537,22 @@ func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Code != 0 { - n += 1 + runtime.Sov(uint64(x.Code)) - } - l = len(x.Data) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Log) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if len(x.ValidatorUpdates) > 0 { + for _, e := range x.ValidatorUpdates { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } } - l = len(x.Info) - if l > 0 { + if x.ConsensusParamUpdates != nil { + l = options.Size(x.ConsensusParamUpdates) n += 1 + l + runtime.Sov(uint64(l)) } - if x.GasWanted != 0 { - n += 1 + runtime.Sov(uint64(x.GasWanted)) - } - if x.GasUsed != 0 { - n += 1 + runtime.Sov(uint64(x.GasUsed)) - } if len(x.Events) > 0 { for _, e := range x.Events { l = options.Size(e) n += 1 + l + runtime.Sov(uint64(l)) } } - l = len(x.Codespace) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -16360,7 +19563,7 @@ func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseCheckTx) + x := input.Message.Interface().(*ResponseEndBlock) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16379,13 +19582,6 @@ func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Codespace) > 0 { - i -= len(x.Codespace) - copy(dAtA[i:], x.Codespace) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Codespace))) - i-- - dAtA[i] = 0x42 - } if len(x.Events) > 0 { for iNdEx := len(x.Events) - 1; iNdEx >= 0; iNdEx-- { encoded, err := options.Marshal(x.Events[iNdEx]) @@ -16399,44 +19595,38 @@ func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x3a + dAtA[i] = 0x1a } } - if x.GasUsed != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.GasUsed)) - i-- - dAtA[i] = 0x30 - } - if x.GasWanted != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.GasWanted)) - i-- - dAtA[i] = 0x28 - } - if len(x.Info) > 0 { - i -= len(x.Info) - copy(dAtA[i:], x.Info) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Info))) - i-- - dAtA[i] = 0x22 - } - if len(x.Log) > 0 { - i -= len(x.Log) - copy(dAtA[i:], x.Log) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Log))) - i-- - dAtA[i] = 0x1a - } - if len(x.Data) > 0 { - i -= len(x.Data) - copy(dAtA[i:], x.Data) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) + if x.ConsensusParamUpdates != nil { + encoded, err := options.Marshal(x.ConsensusParamUpdates) + 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 x.Code != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Code)) - i-- - dAtA[i] = 0x8 + if len(x.ValidatorUpdates) > 0 { + for iNdEx := len(x.ValidatorUpdates) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ValidatorUpdates[iNdEx]) + 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] = 0xa + } } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -16449,7 +19639,7 @@ func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseCheckTx) + x := input.Message.Interface().(*ResponseEndBlock) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16478,105 +19668,20 @@ func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { break } } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseCheckTx: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseCheckTx: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) - } - x.Code = 0 - 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++ - x.Code |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Data", 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.Data = append(x.Data[:0], dAtA[iNdEx:postIndex]...) - if x.Data == nil { - x.Data = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Log", 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.Log = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseEndBlock: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseEndBlock: 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 Info", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ValidatorUpdates", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -16586,65 +19691,29 @@ func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Info = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasWanted", wireType) - } - x.GasWanted = 0 - 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++ - x.GasWanted |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType) - } - x.GasUsed = 0 - 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++ - x.GasUsed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } + x.ValidatorUpdates = append(x.ValidatorUpdates, &ValidatorUpdate{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ValidatorUpdates[len(x.ValidatorUpdates)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - case 7: + iNdEx = postIndex + case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConsensusParamUpdates", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -16671,16 +19740,18 @@ func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Events = append(x.Events, &Event{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Events[len(x.Events)-1]); err != nil { + if x.ConsensusParamUpdates == nil { + x.ConsensusParamUpdates = &types.ConsensusParams{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ConsensusParamUpdates); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 8: + case 3: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -16690,23 +19761,25 @@ func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Codespace = string(dAtA[iNdEx:postIndex]) + x.Events = append(x.Events, &Event{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Events[len(x.Events)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex default: iNdEx = preIndex @@ -16743,92 +19816,29 @@ func (x *fastReflection_ResponseCheckTx) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_ResponseDeliverTx_7_list)(nil) - -type _ResponseDeliverTx_7_list struct { - list *[]*Event -} - -func (x *_ResponseDeliverTx_7_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_ResponseDeliverTx_7_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_ResponseDeliverTx_7_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Event) - (*x.list)[i] = concreteValue -} - -func (x *_ResponseDeliverTx_7_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Event) - *x.list = append(*x.list, concreteValue) -} - -func (x *_ResponseDeliverTx_7_list) AppendMutable() protoreflect.Value { - v := new(Event) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_ResponseDeliverTx_7_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_ResponseDeliverTx_7_list) NewElement() protoreflect.Value { - v := new(Event) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_ResponseDeliverTx_7_list) IsValid() bool { - return x.list != nil -} - var ( - md_ResponseDeliverTx protoreflect.MessageDescriptor - fd_ResponseDeliverTx_code protoreflect.FieldDescriptor - fd_ResponseDeliverTx_data protoreflect.FieldDescriptor - fd_ResponseDeliverTx_log protoreflect.FieldDescriptor - fd_ResponseDeliverTx_info protoreflect.FieldDescriptor - fd_ResponseDeliverTx_gas_wanted protoreflect.FieldDescriptor - fd_ResponseDeliverTx_gas_used protoreflect.FieldDescriptor - fd_ResponseDeliverTx_events protoreflect.FieldDescriptor - fd_ResponseDeliverTx_codespace protoreflect.FieldDescriptor + md_ResponseCommit protoreflect.MessageDescriptor + fd_ResponseCommit_data protoreflect.FieldDescriptor + fd_ResponseCommit_retain_height protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseDeliverTx = File_tendermint_abci_types_proto.Messages().ByName("ResponseDeliverTx") - fd_ResponseDeliverTx_code = md_ResponseDeliverTx.Fields().ByName("code") - fd_ResponseDeliverTx_data = md_ResponseDeliverTx.Fields().ByName("data") - fd_ResponseDeliverTx_log = md_ResponseDeliverTx.Fields().ByName("log") - fd_ResponseDeliverTx_info = md_ResponseDeliverTx.Fields().ByName("info") - fd_ResponseDeliverTx_gas_wanted = md_ResponseDeliverTx.Fields().ByName("gas_wanted") - fd_ResponseDeliverTx_gas_used = md_ResponseDeliverTx.Fields().ByName("gas_used") - fd_ResponseDeliverTx_events = md_ResponseDeliverTx.Fields().ByName("events") - fd_ResponseDeliverTx_codespace = md_ResponseDeliverTx.Fields().ByName("codespace") + md_ResponseCommit = File_tendermint_abci_types_proto.Messages().ByName("ResponseCommit") + fd_ResponseCommit_data = md_ResponseCommit.Fields().ByName("data") + fd_ResponseCommit_retain_height = md_ResponseCommit.Fields().ByName("retain_height") } -var _ protoreflect.Message = (*fastReflection_ResponseDeliverTx)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseCommit)(nil) -type fastReflection_ResponseDeliverTx ResponseDeliverTx +type fastReflection_ResponseCommit ResponseCommit -func (x *ResponseDeliverTx) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseDeliverTx)(x) +func (x *ResponseCommit) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseCommit)(x) } -func (x *ResponseDeliverTx) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[26] +func (x *ResponseCommit) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16839,43 +19849,43 @@ func (x *ResponseDeliverTx) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseDeliverTx_messageType fastReflection_ResponseDeliverTx_messageType -var _ protoreflect.MessageType = fastReflection_ResponseDeliverTx_messageType{} +var _fastReflection_ResponseCommit_messageType fastReflection_ResponseCommit_messageType +var _ protoreflect.MessageType = fastReflection_ResponseCommit_messageType{} -type fastReflection_ResponseDeliverTx_messageType struct{} +type fastReflection_ResponseCommit_messageType struct{} -func (x fastReflection_ResponseDeliverTx_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseDeliverTx)(nil) +func (x fastReflection_ResponseCommit_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseCommit)(nil) } -func (x fastReflection_ResponseDeliverTx_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseDeliverTx) +func (x fastReflection_ResponseCommit_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseCommit) } -func (x fastReflection_ResponseDeliverTx_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseDeliverTx +func (x fastReflection_ResponseCommit_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseCommit } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseDeliverTx) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseDeliverTx +func (x *fastReflection_ResponseCommit) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseCommit } // 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_ResponseDeliverTx) Type() protoreflect.MessageType { - return _fastReflection_ResponseDeliverTx_messageType +func (x *fastReflection_ResponseCommit) Type() protoreflect.MessageType { + return _fastReflection_ResponseCommit_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseDeliverTx) New() protoreflect.Message { - return new(fastReflection_ResponseDeliverTx) +func (x *fastReflection_ResponseCommit) New() protoreflect.Message { + return new(fastReflection_ResponseCommit) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseDeliverTx) Interface() protoreflect.ProtoMessage { - return (*ResponseDeliverTx)(x) +func (x *fastReflection_ResponseCommit) Interface() protoreflect.ProtoMessage { + return (*ResponseCommit)(x) } // Range iterates over every populated field in an undefined order, @@ -16883,52 +19893,16 @@ func (x *fastReflection_ResponseDeliverTx) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseDeliverTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Code != uint32(0) { - value := protoreflect.ValueOfUint32(x.Code) - if !f(fd_ResponseDeliverTx_code, value) { - return - } - } +func (x *fastReflection_ResponseCommit) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if len(x.Data) != 0 { value := protoreflect.ValueOfBytes(x.Data) - if !f(fd_ResponseDeliverTx_data, value) { - return - } - } - if x.Log != "" { - value := protoreflect.ValueOfString(x.Log) - if !f(fd_ResponseDeliverTx_log, value) { - return - } - } - if x.Info != "" { - value := protoreflect.ValueOfString(x.Info) - if !f(fd_ResponseDeliverTx_info, value) { - return - } - } - if x.GasWanted != int64(0) { - value := protoreflect.ValueOfInt64(x.GasWanted) - if !f(fd_ResponseDeliverTx_gas_wanted, value) { - return - } - } - if x.GasUsed != int64(0) { - value := protoreflect.ValueOfInt64(x.GasUsed) - if !f(fd_ResponseDeliverTx_gas_used, value) { - return - } - } - if len(x.Events) != 0 { - value := protoreflect.ValueOfList(&_ResponseDeliverTx_7_list{list: &x.Events}) - if !f(fd_ResponseDeliverTx_events, value) { + if !f(fd_ResponseCommit_data, value) { return } - } - if x.Codespace != "" { - value := protoreflect.ValueOfString(x.Codespace) - if !f(fd_ResponseDeliverTx_codespace, value) { + } + if x.RetainHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.RetainHeight) + if !f(fd_ResponseCommit_retain_height, value) { return } } @@ -16945,29 +19919,17 @@ func (x *fastReflection_ResponseDeliverTx) Range(f func(protoreflect.FieldDescri // 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_ResponseDeliverTx) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseCommit) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseDeliverTx.code": - return x.Code != uint32(0) - case "tendermint.abci.ResponseDeliverTx.data": + case "tendermint.abci.ResponseCommit.data": return len(x.Data) != 0 - case "tendermint.abci.ResponseDeliverTx.log": - return x.Log != "" - case "tendermint.abci.ResponseDeliverTx.info": - return x.Info != "" - case "tendermint.abci.ResponseDeliverTx.gas_wanted": - return x.GasWanted != int64(0) - case "tendermint.abci.ResponseDeliverTx.gas_used": - return x.GasUsed != int64(0) - case "tendermint.abci.ResponseDeliverTx.events": - return len(x.Events) != 0 - case "tendermint.abci.ResponseDeliverTx.codespace": - return x.Codespace != "" + case "tendermint.abci.ResponseCommit.retain_height": + return x.RetainHeight != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) } - panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCommit does not contain field %s", fd.FullName())) } } @@ -16977,29 +19939,17 @@ func (x *fastReflection_ResponseDeliverTx) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseDeliverTx) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseCommit) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseDeliverTx.code": - x.Code = uint32(0) - case "tendermint.abci.ResponseDeliverTx.data": + case "tendermint.abci.ResponseCommit.data": x.Data = nil - case "tendermint.abci.ResponseDeliverTx.log": - x.Log = "" - case "tendermint.abci.ResponseDeliverTx.info": - x.Info = "" - case "tendermint.abci.ResponseDeliverTx.gas_wanted": - x.GasWanted = int64(0) - case "tendermint.abci.ResponseDeliverTx.gas_used": - x.GasUsed = int64(0) - case "tendermint.abci.ResponseDeliverTx.events": - x.Events = nil - case "tendermint.abci.ResponseDeliverTx.codespace": - x.Codespace = "" + case "tendermint.abci.ResponseCommit.retain_height": + x.RetainHeight = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) } - panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCommit does not contain field %s", fd.FullName())) } } @@ -17009,40 +19959,19 @@ func (x *fastReflection_ResponseDeliverTx) Clear(fd protoreflect.FieldDescriptor // 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_ResponseDeliverTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseCommit) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseDeliverTx.code": - value := x.Code - return protoreflect.ValueOfUint32(value) - case "tendermint.abci.ResponseDeliverTx.data": + case "tendermint.abci.ResponseCommit.data": value := x.Data return protoreflect.ValueOfBytes(value) - case "tendermint.abci.ResponseDeliverTx.log": - value := x.Log - return protoreflect.ValueOfString(value) - case "tendermint.abci.ResponseDeliverTx.info": - value := x.Info - return protoreflect.ValueOfString(value) - case "tendermint.abci.ResponseDeliverTx.gas_wanted": - value := x.GasWanted - return protoreflect.ValueOfInt64(value) - case "tendermint.abci.ResponseDeliverTx.gas_used": - value := x.GasUsed + case "tendermint.abci.ResponseCommit.retain_height": + value := x.RetainHeight return protoreflect.ValueOfInt64(value) - case "tendermint.abci.ResponseDeliverTx.events": - if len(x.Events) == 0 { - return protoreflect.ValueOfList(&_ResponseDeliverTx_7_list{}) - } - listValue := &_ResponseDeliverTx_7_list{list: &x.Events} - return protoreflect.ValueOfList(listValue) - case "tendermint.abci.ResponseDeliverTx.codespace": - value := x.Codespace - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) } - panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCommit does not contain field %s", descriptor.FullName())) } } @@ -17056,31 +19985,17 @@ func (x *fastReflection_ResponseDeliverTx) Get(descriptor protoreflect.FieldDesc // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseDeliverTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseCommit) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseDeliverTx.code": - x.Code = uint32(value.Uint()) - case "tendermint.abci.ResponseDeliverTx.data": + case "tendermint.abci.ResponseCommit.data": x.Data = value.Bytes() - case "tendermint.abci.ResponseDeliverTx.log": - x.Log = value.Interface().(string) - case "tendermint.abci.ResponseDeliverTx.info": - x.Info = value.Interface().(string) - case "tendermint.abci.ResponseDeliverTx.gas_wanted": - x.GasWanted = value.Int() - case "tendermint.abci.ResponseDeliverTx.gas_used": - x.GasUsed = value.Int() - case "tendermint.abci.ResponseDeliverTx.events": - lv := value.List() - clv := lv.(*_ResponseDeliverTx_7_list) - x.Events = *clv.list - case "tendermint.abci.ResponseDeliverTx.codespace": - x.Codespace = value.Interface().(string) + case "tendermint.abci.ResponseCommit.retain_height": + x.RetainHeight = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) } - panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCommit does not contain field %s", fd.FullName())) } } @@ -17094,73 +20009,44 @@ func (x *fastReflection_ResponseDeliverTx) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseDeliverTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseCommit) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseDeliverTx.events": - if x.Events == nil { - x.Events = []*Event{} - } - value := &_ResponseDeliverTx_7_list{list: &x.Events} - return protoreflect.ValueOfList(value) - case "tendermint.abci.ResponseDeliverTx.code": - panic(fmt.Errorf("field code of message tendermint.abci.ResponseDeliverTx is not mutable")) - case "tendermint.abci.ResponseDeliverTx.data": - panic(fmt.Errorf("field data of message tendermint.abci.ResponseDeliverTx is not mutable")) - case "tendermint.abci.ResponseDeliverTx.log": - panic(fmt.Errorf("field log of message tendermint.abci.ResponseDeliverTx is not mutable")) - case "tendermint.abci.ResponseDeliverTx.info": - panic(fmt.Errorf("field info of message tendermint.abci.ResponseDeliverTx is not mutable")) - case "tendermint.abci.ResponseDeliverTx.gas_wanted": - panic(fmt.Errorf("field gas_wanted of message tendermint.abci.ResponseDeliverTx is not mutable")) - case "tendermint.abci.ResponseDeliverTx.gas_used": - panic(fmt.Errorf("field gas_used of message tendermint.abci.ResponseDeliverTx is not mutable")) - case "tendermint.abci.ResponseDeliverTx.codespace": - panic(fmt.Errorf("field codespace of message tendermint.abci.ResponseDeliverTx is not mutable")) + case "tendermint.abci.ResponseCommit.data": + panic(fmt.Errorf("field data of message tendermint.abci.ResponseCommit is not mutable")) + case "tendermint.abci.ResponseCommit.retain_height": + panic(fmt.Errorf("field retain_height of message tendermint.abci.ResponseCommit is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) } - panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCommit 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_ResponseDeliverTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseCommit) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseDeliverTx.code": - return protoreflect.ValueOfUint32(uint32(0)) - case "tendermint.abci.ResponseDeliverTx.data": + case "tendermint.abci.ResponseCommit.data": return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.ResponseDeliverTx.log": - return protoreflect.ValueOfString("") - case "tendermint.abci.ResponseDeliverTx.info": - return protoreflect.ValueOfString("") - case "tendermint.abci.ResponseDeliverTx.gas_wanted": - return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.abci.ResponseDeliverTx.gas_used": + case "tendermint.abci.ResponseCommit.retain_height": return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.abci.ResponseDeliverTx.events": - list := []*Event{} - return protoreflect.ValueOfList(&_ResponseDeliverTx_7_list{list: &list}) - case "tendermint.abci.ResponseDeliverTx.codespace": - return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseDeliverTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) } - panic(fmt.Errorf("message tendermint.abci.ResponseDeliverTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseCommit 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_ResponseDeliverTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseCommit) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseDeliverTx", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseCommit", d.FullName())) } panic("unreachable") } @@ -17168,7 +20054,7 @@ func (x *fastReflection_ResponseDeliverTx) WhichOneof(d protoreflect.OneofDescri // 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_ResponseDeliverTx) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseCommit) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -17179,7 +20065,7 @@ func (x *fastReflection_ResponseDeliverTx) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseDeliverTx) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseCommit) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -17191,7 +20077,7 @@ func (x *fastReflection_ResponseDeliverTx) SetUnknown(fields protoreflect.RawFie // 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_ResponseDeliverTx) IsValid() bool { +func (x *fastReflection_ResponseCommit) IsValid() bool { return x != nil } @@ -17201,9 +20087,9 @@ func (x *fastReflection_ResponseDeliverTx) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseDeliverTx) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseCommit) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseDeliverTx) + x := input.Message.Interface().(*ResponseCommit) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -17215,36 +20101,12 @@ func (x *fastReflection_ResponseDeliverTx) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Code != 0 { - n += 1 + runtime.Sov(uint64(x.Code)) - } l = len(x.Data) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Log) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Info) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.GasWanted != 0 { - n += 1 + runtime.Sov(uint64(x.GasWanted)) - } - if x.GasUsed != 0 { - n += 1 + runtime.Sov(uint64(x.GasUsed)) - } - if len(x.Events) > 0 { - for _, e := range x.Events { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - l = len(x.Codespace) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.RetainHeight != 0 { + n += 1 + runtime.Sov(uint64(x.RetainHeight)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -17256,7 +20118,7 @@ func (x *fastReflection_ResponseDeliverTx) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseDeliverTx) + x := input.Message.Interface().(*ResponseCommit) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -17275,52 +20137,10 @@ func (x *fastReflection_ResponseDeliverTx) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Codespace) > 0 { - i -= len(x.Codespace) - copy(dAtA[i:], x.Codespace) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Codespace))) - i-- - dAtA[i] = 0x42 - } - if len(x.Events) > 0 { - for iNdEx := len(x.Events) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Events[iNdEx]) - 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] = 0x3a - } - } - if x.GasUsed != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.GasUsed)) - i-- - dAtA[i] = 0x30 - } - if x.GasWanted != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.GasWanted)) - i-- - dAtA[i] = 0x28 - } - if len(x.Info) > 0 { - i -= len(x.Info) - copy(dAtA[i:], x.Info) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Info))) - i-- - dAtA[i] = 0x22 - } - if len(x.Log) > 0 { - i -= len(x.Log) - copy(dAtA[i:], x.Log) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Log))) + if x.RetainHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.RetainHeight)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } if len(x.Data) > 0 { i -= len(x.Data) @@ -17329,11 +20149,6 @@ func (x *fastReflection_ResponseDeliverTx) ProtoMethods() *protoiface.Methods { i-- dAtA[i] = 0x12 } - if x.Code != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Code)) - i-- - dAtA[i] = 0x8 - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -17345,7 +20160,7 @@ func (x *fastReflection_ResponseDeliverTx) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseDeliverTx) + x := input.Message.Interface().(*ResponseCommit) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -17377,31 +20192,12 @@ func (x *fastReflection_ResponseDeliverTx) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseDeliverTx: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseCommit: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseDeliverTx: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseCommit: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) - } - x.Code = 0 - 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++ - x.Code |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } case 2: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) @@ -17437,146 +20233,10 @@ func (x *fastReflection_ResponseDeliverTx) ProtoMethods() *protoiface.Methods { } iNdEx = postIndex case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Log", 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.Log = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Info", 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.Info = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasWanted", wireType) - } - x.GasWanted = 0 - 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++ - x.GasWanted |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType) - } - x.GasUsed = 0 - 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++ - x.GasUsed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Events", 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 - } - x.Events = append(x.Events, &Event{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Events[len(x.Events)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RetainHeight", wireType) } - var stringLen uint64 + x.RetainHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -17586,24 +20246,11 @@ func (x *fastReflection_ResponseDeliverTx) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.RetainHeight |= int64(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.Codespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -17639,133 +20286,78 @@ func (x *fastReflection_ResponseDeliverTx) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_ResponseEndBlock_1_list)(nil) - -type _ResponseEndBlock_1_list struct { - list *[]*ValidatorUpdate -} - -func (x *_ResponseEndBlock_1_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_ResponseEndBlock_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_ResponseEndBlock_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) - (*x.list)[i] = concreteValue -} - -func (x *_ResponseEndBlock_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*ValidatorUpdate) - *x.list = append(*x.list, concreteValue) -} - -func (x *_ResponseEndBlock_1_list) AppendMutable() protoreflect.Value { - v := new(ValidatorUpdate) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_ResponseEndBlock_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_ResponseEndBlock_1_list) NewElement() protoreflect.Value { - v := new(ValidatorUpdate) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_ResponseEndBlock_1_list) IsValid() bool { - return x.list != nil -} - -var _ protoreflect.List = (*_ResponseEndBlock_3_list)(nil) +var _ protoreflect.List = (*_ResponseListSnapshots_1_list)(nil) -type _ResponseEndBlock_3_list struct { - list *[]*Event +type _ResponseListSnapshots_1_list struct { + list *[]*Snapshot } -func (x *_ResponseEndBlock_3_list) Len() int { +func (x *_ResponseListSnapshots_1_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_ResponseEndBlock_3_list) Get(i int) protoreflect.Value { +func (x *_ResponseListSnapshots_1_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_ResponseEndBlock_3_list) Set(i int, value protoreflect.Value) { +func (x *_ResponseListSnapshots_1_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Event) + concreteValue := valueUnwrapped.Interface().(*Snapshot) (*x.list)[i] = concreteValue } -func (x *_ResponseEndBlock_3_list) Append(value protoreflect.Value) { +func (x *_ResponseListSnapshots_1_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Event) + concreteValue := valueUnwrapped.Interface().(*Snapshot) *x.list = append(*x.list, concreteValue) } -func (x *_ResponseEndBlock_3_list) AppendMutable() protoreflect.Value { - v := new(Event) +func (x *_ResponseListSnapshots_1_list) AppendMutable() protoreflect.Value { + v := new(Snapshot) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_ResponseEndBlock_3_list) Truncate(n int) { +func (x *_ResponseListSnapshots_1_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_ResponseEndBlock_3_list) NewElement() protoreflect.Value { - v := new(Event) +func (x *_ResponseListSnapshots_1_list) NewElement() protoreflect.Value { + v := new(Snapshot) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_ResponseEndBlock_3_list) IsValid() bool { +func (x *_ResponseListSnapshots_1_list) IsValid() bool { return x.list != nil } var ( - md_ResponseEndBlock protoreflect.MessageDescriptor - fd_ResponseEndBlock_validator_updates protoreflect.FieldDescriptor - fd_ResponseEndBlock_consensus_param_updates protoreflect.FieldDescriptor - fd_ResponseEndBlock_events protoreflect.FieldDescriptor + md_ResponseListSnapshots protoreflect.MessageDescriptor + fd_ResponseListSnapshots_snapshots protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseEndBlock = File_tendermint_abci_types_proto.Messages().ByName("ResponseEndBlock") - fd_ResponseEndBlock_validator_updates = md_ResponseEndBlock.Fields().ByName("validator_updates") - fd_ResponseEndBlock_consensus_param_updates = md_ResponseEndBlock.Fields().ByName("consensus_param_updates") - fd_ResponseEndBlock_events = md_ResponseEndBlock.Fields().ByName("events") + md_ResponseListSnapshots = File_tendermint_abci_types_proto.Messages().ByName("ResponseListSnapshots") + fd_ResponseListSnapshots_snapshots = md_ResponseListSnapshots.Fields().ByName("snapshots") } -var _ protoreflect.Message = (*fastReflection_ResponseEndBlock)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseListSnapshots)(nil) -type fastReflection_ResponseEndBlock ResponseEndBlock +type fastReflection_ResponseListSnapshots ResponseListSnapshots -func (x *ResponseEndBlock) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseEndBlock)(x) +func (x *ResponseListSnapshots) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseListSnapshots)(x) } -func (x *ResponseEndBlock) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[27] +func (x *ResponseListSnapshots) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17776,43 +20368,43 @@ func (x *ResponseEndBlock) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseEndBlock_messageType fastReflection_ResponseEndBlock_messageType -var _ protoreflect.MessageType = fastReflection_ResponseEndBlock_messageType{} +var _fastReflection_ResponseListSnapshots_messageType fastReflection_ResponseListSnapshots_messageType +var _ protoreflect.MessageType = fastReflection_ResponseListSnapshots_messageType{} -type fastReflection_ResponseEndBlock_messageType struct{} +type fastReflection_ResponseListSnapshots_messageType struct{} -func (x fastReflection_ResponseEndBlock_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseEndBlock)(nil) +func (x fastReflection_ResponseListSnapshots_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseListSnapshots)(nil) } -func (x fastReflection_ResponseEndBlock_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseEndBlock) +func (x fastReflection_ResponseListSnapshots_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseListSnapshots) } -func (x fastReflection_ResponseEndBlock_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseEndBlock +func (x fastReflection_ResponseListSnapshots_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseListSnapshots } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseEndBlock) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseEndBlock +func (x *fastReflection_ResponseListSnapshots) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseListSnapshots } // 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_ResponseEndBlock) Type() protoreflect.MessageType { - return _fastReflection_ResponseEndBlock_messageType +func (x *fastReflection_ResponseListSnapshots) Type() protoreflect.MessageType { + return _fastReflection_ResponseListSnapshots_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseEndBlock) New() protoreflect.Message { - return new(fastReflection_ResponseEndBlock) +func (x *fastReflection_ResponseListSnapshots) New() protoreflect.Message { + return new(fastReflection_ResponseListSnapshots) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseEndBlock) Interface() protoreflect.ProtoMessage { - return (*ResponseEndBlock)(x) +func (x *fastReflection_ResponseListSnapshots) Interface() protoreflect.ProtoMessage { + return (*ResponseListSnapshots)(x) } // Range iterates over every populated field in an undefined order, @@ -17820,22 +20412,10 @@ func (x *fastReflection_ResponseEndBlock) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseEndBlock) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.ValidatorUpdates) != 0 { - value := protoreflect.ValueOfList(&_ResponseEndBlock_1_list{list: &x.ValidatorUpdates}) - if !f(fd_ResponseEndBlock_validator_updates, value) { - return - } - } - if x.ConsensusParamUpdates != nil { - value := protoreflect.ValueOfMessage(x.ConsensusParamUpdates.ProtoReflect()) - if !f(fd_ResponseEndBlock_consensus_param_updates, value) { - return - } - } - if len(x.Events) != 0 { - value := protoreflect.ValueOfList(&_ResponseEndBlock_3_list{list: &x.Events}) - if !f(fd_ResponseEndBlock_events, value) { +func (x *fastReflection_ResponseListSnapshots) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Snapshots) != 0 { + value := protoreflect.ValueOfList(&_ResponseListSnapshots_1_list{list: &x.Snapshots}) + if !f(fd_ResponseListSnapshots_snapshots, value) { return } } @@ -17852,19 +20432,15 @@ func (x *fastReflection_ResponseEndBlock) Range(f func(protoreflect.FieldDescrip // 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_ResponseEndBlock) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseListSnapshots) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseEndBlock.validator_updates": - return len(x.ValidatorUpdates) != 0 - case "tendermint.abci.ResponseEndBlock.consensus_param_updates": - return x.ConsensusParamUpdates != nil - case "tendermint.abci.ResponseEndBlock.events": - return len(x.Events) != 0 + case "tendermint.abci.ResponseListSnapshots.snapshots": + return len(x.Snapshots) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots does not contain field %s", fd.FullName())) } } @@ -17874,19 +20450,15 @@ func (x *fastReflection_ResponseEndBlock) Has(fd protoreflect.FieldDescriptor) b // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseEndBlock) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseListSnapshots) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseEndBlock.validator_updates": - x.ValidatorUpdates = nil - case "tendermint.abci.ResponseEndBlock.consensus_param_updates": - x.ConsensusParamUpdates = nil - case "tendermint.abci.ResponseEndBlock.events": - x.Events = nil + case "tendermint.abci.ResponseListSnapshots.snapshots": + x.Snapshots = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots does not contain field %s", fd.FullName())) } } @@ -17896,28 +20468,19 @@ func (x *fastReflection_ResponseEndBlock) Clear(fd protoreflect.FieldDescriptor) // 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_ResponseEndBlock) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseListSnapshots) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseEndBlock.validator_updates": - if len(x.ValidatorUpdates) == 0 { - return protoreflect.ValueOfList(&_ResponseEndBlock_1_list{}) - } - listValue := &_ResponseEndBlock_1_list{list: &x.ValidatorUpdates} - return protoreflect.ValueOfList(listValue) - case "tendermint.abci.ResponseEndBlock.consensus_param_updates": - value := x.ConsensusParamUpdates - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.ResponseEndBlock.events": - if len(x.Events) == 0 { - return protoreflect.ValueOfList(&_ResponseEndBlock_3_list{}) + case "tendermint.abci.ResponseListSnapshots.snapshots": + if len(x.Snapshots) == 0 { + return protoreflect.ValueOfList(&_ResponseListSnapshots_1_list{}) } - listValue := &_ResponseEndBlock_3_list{list: &x.Events} + listValue := &_ResponseListSnapshots_1_list{list: &x.Snapshots} return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots does not contain field %s", descriptor.FullName())) } } @@ -17931,23 +20494,17 @@ func (x *fastReflection_ResponseEndBlock) Get(descriptor protoreflect.FieldDescr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseEndBlock) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseListSnapshots) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseEndBlock.validator_updates": - lv := value.List() - clv := lv.(*_ResponseEndBlock_1_list) - x.ValidatorUpdates = *clv.list - case "tendermint.abci.ResponseEndBlock.consensus_param_updates": - x.ConsensusParamUpdates = value.Message().Interface().(*ConsensusParams) - case "tendermint.abci.ResponseEndBlock.events": + case "tendermint.abci.ResponseListSnapshots.snapshots": lv := value.List() - clv := lv.(*_ResponseEndBlock_3_list) - x.Events = *clv.list + clv := lv.(*_ResponseListSnapshots_1_list) + x.Snapshots = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots does not contain field %s", fd.FullName())) } } @@ -17961,62 +20518,45 @@ func (x *fastReflection_ResponseEndBlock) Set(fd protoreflect.FieldDescriptor, v // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseEndBlock) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseListSnapshots) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseEndBlock.validator_updates": - if x.ValidatorUpdates == nil { - x.ValidatorUpdates = []*ValidatorUpdate{} - } - value := &_ResponseEndBlock_1_list{list: &x.ValidatorUpdates} - return protoreflect.ValueOfList(value) - case "tendermint.abci.ResponseEndBlock.consensus_param_updates": - if x.ConsensusParamUpdates == nil { - x.ConsensusParamUpdates = new(ConsensusParams) - } - return protoreflect.ValueOfMessage(x.ConsensusParamUpdates.ProtoReflect()) - case "tendermint.abci.ResponseEndBlock.events": - if x.Events == nil { - x.Events = []*Event{} + case "tendermint.abci.ResponseListSnapshots.snapshots": + if x.Snapshots == nil { + x.Snapshots = []*Snapshot{} } - value := &_ResponseEndBlock_3_list{list: &x.Events} + value := &_ResponseListSnapshots_1_list{list: &x.Snapshots} return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots 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_ResponseEndBlock) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseListSnapshots) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseEndBlock.validator_updates": - list := []*ValidatorUpdate{} - return protoreflect.ValueOfList(&_ResponseEndBlock_1_list{list: &list}) - case "tendermint.abci.ResponseEndBlock.consensus_param_updates": - m := new(ConsensusParams) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.ResponseEndBlock.events": - list := []*Event{} - return protoreflect.ValueOfList(&_ResponseEndBlock_3_list{list: &list}) + case "tendermint.abci.ResponseListSnapshots.snapshots": + list := []*Snapshot{} + return protoreflect.ValueOfList(&_ResponseListSnapshots_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseEndBlock")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) } - panic(fmt.Errorf("message tendermint.abci.ResponseEndBlock does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots 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_ResponseEndBlock) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseListSnapshots) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseEndBlock", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseListSnapshots", d.FullName())) } panic("unreachable") } @@ -18024,7 +20564,7 @@ func (x *fastReflection_ResponseEndBlock) WhichOneof(d protoreflect.OneofDescrip // 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_ResponseEndBlock) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseListSnapshots) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -18035,7 +20575,7 @@ func (x *fastReflection_ResponseEndBlock) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseEndBlock) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseListSnapshots) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -18047,7 +20587,7 @@ func (x *fastReflection_ResponseEndBlock) SetUnknown(fields protoreflect.RawFiel // 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_ResponseEndBlock) IsValid() bool { +func (x *fastReflection_ResponseListSnapshots) IsValid() bool { return x != nil } @@ -18057,9 +20597,9 @@ func (x *fastReflection_ResponseEndBlock) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseEndBlock) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseListSnapshots) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseEndBlock) + x := input.Message.Interface().(*ResponseListSnapshots) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18071,18 +20611,8 @@ func (x *fastReflection_ResponseEndBlock) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if len(x.ValidatorUpdates) > 0 { - for _, e := range x.ValidatorUpdates { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - if x.ConsensusParamUpdates != nil { - l = options.Size(x.ConsensusParamUpdates) - n += 1 + l + runtime.Sov(uint64(l)) - } - if len(x.Events) > 0 { - for _, e := range x.Events { + if len(x.Snapshots) > 0 { + for _, e := range x.Snapshots { l = options.Size(e) n += 1 + l + runtime.Sov(uint64(l)) } @@ -18097,58 +20627,28 @@ func (x *fastReflection_ResponseEndBlock) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseEndBlock) + x := input.Message.Interface().(*ResponseListSnapshots) 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.Events) > 0 { - for iNdEx := len(x.Events) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Events[iNdEx]) - 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] = 0x1a - } + }, nil } - if x.ConsensusParamUpdates != nil { - encoded, err := options.Marshal(x.ConsensusParamUpdates) - 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 + 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.ValidatorUpdates) > 0 { - for iNdEx := len(x.ValidatorUpdates) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.ValidatorUpdates[iNdEx]) + if len(x.Snapshots) > 0 { + for iNdEx := len(x.Snapshots) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Snapshots[iNdEx]) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18173,7 +20673,7 @@ func (x *fastReflection_ResponseEndBlock) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseEndBlock) + x := input.Message.Interface().(*ResponseListSnapshots) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18205,85 +20705,15 @@ func (x *fastReflection_ResponseEndBlock) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseEndBlock: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseListSnapshots: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseEndBlock: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseListSnapshots: 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 ValidatorUpdates", 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 - } - x.ValidatorUpdates = append(x.ValidatorUpdates, &ValidatorUpdate{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ValidatorUpdates[len(x.ValidatorUpdates)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConsensusParamUpdates", 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.ConsensusParamUpdates == nil { - x.ConsensusParamUpdates = &ConsensusParams{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ConsensusParamUpdates); 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 Events", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Snapshots", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18310,8 +20740,8 @@ func (x *fastReflection_ResponseEndBlock) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Events = append(x.Events, &Event{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Events[len(x.Events)-1]); err != nil { + x.Snapshots = append(x.Snapshots, &Snapshot{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Snapshots[len(x.Snapshots)-1]); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -18351,28 +20781,26 @@ func (x *fastReflection_ResponseEndBlock) ProtoMethods() *protoiface.Methods { } var ( - md_ResponseCommit protoreflect.MessageDescriptor - fd_ResponseCommit_data protoreflect.FieldDescriptor - fd_ResponseCommit_retain_height protoreflect.FieldDescriptor + md_ResponseOfferSnapshot protoreflect.MessageDescriptor + fd_ResponseOfferSnapshot_result protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseCommit = File_tendermint_abci_types_proto.Messages().ByName("ResponseCommit") - fd_ResponseCommit_data = md_ResponseCommit.Fields().ByName("data") - fd_ResponseCommit_retain_height = md_ResponseCommit.Fields().ByName("retain_height") + md_ResponseOfferSnapshot = File_tendermint_abci_types_proto.Messages().ByName("ResponseOfferSnapshot") + fd_ResponseOfferSnapshot_result = md_ResponseOfferSnapshot.Fields().ByName("result") } -var _ protoreflect.Message = (*fastReflection_ResponseCommit)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseOfferSnapshot)(nil) -type fastReflection_ResponseCommit ResponseCommit +type fastReflection_ResponseOfferSnapshot ResponseOfferSnapshot -func (x *ResponseCommit) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseCommit)(x) +func (x *ResponseOfferSnapshot) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseOfferSnapshot)(x) } -func (x *ResponseCommit) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[28] +func (x *ResponseOfferSnapshot) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18383,43 +20811,43 @@ func (x *ResponseCommit) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseCommit_messageType fastReflection_ResponseCommit_messageType -var _ protoreflect.MessageType = fastReflection_ResponseCommit_messageType{} +var _fastReflection_ResponseOfferSnapshot_messageType fastReflection_ResponseOfferSnapshot_messageType +var _ protoreflect.MessageType = fastReflection_ResponseOfferSnapshot_messageType{} -type fastReflection_ResponseCommit_messageType struct{} +type fastReflection_ResponseOfferSnapshot_messageType struct{} -func (x fastReflection_ResponseCommit_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseCommit)(nil) +func (x fastReflection_ResponseOfferSnapshot_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseOfferSnapshot)(nil) } -func (x fastReflection_ResponseCommit_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseCommit) +func (x fastReflection_ResponseOfferSnapshot_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseOfferSnapshot) } -func (x fastReflection_ResponseCommit_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseCommit +func (x fastReflection_ResponseOfferSnapshot_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseOfferSnapshot } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseCommit) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseCommit +func (x *fastReflection_ResponseOfferSnapshot) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseOfferSnapshot } // 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_ResponseCommit) Type() protoreflect.MessageType { - return _fastReflection_ResponseCommit_messageType +func (x *fastReflection_ResponseOfferSnapshot) Type() protoreflect.MessageType { + return _fastReflection_ResponseOfferSnapshot_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseCommit) New() protoreflect.Message { - return new(fastReflection_ResponseCommit) +func (x *fastReflection_ResponseOfferSnapshot) New() protoreflect.Message { + return new(fastReflection_ResponseOfferSnapshot) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseCommit) Interface() protoreflect.ProtoMessage { - return (*ResponseCommit)(x) +func (x *fastReflection_ResponseOfferSnapshot) Interface() protoreflect.ProtoMessage { + return (*ResponseOfferSnapshot)(x) } // Range iterates over every populated field in an undefined order, @@ -18427,16 +20855,10 @@ func (x *fastReflection_ResponseCommit) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseCommit) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Data) != 0 { - value := protoreflect.ValueOfBytes(x.Data) - if !f(fd_ResponseCommit_data, value) { - return - } - } - if x.RetainHeight != int64(0) { - value := protoreflect.ValueOfInt64(x.RetainHeight) - if !f(fd_ResponseCommit_retain_height, value) { +func (x *fastReflection_ResponseOfferSnapshot) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Result != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Result)) + if !f(fd_ResponseOfferSnapshot_result, value) { return } } @@ -18453,17 +20875,15 @@ func (x *fastReflection_ResponseCommit) Range(f func(protoreflect.FieldDescripto // 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_ResponseCommit) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseOfferSnapshot) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseCommit.data": - return len(x.Data) != 0 - case "tendermint.abci.ResponseCommit.retain_height": - return x.RetainHeight != int64(0) + case "tendermint.abci.ResponseOfferSnapshot.result": + return x.Result != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCommit does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot does not contain field %s", fd.FullName())) } } @@ -18473,17 +20893,15 @@ func (x *fastReflection_ResponseCommit) Has(fd protoreflect.FieldDescriptor) boo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseCommit) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseOfferSnapshot) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseCommit.data": - x.Data = nil - case "tendermint.abci.ResponseCommit.retain_height": - x.RetainHeight = int64(0) + case "tendermint.abci.ResponseOfferSnapshot.result": + x.Result = 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCommit does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot does not contain field %s", fd.FullName())) } } @@ -18493,19 +20911,16 @@ func (x *fastReflection_ResponseCommit) Clear(fd protoreflect.FieldDescriptor) { // 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_ResponseCommit) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseOfferSnapshot) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseCommit.data": - value := x.Data - return protoreflect.ValueOfBytes(value) - case "tendermint.abci.ResponseCommit.retain_height": - value := x.RetainHeight - return protoreflect.ValueOfInt64(value) + case "tendermint.abci.ResponseOfferSnapshot.result": + value := x.Result + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCommit does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot does not contain field %s", descriptor.FullName())) } } @@ -18519,17 +20934,15 @@ func (x *fastReflection_ResponseCommit) Get(descriptor protoreflect.FieldDescrip // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseCommit) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseOfferSnapshot) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseCommit.data": - x.Data = value.Bytes() - case "tendermint.abci.ResponseCommit.retain_height": - x.RetainHeight = value.Int() + case "tendermint.abci.ResponseOfferSnapshot.result": + x.Result = (ResponseOfferSnapshot_Result)(value.Enum()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCommit does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot does not contain field %s", fd.FullName())) } } @@ -18543,44 +20956,40 @@ func (x *fastReflection_ResponseCommit) Set(fd protoreflect.FieldDescriptor, val // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseCommit) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseOfferSnapshot) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseCommit.data": - panic(fmt.Errorf("field data of message tendermint.abci.ResponseCommit is not mutable")) - case "tendermint.abci.ResponseCommit.retain_height": - panic(fmt.Errorf("field retain_height of message tendermint.abci.ResponseCommit is not mutable")) + case "tendermint.abci.ResponseOfferSnapshot.result": + panic(fmt.Errorf("field result of message tendermint.abci.ResponseOfferSnapshot is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCommit does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot 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_ResponseCommit) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseOfferSnapshot) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseCommit.data": - return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.ResponseCommit.retain_height": - return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.ResponseOfferSnapshot.result": + return protoreflect.ValueOfEnum(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseCommit")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) } - panic(fmt.Errorf("message tendermint.abci.ResponseCommit does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot 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_ResponseCommit) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseOfferSnapshot) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseCommit", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseOfferSnapshot", d.FullName())) } panic("unreachable") } @@ -18588,7 +20997,7 @@ func (x *fastReflection_ResponseCommit) WhichOneof(d protoreflect.OneofDescripto // 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_ResponseCommit) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseOfferSnapshot) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -18599,7 +21008,7 @@ func (x *fastReflection_ResponseCommit) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseCommit) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseOfferSnapshot) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -18611,7 +21020,7 @@ func (x *fastReflection_ResponseCommit) SetUnknown(fields protoreflect.RawFields // 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_ResponseCommit) IsValid() bool { +func (x *fastReflection_ResponseOfferSnapshot) IsValid() bool { return x != nil } @@ -18621,9 +21030,9 @@ func (x *fastReflection_ResponseCommit) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseCommit) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseOfferSnapshot) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseCommit) + x := input.Message.Interface().(*ResponseOfferSnapshot) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18635,12 +21044,8 @@ func (x *fastReflection_ResponseCommit) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Data) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.RetainHeight != 0 { - n += 1 + runtime.Sov(uint64(x.RetainHeight)) + if x.Result != 0 { + n += 1 + runtime.Sov(uint64(x.Result)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -18652,7 +21057,7 @@ func (x *fastReflection_ResponseCommit) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseCommit) + x := input.Message.Interface().(*ResponseOfferSnapshot) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18671,17 +21076,10 @@ func (x *fastReflection_ResponseCommit) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.RetainHeight != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.RetainHeight)) - i-- - dAtA[i] = 0x18 - } - if len(x.Data) > 0 { - i -= len(x.Data) - copy(dAtA[i:], x.Data) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) + if x.Result != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Result)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x8 } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -18694,7 +21092,7 @@ func (x *fastReflection_ResponseCommit) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseCommit) + x := input.Message.Interface().(*ResponseOfferSnapshot) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18726,51 +21124,17 @@ func (x *fastReflection_ResponseCommit) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseCommit: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseOfferSnapshot: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseCommit: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseOfferSnapshot: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Data", 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.Data = append(x.Data[:0], dAtA[iNdEx:postIndex]...) - if x.Data == nil { - x.Data = []byte{} - } - iNdEx = postIndex - case 3: + case 1: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RetainHeight", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) } - x.RetainHeight = 0 + x.Result = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18780,7 +21144,7 @@ func (x *fastReflection_ResponseCommit) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - x.RetainHeight |= int64(b&0x7F) << shift + x.Result |= ResponseOfferSnapshot_Result(b&0x7F) << shift if b < 0x80 { break } @@ -18820,78 +21184,27 @@ func (x *fastReflection_ResponseCommit) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_ResponseListSnapshots_1_list)(nil) - -type _ResponseListSnapshots_1_list struct { - list *[]*Snapshot -} - -func (x *_ResponseListSnapshots_1_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_ResponseListSnapshots_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_ResponseListSnapshots_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Snapshot) - (*x.list)[i] = concreteValue -} - -func (x *_ResponseListSnapshots_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Snapshot) - *x.list = append(*x.list, concreteValue) -} - -func (x *_ResponseListSnapshots_1_list) AppendMutable() protoreflect.Value { - v := new(Snapshot) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_ResponseListSnapshots_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_ResponseListSnapshots_1_list) NewElement() protoreflect.Value { - v := new(Snapshot) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_ResponseListSnapshots_1_list) IsValid() bool { - return x.list != nil -} - var ( - md_ResponseListSnapshots protoreflect.MessageDescriptor - fd_ResponseListSnapshots_snapshots protoreflect.FieldDescriptor + md_ResponseLoadSnapshotChunk protoreflect.MessageDescriptor + fd_ResponseLoadSnapshotChunk_chunk protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseListSnapshots = File_tendermint_abci_types_proto.Messages().ByName("ResponseListSnapshots") - fd_ResponseListSnapshots_snapshots = md_ResponseListSnapshots.Fields().ByName("snapshots") + md_ResponseLoadSnapshotChunk = File_tendermint_abci_types_proto.Messages().ByName("ResponseLoadSnapshotChunk") + fd_ResponseLoadSnapshotChunk_chunk = md_ResponseLoadSnapshotChunk.Fields().ByName("chunk") } -var _ protoreflect.Message = (*fastReflection_ResponseListSnapshots)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseLoadSnapshotChunk)(nil) -type fastReflection_ResponseListSnapshots ResponseListSnapshots +type fastReflection_ResponseLoadSnapshotChunk ResponseLoadSnapshotChunk -func (x *ResponseListSnapshots) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseListSnapshots)(x) +func (x *ResponseLoadSnapshotChunk) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseLoadSnapshotChunk)(x) } -func (x *ResponseListSnapshots) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[29] +func (x *ResponseLoadSnapshotChunk) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18902,43 +21215,43 @@ func (x *ResponseListSnapshots) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseListSnapshots_messageType fastReflection_ResponseListSnapshots_messageType -var _ protoreflect.MessageType = fastReflection_ResponseListSnapshots_messageType{} +var _fastReflection_ResponseLoadSnapshotChunk_messageType fastReflection_ResponseLoadSnapshotChunk_messageType +var _ protoreflect.MessageType = fastReflection_ResponseLoadSnapshotChunk_messageType{} -type fastReflection_ResponseListSnapshots_messageType struct{} +type fastReflection_ResponseLoadSnapshotChunk_messageType struct{} -func (x fastReflection_ResponseListSnapshots_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseListSnapshots)(nil) +func (x fastReflection_ResponseLoadSnapshotChunk_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseLoadSnapshotChunk)(nil) } -func (x fastReflection_ResponseListSnapshots_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseListSnapshots) +func (x fastReflection_ResponseLoadSnapshotChunk_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseLoadSnapshotChunk) } -func (x fastReflection_ResponseListSnapshots_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseListSnapshots +func (x fastReflection_ResponseLoadSnapshotChunk_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseLoadSnapshotChunk } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseListSnapshots) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseListSnapshots +func (x *fastReflection_ResponseLoadSnapshotChunk) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseLoadSnapshotChunk } // 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_ResponseListSnapshots) Type() protoreflect.MessageType { - return _fastReflection_ResponseListSnapshots_messageType +func (x *fastReflection_ResponseLoadSnapshotChunk) Type() protoreflect.MessageType { + return _fastReflection_ResponseLoadSnapshotChunk_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseListSnapshots) New() protoreflect.Message { - return new(fastReflection_ResponseListSnapshots) +func (x *fastReflection_ResponseLoadSnapshotChunk) New() protoreflect.Message { + return new(fastReflection_ResponseLoadSnapshotChunk) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseListSnapshots) Interface() protoreflect.ProtoMessage { - return (*ResponseListSnapshots)(x) +func (x *fastReflection_ResponseLoadSnapshotChunk) Interface() protoreflect.ProtoMessage { + return (*ResponseLoadSnapshotChunk)(x) } // Range iterates over every populated field in an undefined order, @@ -18946,10 +21259,10 @@ func (x *fastReflection_ResponseListSnapshots) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseListSnapshots) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Snapshots) != 0 { - value := protoreflect.ValueOfList(&_ResponseListSnapshots_1_list{list: &x.Snapshots}) - if !f(fd_ResponseListSnapshots_snapshots, value) { +func (x *fastReflection_ResponseLoadSnapshotChunk) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Chunk) != 0 { + value := protoreflect.ValueOfBytes(x.Chunk) + if !f(fd_ResponseLoadSnapshotChunk_chunk, value) { return } } @@ -18966,15 +21279,15 @@ func (x *fastReflection_ResponseListSnapshots) Range(f func(protoreflect.FieldDe // 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_ResponseListSnapshots) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseLoadSnapshotChunk) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseListSnapshots.snapshots": - return len(x.Snapshots) != 0 + case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": + return len(x.Chunk) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk does not contain field %s", fd.FullName())) } } @@ -18984,15 +21297,15 @@ func (x *fastReflection_ResponseListSnapshots) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseListSnapshots) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseLoadSnapshotChunk) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseListSnapshots.snapshots": - x.Snapshots = nil + case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": + x.Chunk = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk does not contain field %s", fd.FullName())) } } @@ -19002,19 +21315,16 @@ func (x *fastReflection_ResponseListSnapshots) Clear(fd protoreflect.FieldDescri // 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_ResponseListSnapshots) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseLoadSnapshotChunk) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseListSnapshots.snapshots": - if len(x.Snapshots) == 0 { - return protoreflect.ValueOfList(&_ResponseListSnapshots_1_list{}) - } - listValue := &_ResponseListSnapshots_1_list{list: &x.Snapshots} - return protoreflect.ValueOfList(listValue) + case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": + value := x.Chunk + return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk does not contain field %s", descriptor.FullName())) } } @@ -19028,17 +21338,15 @@ func (x *fastReflection_ResponseListSnapshots) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseListSnapshots) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseLoadSnapshotChunk) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseListSnapshots.snapshots": - lv := value.List() - clv := lv.(*_ResponseListSnapshots_1_list) - x.Snapshots = *clv.list + case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": + x.Chunk = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk does not contain field %s", fd.FullName())) } } @@ -19050,47 +21358,42 @@ func (x *fastReflection_ResponseListSnapshots) Set(fd protoreflect.FieldDescript // 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_ResponseListSnapshots) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "tendermint.abci.ResponseListSnapshots.snapshots": - if x.Snapshots == nil { - x.Snapshots = []*Snapshot{} - } - value := &_ResponseListSnapshots_1_list{list: &x.Snapshots} - return protoreflect.ValueOfList(value) +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ResponseLoadSnapshotChunk) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": + panic(fmt.Errorf("field chunk of message tendermint.abci.ResponseLoadSnapshotChunk is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk 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_ResponseListSnapshots) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseLoadSnapshotChunk) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseListSnapshots.snapshots": - list := []*Snapshot{} - return protoreflect.ValueOfList(&_ResponseListSnapshots_1_list{list: &list}) + case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": + return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseListSnapshots")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseListSnapshots does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk 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_ResponseListSnapshots) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseLoadSnapshotChunk) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseListSnapshots", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseLoadSnapshotChunk", d.FullName())) } panic("unreachable") } @@ -19098,7 +21401,7 @@ func (x *fastReflection_ResponseListSnapshots) WhichOneof(d protoreflect.OneofDe // 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_ResponseListSnapshots) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseLoadSnapshotChunk) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -19109,7 +21412,7 @@ func (x *fastReflection_ResponseListSnapshots) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseListSnapshots) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseLoadSnapshotChunk) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -19121,7 +21424,7 @@ func (x *fastReflection_ResponseListSnapshots) SetUnknown(fields protoreflect.Ra // 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_ResponseListSnapshots) IsValid() bool { +func (x *fastReflection_ResponseLoadSnapshotChunk) IsValid() bool { return x != nil } @@ -19131,9 +21434,9 @@ func (x *fastReflection_ResponseListSnapshots) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseListSnapshots) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseLoadSnapshotChunk) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseListSnapshots) + x := input.Message.Interface().(*ResponseLoadSnapshotChunk) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19145,11 +21448,9 @@ func (x *fastReflection_ResponseListSnapshots) ProtoMethods() *protoiface.Method var n int var l int _ = l - if len(x.Snapshots) > 0 { - for _, e := range x.Snapshots { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } + l = len(x.Chunk) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -19161,7 +21462,7 @@ func (x *fastReflection_ResponseListSnapshots) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseListSnapshots) + x := input.Message.Interface().(*ResponseLoadSnapshotChunk) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19180,21 +21481,12 @@ func (x *fastReflection_ResponseListSnapshots) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Snapshots) > 0 { - for iNdEx := len(x.Snapshots) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Snapshots[iNdEx]) - 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] = 0xa - } + if len(x.Chunk) > 0 { + i -= len(x.Chunk) + copy(dAtA[i:], x.Chunk) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Chunk))) + i-- + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -19207,7 +21499,7 @@ func (x *fastReflection_ResponseListSnapshots) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseListSnapshots) + x := input.Message.Interface().(*ResponseLoadSnapshotChunk) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19239,17 +21531,17 @@ func (x *fastReflection_ResponseListSnapshots) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseListSnapshots: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseLoadSnapshotChunk: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseListSnapshots: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseLoadSnapshotChunk: 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 Snapshots", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -19259,24 +21551,24 @@ func (x *fastReflection_ResponseListSnapshots) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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.Snapshots = append(x.Snapshots, &Snapshot{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Snapshots[len(x.Snapshots)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + x.Chunk = append(x.Chunk[:0], dAtA[iNdEx:postIndex]...) + if x.Chunk == nil { + x.Chunk = []byte{} } iNdEx = postIndex default: @@ -19314,27 +21606,123 @@ func (x *fastReflection_ResponseListSnapshots) ProtoMethods() *protoiface.Method } } +var _ protoreflect.List = (*_ResponseApplySnapshotChunk_2_list)(nil) + +type _ResponseApplySnapshotChunk_2_list struct { + list *[]uint32 +} + +func (x *_ResponseApplySnapshotChunk_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_ResponseApplySnapshotChunk_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint32((*x.list)[i]) +} + +func (x *_ResponseApplySnapshotChunk_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := (uint32)(valueUnwrapped) + (*x.list)[i] = concreteValue +} + +func (x *_ResponseApplySnapshotChunk_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := (uint32)(valueUnwrapped) + *x.list = append(*x.list, concreteValue) +} + +func (x *_ResponseApplySnapshotChunk_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message ResponseApplySnapshotChunk at list field RefetchChunks as it is not of Message kind")) +} + +func (x *_ResponseApplySnapshotChunk_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_ResponseApplySnapshotChunk_2_list) NewElement() protoreflect.Value { + v := uint32(0) + return protoreflect.ValueOfUint32(v) +} + +func (x *_ResponseApplySnapshotChunk_2_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_ResponseApplySnapshotChunk_3_list)(nil) + +type _ResponseApplySnapshotChunk_3_list struct { + list *[]string +} + +func (x *_ResponseApplySnapshotChunk_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_ResponseApplySnapshotChunk_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_ResponseApplySnapshotChunk_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_ResponseApplySnapshotChunk_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_ResponseApplySnapshotChunk_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message ResponseApplySnapshotChunk at list field RejectSenders as it is not of Message kind")) +} + +func (x *_ResponseApplySnapshotChunk_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_ResponseApplySnapshotChunk_3_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_ResponseApplySnapshotChunk_3_list) IsValid() bool { + return x.list != nil +} + var ( - md_ResponseOfferSnapshot protoreflect.MessageDescriptor - fd_ResponseOfferSnapshot_result protoreflect.FieldDescriptor + md_ResponseApplySnapshotChunk protoreflect.MessageDescriptor + fd_ResponseApplySnapshotChunk_result protoreflect.FieldDescriptor + fd_ResponseApplySnapshotChunk_refetch_chunks protoreflect.FieldDescriptor + fd_ResponseApplySnapshotChunk_reject_senders protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseOfferSnapshot = File_tendermint_abci_types_proto.Messages().ByName("ResponseOfferSnapshot") - fd_ResponseOfferSnapshot_result = md_ResponseOfferSnapshot.Fields().ByName("result") + md_ResponseApplySnapshotChunk = File_tendermint_abci_types_proto.Messages().ByName("ResponseApplySnapshotChunk") + fd_ResponseApplySnapshotChunk_result = md_ResponseApplySnapshotChunk.Fields().ByName("result") + fd_ResponseApplySnapshotChunk_refetch_chunks = md_ResponseApplySnapshotChunk.Fields().ByName("refetch_chunks") + fd_ResponseApplySnapshotChunk_reject_senders = md_ResponseApplySnapshotChunk.Fields().ByName("reject_senders") } -var _ protoreflect.Message = (*fastReflection_ResponseOfferSnapshot)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseApplySnapshotChunk)(nil) -type fastReflection_ResponseOfferSnapshot ResponseOfferSnapshot +type fastReflection_ResponseApplySnapshotChunk ResponseApplySnapshotChunk -func (x *ResponseOfferSnapshot) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseOfferSnapshot)(x) +func (x *ResponseApplySnapshotChunk) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseApplySnapshotChunk)(x) } -func (x *ResponseOfferSnapshot) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[30] +func (x *ResponseApplySnapshotChunk) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19345,43 +21733,43 @@ func (x *ResponseOfferSnapshot) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseOfferSnapshot_messageType fastReflection_ResponseOfferSnapshot_messageType -var _ protoreflect.MessageType = fastReflection_ResponseOfferSnapshot_messageType{} +var _fastReflection_ResponseApplySnapshotChunk_messageType fastReflection_ResponseApplySnapshotChunk_messageType +var _ protoreflect.MessageType = fastReflection_ResponseApplySnapshotChunk_messageType{} -type fastReflection_ResponseOfferSnapshot_messageType struct{} +type fastReflection_ResponseApplySnapshotChunk_messageType struct{} -func (x fastReflection_ResponseOfferSnapshot_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseOfferSnapshot)(nil) +func (x fastReflection_ResponseApplySnapshotChunk_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseApplySnapshotChunk)(nil) } -func (x fastReflection_ResponseOfferSnapshot_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseOfferSnapshot) +func (x fastReflection_ResponseApplySnapshotChunk_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseApplySnapshotChunk) } -func (x fastReflection_ResponseOfferSnapshot_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseOfferSnapshot +func (x fastReflection_ResponseApplySnapshotChunk_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseApplySnapshotChunk } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseOfferSnapshot) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseOfferSnapshot +func (x *fastReflection_ResponseApplySnapshotChunk) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseApplySnapshotChunk } // 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_ResponseOfferSnapshot) Type() protoreflect.MessageType { - return _fastReflection_ResponseOfferSnapshot_messageType +func (x *fastReflection_ResponseApplySnapshotChunk) Type() protoreflect.MessageType { + return _fastReflection_ResponseApplySnapshotChunk_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseOfferSnapshot) New() protoreflect.Message { - return new(fastReflection_ResponseOfferSnapshot) +func (x *fastReflection_ResponseApplySnapshotChunk) New() protoreflect.Message { + return new(fastReflection_ResponseApplySnapshotChunk) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseOfferSnapshot) Interface() protoreflect.ProtoMessage { - return (*ResponseOfferSnapshot)(x) +func (x *fastReflection_ResponseApplySnapshotChunk) Interface() protoreflect.ProtoMessage { + return (*ResponseApplySnapshotChunk)(x) } // Range iterates over every populated field in an undefined order, @@ -19389,10 +21777,22 @@ func (x *fastReflection_ResponseOfferSnapshot) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseOfferSnapshot) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_ResponseApplySnapshotChunk) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Result != 0 { value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Result)) - if !f(fd_ResponseOfferSnapshot_result, value) { + if !f(fd_ResponseApplySnapshotChunk_result, value) { + return + } + } + if len(x.RefetchChunks) != 0 { + value := protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_2_list{list: &x.RefetchChunks}) + if !f(fd_ResponseApplySnapshotChunk_refetch_chunks, value) { + return + } + } + if len(x.RejectSenders) != 0 { + value := protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_3_list{list: &x.RejectSenders}) + if !f(fd_ResponseApplySnapshotChunk_reject_senders, value) { return } } @@ -19409,15 +21809,19 @@ func (x *fastReflection_ResponseOfferSnapshot) Range(f func(protoreflect.FieldDe // 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_ResponseOfferSnapshot) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseApplySnapshotChunk) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseOfferSnapshot.result": + case "tendermint.abci.ResponseApplySnapshotChunk.result": return x.Result != 0 + case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": + return len(x.RefetchChunks) != 0 + case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": + return len(x.RejectSenders) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk does not contain field %s", fd.FullName())) } } @@ -19427,15 +21831,19 @@ func (x *fastReflection_ResponseOfferSnapshot) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseOfferSnapshot) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseApplySnapshotChunk) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseOfferSnapshot.result": + case "tendermint.abci.ResponseApplySnapshotChunk.result": x.Result = 0 + case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": + x.RefetchChunks = nil + case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": + x.RejectSenders = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk does not contain field %s", fd.FullName())) } } @@ -19445,16 +21853,28 @@ func (x *fastReflection_ResponseOfferSnapshot) Clear(fd protoreflect.FieldDescri // 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_ResponseOfferSnapshot) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseApplySnapshotChunk) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseOfferSnapshot.result": + case "tendermint.abci.ResponseApplySnapshotChunk.result": value := x.Result return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": + if len(x.RefetchChunks) == 0 { + return protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_2_list{}) + } + listValue := &_ResponseApplySnapshotChunk_2_list{list: &x.RefetchChunks} + return protoreflect.ValueOfList(listValue) + case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": + if len(x.RejectSenders) == 0 { + return protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_3_list{}) + } + listValue := &_ResponseApplySnapshotChunk_3_list{list: &x.RejectSenders} + return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk does not contain field %s", descriptor.FullName())) } } @@ -19468,15 +21888,23 @@ func (x *fastReflection_ResponseOfferSnapshot) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseOfferSnapshot) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseApplySnapshotChunk) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseOfferSnapshot.result": - x.Result = (ResponseOfferSnapshot_Result)(value.Enum()) + case "tendermint.abci.ResponseApplySnapshotChunk.result": + x.Result = (ResponseApplySnapshotChunk_Result)(value.Enum()) + case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": + lv := value.List() + clv := lv.(*_ResponseApplySnapshotChunk_2_list) + x.RefetchChunks = *clv.list + case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": + lv := value.List() + clv := lv.(*_ResponseApplySnapshotChunk_3_list) + x.RejectSenders = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk does not contain field %s", fd.FullName())) } } @@ -19490,40 +21918,58 @@ func (x *fastReflection_ResponseOfferSnapshot) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseOfferSnapshot) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseApplySnapshotChunk) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseOfferSnapshot.result": - panic(fmt.Errorf("field result of message tendermint.abci.ResponseOfferSnapshot is not mutable")) + case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": + if x.RefetchChunks == nil { + x.RefetchChunks = []uint32{} + } + value := &_ResponseApplySnapshotChunk_2_list{list: &x.RefetchChunks} + return protoreflect.ValueOfList(value) + case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": + if x.RejectSenders == nil { + x.RejectSenders = []string{} + } + value := &_ResponseApplySnapshotChunk_3_list{list: &x.RejectSenders} + return protoreflect.ValueOfList(value) + case "tendermint.abci.ResponseApplySnapshotChunk.result": + panic(fmt.Errorf("field result of message tendermint.abci.ResponseApplySnapshotChunk is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk 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_ResponseOfferSnapshot) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseApplySnapshotChunk) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseOfferSnapshot.result": + case "tendermint.abci.ResponseApplySnapshotChunk.result": return protoreflect.ValueOfEnum(0) + case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": + list := []uint32{} + return protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_2_list{list: &list}) + case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": + list := []string{} + return protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_3_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseOfferSnapshot")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) } - panic(fmt.Errorf("message tendermint.abci.ResponseOfferSnapshot does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk 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_ResponseOfferSnapshot) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseApplySnapshotChunk) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseOfferSnapshot", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseApplySnapshotChunk", d.FullName())) } panic("unreachable") } @@ -19531,7 +21977,7 @@ func (x *fastReflection_ResponseOfferSnapshot) WhichOneof(d protoreflect.OneofDe // 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_ResponseOfferSnapshot) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseApplySnapshotChunk) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -19542,7 +21988,7 @@ func (x *fastReflection_ResponseOfferSnapshot) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseOfferSnapshot) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseApplySnapshotChunk) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -19554,7 +22000,7 @@ func (x *fastReflection_ResponseOfferSnapshot) SetUnknown(fields protoreflect.Ra // 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_ResponseOfferSnapshot) IsValid() bool { +func (x *fastReflection_ResponseApplySnapshotChunk) IsValid() bool { return x != nil } @@ -19564,9 +22010,9 @@ func (x *fastReflection_ResponseOfferSnapshot) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseOfferSnapshot) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseApplySnapshotChunk) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseOfferSnapshot) + x := input.Message.Interface().(*ResponseApplySnapshotChunk) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19581,6 +22027,19 @@ func (x *fastReflection_ResponseOfferSnapshot) ProtoMethods() *protoiface.Method if x.Result != 0 { n += 1 + runtime.Sov(uint64(x.Result)) } + if len(x.RefetchChunks) > 0 { + l = 0 + for _, e := range x.RefetchChunks { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if len(x.RejectSenders) > 0 { + for _, s := range x.RejectSenders { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -19591,7 +22050,7 @@ func (x *fastReflection_ResponseOfferSnapshot) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseOfferSnapshot) + x := input.Message.Interface().(*ResponseApplySnapshotChunk) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19610,6 +22069,35 @@ func (x *fastReflection_ResponseOfferSnapshot) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.RejectSenders) > 0 { + for iNdEx := len(x.RejectSenders) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.RejectSenders[iNdEx]) + copy(dAtA[i:], x.RejectSenders[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RejectSenders[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(x.RefetchChunks) > 0 { + var pksize2 int + for _, num := range x.RefetchChunks { + pksize2 += runtime.Sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range x.RefetchChunks { + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x12 + } if x.Result != 0 { i = runtime.EncodeVarint(dAtA, i, uint64(x.Result)) i-- @@ -19626,7 +22114,7 @@ func (x *fastReflection_ResponseOfferSnapshot) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseOfferSnapshot) + x := input.Message.Interface().(*ResponseApplySnapshotChunk) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19658,10 +22146,10 @@ func (x *fastReflection_ResponseOfferSnapshot) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseOfferSnapshot: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseApplySnapshotChunk: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseOfferSnapshot: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseApplySnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -19678,11 +22166,119 @@ func (x *fastReflection_ResponseOfferSnapshot) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.Result |= ResponseOfferSnapshot_Result(b&0x7F) << shift + x.Result |= ResponseApplySnapshotChunk_Result(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType == 0 { + var v uint32 + 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++ + v |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.RefetchChunks = append(x.RefetchChunks, v) + } else if wireType == 2 { + var packedLen 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++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + 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 + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.RefetchChunks) == 0 { + x.RefetchChunks = make([]uint32, 0, elementCount) + } + for iNdEx < postIndex { + var v uint32 + 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++ + v |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.RefetchChunks = append(x.RefetchChunks, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RefetchChunks", wireType) + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RejectSenders", 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.RejectSenders = append(x.RejectSenders, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -19718,27 +22314,73 @@ func (x *fastReflection_ResponseOfferSnapshot) ProtoMethods() *protoiface.Method } } +var _ protoreflect.List = (*_ResponsePrepareProposal_1_list)(nil) + +type _ResponsePrepareProposal_1_list struct { + list *[][]byte +} + +func (x *_ResponsePrepareProposal_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_ResponsePrepareProposal_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfBytes((*x.list)[i]) +} + +func (x *_ResponsePrepareProposal_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Bytes() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_ResponsePrepareProposal_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Bytes() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_ResponsePrepareProposal_1_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message ResponsePrepareProposal at list field Txs as it is not of Message kind")) +} + +func (x *_ResponsePrepareProposal_1_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_ResponsePrepareProposal_1_list) NewElement() protoreflect.Value { + var v []byte + return protoreflect.ValueOfBytes(v) +} + +func (x *_ResponsePrepareProposal_1_list) IsValid() bool { + return x.list != nil +} + var ( - md_ResponseLoadSnapshotChunk protoreflect.MessageDescriptor - fd_ResponseLoadSnapshotChunk_chunk protoreflect.FieldDescriptor + md_ResponsePrepareProposal protoreflect.MessageDescriptor + fd_ResponsePrepareProposal_txs protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseLoadSnapshotChunk = File_tendermint_abci_types_proto.Messages().ByName("ResponseLoadSnapshotChunk") - fd_ResponseLoadSnapshotChunk_chunk = md_ResponseLoadSnapshotChunk.Fields().ByName("chunk") + md_ResponsePrepareProposal = File_tendermint_abci_types_proto.Messages().ByName("ResponsePrepareProposal") + fd_ResponsePrepareProposal_txs = md_ResponsePrepareProposal.Fields().ByName("txs") } -var _ protoreflect.Message = (*fastReflection_ResponseLoadSnapshotChunk)(nil) +var _ protoreflect.Message = (*fastReflection_ResponsePrepareProposal)(nil) -type fastReflection_ResponseLoadSnapshotChunk ResponseLoadSnapshotChunk +type fastReflection_ResponsePrepareProposal ResponsePrepareProposal -func (x *ResponseLoadSnapshotChunk) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseLoadSnapshotChunk)(x) +func (x *ResponsePrepareProposal) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponsePrepareProposal)(x) } -func (x *ResponseLoadSnapshotChunk) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[31] +func (x *ResponsePrepareProposal) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19749,43 +22391,43 @@ func (x *ResponseLoadSnapshotChunk) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseLoadSnapshotChunk_messageType fastReflection_ResponseLoadSnapshotChunk_messageType -var _ protoreflect.MessageType = fastReflection_ResponseLoadSnapshotChunk_messageType{} +var _fastReflection_ResponsePrepareProposal_messageType fastReflection_ResponsePrepareProposal_messageType +var _ protoreflect.MessageType = fastReflection_ResponsePrepareProposal_messageType{} -type fastReflection_ResponseLoadSnapshotChunk_messageType struct{} +type fastReflection_ResponsePrepareProposal_messageType struct{} -func (x fastReflection_ResponseLoadSnapshotChunk_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseLoadSnapshotChunk)(nil) +func (x fastReflection_ResponsePrepareProposal_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponsePrepareProposal)(nil) } -func (x fastReflection_ResponseLoadSnapshotChunk_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseLoadSnapshotChunk) +func (x fastReflection_ResponsePrepareProposal_messageType) New() protoreflect.Message { + return new(fastReflection_ResponsePrepareProposal) } -func (x fastReflection_ResponseLoadSnapshotChunk_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseLoadSnapshotChunk +func (x fastReflection_ResponsePrepareProposal_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponsePrepareProposal } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseLoadSnapshotChunk) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseLoadSnapshotChunk +func (x *fastReflection_ResponsePrepareProposal) Descriptor() protoreflect.MessageDescriptor { + return md_ResponsePrepareProposal } // 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_ResponseLoadSnapshotChunk) Type() protoreflect.MessageType { - return _fastReflection_ResponseLoadSnapshotChunk_messageType +func (x *fastReflection_ResponsePrepareProposal) Type() protoreflect.MessageType { + return _fastReflection_ResponsePrepareProposal_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseLoadSnapshotChunk) New() protoreflect.Message { - return new(fastReflection_ResponseLoadSnapshotChunk) +func (x *fastReflection_ResponsePrepareProposal) New() protoreflect.Message { + return new(fastReflection_ResponsePrepareProposal) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseLoadSnapshotChunk) Interface() protoreflect.ProtoMessage { - return (*ResponseLoadSnapshotChunk)(x) +func (x *fastReflection_ResponsePrepareProposal) Interface() protoreflect.ProtoMessage { + return (*ResponsePrepareProposal)(x) } // Range iterates over every populated field in an undefined order, @@ -19793,10 +22435,10 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) Interface() protoreflect.Prot // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseLoadSnapshotChunk) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Chunk) != 0 { - value := protoreflect.ValueOfBytes(x.Chunk) - if !f(fd_ResponseLoadSnapshotChunk_chunk, value) { +func (x *fastReflection_ResponsePrepareProposal) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Txs) != 0 { + value := protoreflect.ValueOfList(&_ResponsePrepareProposal_1_list{list: &x.Txs}) + if !f(fd_ResponsePrepareProposal_txs, value) { return } } @@ -19813,15 +22455,15 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) Range(f func(protoreflect.Fie // 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_ResponseLoadSnapshotChunk) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponsePrepareProposal) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": - return len(x.Chunk) != 0 + case "tendermint.abci.ResponsePrepareProposal.txs": + return len(x.Txs) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponsePrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponsePrepareProposal does not contain field %s", fd.FullName())) } } @@ -19831,15 +22473,15 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) Has(fd protoreflect.FieldDesc // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseLoadSnapshotChunk) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponsePrepareProposal) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": - x.Chunk = nil + case "tendermint.abci.ResponsePrepareProposal.txs": + x.Txs = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponsePrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponsePrepareProposal does not contain field %s", fd.FullName())) } } @@ -19849,16 +22491,19 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) Clear(fd protoreflect.FieldDe // 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_ResponseLoadSnapshotChunk) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponsePrepareProposal) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": - value := x.Chunk - return protoreflect.ValueOfBytes(value) + case "tendermint.abci.ResponsePrepareProposal.txs": + if len(x.Txs) == 0 { + return protoreflect.ValueOfList(&_ResponsePrepareProposal_1_list{}) + } + listValue := &_ResponsePrepareProposal_1_list{list: &x.Txs} + return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponsePrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponsePrepareProposal does not contain field %s", descriptor.FullName())) } } @@ -19872,15 +22517,17 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) Get(descriptor protoreflect.F // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseLoadSnapshotChunk) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponsePrepareProposal) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": - x.Chunk = value.Bytes() + case "tendermint.abci.ResponsePrepareProposal.txs": + lv := value.List() + clv := lv.(*_ResponsePrepareProposal_1_list) + x.Txs = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponsePrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponsePrepareProposal does not contain field %s", fd.FullName())) } } @@ -19894,40 +22541,45 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) Set(fd protoreflect.FieldDesc // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseLoadSnapshotChunk) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponsePrepareProposal) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": - panic(fmt.Errorf("field chunk of message tendermint.abci.ResponseLoadSnapshotChunk is not mutable")) + case "tendermint.abci.ResponsePrepareProposal.txs": + if x.Txs == nil { + x.Txs = [][]byte{} + } + value := &_ResponsePrepareProposal_1_list{list: &x.Txs} + return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponsePrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponsePrepareProposal 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_ResponseLoadSnapshotChunk) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponsePrepareProposal) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseLoadSnapshotChunk.chunk": - return protoreflect.ValueOfBytes(nil) + case "tendermint.abci.ResponsePrepareProposal.txs": + list := [][]byte{} + return protoreflect.ValueOfList(&_ResponsePrepareProposal_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseLoadSnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponsePrepareProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseLoadSnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponsePrepareProposal 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_ResponseLoadSnapshotChunk) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponsePrepareProposal) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseLoadSnapshotChunk", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponsePrepareProposal", d.FullName())) } panic("unreachable") } @@ -19935,7 +22587,7 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) WhichOneof(d protoreflect.One // 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_ResponseLoadSnapshotChunk) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponsePrepareProposal) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -19946,7 +22598,7 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) GetUnknown() protoreflect.Raw // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseLoadSnapshotChunk) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponsePrepareProposal) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -19958,7 +22610,7 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) SetUnknown(fields protoreflec // 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_ResponseLoadSnapshotChunk) IsValid() bool { +func (x *fastReflection_ResponsePrepareProposal) IsValid() bool { return x != nil } @@ -19968,9 +22620,9 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseLoadSnapshotChunk) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponsePrepareProposal) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseLoadSnapshotChunk) + x := input.Message.Interface().(*ResponsePrepareProposal) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19982,9 +22634,11 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) ProtoMethods() *protoiface.Me var n int var l int _ = l - l = len(x.Chunk) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if len(x.Txs) > 0 { + for _, b := range x.Txs { + l = len(b) + n += 1 + l + runtime.Sov(uint64(l)) + } } if x.unknownFields != nil { n += len(x.unknownFields) @@ -19996,7 +22650,7 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) ProtoMethods() *protoiface.Me } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseLoadSnapshotChunk) + x := input.Message.Interface().(*ResponsePrepareProposal) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20015,12 +22669,14 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) ProtoMethods() *protoiface.Me i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Chunk) > 0 { - i -= len(x.Chunk) - copy(dAtA[i:], x.Chunk) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Chunk))) - i-- - dAtA[i] = 0xa + if len(x.Txs) > 0 { + for iNdEx := len(x.Txs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Txs[iNdEx]) + copy(dAtA[i:], x.Txs[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Txs[iNdEx]))) + i-- + dAtA[i] = 0xa + } } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -20033,7 +22689,7 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) ProtoMethods() *protoiface.Me }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseLoadSnapshotChunk) + x := input.Message.Interface().(*ResponsePrepareProposal) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20065,15 +22721,15 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) ProtoMethods() *protoiface.Me fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseLoadSnapshotChunk: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponsePrepareProposal: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseLoadSnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponsePrepareProposal: 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 Chunk", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Txs", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -20100,10 +22756,8 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) ProtoMethods() *protoiface.Me if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Chunk = append(x.Chunk[:0], dAtA[iNdEx:postIndex]...) - if x.Chunk == nil { - x.Chunk = []byte{} - } + x.Txs = append(x.Txs, make([]byte, postIndex-iNdEx)) + copy(x.Txs[len(x.Txs)-1], dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -20140,123 +22794,27 @@ func (x *fastReflection_ResponseLoadSnapshotChunk) ProtoMethods() *protoiface.Me } } -var _ protoreflect.List = (*_ResponseApplySnapshotChunk_2_list)(nil) - -type _ResponseApplySnapshotChunk_2_list struct { - list *[]uint32 -} - -func (x *_ResponseApplySnapshotChunk_2_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_ResponseApplySnapshotChunk_2_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfUint32((*x.list)[i]) -} - -func (x *_ResponseApplySnapshotChunk_2_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Uint() - concreteValue := (uint32)(valueUnwrapped) - (*x.list)[i] = concreteValue -} - -func (x *_ResponseApplySnapshotChunk_2_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Uint() - concreteValue := (uint32)(valueUnwrapped) - *x.list = append(*x.list, concreteValue) -} - -func (x *_ResponseApplySnapshotChunk_2_list) AppendMutable() protoreflect.Value { - panic(fmt.Errorf("AppendMutable can not be called on message ResponseApplySnapshotChunk at list field RefetchChunks as it is not of Message kind")) -} - -func (x *_ResponseApplySnapshotChunk_2_list) Truncate(n int) { - *x.list = (*x.list)[:n] -} - -func (x *_ResponseApplySnapshotChunk_2_list) NewElement() protoreflect.Value { - v := uint32(0) - return protoreflect.ValueOfUint32(v) -} - -func (x *_ResponseApplySnapshotChunk_2_list) IsValid() bool { - return x.list != nil -} - -var _ protoreflect.List = (*_ResponseApplySnapshotChunk_3_list)(nil) - -type _ResponseApplySnapshotChunk_3_list struct { - list *[]string -} - -func (x *_ResponseApplySnapshotChunk_3_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_ResponseApplySnapshotChunk_3_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfString((*x.list)[i]) -} - -func (x *_ResponseApplySnapshotChunk_3_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.String() - concreteValue := valueUnwrapped - (*x.list)[i] = concreteValue -} - -func (x *_ResponseApplySnapshotChunk_3_list) Append(value protoreflect.Value) { - valueUnwrapped := value.String() - concreteValue := valueUnwrapped - *x.list = append(*x.list, concreteValue) -} - -func (x *_ResponseApplySnapshotChunk_3_list) AppendMutable() protoreflect.Value { - panic(fmt.Errorf("AppendMutable can not be called on message ResponseApplySnapshotChunk at list field RejectSenders as it is not of Message kind")) -} - -func (x *_ResponseApplySnapshotChunk_3_list) Truncate(n int) { - *x.list = (*x.list)[:n] -} - -func (x *_ResponseApplySnapshotChunk_3_list) NewElement() protoreflect.Value { - v := "" - return protoreflect.ValueOfString(v) -} - -func (x *_ResponseApplySnapshotChunk_3_list) IsValid() bool { - return x.list != nil -} - var ( - md_ResponseApplySnapshotChunk protoreflect.MessageDescriptor - fd_ResponseApplySnapshotChunk_result protoreflect.FieldDescriptor - fd_ResponseApplySnapshotChunk_refetch_chunks protoreflect.FieldDescriptor - fd_ResponseApplySnapshotChunk_reject_senders protoreflect.FieldDescriptor + md_ResponseProcessProposal protoreflect.MessageDescriptor + fd_ResponseProcessProposal_status protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ResponseApplySnapshotChunk = File_tendermint_abci_types_proto.Messages().ByName("ResponseApplySnapshotChunk") - fd_ResponseApplySnapshotChunk_result = md_ResponseApplySnapshotChunk.Fields().ByName("result") - fd_ResponseApplySnapshotChunk_refetch_chunks = md_ResponseApplySnapshotChunk.Fields().ByName("refetch_chunks") - fd_ResponseApplySnapshotChunk_reject_senders = md_ResponseApplySnapshotChunk.Fields().ByName("reject_senders") + md_ResponseProcessProposal = File_tendermint_abci_types_proto.Messages().ByName("ResponseProcessProposal") + fd_ResponseProcessProposal_status = md_ResponseProcessProposal.Fields().ByName("status") } -var _ protoreflect.Message = (*fastReflection_ResponseApplySnapshotChunk)(nil) +var _ protoreflect.Message = (*fastReflection_ResponseProcessProposal)(nil) -type fastReflection_ResponseApplySnapshotChunk ResponseApplySnapshotChunk +type fastReflection_ResponseProcessProposal ResponseProcessProposal -func (x *ResponseApplySnapshotChunk) ProtoReflect() protoreflect.Message { - return (*fastReflection_ResponseApplySnapshotChunk)(x) +func (x *ResponseProcessProposal) ProtoReflect() protoreflect.Message { + return (*fastReflection_ResponseProcessProposal)(x) } -func (x *ResponseApplySnapshotChunk) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[32] +func (x *ResponseProcessProposal) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20267,43 +22825,43 @@ func (x *ResponseApplySnapshotChunk) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ResponseApplySnapshotChunk_messageType fastReflection_ResponseApplySnapshotChunk_messageType -var _ protoreflect.MessageType = fastReflection_ResponseApplySnapshotChunk_messageType{} +var _fastReflection_ResponseProcessProposal_messageType fastReflection_ResponseProcessProposal_messageType +var _ protoreflect.MessageType = fastReflection_ResponseProcessProposal_messageType{} -type fastReflection_ResponseApplySnapshotChunk_messageType struct{} +type fastReflection_ResponseProcessProposal_messageType struct{} -func (x fastReflection_ResponseApplySnapshotChunk_messageType) Zero() protoreflect.Message { - return (*fastReflection_ResponseApplySnapshotChunk)(nil) -} -func (x fastReflection_ResponseApplySnapshotChunk_messageType) New() protoreflect.Message { - return new(fastReflection_ResponseApplySnapshotChunk) +func (x fastReflection_ResponseProcessProposal_messageType) Zero() protoreflect.Message { + return (*fastReflection_ResponseProcessProposal)(nil) } -func (x fastReflection_ResponseApplySnapshotChunk_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseApplySnapshotChunk +func (x fastReflection_ResponseProcessProposal_messageType) New() protoreflect.Message { + return new(fastReflection_ResponseProcessProposal) +} +func (x fastReflection_ResponseProcessProposal_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseProcessProposal } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ResponseApplySnapshotChunk) Descriptor() protoreflect.MessageDescriptor { - return md_ResponseApplySnapshotChunk +func (x *fastReflection_ResponseProcessProposal) Descriptor() protoreflect.MessageDescriptor { + return md_ResponseProcessProposal } // 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_ResponseApplySnapshotChunk) Type() protoreflect.MessageType { - return _fastReflection_ResponseApplySnapshotChunk_messageType +func (x *fastReflection_ResponseProcessProposal) Type() protoreflect.MessageType { + return _fastReflection_ResponseProcessProposal_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ResponseApplySnapshotChunk) New() protoreflect.Message { - return new(fastReflection_ResponseApplySnapshotChunk) +func (x *fastReflection_ResponseProcessProposal) New() protoreflect.Message { + return new(fastReflection_ResponseProcessProposal) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ResponseApplySnapshotChunk) Interface() protoreflect.ProtoMessage { - return (*ResponseApplySnapshotChunk)(x) +func (x *fastReflection_ResponseProcessProposal) Interface() protoreflect.ProtoMessage { + return (*ResponseProcessProposal)(x) } // Range iterates over every populated field in an undefined order, @@ -20311,22 +22869,10 @@ func (x *fastReflection_ResponseApplySnapshotChunk) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ResponseApplySnapshotChunk) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Result != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Result)) - if !f(fd_ResponseApplySnapshotChunk_result, value) { - return - } - } - if len(x.RefetchChunks) != 0 { - value := protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_2_list{list: &x.RefetchChunks}) - if !f(fd_ResponseApplySnapshotChunk_refetch_chunks, value) { - return - } - } - if len(x.RejectSenders) != 0 { - value := protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_3_list{list: &x.RejectSenders}) - if !f(fd_ResponseApplySnapshotChunk_reject_senders, value) { +func (x *fastReflection_ResponseProcessProposal) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Status != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Status)) + if !f(fd_ResponseProcessProposal_status, value) { return } } @@ -20343,19 +22889,15 @@ func (x *fastReflection_ResponseApplySnapshotChunk) Range(f func(protoreflect.Fi // 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_ResponseApplySnapshotChunk) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ResponseProcessProposal) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ResponseApplySnapshotChunk.result": - return x.Result != 0 - case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": - return len(x.RefetchChunks) != 0 - case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": - return len(x.RejectSenders) != 0 + case "tendermint.abci.ResponseProcessProposal.status": + return x.Status != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseProcessProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseProcessProposal does not contain field %s", fd.FullName())) } } @@ -20365,19 +22907,15 @@ func (x *fastReflection_ResponseApplySnapshotChunk) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseApplySnapshotChunk) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ResponseProcessProposal) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ResponseApplySnapshotChunk.result": - x.Result = 0 - case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": - x.RefetchChunks = nil - case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": - x.RejectSenders = nil + case "tendermint.abci.ResponseProcessProposal.status": + x.Status = 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseProcessProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseProcessProposal does not contain field %s", fd.FullName())) } } @@ -20387,28 +22925,16 @@ func (x *fastReflection_ResponseApplySnapshotChunk) Clear(fd protoreflect.FieldD // 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_ResponseApplySnapshotChunk) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseProcessProposal) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ResponseApplySnapshotChunk.result": - value := x.Result + case "tendermint.abci.ResponseProcessProposal.status": + value := x.Status return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": - if len(x.RefetchChunks) == 0 { - return protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_2_list{}) - } - listValue := &_ResponseApplySnapshotChunk_2_list{list: &x.RefetchChunks} - return protoreflect.ValueOfList(listValue) - case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": - if len(x.RejectSenders) == 0 { - return protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_3_list{}) - } - listValue := &_ResponseApplySnapshotChunk_3_list{list: &x.RejectSenders} - return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseProcessProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseProcessProposal does not contain field %s", descriptor.FullName())) } } @@ -20422,23 +22948,15 @@ func (x *fastReflection_ResponseApplySnapshotChunk) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseApplySnapshotChunk) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ResponseProcessProposal) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ResponseApplySnapshotChunk.result": - x.Result = (ResponseApplySnapshotChunk_Result)(value.Enum()) - case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": - lv := value.List() - clv := lv.(*_ResponseApplySnapshotChunk_2_list) - x.RefetchChunks = *clv.list - case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": - lv := value.List() - clv := lv.(*_ResponseApplySnapshotChunk_3_list) - x.RejectSenders = *clv.list + case "tendermint.abci.ResponseProcessProposal.status": + x.Status = (ResponseProcessProposal_ProposalStatus)(value.Enum()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseProcessProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseProcessProposal does not contain field %s", fd.FullName())) } } @@ -20452,58 +22970,40 @@ func (x *fastReflection_ResponseApplySnapshotChunk) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseApplySnapshotChunk) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseProcessProposal) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": - if x.RefetchChunks == nil { - x.RefetchChunks = []uint32{} - } - value := &_ResponseApplySnapshotChunk_2_list{list: &x.RefetchChunks} - return protoreflect.ValueOfList(value) - case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": - if x.RejectSenders == nil { - x.RejectSenders = []string{} - } - value := &_ResponseApplySnapshotChunk_3_list{list: &x.RejectSenders} - return protoreflect.ValueOfList(value) - case "tendermint.abci.ResponseApplySnapshotChunk.result": - panic(fmt.Errorf("field result of message tendermint.abci.ResponseApplySnapshotChunk is not mutable")) + case "tendermint.abci.ResponseProcessProposal.status": + panic(fmt.Errorf("field status of message tendermint.abci.ResponseProcessProposal is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseProcessProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseProcessProposal 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_ResponseApplySnapshotChunk) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ResponseProcessProposal) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ResponseApplySnapshotChunk.result": + case "tendermint.abci.ResponseProcessProposal.status": return protoreflect.ValueOfEnum(0) - case "tendermint.abci.ResponseApplySnapshotChunk.refetch_chunks": - list := []uint32{} - return protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_2_list{list: &list}) - case "tendermint.abci.ResponseApplySnapshotChunk.reject_senders": - list := []string{} - return protoreflect.ValueOfList(&_ResponseApplySnapshotChunk_3_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseApplySnapshotChunk")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ResponseProcessProposal")) } - panic(fmt.Errorf("message tendermint.abci.ResponseApplySnapshotChunk does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ResponseProcessProposal 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_ResponseApplySnapshotChunk) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ResponseProcessProposal) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseApplySnapshotChunk", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ResponseProcessProposal", d.FullName())) } panic("unreachable") } @@ -20511,7 +23011,7 @@ func (x *fastReflection_ResponseApplySnapshotChunk) WhichOneof(d protoreflect.On // 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_ResponseApplySnapshotChunk) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ResponseProcessProposal) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -20522,7 +23022,7 @@ func (x *fastReflection_ResponseApplySnapshotChunk) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ResponseApplySnapshotChunk) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ResponseProcessProposal) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -20534,7 +23034,7 @@ func (x *fastReflection_ResponseApplySnapshotChunk) SetUnknown(fields protorefle // 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_ResponseApplySnapshotChunk) IsValid() bool { +func (x *fastReflection_ResponseProcessProposal) IsValid() bool { return x != nil } @@ -20544,9 +23044,9 @@ func (x *fastReflection_ResponseApplySnapshotChunk) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ResponseApplySnapshotChunk) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ResponseProcessProposal) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ResponseApplySnapshotChunk) + x := input.Message.Interface().(*ResponseProcessProposal) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20558,21 +23058,8 @@ func (x *fastReflection_ResponseApplySnapshotChunk) ProtoMethods() *protoiface.M var n int var l int _ = l - if x.Result != 0 { - n += 1 + runtime.Sov(uint64(x.Result)) - } - if len(x.RefetchChunks) > 0 { - l = 0 - for _, e := range x.RefetchChunks { - l += runtime.Sov(uint64(e)) - } - n += 1 + runtime.Sov(uint64(l)) + l - } - if len(x.RejectSenders) > 0 { - for _, s := range x.RejectSenders { - l = len(s) - n += 1 + l + runtime.Sov(uint64(l)) - } + if x.Status != 0 { + n += 1 + runtime.Sov(uint64(x.Status)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -20584,7 +23071,7 @@ func (x *fastReflection_ResponseApplySnapshotChunk) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ResponseApplySnapshotChunk) + x := input.Message.Interface().(*ResponseProcessProposal) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20603,37 +23090,8 @@ func (x *fastReflection_ResponseApplySnapshotChunk) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.RejectSenders) > 0 { - for iNdEx := len(x.RejectSenders) - 1; iNdEx >= 0; iNdEx-- { - i -= len(x.RejectSenders[iNdEx]) - copy(dAtA[i:], x.RejectSenders[iNdEx]) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RejectSenders[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(x.RefetchChunks) > 0 { - var pksize2 int - for _, num := range x.RefetchChunks { - pksize2 += runtime.Sov(uint64(num)) - } - i -= pksize2 - j1 := i - for _, num := range x.RefetchChunks { - for num >= 1<<7 { - dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j1++ - } - dAtA[j1] = uint8(num) - j1++ - } - i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) - i-- - dAtA[i] = 0x12 - } - if x.Result != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Result)) + if x.Status != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Status)) i-- dAtA[i] = 0x8 } @@ -20648,7 +23106,7 @@ func (x *fastReflection_ResponseApplySnapshotChunk) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ResponseApplySnapshotChunk) + x := input.Message.Interface().(*ResponseProcessProposal) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20680,112 +23138,17 @@ func (x *fastReflection_ResponseApplySnapshotChunk) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseApplySnapshotChunk: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseProcessProposal: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseApplySnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ResponseProcessProposal: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) - } - x.Result = 0 - 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++ - x.Result |= ResponseApplySnapshotChunk_Result(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType == 0 { - var v uint32 - 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++ - v |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - x.RefetchChunks = append(x.RefetchChunks, v) - } else if wireType == 2 { - var packedLen 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++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + packedLen - 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 - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(x.RefetchChunks) == 0 { - x.RefetchChunks = make([]uint32, 0, elementCount) - } - for iNdEx < postIndex { - var v uint32 - 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++ - v |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - x.RefetchChunks = append(x.RefetchChunks, v) - } - } else { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RefetchChunks", wireType) - } - case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RejectSenders", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) } - var stringLen uint64 + x.Status = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -20795,24 +23158,11 @@ func (x *fastReflection_ResponseApplySnapshotChunk) ProtoMethods() *protoiface.M } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.Status |= ResponseProcessProposal_ProposalStatus(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.RejectSenders = append(x.RejectSenders, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -20848,33 +23198,80 @@ func (x *fastReflection_ResponseApplySnapshotChunk) ProtoMethods() *protoiface.M } } +var _ protoreflect.List = (*_CommitInfo_2_list)(nil) + +type _CommitInfo_2_list struct { + list *[]*VoteInfo +} + +func (x *_CommitInfo_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_CommitInfo_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_CommitInfo_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*VoteInfo) + (*x.list)[i] = concreteValue +} + +func (x *_CommitInfo_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*VoteInfo) + *x.list = append(*x.list, concreteValue) +} + +func (x *_CommitInfo_2_list) AppendMutable() protoreflect.Value { + v := new(VoteInfo) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_CommitInfo_2_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_CommitInfo_2_list) NewElement() protoreflect.Value { + v := new(VoteInfo) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_CommitInfo_2_list) IsValid() bool { + return x.list != nil +} + var ( - md_ConsensusParams protoreflect.MessageDescriptor - fd_ConsensusParams_block protoreflect.FieldDescriptor - fd_ConsensusParams_evidence protoreflect.FieldDescriptor - fd_ConsensusParams_validator protoreflect.FieldDescriptor - fd_ConsensusParams_version protoreflect.FieldDescriptor + md_CommitInfo protoreflect.MessageDescriptor + fd_CommitInfo_round protoreflect.FieldDescriptor + fd_CommitInfo_votes protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ConsensusParams = File_tendermint_abci_types_proto.Messages().ByName("ConsensusParams") - fd_ConsensusParams_block = md_ConsensusParams.Fields().ByName("block") - fd_ConsensusParams_evidence = md_ConsensusParams.Fields().ByName("evidence") - fd_ConsensusParams_validator = md_ConsensusParams.Fields().ByName("validator") - fd_ConsensusParams_version = md_ConsensusParams.Fields().ByName("version") + md_CommitInfo = File_tendermint_abci_types_proto.Messages().ByName("CommitInfo") + fd_CommitInfo_round = md_CommitInfo.Fields().ByName("round") + fd_CommitInfo_votes = md_CommitInfo.Fields().ByName("votes") } -var _ protoreflect.Message = (*fastReflection_ConsensusParams)(nil) +var _ protoreflect.Message = (*fastReflection_CommitInfo)(nil) -type fastReflection_ConsensusParams ConsensusParams +type fastReflection_CommitInfo CommitInfo -func (x *ConsensusParams) ProtoReflect() protoreflect.Message { - return (*fastReflection_ConsensusParams)(x) +func (x *CommitInfo) ProtoReflect() protoreflect.Message { + return (*fastReflection_CommitInfo)(x) } -func (x *ConsensusParams) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[33] +func (x *CommitInfo) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20885,43 +23282,43 @@ func (x *ConsensusParams) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ConsensusParams_messageType fastReflection_ConsensusParams_messageType -var _ protoreflect.MessageType = fastReflection_ConsensusParams_messageType{} +var _fastReflection_CommitInfo_messageType fastReflection_CommitInfo_messageType +var _ protoreflect.MessageType = fastReflection_CommitInfo_messageType{} -type fastReflection_ConsensusParams_messageType struct{} +type fastReflection_CommitInfo_messageType struct{} -func (x fastReflection_ConsensusParams_messageType) Zero() protoreflect.Message { - return (*fastReflection_ConsensusParams)(nil) +func (x fastReflection_CommitInfo_messageType) Zero() protoreflect.Message { + return (*fastReflection_CommitInfo)(nil) } -func (x fastReflection_ConsensusParams_messageType) New() protoreflect.Message { - return new(fastReflection_ConsensusParams) +func (x fastReflection_CommitInfo_messageType) New() protoreflect.Message { + return new(fastReflection_CommitInfo) } -func (x fastReflection_ConsensusParams_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ConsensusParams +func (x fastReflection_CommitInfo_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CommitInfo } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ConsensusParams) Descriptor() protoreflect.MessageDescriptor { - return md_ConsensusParams +func (x *fastReflection_CommitInfo) Descriptor() protoreflect.MessageDescriptor { + return md_CommitInfo } // 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_ConsensusParams) Type() protoreflect.MessageType { - return _fastReflection_ConsensusParams_messageType +func (x *fastReflection_CommitInfo) Type() protoreflect.MessageType { + return _fastReflection_CommitInfo_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ConsensusParams) New() protoreflect.Message { - return new(fastReflection_ConsensusParams) +func (x *fastReflection_CommitInfo) New() protoreflect.Message { + return new(fastReflection_CommitInfo) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ConsensusParams) Interface() protoreflect.ProtoMessage { - return (*ConsensusParams)(x) +func (x *fastReflection_CommitInfo) Interface() protoreflect.ProtoMessage { + return (*CommitInfo)(x) } // Range iterates over every populated field in an undefined order, @@ -20929,28 +23326,16 @@ func (x *fastReflection_ConsensusParams) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ConsensusParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Block != nil { - value := protoreflect.ValueOfMessage(x.Block.ProtoReflect()) - if !f(fd_ConsensusParams_block, value) { - return - } - } - if x.Evidence != nil { - value := protoreflect.ValueOfMessage(x.Evidence.ProtoReflect()) - if !f(fd_ConsensusParams_evidence, value) { - return - } - } - if x.Validator != nil { - value := protoreflect.ValueOfMessage(x.Validator.ProtoReflect()) - if !f(fd_ConsensusParams_validator, value) { +func (x *fastReflection_CommitInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Round != int32(0) { + value := protoreflect.ValueOfInt32(x.Round) + if !f(fd_CommitInfo_round, value) { return } } - if x.Version != nil { - value := protoreflect.ValueOfMessage(x.Version.ProtoReflect()) - if !f(fd_ConsensusParams_version, value) { + if len(x.Votes) != 0 { + value := protoreflect.ValueOfList(&_CommitInfo_2_list{list: &x.Votes}) + if !f(fd_CommitInfo_votes, value) { return } } @@ -20967,21 +23352,17 @@ func (x *fastReflection_ConsensusParams) Range(f func(protoreflect.FieldDescript // 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_ConsensusParams) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_CommitInfo) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ConsensusParams.block": - return x.Block != nil - case "tendermint.abci.ConsensusParams.evidence": - return x.Evidence != nil - case "tendermint.abci.ConsensusParams.validator": - return x.Validator != nil - case "tendermint.abci.ConsensusParams.version": - return x.Version != nil + case "tendermint.abci.CommitInfo.round": + return x.Round != int32(0) + case "tendermint.abci.CommitInfo.votes": + return len(x.Votes) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ConsensusParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.CommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.ConsensusParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.CommitInfo does not contain field %s", fd.FullName())) } } @@ -20991,21 +23372,17 @@ func (x *fastReflection_ConsensusParams) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ConsensusParams) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_CommitInfo) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ConsensusParams.block": - x.Block = nil - case "tendermint.abci.ConsensusParams.evidence": - x.Evidence = nil - case "tendermint.abci.ConsensusParams.validator": - x.Validator = nil - case "tendermint.abci.ConsensusParams.version": - x.Version = nil + case "tendermint.abci.CommitInfo.round": + x.Round = int32(0) + case "tendermint.abci.CommitInfo.votes": + x.Votes = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ConsensusParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.CommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.ConsensusParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.CommitInfo does not contain field %s", fd.FullName())) } } @@ -21015,25 +23392,22 @@ func (x *fastReflection_ConsensusParams) Clear(fd protoreflect.FieldDescriptor) // 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_ConsensusParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_CommitInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ConsensusParams.block": - value := x.Block - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.ConsensusParams.evidence": - value := x.Evidence - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.ConsensusParams.validator": - value := x.Validator - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.ConsensusParams.version": - value := x.Version - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.CommitInfo.round": + value := x.Round + return protoreflect.ValueOfInt32(value) + case "tendermint.abci.CommitInfo.votes": + if len(x.Votes) == 0 { + return protoreflect.ValueOfList(&_CommitInfo_2_list{}) + } + listValue := &_CommitInfo_2_list{list: &x.Votes} + return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ConsensusParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.CommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.ConsensusParams does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.CommitInfo does not contain field %s", descriptor.FullName())) } } @@ -21047,21 +23421,19 @@ func (x *fastReflection_ConsensusParams) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ConsensusParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_CommitInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ConsensusParams.block": - x.Block = value.Message().Interface().(*BlockParams) - case "tendermint.abci.ConsensusParams.evidence": - x.Evidence = value.Message().Interface().(*types.EvidenceParams) - case "tendermint.abci.ConsensusParams.validator": - x.Validator = value.Message().Interface().(*types.ValidatorParams) - case "tendermint.abci.ConsensusParams.version": - x.Version = value.Message().Interface().(*types.VersionParams) + case "tendermint.abci.CommitInfo.round": + x.Round = int32(value.Int()) + case "tendermint.abci.CommitInfo.votes": + lv := value.List() + clv := lv.(*_CommitInfo_2_list) + x.Votes = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ConsensusParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.CommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.ConsensusParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.CommitInfo does not contain field %s", fd.FullName())) } } @@ -21075,68 +23447,49 @@ func (x *fastReflection_ConsensusParams) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ConsensusParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_CommitInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ConsensusParams.block": - if x.Block == nil { - x.Block = new(BlockParams) - } - return protoreflect.ValueOfMessage(x.Block.ProtoReflect()) - case "tendermint.abci.ConsensusParams.evidence": - if x.Evidence == nil { - x.Evidence = new(types.EvidenceParams) - } - return protoreflect.ValueOfMessage(x.Evidence.ProtoReflect()) - case "tendermint.abci.ConsensusParams.validator": - if x.Validator == nil { - x.Validator = new(types.ValidatorParams) - } - return protoreflect.ValueOfMessage(x.Validator.ProtoReflect()) - case "tendermint.abci.ConsensusParams.version": - if x.Version == nil { - x.Version = new(types.VersionParams) + case "tendermint.abci.CommitInfo.votes": + if x.Votes == nil { + x.Votes = []*VoteInfo{} } - return protoreflect.ValueOfMessage(x.Version.ProtoReflect()) + value := &_CommitInfo_2_list{list: &x.Votes} + return protoreflect.ValueOfList(value) + case "tendermint.abci.CommitInfo.round": + panic(fmt.Errorf("field round of message tendermint.abci.CommitInfo is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ConsensusParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.CommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.ConsensusParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.CommitInfo 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_ConsensusParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_CommitInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ConsensusParams.block": - m := new(BlockParams) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.ConsensusParams.evidence": - m := new(types.EvidenceParams) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.ConsensusParams.validator": - m := new(types.ValidatorParams) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.ConsensusParams.version": - m := new(types.VersionParams) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.CommitInfo.round": + return protoreflect.ValueOfInt32(int32(0)) + case "tendermint.abci.CommitInfo.votes": + list := []*VoteInfo{} + return protoreflect.ValueOfList(&_CommitInfo_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ConsensusParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.CommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.ConsensusParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.CommitInfo 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_ConsensusParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_CommitInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ConsensusParams", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.CommitInfo", d.FullName())) } panic("unreachable") } @@ -21144,7 +23497,7 @@ func (x *fastReflection_ConsensusParams) WhichOneof(d protoreflect.OneofDescript // 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_ConsensusParams) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_CommitInfo) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -21155,7 +23508,7 @@ func (x *fastReflection_ConsensusParams) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ConsensusParams) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_CommitInfo) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -21167,7 +23520,7 @@ func (x *fastReflection_ConsensusParams) SetUnknown(fields protoreflect.RawField // 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_ConsensusParams) IsValid() bool { +func (x *fastReflection_CommitInfo) IsValid() bool { return x != nil } @@ -21177,9 +23530,9 @@ func (x *fastReflection_ConsensusParams) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ConsensusParams) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_CommitInfo) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ConsensusParams) + x := input.Message.Interface().(*CommitInfo) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21191,21 +23544,14 @@ func (x *fastReflection_ConsensusParams) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Block != nil { - l = options.Size(x.Block) - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.Evidence != nil { - l = options.Size(x.Evidence) - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.Validator != nil { - l = options.Size(x.Validator) - n += 1 + l + runtime.Sov(uint64(l)) + if x.Round != 0 { + n += 1 + runtime.Sov(uint64(x.Round)) } - if x.Version != nil { - l = options.Size(x.Version) - n += 1 + l + runtime.Sov(uint64(l)) + if len(x.Votes) > 0 { + for _, e := range x.Votes { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } } if x.unknownFields != nil { n += len(x.unknownFields) @@ -21217,7 +23563,7 @@ func (x *fastReflection_ConsensusParams) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ConsensusParams) + x := input.Message.Interface().(*CommitInfo) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21236,61 +23582,26 @@ func (x *fastReflection_ConsensusParams) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Version != nil { - encoded, err := options.Marshal(x.Version) - 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] = 0x22 - } - if x.Validator != nil { - encoded, err := options.Marshal(x.Validator) - 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] = 0x1a - } - if x.Evidence != nil { - encoded, err := options.Marshal(x.Evidence) - if err != nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, err + if len(x.Votes) > 0 { + for iNdEx := len(x.Votes) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Votes[iNdEx]) + 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 } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) - i-- - dAtA[i] = 0x12 } - if x.Block != nil { - encoded, err := options.Marshal(x.Block) - 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))) + if x.Round != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Round)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -21303,7 +23614,7 @@ func (x *fastReflection_ConsensusParams) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ConsensusParams) + x := input.Message.Interface().(*CommitInfo) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21322,102 +23633,30 @@ func (x *fastReflection_ConsensusParams) ProtoMethods() *protoiface.Methods { 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: ConsensusParams: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ConsensusParams: 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 Block", 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.Block == nil { - x.Block = &BlockParams{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Block); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Evidence", 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 { + if iNdEx >= l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Evidence == nil { - x.Evidence = &types.EvidenceParams{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Evidence); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - iNdEx = postIndex - case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType) + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CommitInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CommitInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Round", wireType) } - var msglen int + x.Round = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -21427,31 +23666,14 @@ func (x *fastReflection_ConsensusParams) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + x.Round |= int32(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.Validator == nil { - x.Validator = &types.ValidatorParams{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Validator); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Votes", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -21478,10 +23700,8 @@ func (x *fastReflection_ConsensusParams) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Version == nil { - x.Version = &types.VersionParams{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Version); err != nil { + x.Votes = append(x.Votes, &VoteInfo{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Votes[len(x.Votes)-1]); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -21520,29 +23740,80 @@ func (x *fastReflection_ConsensusParams) ProtoMethods() *protoiface.Methods { } } +var _ protoreflect.List = (*_ExtendedCommitInfo_2_list)(nil) + +type _ExtendedCommitInfo_2_list struct { + list *[]*ExtendedVoteInfo +} + +func (x *_ExtendedCommitInfo_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_ExtendedCommitInfo_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_ExtendedCommitInfo_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*ExtendedVoteInfo) + (*x.list)[i] = concreteValue +} + +func (x *_ExtendedCommitInfo_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*ExtendedVoteInfo) + *x.list = append(*x.list, concreteValue) +} + +func (x *_ExtendedCommitInfo_2_list) AppendMutable() protoreflect.Value { + v := new(ExtendedVoteInfo) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_ExtendedCommitInfo_2_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_ExtendedCommitInfo_2_list) NewElement() protoreflect.Value { + v := new(ExtendedVoteInfo) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_ExtendedCommitInfo_2_list) IsValid() bool { + return x.list != nil +} + var ( - md_BlockParams protoreflect.MessageDescriptor - fd_BlockParams_max_bytes protoreflect.FieldDescriptor - fd_BlockParams_max_gas protoreflect.FieldDescriptor + md_ExtendedCommitInfo protoreflect.MessageDescriptor + fd_ExtendedCommitInfo_round protoreflect.FieldDescriptor + fd_ExtendedCommitInfo_votes protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_BlockParams = File_tendermint_abci_types_proto.Messages().ByName("BlockParams") - fd_BlockParams_max_bytes = md_BlockParams.Fields().ByName("max_bytes") - fd_BlockParams_max_gas = md_BlockParams.Fields().ByName("max_gas") + md_ExtendedCommitInfo = File_tendermint_abci_types_proto.Messages().ByName("ExtendedCommitInfo") + fd_ExtendedCommitInfo_round = md_ExtendedCommitInfo.Fields().ByName("round") + fd_ExtendedCommitInfo_votes = md_ExtendedCommitInfo.Fields().ByName("votes") } -var _ protoreflect.Message = (*fastReflection_BlockParams)(nil) +var _ protoreflect.Message = (*fastReflection_ExtendedCommitInfo)(nil) -type fastReflection_BlockParams BlockParams +type fastReflection_ExtendedCommitInfo ExtendedCommitInfo -func (x *BlockParams) ProtoReflect() protoreflect.Message { - return (*fastReflection_BlockParams)(x) +func (x *ExtendedCommitInfo) ProtoReflect() protoreflect.Message { + return (*fastReflection_ExtendedCommitInfo)(x) } -func (x *BlockParams) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[34] +func (x *ExtendedCommitInfo) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21553,43 +23824,43 @@ func (x *BlockParams) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_BlockParams_messageType fastReflection_BlockParams_messageType -var _ protoreflect.MessageType = fastReflection_BlockParams_messageType{} +var _fastReflection_ExtendedCommitInfo_messageType fastReflection_ExtendedCommitInfo_messageType +var _ protoreflect.MessageType = fastReflection_ExtendedCommitInfo_messageType{} -type fastReflection_BlockParams_messageType struct{} +type fastReflection_ExtendedCommitInfo_messageType struct{} -func (x fastReflection_BlockParams_messageType) Zero() protoreflect.Message { - return (*fastReflection_BlockParams)(nil) +func (x fastReflection_ExtendedCommitInfo_messageType) Zero() protoreflect.Message { + return (*fastReflection_ExtendedCommitInfo)(nil) } -func (x fastReflection_BlockParams_messageType) New() protoreflect.Message { - return new(fastReflection_BlockParams) +func (x fastReflection_ExtendedCommitInfo_messageType) New() protoreflect.Message { + return new(fastReflection_ExtendedCommitInfo) } -func (x fastReflection_BlockParams_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_BlockParams +func (x fastReflection_ExtendedCommitInfo_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ExtendedCommitInfo } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_BlockParams) Descriptor() protoreflect.MessageDescriptor { - return md_BlockParams +func (x *fastReflection_ExtendedCommitInfo) Descriptor() protoreflect.MessageDescriptor { + return md_ExtendedCommitInfo } // 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_BlockParams) Type() protoreflect.MessageType { - return _fastReflection_BlockParams_messageType +func (x *fastReflection_ExtendedCommitInfo) Type() protoreflect.MessageType { + return _fastReflection_ExtendedCommitInfo_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_BlockParams) New() protoreflect.Message { - return new(fastReflection_BlockParams) +func (x *fastReflection_ExtendedCommitInfo) New() protoreflect.Message { + return new(fastReflection_ExtendedCommitInfo) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_BlockParams) Interface() protoreflect.ProtoMessage { - return (*BlockParams)(x) +func (x *fastReflection_ExtendedCommitInfo) Interface() protoreflect.ProtoMessage { + return (*ExtendedCommitInfo)(x) } // Range iterates over every populated field in an undefined order, @@ -21597,16 +23868,16 @@ func (x *fastReflection_BlockParams) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_BlockParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.MaxBytes != int64(0) { - value := protoreflect.ValueOfInt64(x.MaxBytes) - if !f(fd_BlockParams_max_bytes, value) { +func (x *fastReflection_ExtendedCommitInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Round != int32(0) { + value := protoreflect.ValueOfInt32(x.Round) + if !f(fd_ExtendedCommitInfo_round, value) { return } } - if x.MaxGas != int64(0) { - value := protoreflect.ValueOfInt64(x.MaxGas) - if !f(fd_BlockParams_max_gas, value) { + if len(x.Votes) != 0 { + value := protoreflect.ValueOfList(&_ExtendedCommitInfo_2_list{list: &x.Votes}) + if !f(fd_ExtendedCommitInfo_votes, value) { return } } @@ -21623,17 +23894,17 @@ func (x *fastReflection_BlockParams) Range(f func(protoreflect.FieldDescriptor, // 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_BlockParams) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ExtendedCommitInfo) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.BlockParams.max_bytes": - return x.MaxBytes != int64(0) - case "tendermint.abci.BlockParams.max_gas": - return x.MaxGas != int64(0) + case "tendermint.abci.ExtendedCommitInfo.round": + return x.Round != int32(0) + case "tendermint.abci.ExtendedCommitInfo.votes": + return len(x.Votes) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.BlockParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedCommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.BlockParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedCommitInfo does not contain field %s", fd.FullName())) } } @@ -21643,17 +23914,17 @@ func (x *fastReflection_BlockParams) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_BlockParams) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ExtendedCommitInfo) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.BlockParams.max_bytes": - x.MaxBytes = int64(0) - case "tendermint.abci.BlockParams.max_gas": - x.MaxGas = int64(0) + case "tendermint.abci.ExtendedCommitInfo.round": + x.Round = int32(0) + case "tendermint.abci.ExtendedCommitInfo.votes": + x.Votes = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.BlockParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedCommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.BlockParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedCommitInfo does not contain field %s", fd.FullName())) } } @@ -21663,19 +23934,22 @@ func (x *fastReflection_BlockParams) Clear(fd protoreflect.FieldDescriptor) { // 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_BlockParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ExtendedCommitInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.BlockParams.max_bytes": - value := x.MaxBytes - return protoreflect.ValueOfInt64(value) - case "tendermint.abci.BlockParams.max_gas": - value := x.MaxGas - return protoreflect.ValueOfInt64(value) + case "tendermint.abci.ExtendedCommitInfo.round": + value := x.Round + return protoreflect.ValueOfInt32(value) + case "tendermint.abci.ExtendedCommitInfo.votes": + if len(x.Votes) == 0 { + return protoreflect.ValueOfList(&_ExtendedCommitInfo_2_list{}) + } + listValue := &_ExtendedCommitInfo_2_list{list: &x.Votes} + return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.BlockParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedCommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.BlockParams does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedCommitInfo does not contain field %s", descriptor.FullName())) } } @@ -21689,17 +23963,19 @@ func (x *fastReflection_BlockParams) Get(descriptor protoreflect.FieldDescriptor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_BlockParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ExtendedCommitInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.BlockParams.max_bytes": - x.MaxBytes = value.Int() - case "tendermint.abci.BlockParams.max_gas": - x.MaxGas = value.Int() + case "tendermint.abci.ExtendedCommitInfo.round": + x.Round = int32(value.Int()) + case "tendermint.abci.ExtendedCommitInfo.votes": + lv := value.List() + clv := lv.(*_ExtendedCommitInfo_2_list) + x.Votes = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.BlockParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedCommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.BlockParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedCommitInfo does not contain field %s", fd.FullName())) } } @@ -21713,44 +23989,49 @@ func (x *fastReflection_BlockParams) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_BlockParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ExtendedCommitInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.BlockParams.max_bytes": - panic(fmt.Errorf("field max_bytes of message tendermint.abci.BlockParams is not mutable")) - case "tendermint.abci.BlockParams.max_gas": - panic(fmt.Errorf("field max_gas of message tendermint.abci.BlockParams is not mutable")) + case "tendermint.abci.ExtendedCommitInfo.votes": + if x.Votes == nil { + x.Votes = []*ExtendedVoteInfo{} + } + value := &_ExtendedCommitInfo_2_list{list: &x.Votes} + return protoreflect.ValueOfList(value) + case "tendermint.abci.ExtendedCommitInfo.round": + panic(fmt.Errorf("field round of message tendermint.abci.ExtendedCommitInfo is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.BlockParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedCommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.BlockParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedCommitInfo 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_BlockParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ExtendedCommitInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.BlockParams.max_bytes": - return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.abci.BlockParams.max_gas": - return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.ExtendedCommitInfo.round": + return protoreflect.ValueOfInt32(int32(0)) + case "tendermint.abci.ExtendedCommitInfo.votes": + list := []*ExtendedVoteInfo{} + return protoreflect.ValueOfList(&_ExtendedCommitInfo_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.BlockParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedCommitInfo")) } - panic(fmt.Errorf("message tendermint.abci.BlockParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedCommitInfo 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_BlockParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ExtendedCommitInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.BlockParams", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ExtendedCommitInfo", d.FullName())) } panic("unreachable") } @@ -21758,7 +24039,7 @@ func (x *fastReflection_BlockParams) WhichOneof(d protoreflect.OneofDescriptor) // 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_BlockParams) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ExtendedCommitInfo) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -21769,7 +24050,7 @@ func (x *fastReflection_BlockParams) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_BlockParams) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ExtendedCommitInfo) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -21781,7 +24062,7 @@ func (x *fastReflection_BlockParams) SetUnknown(fields protoreflect.RawFields) { // 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_BlockParams) IsValid() bool { +func (x *fastReflection_ExtendedCommitInfo) IsValid() bool { return x != nil } @@ -21791,9 +24072,9 @@ func (x *fastReflection_BlockParams) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ExtendedCommitInfo) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*BlockParams) + x := input.Message.Interface().(*ExtendedCommitInfo) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21805,11 +24086,14 @@ func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.MaxBytes != 0 { - n += 1 + runtime.Sov(uint64(x.MaxBytes)) + if x.Round != 0 { + n += 1 + runtime.Sov(uint64(x.Round)) } - if x.MaxGas != 0 { - n += 1 + runtime.Sov(uint64(x.MaxGas)) + if len(x.Votes) > 0 { + for _, e := range x.Votes { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } } if x.unknownFields != nil { n += len(x.unknownFields) @@ -21821,7 +24105,7 @@ func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*BlockParams) + x := input.Message.Interface().(*ExtendedCommitInfo) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21840,13 +24124,24 @@ func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.MaxGas != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxGas)) - i-- - dAtA[i] = 0x10 + if len(x.Votes) > 0 { + for iNdEx := len(x.Votes) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Votes[iNdEx]) + 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 x.MaxBytes != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxBytes)) + if x.Round != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Round)) i-- dAtA[i] = 0x8 } @@ -21861,7 +24156,7 @@ func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*BlockParams) + x := input.Message.Interface().(*ExtendedCommitInfo) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21893,17 +24188,17 @@ func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockParams: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ExtendedCommitInfo: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockParams: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ExtendedCommitInfo: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxBytes", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Round", wireType) } - x.MaxBytes = 0 + x.Round = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -21913,16 +24208,16 @@ func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - x.MaxBytes |= int64(b&0x7F) << shift + x.Round |= int32(b&0x7F) << shift if b < 0x80 { break } } case 2: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxGas", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Votes", wireType) } - x.MaxGas = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -21932,11 +24227,26 @@ func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - x.MaxGas |= int64(b&0x7F) << shift + 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 + } + x.Votes = append(x.Votes, &ExtendedVoteInfo{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Votes[len(x.Votes)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -21972,80 +24282,80 @@ func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_LastCommitInfo_2_list)(nil) +var _ protoreflect.List = (*_Event_2_list)(nil) -type _LastCommitInfo_2_list struct { - list *[]*VoteInfo +type _Event_2_list struct { + list *[]*EventAttribute } -func (x *_LastCommitInfo_2_list) Len() int { +func (x *_Event_2_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_LastCommitInfo_2_list) Get(i int) protoreflect.Value { +func (x *_Event_2_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_LastCommitInfo_2_list) Set(i int, value protoreflect.Value) { +func (x *_Event_2_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*VoteInfo) + concreteValue := valueUnwrapped.Interface().(*EventAttribute) (*x.list)[i] = concreteValue } -func (x *_LastCommitInfo_2_list) Append(value protoreflect.Value) { +func (x *_Event_2_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*VoteInfo) + concreteValue := valueUnwrapped.Interface().(*EventAttribute) *x.list = append(*x.list, concreteValue) } -func (x *_LastCommitInfo_2_list) AppendMutable() protoreflect.Value { - v := new(VoteInfo) +func (x *_Event_2_list) AppendMutable() protoreflect.Value { + v := new(EventAttribute) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_LastCommitInfo_2_list) Truncate(n int) { +func (x *_Event_2_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_LastCommitInfo_2_list) NewElement() protoreflect.Value { - v := new(VoteInfo) +func (x *_Event_2_list) NewElement() protoreflect.Value { + v := new(EventAttribute) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_LastCommitInfo_2_list) IsValid() bool { +func (x *_Event_2_list) IsValid() bool { return x.list != nil } var ( - md_LastCommitInfo protoreflect.MessageDescriptor - fd_LastCommitInfo_round protoreflect.FieldDescriptor - fd_LastCommitInfo_votes protoreflect.FieldDescriptor + md_Event protoreflect.MessageDescriptor + fd_Event_type protoreflect.FieldDescriptor + fd_Event_attributes protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_LastCommitInfo = File_tendermint_abci_types_proto.Messages().ByName("LastCommitInfo") - fd_LastCommitInfo_round = md_LastCommitInfo.Fields().ByName("round") - fd_LastCommitInfo_votes = md_LastCommitInfo.Fields().ByName("votes") + md_Event = File_tendermint_abci_types_proto.Messages().ByName("Event") + fd_Event_type = md_Event.Fields().ByName("type") + fd_Event_attributes = md_Event.Fields().ByName("attributes") } -var _ protoreflect.Message = (*fastReflection_LastCommitInfo)(nil) +var _ protoreflect.Message = (*fastReflection_Event)(nil) -type fastReflection_LastCommitInfo LastCommitInfo +type fastReflection_Event Event -func (x *LastCommitInfo) ProtoReflect() protoreflect.Message { - return (*fastReflection_LastCommitInfo)(x) +func (x *Event) ProtoReflect() protoreflect.Message { + return (*fastReflection_Event)(x) } -func (x *LastCommitInfo) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[35] +func (x *Event) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22056,43 +24366,43 @@ func (x *LastCommitInfo) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_LastCommitInfo_messageType fastReflection_LastCommitInfo_messageType -var _ protoreflect.MessageType = fastReflection_LastCommitInfo_messageType{} +var _fastReflection_Event_messageType fastReflection_Event_messageType +var _ protoreflect.MessageType = fastReflection_Event_messageType{} -type fastReflection_LastCommitInfo_messageType struct{} +type fastReflection_Event_messageType struct{} -func (x fastReflection_LastCommitInfo_messageType) Zero() protoreflect.Message { - return (*fastReflection_LastCommitInfo)(nil) +func (x fastReflection_Event_messageType) Zero() protoreflect.Message { + return (*fastReflection_Event)(nil) } -func (x fastReflection_LastCommitInfo_messageType) New() protoreflect.Message { - return new(fastReflection_LastCommitInfo) +func (x fastReflection_Event_messageType) New() protoreflect.Message { + return new(fastReflection_Event) } -func (x fastReflection_LastCommitInfo_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_LastCommitInfo +func (x fastReflection_Event_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Event } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_LastCommitInfo) Descriptor() protoreflect.MessageDescriptor { - return md_LastCommitInfo +func (x *fastReflection_Event) Descriptor() protoreflect.MessageDescriptor { + return md_Event } // 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_LastCommitInfo) Type() protoreflect.MessageType { - return _fastReflection_LastCommitInfo_messageType +func (x *fastReflection_Event) Type() protoreflect.MessageType { + return _fastReflection_Event_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_LastCommitInfo) New() protoreflect.Message { - return new(fastReflection_LastCommitInfo) +func (x *fastReflection_Event) New() protoreflect.Message { + return new(fastReflection_Event) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_LastCommitInfo) Interface() protoreflect.ProtoMessage { - return (*LastCommitInfo)(x) +func (x *fastReflection_Event) Interface() protoreflect.ProtoMessage { + return (*Event)(x) } // Range iterates over every populated field in an undefined order, @@ -22100,16 +24410,16 @@ func (x *fastReflection_LastCommitInfo) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_LastCommitInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Round != int32(0) { - value := protoreflect.ValueOfInt32(x.Round) - if !f(fd_LastCommitInfo_round, value) { +func (x *fastReflection_Event) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Type_ != "" { + value := protoreflect.ValueOfString(x.Type_) + if !f(fd_Event_type, value) { return } } - if len(x.Votes) != 0 { - value := protoreflect.ValueOfList(&_LastCommitInfo_2_list{list: &x.Votes}) - if !f(fd_LastCommitInfo_votes, value) { + if len(x.Attributes) != 0 { + value := protoreflect.ValueOfList(&_Event_2_list{list: &x.Attributes}) + if !f(fd_Event_attributes, value) { return } } @@ -22126,17 +24436,17 @@ func (x *fastReflection_LastCommitInfo) Range(f func(protoreflect.FieldDescripto // 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_LastCommitInfo) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_Event) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.LastCommitInfo.round": - return x.Round != int32(0) - case "tendermint.abci.LastCommitInfo.votes": - return len(x.Votes) != 0 + case "tendermint.abci.Event.type": + return x.Type_ != "" + case "tendermint.abci.Event.attributes": + return len(x.Attributes) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.LastCommitInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) } - panic(fmt.Errorf("message tendermint.abci.LastCommitInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Event does not contain field %s", fd.FullName())) } } @@ -22146,17 +24456,17 @@ func (x *fastReflection_LastCommitInfo) Has(fd protoreflect.FieldDescriptor) boo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_LastCommitInfo) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_Event) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.LastCommitInfo.round": - x.Round = int32(0) - case "tendermint.abci.LastCommitInfo.votes": - x.Votes = nil + case "tendermint.abci.Event.type": + x.Type_ = "" + case "tendermint.abci.Event.attributes": + x.Attributes = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.LastCommitInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) } - panic(fmt.Errorf("message tendermint.abci.LastCommitInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Event does not contain field %s", fd.FullName())) } } @@ -22166,22 +24476,22 @@ func (x *fastReflection_LastCommitInfo) Clear(fd protoreflect.FieldDescriptor) { // 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_LastCommitInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Event) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.LastCommitInfo.round": - value := x.Round - return protoreflect.ValueOfInt32(value) - case "tendermint.abci.LastCommitInfo.votes": - if len(x.Votes) == 0 { - return protoreflect.ValueOfList(&_LastCommitInfo_2_list{}) + case "tendermint.abci.Event.type": + value := x.Type_ + return protoreflect.ValueOfString(value) + case "tendermint.abci.Event.attributes": + if len(x.Attributes) == 0 { + return protoreflect.ValueOfList(&_Event_2_list{}) } - listValue := &_LastCommitInfo_2_list{list: &x.Votes} + listValue := &_Event_2_list{list: &x.Attributes} return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.LastCommitInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) } - panic(fmt.Errorf("message tendermint.abci.LastCommitInfo does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.Event does not contain field %s", descriptor.FullName())) } } @@ -22195,19 +24505,19 @@ func (x *fastReflection_LastCommitInfo) Get(descriptor protoreflect.FieldDescrip // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_LastCommitInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_Event) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.LastCommitInfo.round": - x.Round = int32(value.Int()) - case "tendermint.abci.LastCommitInfo.votes": + case "tendermint.abci.Event.type": + x.Type_ = value.Interface().(string) + case "tendermint.abci.Event.attributes": lv := value.List() - clv := lv.(*_LastCommitInfo_2_list) - x.Votes = *clv.list + clv := lv.(*_Event_2_list) + x.Attributes = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.LastCommitInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) } - panic(fmt.Errorf("message tendermint.abci.LastCommitInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Event does not contain field %s", fd.FullName())) } } @@ -22221,49 +24531,49 @@ func (x *fastReflection_LastCommitInfo) Set(fd protoreflect.FieldDescriptor, val // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_LastCommitInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Event) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.LastCommitInfo.votes": - if x.Votes == nil { - x.Votes = []*VoteInfo{} + case "tendermint.abci.Event.attributes": + if x.Attributes == nil { + x.Attributes = []*EventAttribute{} } - value := &_LastCommitInfo_2_list{list: &x.Votes} + value := &_Event_2_list{list: &x.Attributes} return protoreflect.ValueOfList(value) - case "tendermint.abci.LastCommitInfo.round": - panic(fmt.Errorf("field round of message tendermint.abci.LastCommitInfo is not mutable")) + case "tendermint.abci.Event.type": + panic(fmt.Errorf("field type of message tendermint.abci.Event is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.LastCommitInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) } - panic(fmt.Errorf("message tendermint.abci.LastCommitInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Event 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_LastCommitInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Event) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.LastCommitInfo.round": - return protoreflect.ValueOfInt32(int32(0)) - case "tendermint.abci.LastCommitInfo.votes": - list := []*VoteInfo{} - return protoreflect.ValueOfList(&_LastCommitInfo_2_list{list: &list}) + case "tendermint.abci.Event.type": + return protoreflect.ValueOfString("") + case "tendermint.abci.Event.attributes": + list := []*EventAttribute{} + return protoreflect.ValueOfList(&_Event_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.LastCommitInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) } - panic(fmt.Errorf("message tendermint.abci.LastCommitInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Event 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_LastCommitInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_Event) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.LastCommitInfo", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.Event", d.FullName())) } panic("unreachable") } @@ -22271,7 +24581,7 @@ func (x *fastReflection_LastCommitInfo) WhichOneof(d protoreflect.OneofDescripto // 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_LastCommitInfo) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_Event) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -22282,7 +24592,7 @@ func (x *fastReflection_LastCommitInfo) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_LastCommitInfo) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_Event) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -22294,7 +24604,7 @@ func (x *fastReflection_LastCommitInfo) SetUnknown(fields protoreflect.RawFields // 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_LastCommitInfo) IsValid() bool { +func (x *fastReflection_Event) IsValid() bool { return x != nil } @@ -22304,9 +24614,9 @@ func (x *fastReflection_LastCommitInfo) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_LastCommitInfo) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_Event) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*LastCommitInfo) + x := input.Message.Interface().(*Event) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22318,11 +24628,12 @@ func (x *fastReflection_LastCommitInfo) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Round != 0 { - n += 1 + runtime.Sov(uint64(x.Round)) + l = len(x.Type_) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) } - if len(x.Votes) > 0 { - for _, e := range x.Votes { + if len(x.Attributes) > 0 { + for _, e := range x.Attributes { l = options.Size(e) n += 1 + l + runtime.Sov(uint64(l)) } @@ -22337,7 +24648,7 @@ func (x *fastReflection_LastCommitInfo) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*LastCommitInfo) + x := input.Message.Interface().(*Event) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22356,9 +24667,9 @@ func (x *fastReflection_LastCommitInfo) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Votes) > 0 { - for iNdEx := len(x.Votes) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Votes[iNdEx]) + if len(x.Attributes) > 0 { + for iNdEx := len(x.Attributes) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Attributes[iNdEx]) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22372,10 +24683,12 @@ func (x *fastReflection_LastCommitInfo) ProtoMethods() *protoiface.Methods { dAtA[i] = 0x12 } } - if x.Round != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Round)) + if len(x.Type_) > 0 { + i -= len(x.Type_) + copy(dAtA[i:], x.Type_) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Type_))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -22388,7 +24701,7 @@ func (x *fastReflection_LastCommitInfo) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*LastCommitInfo) + x := input.Message.Interface().(*Event) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22420,17 +24733,17 @@ func (x *fastReflection_LastCommitInfo) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: LastCommitInfo: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Event: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: LastCommitInfo: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Round", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Type_", wireType) } - x.Round = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -22440,14 +24753,27 @@ func (x *fastReflection_LastCommitInfo) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - x.Round |= int32(b&0x7F) << shift + 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.Type_ = 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 Votes", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Attributes", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -22474,8 +24800,8 @@ func (x *fastReflection_LastCommitInfo) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Votes = append(x.Votes, &VoteInfo{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Votes[len(x.Votes)-1]); err != nil { + x.Attributes = append(x.Attributes, &EventAttribute{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Attributes[len(x.Attributes)-1]); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -22514,80 +24840,31 @@ func (x *fastReflection_LastCommitInfo) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_Event_2_list)(nil) - -type _Event_2_list struct { - list *[]*EventAttribute -} - -func (x *_Event_2_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_Event_2_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_Event_2_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*EventAttribute) - (*x.list)[i] = concreteValue -} - -func (x *_Event_2_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*EventAttribute) - *x.list = append(*x.list, concreteValue) -} - -func (x *_Event_2_list) AppendMutable() protoreflect.Value { - v := new(EventAttribute) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_Event_2_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_Event_2_list) NewElement() protoreflect.Value { - v := new(EventAttribute) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_Event_2_list) IsValid() bool { - return x.list != nil -} - var ( - md_Event protoreflect.MessageDescriptor - fd_Event_type protoreflect.FieldDescriptor - fd_Event_attributes protoreflect.FieldDescriptor + md_EventAttribute protoreflect.MessageDescriptor + fd_EventAttribute_key protoreflect.FieldDescriptor + fd_EventAttribute_value protoreflect.FieldDescriptor + fd_EventAttribute_index protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_Event = File_tendermint_abci_types_proto.Messages().ByName("Event") - fd_Event_type = md_Event.Fields().ByName("type") - fd_Event_attributes = md_Event.Fields().ByName("attributes") + md_EventAttribute = File_tendermint_abci_types_proto.Messages().ByName("EventAttribute") + fd_EventAttribute_key = md_EventAttribute.Fields().ByName("key") + fd_EventAttribute_value = md_EventAttribute.Fields().ByName("value") + fd_EventAttribute_index = md_EventAttribute.Fields().ByName("index") } -var _ protoreflect.Message = (*fastReflection_Event)(nil) +var _ protoreflect.Message = (*fastReflection_EventAttribute)(nil) -type fastReflection_Event Event +type fastReflection_EventAttribute EventAttribute -func (x *Event) ProtoReflect() protoreflect.Message { - return (*fastReflection_Event)(x) +func (x *EventAttribute) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAttribute)(x) } -func (x *Event) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[36] +func (x *EventAttribute) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22598,43 +24875,43 @@ func (x *Event) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_Event_messageType fastReflection_Event_messageType -var _ protoreflect.MessageType = fastReflection_Event_messageType{} +var _fastReflection_EventAttribute_messageType fastReflection_EventAttribute_messageType +var _ protoreflect.MessageType = fastReflection_EventAttribute_messageType{} -type fastReflection_Event_messageType struct{} +type fastReflection_EventAttribute_messageType struct{} -func (x fastReflection_Event_messageType) Zero() protoreflect.Message { - return (*fastReflection_Event)(nil) +func (x fastReflection_EventAttribute_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAttribute)(nil) } -func (x fastReflection_Event_messageType) New() protoreflect.Message { - return new(fastReflection_Event) +func (x fastReflection_EventAttribute_messageType) New() protoreflect.Message { + return new(fastReflection_EventAttribute) } -func (x fastReflection_Event_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Event +func (x fastReflection_EventAttribute_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAttribute } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_Event) Descriptor() protoreflect.MessageDescriptor { - return md_Event +func (x *fastReflection_EventAttribute) Descriptor() protoreflect.MessageDescriptor { + return md_EventAttribute } // 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_Event) Type() protoreflect.MessageType { - return _fastReflection_Event_messageType +func (x *fastReflection_EventAttribute) Type() protoreflect.MessageType { + return _fastReflection_EventAttribute_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_Event) New() protoreflect.Message { - return new(fastReflection_Event) +func (x *fastReflection_EventAttribute) New() protoreflect.Message { + return new(fastReflection_EventAttribute) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_Event) Interface() protoreflect.ProtoMessage { - return (*Event)(x) +func (x *fastReflection_EventAttribute) Interface() protoreflect.ProtoMessage { + return (*EventAttribute)(x) } // Range iterates over every populated field in an undefined order, @@ -22642,16 +24919,22 @@ func (x *fastReflection_Event) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_Event) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Type_ != "" { - value := protoreflect.ValueOfString(x.Type_) - if !f(fd_Event_type, value) { +func (x *fastReflection_EventAttribute) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Key != "" { + value := protoreflect.ValueOfString(x.Key) + if !f(fd_EventAttribute_key, value) { return } } - if len(x.Attributes) != 0 { - value := protoreflect.ValueOfList(&_Event_2_list{list: &x.Attributes}) - if !f(fd_Event_attributes, value) { + if x.Value != "" { + value := protoreflect.ValueOfString(x.Value) + if !f(fd_EventAttribute_value, value) { + return + } + } + if x.Index != false { + value := protoreflect.ValueOfBool(x.Index) + if !f(fd_EventAttribute_index, value) { return } } @@ -22668,17 +24951,19 @@ func (x *fastReflection_Event) Range(f func(protoreflect.FieldDescriptor, protor // 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_Event) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventAttribute) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.Event.type": - return x.Type_ != "" - case "tendermint.abci.Event.attributes": - return len(x.Attributes) != 0 + case "tendermint.abci.EventAttribute.key": + return x.Key != "" + case "tendermint.abci.EventAttribute.value": + return x.Value != "" + case "tendermint.abci.EventAttribute.index": + return x.Index != false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) } - panic(fmt.Errorf("message tendermint.abci.Event does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.EventAttribute does not contain field %s", fd.FullName())) } } @@ -22688,17 +24973,19 @@ func (x *fastReflection_Event) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Event) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventAttribute) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.Event.type": - x.Type_ = "" - case "tendermint.abci.Event.attributes": - x.Attributes = nil + case "tendermint.abci.EventAttribute.key": + x.Key = "" + case "tendermint.abci.EventAttribute.value": + x.Value = "" + case "tendermint.abci.EventAttribute.index": + x.Index = false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) } - panic(fmt.Errorf("message tendermint.abci.Event does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.EventAttribute does not contain field %s", fd.FullName())) } } @@ -22708,22 +24995,22 @@ func (x *fastReflection_Event) Clear(fd protoreflect.FieldDescriptor) { // 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_Event) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAttribute) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.Event.type": - value := x.Type_ + case "tendermint.abci.EventAttribute.key": + value := x.Key return protoreflect.ValueOfString(value) - case "tendermint.abci.Event.attributes": - if len(x.Attributes) == 0 { - return protoreflect.ValueOfList(&_Event_2_list{}) - } - listValue := &_Event_2_list{list: &x.Attributes} - return protoreflect.ValueOfList(listValue) + case "tendermint.abci.EventAttribute.value": + value := x.Value + return protoreflect.ValueOfString(value) + case "tendermint.abci.EventAttribute.index": + value := x.Index + return protoreflect.ValueOfBool(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) } - panic(fmt.Errorf("message tendermint.abci.Event does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.EventAttribute does not contain field %s", descriptor.FullName())) } } @@ -22737,19 +25024,19 @@ func (x *fastReflection_Event) Get(descriptor protoreflect.FieldDescriptor) prot // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Event) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventAttribute) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.Event.type": - x.Type_ = value.Interface().(string) - case "tendermint.abci.Event.attributes": - lv := value.List() - clv := lv.(*_Event_2_list) - x.Attributes = *clv.list + case "tendermint.abci.EventAttribute.key": + x.Key = value.Interface().(string) + case "tendermint.abci.EventAttribute.value": + x.Value = value.Interface().(string) + case "tendermint.abci.EventAttribute.index": + x.Index = value.Bool() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) } - panic(fmt.Errorf("message tendermint.abci.Event does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.EventAttribute does not contain field %s", fd.FullName())) } } @@ -22763,49 +25050,48 @@ func (x *fastReflection_Event) Set(fd protoreflect.FieldDescriptor, value protor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Event) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAttribute) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.Event.attributes": - if x.Attributes == nil { - x.Attributes = []*EventAttribute{} - } - value := &_Event_2_list{list: &x.Attributes} - return protoreflect.ValueOfList(value) - case "tendermint.abci.Event.type": - panic(fmt.Errorf("field type of message tendermint.abci.Event is not mutable")) + case "tendermint.abci.EventAttribute.key": + panic(fmt.Errorf("field key of message tendermint.abci.EventAttribute is not mutable")) + case "tendermint.abci.EventAttribute.value": + panic(fmt.Errorf("field value of message tendermint.abci.EventAttribute is not mutable")) + case "tendermint.abci.EventAttribute.index": + panic(fmt.Errorf("field index of message tendermint.abci.EventAttribute is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) } - panic(fmt.Errorf("message tendermint.abci.Event does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.EventAttribute 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_Event) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAttribute) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.Event.type": + case "tendermint.abci.EventAttribute.key": return protoreflect.ValueOfString("") - case "tendermint.abci.Event.attributes": - list := []*EventAttribute{} - return protoreflect.ValueOfList(&_Event_2_list{list: &list}) + case "tendermint.abci.EventAttribute.value": + return protoreflect.ValueOfString("") + case "tendermint.abci.EventAttribute.index": + return protoreflect.ValueOfBool(false) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Event")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) } - panic(fmt.Errorf("message tendermint.abci.Event does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.EventAttribute 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_Event) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventAttribute) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.Event", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.EventAttribute", d.FullName())) } panic("unreachable") } @@ -22813,7 +25099,7 @@ func (x *fastReflection_Event) WhichOneof(d protoreflect.OneofDescriptor) protor // 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_Event) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventAttribute) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -22824,7 +25110,7 @@ func (x *fastReflection_Event) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Event) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventAttribute) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -22836,7 +25122,7 @@ func (x *fastReflection_Event) SetUnknown(fields protoreflect.RawFields) { // 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_Event) IsValid() bool { +func (x *fastReflection_EventAttribute) IsValid() bool { return x != nil } @@ -22846,9 +25132,9 @@ func (x *fastReflection_Event) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_Event) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventAttribute) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Event) + x := input.Message.Interface().(*EventAttribute) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22860,15 +25146,16 @@ func (x *fastReflection_Event) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Type_) + l = len(x.Key) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if len(x.Attributes) > 0 { - for _, e := range x.Attributes { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } + l = len(x.Value) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Index { + n += 2 } if x.unknownFields != nil { n += len(x.unknownFields) @@ -22880,7 +25167,7 @@ func (x *fastReflection_Event) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Event) + x := input.Message.Interface().(*EventAttribute) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22899,26 +25186,27 @@ func (x *fastReflection_Event) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Attributes) > 0 { - for iNdEx := len(x.Attributes) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Attributes[iNdEx]) - 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 x.Index { + i-- + if x.Index { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x18 } - if len(x.Type_) > 0 { - i -= len(x.Type_) - copy(dAtA[i:], x.Type_) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Type_))) + if len(x.Value) > 0 { + i -= len(x.Value) + copy(dAtA[i:], x.Value) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + i-- + dAtA[i] = 0x12 + } + if len(x.Key) > 0 { + i -= len(x.Key) + copy(dAtA[i:], x.Key) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Key))) i-- dAtA[i] = 0xa } @@ -22933,7 +25221,7 @@ func (x *fastReflection_Event) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Event) + x := input.Message.Interface().(*EventAttribute) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22965,15 +25253,15 @@ func (x *fastReflection_Event) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Event: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttribute: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttribute: 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 Type_", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -23001,13 +25289,13 @@ func (x *fastReflection_Event) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Type_ = string(dAtA[iNdEx:postIndex]) + x.Key = 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 Attributes", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -23017,26 +25305,44 @@ func (x *fastReflection_Event) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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.Attributes = append(x.Attributes, &EventAttribute{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Attributes[len(x.Attributes)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.Value = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + var v 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++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Index = bool(v != 0) default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -23073,30 +25379,32 @@ func (x *fastReflection_Event) ProtoMethods() *protoiface.Methods { } var ( - md_EventAttribute protoreflect.MessageDescriptor - fd_EventAttribute_key protoreflect.FieldDescriptor - fd_EventAttribute_value protoreflect.FieldDescriptor - fd_EventAttribute_index protoreflect.FieldDescriptor + md_TxResult protoreflect.MessageDescriptor + fd_TxResult_height protoreflect.FieldDescriptor + fd_TxResult_index protoreflect.FieldDescriptor + fd_TxResult_tx protoreflect.FieldDescriptor + fd_TxResult_result protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_EventAttribute = File_tendermint_abci_types_proto.Messages().ByName("EventAttribute") - fd_EventAttribute_key = md_EventAttribute.Fields().ByName("key") - fd_EventAttribute_value = md_EventAttribute.Fields().ByName("value") - fd_EventAttribute_index = md_EventAttribute.Fields().ByName("index") + md_TxResult = File_tendermint_abci_types_proto.Messages().ByName("TxResult") + fd_TxResult_height = md_TxResult.Fields().ByName("height") + fd_TxResult_index = md_TxResult.Fields().ByName("index") + fd_TxResult_tx = md_TxResult.Fields().ByName("tx") + fd_TxResult_result = md_TxResult.Fields().ByName("result") } -var _ protoreflect.Message = (*fastReflection_EventAttribute)(nil) +var _ protoreflect.Message = (*fastReflection_TxResult)(nil) -type fastReflection_EventAttribute EventAttribute +type fastReflection_TxResult TxResult -func (x *EventAttribute) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAttribute)(x) +func (x *TxResult) ProtoReflect() protoreflect.Message { + return (*fastReflection_TxResult)(x) } -func (x *EventAttribute) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[37] +func (x *TxResult) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23107,43 +25415,43 @@ func (x *EventAttribute) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventAttribute_messageType fastReflection_EventAttribute_messageType -var _ protoreflect.MessageType = fastReflection_EventAttribute_messageType{} +var _fastReflection_TxResult_messageType fastReflection_TxResult_messageType +var _ protoreflect.MessageType = fastReflection_TxResult_messageType{} -type fastReflection_EventAttribute_messageType struct{} +type fastReflection_TxResult_messageType struct{} -func (x fastReflection_EventAttribute_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAttribute)(nil) +func (x fastReflection_TxResult_messageType) Zero() protoreflect.Message { + return (*fastReflection_TxResult)(nil) } -func (x fastReflection_EventAttribute_messageType) New() protoreflect.Message { - return new(fastReflection_EventAttribute) +func (x fastReflection_TxResult_messageType) New() protoreflect.Message { + return new(fastReflection_TxResult) } -func (x fastReflection_EventAttribute_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAttribute +func (x fastReflection_TxResult_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TxResult } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAttribute) Descriptor() protoreflect.MessageDescriptor { - return md_EventAttribute +func (x *fastReflection_TxResult) Descriptor() protoreflect.MessageDescriptor { + return md_TxResult } // 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_EventAttribute) Type() protoreflect.MessageType { - return _fastReflection_EventAttribute_messageType +func (x *fastReflection_TxResult) Type() protoreflect.MessageType { + return _fastReflection_TxResult_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAttribute) New() protoreflect.Message { - return new(fastReflection_EventAttribute) +func (x *fastReflection_TxResult) New() protoreflect.Message { + return new(fastReflection_TxResult) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAttribute) Interface() protoreflect.ProtoMessage { - return (*EventAttribute)(x) +func (x *fastReflection_TxResult) Interface() protoreflect.ProtoMessage { + return (*TxResult)(x) } // Range iterates over every populated field in an undefined order, @@ -23151,22 +25459,28 @@ func (x *fastReflection_EventAttribute) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAttribute) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Key) != 0 { - value := protoreflect.ValueOfBytes(x.Key) - if !f(fd_EventAttribute_key, value) { +func (x *fastReflection_TxResult) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Height != int64(0) { + value := protoreflect.ValueOfInt64(x.Height) + if !f(fd_TxResult_height, value) { + return + } + } + if x.Index != uint32(0) { + value := protoreflect.ValueOfUint32(x.Index) + if !f(fd_TxResult_index, value) { return } } - if len(x.Value) != 0 { - value := protoreflect.ValueOfBytes(x.Value) - if !f(fd_EventAttribute_value, value) { + if len(x.Tx) != 0 { + value := protoreflect.ValueOfBytes(x.Tx) + if !f(fd_TxResult_tx, value) { return } } - if x.Index != false { - value := protoreflect.ValueOfBool(x.Index) - if !f(fd_EventAttribute_index, value) { + if x.Result != nil { + value := protoreflect.ValueOfMessage(x.Result.ProtoReflect()) + if !f(fd_TxResult_result, value) { return } } @@ -23183,19 +25497,21 @@ func (x *fastReflection_EventAttribute) Range(f func(protoreflect.FieldDescripto // 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_EventAttribute) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_TxResult) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.EventAttribute.key": - return len(x.Key) != 0 - case "tendermint.abci.EventAttribute.value": - return len(x.Value) != 0 - case "tendermint.abci.EventAttribute.index": - return x.Index != false + case "tendermint.abci.TxResult.height": + return x.Height != int64(0) + case "tendermint.abci.TxResult.index": + return x.Index != uint32(0) + case "tendermint.abci.TxResult.tx": + return len(x.Tx) != 0 + case "tendermint.abci.TxResult.result": + return x.Result != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) } - panic(fmt.Errorf("message tendermint.abci.EventAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.TxResult does not contain field %s", fd.FullName())) } } @@ -23205,19 +25521,21 @@ func (x *fastReflection_EventAttribute) Has(fd protoreflect.FieldDescriptor) boo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttribute) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_TxResult) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.EventAttribute.key": - x.Key = nil - case "tendermint.abci.EventAttribute.value": - x.Value = nil - case "tendermint.abci.EventAttribute.index": - x.Index = false + case "tendermint.abci.TxResult.height": + x.Height = int64(0) + case "tendermint.abci.TxResult.index": + x.Index = uint32(0) + case "tendermint.abci.TxResult.tx": + x.Tx = nil + case "tendermint.abci.TxResult.result": + x.Result = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) } - panic(fmt.Errorf("message tendermint.abci.EventAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.TxResult does not contain field %s", fd.FullName())) } } @@ -23227,22 +25545,25 @@ func (x *fastReflection_EventAttribute) Clear(fd protoreflect.FieldDescriptor) { // 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_EventAttribute) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_TxResult) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.EventAttribute.key": - value := x.Key - return protoreflect.ValueOfBytes(value) - case "tendermint.abci.EventAttribute.value": - value := x.Value - return protoreflect.ValueOfBytes(value) - case "tendermint.abci.EventAttribute.index": + case "tendermint.abci.TxResult.height": + value := x.Height + return protoreflect.ValueOfInt64(value) + case "tendermint.abci.TxResult.index": value := x.Index - return protoreflect.ValueOfBool(value) + return protoreflect.ValueOfUint32(value) + case "tendermint.abci.TxResult.tx": + value := x.Tx + return protoreflect.ValueOfBytes(value) + case "tendermint.abci.TxResult.result": + value := x.Result + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) } - panic(fmt.Errorf("message tendermint.abci.EventAttribute does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.TxResult does not contain field %s", descriptor.FullName())) } } @@ -23256,19 +25577,21 @@ func (x *fastReflection_EventAttribute) Get(descriptor protoreflect.FieldDescrip // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttribute) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_TxResult) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.EventAttribute.key": - x.Key = value.Bytes() - case "tendermint.abci.EventAttribute.value": - x.Value = value.Bytes() - case "tendermint.abci.EventAttribute.index": - x.Index = value.Bool() + case "tendermint.abci.TxResult.height": + x.Height = value.Int() + case "tendermint.abci.TxResult.index": + x.Index = uint32(value.Uint()) + case "tendermint.abci.TxResult.tx": + x.Tx = value.Bytes() + case "tendermint.abci.TxResult.result": + x.Result = value.Message().Interface().(*ResponseDeliverTx) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) } - panic(fmt.Errorf("message tendermint.abci.EventAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.TxResult does not contain field %s", fd.FullName())) } } @@ -23282,48 +25605,56 @@ func (x *fastReflection_EventAttribute) Set(fd protoreflect.FieldDescriptor, val // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttribute) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_TxResult) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.EventAttribute.key": - panic(fmt.Errorf("field key of message tendermint.abci.EventAttribute is not mutable")) - case "tendermint.abci.EventAttribute.value": - panic(fmt.Errorf("field value of message tendermint.abci.EventAttribute is not mutable")) - case "tendermint.abci.EventAttribute.index": - panic(fmt.Errorf("field index of message tendermint.abci.EventAttribute is not mutable")) + case "tendermint.abci.TxResult.result": + if x.Result == nil { + x.Result = new(ResponseDeliverTx) + } + return protoreflect.ValueOfMessage(x.Result.ProtoReflect()) + case "tendermint.abci.TxResult.height": + panic(fmt.Errorf("field height of message tendermint.abci.TxResult is not mutable")) + case "tendermint.abci.TxResult.index": + panic(fmt.Errorf("field index of message tendermint.abci.TxResult is not mutable")) + case "tendermint.abci.TxResult.tx": + panic(fmt.Errorf("field tx of message tendermint.abci.TxResult is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) } - panic(fmt.Errorf("message tendermint.abci.EventAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.TxResult 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_EventAttribute) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_TxResult) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.EventAttribute.key": - return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.EventAttribute.value": + case "tendermint.abci.TxResult.height": + return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.TxResult.index": + return protoreflect.ValueOfUint32(uint32(0)) + case "tendermint.abci.TxResult.tx": return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.EventAttribute.index": - return protoreflect.ValueOfBool(false) + case "tendermint.abci.TxResult.result": + m := new(ResponseDeliverTx) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.EventAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) } - panic(fmt.Errorf("message tendermint.abci.EventAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.TxResult 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_EventAttribute) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_TxResult) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.EventAttribute", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.TxResult", d.FullName())) } panic("unreachable") } @@ -23331,7 +25662,7 @@ func (x *fastReflection_EventAttribute) WhichOneof(d protoreflect.OneofDescripto // 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_EventAttribute) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_TxResult) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -23342,7 +25673,7 @@ func (x *fastReflection_EventAttribute) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttribute) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_TxResult) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -23354,7 +25685,7 @@ func (x *fastReflection_EventAttribute) SetUnknown(fields protoreflect.RawFields // 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_EventAttribute) IsValid() bool { +func (x *fastReflection_TxResult) IsValid() bool { return x != nil } @@ -23364,9 +25695,9 @@ func (x *fastReflection_EventAttribute) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAttribute) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_TxResult) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAttribute) + x := input.Message.Interface().(*TxResult) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23378,16 +25709,19 @@ func (x *fastReflection_EventAttribute) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Key) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.Height != 0 { + n += 1 + runtime.Sov(uint64(x.Height)) } - l = len(x.Value) + if x.Index != 0 { + n += 1 + runtime.Sov(uint64(x.Index)) + } + l = len(x.Tx) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Index { - n += 2 + if x.Result != nil { + l = options.Size(x.Result) + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -23399,7 +25733,7 @@ func (x *fastReflection_EventAttribute) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAttribute) + x := input.Message.Interface().(*TxResult) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23418,29 +25752,36 @@ func (x *fastReflection_EventAttribute) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Index { - i-- - if x.Index { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if x.Result != nil { + encoded, err := options.Marshal(x.Result) + 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] = 0x18 + dAtA[i] = 0x22 } - if len(x.Value) > 0 { - i -= len(x.Value) - copy(dAtA[i:], x.Value) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + if len(x.Tx) > 0 { + i -= len(x.Tx) + copy(dAtA[i:], x.Tx) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Tx))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } - if len(x.Key) > 0 { - i -= len(x.Key) - copy(dAtA[i:], x.Key) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Key))) + if x.Index != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Index)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x10 + } + if x.Height != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) + i-- + dAtA[i] = 0x8 } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -23453,7 +25794,7 @@ func (x *fastReflection_EventAttribute) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAttribute) + x := input.Message.Interface().(*TxResult) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23485,15 +25826,53 @@ func (x *fastReflection_EventAttribute) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttribute: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TxResult: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttribute: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TxResult: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + } + x.Height = 0 + 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++ + x.Height |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + x.Index = 0 + 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++ + x.Index |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -23520,16 +25899,16 @@ func (x *fastReflection_EventAttribute) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Key = append(x.Key[:0], dAtA[iNdEx:postIndex]...) - if x.Key == nil { - x.Key = []byte{} + x.Tx = append(x.Tx[:0], dAtA[iNdEx:postIndex]...) + if x.Tx == nil { + x.Tx = []byte{} } iNdEx = postIndex - case 2: + case 4: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -23539,46 +25918,28 @@ func (x *fastReflection_EventAttribute) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + byteLen + 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 } - x.Value = append(x.Value[:0], dAtA[iNdEx:postIndex]...) - if x.Value == nil { - x.Value = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + if x.Result == nil { + x.Result = &ResponseDeliverTx{} } - var v 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++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Result); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Index = bool(v != 0) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -23615,32 +25976,28 @@ func (x *fastReflection_EventAttribute) ProtoMethods() *protoiface.Methods { } var ( - md_TxResult protoreflect.MessageDescriptor - fd_TxResult_height protoreflect.FieldDescriptor - fd_TxResult_index protoreflect.FieldDescriptor - fd_TxResult_tx protoreflect.FieldDescriptor - fd_TxResult_result protoreflect.FieldDescriptor + md_Validator protoreflect.MessageDescriptor + fd_Validator_address protoreflect.FieldDescriptor + fd_Validator_power protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_TxResult = File_tendermint_abci_types_proto.Messages().ByName("TxResult") - fd_TxResult_height = md_TxResult.Fields().ByName("height") - fd_TxResult_index = md_TxResult.Fields().ByName("index") - fd_TxResult_tx = md_TxResult.Fields().ByName("tx") - fd_TxResult_result = md_TxResult.Fields().ByName("result") + md_Validator = File_tendermint_abci_types_proto.Messages().ByName("Validator") + fd_Validator_address = md_Validator.Fields().ByName("address") + fd_Validator_power = md_Validator.Fields().ByName("power") } -var _ protoreflect.Message = (*fastReflection_TxResult)(nil) +var _ protoreflect.Message = (*fastReflection_Validator)(nil) -type fastReflection_TxResult TxResult +type fastReflection_Validator Validator -func (x *TxResult) ProtoReflect() protoreflect.Message { - return (*fastReflection_TxResult)(x) +func (x *Validator) ProtoReflect() protoreflect.Message { + return (*fastReflection_Validator)(x) } -func (x *TxResult) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[38] +func (x *Validator) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23651,43 +26008,43 @@ func (x *TxResult) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_TxResult_messageType fastReflection_TxResult_messageType -var _ protoreflect.MessageType = fastReflection_TxResult_messageType{} +var _fastReflection_Validator_messageType fastReflection_Validator_messageType +var _ protoreflect.MessageType = fastReflection_Validator_messageType{} -type fastReflection_TxResult_messageType struct{} +type fastReflection_Validator_messageType struct{} -func (x fastReflection_TxResult_messageType) Zero() protoreflect.Message { - return (*fastReflection_TxResult)(nil) +func (x fastReflection_Validator_messageType) Zero() protoreflect.Message { + return (*fastReflection_Validator)(nil) } -func (x fastReflection_TxResult_messageType) New() protoreflect.Message { - return new(fastReflection_TxResult) +func (x fastReflection_Validator_messageType) New() protoreflect.Message { + return new(fastReflection_Validator) } -func (x fastReflection_TxResult_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_TxResult +func (x fastReflection_Validator_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Validator } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_TxResult) Descriptor() protoreflect.MessageDescriptor { - return md_TxResult +func (x *fastReflection_Validator) Descriptor() protoreflect.MessageDescriptor { + return md_Validator } // 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_TxResult) Type() protoreflect.MessageType { - return _fastReflection_TxResult_messageType +func (x *fastReflection_Validator) Type() protoreflect.MessageType { + return _fastReflection_Validator_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_TxResult) New() protoreflect.Message { - return new(fastReflection_TxResult) +func (x *fastReflection_Validator) New() protoreflect.Message { + return new(fastReflection_Validator) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_TxResult) Interface() protoreflect.ProtoMessage { - return (*TxResult)(x) +func (x *fastReflection_Validator) Interface() protoreflect.ProtoMessage { + return (*Validator)(x) } // Range iterates over every populated field in an undefined order, @@ -23695,28 +26052,16 @@ func (x *fastReflection_TxResult) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_TxResult) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Height != int64(0) { - value := protoreflect.ValueOfInt64(x.Height) - if !f(fd_TxResult_height, value) { - return - } - } - if x.Index != uint32(0) { - value := protoreflect.ValueOfUint32(x.Index) - if !f(fd_TxResult_index, value) { - return - } - } - if len(x.Tx) != 0 { - value := protoreflect.ValueOfBytes(x.Tx) - if !f(fd_TxResult_tx, value) { +func (x *fastReflection_Validator) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Address) != 0 { + value := protoreflect.ValueOfBytes(x.Address) + if !f(fd_Validator_address, value) { return } } - if x.Result != nil { - value := protoreflect.ValueOfMessage(x.Result.ProtoReflect()) - if !f(fd_TxResult_result, value) { + if x.Power != int64(0) { + value := protoreflect.ValueOfInt64(x.Power) + if !f(fd_Validator_power, value) { return } } @@ -23733,21 +26078,17 @@ func (x *fastReflection_TxResult) Range(f func(protoreflect.FieldDescriptor, pro // 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_TxResult) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_Validator) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.TxResult.height": - return x.Height != int64(0) - case "tendermint.abci.TxResult.index": - return x.Index != uint32(0) - case "tendermint.abci.TxResult.tx": - return len(x.Tx) != 0 - case "tendermint.abci.TxResult.result": - return x.Result != nil + case "tendermint.abci.Validator.address": + return len(x.Address) != 0 + case "tendermint.abci.Validator.power": + return x.Power != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) } - panic(fmt.Errorf("message tendermint.abci.TxResult does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Validator does not contain field %s", fd.FullName())) } } @@ -23757,21 +26098,17 @@ func (x *fastReflection_TxResult) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_TxResult) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_Validator) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.TxResult.height": - x.Height = int64(0) - case "tendermint.abci.TxResult.index": - x.Index = uint32(0) - case "tendermint.abci.TxResult.tx": - x.Tx = nil - case "tendermint.abci.TxResult.result": - x.Result = nil + case "tendermint.abci.Validator.address": + x.Address = nil + case "tendermint.abci.Validator.power": + x.Power = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) } - panic(fmt.Errorf("message tendermint.abci.TxResult does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Validator does not contain field %s", fd.FullName())) } } @@ -23781,25 +26118,19 @@ func (x *fastReflection_TxResult) Clear(fd protoreflect.FieldDescriptor) { // 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_TxResult) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Validator) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.TxResult.height": - value := x.Height - return protoreflect.ValueOfInt64(value) - case "tendermint.abci.TxResult.index": - value := x.Index - return protoreflect.ValueOfUint32(value) - case "tendermint.abci.TxResult.tx": - value := x.Tx + case "tendermint.abci.Validator.address": + value := x.Address return protoreflect.ValueOfBytes(value) - case "tendermint.abci.TxResult.result": - value := x.Result - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.Validator.power": + value := x.Power + return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) } - panic(fmt.Errorf("message tendermint.abci.TxResult does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.Validator does not contain field %s", descriptor.FullName())) } } @@ -23813,21 +26144,17 @@ func (x *fastReflection_TxResult) Get(descriptor protoreflect.FieldDescriptor) p // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_TxResult) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_Validator) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.TxResult.height": - x.Height = value.Int() - case "tendermint.abci.TxResult.index": - x.Index = uint32(value.Uint()) - case "tendermint.abci.TxResult.tx": - x.Tx = value.Bytes() - case "tendermint.abci.TxResult.result": - x.Result = value.Message().Interface().(*ResponseDeliverTx) + case "tendermint.abci.Validator.address": + x.Address = value.Bytes() + case "tendermint.abci.Validator.power": + x.Power = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) } - panic(fmt.Errorf("message tendermint.abci.TxResult does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Validator does not contain field %s", fd.FullName())) } } @@ -23841,56 +26168,44 @@ func (x *fastReflection_TxResult) Set(fd protoreflect.FieldDescriptor, value pro // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_TxResult) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Validator) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.TxResult.result": - if x.Result == nil { - x.Result = new(ResponseDeliverTx) - } - return protoreflect.ValueOfMessage(x.Result.ProtoReflect()) - case "tendermint.abci.TxResult.height": - panic(fmt.Errorf("field height of message tendermint.abci.TxResult is not mutable")) - case "tendermint.abci.TxResult.index": - panic(fmt.Errorf("field index of message tendermint.abci.TxResult is not mutable")) - case "tendermint.abci.TxResult.tx": - panic(fmt.Errorf("field tx of message tendermint.abci.TxResult is not mutable")) + case "tendermint.abci.Validator.address": + panic(fmt.Errorf("field address of message tendermint.abci.Validator is not mutable")) + case "tendermint.abci.Validator.power": + panic(fmt.Errorf("field power of message tendermint.abci.Validator is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) } - panic(fmt.Errorf("message tendermint.abci.TxResult does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Validator 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_TxResult) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Validator) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.TxResult.height": - return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.abci.TxResult.index": - return protoreflect.ValueOfUint32(uint32(0)) - case "tendermint.abci.TxResult.tx": + case "tendermint.abci.Validator.address": return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.TxResult.result": - m := new(ResponseDeliverTx) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.Validator.power": + return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) } - panic(fmt.Errorf("message tendermint.abci.TxResult does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Validator 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_TxResult) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_Validator) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.TxResult", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.Validator", d.FullName())) } panic("unreachable") } @@ -23898,7 +26213,7 @@ func (x *fastReflection_TxResult) WhichOneof(d protoreflect.OneofDescriptor) pro // 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_TxResult) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_Validator) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -23909,7 +26224,7 @@ func (x *fastReflection_TxResult) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_TxResult) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_Validator) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -23921,7 +26236,7 @@ func (x *fastReflection_TxResult) SetUnknown(fields protoreflect.RawFields) { // 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_TxResult) IsValid() bool { +func (x *fastReflection_Validator) IsValid() bool { return x != nil } @@ -23931,9 +26246,9 @@ func (x *fastReflection_TxResult) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_TxResult) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_Validator) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*TxResult) + x := input.Message.Interface().(*Validator) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23945,19 +26260,12 @@ func (x *fastReflection_TxResult) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Height != 0 { - n += 1 + runtime.Sov(uint64(x.Height)) - } - if x.Index != 0 { - n += 1 + runtime.Sov(uint64(x.Index)) - } - l = len(x.Tx) + l = len(x.Address) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Result != nil { - l = options.Size(x.Result) - n += 1 + l + runtime.Sov(uint64(l)) + if x.Power != 0 { + n += 1 + runtime.Sov(uint64(x.Power)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -23969,7 +26277,7 @@ func (x *fastReflection_TxResult) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*TxResult) + x := input.Message.Interface().(*Validator) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23988,36 +26296,17 @@ func (x *fastReflection_TxResult) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Result != nil { - encoded, err := options.Marshal(x.Result) - 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] = 0x22 - } - if len(x.Tx) > 0 { - i -= len(x.Tx) - copy(dAtA[i:], x.Tx) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Tx))) - i-- - dAtA[i] = 0x1a - } - if x.Index != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Index)) + if x.Power != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Power)) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x18 } - if x.Height != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Height)) + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -24030,7 +26319,7 @@ func (x *fastReflection_TxResult) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*TxResult) + x := input.Message.Interface().(*Validator) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24062,53 +26351,15 @@ func (x *fastReflection_TxResult) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TxResult: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Validator: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TxResult: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Validator: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) - } - x.Height = 0 - 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++ - x.Height |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - x.Index = 0 - 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++ - x.Index |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -24135,16 +26386,16 @@ func (x *fastReflection_TxResult) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Tx = append(x.Tx[:0], dAtA[iNdEx:postIndex]...) - if x.Tx == nil { - x.Tx = []byte{} + x.Address = append(x.Address[:0], dAtA[iNdEx:postIndex]...) + if x.Address == nil { + x.Address = []byte{} } iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Power", wireType) } - var msglen int + x.Power = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -24154,28 +26405,11 @@ func (x *fastReflection_TxResult) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + x.Power |= int64(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.Result == nil { - x.Result = &ResponseDeliverTx{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Result); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -24212,28 +26446,28 @@ func (x *fastReflection_TxResult) ProtoMethods() *protoiface.Methods { } var ( - md_Validator protoreflect.MessageDescriptor - fd_Validator_address protoreflect.FieldDescriptor - fd_Validator_power protoreflect.FieldDescriptor + md_ValidatorUpdate protoreflect.MessageDescriptor + fd_ValidatorUpdate_pub_key protoreflect.FieldDescriptor + fd_ValidatorUpdate_power protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_Validator = File_tendermint_abci_types_proto.Messages().ByName("Validator") - fd_Validator_address = md_Validator.Fields().ByName("address") - fd_Validator_power = md_Validator.Fields().ByName("power") + md_ValidatorUpdate = File_tendermint_abci_types_proto.Messages().ByName("ValidatorUpdate") + fd_ValidatorUpdate_pub_key = md_ValidatorUpdate.Fields().ByName("pub_key") + fd_ValidatorUpdate_power = md_ValidatorUpdate.Fields().ByName("power") } -var _ protoreflect.Message = (*fastReflection_Validator)(nil) +var _ protoreflect.Message = (*fastReflection_ValidatorUpdate)(nil) -type fastReflection_Validator Validator +type fastReflection_ValidatorUpdate ValidatorUpdate -func (x *Validator) ProtoReflect() protoreflect.Message { - return (*fastReflection_Validator)(x) +func (x *ValidatorUpdate) ProtoReflect() protoreflect.Message { + return (*fastReflection_ValidatorUpdate)(x) } -func (x *Validator) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[39] +func (x *ValidatorUpdate) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24244,43 +26478,43 @@ func (x *Validator) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_Validator_messageType fastReflection_Validator_messageType -var _ protoreflect.MessageType = fastReflection_Validator_messageType{} +var _fastReflection_ValidatorUpdate_messageType fastReflection_ValidatorUpdate_messageType +var _ protoreflect.MessageType = fastReflection_ValidatorUpdate_messageType{} -type fastReflection_Validator_messageType struct{} +type fastReflection_ValidatorUpdate_messageType struct{} -func (x fastReflection_Validator_messageType) Zero() protoreflect.Message { - return (*fastReflection_Validator)(nil) +func (x fastReflection_ValidatorUpdate_messageType) Zero() protoreflect.Message { + return (*fastReflection_ValidatorUpdate)(nil) } -func (x fastReflection_Validator_messageType) New() protoreflect.Message { - return new(fastReflection_Validator) +func (x fastReflection_ValidatorUpdate_messageType) New() protoreflect.Message { + return new(fastReflection_ValidatorUpdate) } -func (x fastReflection_Validator_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Validator +func (x fastReflection_ValidatorUpdate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ValidatorUpdate } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_Validator) Descriptor() protoreflect.MessageDescriptor { - return md_Validator +func (x *fastReflection_ValidatorUpdate) Descriptor() protoreflect.MessageDescriptor { + return md_ValidatorUpdate } // 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_Validator) Type() protoreflect.MessageType { - return _fastReflection_Validator_messageType +func (x *fastReflection_ValidatorUpdate) Type() protoreflect.MessageType { + return _fastReflection_ValidatorUpdate_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_Validator) New() protoreflect.Message { - return new(fastReflection_Validator) +func (x *fastReflection_ValidatorUpdate) New() protoreflect.Message { + return new(fastReflection_ValidatorUpdate) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_Validator) Interface() protoreflect.ProtoMessage { - return (*Validator)(x) +func (x *fastReflection_ValidatorUpdate) Interface() protoreflect.ProtoMessage { + return (*ValidatorUpdate)(x) } // Range iterates over every populated field in an undefined order, @@ -24288,16 +26522,16 @@ func (x *fastReflection_Validator) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_Validator) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Address) != 0 { - value := protoreflect.ValueOfBytes(x.Address) - if !f(fd_Validator_address, value) { +func (x *fastReflection_ValidatorUpdate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PubKey != nil { + value := protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) + if !f(fd_ValidatorUpdate_pub_key, value) { return } } if x.Power != int64(0) { value := protoreflect.ValueOfInt64(x.Power) - if !f(fd_Validator_power, value) { + if !f(fd_ValidatorUpdate_power, value) { return } } @@ -24314,17 +26548,17 @@ func (x *fastReflection_Validator) Range(f func(protoreflect.FieldDescriptor, pr // 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_Validator) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ValidatorUpdate) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.Validator.address": - return len(x.Address) != 0 - case "tendermint.abci.Validator.power": + case "tendermint.abci.ValidatorUpdate.pub_key": + return x.PubKey != nil + case "tendermint.abci.ValidatorUpdate.power": return x.Power != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) } - panic(fmt.Errorf("message tendermint.abci.Validator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate does not contain field %s", fd.FullName())) } } @@ -24334,17 +26568,17 @@ func (x *fastReflection_Validator) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Validator) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ValidatorUpdate) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.Validator.address": - x.Address = nil - case "tendermint.abci.Validator.power": + case "tendermint.abci.ValidatorUpdate.pub_key": + x.PubKey = nil + case "tendermint.abci.ValidatorUpdate.power": x.Power = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) } - panic(fmt.Errorf("message tendermint.abci.Validator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate does not contain field %s", fd.FullName())) } } @@ -24354,19 +26588,19 @@ func (x *fastReflection_Validator) Clear(fd protoreflect.FieldDescriptor) { // 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_Validator) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ValidatorUpdate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.Validator.address": - value := x.Address - return protoreflect.ValueOfBytes(value) - case "tendermint.abci.Validator.power": + case "tendermint.abci.ValidatorUpdate.pub_key": + value := x.PubKey + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "tendermint.abci.ValidatorUpdate.power": value := x.Power return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) } - panic(fmt.Errorf("message tendermint.abci.Validator does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate does not contain field %s", descriptor.FullName())) } } @@ -24380,17 +26614,17 @@ func (x *fastReflection_Validator) Get(descriptor protoreflect.FieldDescriptor) // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Validator) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ValidatorUpdate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.Validator.address": - x.Address = value.Bytes() - case "tendermint.abci.Validator.power": + case "tendermint.abci.ValidatorUpdate.pub_key": + x.PubKey = value.Message().Interface().(*crypto.PublicKey) + case "tendermint.abci.ValidatorUpdate.power": x.Power = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) } - panic(fmt.Errorf("message tendermint.abci.Validator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate does not contain field %s", fd.FullName())) } } @@ -24404,44 +26638,48 @@ func (x *fastReflection_Validator) Set(fd protoreflect.FieldDescriptor, value pr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Validator) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ValidatorUpdate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.Validator.address": - panic(fmt.Errorf("field address of message tendermint.abci.Validator is not mutable")) - case "tendermint.abci.Validator.power": - panic(fmt.Errorf("field power of message tendermint.abci.Validator is not mutable")) + case "tendermint.abci.ValidatorUpdate.pub_key": + if x.PubKey == nil { + x.PubKey = new(crypto.PublicKey) + } + return protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) + case "tendermint.abci.ValidatorUpdate.power": + panic(fmt.Errorf("field power of message tendermint.abci.ValidatorUpdate is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) } - panic(fmt.Errorf("message tendermint.abci.Validator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate 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_Validator) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ValidatorUpdate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.Validator.address": - return protoreflect.ValueOfBytes(nil) - case "tendermint.abci.Validator.power": + case "tendermint.abci.ValidatorUpdate.pub_key": + m := new(crypto.PublicKey) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "tendermint.abci.ValidatorUpdate.power": return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Validator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) } - panic(fmt.Errorf("message tendermint.abci.Validator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate 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_Validator) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ValidatorUpdate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.Validator", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ValidatorUpdate", d.FullName())) } panic("unreachable") } @@ -24449,7 +26687,7 @@ func (x *fastReflection_Validator) WhichOneof(d protoreflect.OneofDescriptor) pr // 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_Validator) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ValidatorUpdate) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -24460,7 +26698,7 @@ func (x *fastReflection_Validator) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Validator) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ValidatorUpdate) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -24472,7 +26710,7 @@ func (x *fastReflection_Validator) SetUnknown(fields protoreflect.RawFields) { // 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_Validator) IsValid() bool { +func (x *fastReflection_ValidatorUpdate) IsValid() bool { return x != nil } @@ -24482,9 +26720,9 @@ func (x *fastReflection_Validator) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_Validator) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ValidatorUpdate) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Validator) + x := input.Message.Interface().(*ValidatorUpdate) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24496,8 +26734,8 @@ func (x *fastReflection_Validator) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Address) - if l > 0 { + if x.PubKey != nil { + l = options.Size(x.PubKey) n += 1 + l + runtime.Sov(uint64(l)) } if x.Power != 0 { @@ -24513,7 +26751,7 @@ func (x *fastReflection_Validator) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Validator) + x := input.Message.Interface().(*ValidatorUpdate) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24535,12 +26773,19 @@ func (x *fastReflection_Validator) ProtoMethods() *protoiface.Methods { if x.Power != 0 { i = runtime.EncodeVarint(dAtA, i, uint64(x.Power)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x10 } - if len(x.Address) > 0 { - i -= len(x.Address) - copy(dAtA[i:], x.Address) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + if x.PubKey != nil { + encoded, err := options.Marshal(x.PubKey) + 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] = 0xa } @@ -24555,7 +26800,7 @@ func (x *fastReflection_Validator) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Validator) + x := input.Message.Interface().(*ValidatorUpdate) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24587,17 +26832,17 @@ func (x *fastReflection_Validator) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Validator: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ValidatorUpdate: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Validator: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ValidatorUpdate: 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 Address", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PubKey", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -24607,27 +26852,29 @@ func (x *fastReflection_Validator) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + byteLen + 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 } - x.Address = append(x.Address[:0], dAtA[iNdEx:postIndex]...) - if x.Address == nil { - x.Address = []byte{} + if x.PubKey == nil { + x.PubKey = &crypto.PublicKey{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PubKey); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 3: + case 2: if wireType != 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Power", wireType) } @@ -24682,28 +26929,28 @@ func (x *fastReflection_Validator) ProtoMethods() *protoiface.Methods { } var ( - md_ValidatorUpdate protoreflect.MessageDescriptor - fd_ValidatorUpdate_pub_key protoreflect.FieldDescriptor - fd_ValidatorUpdate_power protoreflect.FieldDescriptor + md_VoteInfo protoreflect.MessageDescriptor + fd_VoteInfo_validator protoreflect.FieldDescriptor + fd_VoteInfo_signed_last_block protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_ValidatorUpdate = File_tendermint_abci_types_proto.Messages().ByName("ValidatorUpdate") - fd_ValidatorUpdate_pub_key = md_ValidatorUpdate.Fields().ByName("pub_key") - fd_ValidatorUpdate_power = md_ValidatorUpdate.Fields().ByName("power") + md_VoteInfo = File_tendermint_abci_types_proto.Messages().ByName("VoteInfo") + fd_VoteInfo_validator = md_VoteInfo.Fields().ByName("validator") + fd_VoteInfo_signed_last_block = md_VoteInfo.Fields().ByName("signed_last_block") } -var _ protoreflect.Message = (*fastReflection_ValidatorUpdate)(nil) +var _ protoreflect.Message = (*fastReflection_VoteInfo)(nil) -type fastReflection_ValidatorUpdate ValidatorUpdate +type fastReflection_VoteInfo VoteInfo -func (x *ValidatorUpdate) ProtoReflect() protoreflect.Message { - return (*fastReflection_ValidatorUpdate)(x) +func (x *VoteInfo) ProtoReflect() protoreflect.Message { + return (*fastReflection_VoteInfo)(x) } -func (x *ValidatorUpdate) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[40] +func (x *VoteInfo) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24714,43 +26961,43 @@ func (x *ValidatorUpdate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ValidatorUpdate_messageType fastReflection_ValidatorUpdate_messageType -var _ protoreflect.MessageType = fastReflection_ValidatorUpdate_messageType{} +var _fastReflection_VoteInfo_messageType fastReflection_VoteInfo_messageType +var _ protoreflect.MessageType = fastReflection_VoteInfo_messageType{} -type fastReflection_ValidatorUpdate_messageType struct{} +type fastReflection_VoteInfo_messageType struct{} -func (x fastReflection_ValidatorUpdate_messageType) Zero() protoreflect.Message { - return (*fastReflection_ValidatorUpdate)(nil) +func (x fastReflection_VoteInfo_messageType) Zero() protoreflect.Message { + return (*fastReflection_VoteInfo)(nil) } -func (x fastReflection_ValidatorUpdate_messageType) New() protoreflect.Message { - return new(fastReflection_ValidatorUpdate) +func (x fastReflection_VoteInfo_messageType) New() protoreflect.Message { + return new(fastReflection_VoteInfo) } -func (x fastReflection_ValidatorUpdate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ValidatorUpdate +func (x fastReflection_VoteInfo_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_VoteInfo } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ValidatorUpdate) Descriptor() protoreflect.MessageDescriptor { - return md_ValidatorUpdate +func (x *fastReflection_VoteInfo) Descriptor() protoreflect.MessageDescriptor { + return md_VoteInfo } // 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_ValidatorUpdate) Type() protoreflect.MessageType { - return _fastReflection_ValidatorUpdate_messageType +func (x *fastReflection_VoteInfo) Type() protoreflect.MessageType { + return _fastReflection_VoteInfo_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ValidatorUpdate) New() protoreflect.Message { - return new(fastReflection_ValidatorUpdate) +func (x *fastReflection_VoteInfo) New() protoreflect.Message { + return new(fastReflection_VoteInfo) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ValidatorUpdate) Interface() protoreflect.ProtoMessage { - return (*ValidatorUpdate)(x) +func (x *fastReflection_VoteInfo) Interface() protoreflect.ProtoMessage { + return (*VoteInfo)(x) } // Range iterates over every populated field in an undefined order, @@ -24758,16 +27005,16 @@ func (x *fastReflection_ValidatorUpdate) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ValidatorUpdate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PubKey != nil { - value := protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) - if !f(fd_ValidatorUpdate_pub_key, value) { +func (x *fastReflection_VoteInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Validator != nil { + value := protoreflect.ValueOfMessage(x.Validator.ProtoReflect()) + if !f(fd_VoteInfo_validator, value) { return } } - if x.Power != int64(0) { - value := protoreflect.ValueOfInt64(x.Power) - if !f(fd_ValidatorUpdate_power, value) { + if x.SignedLastBlock != false { + value := protoreflect.ValueOfBool(x.SignedLastBlock) + if !f(fd_VoteInfo_signed_last_block, value) { return } } @@ -24784,17 +27031,17 @@ func (x *fastReflection_ValidatorUpdate) Range(f func(protoreflect.FieldDescript // 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_ValidatorUpdate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_VoteInfo) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.ValidatorUpdate.pub_key": - return x.PubKey != nil - case "tendermint.abci.ValidatorUpdate.power": - return x.Power != int64(0) + case "tendermint.abci.VoteInfo.validator": + return x.Validator != nil + case "tendermint.abci.VoteInfo.signed_last_block": + return x.SignedLastBlock != false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.VoteInfo does not contain field %s", fd.FullName())) } } @@ -24804,17 +27051,17 @@ func (x *fastReflection_ValidatorUpdate) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ValidatorUpdate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_VoteInfo) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.ValidatorUpdate.pub_key": - x.PubKey = nil - case "tendermint.abci.ValidatorUpdate.power": - x.Power = int64(0) + case "tendermint.abci.VoteInfo.validator": + x.Validator = nil + case "tendermint.abci.VoteInfo.signed_last_block": + x.SignedLastBlock = false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.VoteInfo does not contain field %s", fd.FullName())) } } @@ -24824,19 +27071,19 @@ func (x *fastReflection_ValidatorUpdate) Clear(fd protoreflect.FieldDescriptor) // 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_ValidatorUpdate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_VoteInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.ValidatorUpdate.pub_key": - value := x.PubKey + case "tendermint.abci.VoteInfo.validator": + value := x.Validator return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.ValidatorUpdate.power": - value := x.Power - return protoreflect.ValueOfInt64(value) + case "tendermint.abci.VoteInfo.signed_last_block": + value := x.SignedLastBlock + return protoreflect.ValueOfBool(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.VoteInfo does not contain field %s", descriptor.FullName())) } } @@ -24850,17 +27097,17 @@ func (x *fastReflection_ValidatorUpdate) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ValidatorUpdate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_VoteInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.ValidatorUpdate.pub_key": - x.PubKey = value.Message().Interface().(*crypto.PublicKey) - case "tendermint.abci.ValidatorUpdate.power": - x.Power = value.Int() + case "tendermint.abci.VoteInfo.validator": + x.Validator = value.Message().Interface().(*Validator) + case "tendermint.abci.VoteInfo.signed_last_block": + x.SignedLastBlock = value.Bool() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.VoteInfo does not contain field %s", fd.FullName())) } } @@ -24874,48 +27121,48 @@ func (x *fastReflection_ValidatorUpdate) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ValidatorUpdate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_VoteInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ValidatorUpdate.pub_key": - if x.PubKey == nil { - x.PubKey = new(crypto.PublicKey) + case "tendermint.abci.VoteInfo.validator": + if x.Validator == nil { + x.Validator = new(Validator) } - return protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) - case "tendermint.abci.ValidatorUpdate.power": - panic(fmt.Errorf("field power of message tendermint.abci.ValidatorUpdate is not mutable")) + return protoreflect.ValueOfMessage(x.Validator.ProtoReflect()) + case "tendermint.abci.VoteInfo.signed_last_block": + panic(fmt.Errorf("field signed_last_block of message tendermint.abci.VoteInfo is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.VoteInfo 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_ValidatorUpdate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_VoteInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.ValidatorUpdate.pub_key": - m := new(crypto.PublicKey) + case "tendermint.abci.VoteInfo.validator": + m := new(Validator) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.ValidatorUpdate.power": - return protoreflect.ValueOfInt64(int64(0)) + case "tendermint.abci.VoteInfo.signed_last_block": + return protoreflect.ValueOfBool(false) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ValidatorUpdate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.ValidatorUpdate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.VoteInfo 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_ValidatorUpdate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_VoteInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ValidatorUpdate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.VoteInfo", d.FullName())) } panic("unreachable") } @@ -24923,7 +27170,7 @@ func (x *fastReflection_ValidatorUpdate) WhichOneof(d protoreflect.OneofDescript // 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_ValidatorUpdate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_VoteInfo) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -24934,7 +27181,7 @@ func (x *fastReflection_ValidatorUpdate) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ValidatorUpdate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_VoteInfo) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -24946,7 +27193,7 @@ func (x *fastReflection_ValidatorUpdate) SetUnknown(fields protoreflect.RawField // 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_ValidatorUpdate) IsValid() bool { +func (x *fastReflection_VoteInfo) IsValid() bool { return x != nil } @@ -24956,9 +27203,9 @@ func (x *fastReflection_ValidatorUpdate) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ValidatorUpdate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_VoteInfo) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ValidatorUpdate) + x := input.Message.Interface().(*VoteInfo) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24970,12 +27217,12 @@ func (x *fastReflection_ValidatorUpdate) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.PubKey != nil { - l = options.Size(x.PubKey) + if x.Validator != nil { + l = options.Size(x.Validator) n += 1 + l + runtime.Sov(uint64(l)) } - if x.Power != 0 { - n += 1 + runtime.Sov(uint64(x.Power)) + if x.SignedLastBlock { + n += 2 } if x.unknownFields != nil { n += len(x.unknownFields) @@ -24987,7 +27234,7 @@ func (x *fastReflection_ValidatorUpdate) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ValidatorUpdate) + x := input.Message.Interface().(*VoteInfo) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25006,13 +27253,18 @@ func (x *fastReflection_ValidatorUpdate) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Power != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Power)) + if x.SignedLastBlock { + i-- + if x.SignedLastBlock { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } i-- dAtA[i] = 0x10 } - if x.PubKey != nil { - encoded, err := options.Marshal(x.PubKey) + if x.Validator != nil { + encoded, err := options.Marshal(x.Validator) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25036,7 +27288,7 @@ func (x *fastReflection_ValidatorUpdate) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ValidatorUpdate) + x := input.Message.Interface().(*VoteInfo) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25068,15 +27320,15 @@ func (x *fastReflection_ValidatorUpdate) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ValidatorUpdate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: VoteInfo: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ValidatorUpdate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: VoteInfo: 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 PubKey", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -25103,18 +27355,18 @@ func (x *fastReflection_ValidatorUpdate) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.PubKey == nil { - x.PubKey = &crypto.PublicKey{} + if x.Validator == nil { + x.Validator = &Validator{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PubKey); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Validator); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex case 2: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Power", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SignedLastBlock", wireType) } - x.Power = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -25124,11 +27376,12 @@ func (x *fastReflection_ValidatorUpdate) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - x.Power |= int64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } + x.SignedLastBlock = bool(v != 0) default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -25165,28 +27418,30 @@ func (x *fastReflection_ValidatorUpdate) ProtoMethods() *protoiface.Methods { } var ( - md_VoteInfo protoreflect.MessageDescriptor - fd_VoteInfo_validator protoreflect.FieldDescriptor - fd_VoteInfo_signed_last_block protoreflect.FieldDescriptor + md_ExtendedVoteInfo protoreflect.MessageDescriptor + fd_ExtendedVoteInfo_validator protoreflect.FieldDescriptor + fd_ExtendedVoteInfo_signed_last_block protoreflect.FieldDescriptor + fd_ExtendedVoteInfo_vote_extension protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_VoteInfo = File_tendermint_abci_types_proto.Messages().ByName("VoteInfo") - fd_VoteInfo_validator = md_VoteInfo.Fields().ByName("validator") - fd_VoteInfo_signed_last_block = md_VoteInfo.Fields().ByName("signed_last_block") + md_ExtendedVoteInfo = File_tendermint_abci_types_proto.Messages().ByName("ExtendedVoteInfo") + fd_ExtendedVoteInfo_validator = md_ExtendedVoteInfo.Fields().ByName("validator") + fd_ExtendedVoteInfo_signed_last_block = md_ExtendedVoteInfo.Fields().ByName("signed_last_block") + fd_ExtendedVoteInfo_vote_extension = md_ExtendedVoteInfo.Fields().ByName("vote_extension") } -var _ protoreflect.Message = (*fastReflection_VoteInfo)(nil) +var _ protoreflect.Message = (*fastReflection_ExtendedVoteInfo)(nil) -type fastReflection_VoteInfo VoteInfo +type fastReflection_ExtendedVoteInfo ExtendedVoteInfo -func (x *VoteInfo) ProtoReflect() protoreflect.Message { - return (*fastReflection_VoteInfo)(x) +func (x *ExtendedVoteInfo) ProtoReflect() protoreflect.Message { + return (*fastReflection_ExtendedVoteInfo)(x) } -func (x *VoteInfo) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[41] +func (x *ExtendedVoteInfo) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25197,43 +27452,43 @@ func (x *VoteInfo) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_VoteInfo_messageType fastReflection_VoteInfo_messageType -var _ protoreflect.MessageType = fastReflection_VoteInfo_messageType{} +var _fastReflection_ExtendedVoteInfo_messageType fastReflection_ExtendedVoteInfo_messageType +var _ protoreflect.MessageType = fastReflection_ExtendedVoteInfo_messageType{} -type fastReflection_VoteInfo_messageType struct{} +type fastReflection_ExtendedVoteInfo_messageType struct{} -func (x fastReflection_VoteInfo_messageType) Zero() protoreflect.Message { - return (*fastReflection_VoteInfo)(nil) +func (x fastReflection_ExtendedVoteInfo_messageType) Zero() protoreflect.Message { + return (*fastReflection_ExtendedVoteInfo)(nil) } -func (x fastReflection_VoteInfo_messageType) New() protoreflect.Message { - return new(fastReflection_VoteInfo) +func (x fastReflection_ExtendedVoteInfo_messageType) New() protoreflect.Message { + return new(fastReflection_ExtendedVoteInfo) } -func (x fastReflection_VoteInfo_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_VoteInfo +func (x fastReflection_ExtendedVoteInfo_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ExtendedVoteInfo } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_VoteInfo) Descriptor() protoreflect.MessageDescriptor { - return md_VoteInfo +func (x *fastReflection_ExtendedVoteInfo) Descriptor() protoreflect.MessageDescriptor { + return md_ExtendedVoteInfo } // 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_VoteInfo) Type() protoreflect.MessageType { - return _fastReflection_VoteInfo_messageType +func (x *fastReflection_ExtendedVoteInfo) Type() protoreflect.MessageType { + return _fastReflection_ExtendedVoteInfo_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_VoteInfo) New() protoreflect.Message { - return new(fastReflection_VoteInfo) +func (x *fastReflection_ExtendedVoteInfo) New() protoreflect.Message { + return new(fastReflection_ExtendedVoteInfo) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_VoteInfo) Interface() protoreflect.ProtoMessage { - return (*VoteInfo)(x) +func (x *fastReflection_ExtendedVoteInfo) Interface() protoreflect.ProtoMessage { + return (*ExtendedVoteInfo)(x) } // Range iterates over every populated field in an undefined order, @@ -25241,16 +27496,22 @@ func (x *fastReflection_VoteInfo) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_VoteInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_ExtendedVoteInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Validator != nil { value := protoreflect.ValueOfMessage(x.Validator.ProtoReflect()) - if !f(fd_VoteInfo_validator, value) { + if !f(fd_ExtendedVoteInfo_validator, value) { return } } if x.SignedLastBlock != false { value := protoreflect.ValueOfBool(x.SignedLastBlock) - if !f(fd_VoteInfo_signed_last_block, value) { + if !f(fd_ExtendedVoteInfo_signed_last_block, value) { + return + } + } + if len(x.VoteExtension) != 0 { + value := protoreflect.ValueOfBytes(x.VoteExtension) + if !f(fd_ExtendedVoteInfo_vote_extension, value) { return } } @@ -25267,17 +27528,19 @@ func (x *fastReflection_VoteInfo) Range(f func(protoreflect.FieldDescriptor, pro // 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_VoteInfo) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ExtendedVoteInfo) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.VoteInfo.validator": + case "tendermint.abci.ExtendedVoteInfo.validator": return x.Validator != nil - case "tendermint.abci.VoteInfo.signed_last_block": + case "tendermint.abci.ExtendedVoteInfo.signed_last_block": return x.SignedLastBlock != false + case "tendermint.abci.ExtendedVoteInfo.vote_extension": + return len(x.VoteExtension) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedVoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.VoteInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedVoteInfo does not contain field %s", fd.FullName())) } } @@ -25287,17 +27550,19 @@ func (x *fastReflection_VoteInfo) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_VoteInfo) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ExtendedVoteInfo) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.VoteInfo.validator": + case "tendermint.abci.ExtendedVoteInfo.validator": x.Validator = nil - case "tendermint.abci.VoteInfo.signed_last_block": + case "tendermint.abci.ExtendedVoteInfo.signed_last_block": x.SignedLastBlock = false + case "tendermint.abci.ExtendedVoteInfo.vote_extension": + x.VoteExtension = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedVoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.VoteInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedVoteInfo does not contain field %s", fd.FullName())) } } @@ -25307,19 +27572,22 @@ func (x *fastReflection_VoteInfo) Clear(fd protoreflect.FieldDescriptor) { // 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_VoteInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ExtendedVoteInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.VoteInfo.validator": + case "tendermint.abci.ExtendedVoteInfo.validator": value := x.Validator return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.VoteInfo.signed_last_block": + case "tendermint.abci.ExtendedVoteInfo.signed_last_block": value := x.SignedLastBlock return protoreflect.ValueOfBool(value) + case "tendermint.abci.ExtendedVoteInfo.vote_extension": + value := x.VoteExtension + return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedVoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.VoteInfo does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedVoteInfo does not contain field %s", descriptor.FullName())) } } @@ -25333,17 +27601,19 @@ func (x *fastReflection_VoteInfo) Get(descriptor protoreflect.FieldDescriptor) p // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_VoteInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ExtendedVoteInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.VoteInfo.validator": + case "tendermint.abci.ExtendedVoteInfo.validator": x.Validator = value.Message().Interface().(*Validator) - case "tendermint.abci.VoteInfo.signed_last_block": + case "tendermint.abci.ExtendedVoteInfo.signed_last_block": x.SignedLastBlock = value.Bool() + case "tendermint.abci.ExtendedVoteInfo.vote_extension": + x.VoteExtension = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedVoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.VoteInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedVoteInfo does not contain field %s", fd.FullName())) } } @@ -25357,48 +27627,52 @@ func (x *fastReflection_VoteInfo) Set(fd protoreflect.FieldDescriptor, value pro // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_VoteInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ExtendedVoteInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.VoteInfo.validator": + case "tendermint.abci.ExtendedVoteInfo.validator": if x.Validator == nil { x.Validator = new(Validator) } return protoreflect.ValueOfMessage(x.Validator.ProtoReflect()) - case "tendermint.abci.VoteInfo.signed_last_block": - panic(fmt.Errorf("field signed_last_block of message tendermint.abci.VoteInfo is not mutable")) + case "tendermint.abci.ExtendedVoteInfo.signed_last_block": + panic(fmt.Errorf("field signed_last_block of message tendermint.abci.ExtendedVoteInfo is not mutable")) + case "tendermint.abci.ExtendedVoteInfo.vote_extension": + panic(fmt.Errorf("field vote_extension of message tendermint.abci.ExtendedVoteInfo is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedVoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.VoteInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedVoteInfo 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_VoteInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ExtendedVoteInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.VoteInfo.validator": + case "tendermint.abci.ExtendedVoteInfo.validator": m := new(Validator) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.VoteInfo.signed_last_block": + case "tendermint.abci.ExtendedVoteInfo.signed_last_block": return protoreflect.ValueOfBool(false) + case "tendermint.abci.ExtendedVoteInfo.vote_extension": + return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.VoteInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.ExtendedVoteInfo")) } - panic(fmt.Errorf("message tendermint.abci.VoteInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.ExtendedVoteInfo 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_VoteInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ExtendedVoteInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.VoteInfo", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.ExtendedVoteInfo", d.FullName())) } panic("unreachable") } @@ -25406,7 +27680,7 @@ func (x *fastReflection_VoteInfo) WhichOneof(d protoreflect.OneofDescriptor) pro // 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_VoteInfo) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ExtendedVoteInfo) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -25417,7 +27691,7 @@ func (x *fastReflection_VoteInfo) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_VoteInfo) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ExtendedVoteInfo) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -25429,7 +27703,7 @@ func (x *fastReflection_VoteInfo) SetUnknown(fields protoreflect.RawFields) { // 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_VoteInfo) IsValid() bool { +func (x *fastReflection_ExtendedVoteInfo) IsValid() bool { return x != nil } @@ -25439,9 +27713,9 @@ func (x *fastReflection_VoteInfo) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_VoteInfo) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ExtendedVoteInfo) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*VoteInfo) + x := input.Message.Interface().(*ExtendedVoteInfo) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25460,6 +27734,10 @@ func (x *fastReflection_VoteInfo) ProtoMethods() *protoiface.Methods { if x.SignedLastBlock { n += 2 } + l = len(x.VoteExtension) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -25470,7 +27748,7 @@ func (x *fastReflection_VoteInfo) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*VoteInfo) + x := input.Message.Interface().(*ExtendedVoteInfo) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25489,6 +27767,13 @@ func (x *fastReflection_VoteInfo) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.VoteExtension) > 0 { + i -= len(x.VoteExtension) + copy(dAtA[i:], x.VoteExtension) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.VoteExtension))) + i-- + dAtA[i] = 0x1a + } if x.SignedLastBlock { i-- if x.SignedLastBlock { @@ -25524,7 +27809,7 @@ func (x *fastReflection_VoteInfo) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*VoteInfo) + x := input.Message.Interface().(*ExtendedVoteInfo) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25556,10 +27841,10 @@ func (x *fastReflection_VoteInfo) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: VoteInfo: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ExtendedVoteInfo: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: VoteInfo: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ExtendedVoteInfo: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -25618,6 +27903,40 @@ func (x *fastReflection_VoteInfo) ProtoMethods() *protoiface.Methods { } } x.SignedLastBlock = bool(v != 0) + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field VoteExtension", 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.VoteExtension = append(x.VoteExtension[:0], dAtA[iNdEx:postIndex]...) + if x.VoteExtension == nil { + x.VoteExtension = []byte{} + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -25654,34 +27973,34 @@ func (x *fastReflection_VoteInfo) ProtoMethods() *protoiface.Methods { } var ( - md_Evidence protoreflect.MessageDescriptor - fd_Evidence_type protoreflect.FieldDescriptor - fd_Evidence_validator protoreflect.FieldDescriptor - fd_Evidence_height protoreflect.FieldDescriptor - fd_Evidence_time protoreflect.FieldDescriptor - fd_Evidence_total_voting_power protoreflect.FieldDescriptor + md_Misbehavior protoreflect.MessageDescriptor + fd_Misbehavior_type protoreflect.FieldDescriptor + fd_Misbehavior_validator protoreflect.FieldDescriptor + fd_Misbehavior_height protoreflect.FieldDescriptor + fd_Misbehavior_time protoreflect.FieldDescriptor + fd_Misbehavior_total_voting_power protoreflect.FieldDescriptor ) func init() { file_tendermint_abci_types_proto_init() - md_Evidence = File_tendermint_abci_types_proto.Messages().ByName("Evidence") - fd_Evidence_type = md_Evidence.Fields().ByName("type") - fd_Evidence_validator = md_Evidence.Fields().ByName("validator") - fd_Evidence_height = md_Evidence.Fields().ByName("height") - fd_Evidence_time = md_Evidence.Fields().ByName("time") - fd_Evidence_total_voting_power = md_Evidence.Fields().ByName("total_voting_power") + md_Misbehavior = File_tendermint_abci_types_proto.Messages().ByName("Misbehavior") + fd_Misbehavior_type = md_Misbehavior.Fields().ByName("type") + fd_Misbehavior_validator = md_Misbehavior.Fields().ByName("validator") + fd_Misbehavior_height = md_Misbehavior.Fields().ByName("height") + fd_Misbehavior_time = md_Misbehavior.Fields().ByName("time") + fd_Misbehavior_total_voting_power = md_Misbehavior.Fields().ByName("total_voting_power") } -var _ protoreflect.Message = (*fastReflection_Evidence)(nil) +var _ protoreflect.Message = (*fastReflection_Misbehavior)(nil) -type fastReflection_Evidence Evidence +type fastReflection_Misbehavior Misbehavior -func (x *Evidence) ProtoReflect() protoreflect.Message { - return (*fastReflection_Evidence)(x) +func (x *Misbehavior) ProtoReflect() protoreflect.Message { + return (*fastReflection_Misbehavior)(x) } -func (x *Evidence) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[42] +func (x *Misbehavior) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_abci_types_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25692,43 +28011,43 @@ func (x *Evidence) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_Evidence_messageType fastReflection_Evidence_messageType -var _ protoreflect.MessageType = fastReflection_Evidence_messageType{} +var _fastReflection_Misbehavior_messageType fastReflection_Misbehavior_messageType +var _ protoreflect.MessageType = fastReflection_Misbehavior_messageType{} -type fastReflection_Evidence_messageType struct{} +type fastReflection_Misbehavior_messageType struct{} -func (x fastReflection_Evidence_messageType) Zero() protoreflect.Message { - return (*fastReflection_Evidence)(nil) +func (x fastReflection_Misbehavior_messageType) Zero() protoreflect.Message { + return (*fastReflection_Misbehavior)(nil) } -func (x fastReflection_Evidence_messageType) New() protoreflect.Message { - return new(fastReflection_Evidence) +func (x fastReflection_Misbehavior_messageType) New() protoreflect.Message { + return new(fastReflection_Misbehavior) } -func (x fastReflection_Evidence_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Evidence +func (x fastReflection_Misbehavior_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Misbehavior } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_Evidence) Descriptor() protoreflect.MessageDescriptor { - return md_Evidence +func (x *fastReflection_Misbehavior) Descriptor() protoreflect.MessageDescriptor { + return md_Misbehavior } // 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_Evidence) Type() protoreflect.MessageType { - return _fastReflection_Evidence_messageType +func (x *fastReflection_Misbehavior) Type() protoreflect.MessageType { + return _fastReflection_Misbehavior_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_Evidence) New() protoreflect.Message { - return new(fastReflection_Evidence) +func (x *fastReflection_Misbehavior) New() protoreflect.Message { + return new(fastReflection_Misbehavior) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_Evidence) Interface() protoreflect.ProtoMessage { - return (*Evidence)(x) +func (x *fastReflection_Misbehavior) Interface() protoreflect.ProtoMessage { + return (*Misbehavior)(x) } // Range iterates over every populated field in an undefined order, @@ -25736,34 +28055,34 @@ func (x *fastReflection_Evidence) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_Evidence) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_Misbehavior) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Type_ != 0 { value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Type_)) - if !f(fd_Evidence_type, value) { + if !f(fd_Misbehavior_type, value) { return } } if x.Validator != nil { value := protoreflect.ValueOfMessage(x.Validator.ProtoReflect()) - if !f(fd_Evidence_validator, value) { + if !f(fd_Misbehavior_validator, value) { return } } if x.Height != int64(0) { value := protoreflect.ValueOfInt64(x.Height) - if !f(fd_Evidence_height, value) { + if !f(fd_Misbehavior_height, value) { return } } if x.Time != nil { value := protoreflect.ValueOfMessage(x.Time.ProtoReflect()) - if !f(fd_Evidence_time, value) { + if !f(fd_Misbehavior_time, value) { return } } if x.TotalVotingPower != int64(0) { value := protoreflect.ValueOfInt64(x.TotalVotingPower) - if !f(fd_Evidence_total_voting_power, value) { + if !f(fd_Misbehavior_total_voting_power, value) { return } } @@ -25780,23 +28099,23 @@ func (x *fastReflection_Evidence) Range(f func(protoreflect.FieldDescriptor, pro // 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_Evidence) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_Misbehavior) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.abci.Evidence.type": + case "tendermint.abci.Misbehavior.type": return x.Type_ != 0 - case "tendermint.abci.Evidence.validator": + case "tendermint.abci.Misbehavior.validator": return x.Validator != nil - case "tendermint.abci.Evidence.height": + case "tendermint.abci.Misbehavior.height": return x.Height != int64(0) - case "tendermint.abci.Evidence.time": + case "tendermint.abci.Misbehavior.time": return x.Time != nil - case "tendermint.abci.Evidence.total_voting_power": + case "tendermint.abci.Misbehavior.total_voting_power": return x.TotalVotingPower != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Evidence")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Misbehavior")) } - panic(fmt.Errorf("message tendermint.abci.Evidence does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Misbehavior does not contain field %s", fd.FullName())) } } @@ -25806,23 +28125,23 @@ func (x *fastReflection_Evidence) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Evidence) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_Misbehavior) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.abci.Evidence.type": + case "tendermint.abci.Misbehavior.type": x.Type_ = 0 - case "tendermint.abci.Evidence.validator": + case "tendermint.abci.Misbehavior.validator": x.Validator = nil - case "tendermint.abci.Evidence.height": + case "tendermint.abci.Misbehavior.height": x.Height = int64(0) - case "tendermint.abci.Evidence.time": + case "tendermint.abci.Misbehavior.time": x.Time = nil - case "tendermint.abci.Evidence.total_voting_power": + case "tendermint.abci.Misbehavior.total_voting_power": x.TotalVotingPower = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Evidence")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Misbehavior")) } - panic(fmt.Errorf("message tendermint.abci.Evidence does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Misbehavior does not contain field %s", fd.FullName())) } } @@ -25832,28 +28151,28 @@ func (x *fastReflection_Evidence) Clear(fd protoreflect.FieldDescriptor) { // 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_Evidence) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Misbehavior) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.abci.Evidence.type": + case "tendermint.abci.Misbehavior.type": value := x.Type_ return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "tendermint.abci.Evidence.validator": + case "tendermint.abci.Misbehavior.validator": value := x.Validator return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.Evidence.height": + case "tendermint.abci.Misbehavior.height": value := x.Height return protoreflect.ValueOfInt64(value) - case "tendermint.abci.Evidence.time": + case "tendermint.abci.Misbehavior.time": value := x.Time return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "tendermint.abci.Evidence.total_voting_power": + case "tendermint.abci.Misbehavior.total_voting_power": value := x.TotalVotingPower return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Evidence")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Misbehavior")) } - panic(fmt.Errorf("message tendermint.abci.Evidence does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message tendermint.abci.Misbehavior does not contain field %s", descriptor.FullName())) } } @@ -25867,23 +28186,23 @@ func (x *fastReflection_Evidence) Get(descriptor protoreflect.FieldDescriptor) p // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Evidence) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_Misbehavior) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.abci.Evidence.type": - x.Type_ = (EvidenceType)(value.Enum()) - case "tendermint.abci.Evidence.validator": + case "tendermint.abci.Misbehavior.type": + x.Type_ = (MisbehaviorType)(value.Enum()) + case "tendermint.abci.Misbehavior.validator": x.Validator = value.Message().Interface().(*Validator) - case "tendermint.abci.Evidence.height": + case "tendermint.abci.Misbehavior.height": x.Height = value.Int() - case "tendermint.abci.Evidence.time": + case "tendermint.abci.Misbehavior.time": x.Time = value.Message().Interface().(*timestamppb.Timestamp) - case "tendermint.abci.Evidence.total_voting_power": + case "tendermint.abci.Misbehavior.total_voting_power": x.TotalVotingPower = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Evidence")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Misbehavior")) } - panic(fmt.Errorf("message tendermint.abci.Evidence does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Misbehavior does not contain field %s", fd.FullName())) } } @@ -25897,64 +28216,64 @@ func (x *fastReflection_Evidence) Set(fd protoreflect.FieldDescriptor, value pro // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Evidence) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Misbehavior) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.Evidence.validator": + case "tendermint.abci.Misbehavior.validator": if x.Validator == nil { x.Validator = new(Validator) } return protoreflect.ValueOfMessage(x.Validator.ProtoReflect()) - case "tendermint.abci.Evidence.time": + case "tendermint.abci.Misbehavior.time": if x.Time == nil { x.Time = new(timestamppb.Timestamp) } return protoreflect.ValueOfMessage(x.Time.ProtoReflect()) - case "tendermint.abci.Evidence.type": - panic(fmt.Errorf("field type of message tendermint.abci.Evidence is not mutable")) - case "tendermint.abci.Evidence.height": - panic(fmt.Errorf("field height of message tendermint.abci.Evidence is not mutable")) - case "tendermint.abci.Evidence.total_voting_power": - panic(fmt.Errorf("field total_voting_power of message tendermint.abci.Evidence is not mutable")) + case "tendermint.abci.Misbehavior.type": + panic(fmt.Errorf("field type of message tendermint.abci.Misbehavior is not mutable")) + case "tendermint.abci.Misbehavior.height": + panic(fmt.Errorf("field height of message tendermint.abci.Misbehavior is not mutable")) + case "tendermint.abci.Misbehavior.total_voting_power": + panic(fmt.Errorf("field total_voting_power of message tendermint.abci.Misbehavior is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Evidence")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Misbehavior")) } - panic(fmt.Errorf("message tendermint.abci.Evidence does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Misbehavior 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_Evidence) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Misbehavior) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.abci.Evidence.type": + case "tendermint.abci.Misbehavior.type": return protoreflect.ValueOfEnum(0) - case "tendermint.abci.Evidence.validator": + case "tendermint.abci.Misbehavior.validator": m := new(Validator) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.Evidence.height": + case "tendermint.abci.Misbehavior.height": return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.abci.Evidence.time": + case "tendermint.abci.Misbehavior.time": m := new(timestamppb.Timestamp) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "tendermint.abci.Evidence.total_voting_power": + case "tendermint.abci.Misbehavior.total_voting_power": return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Evidence")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.abci.Misbehavior")) } - panic(fmt.Errorf("message tendermint.abci.Evidence does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message tendermint.abci.Misbehavior 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_Evidence) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_Misbehavior) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.Evidence", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in tendermint.abci.Misbehavior", d.FullName())) } panic("unreachable") } @@ -25962,7 +28281,7 @@ func (x *fastReflection_Evidence) WhichOneof(d protoreflect.OneofDescriptor) pro // 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_Evidence) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_Misbehavior) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -25973,7 +28292,7 @@ func (x *fastReflection_Evidence) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Evidence) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_Misbehavior) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -25985,7 +28304,7 @@ func (x *fastReflection_Evidence) SetUnknown(fields protoreflect.RawFields) { // 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_Evidence) IsValid() bool { +func (x *fastReflection_Misbehavior) IsValid() bool { return x != nil } @@ -25995,9 +28314,9 @@ func (x *fastReflection_Evidence) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_Evidence) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_Misbehavior) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Evidence) + x := input.Message.Interface().(*Misbehavior) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26036,7 +28355,7 @@ func (x *fastReflection_Evidence) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Evidence) + x := input.Message.Interface().(*Misbehavior) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26109,7 +28428,7 @@ func (x *fastReflection_Evidence) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Evidence) + x := input.Message.Interface().(*Misbehavior) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26141,10 +28460,10 @@ func (x *fastReflection_Evidence) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Evidence: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Misbehavior: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Evidence: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Misbehavior: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -26161,7 +28480,7 @@ func (x *fastReflection_Evidence) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - x.Type_ |= EvidenceType(b&0x7F) << shift + x.Type_ |= MisbehaviorType(b&0x7F) << shift if b < 0x80 { break } @@ -26339,7 +28658,7 @@ func (x *Snapshot) ProtoReflect() protoreflect.Message { } func (x *Snapshot) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_abci_types_proto_msgTypes[43] + mi := &file_tendermint_abci_types_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -27002,52 +29321,52 @@ func (CheckTxType) EnumDescriptor() ([]byte, []int) { return file_tendermint_abci_types_proto_rawDescGZIP(), []int{0} } -type EvidenceType int32 +type MisbehaviorType int32 const ( - EvidenceType_UNKNOWN EvidenceType = 0 - EvidenceType_DUPLICATE_VOTE EvidenceType = 1 - EvidenceType_LIGHT_CLIENT_ATTACK EvidenceType = 2 + MisbehaviorType_UNKNOWN MisbehaviorType = 0 + MisbehaviorType_DUPLICATE_VOTE MisbehaviorType = 1 + MisbehaviorType_LIGHT_CLIENT_ATTACK MisbehaviorType = 2 ) -// Enum value maps for EvidenceType. +// Enum value maps for MisbehaviorType. var ( - EvidenceType_name = map[int32]string{ + MisbehaviorType_name = map[int32]string{ 0: "UNKNOWN", 1: "DUPLICATE_VOTE", 2: "LIGHT_CLIENT_ATTACK", } - EvidenceType_value = map[string]int32{ + MisbehaviorType_value = map[string]int32{ "UNKNOWN": 0, "DUPLICATE_VOTE": 1, "LIGHT_CLIENT_ATTACK": 2, } ) -func (x EvidenceType) Enum() *EvidenceType { - p := new(EvidenceType) +func (x MisbehaviorType) Enum() *MisbehaviorType { + p := new(MisbehaviorType) *p = x return p } -func (x EvidenceType) String() string { +func (x MisbehaviorType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (EvidenceType) Descriptor() protoreflect.EnumDescriptor { +func (MisbehaviorType) Descriptor() protoreflect.EnumDescriptor { return file_tendermint_abci_types_proto_enumTypes[1].Descriptor() } -func (EvidenceType) Type() protoreflect.EnumType { +func (MisbehaviorType) Type() protoreflect.EnumType { return &file_tendermint_abci_types_proto_enumTypes[1] } -func (x EvidenceType) Number() protoreflect.EnumNumber { +func (x MisbehaviorType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } -// Deprecated: Use EvidenceType.Descriptor instead. -func (EvidenceType) EnumDescriptor() ([]byte, []int) { +// Deprecated: Use MisbehaviorType.Descriptor instead. +func (MisbehaviorType) EnumDescriptor() ([]byte, []int) { return file_tendermint_abci_types_proto_rawDescGZIP(), []int{1} } @@ -27167,6 +29486,55 @@ func (ResponseApplySnapshotChunk_Result) EnumDescriptor() ([]byte, []int) { return file_tendermint_abci_types_proto_rawDescGZIP(), []int{32, 0} } +type ResponseProcessProposal_ProposalStatus int32 + +const ( + ResponseProcessProposal_UNKNOWN ResponseProcessProposal_ProposalStatus = 0 + ResponseProcessProposal_ACCEPT ResponseProcessProposal_ProposalStatus = 1 + ResponseProcessProposal_REJECT ResponseProcessProposal_ProposalStatus = 2 +) + +// Enum value maps for ResponseProcessProposal_ProposalStatus. +var ( + ResponseProcessProposal_ProposalStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "ACCEPT", + 2: "REJECT", + } + ResponseProcessProposal_ProposalStatus_value = map[string]int32{ + "UNKNOWN": 0, + "ACCEPT": 1, + "REJECT": 2, + } +) + +func (x ResponseProcessProposal_ProposalStatus) Enum() *ResponseProcessProposal_ProposalStatus { + p := new(ResponseProcessProposal_ProposalStatus) + *p = x + return p +} + +func (x ResponseProcessProposal_ProposalStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ResponseProcessProposal_ProposalStatus) Descriptor() protoreflect.EnumDescriptor { + return file_tendermint_abci_types_proto_enumTypes[4].Descriptor() +} + +func (ResponseProcessProposal_ProposalStatus) Type() protoreflect.EnumType { + return &file_tendermint_abci_types_proto_enumTypes[4] +} + +func (x ResponseProcessProposal_ProposalStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResponseProcessProposal_ProposalStatus.Descriptor instead. +func (ResponseProcessProposal_ProposalStatus) EnumDescriptor() ([]byte, []int) { + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{34, 0} +} + type Request struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -27177,7 +29545,6 @@ type Request struct { // *Request_Echo // *Request_Flush // *Request_Info - // *Request_SetOption // *Request_InitChain // *Request_Query // *Request_BeginBlock @@ -27189,6 +29556,8 @@ type Request struct { // *Request_OfferSnapshot // *Request_LoadSnapshotChunk // *Request_ApplySnapshotChunk + // *Request_PrepareProposal + // *Request_ProcessProposal Value isRequest_Value `protobuf_oneof:"value"` } @@ -27240,13 +29609,6 @@ func (x *Request) GetInfo() *RequestInfo { return nil } -func (x *Request) GetSetOption() *RequestSetOption { - if x, ok := x.GetValue().(*Request_SetOption); ok { - return x.SetOption - } - return nil -} - func (x *Request) GetInitChain() *RequestInitChain { if x, ok := x.GetValue().(*Request_InitChain); ok { return x.InitChain @@ -27324,6 +29686,20 @@ func (x *Request) GetApplySnapshotChunk() *RequestApplySnapshotChunk { return nil } +func (x *Request) GetPrepareProposal() *RequestPrepareProposal { + if x, ok := x.GetValue().(*Request_PrepareProposal); ok { + return x.PrepareProposal + } + return nil +} + +func (x *Request) GetProcessProposal() *RequestProcessProposal { + if x, ok := x.GetValue().(*Request_ProcessProposal); ok { + return x.ProcessProposal + } + return nil +} + type isRequest_Value interface { isRequest_Value() } @@ -27340,10 +29716,6 @@ type Request_Info struct { Info *RequestInfo `protobuf:"bytes,3,opt,name=info,proto3,oneof"` } -type Request_SetOption struct { - SetOption *RequestSetOption `protobuf:"bytes,4,opt,name=set_option,json=setOption,proto3,oneof"` -} - type Request_InitChain struct { InitChain *RequestInitChain `protobuf:"bytes,5,opt,name=init_chain,json=initChain,proto3,oneof"` } @@ -27388,14 +29760,20 @@ type Request_ApplySnapshotChunk struct { ApplySnapshotChunk *RequestApplySnapshotChunk `protobuf:"bytes,15,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof"` } +type Request_PrepareProposal struct { + PrepareProposal *RequestPrepareProposal `protobuf:"bytes,16,opt,name=prepare_proposal,json=prepareProposal,proto3,oneof"` +} + +type Request_ProcessProposal struct { + ProcessProposal *RequestProcessProposal `protobuf:"bytes,17,opt,name=process_proposal,json=processProposal,proto3,oneof"` +} + func (*Request_Echo) isRequest_Value() {} func (*Request_Flush) isRequest_Value() {} func (*Request_Info) isRequest_Value() {} -func (*Request_SetOption) isRequest_Value() {} - func (*Request_InitChain) isRequest_Value() {} func (*Request_Query) isRequest_Value() {} @@ -27418,6 +29796,10 @@ func (*Request_LoadSnapshotChunk) isRequest_Value() {} func (*Request_ApplySnapshotChunk) isRequest_Value() {} +func (*Request_PrepareProposal) isRequest_Value() {} + +func (*Request_ProcessProposal) isRequest_Value() {} + type RequestEcho struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -27487,6 +29869,7 @@ type RequestInfo struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` BlockVersion uint64 `protobuf:"varint,2,opt,name=block_version,json=blockVersion,proto3" json:"block_version,omitempty"` P2PVersion uint64 `protobuf:"varint,3,opt,name=p2p_version,json=p2pVersion,proto3" json:"p2p_version,omitempty"` + AbciVersion string `protobuf:"bytes,4,opt,name=abci_version,json=abciVersion,proto3" json:"abci_version,omitempty"` } func (x *RequestInfo) Reset() { @@ -27519,57 +29902,20 @@ func (x *RequestInfo) GetVersion() string { func (x *RequestInfo) GetBlockVersion() uint64 { if x != nil { return x.BlockVersion - } - return 0 -} - -func (x *RequestInfo) GetP2PVersion() uint64 { - if x != nil { - return x.P2PVersion - } - return 0 -} - -// nondeterministic -type RequestSetOption struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *RequestSetOption) Reset() { - *x = RequestSetOption{} - if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RequestSetOption) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestSetOption) ProtoMessage() {} - -// Deprecated: Use RequestSetOption.ProtoReflect.Descriptor instead. -func (*RequestSetOption) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{4} + } + return 0 } -func (x *RequestSetOption) GetKey() string { +func (x *RequestInfo) GetP2PVersion() uint64 { if x != nil { - return x.Key + return x.P2PVersion } - return "" + return 0 } -func (x *RequestSetOption) GetValue() string { +func (x *RequestInfo) GetAbciVersion() string { if x != nil { - return x.Value + return x.AbciVersion } return "" } @@ -27581,7 +29927,7 @@ type RequestInitChain struct { Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - ConsensusParams *ConsensusParams `protobuf:"bytes,3,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"` + ConsensusParams *types.ConsensusParams `protobuf:"bytes,3,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"` Validators []*ValidatorUpdate `protobuf:"bytes,4,rep,name=validators,proto3" json:"validators,omitempty"` AppStateBytes []byte `protobuf:"bytes,5,opt,name=app_state_bytes,json=appStateBytes,proto3" json:"app_state_bytes,omitempty"` InitialHeight int64 `protobuf:"varint,6,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"` @@ -27590,7 +29936,7 @@ type RequestInitChain struct { func (x *RequestInitChain) Reset() { *x = RequestInitChain{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[5] + mi := &file_tendermint_abci_types_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27604,7 +29950,7 @@ func (*RequestInitChain) ProtoMessage() {} // Deprecated: Use RequestInitChain.ProtoReflect.Descriptor instead. func (*RequestInitChain) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{5} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{4} } func (x *RequestInitChain) GetTime() *timestamppb.Timestamp { @@ -27621,7 +29967,7 @@ func (x *RequestInitChain) GetChainId() string { return "" } -func (x *RequestInitChain) GetConsensusParams() *ConsensusParams { +func (x *RequestInitChain) GetConsensusParams() *types.ConsensusParams { if x != nil { return x.ConsensusParams } @@ -27663,7 +30009,7 @@ type RequestQuery struct { func (x *RequestQuery) Reset() { *x = RequestQuery{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[6] + mi := &file_tendermint_abci_types_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27677,7 +30023,7 @@ func (*RequestQuery) ProtoMessage() {} // Deprecated: Use RequestQuery.ProtoReflect.Descriptor instead. func (*RequestQuery) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{6} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{5} } func (x *RequestQuery) GetData() []byte { @@ -27713,16 +30059,16 @@ type RequestBeginBlock struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Header *types.Header `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` - LastCommitInfo *LastCommitInfo `protobuf:"bytes,3,opt,name=last_commit_info,json=lastCommitInfo,proto3" json:"last_commit_info,omitempty"` - ByzantineValidators []*Evidence `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators,omitempty"` + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Header *types.Header `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` + LastCommitInfo *CommitInfo `protobuf:"bytes,3,opt,name=last_commit_info,json=lastCommitInfo,proto3" json:"last_commit_info,omitempty"` + ByzantineValidators []*Misbehavior `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators,omitempty"` } func (x *RequestBeginBlock) Reset() { *x = RequestBeginBlock{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[7] + mi := &file_tendermint_abci_types_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27736,7 +30082,7 @@ func (*RequestBeginBlock) ProtoMessage() {} // Deprecated: Use RequestBeginBlock.ProtoReflect.Descriptor instead. func (*RequestBeginBlock) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{7} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{6} } func (x *RequestBeginBlock) GetHash() []byte { @@ -27753,14 +30099,14 @@ func (x *RequestBeginBlock) GetHeader() *types.Header { return nil } -func (x *RequestBeginBlock) GetLastCommitInfo() *LastCommitInfo { +func (x *RequestBeginBlock) GetLastCommitInfo() *CommitInfo { if x != nil { return x.LastCommitInfo } return nil } -func (x *RequestBeginBlock) GetByzantineValidators() []*Evidence { +func (x *RequestBeginBlock) GetByzantineValidators() []*Misbehavior { if x != nil { return x.ByzantineValidators } @@ -27779,7 +30125,7 @@ type RequestCheckTx struct { func (x *RequestCheckTx) Reset() { *x = RequestCheckTx{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[8] + mi := &file_tendermint_abci_types_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27793,7 +30139,7 @@ func (*RequestCheckTx) ProtoMessage() {} // Deprecated: Use RequestCheckTx.ProtoReflect.Descriptor instead. func (*RequestCheckTx) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{8} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{7} } func (x *RequestCheckTx) GetTx() []byte { @@ -27821,7 +30167,7 @@ type RequestDeliverTx struct { func (x *RequestDeliverTx) Reset() { *x = RequestDeliverTx{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[9] + mi := &file_tendermint_abci_types_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27835,7 +30181,7 @@ func (*RequestDeliverTx) ProtoMessage() {} // Deprecated: Use RequestDeliverTx.ProtoReflect.Descriptor instead. func (*RequestDeliverTx) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{9} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{8} } func (x *RequestDeliverTx) GetTx() []byte { @@ -27856,7 +30202,7 @@ type RequestEndBlock struct { func (x *RequestEndBlock) Reset() { *x = RequestEndBlock{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[10] + mi := &file_tendermint_abci_types_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27870,7 +30216,7 @@ func (*RequestEndBlock) ProtoMessage() {} // Deprecated: Use RequestEndBlock.ProtoReflect.Descriptor instead. func (*RequestEndBlock) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{10} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{9} } func (x *RequestEndBlock) GetHeight() int64 { @@ -27889,7 +30235,7 @@ type RequestCommit struct { func (x *RequestCommit) Reset() { *x = RequestCommit{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[11] + mi := &file_tendermint_abci_types_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27903,7 +30249,7 @@ func (*RequestCommit) ProtoMessage() {} // Deprecated: Use RequestCommit.ProtoReflect.Descriptor instead. func (*RequestCommit) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{11} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{10} } // lists available snapshots @@ -27916,7 +30262,7 @@ type RequestListSnapshots struct { func (x *RequestListSnapshots) Reset() { *x = RequestListSnapshots{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[12] + mi := &file_tendermint_abci_types_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27930,7 +30276,7 @@ func (*RequestListSnapshots) ProtoMessage() {} // Deprecated: Use RequestListSnapshots.ProtoReflect.Descriptor instead. func (*RequestListSnapshots) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{12} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{11} } // offers a snapshot to the application @@ -27946,7 +30292,7 @@ type RequestOfferSnapshot struct { func (x *RequestOfferSnapshot) Reset() { *x = RequestOfferSnapshot{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[13] + mi := &file_tendermint_abci_types_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27960,7 +30306,7 @@ func (*RequestOfferSnapshot) ProtoMessage() {} // Deprecated: Use RequestOfferSnapshot.ProtoReflect.Descriptor instead. func (*RequestOfferSnapshot) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{13} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{12} } func (x *RequestOfferSnapshot) GetSnapshot() *Snapshot { @@ -27991,7 +30337,7 @@ type RequestLoadSnapshotChunk struct { func (x *RequestLoadSnapshotChunk) Reset() { *x = RequestLoadSnapshotChunk{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[14] + mi := &file_tendermint_abci_types_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28005,7 +30351,7 @@ func (*RequestLoadSnapshotChunk) ProtoMessage() {} // Deprecated: Use RequestLoadSnapshotChunk.ProtoReflect.Descriptor instead. func (*RequestLoadSnapshotChunk) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{14} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{13} } func (x *RequestLoadSnapshotChunk) GetHeight() uint64 { @@ -28043,7 +30389,7 @@ type RequestApplySnapshotChunk struct { func (x *RequestApplySnapshotChunk) Reset() { *x = RequestApplySnapshotChunk{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[15] + mi := &file_tendermint_abci_types_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28057,7 +30403,7 @@ func (*RequestApplySnapshotChunk) ProtoMessage() {} // Deprecated: Use RequestApplySnapshotChunk.ProtoReflect.Descriptor instead. func (*RequestApplySnapshotChunk) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{15} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{14} } func (x *RequestApplySnapshotChunk) GetIndex() uint32 { @@ -28081,6 +30427,194 @@ func (x *RequestApplySnapshotChunk) GetSender() string { return "" } +type RequestPrepareProposal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the modified transactions cannot exceed this size. + MaxTxBytes int64 `protobuf:"varint,1,opt,name=max_tx_bytes,json=maxTxBytes,proto3" json:"max_tx_bytes,omitempty"` + // txs is an array of transactions that will be included in a block, + // sent to the app for possible modifications. + Txs [][]byte `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"` + LocalLastCommit *ExtendedCommitInfo `protobuf:"bytes,3,opt,name=local_last_commit,json=localLastCommit,proto3" json:"local_last_commit,omitempty"` + Misbehavior []*Misbehavior `protobuf:"bytes,4,rep,name=misbehavior,proto3" json:"misbehavior,omitempty"` + Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` + Time *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` + NextValidatorsHash []byte `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"` + // address of the public key of the validator proposing the block. + ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` +} + +func (x *RequestPrepareProposal) Reset() { + *x = RequestPrepareProposal{} + if protoimpl.UnsafeEnabled { + mi := &file_tendermint_abci_types_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RequestPrepareProposal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequestPrepareProposal) ProtoMessage() {} + +// Deprecated: Use RequestPrepareProposal.ProtoReflect.Descriptor instead. +func (*RequestPrepareProposal) Descriptor() ([]byte, []int) { + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{15} +} + +func (x *RequestPrepareProposal) GetMaxTxBytes() int64 { + if x != nil { + return x.MaxTxBytes + } + return 0 +} + +func (x *RequestPrepareProposal) GetTxs() [][]byte { + if x != nil { + return x.Txs + } + return nil +} + +func (x *RequestPrepareProposal) GetLocalLastCommit() *ExtendedCommitInfo { + if x != nil { + return x.LocalLastCommit + } + return nil +} + +func (x *RequestPrepareProposal) GetMisbehavior() []*Misbehavior { + if x != nil { + return x.Misbehavior + } + return nil +} + +func (x *RequestPrepareProposal) GetHeight() int64 { + if x != nil { + return x.Height + } + return 0 +} + +func (x *RequestPrepareProposal) GetTime() *timestamppb.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (x *RequestPrepareProposal) GetNextValidatorsHash() []byte { + if x != nil { + return x.NextValidatorsHash + } + return nil +} + +func (x *RequestPrepareProposal) GetProposerAddress() []byte { + if x != nil { + return x.ProposerAddress + } + return nil +} + +type RequestProcessProposal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` + ProposedLastCommit *CommitInfo `protobuf:"bytes,2,opt,name=proposed_last_commit,json=proposedLastCommit,proto3" json:"proposed_last_commit,omitempty"` + Misbehavior []*Misbehavior `protobuf:"bytes,3,rep,name=misbehavior,proto3" json:"misbehavior,omitempty"` + // hash is the merkle root hash of the fields of the proposed block. + Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` + Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` + Time *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` + NextValidatorsHash []byte `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"` + // address of the public key of the original proposer of the block. + ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` +} + +func (x *RequestProcessProposal) Reset() { + *x = RequestProcessProposal{} + if protoimpl.UnsafeEnabled { + mi := &file_tendermint_abci_types_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RequestProcessProposal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequestProcessProposal) ProtoMessage() {} + +// Deprecated: Use RequestProcessProposal.ProtoReflect.Descriptor instead. +func (*RequestProcessProposal) Descriptor() ([]byte, []int) { + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{16} +} + +func (x *RequestProcessProposal) GetTxs() [][]byte { + if x != nil { + return x.Txs + } + return nil +} + +func (x *RequestProcessProposal) GetProposedLastCommit() *CommitInfo { + if x != nil { + return x.ProposedLastCommit + } + return nil +} + +func (x *RequestProcessProposal) GetMisbehavior() []*Misbehavior { + if x != nil { + return x.Misbehavior + } + return nil +} + +func (x *RequestProcessProposal) GetHash() []byte { + if x != nil { + return x.Hash + } + return nil +} + +func (x *RequestProcessProposal) GetHeight() int64 { + if x != nil { + return x.Height + } + return 0 +} + +func (x *RequestProcessProposal) GetTime() *timestamppb.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (x *RequestProcessProposal) GetNextValidatorsHash() []byte { + if x != nil { + return x.NextValidatorsHash + } + return nil +} + +func (x *RequestProcessProposal) GetProposerAddress() []byte { + if x != nil { + return x.ProposerAddress + } + return nil +} + type Response struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -28092,7 +30626,6 @@ type Response struct { // *Response_Echo // *Response_Flush // *Response_Info - // *Response_SetOption // *Response_InitChain // *Response_Query // *Response_BeginBlock @@ -28104,13 +30637,15 @@ type Response struct { // *Response_OfferSnapshot // *Response_LoadSnapshotChunk // *Response_ApplySnapshotChunk + // *Response_PrepareProposal + // *Response_ProcessProposal Value isResponse_Value `protobuf_oneof:"value"` } func (x *Response) Reset() { *x = Response{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[16] + mi := &file_tendermint_abci_types_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28124,7 +30659,7 @@ func (*Response) ProtoMessage() {} // Deprecated: Use Response.ProtoReflect.Descriptor instead. func (*Response) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{16} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{17} } func (x *Response) GetValue() isResponse_Value { @@ -28162,13 +30697,6 @@ func (x *Response) GetInfo() *ResponseInfo { return nil } -func (x *Response) GetSetOption() *ResponseSetOption { - if x, ok := x.GetValue().(*Response_SetOption); ok { - return x.SetOption - } - return nil -} - func (x *Response) GetInitChain() *ResponseInitChain { if x, ok := x.GetValue().(*Response_InitChain); ok { return x.InitChain @@ -28246,6 +30774,20 @@ func (x *Response) GetApplySnapshotChunk() *ResponseApplySnapshotChunk { return nil } +func (x *Response) GetPrepareProposal() *ResponsePrepareProposal { + if x, ok := x.GetValue().(*Response_PrepareProposal); ok { + return x.PrepareProposal + } + return nil +} + +func (x *Response) GetProcessProposal() *ResponseProcessProposal { + if x, ok := x.GetValue().(*Response_ProcessProposal); ok { + return x.ProcessProposal + } + return nil +} + type isResponse_Value interface { isResponse_Value() } @@ -28266,10 +30808,6 @@ type Response_Info struct { Info *ResponseInfo `protobuf:"bytes,4,opt,name=info,proto3,oneof"` } -type Response_SetOption struct { - SetOption *ResponseSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,proto3,oneof"` -} - type Response_InitChain struct { InitChain *ResponseInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,proto3,oneof"` } @@ -28314,6 +30852,14 @@ type Response_ApplySnapshotChunk struct { ApplySnapshotChunk *ResponseApplySnapshotChunk `protobuf:"bytes,16,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof"` } +type Response_PrepareProposal struct { + PrepareProposal *ResponsePrepareProposal `protobuf:"bytes,17,opt,name=prepare_proposal,json=prepareProposal,proto3,oneof"` +} + +type Response_ProcessProposal struct { + ProcessProposal *ResponseProcessProposal `protobuf:"bytes,18,opt,name=process_proposal,json=processProposal,proto3,oneof"` +} + func (*Response_Exception) isResponse_Value() {} func (*Response_Echo) isResponse_Value() {} @@ -28322,8 +30868,6 @@ func (*Response_Flush) isResponse_Value() {} func (*Response_Info) isResponse_Value() {} -func (*Response_SetOption) isResponse_Value() {} - func (*Response_InitChain) isResponse_Value() {} func (*Response_Query) isResponse_Value() {} @@ -28346,6 +30890,10 @@ func (*Response_LoadSnapshotChunk) isResponse_Value() {} func (*Response_ApplySnapshotChunk) isResponse_Value() {} +func (*Response_PrepareProposal) isResponse_Value() {} + +func (*Response_ProcessProposal) isResponse_Value() {} + // nondeterministic type ResponseException struct { state protoimpl.MessageState @@ -28358,7 +30906,7 @@ type ResponseException struct { func (x *ResponseException) Reset() { *x = ResponseException{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[17] + mi := &file_tendermint_abci_types_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28372,7 +30920,7 @@ func (*ResponseException) ProtoMessage() {} // Deprecated: Use ResponseException.ProtoReflect.Descriptor instead. func (*ResponseException) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{17} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{18} } func (x *ResponseException) GetError() string { @@ -28393,7 +30941,7 @@ type ResponseEcho struct { func (x *ResponseEcho) Reset() { *x = ResponseEcho{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[18] + mi := &file_tendermint_abci_types_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28407,7 +30955,7 @@ func (*ResponseEcho) ProtoMessage() {} // Deprecated: Use ResponseEcho.ProtoReflect.Descriptor instead. func (*ResponseEcho) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{18} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{19} } func (x *ResponseEcho) GetMessage() string { @@ -28426,7 +30974,7 @@ type ResponseFlush struct { func (x *ResponseFlush) Reset() { *x = ResponseFlush{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[19] + mi := &file_tendermint_abci_types_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28440,7 +30988,7 @@ func (*ResponseFlush) ProtoMessage() {} // Deprecated: Use ResponseFlush.ProtoReflect.Descriptor instead. func (*ResponseFlush) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{19} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{20} } type ResponseInfo struct { @@ -28458,7 +31006,7 @@ type ResponseInfo struct { func (x *ResponseInfo) Reset() { *x = ResponseInfo{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[20] + mi := &file_tendermint_abci_types_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28472,7 +31020,7 @@ func (*ResponseInfo) ProtoMessage() {} // Deprecated: Use ResponseInfo.ProtoReflect.Descriptor instead. func (*ResponseInfo) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{20} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{21} } func (x *ResponseInfo) GetData() string { @@ -28507,60 +31055,7 @@ func (x *ResponseInfo) GetLastBlockAppHash() []byte { if x != nil { return x.LastBlockAppHash } - return nil -} - -// nondeterministic -type ResponseSetOption struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - // bytes data = 2; - Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` - Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` -} - -func (x *ResponseSetOption) Reset() { - *x = ResponseSetOption{} - if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResponseSetOption) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResponseSetOption) ProtoMessage() {} - -// Deprecated: Use ResponseSetOption.ProtoReflect.Descriptor instead. -func (*ResponseSetOption) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{21} -} - -func (x *ResponseSetOption) GetCode() uint32 { - if x != nil { - return x.Code - } - return 0 -} - -func (x *ResponseSetOption) GetLog() string { - if x != nil { - return x.Log - } - return "" -} - -func (x *ResponseSetOption) GetInfo() string { - if x != nil { - return x.Info - } - return "" + return nil } type ResponseInitChain struct { @@ -28568,9 +31063,9 @@ type ResponseInitChain struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ConsensusParams *ConsensusParams `protobuf:"bytes,1,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"` - Validators []*ValidatorUpdate `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"` - AppHash []byte `protobuf:"bytes,3,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` + ConsensusParams *types.ConsensusParams `protobuf:"bytes,1,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"` + Validators []*ValidatorUpdate `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"` + AppHash []byte `protobuf:"bytes,3,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` } func (x *ResponseInitChain) Reset() { @@ -28593,7 +31088,7 @@ func (*ResponseInitChain) Descriptor() ([]byte, []int) { return file_tendermint_abci_types_proto_rawDescGZIP(), []int{22} } -func (x *ResponseInitChain) GetConsensusParams() *ConsensusParams { +func (x *ResponseInitChain) GetConsensusParams() *types.ConsensusParams { if x != nil { return x.ConsensusParams } @@ -28762,6 +31257,11 @@ type ResponseCheckTx struct { GasUsed int64 `protobuf:"varint,6,opt,name=gas_used,proto3" json:"gas_used,omitempty"` Events []*Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` Codespace string `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"` + Sender string `protobuf:"bytes,9,opt,name=sender,proto3" json:"sender,omitempty"` + Priority int64 `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"` + // mempool_error is set by Tendermint. + // ABCI applictions creating a ResponseCheckTX should not set mempool_error. + MempoolError string `protobuf:"bytes,11,opt,name=mempool_error,json=mempoolError,proto3" json:"mempool_error,omitempty"` } func (x *ResponseCheckTx) Reset() { @@ -28840,6 +31340,27 @@ func (x *ResponseCheckTx) GetCodespace() string { return "" } +func (x *ResponseCheckTx) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *ResponseCheckTx) GetPriority() int64 { + if x != nil { + return x.Priority + } + return 0 +} + +func (x *ResponseCheckTx) GetMempoolError() string { + if x != nil { + return x.MempoolError + } + return "" +} + type ResponseDeliverTx struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -28851,7 +31372,7 @@ type ResponseDeliverTx struct { Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` // nondeterministic GasWanted int64 `protobuf:"varint,5,opt,name=gas_wanted,proto3" json:"gas_wanted,omitempty"` GasUsed int64 `protobuf:"varint,6,opt,name=gas_used,proto3" json:"gas_used,omitempty"` - Events []*Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` + Events []*Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` // nondeterministic Codespace string `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"` } @@ -28936,9 +31457,9 @@ type ResponseEndBlock struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ValidatorUpdates []*ValidatorUpdate `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates,omitempty"` - ConsensusParamUpdates *ConsensusParams `protobuf:"bytes,2,opt,name=consensus_param_updates,json=consensusParamUpdates,proto3" json:"consensus_param_updates,omitempty"` - Events []*Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` + ValidatorUpdates []*ValidatorUpdate `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates,omitempty"` + ConsensusParamUpdates *types.ConsensusParams `protobuf:"bytes,2,opt,name=consensus_param_updates,json=consensusParamUpdates,proto3" json:"consensus_param_updates,omitempty"` + Events []*Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` } func (x *ResponseEndBlock) Reset() { @@ -28968,7 +31489,7 @@ func (x *ResponseEndBlock) GetValidatorUpdates() []*ValidatorUpdate { return nil } -func (x *ResponseEndBlock) GetConsensusParamUpdates() *ConsensusParams { +func (x *ResponseEndBlock) GetConsensusParamUpdates() *types.ConsensusParams { if x != nil { return x.ConsensusParamUpdates } @@ -29182,21 +31703,16 @@ func (x *ResponseApplySnapshotChunk) GetRejectSenders() []string { return nil } -// ConsensusParams contains all consensus-relevant parameters -// that can be adjusted by the abci app -type ConsensusParams struct { +type ResponsePrepareProposal struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Block *BlockParams `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - Evidence *types.EvidenceParams `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence,omitempty"` - Validator *types.ValidatorParams `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"` - Version *types.VersionParams `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` + Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` } -func (x *ConsensusParams) Reset() { - *x = ConsensusParams{} +func (x *ResponsePrepareProposal) Reset() { + *x = ResponsePrepareProposal{} if protoimpl.UnsafeEnabled { mi := &file_tendermint_abci_types_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -29204,128 +31720,142 @@ func (x *ConsensusParams) Reset() { } } -func (x *ConsensusParams) String() string { +func (x *ResponsePrepareProposal) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ConsensusParams) ProtoMessage() {} +func (*ResponsePrepareProposal) ProtoMessage() {} -// Deprecated: Use ConsensusParams.ProtoReflect.Descriptor instead. -func (*ConsensusParams) Descriptor() ([]byte, []int) { +// Deprecated: Use ResponsePrepareProposal.ProtoReflect.Descriptor instead. +func (*ResponsePrepareProposal) Descriptor() ([]byte, []int) { return file_tendermint_abci_types_proto_rawDescGZIP(), []int{33} } -func (x *ConsensusParams) GetBlock() *BlockParams { +func (x *ResponsePrepareProposal) GetTxs() [][]byte { if x != nil { - return x.Block + return x.Txs } return nil } -func (x *ConsensusParams) GetEvidence() *types.EvidenceParams { - if x != nil { - return x.Evidence - } - return nil +type ResponseProcessProposal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status ResponseProcessProposal_ProposalStatus `protobuf:"varint,1,opt,name=status,proto3,enum=tendermint.abci.ResponseProcessProposal_ProposalStatus" json:"status,omitempty"` } -func (x *ConsensusParams) GetValidator() *types.ValidatorParams { - if x != nil { - return x.Validator +func (x *ResponseProcessProposal) Reset() { + *x = ResponseProcessProposal{} + if protoimpl.UnsafeEnabled { + mi := &file_tendermint_abci_types_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *ConsensusParams) GetVersion() *types.VersionParams { +func (x *ResponseProcessProposal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResponseProcessProposal) ProtoMessage() {} + +// Deprecated: Use ResponseProcessProposal.ProtoReflect.Descriptor instead. +func (*ResponseProcessProposal) Descriptor() ([]byte, []int) { + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{34} +} + +func (x *ResponseProcessProposal) GetStatus() ResponseProcessProposal_ProposalStatus { if x != nil { - return x.Version + return x.Status } - return nil + return ResponseProcessProposal_UNKNOWN } -// BlockParams contains limits on the block size. -type BlockParams struct { +type CommitInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Note: must be greater than 0 - MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` - // Note: must be greater or equal to -1 - MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"` + Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"` + Votes []*VoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` } -func (x *BlockParams) Reset() { - *x = BlockParams{} +func (x *CommitInfo) Reset() { + *x = CommitInfo{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[34] + mi := &file_tendermint_abci_types_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *BlockParams) String() string { +func (x *CommitInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockParams) ProtoMessage() {} +func (*CommitInfo) ProtoMessage() {} -// Deprecated: Use BlockParams.ProtoReflect.Descriptor instead. -func (*BlockParams) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{34} +// Deprecated: Use CommitInfo.ProtoReflect.Descriptor instead. +func (*CommitInfo) Descriptor() ([]byte, []int) { + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{35} } -func (x *BlockParams) GetMaxBytes() int64 { +func (x *CommitInfo) GetRound() int32 { if x != nil { - return x.MaxBytes + return x.Round } return 0 } -func (x *BlockParams) GetMaxGas() int64 { +func (x *CommitInfo) GetVotes() []*VoteInfo { if x != nil { - return x.MaxGas + return x.Votes } - return 0 + return nil } -type LastCommitInfo struct { +type ExtendedCommitInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"` - Votes []*VoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` + // The round at which the block proposer decided in the previous height. + Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"` + // List of validators' addresses in the last validator set with their voting + // information, including vote extensions. + Votes []*ExtendedVoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` } -func (x *LastCommitInfo) Reset() { - *x = LastCommitInfo{} +func (x *ExtendedCommitInfo) Reset() { + *x = ExtendedCommitInfo{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[35] + mi := &file_tendermint_abci_types_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *LastCommitInfo) String() string { +func (x *ExtendedCommitInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LastCommitInfo) ProtoMessage() {} +func (*ExtendedCommitInfo) ProtoMessage() {} -// Deprecated: Use LastCommitInfo.ProtoReflect.Descriptor instead. -func (*LastCommitInfo) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{35} +// Deprecated: Use ExtendedCommitInfo.ProtoReflect.Descriptor instead. +func (*ExtendedCommitInfo) Descriptor() ([]byte, []int) { + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{36} } -func (x *LastCommitInfo) GetRound() int32 { +func (x *ExtendedCommitInfo) GetRound() int32 { if x != nil { return x.Round } return 0 } -func (x *LastCommitInfo) GetVotes() []*VoteInfo { +func (x *ExtendedCommitInfo) GetVotes() []*ExtendedVoteInfo { if x != nil { return x.Votes } @@ -29347,7 +31877,7 @@ type Event struct { func (x *Event) Reset() { *x = Event{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[36] + mi := &file_tendermint_abci_types_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -29361,7 +31891,7 @@ func (*Event) ProtoMessage() {} // Deprecated: Use Event.ProtoReflect.Descriptor instead. func (*Event) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{36} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{37} } func (x *Event) GetType_() string { @@ -29384,15 +31914,15 @@ type EventAttribute struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Index bool `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` // nondeterministic } func (x *EventAttribute) Reset() { *x = EventAttribute{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[37] + mi := &file_tendermint_abci_types_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -29406,21 +31936,21 @@ func (*EventAttribute) ProtoMessage() {} // Deprecated: Use EventAttribute.ProtoReflect.Descriptor instead. func (*EventAttribute) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{37} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{38} } -func (x *EventAttribute) GetKey() []byte { +func (x *EventAttribute) GetKey() string { if x != nil { return x.Key } - return nil + return "" } -func (x *EventAttribute) GetValue() []byte { +func (x *EventAttribute) GetValue() string { if x != nil { return x.Value } - return nil + return "" } func (x *EventAttribute) GetIndex() bool { @@ -29447,7 +31977,7 @@ type TxResult struct { func (x *TxResult) Reset() { *x = TxResult{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[38] + mi := &file_tendermint_abci_types_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -29461,7 +31991,7 @@ func (*TxResult) ProtoMessage() {} // Deprecated: Use TxResult.ProtoReflect.Descriptor instead. func (*TxResult) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{38} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{39} } func (x *TxResult) GetHeight() int64 { @@ -29506,7 +32036,7 @@ type Validator struct { func (x *Validator) Reset() { *x = Validator{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[39] + mi := &file_tendermint_abci_types_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -29520,7 +32050,7 @@ func (*Validator) ProtoMessage() {} // Deprecated: Use Validator.ProtoReflect.Descriptor instead. func (*Validator) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{39} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{40} } func (x *Validator) GetAddress() []byte { @@ -29550,7 +32080,7 @@ type ValidatorUpdate struct { func (x *ValidatorUpdate) Reset() { *x = ValidatorUpdate{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[40] + mi := &file_tendermint_abci_types_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -29564,7 +32094,7 @@ func (*ValidatorUpdate) ProtoMessage() {} // Deprecated: Use ValidatorUpdate.ProtoReflect.Descriptor instead. func (*ValidatorUpdate) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{40} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{41} } func (x *ValidatorUpdate) GetPubKey() *crypto.PublicKey { @@ -29594,7 +32124,7 @@ type VoteInfo struct { func (x *VoteInfo) Reset() { *x = VoteInfo{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[41] + mi := &file_tendermint_abci_types_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -29608,7 +32138,7 @@ func (*VoteInfo) ProtoMessage() {} // Deprecated: Use VoteInfo.ProtoReflect.Descriptor instead. func (*VoteInfo) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{41} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{42} } func (x *VoteInfo) GetValidator() *Validator { @@ -29625,12 +32155,63 @@ func (x *VoteInfo) GetSignedLastBlock() bool { return false } -type Evidence struct { +type ExtendedVoteInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Validator *Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"` + SignedLastBlock bool `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock,proto3" json:"signed_last_block,omitempty"` + VoteExtension []byte `protobuf:"bytes,3,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"` // Reserved for future use +} + +func (x *ExtendedVoteInfo) Reset() { + *x = ExtendedVoteInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_tendermint_abci_types_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExtendedVoteInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExtendedVoteInfo) ProtoMessage() {} + +// Deprecated: Use ExtendedVoteInfo.ProtoReflect.Descriptor instead. +func (*ExtendedVoteInfo) Descriptor() ([]byte, []int) { + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{43} +} + +func (x *ExtendedVoteInfo) GetValidator() *Validator { + if x != nil { + return x.Validator + } + return nil +} + +func (x *ExtendedVoteInfo) GetSignedLastBlock() bool { + if x != nil { + return x.SignedLastBlock + } + return false +} + +func (x *ExtendedVoteInfo) GetVoteExtension() []byte { + if x != nil { + return x.VoteExtension + } + return nil +} + +type Misbehavior struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Type_ EvidenceType `protobuf:"varint,1,opt,name=type,proto3,enum=tendermint.abci.EvidenceType" json:"type,omitempty"` + Type_ MisbehaviorType `protobuf:"varint,1,opt,name=type,proto3,enum=tendermint.abci.MisbehaviorType" json:"type,omitempty"` // The offending validator Validator *Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"` // The height when the offense occurred @@ -29643,55 +32224,55 @@ type Evidence struct { TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"` } -func (x *Evidence) Reset() { - *x = Evidence{} +func (x *Misbehavior) Reset() { + *x = Misbehavior{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[42] + mi := &file_tendermint_abci_types_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Evidence) String() string { +func (x *Misbehavior) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Evidence) ProtoMessage() {} +func (*Misbehavior) ProtoMessage() {} -// Deprecated: Use Evidence.ProtoReflect.Descriptor instead. -func (*Evidence) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{42} +// Deprecated: Use Misbehavior.ProtoReflect.Descriptor instead. +func (*Misbehavior) Descriptor() ([]byte, []int) { + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{44} } -func (x *Evidence) GetType_() EvidenceType { +func (x *Misbehavior) GetType_() MisbehaviorType { if x != nil { return x.Type_ } - return EvidenceType_UNKNOWN + return MisbehaviorType_UNKNOWN } -func (x *Evidence) GetValidator() *Validator { +func (x *Misbehavior) GetValidator() *Validator { if x != nil { return x.Validator } return nil } -func (x *Evidence) GetHeight() int64 { +func (x *Misbehavior) GetHeight() int64 { if x != nil { return x.Height } return 0 } -func (x *Evidence) GetTime() *timestamppb.Timestamp { +func (x *Misbehavior) GetTime() *timestamppb.Timestamp { if x != nil { return x.Time } return nil } -func (x *Evidence) GetTotalVotingPower() int64 { +func (x *Misbehavior) GetTotalVotingPower() int64 { if x != nil { return x.TotalVotingPower } @@ -29713,7 +32294,7 @@ type Snapshot struct { func (x *Snapshot) Reset() { *x = Snapshot{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_abci_types_proto_msgTypes[43] + mi := &file_tendermint_abci_types_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -29727,7 +32308,7 @@ func (*Snapshot) ProtoMessage() {} // Deprecated: Use Snapshot.ProtoReflect.Descriptor instead. func (*Snapshot) Descriptor() ([]byte, []int) { - return file_tendermint_abci_types_proto_rawDescGZIP(), []int{43} + return file_tendermint_abci_types_proto_rawDescGZIP(), []int{45} } func (x *Snapshot) GetHeight() uint64 { @@ -29782,7 +32363,7 @@ var file_tendermint_abci_types_proto_rawDesc = []byte{ 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 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, 0x22, - 0x91, 0x08, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x65, + 0xff, 0x08, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x65, 0x63, 0x68, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x63, 0x68, 0x6f, 0x48, 0x00, 0x52, 0x04, 0x65, 0x63, 0x68, 0x6f, 0x12, @@ -29792,560 +32373,642 @@ var file_tendermint_abci_types_proto_rawDesc = []byte{ 0x05, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x12, 0x32, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x42, 0x0a, 0x0a, 0x73, 0x65, - 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, - 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x48, 0x00, 0x52, 0x09, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, - 0x0a, 0x0a, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x69, 0x74, - 0x43, 0x68, 0x61, 0x69, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, - 0x69, 0x6e, 0x12, 0x35, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, - 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x48, 0x00, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x45, 0x0a, 0x0b, 0x62, 0x65, 0x67, - 0x69, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x42, 0x0a, 0x0a, 0x69, 0x6e, + 0x69, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, - 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x12, 0x3c, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x74, 0x78, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x68, 0x65, 0x63, - 0x6b, 0x54, 0x78, 0x48, 0x00, 0x52, 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x12, 0x42, - 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x78, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x69, - 0x76, 0x65, 0x72, 0x54, 0x78, 0x48, 0x00, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, - 0x54, 0x78, 0x12, 0x3f, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, - 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x12, 0x38, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, - 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x4e, 0x0a, - 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, - 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0d, - 0x6c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x12, 0x4e, 0x0a, - 0x0e, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, - 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, - 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x48, 0x00, 0x52, 0x0d, - 0x6f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x5b, 0x0a, - 0x13, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x63, - 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, 0x65, 0x6e, + 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, + 0x6e, 0x48, 0x00, 0x52, 0x09, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x35, + 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x05, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x45, 0x0a, 0x0b, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, - 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x11, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, - 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x5e, 0x0a, 0x14, 0x61, 0x70, - 0x70, 0x6c, 0x79, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x63, 0x68, 0x75, - 0x6e, 0x6b, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, - 0x68, 0x75, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x12, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, - 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0x27, 0x0a, 0x0b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x63, - 0x68, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x0e, 0x0a, 0x0c, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x22, 0x6d, 0x0a, 0x0b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x32, - 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x0a, 0x10, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xcb, 0x02, 0x0a, 0x10, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x38, 0x0a, 0x04, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x08, 0xc8, 0xde, 0x1f, 0x00, 0x90, 0xdf, 0x1f, 0x01, - 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, - 0x64, 0x12, 0x4b, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5f, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, - 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x43, 0x6f, - 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0f, 0x63, - 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x46, - 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x61, 0x62, 0x63, 0x69, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x70, 0x70, 0x5f, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0d, 0x61, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x25, - 0x0a, 0x0e, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x48, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x64, 0x0a, 0x0c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, - 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x22, 0x84, 0x02, 0x0a, 0x11, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x36, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, - 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x4f, 0x0a, - 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x66, - 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, - 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0e, - 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x52, - 0x0a, 0x14, 0x62, 0x79, 0x7a, 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, - 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x45, - 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x13, 0x62, - 0x79, 0x7a, 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, - 0x72, 0x73, 0x22, 0x52, 0x0a, 0x0e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x68, 0x65, - 0x63, 0x6b, 0x54, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x02, 0x74, 0x78, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x61, 0x62, 0x63, 0x69, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x22, 0x0a, 0x10, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x78, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x78, 0x22, 0x29, 0x0a, 0x0f, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x0a, - 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x22, 0x68, - 0x0a, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, - 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, - 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, - 0x68, 0x6f, 0x74, 0x52, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x19, 0x0a, - 0x08, 0x61, 0x70, 0x70, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x61, 0x70, 0x70, 0x48, 0x61, 0x73, 0x68, 0x22, 0x60, 0x0a, 0x18, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, - 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x22, 0x5f, 0x0a, 0x19, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, - 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x63, 0x68, - 0x75, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0xe5, 0x08, 0x0a, 0x08, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x09, 0x65, 0x78, 0x63, 0x65, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x65, - 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x48, - 0x00, 0x52, 0x09, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x04, - 0x65, 0x63, 0x68, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x6e, - 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x45, 0x63, 0x68, 0x6f, 0x48, 0x00, 0x52, 0x04, 0x65, 0x63, 0x68, - 0x6f, 0x12, 0x36, 0x0a, 0x05, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, - 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x46, 0x6c, 0x75, 0x73, 0x68, - 0x48, 0x00, 0x52, 0x05, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x12, 0x33, 0x0a, 0x04, 0x69, 0x6e, 0x66, - 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x75, 0x65, 0x73, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x00, + 0x52, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3c, 0x0a, 0x08, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x74, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, + 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x48, + 0x00, 0x52, 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x12, 0x42, 0x0a, 0x0a, 0x64, 0x65, + 0x6c, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, + 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, + 0x78, 0x48, 0x00, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x12, 0x3f, + 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, + 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, + 0x38, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, + 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x48, + 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x4e, 0x0a, 0x0e, 0x6c, 0x69, 0x73, + 0x74, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, + 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, + 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0d, 0x6c, 0x69, 0x73, 0x74, + 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x12, 0x4e, 0x0a, 0x0e, 0x6f, 0x66, 0x66, + 0x65, 0x72, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, + 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x66, 0x66, 0x65, 0x72, + 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x6f, 0x66, 0x66, 0x65, + 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x5b, 0x0a, 0x13, 0x6c, 0x6f, 0x61, + 0x64, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, + 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, + 0x6b, 0x48, 0x00, 0x52, 0x11, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, + 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x5e, 0x0a, 0x14, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, + 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, + 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x70, + 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, + 0x48, 0x00, 0x52, 0x12, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, + 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x54, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, + 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, + 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, + 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x72, 0x65, + 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x54, 0x0a, 0x10, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, + 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x48, + 0x00, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x04, 0x08, 0x04, 0x10, + 0x05, 0x22, 0x27, 0x0a, 0x0b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x63, 0x68, 0x6f, + 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x22, 0x90, 0x01, 0x0a, 0x0b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x32, 0x70, + 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, + 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x62, + 0x63, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x61, 0x62, 0x63, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xcc, 0x02, + 0x0a, 0x10, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, + 0x69, 0x6e, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x08, 0xc8, 0xde, + 0x1f, 0x00, 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x73, 0x65, + 0x6e, 0x73, 0x75, 0x73, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x46, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, + 0x00, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x26, 0x0a, + 0x0f, 0x61, 0x70, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, + 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x64, 0x0a, 0x0c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, + 0x70, 0x72, 0x6f, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x70, 0x72, 0x6f, + 0x76, 0x65, 0x22, 0x83, 0x02, 0x0a, 0x11, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x65, + 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x36, 0x0a, 0x06, + 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x68, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x12, 0x4b, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, + 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x04, 0xc8, 0xde, 0x1f, + 0x00, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x55, 0x0a, 0x14, 0x62, 0x79, 0x7a, 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, + 0x69, 0x2e, 0x4d, 0x69, 0x73, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x42, 0x04, 0xc8, + 0xde, 0x1f, 0x00, 0x52, 0x13, 0x62, 0x79, 0x7a, 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x22, 0x52, 0x0a, 0x0e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x78, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x78, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x54, 0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x22, 0x0a, 0x10, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, + 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x78, + 0x22, 0x29, 0x0a, 0x0f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x0f, 0x0a, 0x0d, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x16, 0x0a, 0x14, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, + 0x68, 0x6f, 0x74, 0x73, 0x22, 0x68, 0x0a, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, + 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x35, 0x0a, 0x08, + 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, + 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, + 0x68, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x70, 0x70, 0x48, 0x61, 0x73, 0x68, 0x22, 0x60, + 0x0a, 0x18, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, + 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x68, + 0x75, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, + 0x22, 0x5f, 0x0a, 0x19, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x14, 0x0a, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x22, 0x98, 0x03, 0x0a, 0x16, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x65, + 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x20, 0x0a, 0x0c, + 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x54, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x10, + 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x74, 0x78, 0x73, + 0x12, 0x55, 0x0a, 0x11, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4c, 0x61, 0x73, + 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x6d, 0x69, 0x73, 0x62, 0x65, + 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x4d, + 0x69, 0x73, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, + 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x12, 0x16, 0x0a, + 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, + 0x08, 0xc8, 0xde, 0x1f, 0x00, 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, + 0x30, 0x0a, 0x14, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x6e, + 0x65, 0x78, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x88, 0x03, 0x0a, + 0x16, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x74, 0x78, 0x73, 0x12, 0x53, 0x0a, 0x14, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x12, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x65, 0x64, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x44, + 0x0a, 0x0b, 0x6d, 0x69, 0x73, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, + 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x4d, 0x69, 0x73, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, + 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x62, 0x65, 0x68, 0x61, + 0x76, 0x69, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x12, 0x38, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x08, 0xc8, 0xde, 0x1f, 0x00, + 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6e, 0x65, + 0x78, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x5f, 0x68, 0x61, + 0x73, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x6e, 0x65, 0x78, 0x74, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x29, 0x0a, 0x10, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xd4, 0x09, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x09, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x43, - 0x0a, 0x0a, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, + 0x73, 0x65, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x65, + 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x04, 0x65, 0x63, 0x68, 0x6f, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, + 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x45, 0x63, 0x68, 0x6f, 0x48, 0x00, 0x52, 0x04, 0x65, 0x63, 0x68, 0x6f, 0x12, 0x36, 0x0a, + 0x05, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x48, 0x00, 0x52, 0x05, + 0x66, 0x6c, 0x75, 0x73, 0x68, 0x12, 0x33, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, + 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x43, 0x0a, 0x0a, 0x69, 0x6e, + 0x69, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, + 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, + 0x69, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, + 0x36, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, + 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, + 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x46, 0x0a, 0x0b, 0x62, 0x65, 0x67, 0x69, 0x6e, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, + 0x3d, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x74, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, + 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x54, 0x78, 0x48, 0x00, 0x52, 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x12, 0x43, + 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x65, 0x74, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x0a, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x69, - 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, - 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x69, - 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x36, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, - 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x12, 0x46, 0x0a, 0x0b, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, + 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x65, 0x6c, + 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x48, 0x00, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, + 0x72, 0x54, 0x78, 0x12, 0x40, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, + 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6e, 0x64, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x39, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x42, 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x65, - 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3d, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, - 0x6b, 0x5f, 0x74, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, - 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x48, 0x00, 0x52, 0x07, - 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x12, 0x43, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x69, 0x76, - 0x65, 0x72, 0x5f, 0x74, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x65, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x12, 0x4f, 0x0a, 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, + 0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, + 0x48, 0x00, 0x52, 0x0d, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, + 0x73, 0x12, 0x4f, 0x0a, 0x0e, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, + 0x68, 0x6f, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, + 0x74, 0x48, 0x00, 0x52, 0x0d, 0x6f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, + 0x6f, 0x74, 0x12, 0x5c, 0x0a, 0x13, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, + 0x68, 0x6f, 0x74, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, + 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, + 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x11, 0x6c, + 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, + 0x12, 0x5f, 0x0a, 0x14, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, + 0x6f, 0x74, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, + 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, + 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, + 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x12, 0x61, + 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, + 0x6b, 0x12, 0x55, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x5f, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x48, - 0x00, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x12, 0x40, 0x0a, 0x09, - 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, - 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x39, - 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x55, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, + 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x0f, + 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, + 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x29, + 0x0a, 0x11, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x28, 0x0a, 0x0c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x45, 0x63, 0x68, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x46, + 0x6c, 0x75, 0x73, 0x68, 0x22, 0xb8, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x12, 0x2d, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x61, + 0x70, 0x70, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x6c, + 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x70, 0x70, 0x48, 0x61, 0x73, 0x68, 0x22, + 0xc4, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x69, 0x74, + 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, + 0x75, 0x73, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x12, 0x46, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, + 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x61, + 0x70, 0x70, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, + 0x70, 0x70, 0x48, 0x61, 0x73, 0x68, 0x22, 0xf7, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x6c, 0x6f, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x12, + 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, + 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x38, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x6f, 0x70, 0x73, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, + 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x4f, 0x70, 0x73, + 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x4f, 0x70, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x22, 0x5e, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x65, 0x67, 0x69, + 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x48, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, + 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x18, + 0xc8, 0xde, 0x1f, 0x00, 0xea, 0xde, 0x1f, 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2c, 0x6f, + 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x22, 0xdc, 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x54, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, + 0x6c, 0x6f, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x12, + 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, + 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x77, 0x61, 0x6e, 0x74, 0x65, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x77, 0x61, 0x6e, 0x74, + 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x12, 0x48, + 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, - 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x48, - 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x4f, 0x0a, 0x0e, 0x6c, 0x69, 0x73, - 0x74, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, - 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0d, 0x6c, 0x69, 0x73, - 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x12, 0x4f, 0x0a, 0x0e, 0x6f, 0x66, - 0x66, 0x65, 0x72, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x0e, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4f, 0x66, 0x66, - 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x6f, 0x66, - 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x5c, 0x0a, 0x13, 0x6c, - 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x63, 0x68, 0x75, - 0x6e, 0x6b, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, - 0x68, 0x75, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x11, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, - 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x5f, 0x0a, 0x14, 0x61, 0x70, 0x70, - 0x6c, 0x79, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x63, 0x68, 0x75, 0x6e, - 0x6b, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, - 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, - 0x68, 0x75, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x12, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, - 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0x29, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x45, - 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x28, - 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x45, 0x63, 0x68, 0x6f, 0x12, 0x18, - 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x22, 0xb8, 0x01, 0x0a, 0x0c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x5f, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, - 0x70, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, - 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2d, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x70, 0x70, - 0x48, 0x61, 0x73, 0x68, 0x22, 0x4d, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x53, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, + 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x18, 0xc8, 0xde, 0x1f, 0x00, 0xea, 0xde, 0x1f, 0x10, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2c, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, + 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x64, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, + 0x6d, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x70, 0x6f, 0x6f, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0x85, 0x02, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x65, 0x6c, 0x69, + 0x76, 0x65, 0x72, 0x54, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, - 0x6e, 0x66, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x4b, 0x0a, 0x10, 0x63, 0x6f, 0x6e, - 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, - 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x46, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, - 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x04, 0xc8, 0xde, - 0x1f, 0x00, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x19, - 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x07, 0x61, 0x70, 0x70, 0x48, 0x61, 0x73, 0x68, 0x22, 0xf7, 0x01, 0x0a, 0x0d, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, - 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, - 0x67, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x6f, 0x70, 0x73, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, - 0x69, 0x6e, 0x74, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x6f, 0x66, - 0x4f, 0x70, 0x73, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x4f, 0x70, 0x73, 0x12, 0x16, 0x0a, - 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x22, 0x5e, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, - 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x48, 0x0a, 0x06, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x65, 0x6e, 0x64, - 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x42, 0x18, 0xc8, 0xde, 0x1f, 0x00, 0xea, 0xde, 0x1f, 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x2c, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x06, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x22, 0x83, 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, - 0x67, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x77, 0x61, 0x6e, - 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x77, - 0x61, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, - 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, - 0x64, 0x12, 0x48, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, - 0x62, 0x63, 0x69, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x18, 0xc8, 0xde, 0x1f, 0x00, 0xea, - 0xde, 0x1f, 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2c, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, - 0x70, 0x74, 0x79, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, - 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x85, 0x02, 0x0a, 0x11, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x12, - 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, - 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, - 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x77, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x77, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x1a, 0x0a, - 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x12, 0x48, 0x0a, 0x06, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x65, 0x6e, 0x64, - 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x42, 0x18, 0xc8, 0xde, 0x1f, 0x00, 0xea, 0xde, 0x1f, 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x2c, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x06, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x22, 0x8b, 0x02, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x45, 0x6e, - 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x53, 0x0a, 0x11, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x6f, 0x72, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, - 0x62, 0x63, 0x69, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x17, 0x63, - 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, - 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x43, - 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x15, - 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x48, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x18, 0xc8, - 0xde, 0x1f, 0x00, 0xea, 0xde, 0x1f, 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2c, 0x6f, 0x6d, - 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, - 0x49, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x5f, - 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x72, 0x65, - 0x74, 0x61, 0x69, 0x6e, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x50, 0x0a, 0x15, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, - 0x6f, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x09, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, - 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, - 0x74, 0x52, 0x09, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x22, 0xbe, 0x01, 0x0a, - 0x15, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, - 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x45, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, + 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x77, 0x61, 0x6e, 0x74, 0x65, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x77, 0x61, 0x6e, + 0x74, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x12, + 0x48, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, + 0x69, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x18, 0xc8, 0xde, 0x1f, 0x00, 0xea, 0xde, 0x1f, + 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2c, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, + 0x79, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x64, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, + 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x8c, 0x02, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x53, 0x0a, 0x11, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, + 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x73, 0x12, 0x59, 0x0a, 0x17, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5f, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x15, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x48, 0x0a, 0x06, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x42, 0x18, 0xc8, 0xde, 0x1f, 0x00, 0xea, 0xde, 0x1f, 0x10, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x2c, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x06, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, + 0x72, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0c, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x22, 0x50, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x09, 0x73, 0x6e, + 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, + 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x09, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, + 0x6f, 0x74, 0x73, 0x22, 0xbe, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x45, 0x0a, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, + 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, + 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x22, 0x5e, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0b, + 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, + 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x42, 0x4f, 0x52, 0x54, + 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x03, 0x12, 0x11, + 0x0a, 0x0d, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x10, + 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x53, 0x45, 0x4e, 0x44, + 0x45, 0x52, 0x10, 0x05, 0x22, 0x31, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, + 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x22, 0x98, 0x02, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, + 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x4a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x5e, 0x0a, - 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, - 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x01, - 0x12, 0x09, 0x0a, 0x05, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, - 0x45, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, 0x4a, 0x45, 0x43, - 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, - 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x10, 0x05, 0x22, 0x31, 0x0a, - 0x19, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, - 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x68, - 0x75, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, - 0x22, 0x98, 0x02, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x41, 0x70, 0x70, - 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, - 0x4a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x32, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, - 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, - 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x2e, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x72, - 0x65, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x74, 0x63, 0x68, 0x43, 0x68, 0x75, 0x6e, - 0x6b, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x6e, - 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x6a, 0x65, - 0x63, 0x74, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x22, 0x60, 0x0a, 0x06, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, - 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, - 0x41, 0x42, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x54, 0x52, 0x59, - 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x54, 0x52, 0x59, 0x5f, 0x53, 0x4e, 0x41, 0x50, - 0x53, 0x48, 0x4f, 0x54, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, - 0x5f, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x05, 0x22, 0xff, 0x01, 0x0a, 0x0f, - 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, - 0x32, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x05, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x12, 0x3c, 0x0a, 0x08, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, - 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x08, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, - 0x65, 0x12, 0x3f, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, - 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, - 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x12, 0x39, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, - 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x0a, - 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1b, 0x0a, 0x09, - 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, - 0x5f, 0x67, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x47, - 0x61, 0x73, 0x22, 0x5d, 0x0a, 0x0e, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x6f, - 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x65, 0x6e, 0x64, - 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x56, 0x6f, 0x74, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, 0x76, 0x6f, 0x74, 0x65, - 0x73, 0x22, 0x7a, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x5d, - 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x61, 0x62, 0x63, 0x69, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x65, 0x42, 0x1c, 0xc8, 0xde, 0x1f, 0x00, 0xea, 0xde, 0x1f, 0x14, 0x61, 0x74, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2c, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, - 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x4e, 0x0a, - 0x0e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x8a, 0x01, - 0x0a, 0x08, 0x54, 0x78, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x78, 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x42, 0x04, 0xc8, 0xde, - 0x1f, 0x00, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x3b, 0x0a, 0x09, 0x56, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x22, 0x64, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x70, 0x75, - 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x65, - 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, - 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, - 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x22, 0x76, 0x0a, - 0x08, 0x56, 0x6f, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3e, 0x0a, 0x09, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, - 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x4c, 0x61, 0x73, 0x74, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0xfd, 0x01, 0x0a, 0x08, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, - 0x63, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, - 0x63, 0x69, 0x2e, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x6f, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x38, 0x0a, - 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x08, 0xc8, 0xde, 0x1f, 0x00, 0x90, 0xdf, 0x1f, - 0x01, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x5f, 0x76, 0x6f, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x69, 0x6e, 0x67, - 0x50, 0x6f, 0x77, 0x65, 0x72, 0x22, 0x82, 0x01, 0x0a, 0x08, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, - 0x6f, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, - 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x1a, - 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2a, 0x39, 0x0a, 0x0b, 0x43, 0x68, - 0x65, 0x63, 0x6b, 0x54, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x45, 0x57, - 0x10, 0x00, 0x1a, 0x07, 0x8a, 0x9d, 0x20, 0x03, 0x4e, 0x65, 0x77, 0x12, 0x18, 0x0a, 0x07, 0x52, - 0x45, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x10, 0x01, 0x1a, 0x0b, 0x8a, 0x9d, 0x20, 0x07, 0x52, 0x65, - 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2a, 0x48, 0x0a, 0x0c, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, - 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, - 0x56, 0x4f, 0x54, 0x45, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x4c, 0x49, 0x47, 0x48, 0x54, 0x5f, - 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x10, 0x02, 0x32, - 0x83, 0x0a, 0x0a, 0x0f, 0x41, 0x42, 0x43, 0x49, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x04, 0x45, 0x63, 0x68, 0x6f, 0x12, 0x1c, 0x2e, 0x74, 0x65, + 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, + 0x75, 0x6e, 0x6b, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x63, 0x68, + 0x75, 0x6e, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x65, + 0x74, 0x63, 0x68, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x6a, + 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0d, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x73, + 0x22, 0x60, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x43, 0x45, 0x50, + 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x12, 0x09, + 0x0a, 0x05, 0x52, 0x45, 0x54, 0x52, 0x59, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x54, + 0x52, 0x59, 0x5f, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x04, 0x12, 0x13, 0x0a, + 0x0f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, + 0x10, 0x05, 0x22, 0x2b, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, + 0x65, 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x10, 0x0a, + 0x03, 0x74, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x74, 0x78, 0x73, 0x22, + 0xa1, 0x01, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x4f, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x63, 0x68, 0x6f, 0x1a, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, - 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x45, 0x63, 0x68, 0x6f, 0x12, 0x46, 0x0a, 0x05, 0x46, 0x6c, 0x75, 0x73, - 0x68, 0x12, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, - 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x46, 0x6c, 0x75, 0x73, 0x68, - 0x1a, 0x1e, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, - 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x46, 0x6c, 0x75, 0x73, 0x68, - 0x12, 0x43, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, - 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x52, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x65, 0x74, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x53, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x09, 0x44, 0x65, 0x6c, - 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x12, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, - 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x1a, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, - 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x12, 0x4c, 0x0a, - 0x07, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x12, 0x1f, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x1a, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x35, 0x0a, 0x0e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, + 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, + 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4a, 0x45, 0x43, + 0x54, 0x10, 0x02, 0x22, 0x59, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, + 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x69, + 0x0a, 0x12, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x3d, 0x0a, 0x05, 0x76, 0x6f, + 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x64, 0x65, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x04, 0xc8, 0xde, + 0x1f, 0x00, 0x52, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x7a, 0x0a, 0x05, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x5d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x42, 0x1c, 0xc8, 0xde, 0x1f, + 0x00, 0xea, 0xde, 0x1f, 0x14, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2c, + 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x0e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x8a, 0x01, 0x0a, 0x08, 0x54, 0x78, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x78, + 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, + 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, + 0x65, 0x72, 0x54, 0x78, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x22, 0x3b, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x77, + 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x22, + 0x64, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, + 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, + 0x79, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, + 0x70, 0x6f, 0x77, 0x65, 0x72, 0x22, 0x76, 0x0a, 0x08, 0x56, 0x6f, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x3e, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, + 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, + 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x73, 0x74, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x69, + 0x67, 0x6e, 0x65, 0x64, 0x4c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0xa5, 0x01, + 0x0a, 0x10, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x3e, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, + 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, + 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x73, + 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x64, 0x4c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x25, + 0x0a, 0x0e, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x76, 0x6f, 0x74, 0x65, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x83, 0x02, 0x0a, 0x0b, 0x4d, 0x69, 0x73, 0x62, 0x65, 0x68, + 0x61, 0x76, 0x69, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, + 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x4d, 0x69, 0x73, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x09, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, + 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, + 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x08, 0xc8, + 0xde, 0x1f, 0x00, 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, + 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x76, 0x6f, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, + 0x77, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x56, 0x6f, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x22, 0x82, 0x01, 0x0a, 0x08, + 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x75, 0x6e, + 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x68, 0x61, 0x73, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2a, 0x39, 0x0a, 0x0b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x10, 0x0a, 0x03, 0x4e, 0x45, 0x57, 0x10, 0x00, 0x1a, 0x07, 0x8a, 0x9d, 0x20, 0x03, 0x4e, 0x65, + 0x77, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x45, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x10, 0x01, 0x1a, 0x0b, + 0x8a, 0x9d, 0x20, 0x07, 0x52, 0x65, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2a, 0x4b, 0x0a, 0x0f, 0x4d, + 0x69, 0x73, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, + 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x44, + 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x56, 0x4f, 0x54, 0x45, 0x10, 0x01, 0x12, + 0x17, 0x0a, 0x13, 0x4c, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, + 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x10, 0x02, 0x32, 0xfb, 0x0a, 0x0a, 0x0f, 0x41, 0x42, 0x43, + 0x49, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x04, + 0x45, 0x63, 0x68, 0x6f, 0x12, 0x1c, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, + 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x63, + 0x68, 0x6f, 0x1a, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, + 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x45, 0x63, 0x68, + 0x6f, 0x12, 0x46, 0x0a, 0x05, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x12, 0x1d, 0x2e, 0x74, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x1a, 0x1e, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x12, 0x46, 0x0a, 0x05, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x12, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, - 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x1a, 0x1e, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, - 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x12, 0x49, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1e, 0x2e, - 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x1a, 0x1f, 0x2e, - 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x52, - 0x0a, 0x09, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x21, 0x2e, 0x74, 0x65, + 0x6f, 0x6e, 0x73, 0x65, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x12, 0x43, 0x0a, 0x04, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x1c, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, + 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, + 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, + 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x52, + 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x12, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x1a, 0x22, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x54, 0x78, 0x1a, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, - 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, - 0x69, 0x6e, 0x12, 0x55, 0x0a, 0x0a, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x12, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, - 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x23, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, - 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, - 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x4f, 0x0a, 0x08, 0x45, 0x6e, 0x64, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, - 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, + 0x54, 0x78, 0x12, 0x4c, 0x0a, 0x07, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x12, 0x1f, 0x2e, + 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, 0x1a, 0x20, + 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, + 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x78, + 0x12, 0x46, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x1a, 0x1e, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x49, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, + 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x1a, 0x1f, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, + 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x12, 0x52, 0x0a, 0x09, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, + 0x12, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, + 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x43, 0x68, + 0x61, 0x69, 0x6e, 0x1a, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, + 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, + 0x69, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x55, 0x0a, 0x0a, 0x42, 0x65, 0x67, 0x69, 0x6e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x22, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, + 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, + 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x23, 0x2e, 0x74, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x4f, + 0x0a, 0x08, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x20, 0x2e, 0x74, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x21, 0x2e, 0x74, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, + 0x5e, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, + 0x12, 0x25, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, + 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e, + 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x1a, 0x26, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x5e, 0x0a, 0x0d, 0x4c, 0x69, - 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x12, 0x25, 0x2e, 0x74, 0x65, - 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, - 0x74, 0x73, 0x1a, 0x26, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4c, 0x69, 0x73, - 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x12, 0x5e, 0x0a, 0x0d, 0x4f, 0x66, - 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x25, 0x2e, 0x74, 0x65, - 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, - 0x6f, 0x74, 0x1a, 0x26, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4f, 0x66, 0x66, - 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x6a, 0x0a, 0x11, 0x4c, 0x6f, - 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, - 0x29, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, - 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, - 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x1a, 0x2a, 0x2e, 0x74, 0x65, 0x6e, - 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, - 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x6d, 0x0a, 0x12, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, - 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x2a, 0x2e, 0x74, + 0x73, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x12, + 0x5e, 0x0a, 0x0d, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, + 0x12, 0x25, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, + 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, + 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x1a, 0x26, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, + 0x6a, 0x0a, 0x11, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, + 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x29, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, + 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x6f, + 0x61, 0x64, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x1a, + 0x2a, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, + 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x6e, + 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x6d, 0x0a, 0x12, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, + 0x6b, 0x12, 0x2a, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, + 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x1a, 0x2b, 0x2e, + 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, + 0x70, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x64, 0x0a, 0x0f, 0x50, 0x72, + 0x65, 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x27, 0x2e, + 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x1a, 0x28, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, + 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x12, 0x64, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x12, 0x27, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, + 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x1a, 0x28, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, - 0x68, 0x6f, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x1a, 0x2b, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, - 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x42, 0xa0, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, - 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x42, 0x0a, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x65, - 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2f, 0x61, 0x62, 0x63, 0x69, 0xa2, 0x02, 0x03, - 0x54, 0x41, 0x58, 0xaa, 0x02, 0x0f, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, - 0x2e, 0x41, 0x62, 0x63, 0x69, 0xca, 0x02, 0x0f, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x74, 0x5c, 0x41, 0x62, 0x63, 0x69, 0xe2, 0x02, 0x1b, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, - 0x6d, 0x69, 0x6e, 0x74, 0x5c, 0x41, 0x62, 0x63, 0x69, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x62, 0x63, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0xa0, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x74, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x42, 0x0a, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2f, 0x61, 0x62, 0x63, 0x69, 0xa2, 0x02, + 0x03, 0x54, 0x41, 0x58, 0xaa, 0x02, 0x0f, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, + 0x74, 0x2e, 0x41, 0x62, 0x63, 0x69, 0xca, 0x02, 0x0f, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, + 0x69, 0x6e, 0x74, 0x5c, 0x41, 0x62, 0x63, 0x69, 0xe2, 0x02, 0x1b, 0x54, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x5c, 0x41, 0x62, 0x63, 0x69, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, + 0x69, 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x62, 0x63, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -30360,164 +33023,174 @@ func file_tendermint_abci_types_proto_rawDescGZIP() []byte { return file_tendermint_abci_types_proto_rawDescData } -var file_tendermint_abci_types_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_tendermint_abci_types_proto_msgTypes = make([]protoimpl.MessageInfo, 44) +var file_tendermint_abci_types_proto_enumTypes = make([]protoimpl.EnumInfo, 5) +var file_tendermint_abci_types_proto_msgTypes = make([]protoimpl.MessageInfo, 46) var file_tendermint_abci_types_proto_goTypes = []interface{}{ - (CheckTxType)(0), // 0: tendermint.abci.CheckTxType - (EvidenceType)(0), // 1: tendermint.abci.EvidenceType - (ResponseOfferSnapshot_Result)(0), // 2: tendermint.abci.ResponseOfferSnapshot.Result - (ResponseApplySnapshotChunk_Result)(0), // 3: tendermint.abci.ResponseApplySnapshotChunk.Result - (*Request)(nil), // 4: tendermint.abci.Request - (*RequestEcho)(nil), // 5: tendermint.abci.RequestEcho - (*RequestFlush)(nil), // 6: tendermint.abci.RequestFlush - (*RequestInfo)(nil), // 7: tendermint.abci.RequestInfo - (*RequestSetOption)(nil), // 8: tendermint.abci.RequestSetOption - (*RequestInitChain)(nil), // 9: tendermint.abci.RequestInitChain - (*RequestQuery)(nil), // 10: tendermint.abci.RequestQuery - (*RequestBeginBlock)(nil), // 11: tendermint.abci.RequestBeginBlock - (*RequestCheckTx)(nil), // 12: tendermint.abci.RequestCheckTx - (*RequestDeliverTx)(nil), // 13: tendermint.abci.RequestDeliverTx - (*RequestEndBlock)(nil), // 14: tendermint.abci.RequestEndBlock - (*RequestCommit)(nil), // 15: tendermint.abci.RequestCommit - (*RequestListSnapshots)(nil), // 16: tendermint.abci.RequestListSnapshots - (*RequestOfferSnapshot)(nil), // 17: tendermint.abci.RequestOfferSnapshot - (*RequestLoadSnapshotChunk)(nil), // 18: tendermint.abci.RequestLoadSnapshotChunk - (*RequestApplySnapshotChunk)(nil), // 19: tendermint.abci.RequestApplySnapshotChunk - (*Response)(nil), // 20: tendermint.abci.Response - (*ResponseException)(nil), // 21: tendermint.abci.ResponseException - (*ResponseEcho)(nil), // 22: tendermint.abci.ResponseEcho - (*ResponseFlush)(nil), // 23: tendermint.abci.ResponseFlush - (*ResponseInfo)(nil), // 24: tendermint.abci.ResponseInfo - (*ResponseSetOption)(nil), // 25: tendermint.abci.ResponseSetOption - (*ResponseInitChain)(nil), // 26: tendermint.abci.ResponseInitChain - (*ResponseQuery)(nil), // 27: tendermint.abci.ResponseQuery - (*ResponseBeginBlock)(nil), // 28: tendermint.abci.ResponseBeginBlock - (*ResponseCheckTx)(nil), // 29: tendermint.abci.ResponseCheckTx - (*ResponseDeliverTx)(nil), // 30: tendermint.abci.ResponseDeliverTx - (*ResponseEndBlock)(nil), // 31: tendermint.abci.ResponseEndBlock - (*ResponseCommit)(nil), // 32: tendermint.abci.ResponseCommit - (*ResponseListSnapshots)(nil), // 33: tendermint.abci.ResponseListSnapshots - (*ResponseOfferSnapshot)(nil), // 34: tendermint.abci.ResponseOfferSnapshot - (*ResponseLoadSnapshotChunk)(nil), // 35: tendermint.abci.ResponseLoadSnapshotChunk - (*ResponseApplySnapshotChunk)(nil), // 36: tendermint.abci.ResponseApplySnapshotChunk - (*ConsensusParams)(nil), // 37: tendermint.abci.ConsensusParams - (*BlockParams)(nil), // 38: tendermint.abci.BlockParams - (*LastCommitInfo)(nil), // 39: tendermint.abci.LastCommitInfo - (*Event)(nil), // 40: tendermint.abci.Event - (*EventAttribute)(nil), // 41: tendermint.abci.EventAttribute - (*TxResult)(nil), // 42: tendermint.abci.TxResult - (*Validator)(nil), // 43: tendermint.abci.Validator - (*ValidatorUpdate)(nil), // 44: tendermint.abci.ValidatorUpdate - (*VoteInfo)(nil), // 45: tendermint.abci.VoteInfo - (*Evidence)(nil), // 46: tendermint.abci.Evidence - (*Snapshot)(nil), // 47: tendermint.abci.Snapshot - (*timestamppb.Timestamp)(nil), // 48: google.protobuf.Timestamp - (*types.Header)(nil), // 49: tendermint.types.Header - (*crypto.ProofOps)(nil), // 50: tendermint.crypto.ProofOps - (*types.EvidenceParams)(nil), // 51: tendermint.types.EvidenceParams - (*types.ValidatorParams)(nil), // 52: tendermint.types.ValidatorParams - (*types.VersionParams)(nil), // 53: tendermint.types.VersionParams - (*crypto.PublicKey)(nil), // 54: tendermint.crypto.PublicKey + (CheckTxType)(0), // 0: tendermint.abci.CheckTxType + (MisbehaviorType)(0), // 1: tendermint.abci.MisbehaviorType + (ResponseOfferSnapshot_Result)(0), // 2: tendermint.abci.ResponseOfferSnapshot.Result + (ResponseApplySnapshotChunk_Result)(0), // 3: tendermint.abci.ResponseApplySnapshotChunk.Result + (ResponseProcessProposal_ProposalStatus)(0), // 4: tendermint.abci.ResponseProcessProposal.ProposalStatus + (*Request)(nil), // 5: tendermint.abci.Request + (*RequestEcho)(nil), // 6: tendermint.abci.RequestEcho + (*RequestFlush)(nil), // 7: tendermint.abci.RequestFlush + (*RequestInfo)(nil), // 8: tendermint.abci.RequestInfo + (*RequestInitChain)(nil), // 9: tendermint.abci.RequestInitChain + (*RequestQuery)(nil), // 10: tendermint.abci.RequestQuery + (*RequestBeginBlock)(nil), // 11: tendermint.abci.RequestBeginBlock + (*RequestCheckTx)(nil), // 12: tendermint.abci.RequestCheckTx + (*RequestDeliverTx)(nil), // 13: tendermint.abci.RequestDeliverTx + (*RequestEndBlock)(nil), // 14: tendermint.abci.RequestEndBlock + (*RequestCommit)(nil), // 15: tendermint.abci.RequestCommit + (*RequestListSnapshots)(nil), // 16: tendermint.abci.RequestListSnapshots + (*RequestOfferSnapshot)(nil), // 17: tendermint.abci.RequestOfferSnapshot + (*RequestLoadSnapshotChunk)(nil), // 18: tendermint.abci.RequestLoadSnapshotChunk + (*RequestApplySnapshotChunk)(nil), // 19: tendermint.abci.RequestApplySnapshotChunk + (*RequestPrepareProposal)(nil), // 20: tendermint.abci.RequestPrepareProposal + (*RequestProcessProposal)(nil), // 21: tendermint.abci.RequestProcessProposal + (*Response)(nil), // 22: tendermint.abci.Response + (*ResponseException)(nil), // 23: tendermint.abci.ResponseException + (*ResponseEcho)(nil), // 24: tendermint.abci.ResponseEcho + (*ResponseFlush)(nil), // 25: tendermint.abci.ResponseFlush + (*ResponseInfo)(nil), // 26: tendermint.abci.ResponseInfo + (*ResponseInitChain)(nil), // 27: tendermint.abci.ResponseInitChain + (*ResponseQuery)(nil), // 28: tendermint.abci.ResponseQuery + (*ResponseBeginBlock)(nil), // 29: tendermint.abci.ResponseBeginBlock + (*ResponseCheckTx)(nil), // 30: tendermint.abci.ResponseCheckTx + (*ResponseDeliverTx)(nil), // 31: tendermint.abci.ResponseDeliverTx + (*ResponseEndBlock)(nil), // 32: tendermint.abci.ResponseEndBlock + (*ResponseCommit)(nil), // 33: tendermint.abci.ResponseCommit + (*ResponseListSnapshots)(nil), // 34: tendermint.abci.ResponseListSnapshots + (*ResponseOfferSnapshot)(nil), // 35: tendermint.abci.ResponseOfferSnapshot + (*ResponseLoadSnapshotChunk)(nil), // 36: tendermint.abci.ResponseLoadSnapshotChunk + (*ResponseApplySnapshotChunk)(nil), // 37: tendermint.abci.ResponseApplySnapshotChunk + (*ResponsePrepareProposal)(nil), // 38: tendermint.abci.ResponsePrepareProposal + (*ResponseProcessProposal)(nil), // 39: tendermint.abci.ResponseProcessProposal + (*CommitInfo)(nil), // 40: tendermint.abci.CommitInfo + (*ExtendedCommitInfo)(nil), // 41: tendermint.abci.ExtendedCommitInfo + (*Event)(nil), // 42: tendermint.abci.Event + (*EventAttribute)(nil), // 43: tendermint.abci.EventAttribute + (*TxResult)(nil), // 44: tendermint.abci.TxResult + (*Validator)(nil), // 45: tendermint.abci.Validator + (*ValidatorUpdate)(nil), // 46: tendermint.abci.ValidatorUpdate + (*VoteInfo)(nil), // 47: tendermint.abci.VoteInfo + (*ExtendedVoteInfo)(nil), // 48: tendermint.abci.ExtendedVoteInfo + (*Misbehavior)(nil), // 49: tendermint.abci.Misbehavior + (*Snapshot)(nil), // 50: tendermint.abci.Snapshot + (*timestamppb.Timestamp)(nil), // 51: google.protobuf.Timestamp + (*types.ConsensusParams)(nil), // 52: tendermint.types.ConsensusParams + (*types.Header)(nil), // 53: tendermint.types.Header + (*crypto.ProofOps)(nil), // 54: tendermint.crypto.ProofOps + (*crypto.PublicKey)(nil), // 55: tendermint.crypto.PublicKey } var file_tendermint_abci_types_proto_depIdxs = []int32{ - 5, // 0: tendermint.abci.Request.echo:type_name -> tendermint.abci.RequestEcho - 6, // 1: tendermint.abci.Request.flush:type_name -> tendermint.abci.RequestFlush - 7, // 2: tendermint.abci.Request.info:type_name -> tendermint.abci.RequestInfo - 8, // 3: tendermint.abci.Request.set_option:type_name -> tendermint.abci.RequestSetOption - 9, // 4: tendermint.abci.Request.init_chain:type_name -> tendermint.abci.RequestInitChain - 10, // 5: tendermint.abci.Request.query:type_name -> tendermint.abci.RequestQuery - 11, // 6: tendermint.abci.Request.begin_block:type_name -> tendermint.abci.RequestBeginBlock - 12, // 7: tendermint.abci.Request.check_tx:type_name -> tendermint.abci.RequestCheckTx - 13, // 8: tendermint.abci.Request.deliver_tx:type_name -> tendermint.abci.RequestDeliverTx - 14, // 9: tendermint.abci.Request.end_block:type_name -> tendermint.abci.RequestEndBlock - 15, // 10: tendermint.abci.Request.commit:type_name -> tendermint.abci.RequestCommit - 16, // 11: tendermint.abci.Request.list_snapshots:type_name -> tendermint.abci.RequestListSnapshots - 17, // 12: tendermint.abci.Request.offer_snapshot:type_name -> tendermint.abci.RequestOfferSnapshot - 18, // 13: tendermint.abci.Request.load_snapshot_chunk:type_name -> tendermint.abci.RequestLoadSnapshotChunk - 19, // 14: tendermint.abci.Request.apply_snapshot_chunk:type_name -> tendermint.abci.RequestApplySnapshotChunk - 48, // 15: tendermint.abci.RequestInitChain.time:type_name -> google.protobuf.Timestamp - 37, // 16: tendermint.abci.RequestInitChain.consensus_params:type_name -> tendermint.abci.ConsensusParams - 44, // 17: tendermint.abci.RequestInitChain.validators:type_name -> tendermint.abci.ValidatorUpdate - 49, // 18: tendermint.abci.RequestBeginBlock.header:type_name -> tendermint.types.Header - 39, // 19: tendermint.abci.RequestBeginBlock.last_commit_info:type_name -> tendermint.abci.LastCommitInfo - 46, // 20: tendermint.abci.RequestBeginBlock.byzantine_validators:type_name -> tendermint.abci.Evidence - 0, // 21: tendermint.abci.RequestCheckTx.type:type_name -> tendermint.abci.CheckTxType - 47, // 22: tendermint.abci.RequestOfferSnapshot.snapshot:type_name -> tendermint.abci.Snapshot - 21, // 23: tendermint.abci.Response.exception:type_name -> tendermint.abci.ResponseException - 22, // 24: tendermint.abci.Response.echo:type_name -> tendermint.abci.ResponseEcho - 23, // 25: tendermint.abci.Response.flush:type_name -> tendermint.abci.ResponseFlush - 24, // 26: tendermint.abci.Response.info:type_name -> tendermint.abci.ResponseInfo - 25, // 27: tendermint.abci.Response.set_option:type_name -> tendermint.abci.ResponseSetOption - 26, // 28: tendermint.abci.Response.init_chain:type_name -> tendermint.abci.ResponseInitChain - 27, // 29: tendermint.abci.Response.query:type_name -> tendermint.abci.ResponseQuery - 28, // 30: tendermint.abci.Response.begin_block:type_name -> tendermint.abci.ResponseBeginBlock - 29, // 31: tendermint.abci.Response.check_tx:type_name -> tendermint.abci.ResponseCheckTx - 30, // 32: tendermint.abci.Response.deliver_tx:type_name -> tendermint.abci.ResponseDeliverTx - 31, // 33: tendermint.abci.Response.end_block:type_name -> tendermint.abci.ResponseEndBlock - 32, // 34: tendermint.abci.Response.commit:type_name -> tendermint.abci.ResponseCommit - 33, // 35: tendermint.abci.Response.list_snapshots:type_name -> tendermint.abci.ResponseListSnapshots - 34, // 36: tendermint.abci.Response.offer_snapshot:type_name -> tendermint.abci.ResponseOfferSnapshot - 35, // 37: tendermint.abci.Response.load_snapshot_chunk:type_name -> tendermint.abci.ResponseLoadSnapshotChunk - 36, // 38: tendermint.abci.Response.apply_snapshot_chunk:type_name -> tendermint.abci.ResponseApplySnapshotChunk - 37, // 39: tendermint.abci.ResponseInitChain.consensus_params:type_name -> tendermint.abci.ConsensusParams - 44, // 40: tendermint.abci.ResponseInitChain.validators:type_name -> tendermint.abci.ValidatorUpdate - 50, // 41: tendermint.abci.ResponseQuery.proof_ops:type_name -> tendermint.crypto.ProofOps - 40, // 42: tendermint.abci.ResponseBeginBlock.events:type_name -> tendermint.abci.Event - 40, // 43: tendermint.abci.ResponseCheckTx.events:type_name -> tendermint.abci.Event - 40, // 44: tendermint.abci.ResponseDeliverTx.events:type_name -> tendermint.abci.Event - 44, // 45: tendermint.abci.ResponseEndBlock.validator_updates:type_name -> tendermint.abci.ValidatorUpdate - 37, // 46: tendermint.abci.ResponseEndBlock.consensus_param_updates:type_name -> tendermint.abci.ConsensusParams - 40, // 47: tendermint.abci.ResponseEndBlock.events:type_name -> tendermint.abci.Event - 47, // 48: tendermint.abci.ResponseListSnapshots.snapshots:type_name -> tendermint.abci.Snapshot - 2, // 49: tendermint.abci.ResponseOfferSnapshot.result:type_name -> tendermint.abci.ResponseOfferSnapshot.Result - 3, // 50: tendermint.abci.ResponseApplySnapshotChunk.result:type_name -> tendermint.abci.ResponseApplySnapshotChunk.Result - 38, // 51: tendermint.abci.ConsensusParams.block:type_name -> tendermint.abci.BlockParams - 51, // 52: tendermint.abci.ConsensusParams.evidence:type_name -> tendermint.types.EvidenceParams - 52, // 53: tendermint.abci.ConsensusParams.validator:type_name -> tendermint.types.ValidatorParams - 53, // 54: tendermint.abci.ConsensusParams.version:type_name -> tendermint.types.VersionParams - 45, // 55: tendermint.abci.LastCommitInfo.votes:type_name -> tendermint.abci.VoteInfo - 41, // 56: tendermint.abci.Event.attributes:type_name -> tendermint.abci.EventAttribute - 30, // 57: tendermint.abci.TxResult.result:type_name -> tendermint.abci.ResponseDeliverTx - 54, // 58: tendermint.abci.ValidatorUpdate.pub_key:type_name -> tendermint.crypto.PublicKey - 43, // 59: tendermint.abci.VoteInfo.validator:type_name -> tendermint.abci.Validator - 1, // 60: tendermint.abci.Evidence.type:type_name -> tendermint.abci.EvidenceType - 43, // 61: tendermint.abci.Evidence.validator:type_name -> tendermint.abci.Validator - 48, // 62: tendermint.abci.Evidence.time:type_name -> google.protobuf.Timestamp - 5, // 63: tendermint.abci.ABCIApplication.Echo:input_type -> tendermint.abci.RequestEcho - 6, // 64: tendermint.abci.ABCIApplication.Flush:input_type -> tendermint.abci.RequestFlush - 7, // 65: tendermint.abci.ABCIApplication.Info:input_type -> tendermint.abci.RequestInfo - 8, // 66: tendermint.abci.ABCIApplication.SetOption:input_type -> tendermint.abci.RequestSetOption - 13, // 67: tendermint.abci.ABCIApplication.DeliverTx:input_type -> tendermint.abci.RequestDeliverTx - 12, // 68: tendermint.abci.ABCIApplication.CheckTx:input_type -> tendermint.abci.RequestCheckTx - 10, // 69: tendermint.abci.ABCIApplication.Query:input_type -> tendermint.abci.RequestQuery - 15, // 70: tendermint.abci.ABCIApplication.Commit:input_type -> tendermint.abci.RequestCommit - 9, // 71: tendermint.abci.ABCIApplication.InitChain:input_type -> tendermint.abci.RequestInitChain - 11, // 72: tendermint.abci.ABCIApplication.BeginBlock:input_type -> tendermint.abci.RequestBeginBlock - 14, // 73: tendermint.abci.ABCIApplication.EndBlock:input_type -> tendermint.abci.RequestEndBlock - 16, // 74: tendermint.abci.ABCIApplication.ListSnapshots:input_type -> tendermint.abci.RequestListSnapshots - 17, // 75: tendermint.abci.ABCIApplication.OfferSnapshot:input_type -> tendermint.abci.RequestOfferSnapshot - 18, // 76: tendermint.abci.ABCIApplication.LoadSnapshotChunk:input_type -> tendermint.abci.RequestLoadSnapshotChunk - 19, // 77: tendermint.abci.ABCIApplication.ApplySnapshotChunk:input_type -> tendermint.abci.RequestApplySnapshotChunk - 22, // 78: tendermint.abci.ABCIApplication.Echo:output_type -> tendermint.abci.ResponseEcho - 23, // 79: tendermint.abci.ABCIApplication.Flush:output_type -> tendermint.abci.ResponseFlush - 24, // 80: tendermint.abci.ABCIApplication.Info:output_type -> tendermint.abci.ResponseInfo - 25, // 81: tendermint.abci.ABCIApplication.SetOption:output_type -> tendermint.abci.ResponseSetOption - 30, // 82: tendermint.abci.ABCIApplication.DeliverTx:output_type -> tendermint.abci.ResponseDeliverTx - 29, // 83: tendermint.abci.ABCIApplication.CheckTx:output_type -> tendermint.abci.ResponseCheckTx - 27, // 84: tendermint.abci.ABCIApplication.Query:output_type -> tendermint.abci.ResponseQuery - 32, // 85: tendermint.abci.ABCIApplication.Commit:output_type -> tendermint.abci.ResponseCommit - 26, // 86: tendermint.abci.ABCIApplication.InitChain:output_type -> tendermint.abci.ResponseInitChain - 28, // 87: tendermint.abci.ABCIApplication.BeginBlock:output_type -> tendermint.abci.ResponseBeginBlock - 31, // 88: tendermint.abci.ABCIApplication.EndBlock:output_type -> tendermint.abci.ResponseEndBlock - 33, // 89: tendermint.abci.ABCIApplication.ListSnapshots:output_type -> tendermint.abci.ResponseListSnapshots - 34, // 90: tendermint.abci.ABCIApplication.OfferSnapshot:output_type -> tendermint.abci.ResponseOfferSnapshot - 35, // 91: tendermint.abci.ABCIApplication.LoadSnapshotChunk:output_type -> tendermint.abci.ResponseLoadSnapshotChunk - 36, // 92: tendermint.abci.ABCIApplication.ApplySnapshotChunk:output_type -> tendermint.abci.ResponseApplySnapshotChunk - 78, // [78:93] is the sub-list for method output_type - 63, // [63:78] is the sub-list for method input_type - 63, // [63:63] is the sub-list for extension type_name - 63, // [63:63] is the sub-list for extension extendee - 0, // [0:63] is the sub-list for field type_name + 6, // 0: tendermint.abci.Request.echo:type_name -> tendermint.abci.RequestEcho + 7, // 1: tendermint.abci.Request.flush:type_name -> tendermint.abci.RequestFlush + 8, // 2: tendermint.abci.Request.info:type_name -> tendermint.abci.RequestInfo + 9, // 3: tendermint.abci.Request.init_chain:type_name -> tendermint.abci.RequestInitChain + 10, // 4: tendermint.abci.Request.query:type_name -> tendermint.abci.RequestQuery + 11, // 5: tendermint.abci.Request.begin_block:type_name -> tendermint.abci.RequestBeginBlock + 12, // 6: tendermint.abci.Request.check_tx:type_name -> tendermint.abci.RequestCheckTx + 13, // 7: tendermint.abci.Request.deliver_tx:type_name -> tendermint.abci.RequestDeliverTx + 14, // 8: tendermint.abci.Request.end_block:type_name -> tendermint.abci.RequestEndBlock + 15, // 9: tendermint.abci.Request.commit:type_name -> tendermint.abci.RequestCommit + 16, // 10: tendermint.abci.Request.list_snapshots:type_name -> tendermint.abci.RequestListSnapshots + 17, // 11: tendermint.abci.Request.offer_snapshot:type_name -> tendermint.abci.RequestOfferSnapshot + 18, // 12: tendermint.abci.Request.load_snapshot_chunk:type_name -> tendermint.abci.RequestLoadSnapshotChunk + 19, // 13: tendermint.abci.Request.apply_snapshot_chunk:type_name -> tendermint.abci.RequestApplySnapshotChunk + 20, // 14: tendermint.abci.Request.prepare_proposal:type_name -> tendermint.abci.RequestPrepareProposal + 21, // 15: tendermint.abci.Request.process_proposal:type_name -> tendermint.abci.RequestProcessProposal + 51, // 16: tendermint.abci.RequestInitChain.time:type_name -> google.protobuf.Timestamp + 52, // 17: tendermint.abci.RequestInitChain.consensus_params:type_name -> tendermint.types.ConsensusParams + 46, // 18: tendermint.abci.RequestInitChain.validators:type_name -> tendermint.abci.ValidatorUpdate + 53, // 19: tendermint.abci.RequestBeginBlock.header:type_name -> tendermint.types.Header + 40, // 20: tendermint.abci.RequestBeginBlock.last_commit_info:type_name -> tendermint.abci.CommitInfo + 49, // 21: tendermint.abci.RequestBeginBlock.byzantine_validators:type_name -> tendermint.abci.Misbehavior + 0, // 22: tendermint.abci.RequestCheckTx.type:type_name -> tendermint.abci.CheckTxType + 50, // 23: tendermint.abci.RequestOfferSnapshot.snapshot:type_name -> tendermint.abci.Snapshot + 41, // 24: tendermint.abci.RequestPrepareProposal.local_last_commit:type_name -> tendermint.abci.ExtendedCommitInfo + 49, // 25: tendermint.abci.RequestPrepareProposal.misbehavior:type_name -> tendermint.abci.Misbehavior + 51, // 26: tendermint.abci.RequestPrepareProposal.time:type_name -> google.protobuf.Timestamp + 40, // 27: tendermint.abci.RequestProcessProposal.proposed_last_commit:type_name -> tendermint.abci.CommitInfo + 49, // 28: tendermint.abci.RequestProcessProposal.misbehavior:type_name -> tendermint.abci.Misbehavior + 51, // 29: tendermint.abci.RequestProcessProposal.time:type_name -> google.protobuf.Timestamp + 23, // 30: tendermint.abci.Response.exception:type_name -> tendermint.abci.ResponseException + 24, // 31: tendermint.abci.Response.echo:type_name -> tendermint.abci.ResponseEcho + 25, // 32: tendermint.abci.Response.flush:type_name -> tendermint.abci.ResponseFlush + 26, // 33: tendermint.abci.Response.info:type_name -> tendermint.abci.ResponseInfo + 27, // 34: tendermint.abci.Response.init_chain:type_name -> tendermint.abci.ResponseInitChain + 28, // 35: tendermint.abci.Response.query:type_name -> tendermint.abci.ResponseQuery + 29, // 36: tendermint.abci.Response.begin_block:type_name -> tendermint.abci.ResponseBeginBlock + 30, // 37: tendermint.abci.Response.check_tx:type_name -> tendermint.abci.ResponseCheckTx + 31, // 38: tendermint.abci.Response.deliver_tx:type_name -> tendermint.abci.ResponseDeliverTx + 32, // 39: tendermint.abci.Response.end_block:type_name -> tendermint.abci.ResponseEndBlock + 33, // 40: tendermint.abci.Response.commit:type_name -> tendermint.abci.ResponseCommit + 34, // 41: tendermint.abci.Response.list_snapshots:type_name -> tendermint.abci.ResponseListSnapshots + 35, // 42: tendermint.abci.Response.offer_snapshot:type_name -> tendermint.abci.ResponseOfferSnapshot + 36, // 43: tendermint.abci.Response.load_snapshot_chunk:type_name -> tendermint.abci.ResponseLoadSnapshotChunk + 37, // 44: tendermint.abci.Response.apply_snapshot_chunk:type_name -> tendermint.abci.ResponseApplySnapshotChunk + 38, // 45: tendermint.abci.Response.prepare_proposal:type_name -> tendermint.abci.ResponsePrepareProposal + 39, // 46: tendermint.abci.Response.process_proposal:type_name -> tendermint.abci.ResponseProcessProposal + 52, // 47: tendermint.abci.ResponseInitChain.consensus_params:type_name -> tendermint.types.ConsensusParams + 46, // 48: tendermint.abci.ResponseInitChain.validators:type_name -> tendermint.abci.ValidatorUpdate + 54, // 49: tendermint.abci.ResponseQuery.proof_ops:type_name -> tendermint.crypto.ProofOps + 42, // 50: tendermint.abci.ResponseBeginBlock.events:type_name -> tendermint.abci.Event + 42, // 51: tendermint.abci.ResponseCheckTx.events:type_name -> tendermint.abci.Event + 42, // 52: tendermint.abci.ResponseDeliverTx.events:type_name -> tendermint.abci.Event + 46, // 53: tendermint.abci.ResponseEndBlock.validator_updates:type_name -> tendermint.abci.ValidatorUpdate + 52, // 54: tendermint.abci.ResponseEndBlock.consensus_param_updates:type_name -> tendermint.types.ConsensusParams + 42, // 55: tendermint.abci.ResponseEndBlock.events:type_name -> tendermint.abci.Event + 50, // 56: tendermint.abci.ResponseListSnapshots.snapshots:type_name -> tendermint.abci.Snapshot + 2, // 57: tendermint.abci.ResponseOfferSnapshot.result:type_name -> tendermint.abci.ResponseOfferSnapshot.Result + 3, // 58: tendermint.abci.ResponseApplySnapshotChunk.result:type_name -> tendermint.abci.ResponseApplySnapshotChunk.Result + 4, // 59: tendermint.abci.ResponseProcessProposal.status:type_name -> tendermint.abci.ResponseProcessProposal.ProposalStatus + 47, // 60: tendermint.abci.CommitInfo.votes:type_name -> tendermint.abci.VoteInfo + 48, // 61: tendermint.abci.ExtendedCommitInfo.votes:type_name -> tendermint.abci.ExtendedVoteInfo + 43, // 62: tendermint.abci.Event.attributes:type_name -> tendermint.abci.EventAttribute + 31, // 63: tendermint.abci.TxResult.result:type_name -> tendermint.abci.ResponseDeliverTx + 55, // 64: tendermint.abci.ValidatorUpdate.pub_key:type_name -> tendermint.crypto.PublicKey + 45, // 65: tendermint.abci.VoteInfo.validator:type_name -> tendermint.abci.Validator + 45, // 66: tendermint.abci.ExtendedVoteInfo.validator:type_name -> tendermint.abci.Validator + 1, // 67: tendermint.abci.Misbehavior.type:type_name -> tendermint.abci.MisbehaviorType + 45, // 68: tendermint.abci.Misbehavior.validator:type_name -> tendermint.abci.Validator + 51, // 69: tendermint.abci.Misbehavior.time:type_name -> google.protobuf.Timestamp + 6, // 70: tendermint.abci.ABCIApplication.Echo:input_type -> tendermint.abci.RequestEcho + 7, // 71: tendermint.abci.ABCIApplication.Flush:input_type -> tendermint.abci.RequestFlush + 8, // 72: tendermint.abci.ABCIApplication.Info:input_type -> tendermint.abci.RequestInfo + 13, // 73: tendermint.abci.ABCIApplication.DeliverTx:input_type -> tendermint.abci.RequestDeliverTx + 12, // 74: tendermint.abci.ABCIApplication.CheckTx:input_type -> tendermint.abci.RequestCheckTx + 10, // 75: tendermint.abci.ABCIApplication.Query:input_type -> tendermint.abci.RequestQuery + 15, // 76: tendermint.abci.ABCIApplication.Commit:input_type -> tendermint.abci.RequestCommit + 9, // 77: tendermint.abci.ABCIApplication.InitChain:input_type -> tendermint.abci.RequestInitChain + 11, // 78: tendermint.abci.ABCIApplication.BeginBlock:input_type -> tendermint.abci.RequestBeginBlock + 14, // 79: tendermint.abci.ABCIApplication.EndBlock:input_type -> tendermint.abci.RequestEndBlock + 16, // 80: tendermint.abci.ABCIApplication.ListSnapshots:input_type -> tendermint.abci.RequestListSnapshots + 17, // 81: tendermint.abci.ABCIApplication.OfferSnapshot:input_type -> tendermint.abci.RequestOfferSnapshot + 18, // 82: tendermint.abci.ABCIApplication.LoadSnapshotChunk:input_type -> tendermint.abci.RequestLoadSnapshotChunk + 19, // 83: tendermint.abci.ABCIApplication.ApplySnapshotChunk:input_type -> tendermint.abci.RequestApplySnapshotChunk + 20, // 84: tendermint.abci.ABCIApplication.PrepareProposal:input_type -> tendermint.abci.RequestPrepareProposal + 21, // 85: tendermint.abci.ABCIApplication.ProcessProposal:input_type -> tendermint.abci.RequestProcessProposal + 24, // 86: tendermint.abci.ABCIApplication.Echo:output_type -> tendermint.abci.ResponseEcho + 25, // 87: tendermint.abci.ABCIApplication.Flush:output_type -> tendermint.abci.ResponseFlush + 26, // 88: tendermint.abci.ABCIApplication.Info:output_type -> tendermint.abci.ResponseInfo + 31, // 89: tendermint.abci.ABCIApplication.DeliverTx:output_type -> tendermint.abci.ResponseDeliverTx + 30, // 90: tendermint.abci.ABCIApplication.CheckTx:output_type -> tendermint.abci.ResponseCheckTx + 28, // 91: tendermint.abci.ABCIApplication.Query:output_type -> tendermint.abci.ResponseQuery + 33, // 92: tendermint.abci.ABCIApplication.Commit:output_type -> tendermint.abci.ResponseCommit + 27, // 93: tendermint.abci.ABCIApplication.InitChain:output_type -> tendermint.abci.ResponseInitChain + 29, // 94: tendermint.abci.ABCIApplication.BeginBlock:output_type -> tendermint.abci.ResponseBeginBlock + 32, // 95: tendermint.abci.ABCIApplication.EndBlock:output_type -> tendermint.abci.ResponseEndBlock + 34, // 96: tendermint.abci.ABCIApplication.ListSnapshots:output_type -> tendermint.abci.ResponseListSnapshots + 35, // 97: tendermint.abci.ABCIApplication.OfferSnapshot:output_type -> tendermint.abci.ResponseOfferSnapshot + 36, // 98: tendermint.abci.ABCIApplication.LoadSnapshotChunk:output_type -> tendermint.abci.ResponseLoadSnapshotChunk + 37, // 99: tendermint.abci.ABCIApplication.ApplySnapshotChunk:output_type -> tendermint.abci.ResponseApplySnapshotChunk + 38, // 100: tendermint.abci.ABCIApplication.PrepareProposal:output_type -> tendermint.abci.ResponsePrepareProposal + 39, // 101: tendermint.abci.ABCIApplication.ProcessProposal:output_type -> tendermint.abci.ResponseProcessProposal + 86, // [86:102] is the sub-list for method output_type + 70, // [70:86] is the sub-list for method input_type + 70, // [70:70] is the sub-list for extension type_name + 70, // [70:70] is the sub-list for extension extendee + 0, // [0:70] is the sub-list for field type_name } func init() { file_tendermint_abci_types_proto_init() } @@ -30575,7 +33248,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestSetOption); i { + switch v := v.(*RequestInitChain); i { case 0: return &v.state case 1: @@ -30587,7 +33260,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestInitChain); i { + switch v := v.(*RequestQuery); i { case 0: return &v.state case 1: @@ -30599,7 +33272,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestQuery); i { + switch v := v.(*RequestBeginBlock); i { case 0: return &v.state case 1: @@ -30611,7 +33284,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestBeginBlock); i { + switch v := v.(*RequestCheckTx); i { case 0: return &v.state case 1: @@ -30623,7 +33296,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestCheckTx); i { + switch v := v.(*RequestDeliverTx); i { case 0: return &v.state case 1: @@ -30635,7 +33308,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestDeliverTx); i { + switch v := v.(*RequestEndBlock); i { case 0: return &v.state case 1: @@ -30647,7 +33320,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestEndBlock); i { + switch v := v.(*RequestCommit); i { case 0: return &v.state case 1: @@ -30659,7 +33332,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestCommit); i { + switch v := v.(*RequestListSnapshots); i { case 0: return &v.state case 1: @@ -30671,7 +33344,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestListSnapshots); i { + switch v := v.(*RequestOfferSnapshot); i { case 0: return &v.state case 1: @@ -30683,7 +33356,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestOfferSnapshot); i { + switch v := v.(*RequestLoadSnapshotChunk); i { case 0: return &v.state case 1: @@ -30695,7 +33368,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestLoadSnapshotChunk); i { + switch v := v.(*RequestApplySnapshotChunk); i { case 0: return &v.state case 1: @@ -30707,7 +33380,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestApplySnapshotChunk); i { + switch v := v.(*RequestPrepareProposal); i { case 0: return &v.state case 1: @@ -30719,7 +33392,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Response); i { + switch v := v.(*RequestProcessProposal); i { case 0: return &v.state case 1: @@ -30731,7 +33404,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResponseException); i { + switch v := v.(*Response); i { case 0: return &v.state case 1: @@ -30743,7 +33416,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResponseEcho); i { + switch v := v.(*ResponseException); i { case 0: return &v.state case 1: @@ -30755,7 +33428,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResponseFlush); i { + switch v := v.(*ResponseEcho); i { case 0: return &v.state case 1: @@ -30767,7 +33440,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResponseInfo); i { + switch v := v.(*ResponseFlush); i { case 0: return &v.state case 1: @@ -30779,7 +33452,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResponseSetOption); i { + switch v := v.(*ResponseInfo); i { case 0: return &v.state case 1: @@ -30923,7 +33596,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConsensusParams); i { + switch v := v.(*ResponsePrepareProposal); i { case 0: return &v.state case 1: @@ -30935,7 +33608,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockParams); i { + switch v := v.(*ResponseProcessProposal); i { case 0: return &v.state case 1: @@ -30947,7 +33620,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LastCommitInfo); i { + switch v := v.(*CommitInfo); i { case 0: return &v.state case 1: @@ -30959,7 +33632,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Event); i { + switch v := v.(*ExtendedCommitInfo); i { case 0: return &v.state case 1: @@ -30971,7 +33644,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAttribute); i { + switch v := v.(*Event); i { case 0: return &v.state case 1: @@ -30983,7 +33656,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TxResult); i { + switch v := v.(*EventAttribute); i { case 0: return &v.state case 1: @@ -30995,7 +33668,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Validator); i { + switch v := v.(*TxResult); i { case 0: return &v.state case 1: @@ -31007,7 +33680,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidatorUpdate); i { + switch v := v.(*Validator); i { case 0: return &v.state case 1: @@ -31019,7 +33692,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoteInfo); i { + switch v := v.(*ValidatorUpdate); i { case 0: return &v.state case 1: @@ -31031,7 +33704,7 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Evidence); i { + switch v := v.(*VoteInfo); i { case 0: return &v.state case 1: @@ -31043,6 +33716,30 @@ func file_tendermint_abci_types_proto_init() { } } file_tendermint_abci_types_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtendedVoteInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tendermint_abci_types_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Misbehavior); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tendermint_abci_types_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Snapshot); i { case 0: return &v.state @@ -31059,7 +33756,6 @@ func file_tendermint_abci_types_proto_init() { (*Request_Echo)(nil), (*Request_Flush)(nil), (*Request_Info)(nil), - (*Request_SetOption)(nil), (*Request_InitChain)(nil), (*Request_Query)(nil), (*Request_BeginBlock)(nil), @@ -31071,13 +33767,14 @@ func file_tendermint_abci_types_proto_init() { (*Request_OfferSnapshot)(nil), (*Request_LoadSnapshotChunk)(nil), (*Request_ApplySnapshotChunk)(nil), + (*Request_PrepareProposal)(nil), + (*Request_ProcessProposal)(nil), } - file_tendermint_abci_types_proto_msgTypes[16].OneofWrappers = []interface{}{ + file_tendermint_abci_types_proto_msgTypes[17].OneofWrappers = []interface{}{ (*Response_Exception)(nil), (*Response_Echo)(nil), (*Response_Flush)(nil), (*Response_Info)(nil), - (*Response_SetOption)(nil), (*Response_InitChain)(nil), (*Response_Query)(nil), (*Response_BeginBlock)(nil), @@ -31089,14 +33786,16 @@ func file_tendermint_abci_types_proto_init() { (*Response_OfferSnapshot)(nil), (*Response_LoadSnapshotChunk)(nil), (*Response_ApplySnapshotChunk)(nil), + (*Response_PrepareProposal)(nil), + (*Response_ProcessProposal)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_tendermint_abci_types_proto_rawDesc, - NumEnums: 4, - NumMessages: 44, + NumEnums: 5, + NumMessages: 46, NumExtensions: 0, NumServices: 1, }, diff --git a/api/tendermint/abci/types_grpc.pb.go b/api/tendermint/abci/types_grpc.pb.go index 78769626cb101..cb03471195636 100644 --- a/api/tendermint/abci/types_grpc.pb.go +++ b/api/tendermint/abci/types_grpc.pb.go @@ -25,7 +25,6 @@ type ABCIApplicationClient interface { Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error) Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error) Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error) - SetOption(ctx context.Context, in *RequestSetOption, opts ...grpc.CallOption) (*ResponseSetOption, error) DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error) CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error) Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error) @@ -37,6 +36,8 @@ type ABCIApplicationClient interface { OfferSnapshot(ctx context.Context, in *RequestOfferSnapshot, opts ...grpc.CallOption) (*ResponseOfferSnapshot, error) LoadSnapshotChunk(ctx context.Context, in *RequestLoadSnapshotChunk, opts ...grpc.CallOption) (*ResponseLoadSnapshotChunk, error) ApplySnapshotChunk(ctx context.Context, in *RequestApplySnapshotChunk, opts ...grpc.CallOption) (*ResponseApplySnapshotChunk, error) + PrepareProposal(ctx context.Context, in *RequestPrepareProposal, opts ...grpc.CallOption) (*ResponsePrepareProposal, error) + ProcessProposal(ctx context.Context, in *RequestProcessProposal, opts ...grpc.CallOption) (*ResponseProcessProposal, error) } type aBCIApplicationClient struct { @@ -74,15 +75,6 @@ func (c *aBCIApplicationClient) Info(ctx context.Context, in *RequestInfo, opts return out, nil } -func (c *aBCIApplicationClient) SetOption(ctx context.Context, in *RequestSetOption, opts ...grpc.CallOption) (*ResponseSetOption, error) { - out := new(ResponseSetOption) - err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/SetOption", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *aBCIApplicationClient) DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error) { out := new(ResponseDeliverTx) err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/DeliverTx", in, out, opts...) @@ -182,6 +174,24 @@ func (c *aBCIApplicationClient) ApplySnapshotChunk(ctx context.Context, in *Requ return out, nil } +func (c *aBCIApplicationClient) PrepareProposal(ctx context.Context, in *RequestPrepareProposal, opts ...grpc.CallOption) (*ResponsePrepareProposal, error) { + out := new(ResponsePrepareProposal) + err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/PrepareProposal", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *aBCIApplicationClient) ProcessProposal(ctx context.Context, in *RequestProcessProposal, opts ...grpc.CallOption) (*ResponseProcessProposal, error) { + out := new(ResponseProcessProposal) + err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/ProcessProposal", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // ABCIApplicationServer is the server API for ABCIApplication service. // All implementations must embed UnimplementedABCIApplicationServer // for forward compatibility @@ -189,7 +199,6 @@ type ABCIApplicationServer interface { Echo(context.Context, *RequestEcho) (*ResponseEcho, error) Flush(context.Context, *RequestFlush) (*ResponseFlush, error) Info(context.Context, *RequestInfo) (*ResponseInfo, error) - SetOption(context.Context, *RequestSetOption) (*ResponseSetOption, error) DeliverTx(context.Context, *RequestDeliverTx) (*ResponseDeliverTx, error) CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error) Query(context.Context, *RequestQuery) (*ResponseQuery, error) @@ -201,6 +210,8 @@ type ABCIApplicationServer interface { OfferSnapshot(context.Context, *RequestOfferSnapshot) (*ResponseOfferSnapshot, error) LoadSnapshotChunk(context.Context, *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error) ApplySnapshotChunk(context.Context, *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error) + PrepareProposal(context.Context, *RequestPrepareProposal) (*ResponsePrepareProposal, error) + ProcessProposal(context.Context, *RequestProcessProposal) (*ResponseProcessProposal, error) mustEmbedUnimplementedABCIApplicationServer() } @@ -217,9 +228,6 @@ func (UnimplementedABCIApplicationServer) Flush(context.Context, *RequestFlush) func (UnimplementedABCIApplicationServer) Info(context.Context, *RequestInfo) (*ResponseInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method Info not implemented") } -func (UnimplementedABCIApplicationServer) SetOption(context.Context, *RequestSetOption) (*ResponseSetOption, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetOption not implemented") -} func (UnimplementedABCIApplicationServer) DeliverTx(context.Context, *RequestDeliverTx) (*ResponseDeliverTx, error) { return nil, status.Errorf(codes.Unimplemented, "method DeliverTx not implemented") } @@ -253,6 +261,12 @@ func (UnimplementedABCIApplicationServer) LoadSnapshotChunk(context.Context, *Re func (UnimplementedABCIApplicationServer) ApplySnapshotChunk(context.Context, *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error) { return nil, status.Errorf(codes.Unimplemented, "method ApplySnapshotChunk not implemented") } +func (UnimplementedABCIApplicationServer) PrepareProposal(context.Context, *RequestPrepareProposal) (*ResponsePrepareProposal, error) { + return nil, status.Errorf(codes.Unimplemented, "method PrepareProposal not implemented") +} +func (UnimplementedABCIApplicationServer) ProcessProposal(context.Context, *RequestProcessProposal) (*ResponseProcessProposal, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProcessProposal not implemented") +} func (UnimplementedABCIApplicationServer) mustEmbedUnimplementedABCIApplicationServer() {} // UnsafeABCIApplicationServer may be embedded to opt out of forward compatibility for this service. @@ -320,24 +334,6 @@ func _ABCIApplication_Info_Handler(srv interface{}, ctx context.Context, dec fun return interceptor(ctx, in, info, handler) } -func _ABCIApplication_SetOption_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RequestSetOption) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABCIApplicationServer).SetOption(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/tendermint.abci.ABCIApplication/SetOption", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABCIApplicationServer).SetOption(ctx, req.(*RequestSetOption)) - } - return interceptor(ctx, in, info, handler) -} - func _ABCIApplication_DeliverTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(RequestDeliverTx) if err := dec(in); err != nil { @@ -536,6 +532,42 @@ func _ABCIApplication_ApplySnapshotChunk_Handler(srv interface{}, ctx context.Co return interceptor(ctx, in, info, handler) } +func _ABCIApplication_PrepareProposal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RequestPrepareProposal) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ABCIApplicationServer).PrepareProposal(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/tendermint.abci.ABCIApplication/PrepareProposal", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ABCIApplicationServer).PrepareProposal(ctx, req.(*RequestPrepareProposal)) + } + return interceptor(ctx, in, info, handler) +} + +func _ABCIApplication_ProcessProposal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RequestProcessProposal) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ABCIApplicationServer).ProcessProposal(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/tendermint.abci.ABCIApplication/ProcessProposal", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ABCIApplicationServer).ProcessProposal(ctx, req.(*RequestProcessProposal)) + } + return interceptor(ctx, in, info, handler) +} + // ABCIApplication_ServiceDesc is the grpc.ServiceDesc for ABCIApplication service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -555,10 +587,6 @@ var ABCIApplication_ServiceDesc = grpc.ServiceDesc{ MethodName: "Info", Handler: _ABCIApplication_Info_Handler, }, - { - MethodName: "SetOption", - Handler: _ABCIApplication_SetOption_Handler, - }, { MethodName: "DeliverTx", Handler: _ABCIApplication_DeliverTx_Handler, @@ -603,6 +631,14 @@ var ABCIApplication_ServiceDesc = grpc.ServiceDesc{ MethodName: "ApplySnapshotChunk", Handler: _ABCIApplication_ApplySnapshotChunk_Handler, }, + { + MethodName: "PrepareProposal", + Handler: _ABCIApplication_PrepareProposal_Handler, + }, + { + MethodName: "ProcessProposal", + Handler: _ABCIApplication_ProcessProposal_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "tendermint/abci/types.proto", diff --git a/api/tendermint/crypto/keys.pulsar.go b/api/tendermint/crypto/keys.pulsar.go index 9310f585f12c9..537a21093cd9a 100644 --- a/api/tendermint/crypto/keys.pulsar.go +++ b/api/tendermint/crypto/keys.pulsar.go @@ -4,7 +4,7 @@ package crypto import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/tendermint/crypto/proof.pulsar.go b/api/tendermint/crypto/proof.pulsar.go index 9a934eb0fa727..a3128844e44e7 100644 --- a/api/tendermint/crypto/proof.pulsar.go +++ b/api/tendermint/crypto/proof.pulsar.go @@ -4,7 +4,7 @@ package crypto import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/tendermint/p2p/types.pulsar.go b/api/tendermint/p2p/types.pulsar.go index 7b6e113bc32b1..9bcb152d5481a 100644 --- a/api/tendermint/p2p/types.pulsar.go +++ b/api/tendermint/p2p/types.pulsar.go @@ -4,16 +4,547 @@ package p2p import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" - _ "google.golang.org/protobuf/types/known/timestamppb" io "io" reflect "reflect" sync "sync" ) +var ( + md_NetAddress protoreflect.MessageDescriptor + fd_NetAddress_id protoreflect.FieldDescriptor + fd_NetAddress_ip protoreflect.FieldDescriptor + fd_NetAddress_port protoreflect.FieldDescriptor +) + +func init() { + file_tendermint_p2p_types_proto_init() + md_NetAddress = File_tendermint_p2p_types_proto.Messages().ByName("NetAddress") + fd_NetAddress_id = md_NetAddress.Fields().ByName("id") + fd_NetAddress_ip = md_NetAddress.Fields().ByName("ip") + fd_NetAddress_port = md_NetAddress.Fields().ByName("port") +} + +var _ protoreflect.Message = (*fastReflection_NetAddress)(nil) + +type fastReflection_NetAddress NetAddress + +func (x *NetAddress) ProtoReflect() protoreflect.Message { + return (*fastReflection_NetAddress)(x) +} + +func (x *NetAddress) slowProtoReflect() protoreflect.Message { + mi := &file_tendermint_p2p_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_NetAddress_messageType fastReflection_NetAddress_messageType +var _ protoreflect.MessageType = fastReflection_NetAddress_messageType{} + +type fastReflection_NetAddress_messageType struct{} + +func (x fastReflection_NetAddress_messageType) Zero() protoreflect.Message { + return (*fastReflection_NetAddress)(nil) +} +func (x fastReflection_NetAddress_messageType) New() protoreflect.Message { + return new(fastReflection_NetAddress) +} +func (x fastReflection_NetAddress_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_NetAddress +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_NetAddress) Descriptor() protoreflect.MessageDescriptor { + return md_NetAddress +} + +// 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_NetAddress) Type() protoreflect.MessageType { + return _fastReflection_NetAddress_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_NetAddress) New() protoreflect.Message { + return new(fastReflection_NetAddress) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_NetAddress) Interface() protoreflect.ProtoMessage { + return (*NetAddress)(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_NetAddress) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Id != "" { + value := protoreflect.ValueOfString(x.Id) + if !f(fd_NetAddress_id, value) { + return + } + } + if x.Ip != "" { + value := protoreflect.ValueOfString(x.Ip) + if !f(fd_NetAddress_ip, value) { + return + } + } + if x.Port != uint32(0) { + value := protoreflect.ValueOfUint32(x.Port) + if !f(fd_NetAddress_port, 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_NetAddress) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "tendermint.p2p.NetAddress.id": + return x.Id != "" + case "tendermint.p2p.NetAddress.ip": + return x.Ip != "" + case "tendermint.p2p.NetAddress.port": + return x.Port != uint32(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.p2p.NetAddress")) + } + panic(fmt.Errorf("message tendermint.p2p.NetAddress 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_NetAddress) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "tendermint.p2p.NetAddress.id": + x.Id = "" + case "tendermint.p2p.NetAddress.ip": + x.Ip = "" + case "tendermint.p2p.NetAddress.port": + x.Port = uint32(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.p2p.NetAddress")) + } + panic(fmt.Errorf("message tendermint.p2p.NetAddress 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_NetAddress) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "tendermint.p2p.NetAddress.id": + value := x.Id + return protoreflect.ValueOfString(value) + case "tendermint.p2p.NetAddress.ip": + value := x.Ip + return protoreflect.ValueOfString(value) + case "tendermint.p2p.NetAddress.port": + value := x.Port + return protoreflect.ValueOfUint32(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.p2p.NetAddress")) + } + panic(fmt.Errorf("message tendermint.p2p.NetAddress 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_NetAddress) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "tendermint.p2p.NetAddress.id": + x.Id = value.Interface().(string) + case "tendermint.p2p.NetAddress.ip": + x.Ip = value.Interface().(string) + case "tendermint.p2p.NetAddress.port": + x.Port = uint32(value.Uint()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.p2p.NetAddress")) + } + panic(fmt.Errorf("message tendermint.p2p.NetAddress 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_NetAddress) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "tendermint.p2p.NetAddress.id": + panic(fmt.Errorf("field id of message tendermint.p2p.NetAddress is not mutable")) + case "tendermint.p2p.NetAddress.ip": + panic(fmt.Errorf("field ip of message tendermint.p2p.NetAddress is not mutable")) + case "tendermint.p2p.NetAddress.port": + panic(fmt.Errorf("field port of message tendermint.p2p.NetAddress is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.p2p.NetAddress")) + } + panic(fmt.Errorf("message tendermint.p2p.NetAddress 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_NetAddress) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "tendermint.p2p.NetAddress.id": + return protoreflect.ValueOfString("") + case "tendermint.p2p.NetAddress.ip": + return protoreflect.ValueOfString("") + case "tendermint.p2p.NetAddress.port": + return protoreflect.ValueOfUint32(uint32(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.p2p.NetAddress")) + } + panic(fmt.Errorf("message tendermint.p2p.NetAddress 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_NetAddress) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in tendermint.p2p.NetAddress", 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_NetAddress) 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_NetAddress) 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_NetAddress) 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_NetAddress) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*NetAddress) + 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.Id) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Ip) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Port != 0 { + n += 1 + runtime.Sov(uint64(x.Port)) + } + 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().(*NetAddress) + 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 x.Port != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Port)) + i-- + dAtA[i] = 0x18 + } + if len(x.Ip) > 0 { + i -= len(x.Ip) + copy(dAtA[i:], x.Ip) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Ip))) + i-- + dAtA[i] = 0x12 + } + if len(x.Id) > 0 { + i -= len(x.Id) + copy(dAtA[i:], x.Id) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) + 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().(*NetAddress) + 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: NetAddress: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: NetAddress: 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 Id", 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.Id = 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 Ip", 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.Ip = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + } + x.Port = 0 + 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++ + x.Port |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_ProtocolVersion protoreflect.MessageDescriptor fd_ProtocolVersion_p2p protoreflect.FieldDescriptor @@ -38,7 +569,7 @@ func (x *ProtocolVersion) ProtoReflect() protoreflect.Message { } func (x *ProtocolVersion) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_p2p_types_proto_msgTypes[0] + mi := &file_tendermint_p2p_types_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -548,7 +1079,7 @@ func (x *DefaultNodeInfo) ProtoReflect() protoreflect.Message { } func (x *DefaultNodeInfo) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_p2p_types_proto_msgTypes[1] + mi := &file_tendermint_p2p_types_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1436,7 +1967,7 @@ func (x *DefaultNodeInfoOther) ProtoReflect() protoreflect.Message { } func (x *DefaultNodeInfoOther) slowProtoReflect() protoreflect.Message { - mi := &file_tendermint_p2p_types_proto_msgTypes[2] + mi := &file_tendermint_p2p_types_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1911,6 +2442,57 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) +type NetAddress struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` + Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` +} + +func (x *NetAddress) Reset() { + *x = NetAddress{} + if protoimpl.UnsafeEnabled { + mi := &file_tendermint_p2p_types_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NetAddress) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NetAddress) ProtoMessage() {} + +// Deprecated: Use NetAddress.ProtoReflect.Descriptor instead. +func (*NetAddress) Descriptor() ([]byte, []int) { + return file_tendermint_p2p_types_proto_rawDescGZIP(), []int{0} +} + +func (x *NetAddress) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *NetAddress) GetIp() string { + if x != nil { + return x.Ip + } + return "" +} + +func (x *NetAddress) GetPort() uint32 { + if x != nil { + return x.Port + } + return 0 +} + type ProtocolVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1924,7 +2506,7 @@ type ProtocolVersion struct { func (x *ProtocolVersion) Reset() { *x = ProtocolVersion{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_p2p_types_proto_msgTypes[0] + mi := &file_tendermint_p2p_types_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1938,7 +2520,7 @@ func (*ProtocolVersion) ProtoMessage() {} // Deprecated: Use ProtocolVersion.ProtoReflect.Descriptor instead. func (*ProtocolVersion) Descriptor() ([]byte, []int) { - return file_tendermint_p2p_types_proto_rawDescGZIP(), []int{0} + return file_tendermint_p2p_types_proto_rawDescGZIP(), []int{1} } func (x *ProtocolVersion) GetP2P() uint64 { @@ -1980,7 +2562,7 @@ type DefaultNodeInfo struct { func (x *DefaultNodeInfo) Reset() { *x = DefaultNodeInfo{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_p2p_types_proto_msgTypes[1] + mi := &file_tendermint_p2p_types_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1994,7 +2576,7 @@ func (*DefaultNodeInfo) ProtoMessage() {} // Deprecated: Use DefaultNodeInfo.ProtoReflect.Descriptor instead. func (*DefaultNodeInfo) Descriptor() ([]byte, []int) { - return file_tendermint_p2p_types_proto_rawDescGZIP(), []int{1} + return file_tendermint_p2p_types_proto_rawDescGZIP(), []int{2} } func (x *DefaultNodeInfo) GetProtocolVersion() *ProtocolVersion { @@ -2065,7 +2647,7 @@ type DefaultNodeInfoOther struct { func (x *DefaultNodeInfoOther) Reset() { *x = DefaultNodeInfoOther{} if protoimpl.UnsafeEnabled { - mi := &file_tendermint_p2p_types_proto_msgTypes[2] + mi := &file_tendermint_p2p_types_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2079,7 +2661,7 @@ func (*DefaultNodeInfoOther) ProtoMessage() {} // Deprecated: Use DefaultNodeInfoOther.ProtoReflect.Descriptor instead. func (*DefaultNodeInfoOther) Descriptor() ([]byte, []int) { - return file_tendermint_p2p_types_proto_rawDescGZIP(), []int{2} + return file_tendermint_p2p_types_proto_rawDescGZIP(), []int{3} } func (x *DefaultNodeInfoOther) GetTxIndex() string { @@ -2103,53 +2685,57 @@ var file_tendermint_p2p_types_proto_rawDesc = []byte{ 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x32, 0x70, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x32, 0x70, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x42, 0x07, 0xe2, 0xde, 0x1f, 0x03, 0x50, 0x32, 0x50, 0x52, 0x03, 0x70, 0x32, - 0x70, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x70, 0x70, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x61, 0x70, 0x70, 0x22, 0xeb, 0x02, 0x0a, 0x0f, 0x44, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x50, 0x0a, - 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, - 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x39, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0xe2, 0xde, 0x1f, 0x0d, 0x44, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x52, 0x0d, 0x64, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x69, - 0x73, 0x74, 0x65, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6e, - 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, - 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f, - 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x05, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, - 0x74, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x64, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, - 0x52, 0x05, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x22, 0x62, 0x0a, 0x14, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x12, - 0x19, 0x0a, 0x08, 0x74, 0x78, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x74, 0x78, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2f, 0x0a, 0x0b, 0x72, 0x70, - 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x0e, 0xe2, 0xde, 0x1f, 0x0a, 0x52, 0x50, 0x43, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, - 0x0a, 0x72, 0x70, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x9a, 0x01, 0x0a, 0x12, - 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x70, - 0x32, 0x70, 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, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2f, 0x70, 0x32, - 0x70, 0xa2, 0x02, 0x03, 0x54, 0x50, 0x58, 0xaa, 0x02, 0x0e, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, - 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x50, 0x32, 0x70, 0xca, 0x02, 0x0e, 0x54, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x5c, 0x50, 0x32, 0x70, 0xe2, 0x02, 0x1a, 0x54, 0x65, 0x6e, 0x64, - 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x5c, 0x50, 0x32, 0x70, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, - 0x69, 0x6e, 0x74, 0x3a, 0x3a, 0x50, 0x32, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x0a, 0x4e, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x16, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xde, + 0x1f, 0x02, 0x49, 0x44, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xde, 0x1f, 0x02, 0x49, 0x50, 0x52, 0x02, 0x69, 0x70, + 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, + 0x70, 0x6f, 0x72, 0x74, 0x22, 0x54, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x03, 0x70, 0x32, 0x70, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x42, 0x07, 0xe2, 0xde, 0x1f, 0x03, 0x50, 0x32, 0x50, 0x52, 0x03, 0x70, + 0x32, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x70, 0x70, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x61, 0x70, 0x70, 0x22, 0xeb, 0x02, 0x0a, 0x0f, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x50, + 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, + 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x39, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0xe2, 0xde, 0x1f, 0x0d, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x52, 0x0d, 0x64, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12, 0x18, 0x0a, 0x07, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, + 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x05, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, + 0x6e, 0x74, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x6f, + 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, + 0x00, 0x52, 0x05, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x22, 0x62, 0x0a, 0x14, 0x44, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4f, 0x74, 0x68, 0x65, 0x72, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x78, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x74, 0x78, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2f, 0x0a, 0x0b, 0x72, + 0x70, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x0e, 0xe2, 0xde, 0x1f, 0x0a, 0x52, 0x50, 0x43, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x52, 0x0a, 0x72, 0x70, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x9a, 0x01, 0x0a, + 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, + 0x70, 0x32, 0x70, 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, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2f, 0x70, + 0x32, 0x70, 0xa2, 0x02, 0x03, 0x54, 0x50, 0x58, 0xaa, 0x02, 0x0e, 0x54, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x50, 0x32, 0x70, 0xca, 0x02, 0x0e, 0x54, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x5c, 0x50, 0x32, 0x70, 0xe2, 0x02, 0x1a, 0x54, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x5c, 0x50, 0x32, 0x70, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x6d, 0x69, 0x6e, 0x74, 0x3a, 0x3a, 0x50, 0x32, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -2164,15 +2750,16 @@ func file_tendermint_p2p_types_proto_rawDescGZIP() []byte { return file_tendermint_p2p_types_proto_rawDescData } -var file_tendermint_p2p_types_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_tendermint_p2p_types_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_tendermint_p2p_types_proto_goTypes = []interface{}{ - (*ProtocolVersion)(nil), // 0: tendermint.p2p.ProtocolVersion - (*DefaultNodeInfo)(nil), // 1: tendermint.p2p.DefaultNodeInfo - (*DefaultNodeInfoOther)(nil), // 2: tendermint.p2p.DefaultNodeInfoOther + (*NetAddress)(nil), // 0: tendermint.p2p.NetAddress + (*ProtocolVersion)(nil), // 1: tendermint.p2p.ProtocolVersion + (*DefaultNodeInfo)(nil), // 2: tendermint.p2p.DefaultNodeInfo + (*DefaultNodeInfoOther)(nil), // 3: tendermint.p2p.DefaultNodeInfoOther } var file_tendermint_p2p_types_proto_depIdxs = []int32{ - 0, // 0: tendermint.p2p.DefaultNodeInfo.protocol_version:type_name -> tendermint.p2p.ProtocolVersion - 2, // 1: tendermint.p2p.DefaultNodeInfo.other:type_name -> tendermint.p2p.DefaultNodeInfoOther + 1, // 0: tendermint.p2p.DefaultNodeInfo.protocol_version:type_name -> tendermint.p2p.ProtocolVersion + 3, // 1: tendermint.p2p.DefaultNodeInfo.other:type_name -> tendermint.p2p.DefaultNodeInfoOther 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 @@ -2187,7 +2774,7 @@ func file_tendermint_p2p_types_proto_init() { } if !protoimpl.UnsafeEnabled { file_tendermint_p2p_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtocolVersion); i { + switch v := v.(*NetAddress); i { case 0: return &v.state case 1: @@ -2199,7 +2786,7 @@ func file_tendermint_p2p_types_proto_init() { } } file_tendermint_p2p_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DefaultNodeInfo); i { + switch v := v.(*ProtocolVersion); i { case 0: return &v.state case 1: @@ -2211,6 +2798,18 @@ func file_tendermint_p2p_types_proto_init() { } } file_tendermint_p2p_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DefaultNodeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tendermint_p2p_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DefaultNodeInfoOther); i { case 0: return &v.state @@ -2229,7 +2828,7 @@ func file_tendermint_p2p_types_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_tendermint_p2p_types_proto_rawDesc, NumEnums: 0, - NumMessages: 3, + NumMessages: 4, NumExtensions: 0, NumServices: 0, }, diff --git a/api/tendermint/types/block.pulsar.go b/api/tendermint/types/block.pulsar.go index f40331701f66b..aed0ab7f3409d 100644 --- a/api/tendermint/types/block.pulsar.go +++ b/api/tendermint/types/block.pulsar.go @@ -4,7 +4,7 @@ package types import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/tendermint/types/evidence.pulsar.go b/api/tendermint/types/evidence.pulsar.go index 774309e8bfa08..a80b33b79f285 100644 --- a/api/tendermint/types/evidence.pulsar.go +++ b/api/tendermint/types/evidence.pulsar.go @@ -4,7 +4,7 @@ package types import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/tendermint/types/params.pulsar.go b/api/tendermint/types/params.pulsar.go index dfba5e23f085f..413d1807c0da6 100644 --- a/api/tendermint/types/params.pulsar.go +++ b/api/tendermint/types/params.pulsar.go @@ -4,7 +4,7 @@ package types import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" @@ -687,10 +687,9 @@ func (x *fastReflection_ConsensusParams) ProtoMethods() *protoiface.Methods { } var ( - md_BlockParams protoreflect.MessageDescriptor - fd_BlockParams_max_bytes protoreflect.FieldDescriptor - fd_BlockParams_max_gas protoreflect.FieldDescriptor - fd_BlockParams_time_iota_ms protoreflect.FieldDescriptor + md_BlockParams protoreflect.MessageDescriptor + fd_BlockParams_max_bytes protoreflect.FieldDescriptor + fd_BlockParams_max_gas protoreflect.FieldDescriptor ) func init() { @@ -698,7 +697,6 @@ func init() { md_BlockParams = File_tendermint_types_params_proto.Messages().ByName("BlockParams") fd_BlockParams_max_bytes = md_BlockParams.Fields().ByName("max_bytes") fd_BlockParams_max_gas = md_BlockParams.Fields().ByName("max_gas") - fd_BlockParams_time_iota_ms = md_BlockParams.Fields().ByName("time_iota_ms") } var _ protoreflect.Message = (*fastReflection_BlockParams)(nil) @@ -778,12 +776,6 @@ func (x *fastReflection_BlockParams) Range(f func(protoreflect.FieldDescriptor, return } } - if x.TimeIotaMs != int64(0) { - value := protoreflect.ValueOfInt64(x.TimeIotaMs) - if !f(fd_BlockParams_time_iota_ms, value) { - return - } - } } // Has reports whether a field is populated. @@ -803,8 +795,6 @@ func (x *fastReflection_BlockParams) Has(fd protoreflect.FieldDescriptor) bool { return x.MaxBytes != int64(0) case "tendermint.types.BlockParams.max_gas": return x.MaxGas != int64(0) - case "tendermint.types.BlockParams.time_iota_ms": - return x.TimeIotaMs != int64(0) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.types.BlockParams")) @@ -825,8 +815,6 @@ func (x *fastReflection_BlockParams) Clear(fd protoreflect.FieldDescriptor) { x.MaxBytes = int64(0) case "tendermint.types.BlockParams.max_gas": x.MaxGas = int64(0) - case "tendermint.types.BlockParams.time_iota_ms": - x.TimeIotaMs = int64(0) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.types.BlockParams")) @@ -849,9 +837,6 @@ func (x *fastReflection_BlockParams) Get(descriptor protoreflect.FieldDescriptor case "tendermint.types.BlockParams.max_gas": value := x.MaxGas return protoreflect.ValueOfInt64(value) - case "tendermint.types.BlockParams.time_iota_ms": - value := x.TimeIotaMs - return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.types.BlockParams")) @@ -876,8 +861,6 @@ func (x *fastReflection_BlockParams) Set(fd protoreflect.FieldDescriptor, value x.MaxBytes = value.Int() case "tendermint.types.BlockParams.max_gas": x.MaxGas = value.Int() - case "tendermint.types.BlockParams.time_iota_ms": - x.TimeIotaMs = value.Int() default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.types.BlockParams")) @@ -902,8 +885,6 @@ func (x *fastReflection_BlockParams) Mutable(fd protoreflect.FieldDescriptor) pr panic(fmt.Errorf("field max_bytes of message tendermint.types.BlockParams is not mutable")) case "tendermint.types.BlockParams.max_gas": panic(fmt.Errorf("field max_gas of message tendermint.types.BlockParams is not mutable")) - case "tendermint.types.BlockParams.time_iota_ms": - panic(fmt.Errorf("field time_iota_ms of message tendermint.types.BlockParams is not mutable")) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.types.BlockParams")) @@ -921,8 +902,6 @@ func (x *fastReflection_BlockParams) NewField(fd protoreflect.FieldDescriptor) p return protoreflect.ValueOfInt64(int64(0)) case "tendermint.types.BlockParams.max_gas": return protoreflect.ValueOfInt64(int64(0)) - case "tendermint.types.BlockParams.time_iota_ms": - return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.types.BlockParams")) @@ -998,9 +977,6 @@ func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { if x.MaxGas != 0 { n += 1 + runtime.Sov(uint64(x.MaxGas)) } - if x.TimeIotaMs != 0 { - n += 1 + runtime.Sov(uint64(x.TimeIotaMs)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -1030,11 +1006,6 @@ func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.TimeIotaMs != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.TimeIotaMs)) - i-- - dAtA[i] = 0x18 - } if x.MaxGas != 0 { i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxGas)) i-- @@ -1132,25 +1103,6 @@ func (x *fastReflection_BlockParams) ProtoMethods() *protoiface.Methods { break } } - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TimeIotaMs", wireType) - } - x.TimeIotaMs = 0 - 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++ - x.TimeIotaMs |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -2198,14 +2150,14 @@ func (x *fastReflection_ValidatorParams) ProtoMethods() *protoiface.Methods { } var ( - md_VersionParams protoreflect.MessageDescriptor - fd_VersionParams_app_version protoreflect.FieldDescriptor + md_VersionParams protoreflect.MessageDescriptor + fd_VersionParams_app protoreflect.FieldDescriptor ) func init() { file_tendermint_types_params_proto_init() md_VersionParams = File_tendermint_types_params_proto.Messages().ByName("VersionParams") - fd_VersionParams_app_version = md_VersionParams.Fields().ByName("app_version") + fd_VersionParams_app = md_VersionParams.Fields().ByName("app") } var _ protoreflect.Message = (*fastReflection_VersionParams)(nil) @@ -2273,9 +2225,9 @@ func (x *fastReflection_VersionParams) Interface() protoreflect.ProtoMessage { // While iterating, mutating operations may only be performed // on the current field descriptor. func (x *fastReflection_VersionParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.AppVersion != uint64(0) { - value := protoreflect.ValueOfUint64(x.AppVersion) - if !f(fd_VersionParams_app_version, value) { + if x.App != uint64(0) { + value := protoreflect.ValueOfUint64(x.App) + if !f(fd_VersionParams_app, value) { return } } @@ -2294,8 +2246,8 @@ func (x *fastReflection_VersionParams) Range(f func(protoreflect.FieldDescriptor // a repeated field is populated if it is non-empty. func (x *fastReflection_VersionParams) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "tendermint.types.VersionParams.app_version": - return x.AppVersion != uint64(0) + case "tendermint.types.VersionParams.app": + return x.App != uint64(0) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.types.VersionParams")) @@ -2312,8 +2264,8 @@ func (x *fastReflection_VersionParams) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_VersionParams) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "tendermint.types.VersionParams.app_version": - x.AppVersion = uint64(0) + case "tendermint.types.VersionParams.app": + x.App = uint64(0) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.types.VersionParams")) @@ -2330,8 +2282,8 @@ func (x *fastReflection_VersionParams) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_VersionParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "tendermint.types.VersionParams.app_version": - value := x.AppVersion + case "tendermint.types.VersionParams.app": + value := x.App return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { @@ -2353,8 +2305,8 @@ func (x *fastReflection_VersionParams) Get(descriptor protoreflect.FieldDescript // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_VersionParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "tendermint.types.VersionParams.app_version": - x.AppVersion = value.Uint() + case "tendermint.types.VersionParams.app": + x.App = value.Uint() default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.types.VersionParams")) @@ -2375,8 +2327,8 @@ func (x *fastReflection_VersionParams) Set(fd protoreflect.FieldDescriptor, valu // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_VersionParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.types.VersionParams.app_version": - panic(fmt.Errorf("field app_version of message tendermint.types.VersionParams is not mutable")) + case "tendermint.types.VersionParams.app": + panic(fmt.Errorf("field app of message tendermint.types.VersionParams is not mutable")) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: tendermint.types.VersionParams")) @@ -2390,7 +2342,7 @@ func (x *fastReflection_VersionParams) Mutable(fd protoreflect.FieldDescriptor) // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_VersionParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "tendermint.types.VersionParams.app_version": + case "tendermint.types.VersionParams.app": return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { @@ -2461,8 +2413,8 @@ func (x *fastReflection_VersionParams) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.AppVersion != 0 { - n += 1 + runtime.Sov(uint64(x.AppVersion)) + if x.App != 0 { + n += 1 + runtime.Sov(uint64(x.App)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -2493,8 +2445,8 @@ func (x *fastReflection_VersionParams) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.AppVersion != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.AppVersion)) + if x.App != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.App)) i-- dAtA[i] = 0x8 } @@ -2549,9 +2501,9 @@ func (x *fastReflection_VersionParams) ProtoMethods() *protoiface.Methods { switch fieldNum { case 1: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AppVersion", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field App", wireType) } - x.AppVersion = 0 + x.App = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -2561,7 +2513,7 @@ func (x *fastReflection_VersionParams) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - x.AppVersion |= uint64(b&0x7F) << shift + x.App |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3139,11 +3091,6 @@ type BlockParams struct { // Max gas per block. // Note: must be greater or equal to -1 MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"` - // Minimum time increment between consecutive blocks (in milliseconds) If the - // block header timestamp is ahead of the system clock, decrease this value. - // - // Not exposed to the application. - TimeIotaMs int64 `protobuf:"varint,3,opt,name=time_iota_ms,json=timeIotaMs,proto3" json:"time_iota_ms,omitempty"` } func (x *BlockParams) Reset() { @@ -3180,13 +3127,6 @@ func (x *BlockParams) GetMaxGas() int64 { return 0 } -func (x *BlockParams) GetTimeIotaMs() int64 { - if x != nil { - return x.TimeIotaMs - } - return 0 -} - // EvidenceParams determine how we handle evidence of malfeasance. type EvidenceParams struct { state protoimpl.MessageState @@ -3294,7 +3234,7 @@ type VersionParams struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AppVersion uint64 `protobuf:"varint,1,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` + App uint64 `protobuf:"varint,1,opt,name=app,proto3" json:"app,omitempty"` } func (x *VersionParams) Reset() { @@ -3317,9 +3257,9 @@ func (*VersionParams) Descriptor() ([]byte, []int) { return file_tendermint_types_params_proto_rawDescGZIP(), []int{4} } -func (x *VersionParams) GetAppVersion() uint64 { +func (x *VersionParams) GetApp() uint64 { if x != nil { - return x.AppVersion + return x.App } return 0 } @@ -3379,67 +3319,63 @@ var file_tendermint_types_params_proto_rawDesc = []byte{ 0x73, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x02, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x73, - 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x39, 0x0a, 0x05, 0x62, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x02, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x73, + 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x33, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, - 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x08, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, - 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x76, 0x69, 0x64, - 0x65, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, - 0x52, 0x08, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x09, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, - 0x72, 0x12, 0x3f, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x22, 0x65, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x17, - 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x67, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x06, 0x6d, 0x61, 0x78, 0x47, 0x61, 0x73, 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, - 0x69, 0x6f, 0x74, 0x61, 0x5f, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, - 0x69, 0x6d, 0x65, 0x49, 0x6f, 0x74, 0x61, 0x4d, 0x73, 0x22, 0xa9, 0x01, 0x0a, 0x0e, 0x45, 0x76, - 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2b, 0x0a, 0x12, - 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x41, 0x67, 0x65, - 0x4e, 0x75, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x4d, 0x0a, 0x10, 0x6d, 0x61, 0x78, - 0x5f, 0x61, 0x67, 0x65, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, - 0xc8, 0xde, 0x1f, 0x00, 0x98, 0xdf, 0x1f, 0x01, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x41, 0x67, 0x65, - 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, - 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x78, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x5f, - 0x6b, 0x65, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x0b, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x08, 0xb8, 0xa0, - 0x1f, 0x01, 0xe8, 0xa0, 0x1f, 0x01, 0x22, 0x3a, 0x0a, 0x0d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x5f, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x70, - 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x3a, 0x08, 0xb8, 0xa0, 0x1f, 0x01, 0xe8, 0xa0, - 0x1f, 0x01, 0x22, 0x5a, 0x0a, 0x0c, 0x48, 0x61, 0x73, 0x68, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6d, 0x61, 0x78, 0x5f, - 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x4d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x67, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4d, 0x61, 0x78, 0x47, 0x61, 0x73, 0x42, 0xab, - 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, - 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x42, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 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, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, - 0x69, 0x6e, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x54, 0x54, 0x58, 0xaa, - 0x02, 0x10, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, - 0x65, 0x73, 0xca, 0x02, 0x10, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x5c, - 0x54, 0x79, 0x70, 0x65, 0x73, 0xe2, 0x02, 0x1c, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x74, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, - 0x74, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, 0xa8, 0xe2, 0x1e, 0x01, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x63, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x12, 0x3c, 0x0a, 0x08, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x52, 0x08, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3f, + 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x39, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x49, 0x0a, 0x0b, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, + 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, + 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x67, 0x61, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x47, 0x61, 0x73, 0x4a, + 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xa9, 0x01, 0x0a, 0x0e, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, + 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2b, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f, + 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x41, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x4d, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x67, 0x65, + 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xc8, 0xde, 0x1f, 0x00, + 0x98, 0xdf, 0x1f, 0x01, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x41, 0x67, 0x65, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x22, 0x3f, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x75, 0x62, + 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x08, 0xb8, 0xa0, 0x1f, 0x01, 0xe8, 0xa0, + 0x1f, 0x01, 0x22, 0x2b, 0x0a, 0x0d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x70, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x03, 0x61, 0x70, 0x70, 0x3a, 0x08, 0xb8, 0xa0, 0x1f, 0x01, 0xe8, 0xa0, 0x1f, 0x01, 0x22, + 0x5a, 0x0a, 0x0c, 0x48, 0x61, 0x73, 0x68, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, + 0x26, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x79, 0x74, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4d, + 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x67, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4d, 0x61, 0x78, 0x47, 0x61, 0x73, 0x42, 0xab, 0x01, 0x0a, 0x14, + 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x42, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 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, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x54, 0x54, 0x58, 0xaa, 0x02, 0x10, 0x54, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0xca, + 0x02, 0x10, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x5c, 0x54, 0x79, 0x70, + 0x65, 0x73, 0xe2, 0x02, 0x1c, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x5c, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x11, 0x54, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x74, 0x3a, 0x3a, + 0x54, 0x79, 0x70, 0x65, 0x73, 0xa8, 0xe2, 0x1e, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/api/tendermint/types/types.pulsar.go b/api/tendermint/types/types.pulsar.go index cff75f4ba5429..3280c62177ca2 100644 --- a/api/tendermint/types/types.pulsar.go +++ b/api/tendermint/types/types.pulsar.go @@ -6,7 +6,7 @@ import ( version "cosmossdk.io/api/tendermint/version" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/tendermint/types/validator.pulsar.go b/api/tendermint/types/validator.pulsar.go index ca3ea4d754ed6..477dcecda7938 100644 --- a/api/tendermint/types/validator.pulsar.go +++ b/api/tendermint/types/validator.pulsar.go @@ -5,7 +5,7 @@ import ( crypto "cosmossdk.io/api/tendermint/crypto" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/api/tendermint/version/types.pulsar.go b/api/tendermint/version/types.pulsar.go index 72c65fdf2d250..7724eeab87ff7 100644 --- a/api/tendermint/version/types.pulsar.go +++ b/api/tendermint/version/types.pulsar.go @@ -4,7 +4,7 @@ package version import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/baseapp/abci.go b/baseapp/abci.go index b59c63dbee148..5e1c8f37c26cc 100644 --- a/baseapp/abci.go +++ b/baseapp/abci.go @@ -10,7 +10,7 @@ import ( "syscall" "time" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" abci "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" "google.golang.org/grpc/codes" diff --git a/baseapp/baseapp.go b/baseapp/baseapp.go index dbe20e20ddfca..c946173dd4388 100644 --- a/baseapp/baseapp.go +++ b/baseapp/baseapp.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/crypto/tmhash" "github.com/tendermint/tendermint/libs/log" diff --git a/baseapp/deliver_tx_test.go b/baseapp/deliver_tx_test.go index 8cac0b94c4030..7eacbee32c654 100644 --- a/baseapp/deliver_tx_test.go +++ b/baseapp/deliver_tx_test.go @@ -34,7 +34,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/x/auth/signing" authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - "github.com/gogo/protobuf/jsonpb" + "github.com/cosmos/gogoproto/jsonpb" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" diff --git a/baseapp/grpcrouter.go b/baseapp/grpcrouter.go index 3e3e54691a7fa..a92529a97ff3b 100644 --- a/baseapp/grpcrouter.go +++ b/baseapp/grpcrouter.go @@ -3,7 +3,7 @@ package baseapp import ( "fmt" - gogogrpc "github.com/gogo/protobuf/grpc" + gogogrpc "github.com/cosmos/gogoproto/grpc" abci "github.com/tendermint/tendermint/abci/types" "google.golang.org/grpc" "google.golang.org/grpc/encoding" diff --git a/baseapp/grpcrouter_helpers.go b/baseapp/grpcrouter_helpers.go index efe0693616774..9efe019517ccd 100644 --- a/baseapp/grpcrouter_helpers.go +++ b/baseapp/grpcrouter_helpers.go @@ -4,7 +4,7 @@ import ( gocontext "context" "fmt" - gogogrpc "github.com/gogo/protobuf/grpc" + gogogrpc "github.com/cosmos/gogoproto/grpc" abci "github.com/tendermint/tendermint/abci/types" "google.golang.org/grpc" diff --git a/baseapp/grpcserver.go b/baseapp/grpcserver.go index 9b4626cd142cb..9424a5e7e3ca2 100644 --- a/baseapp/grpcserver.go +++ b/baseapp/grpcserver.go @@ -4,7 +4,7 @@ import ( "context" "strconv" - gogogrpc "github.com/gogo/protobuf/grpc" + gogogrpc "github.com/cosmos/gogoproto/grpc" grpcmiddleware "github.com/grpc-ecosystem/go-grpc-middleware" grpcrecovery "github.com/grpc-ecosystem/go-grpc-middleware/recovery" "google.golang.org/grpc" diff --git a/baseapp/msg_service_router.go b/baseapp/msg_service_router.go index e9f2311cae237..2df4e113d8392 100644 --- a/baseapp/msg_service_router.go +++ b/baseapp/msg_service_router.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - gogogrpc "github.com/gogo/protobuf/grpc" - "github.com/gogo/protobuf/proto" + gogogrpc "github.com/cosmos/gogoproto/grpc" + "github.com/cosmos/gogoproto/proto" "google.golang.org/grpc" codectypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/baseapp/testutil/buf.lock b/baseapp/testutil/buf.lock index c6f890bd4b3e0..259bd9ce82b15 100644 --- a/baseapp/testutil/buf.lock +++ b/baseapp/testutil/buf.lock @@ -4,14 +4,8 @@ deps: - remote: buf.build owner: cosmos repository: cosmos-proto - branch: main - commit: 9e9a53f8db0d493f8b8c66d458c767c1 - digest: b1-6w7Hozd_Oo_yZ1Sku8Nhz9qou-4licLr6VmEyeI9jO4= - create_time: 2021-12-02T20:41:47.795828Z + commit: 1935555c206d4afb9e94615dfd0fad31 - remote: buf.build owner: cosmos repository: gogo-proto - branch: main - commit: bee5511075b7499da6178d9e4aaa628b - digest: b1-rrBIustouD-S80cVoZ_rM0qJsmei9AgbXy9GPQu6vxg= - create_time: 2021-12-02T20:01:17.069307Z + commit: 6652e3443c3b4504bb3bf82e73a7e409 diff --git a/baseapp/testutil/messages.pb.go b/baseapp/testutil/messages.pb.go index 9a19f22013af7..55aa0b2daaae7 100644 --- a/baseapp/testutil/messages.pb.go +++ b/baseapp/testutil/messages.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/buf.work.yaml b/buf.work.yaml index 49ff616c73519..d8175d0ef8142 100644 --- a/buf.work.yaml +++ b/buf.work.yaml @@ -6,5 +6,4 @@ version: v1 directories: - proto - - third_party/proto - orm/internal diff --git a/client/context.go b/client/context.go index 46affe145858d..615867468d1e2 100644 --- a/client/context.go +++ b/client/context.go @@ -7,7 +7,7 @@ import ( "io" "os" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/spf13/viper" "google.golang.org/grpc" "sigs.k8s.io/yaml" diff --git a/client/grpc/reflection/reflection.pb.go b/client/grpc/reflection/reflection.pb.go index 66dbef0c71055..3c207e94fefc0 100644 --- a/client/grpc/reflection/reflection.pb.go +++ b/client/grpc/reflection/reflection.pb.go @@ -6,8 +6,8 @@ package reflection import ( context "context" fmt "fmt" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/client/grpc/tmservice/query.pb.go b/client/grpc/tmservice/query.pb.go index 52e856ee9a255..91a57bd07e2d5 100644 --- a/client/grpc/tmservice/query.pb.go +++ b/client/grpc/tmservice/query.pb.go @@ -9,9 +9,9 @@ import ( _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" p2p "github.com/tendermint/tendermint/proto/tendermint/p2p" types1 "github.com/tendermint/tendermint/proto/tendermint/types" _ "google.golang.org/genproto/googleapis/api/annotations" diff --git a/client/grpc/tmservice/service.go b/client/grpc/tmservice/service.go index 9c698c7733bd0..f655683914169 100644 --- a/client/grpc/tmservice/service.go +++ b/client/grpc/tmservice/service.go @@ -3,7 +3,7 @@ package tmservice import ( "context" - gogogrpc "github.com/gogo/protobuf/grpc" + gogogrpc "github.com/cosmos/gogoproto/grpc" "github.com/grpc-ecosystem/grpc-gateway/runtime" abci "github.com/tendermint/tendermint/abci/types" "google.golang.org/grpc/codes" diff --git a/client/grpc/tmservice/types.pb.go b/client/grpc/tmservice/types.pb.go index e9bb255f21909..c72795d94c37d 100644 --- a/client/grpc/tmservice/types.pb.go +++ b/client/grpc/tmservice/types.pb.go @@ -5,9 +5,9 @@ package tmservice import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" types "github.com/tendermint/tendermint/proto/tendermint/types" version "github.com/tendermint/tendermint/proto/tendermint/version" _ "google.golang.org/protobuf/types/known/timestamppb" @@ -466,7 +466,7 @@ func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x2a - n6, err6 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):]) + n6, err6 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time):]) if err6 != nil { return 0, err6 } @@ -544,7 +544,7 @@ func (m *Header) Size() (n int) { if m.Height != 0 { n += 1 + sovTypes(uint64(m.Height)) } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time) n += 1 + l + sovTypes(uint64(l)) l = m.LastBlockId.Size() n += 1 + l + sovTypes(uint64(l)) @@ -920,7 +920,7 @@ func (m *Header) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/client/grpc_query.go b/client/grpc_query.go index bda46c6aa02b0..2dc54dcf34724 100644 --- a/client/grpc_query.go +++ b/client/grpc_query.go @@ -7,12 +7,12 @@ import ( "reflect" "strconv" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" "google.golang.org/grpc/encoding" "github.com/cosmos/cosmos-sdk/codec" - gogogrpc "github.com/gogo/protobuf/grpc" + gogogrpc "github.com/cosmos/gogoproto/grpc" abci "github.com/tendermint/tendermint/abci/types" "google.golang.org/grpc" "google.golang.org/grpc/metadata" diff --git a/client/tx/aux_builder.go b/client/tx/aux_builder.go index da8dd1fb9c082..331f4a8459e1a 100644 --- a/client/tx/aux_builder.go +++ b/client/tx/aux_builder.go @@ -1,7 +1,7 @@ package tx import ( - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" diff --git a/client/tx/tx.go b/client/tx/tx.go index d17adc4cd53e4..2463d1d4cfa59 100644 --- a/client/tx/tx.go +++ b/client/tx/tx.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - gogogrpc "github.com/gogo/protobuf/grpc" + gogogrpc "github.com/cosmos/gogoproto/grpc" "github.com/spf13/pflag" "github.com/cosmos/cosmos-sdk/client" diff --git a/client/v2/internal/buf.lock b/client/v2/internal/buf.lock index d9908795e2cca..4a0b42f62bc0d 100644 --- a/client/v2/internal/buf.lock +++ b/client/v2/internal/buf.lock @@ -4,17 +4,14 @@ deps: - remote: buf.build owner: cosmos repository: cosmos-proto - branch: main commit: 1935555c206d4afb9e94615dfd0fad31 - remote: buf.build owner: cosmos repository: cosmos-sdk - branch: main - commit: 86d2a697b026488089f13a71ceb3815c + commit: 233f8f38503f47ada7a7eca116b84303 - remote: buf.build owner: cosmos repository: gogo-proto - branch: main commit: bee5511075b7499da6178d9e4aaa628b - remote: buf.build owner: googleapis diff --git a/codec/amino_codec.go b/codec/amino_codec.go index 77969d22df257..8c1eb9f85c451 100644 --- a/codec/amino_codec.go +++ b/codec/amino_codec.go @@ -1,7 +1,7 @@ package codec import ( - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" ) // AminoCodec defines a codec that utilizes Codec for both binary and JSON diff --git a/codec/codec.go b/codec/codec.go index 30f43e213e2e7..bd32928d9354b 100644 --- a/codec/codec.go +++ b/codec/codec.go @@ -1,7 +1,7 @@ package codec import ( - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "google.golang.org/grpc/encoding" "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/codec/codec_common_test.go b/codec/codec_common_test.go index d9a8c756ec3fe..e4730d671c05c 100644 --- a/codec/codec_common_test.go +++ b/codec/codec_common_test.go @@ -3,7 +3,7 @@ package codec_test import ( "testing" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/require" "github.com/cosmos/cosmos-sdk/codec" diff --git a/codec/json.go b/codec/json.go index e01caa2599367..2e913bfd11d80 100644 --- a/codec/json.go +++ b/codec/json.go @@ -3,8 +3,8 @@ package codec import ( "bytes" - "github.com/gogo/protobuf/jsonpb" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/jsonpb" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" ) diff --git a/codec/proto_codec.go b/codec/proto_codec.go index dc96d21fbca50..75815eaa82519 100644 --- a/codec/proto_codec.go +++ b/codec/proto_codec.go @@ -10,8 +10,8 @@ import ( "google.golang.org/grpc/encoding" "google.golang.org/protobuf/proto" - "github.com/gogo/protobuf/jsonpb" - gogoproto "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/jsonpb" + gogoproto "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" ) diff --git a/codec/proto_codec_test.go b/codec/proto_codec_test.go index 1f224919b5952..69e9066733e6d 100644 --- a/codec/proto_codec_test.go +++ b/codec/proto_codec_test.go @@ -6,7 +6,7 @@ import ( "reflect" "testing" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/require" "github.com/cosmos/cosmos-sdk/codec" diff --git a/codec/types/any.go b/codec/types/any.go index 8515a75f53b13..bd48873371195 100644 --- a/codec/types/any.go +++ b/codec/types/any.go @@ -3,7 +3,7 @@ package types import ( fmt "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) diff --git a/codec/types/any.pb.go b/codec/types/any.pb.go index cb904a5af43ce..8dc80f395291b 100644 --- a/codec/types/any.pb.go +++ b/codec/types/any.pb.go @@ -6,8 +6,8 @@ package types import ( bytes "bytes" fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/codec/types/any_internal_test.go b/codec/types/any_internal_test.go index f03e8247f67a5..9adab2946653a 100644 --- a/codec/types/any_internal_test.go +++ b/codec/types/any_internal_test.go @@ -3,7 +3,7 @@ package types import ( "testing" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/require" ) diff --git a/codec/types/any_test.go b/codec/types/any_test.go index 59eaef9c160ab..5e2b29fcca227 100644 --- a/codec/types/any_test.go +++ b/codec/types/any_test.go @@ -5,7 +5,7 @@ import ( "runtime" "testing" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/testutil/testdata" diff --git a/codec/types/compat.go b/codec/types/compat.go index 1de782849132a..3b669385624f1 100644 --- a/codec/types/compat.go +++ b/codec/types/compat.go @@ -5,8 +5,8 @@ import ( "reflect" "runtime/debug" - "github.com/gogo/protobuf/jsonpb" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/jsonpb" + "github.com/cosmos/gogoproto/proto" amino "github.com/tendermint/go-amino" ) diff --git a/codec/types/interface_registry.go b/codec/types/interface_registry.go index 135c46cf7a9a9..b911cb6bf6e93 100644 --- a/codec/types/interface_registry.go +++ b/codec/types/interface_registry.go @@ -4,9 +4,8 @@ import ( "fmt" "reflect" - "github.com/gogo/protobuf/jsonpb" - - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/jsonpb" + "github.com/cosmos/gogoproto/proto" ) // AnyUnpacker is an interface which allows safely unpacking types packed diff --git a/codec/types/types_test.go b/codec/types/types_test.go index 24c83b4eb5f9b..3ae4a951a5c5b 100644 --- a/codec/types/types_test.go +++ b/codec/types/types_test.go @@ -4,8 +4,8 @@ import ( "strings" "testing" - "github.com/gogo/protobuf/jsonpb" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/jsonpb" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/require" "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/codec/unknownproto/benchmarks_test.go b/codec/unknownproto/benchmarks_test.go index c38f5c47a2b8f..0cf44b4e76351 100644 --- a/codec/unknownproto/benchmarks_test.go +++ b/codec/unknownproto/benchmarks_test.go @@ -4,7 +4,7 @@ import ( "sync" "testing" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/unknownproto" "github.com/cosmos/cosmos-sdk/testutil/testdata" diff --git a/codec/unknownproto/unknown_fields.go b/codec/unknownproto/unknown_fields.go index 3af40ffed15b6..320afc4a657a8 100644 --- a/codec/unknownproto/unknown_fields.go +++ b/codec/unknownproto/unknown_fields.go @@ -10,9 +10,9 @@ import ( "strings" "sync" - "github.com/gogo/protobuf/jsonpb" - "github.com/gogo/protobuf/proto" - "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" + "github.com/cosmos/gogoproto/jsonpb" + "github.com/cosmos/gogoproto/proto" + "github.com/cosmos/gogoproto/protoc-gen-gogo/descriptor" "google.golang.org/protobuf/encoding/protowire" "github.com/cosmos/cosmos-sdk/codec/types" @@ -111,7 +111,7 @@ func RejectUnknownFields(bz []byte, msg proto.Message, allowUnknownNonCriticals case descriptor.FieldDescriptorProto_TYPE_STRING, descriptor.FieldDescriptorProto_TYPE_BYTES: // At this point only TYPE_STRING is expected to be unregistered, since FieldDescriptorProto.IsScalar() returns false for // TYPE_BYTES and TYPE_STRING as per - // https://github.com/gogo/protobuf/blob/5628607bb4c51c3157aacc3a50f0ab707582b805/protoc-gen-gogo/descriptor/descriptor.go#L95-L118 + // https://github.com/cosmos/gogoproto/blob/5628607bb4c51c3157aacc3a50f0ab707582b805/protoc-gen-gogo/descriptor/descriptor.go#L95-L118 default: return hasUnknownNonCriticals, fmt.Errorf("failed to get typename for message of type %v, can only be TYPE_STRING or TYPE_BYTES", typ) } diff --git a/codec/unknownproto/unknown_fields_test.go b/codec/unknownproto/unknown_fields_test.go index ad3926cedb559..5a93c311b9bc6 100644 --- a/codec/unknownproto/unknown_fields_test.go +++ b/codec/unknownproto/unknown_fields_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/testutil/testdata" diff --git a/codec/yaml.go b/codec/yaml.go index b81d98e1fc068..24a17f1cbb56b 100644 --- a/codec/yaml.go +++ b/codec/yaml.go @@ -1,7 +1,7 @@ package codec import ( - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "sigs.k8s.io/yaml" ) diff --git a/contrib/devtools/Dockerfile b/contrib/devtools/Dockerfile index 4ad9a5bf40e6a..6ecae9f143085 100644 --- a/contrib/devtools/Dockerfile +++ b/contrib/devtools/Dockerfile @@ -13,28 +13,20 @@ RUN apk add --no-cache \ git \ make -ENV GOLANG_PROTOBUF_VERSION=1.28.0 \ - GOGO_PROTOBUF_VERSION=1.3.2 \ +ENV GOLANG_PROTOBUF_VERSION=1.28.1 \ GRPC_GATEWAY_VERSION=1.16.0 - RUN go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION} RUN go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v${GRPC_GATEWAY_VERSION} \ github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v${GRPC_GATEWAY_VERSION} # install all gogo protobuf binaries -RUN git clone https://github.com/regen-network/protobuf.git; \ - cd protobuf; \ +RUN git clone https://github.com/cosmos/gogoproto.git; \ + cd gogoproto; \ go mod download; \ make install -# we need to use git clone because we use 'replace' directive in go.mod -# protoc-gen-gocosmos was moved to to in cosmos/gogoproto but pending a migration there. -RUN git clone https://github.com/regen-network/cosmos-proto.git; \ - cd cosmos-proto/protoc-gen-gocosmos; \ - go install . - RUN npm install -g swagger-combine COPY --from=BUILDER /usr/local/bin /usr/local/bin diff --git a/cosmovisor/go.mod b/cosmovisor/go.mod index 5ac625e845f29..abd3b28d14539 100644 --- a/cosmovisor/go.mod +++ b/cosmovisor/go.mod @@ -83,7 +83,7 @@ require ( github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.16 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect - github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 // indirect + github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/go-testing-interface v1.0.0 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect @@ -99,9 +99,9 @@ require ( github.com/prometheus/client_model v0.2.0 // indirect github.com/prometheus/common v0.37.0 // indirect github.com/prometheus/procfs v0.8.0 // indirect - github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect + github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/rogpeppe/go-internal v1.8.1 // indirect - github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa // indirect + github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/spf13/afero v1.8.2 // indirect github.com/spf13/cast v1.5.0 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect diff --git a/cosmovisor/go.sum b/cosmovisor/go.sum index 0b5e39a728c4b..2cf79bc8123e3 100644 --- a/cosmovisor/go.sum +++ b/cosmovisor/go.sum @@ -425,8 +425,9 @@ github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzp github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 h1:hLDRPB66XQT/8+wG9WsDpiCvZf1yKO7sz7scAjSlBa0= github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM= +github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 h1:QRUSJEgZn2Snx0EmT/QLXibWjSUDjKWvXIT19NBVp94= +github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM= github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= @@ -514,8 +515,8 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo= github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= github.com/rakyll/statik v0.1.7 h1:OF3QCZUuyPxuGEP7B4ypUa7sB/iHtqOTDYZXGM8KOdQ= -github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 h1:MkV+77GLUNo5oJ0jf870itWm3D0Sjh7+Za9gazKc5LQ= -github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= +github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/regen-network/cosmos-proto v0.3.1 h1:rV7iM4SSFAagvy8RiyhiACbWEGotmqzywPxOvwMdxcg= github.com/regen-network/protobuf v1.3.3-alpha.regen.1 h1:OHEc+q5iIAXpqiqFKeLpu5NwTIkVXUs48vFMwzqpqY4= github.com/regen-network/protobuf v1.3.3-alpha.regen.1/go.mod h1:2DjTFR1HhMQhiWC5sZ4OhQ3+NtdbZ6oBDKQwq5Ou+FI= @@ -529,8 +530,8 @@ github.com/rs/zerolog v1.28.0 h1:MirSo27VyNi7RJYP3078AA1+Cyzd2GB66qy3aUHvsWY= github.com/rs/zerolog v1.28.0/go.mod h1:NILgTygv/Uej1ra5XxGf82ZFSLk58MFGAUS2o6usyD0= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa h1:0U2s5loxrTy6/VgfVoLuVLFJcURKLH49ie0zSch7gh4= -github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= +github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0= +github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= diff --git a/crypto/armor.go b/crypto/armor.go index 7ef3da5e6842f..ce05aa02629dc 100644 --- a/crypto/armor.go +++ b/crypto/armor.go @@ -8,7 +8,7 @@ import ( "github.com/tendermint/crypto/bcrypt" "github.com/tendermint/tendermint/crypto" - "golang.org/x/crypto/openpgp/armor" //nolint: staticcheck + "golang.org/x/crypto/openpgp/armor" //nolint:staticcheck "github.com/cosmos/cosmos-sdk/codec/legacy" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" diff --git a/crypto/hd/hd.pb.go b/crypto/hd/hd.pb.go index bc262474aa256..7551a83df0bc8 100644 --- a/crypto/hd/hd.pb.go +++ b/crypto/hd/hd.pb.go @@ -5,8 +5,8 @@ package hd import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/crypto/keyring/record.pb.go b/crypto/keyring/record.pb.go index f8878692e0964..081b456bea20e 100644 --- a/crypto/keyring/record.pb.go +++ b/crypto/keyring/record.pb.go @@ -7,7 +7,7 @@ import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" hd "github.com/cosmos/cosmos-sdk/crypto/hd" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/golang/protobuf/proto" io "io" math "math" diff --git a/crypto/keys/ed25519/keys.pb.go b/crypto/keys/ed25519/keys.pb.go index 227b18701306a..a80c9dae6a984 100644 --- a/crypto/keys/ed25519/keys.pb.go +++ b/crypto/keys/ed25519/keys.pb.go @@ -6,8 +6,8 @@ package ed25519 import ( crypto_ed25519 "crypto/ed25519" fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/crypto/keys/multisig/keys.pb.go b/crypto/keys/multisig/keys.pb.go index 0016efa8a5459..c400e6b959009 100644 --- a/crypto/keys/multisig/keys.pb.go +++ b/crypto/keys/multisig/keys.pb.go @@ -6,8 +6,8 @@ package multisig import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/crypto/keys/secp256k1/keys.pb.go b/crypto/keys/secp256k1/keys.pb.go index afcbab54b05d4..ceec685b91eb1 100644 --- a/crypto/keys/secp256k1/keys.pb.go +++ b/crypto/keys/secp256k1/keys.pb.go @@ -5,8 +5,8 @@ package secp256k1 import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/crypto/keys/secp256r1/keys.pb.go b/crypto/keys/secp256r1/keys.pb.go index 898f19a123cfc..7bfb79ff77d4f 100644 --- a/crypto/keys/secp256r1/keys.pb.go +++ b/crypto/keys/secp256r1/keys.pb.go @@ -5,8 +5,8 @@ package secp256r1 import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/crypto/keys/secp256r1/privkey_internal_test.go b/crypto/keys/secp256r1/privkey_internal_test.go index 74ad9ec1ac753..a44c484e4bfe7 100644 --- a/crypto/keys/secp256r1/privkey_internal_test.go +++ b/crypto/keys/secp256r1/privkey_internal_test.go @@ -3,7 +3,7 @@ package secp256r1 import ( "testing" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" "github.com/tendermint/tendermint/crypto" diff --git a/crypto/keys/secp256r1/pubkey.go b/crypto/keys/secp256r1/pubkey.go index d462deff89c24..86d4fa6853813 100644 --- a/crypto/keys/secp256r1/pubkey.go +++ b/crypto/keys/secp256r1/pubkey.go @@ -1,7 +1,7 @@ package secp256r1 import ( - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" tmcrypto "github.com/tendermint/tendermint/crypto" ecdsa "github.com/cosmos/cosmos-sdk/crypto/keys/internal/ecdsa" diff --git a/crypto/keys/secp256r1/pubkey_internal_test.go b/crypto/keys/secp256r1/pubkey_internal_test.go index 4bf0e70c539d7..eecbbb24d7da3 100644 --- a/crypto/keys/secp256r1/pubkey_internal_test.go +++ b/crypto/keys/secp256r1/pubkey_internal_test.go @@ -3,7 +3,7 @@ package secp256r1 import ( "testing" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" "github.com/cosmos/cosmos-sdk/codec" diff --git a/crypto/types/multisig.pb.go b/crypto/types/multisig.pb.go index b9c907ade0a49..a5b750a17fbcc 100644 --- a/crypto/types/multisig.pb.go +++ b/crypto/types/multisig.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/crypto/types/types.go b/crypto/types/types.go index eccdba73813d6..0f86a592082a6 100644 --- a/crypto/types/types.go +++ b/crypto/types/types.go @@ -1,7 +1,7 @@ package types import ( - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" tmcrypto "github.com/tendermint/tendermint/crypto" ) diff --git a/docs/architecture/adr-019-protobuf-state-encoding.md b/docs/architecture/adr-019-protobuf-state-encoding.md index 1d20145ae7a14..5ad1b953e7962 100644 --- a/docs/architecture/adr-019-protobuf-state-encoding.md +++ b/docs/architecture/adr-019-protobuf-state-encoding.md @@ -82,7 +82,7 @@ are encoded and persisted via their concrete Amino codec to Protobuf and have th `Marshaler` that will be a `ProtoCodec`. This migration is simple as things will just work as-is. Note, any business logic that needs to encode primitive types like `bool` or `int64` should use -[gogoprotobuf](https://github.com/gogo/protobuf) Value types. +[gogoprotobuf](https://github.com/cosmos/gogoproto) Value types. Example: @@ -149,8 +149,8 @@ and client developer UX. ### Safe usage of `Any` -By default, the [gogo protobuf implementation of `Any`](https://pkg.go.dev/github.com/gogo/protobuf/types) -uses [global type registration]( https://github.com/gogo/protobuf/blob/master/proto/properties.go#L540) +By default, the [gogo protobuf implementation of `Any`](https://pkg.go.dev/github.com/cosmos/gogoproto/types) +uses [global type registration]( https://github.com/cosmos/gogoproto/blob/master/proto/properties.go#L540) to decode values packed in `Any` into concrete go types. This introduces a vulnerability where any malicious module in the dependency tree could register a type with the global protobuf registry diff --git a/docs/architecture/adr-021-protobuf-query-encoding.md b/docs/architecture/adr-021-protobuf-query-encoding.md index 9037d14a80554..9d103bbaf07f8 100644 --- a/docs/architecture/adr-021-protobuf-query-encoding.md +++ b/docs/architecture/adr-021-protobuf-query-encoding.md @@ -71,7 +71,7 @@ message AnyProposal { ### Custom Query Implementation -In order to implement the query service, we can reuse the existing [gogo protobuf](https://github.com/gogo/protobuf) +In order to implement the query service, we can reuse the existing [gogo protobuf](https://github.com/cosmos/gogoproto) grpc plugin, which for a service named `Query` generates an interface named `QueryServer` as below: diff --git a/docs/architecture/adr-027-deterministic-protobuf-serialization.md b/docs/architecture/adr-027-deterministic-protobuf-serialization.md index a4602c2641d6c..781d0deb1cd88 100644 --- a/docs/architecture/adr-027-deterministic-protobuf-serialization.md +++ b/docs/architecture/adr-027-deterministic-protobuf-serialization.md @@ -127,7 +127,7 @@ There are three main implementation strategies, ordered from the least to the most custom development: * **Use a protobuf serializer that follows the above rules by default.** E.g. - [gogoproto](https://pkg.go.dev/github.com/gogo/protobuf/gogoproto) is known to + [gogoproto](https://pkg.go.dev/github.com/cosmos/gogoproto/gogoproto) is known to be compliant by in most cases, but not when certain annotations such as `nullable = false` are used. It might also be an option to configure an existing serializer accordingly. diff --git a/docs/architecture/adr-030-authz-module.md b/docs/architecture/adr-030-authz-module.md index 1390d0f6b4c57..e0133b1b2955a 100644 --- a/docs/architecture/adr-030-authz-module.md +++ b/docs/architecture/adr-030-authz-module.md @@ -25,7 +25,7 @@ The concrete use cases which motivated this module include: delegated stake * "sub-keys" functionality, as originally proposed in [\#4480](https://github.com/cosmos/cosmos-sdk/issues/4480) which is a term used to describe the functionality provided by this module together with -the `fee_grant` module from [ADR 029](./adr-029-fee-grant-module.md) and the [group module](https://github.com/regen-network/cosmos-modules/tree/master/incubator/group). +the `fee_grant` module from [ADR 029](./adr-029-fee-grant-module.md) and the [group module](https://github.com/cosmos/cosmos-sdk/tree/main/x/group). The "sub-keys" functionality roughly refers to the ability for one account to grant some subset of its capabilities to other accounts with possibly less robust, but easier to use security measures. For instance, a master account representing @@ -33,8 +33,7 @@ an organization could grant the ability to spend small amounts of the organizati Or an individual (or group) with a multisig wallet could grant the ability to vote on proposals to any one of the member keys. -The current -implementation is based on work done by the [Gaian's team at Hackatom Berlin 2019](https://github.com/cosmos-gaians/cosmos-sdk/tree/hackatom/x/delegation). +The current implementation is based on work done by the [Gaian's team at Hackatom Berlin 2019](https://github.com/cosmos-gaians/cosmos-sdk/tree/hackatom/x/delegation). ## Decision @@ -120,10 +119,10 @@ using the `Authorization` interface with no need to change the underlying ##### Small notes on `AcceptResponse` -- The `AcceptResponse.Accept` field will be set to `true` if the authorization is accepted. +* The `AcceptResponse.Accept` field will be set to `true` if the authorization is accepted. However, if it is rejected, the function `Accept` will raise an error (without setting `AcceptResponse.Accept` to `false`). -- The `AcceptResponse.Updated` field will be set to a non-nil value only if there is a real change to the authorization. +* The `AcceptResponse.Updated` field will be set to a non-nil value only if there is a real change to the authorization. If authorization remains the same (as is, for instance, always the case for a [`GenericAuthorization`](#genericauthorization)), the field will be `nil`. diff --git a/docs/architecture/adr-033-protobuf-inter-module-comm.md b/docs/architecture/adr-033-protobuf-inter-module-comm.md index 09b650a61e7cc..caed74c2ed9dd 100644 --- a/docs/architecture/adr-033-protobuf-inter-module-comm.md +++ b/docs/architecture/adr-033-protobuf-inter-module-comm.md @@ -104,7 +104,7 @@ This mechanism has the added benefits of: ### Inter-module Communication -To use the `Client` generated by the protobuf compiler we need a `grpc.ClientConn` [interface](https://github.com/regen-network/protobuf/blob/cosmos/grpc/types.go#L12) +To use the `Client` generated by the protobuf compiler we need a `grpc.ClientConn` [interface](https://github.com/grpc/grpc-go/blob/v1.49.x/clientconn.go#L441-L450) implementation. For this we introduce a new type, `ModuleKey`, which implements the `grpc.ClientConn` interface. `ModuleKey` can be thought of as the "private key" corresponding to a module account, where authentication is provided through use of a special `Invoker()` function, diff --git a/docs/basics/app-anatomy.md b/docs/basics/app-anatomy.md index 1ebecca00636e..2ca167273fe5b 100644 --- a/docs/basics/app-anatomy.md +++ b/docs/basics/app-anatomy.md @@ -115,7 +115,7 @@ Here are descriptions of what each of the four fields means: * `InterfaceRegistry`: The `InterfaceRegistry` is used by the Protobuf codec to handle interfaces that are encoded and decoded (we also say "unpacked") using [`google.protobuf.Any`](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/any.proto). `Any` could be thought as a struct that contains a `type_url` (name of a concrete type implementing the interface) and a `value` (its encoded bytes). `InterfaceRegistry` provides a mechanism for registering interfaces and implementations that can be safely unpacked from `Any`. Each of the application's modules implements the `RegisterInterfaces` method that can be used to register the module's own interfaces and implementations. * You can read more about Any in [ADR-19](../architecture/adr-019-protobuf-state-encoding.md#usage-of-any-to-encode-interfaces). - * To go more into details, the Cosmos SDK uses an implementation of the Protobuf specification called [`gogoprotobuf`](https://github.com/gogo/protobuf). By default, the [gogo protobuf implementation of `Any`](https://pkg.go.dev/github.com/gogo/protobuf/types) uses [global type registration](https://github.com/gogo/protobuf/blob/master/proto/properties.go#L540) to decode values packed in `Any` into concrete Go types. This introduces a vulnerability where any malicious module in the dependency tree could register a type with the global protobuf registry and cause it to be loaded and unmarshaled by a transaction that referenced it in the `type_url` field. For more information, please refer to [ADR-019](../architecture/adr-019-protobuf-state-encoding.md). + * To go more into details, the Cosmos SDK uses an implementation of the Protobuf specification called [`gogoprotobuf`](https://github.com/cosmos/gogoproto). By default, the [gogo protobuf implementation of `Any`](https://pkg.go.dev/github.com/cosmos/gogoproto/types) uses [global type registration](https://github.com/cosmos/gogoproto/blob/master/proto/properties.go#L540) to decode values packed in `Any` into concrete Go types. This introduces a vulnerability where any malicious module in the dependency tree could register a type with the global protobuf registry and cause it to be loaded and unmarshaled by a transaction that referenced it in the `type_url` field. For more information, please refer to [ADR-019](../architecture/adr-019-protobuf-state-encoding.md). * `Codec`: the default codec used throughout the Cosmos SDK. It is composed of a `BinaryCodec` used to encode and decode state, and a `JSONCodec` used to output data to the users (for example in the [CLI](#cli)). By default, the SDK uses Protobuf as `Codec`. * `TxConfig`: `TxConfig` defines an interface a client can utilize to generate an application-defined concrete transaction type. Currently, the SDK handles two transaction types: `SIGN_MODE_DIRECT` (which uses Protobuf binary as over-the-wire encoding) and `SIGN_MODE_LEGACY_AMINO_JSON` (which depends on Amino). Read more about transactions [here](../core/transactions.md). * `Amino`: Some legacy parts of the Cosmos SDK still use Amino for backwards-compatibility. Each module exposes a `RegisterLegacyAmino` method to register the module's specific types within Amino. This `Amino` codec should not be used by app developers anymore, and will be removed in future releases. diff --git a/docs/core/encoding.md b/docs/core/encoding.md index 25497d4bc5308..ea05f81be6e0a 100644 --- a/docs/core/encoding.md +++ b/docs/core/encoding.md @@ -18,7 +18,7 @@ for more information on Proto3, which Amino is largely compatible with (but not Due to Amino having significant performance drawbacks, being reflection-based, and not having any meaningful cross-language/client support, Protocol Buffers, specifically -[gogoprotobuf](https://github.com/gogo/protobuf/), is being used in place of Amino. +[gogoprotobuf](https://github.com/cosmos/gogoproto/), is being used in place of Amino. Note, this process of using Protocol Buffers over Amino is still an ongoing process. Binary wire encoding of types in the Cosmos SDK can be broken down into two main @@ -91,7 +91,7 @@ which is required when signing this kind of messages using a Ledger. ### Gogoproto -Modules are encouraged to utilize Protobuf encoding for their respective types. In the Cosmos SDK, we use the [Gogoproto](https://github.com/gogo/protobuf) specific implementation of the Protobuf spec that offers speed and DX improvements compared to the official [Google protobuf implementation](https://github.com/protocolbuffers/protobuf). +Modules are encouraged to utilize Protobuf encoding for their respective types. In the Cosmos SDK, we use the [Gogoproto](https://github.com/cosmos/gogoproto) specific implementation of the Protobuf spec that offers speed and DX improvements compared to the official [Google protobuf implementation](https://github.com/protocolbuffers/protobuf). ### Guidelines for protobuf message definitions diff --git a/docs/run-node/interact-node.md b/docs/run-node/interact-node.md index 0daf04e51c5c8..6ac1d7fe9344a 100644 --- a/docs/run-node/interact-node.md +++ b/docs/run-node/interact-node.md @@ -111,11 +111,6 @@ The following snippet shows how to query the state using gRPC inside a Go progra #### Install Cosmos SDK -Add below line to `go.mod` to replace protobuf, read more [#8469](https://github.com/cosmos/cosmos-sdk/issues/8469) - -```go -replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 -``` ```bash go get github.com/cosmos/cosmos-sdk@main diff --git a/go.mod b/go.mod index 4ee1ef8c3ff09..3e5123a5313fa 100644 --- a/go.mod +++ b/go.mod @@ -20,14 +20,13 @@ require ( github.com/cosmos/cosmos-sdk/db v1.0.0-beta.1.0.20220726092710-f848e4300a8a github.com/cosmos/cosmos-sdk/store/tools/ics23 v0.0.0-20220820010601-dc361be9e3ff github.com/cosmos/go-bip39 v1.0.0 + github.com/cosmos/gogoproto v1.4.1 github.com/cosmos/iavl v0.19.1 github.com/cosmos/ledger-cosmos-go v0.11.1 github.com/gogo/gateway v1.1.0 - github.com/gogo/protobuf v1.3.2 github.com/golang/mock v1.6.0 github.com/golang/protobuf v1.5.2 github.com/golangci/golangci-lint v1.49.0 - github.com/google/uuid v1.3.0 github.com/gorilla/handlers v1.5.1 github.com/gorilla/mux v1.8.0 github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 @@ -44,7 +43,6 @@ require ( github.com/prometheus/client_golang v1.13.0 github.com/prometheus/common v0.37.0 github.com/rakyll/statik v0.1.7 - github.com/regen-network/cosmos-proto v0.3.1 github.com/rs/zerolog v1.28.0 github.com/spf13/cast v1.5.0 github.com/spf13/cobra v1.5.0 @@ -54,7 +52,7 @@ require ( github.com/tendermint/btcd v0.1.1 github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 github.com/tendermint/go-amino v0.16.0 - github.com/tendermint/tendermint v0.37.0-alpha.1 + github.com/tendermint/tendermint v0.37.0-alpha.2 github.com/tendermint/tm-db v0.6.7 golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e @@ -137,6 +135,8 @@ require ( github.com/gobwas/glob v0.2.3 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gofrs/flock v0.8.1 // indirect + github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869 // indirect + github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/glog v1.0.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/snappy v0.0.4 // indirect @@ -300,7 +300,7 @@ replace ( // Fix upstream GHSA-h395-qcrw-5vmq vulnerability. // TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409 github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.8.1 - github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 + github.com/gogo/gateway => github.com/notional-labs/gateway v1.1.1-0.20220417180718-8e60e17a098d ) retract v0.43.0 diff --git a/go.sum b/go.sum index ce1e821e0ebc0..056ba4362eb6a 100644 --- a/go.sum +++ b/go.sum @@ -231,6 +231,9 @@ github.com/cosmos/cosmos-sdk/store/tools/ics23 v0.0.0-20220820010601-dc361be9e3f github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= +github.com/cosmos/gogoproto v1.4.0/go.mod h1:PmDilxjma3Cp50k5beXFV3ATB4O3/Sys4WI6Fo9kMAo= +github.com/cosmos/gogoproto v1.4.1 h1:WoyH+0/jbCTzpKNvyav5FL1ZTWsp1im1MxEpJEzKUB8= +github.com/cosmos/gogoproto v1.4.1/go.mod h1:Ac9lzL4vFpBMcptJROQ6dQ4M3pOEK5Z/l0Q9p+LoCr4= github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y= github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= github.com/cosmos/iavl v0.19.1 h1:3gaq9b6SjiB0KBTygRnAvEGml2pQlu1TH8uma5g63Ys= @@ -392,9 +395,15 @@ github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5x github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw= github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= -github.com/gogo/gateway v1.1.0 h1:u0SuhL9+Il+UbjM9VIE3ntfRujKbvVpFvNB4HbjeVQ0= -github.com/gogo/gateway v1.1.0/go.mod h1:S7rR8FRQyG3QFESeSv4l2WnsyzlCLG0CzBbUUo/mbic= github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869 h1:kRpU4zq+Pzh4feET49aEWPOzwQy3U2SsbZEQ7QEcif0= +github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang-jwt/jwt/v4 v4.4.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0 h1:nfP3RFugxnNRyKgeWd4oI1nYvXpxrx8ck8ZrcizshdQ= @@ -507,8 +516,6 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= @@ -552,7 +559,6 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaD github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= @@ -659,6 +665,8 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/julz/importas v0.1.0 h1:F78HnrsjY3cR7j0etXy5+TU1Zuy7Xt08X/1aJnH5xXY= github.com/julz/importas v0.1.0/go.mod h1:oSFU2R4XK/P7kNBrnL/FEQlDGN1/6WoxXEjSSXO0DV0= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/errcheck v1.6.2 h1:uGQ9xI8/pgc9iOoCe7kWQgRE6SBTrCGmTSf0LrEtY7c= github.com/kisielk/errcheck v1.6.2/go.mod h1:nXw/i/MfnvRHqXa7XXmQMUB0oNFGuBrNI8d8NLy0LPw= @@ -790,6 +798,8 @@ github.com/nishanths/exhaustive v0.8.1 h1:0QKNascWv9qIHY7zRoZSxeRr6kuk5aAT3YXLTi github.com/nishanths/exhaustive v0.8.1/go.mod h1:qj+zJJUgJ76tR92+25+03oYUhzF4R7/2Wk7fGTfCHmg= github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk= github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c= +github.com/notional-labs/gateway v1.1.1-0.20220417180718-8e60e17a098d h1:ojbVlSwN0ZgOpE8jOnFQ6iNm247PwFTykE5qe9xITqw= +github.com/notional-labs/gateway v1.1.1-0.20220417180718-8e60e17a098d/go.mod h1:8W5G7hGZRVlsdVjoP4lh/nKiL23VhQFJZrImu0uoBDY= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= @@ -914,11 +924,7 @@ github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Ung github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/regen-network/cosmos-proto v0.3.1 h1:rV7iM4SSFAagvy8RiyhiACbWEGotmqzywPxOvwMdxcg= -github.com/regen-network/cosmos-proto v0.3.1/go.mod h1:jO0sVX6a1B36nmE8C9xBFXpNwWejXC7QqCOnH3O0+YM= github.com/regen-network/gocuke v0.6.2 h1:pHviZ0kKAq2U2hN2q3smKNxct6hS0mGByFMHGnWA97M= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1 h1:OHEc+q5iIAXpqiqFKeLpu5NwTIkVXUs48vFMwzqpqY4= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1/go.mod h1:2DjTFR1HhMQhiWC5sZ4OhQ3+NtdbZ6oBDKQwq5Ou+FI= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= @@ -1034,8 +1040,8 @@ github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RM github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tendermint/tendermint v0.37.0-alpha.1 h1:sE/jlVRBX00nsyH/Kroya17BR0RkBvWCZDzz1qzW7gU= -github.com/tendermint/tendermint v0.37.0-alpha.1/go.mod h1:f8Nk7ZdkIYqle2nzjkOib4XNlwXcSCoHvcG969xRuOs= +github.com/tendermint/tendermint v0.37.0-alpha.2 h1:G82quAWZUDYMTc9G7b/tntFATfm7nm6PrsvjsuMZDPI= +github.com/tendermint/tendermint v0.37.0-alpha.2/go.mod h1:DSnBfCufF48DhIpmU2inmVo8YiEGus6uInwf46Iu01k= github.com/tendermint/tm-db v0.6.7 h1:fE00Cbl0jayAoqlExN6oyQJ7fR/ZtoVOmvPJ//+shu8= github.com/tendermint/tm-db v0.6.7/go.mod h1:byQDzFkZV1syXr/ReXS808NxA2xvyuuVgXOJ/088L6I= github.com/tenntenn/modver v1.0.1 h1:2klLppGhDgzJrScMpkj9Ujy3rXPUspSjAcev9tSEBgA= @@ -1365,6 +1371,7 @@ golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1393,9 +1400,11 @@ golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190307163923-6a08e3108db3/go.mod h1:25r3+/G6/xytQM8iWZKq3Hn0kr0rgFKPUNVEL/dr3z4= @@ -1561,7 +1570,6 @@ google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200324203455-a04cca1dde73/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -1612,6 +1620,7 @@ google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= @@ -1624,7 +1633,6 @@ google.golang.org/genproto v0.0.0-20220725144611-272f38e5d71b h1:SfSkJugek6xm7lW google.golang.org/genproto v0.0.0-20220725144611-272f38e5d71b/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/go.work.example b/go.work.example index 5f1d2f1f95ff7..38aac97a52d28 100644 --- a/go.work.example +++ b/go.work.example @@ -13,4 +13,6 @@ use ( ./orm ./store/tools/ics23 ./tx + ./simapp + ./tests ) diff --git a/math/proto.go b/math/proto.go index 86e78bafa90d8..d1afa1a93ea0d 100644 --- a/math/proto.go +++ b/math/proto.go @@ -3,7 +3,7 @@ package math // customProtobufType defines the interface custom gogo proto types must implement // in order to be used as a "customtype" extension. // -// ref: https://github.com/gogo/protobuf/blob/master/custom_types.md +// ref: https://github.com/cosmos/gogoproto/blob/master/custom_types.md type customProtobufType interface { Marshal() ([]byte, error) MarshalTo(data []byte) (n int, err error) diff --git a/proto/buf.lock b/proto/buf.lock index 93c49a365d643..3f33e80f3f072 100644 --- a/proto/buf.lock +++ b/proto/buf.lock @@ -8,7 +8,7 @@ deps: - remote: buf.build owner: cosmos repository: gogo-proto - commit: bee5511075b7499da6178d9e4aaa628b + commit: 6652e3443c3b4504bb3bf82e73a7e409 - remote: buf.build owner: googleapis repository: googleapis diff --git a/proto/buf.yaml b/proto/buf.yaml index a665c57e19eaa..082a8587f9d8f 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -1,8 +1,4 @@ -# Generated by "buf config migrate-v1beta1". Edit as necessary, and -# remove this comment when you're finished. -# -# This module represents the "proto" root found in -# the previous configuration. +# This module represents buf.build/cosmos/cosmos-sdk version: v1 name: buf.build/cosmos/cosmos-sdk deps: diff --git a/proto/cosmos/distribution/v1beta1/distribution.proto b/proto/cosmos/distribution/v1beta1/distribution.proto index 7e7b98eaa06c7..6c346d08fab93 100644 --- a/proto/cosmos/distribution/v1beta1/distribution.proto +++ b/proto/cosmos/distribution/v1beta1/distribution.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.distribution.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -48,10 +48,8 @@ message Params { // read that record) // + one per validator for the zeroeth period, set on initialization message ValidatorHistoricalRewards { - repeated cosmos.base.v1beta1.DecCoin cumulative_reward_ratio = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", - (gogoproto.nullable) = false - ]; + repeated cosmos.base.v1beta1.DecCoin cumulative_reward_ratio = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; uint32 reference_count = 2; } @@ -59,29 +57,23 @@ message ValidatorHistoricalRewards { // period for a validator kept as a running counter and incremented // each block as long as the validator's tokens remain constant. message ValidatorCurrentRewards { - repeated cosmos.base.v1beta1.DecCoin rewards = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", - (gogoproto.nullable) = false - ]; + repeated cosmos.base.v1beta1.DecCoin rewards = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; uint64 period = 2; } // ValidatorAccumulatedCommission represents accumulated commission // for a validator kept as a running counter, can be withdrawn at any time. message ValidatorAccumulatedCommission { - repeated cosmos.base.v1beta1.DecCoin commission = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", - (gogoproto.nullable) = false - ]; + repeated cosmos.base.v1beta1.DecCoin commission = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; } // ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards // for a validator inexpensive to track, allows simple sanity checks. message ValidatorOutstandingRewards { - repeated cosmos.base.v1beta1.DecCoin rewards = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", - (gogoproto.nullable) = false - ]; + repeated cosmos.base.v1beta1.DecCoin rewards = 1 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; } // ValidatorSlashEvent represents a validator slash event. @@ -100,16 +92,13 @@ message ValidatorSlashEvent { // ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. message ValidatorSlashEvents { option (gogoproto.goproto_stringer) = false; - repeated ValidatorSlashEvent validator_slash_events = 1 - [(gogoproto.nullable) = false]; + repeated ValidatorSlashEvent validator_slash_events = 1 [(gogoproto.nullable) = false]; } // FeePool is the global fee pool for distribution. message FeePool { - repeated cosmos.base.v1beta1.DecCoin community_pool = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins" - ]; + repeated cosmos.base.v1beta1.DecCoin community_pool = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; } // CommunityPoolSpendProposal details a proposal for use of community funds, @@ -130,10 +119,8 @@ message CommunityPoolSpendProposal { string title = 1; string description = 2; string recipient = 3; - repeated cosmos.base.v1beta1.Coin amount = 4 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; + repeated cosmos.base.v1beta1.Coin amount = 4 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; } // DelegatorStartingInfo represents the starting info for a delegator reward @@ -160,10 +147,8 @@ message DelegationDelegatorReward { string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.DecCoin reward = 2 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", - (gogoproto.nullable) = false - ]; + repeated cosmos.base.v1beta1.DecCoin reward = 2 + [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; } // CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal diff --git a/proto/cosmos/distribution/v1beta1/tx.proto b/proto/cosmos/distribution/v1beta1/tx.proto index 9bcfe18d646ec..0c5fba1cf65da 100644 --- a/proto/cosmos/distribution/v1beta1/tx.proto +++ b/proto/cosmos/distribution/v1beta1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.distribution.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -14,23 +14,19 @@ import "cosmos/distribution/v1beta1/distribution.proto"; service Msg { // SetWithdrawAddress defines a method to change the withdraw address // for a delegator (or validator self-delegation). - rpc SetWithdrawAddress(MsgSetWithdrawAddress) - returns (MsgSetWithdrawAddressResponse); + rpc SetWithdrawAddress(MsgSetWithdrawAddress) returns (MsgSetWithdrawAddressResponse); // WithdrawDelegatorReward defines a method to withdraw rewards of delegator // from a single validator. - rpc WithdrawDelegatorReward(MsgWithdrawDelegatorReward) - returns (MsgWithdrawDelegatorRewardResponse); + rpc WithdrawDelegatorReward(MsgWithdrawDelegatorReward) returns (MsgWithdrawDelegatorRewardResponse); // WithdrawValidatorCommission defines a method to withdraw the // full commission to the validator address. - rpc WithdrawValidatorCommission(MsgWithdrawValidatorCommission) - returns (MsgWithdrawValidatorCommissionResponse); + rpc WithdrawValidatorCommission(MsgWithdrawValidatorCommission) returns (MsgWithdrawValidatorCommissionResponse); // FundCommunityPool defines a method to allow an account to directly // fund the community pool. - rpc FundCommunityPool(MsgFundCommunityPool) - returns (MsgFundCommunityPoolResponse); + rpc FundCommunityPool(MsgFundCommunityPool) returns (MsgFundCommunityPoolResponse); // UpdateParams defines a governance operation for updating the x/distribution // module parameters. The authority is defined in the keeper. @@ -44,8 +40,7 @@ service Msg { // keeper. // // Since: cosmos-sdk 0.47 - rpc CommunityPoolSpend(MsgCommunityPoolSpend) - returns (MsgCommunityPoolSpendResponse); + rpc CommunityPoolSpend(MsgCommunityPoolSpend) returns (MsgCommunityPoolSpendResponse); } // MsgSetWithdrawAddress sets the withdraw address for @@ -80,10 +75,8 @@ message MsgWithdrawDelegatorReward { // response type. message MsgWithdrawDelegatorRewardResponse { // Since: cosmos-sdk 0.46 - repeated cosmos.base.v1beta1.Coin amount = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; } // MsgWithdrawValidatorCommission withdraws the full commission to the validator @@ -101,10 +94,8 @@ message MsgWithdrawValidatorCommission { // Msg/WithdrawValidatorCommission response type. message MsgWithdrawValidatorCommissionResponse { // Since: cosmos-sdk 0.46 - repeated cosmos.base.v1beta1.Coin amount = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; } // MsgFundCommunityPool allows an account to directly @@ -115,10 +106,8 @@ message MsgFundCommunityPool { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - repeated cosmos.base.v1beta1.Coin amount = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; + repeated cosmos.base.v1beta1.Coin amount = 1 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; } @@ -155,12 +144,10 @@ message MsgCommunityPoolSpend { option (cosmos.msg.v1.signer) = "authority"; // authority is the address of the governance account. - string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string recipient = 2; - repeated cosmos.base.v1beta1.Coin amount = 3 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; + string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string recipient = 2; + repeated cosmos.base.v1beta1.Coin amount = 3 + [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; } // MsgCommunityPoolSpendResponse defines the response to executing a diff --git a/proto/tendermint/abci/types.proto b/proto/tendermint/abci/types.proto index d41a522689e88..a03b6fbf23d87 100644 --- a/proto/tendermint/abci/types.proto +++ b/proto/tendermint/abci/types.proto @@ -4,7 +4,7 @@ package tendermint.abci; option go_package = "github.com/tendermint/tendermint/abci/types"; // For more information on gogo.proto, see: -// https://github.com/gogo/protobuf/blob/master/extensions.md +// https://github.com/cosmos/gogoproto/blob/master/extensions.md import "tendermint/crypto/proof.proto"; import "tendermint/types/types.proto"; import "tendermint/crypto/keys.proto"; @@ -14,7 +14,7 @@ import "gogoproto/gogo.proto"; // This file is copied from http://github.com/tendermint/abci // NOTE: When using custom types, mind the warnings. -// https://github.com/gogo/protobuf/blob/master/custom_types.md#warnings-and-issues +// https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues //---------------------------------------- // Request types @@ -24,7 +24,6 @@ message Request { RequestEcho echo = 1; RequestFlush flush = 2; RequestInfo info = 3; - RequestSetOption set_option = 4; RequestInitChain init_chain = 5; RequestQuery query = 6; RequestBeginBlock begin_block = 7; @@ -36,7 +35,10 @@ message Request { RequestOfferSnapshot offer_snapshot = 13; RequestLoadSnapshotChunk load_snapshot_chunk = 14; RequestApplySnapshotChunk apply_snapshot_chunk = 15; + RequestPrepareProposal prepare_proposal = 16; + RequestProcessProposal process_proposal = 17; } + reserved 4; } message RequestEcho { @@ -49,21 +51,17 @@ message RequestInfo { string version = 1; uint64 block_version = 2; uint64 p2p_version = 3; -} - -// nondeterministic -message RequestSetOption { - string key = 1; - string value = 2; + string abci_version = 4; } message RequestInitChain { - google.protobuf.Timestamp time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - string chain_id = 2; - ConsensusParams consensus_params = 3; - repeated ValidatorUpdate validators = 4 [(gogoproto.nullable) = false]; - bytes app_state_bytes = 5; - int64 initial_height = 6; + google.protobuf.Timestamp time = 1 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + string chain_id = 2; + tendermint.types.ConsensusParams consensus_params = 3; + repeated ValidatorUpdate validators = 4 [(gogoproto.nullable) = false]; + bytes app_state_bytes = 5; + int64 initial_height = 6; } message RequestQuery { @@ -76,8 +74,8 @@ message RequestQuery { message RequestBeginBlock { bytes hash = 1; tendermint.types.Header header = 2 [(gogoproto.nullable) = false]; - LastCommitInfo last_commit_info = 3 [(gogoproto.nullable) = false]; - repeated Evidence byzantine_validators = 4 [(gogoproto.nullable) = false]; + CommitInfo last_commit_info = 3 [(gogoproto.nullable) = false]; + repeated Misbehavior byzantine_validators = 4 [(gogoproto.nullable) = false]; } enum CheckTxType { @@ -105,8 +103,8 @@ message RequestListSnapshots {} // offers a snapshot to the application message RequestOfferSnapshot { - Snapshot snapshot = 1; // snapshot offered by peers - bytes app_hash = 2; // light client-verified app hash for snapshot height + Snapshot snapshot = 1; // snapshot offered by peers + bytes app_hash = 2; // light client-verified app hash for snapshot height } // loads a snapshot chunk @@ -123,6 +121,34 @@ message RequestApplySnapshotChunk { string sender = 3; } +message RequestPrepareProposal { + // the modified transactions cannot exceed this size. + int64 max_tx_bytes = 1; + // txs is an array of transactions that will be included in a block, + // sent to the app for possible modifications. + repeated bytes txs = 2; + ExtendedCommitInfo local_last_commit = 3 [(gogoproto.nullable) = false]; + repeated Misbehavior misbehavior = 4 [(gogoproto.nullable) = false]; + int64 height = 5; + google.protobuf.Timestamp time = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes next_validators_hash = 7; + // address of the public key of the validator proposing the block. + bytes proposer_address = 8; +} + +message RequestProcessProposal { + repeated bytes txs = 1; + CommitInfo proposed_last_commit = 2 [(gogoproto.nullable) = false]; + repeated Misbehavior misbehavior = 3 [(gogoproto.nullable) = false]; + // hash is the merkle root hash of the fields of the proposed block. + bytes hash = 4; + int64 height = 5; + google.protobuf.Timestamp time = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes next_validators_hash = 7; + // address of the public key of the original proposer of the block. + bytes proposer_address = 8; +} + //---------------------------------------- // Response types @@ -132,7 +158,6 @@ message Response { ResponseEcho echo = 2; ResponseFlush flush = 3; ResponseInfo info = 4; - ResponseSetOption set_option = 5; ResponseInitChain init_chain = 6; ResponseQuery query = 7; ResponseBeginBlock begin_block = 8; @@ -144,7 +169,10 @@ message Response { ResponseOfferSnapshot offer_snapshot = 14; ResponseLoadSnapshotChunk load_snapshot_chunk = 15; ResponseApplySnapshotChunk apply_snapshot_chunk = 16; + ResponsePrepareProposal prepare_proposal = 17; + ResponseProcessProposal process_proposal = 18; } + reserved 5; } // nondeterministic @@ -168,25 +196,17 @@ message ResponseInfo { bytes last_block_app_hash = 5; } -// nondeterministic -message ResponseSetOption { - uint32 code = 1; - // bytes data = 2; - string log = 3; - string info = 4; -} - message ResponseInitChain { - ConsensusParams consensus_params = 1; - repeated ValidatorUpdate validators = 2 [(gogoproto.nullable) = false]; - bytes app_hash = 3; + tendermint.types.ConsensusParams consensus_params = 1; + repeated ValidatorUpdate validators = 2 [(gogoproto.nullable) = false]; + bytes app_hash = 3; } message ResponseQuery { uint32 code = 1; // bytes data = 2; // use "value" instead. - string log = 3; // nondeterministic - string info = 4; // nondeterministic + string log = 3; // nondeterministic + string info = 4; // nondeterministic int64 index = 5; bytes key = 6; bytes value = 7; @@ -196,35 +216,47 @@ message ResponseQuery { } message ResponseBeginBlock { - repeated Event events = 1 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; + repeated Event events = 1 + [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; } message ResponseCheckTx { uint32 code = 1; bytes data = 2; - string log = 3; // nondeterministic - string info = 4; // nondeterministic + string log = 3; // nondeterministic + string info = 4; // nondeterministic int64 gas_wanted = 5 [json_name = "gas_wanted"]; int64 gas_used = 6 [json_name = "gas_used"]; - repeated Event events = 7 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; - string codespace = 8; + repeated Event events = 7 + [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; + string codespace = 8; + string sender = 9; + int64 priority = 10; + + // mempool_error is set by Tendermint. + // ABCI applictions creating a ResponseCheckTX should not set mempool_error. + string mempool_error = 11; } message ResponseDeliverTx { uint32 code = 1; bytes data = 2; - string log = 3; // nondeterministic - string info = 4; // nondeterministic + string log = 3; // nondeterministic + string info = 4; // nondeterministic int64 gas_wanted = 5 [json_name = "gas_wanted"]; int64 gas_used = 6 [json_name = "gas_used"]; - repeated Event events = 7 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; - string codespace = 8; + repeated Event events = 7 [ + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "events,omitempty" + ]; // nondeterministic + string codespace = 8; } message ResponseEndBlock { - repeated ValidatorUpdate validator_updates = 1 [(gogoproto.nullable) = false]; - ConsensusParams consensus_param_updates = 2; - repeated Event events = 3 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; + repeated ValidatorUpdate validator_updates = 1 [(gogoproto.nullable) = false]; + tendermint.types.ConsensusParams consensus_param_updates = 2; + repeated Event events = 3 + [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; } message ResponseCommit { @@ -241,12 +273,12 @@ message ResponseOfferSnapshot { Result result = 1; enum Result { - UNKNOWN = 0; // Unknown result, abort all snapshot restoration - ACCEPT = 1; // Snapshot accepted, apply chunks - ABORT = 2; // Abort all snapshot restoration - REJECT = 3; // Reject this specific snapshot, try others - REJECT_FORMAT = 4; // Reject all snapshots of this format, try others - REJECT_SENDER = 5; // Reject all snapshots from the sender(s), try others + UNKNOWN = 0; // Unknown result, abort all snapshot restoration + ACCEPT = 1; // Snapshot accepted, apply chunks + ABORT = 2; // Abort all snapshot restoration + REJECT = 3; // Reject this specific snapshot, try others + REJECT_FORMAT = 4; // Reject all snapshots of this format, try others + REJECT_SENDER = 5; // Reject all snapshots from the sender(s), try others } } @@ -256,57 +288,65 @@ message ResponseLoadSnapshotChunk { message ResponseApplySnapshotChunk { Result result = 1; - repeated uint32 refetch_chunks = 2; // Chunks to refetch and reapply - repeated string reject_senders = 3; // Chunk senders to reject and ban + repeated uint32 refetch_chunks = 2; // Chunks to refetch and reapply + repeated string reject_senders = 3; // Chunk senders to reject and ban enum Result { - UNKNOWN = 0; // Unknown result, abort all snapshot restoration - ACCEPT = 1; // Chunk successfully accepted - ABORT = 2; // Abort all snapshot restoration - RETRY = 3; // Retry chunk (combine with refetch and reject) - RETRY_SNAPSHOT = 4; // Retry snapshot (combine with refetch and reject) - REJECT_SNAPSHOT = 5; // Reject this snapshot, try others + UNKNOWN = 0; // Unknown result, abort all snapshot restoration + ACCEPT = 1; // Chunk successfully accepted + ABORT = 2; // Abort all snapshot restoration + RETRY = 3; // Retry chunk (combine with refetch and reject) + RETRY_SNAPSHOT = 4; // Retry snapshot (combine with refetch and reject) + REJECT_SNAPSHOT = 5; // Reject this snapshot, try others } } -//---------------------------------------- -// Misc. - -// ConsensusParams contains all consensus-relevant parameters -// that can be adjusted by the abci app -message ConsensusParams { - BlockParams block = 1; - tendermint.types.EvidenceParams evidence = 2; - tendermint.types.ValidatorParams validator = 3; - tendermint.types.VersionParams version = 4; +message ResponsePrepareProposal { + repeated bytes txs = 1; } -// BlockParams contains limits on the block size. -message BlockParams { - // Note: must be greater than 0 - int64 max_bytes = 1; - // Note: must be greater or equal to -1 - int64 max_gas = 2; +message ResponseProcessProposal { + ProposalStatus status = 1; + + enum ProposalStatus { + UNKNOWN = 0; + ACCEPT = 1; + REJECT = 2; + } } -message LastCommitInfo { +//---------------------------------------- +// Misc. + +message CommitInfo { int32 round = 1; repeated VoteInfo votes = 2 [(gogoproto.nullable) = false]; } +message ExtendedCommitInfo { + // The round at which the block proposer decided in the previous height. + int32 round = 1; + // List of validators' addresses in the last validator set with their voting + // information, including vote extensions. + repeated ExtendedVoteInfo votes = 2 [(gogoproto.nullable) = false]; +} + // Event allows application developers to attach additional information to // ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. // Later, transactions may be queried using these events. message Event { string type = 1; - repeated EventAttribute attributes = 2 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "attributes,omitempty"]; + repeated EventAttribute attributes = 2 [ + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "attributes,omitempty" + ]; } // EventAttribute is a single key-value pair, associated with an event. message EventAttribute { - bytes key = 1; - bytes value = 2; - bool index = 3; // nondeterministic + string key = 1; + string value = 2; + bool index = 3; // nondeterministic } // TxResult contains results of executing the transaction. @@ -324,9 +364,9 @@ message TxResult { // Validator message Validator { - bytes address = 1; // The first 20 bytes of SHA256(public key) + bytes address = 1; // The first 20 bytes of SHA256(public key) // PubKey pub_key = 2 [(gogoproto.nullable)=false]; - int64 power = 3; // The voting power + int64 power = 3; // The voting power } // ValidatorUpdate @@ -341,20 +381,27 @@ message VoteInfo { bool signed_last_block = 2; } -enum EvidenceType { +message ExtendedVoteInfo { + Validator validator = 1 [(gogoproto.nullable) = false]; + bool signed_last_block = 2; + bytes vote_extension = 3; // Reserved for future use +} + +enum MisbehaviorType { UNKNOWN = 0; DUPLICATE_VOTE = 1; LIGHT_CLIENT_ATTACK = 2; } -message Evidence { - EvidenceType type = 1; +message Misbehavior { + MisbehaviorType type = 1; // The offending validator Validator validator = 2 [(gogoproto.nullable) = false]; // The height when the offense occurred int64 height = 3; // The corresponding time where the offense occurred - google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + google.protobuf.Timestamp time = 4 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; // Total voting power of the validator set in case the ABCI application does // not store historical validators. // https://github.com/tendermint/tendermint/issues/4581 @@ -365,11 +412,11 @@ message Evidence { // State Sync Types message Snapshot { - uint64 height = 1; // The height at which the snapshot was taken - uint32 format = 2; // The application-specific snapshot format - uint32 chunks = 3; // Number of chunks in the snapshot - bytes hash = 4; // Arbitrary snapshot hash, equal only if identical - bytes metadata = 5; // Arbitrary application metadata + uint64 height = 1; // The height at which the snapshot was taken + uint32 format = 2; // The application-specific snapshot format + uint32 chunks = 3; // Number of chunks in the snapshot + bytes hash = 4; // Arbitrary snapshot hash, equal only if identical + bytes metadata = 5; // Arbitrary application metadata } //---------------------------------------- @@ -379,7 +426,6 @@ service ABCIApplication { rpc Echo(RequestEcho) returns (ResponseEcho); rpc Flush(RequestFlush) returns (ResponseFlush); rpc Info(RequestInfo) returns (ResponseInfo); - rpc SetOption(RequestSetOption) returns (ResponseSetOption); rpc DeliverTx(RequestDeliverTx) returns (ResponseDeliverTx); rpc CheckTx(RequestCheckTx) returns (ResponseCheckTx); rpc Query(RequestQuery) returns (ResponseQuery); @@ -389,6 +435,10 @@ service ABCIApplication { rpc EndBlock(RequestEndBlock) returns (ResponseEndBlock); rpc ListSnapshots(RequestListSnapshots) returns (ResponseListSnapshots); rpc OfferSnapshot(RequestOfferSnapshot) returns (ResponseOfferSnapshot); - rpc LoadSnapshotChunk(RequestLoadSnapshotChunk) returns (ResponseLoadSnapshotChunk); - rpc ApplySnapshotChunk(RequestApplySnapshotChunk) returns (ResponseApplySnapshotChunk); + rpc LoadSnapshotChunk(RequestLoadSnapshotChunk) + returns (ResponseLoadSnapshotChunk); + rpc ApplySnapshotChunk(RequestApplySnapshotChunk) + returns (ResponseApplySnapshotChunk); + rpc PrepareProposal(RequestPrepareProposal) returns (ResponsePrepareProposal); + rpc ProcessProposal(RequestProcessProposal) returns (ResponseProcessProposal); } diff --git a/proto/tendermint/p2p/types.proto b/proto/tendermint/p2p/types.proto index 98aba7c4ff13a..0d42ea400299a 100644 --- a/proto/tendermint/p2p/types.proto +++ b/proto/tendermint/p2p/types.proto @@ -4,7 +4,12 @@ package tendermint.p2p; option go_package = "github.com/tendermint/tendermint/proto/tendermint/p2p"; import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; + +message NetAddress { + string id = 1 [(gogoproto.customname) = "ID"]; + string ip = 2 [(gogoproto.customname) = "IP"]; + uint32 port = 3; +} message ProtocolVersion { uint64 p2p = 1 [(gogoproto.customname) = "P2P"]; @@ -26,4 +31,4 @@ message DefaultNodeInfo { message DefaultNodeInfoOther { string tx_index = 1; string rpc_address = 2 [(gogoproto.customname) = "RPCAddress"]; -} \ No newline at end of file +} diff --git a/proto/tendermint/types/evidence.proto b/proto/tendermint/types/evidence.proto index d9548a4302965..451b8dca3c711 100644 --- a/proto/tendermint/types/evidence.proto +++ b/proto/tendermint/types/evidence.proto @@ -30,7 +30,7 @@ message LightClientAttackEvidence { int64 common_height = 2; repeated tendermint.types.Validator byzantine_validators = 3; int64 total_voting_power = 4; - google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; } message EvidenceList { diff --git a/proto/tendermint/types/params.proto b/proto/tendermint/types/params.proto index 70789222a5d38..195aa8d1737d0 100644 --- a/proto/tendermint/types/params.proto +++ b/proto/tendermint/types/params.proto @@ -11,10 +11,10 @@ option (gogoproto.equal_all) = true; // ConsensusParams contains consensus critical parameters that determine the // validity of blocks. message ConsensusParams { - BlockParams block = 1 [(gogoproto.nullable) = false]; - EvidenceParams evidence = 2 [(gogoproto.nullable) = false]; - ValidatorParams validator = 3 [(gogoproto.nullable) = false]; - VersionParams version = 4 [(gogoproto.nullable) = false]; + BlockParams block = 1; + EvidenceParams evidence = 2; + ValidatorParams validator = 3; + VersionParams version = 4; } // BlockParams contains limits on the block size. @@ -25,11 +25,8 @@ message BlockParams { // Max gas per block. // Note: must be greater or equal to -1 int64 max_gas = 2; - // Minimum time increment between consecutive blocks (in milliseconds) If the - // block header timestamp is ahead of the system clock, decrease this value. - // - // Not exposed to the application. - int64 time_iota_ms = 3; + + reserved 3; // was TimeIotaMs see https://github.com/tendermint/tendermint/pull/5792 } // EvidenceParams determine how we handle evidence of malfeasance. @@ -45,7 +42,8 @@ message EvidenceParams { // It should correspond with an app's "unbonding period" or other similar // mechanism for handling [Nothing-At-Stake // attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). - google.protobuf.Duration max_age_duration = 2 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; + google.protobuf.Duration max_age_duration = 2 + [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; // This sets the maximum size of total evidence in bytes that can be committed in a single block. // and should fall comfortably under the max block bytes. @@ -67,7 +65,7 @@ message VersionParams { option (gogoproto.populate) = true; option (gogoproto.equal) = true; - uint64 app_version = 1; + uint64 app = 1; } // HashedParams is a subset of ConsensusParams. diff --git a/proto/tendermint/types/types.proto b/proto/tendermint/types/types.proto index 57efc33c5b7e5..8d4f009729dd2 100644 --- a/proto/tendermint/types/types.proto +++ b/proto/tendermint/types/types.proto @@ -66,19 +66,19 @@ message Header { BlockID last_block_id = 5 [(gogoproto.nullable) = false]; // hashes of block data - bytes last_commit_hash = 6; // commit from validators from the last block - bytes data_hash = 7; // transactions + bytes last_commit_hash = 6; // commit from validators from the last block + bytes data_hash = 7; // transactions // hashes from the app output from the prev block - bytes validators_hash = 8; // validators for the current block - bytes next_validators_hash = 9; // validators for the next block - bytes consensus_hash = 10; // consensus params for current block - bytes app_hash = 11; // state after txs from the previous block - bytes last_results_hash = 12; // root hash of all results from the txs from the previous block + bytes validators_hash = 8; // validators for the current block + bytes next_validators_hash = 9; // validators for the next block + bytes consensus_hash = 10; // consensus params for current block + bytes app_hash = 11; // state after txs from the previous block + bytes last_results_hash = 12; // root hash of all results from the txs from the previous block // consensus info - bytes evidence_hash = 13; // evidence included in the block - bytes proposer_address = 14; // original proposer of the block + bytes evidence_hash = 13; // evidence included in the block + bytes proposer_address = 14; // original proposer of the block } // Data contains the set of transactions included in the block @@ -95,11 +95,13 @@ message Vote { SignedMsgType type = 1; int64 height = 2; int32 round = 3; - BlockID block_id = 4 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; // zero if vote is nil. - google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes validator_address = 6; - int32 validator_index = 7; - bytes signature = 8; + BlockID block_id = 4 + [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; // zero if vote is nil. + google.protobuf.Timestamp timestamp = 5 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes validator_address = 6; + int32 validator_index = 7; + bytes signature = 8; } // Commit contains the evidence that a block was committed by a set of validators. @@ -114,8 +116,9 @@ message Commit { message CommitSig { BlockIDFlag block_id_flag = 1; bytes validator_address = 2; - google.protobuf.Timestamp timestamp = 3 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes signature = 4; + google.protobuf.Timestamp timestamp = 3 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes signature = 4; } message Proposal { @@ -124,8 +127,9 @@ message Proposal { int32 round = 3; int32 pol_round = 4; BlockID block_id = 5 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; - google.protobuf.Timestamp timestamp = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes signature = 7; + google.protobuf.Timestamp timestamp = 6 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes signature = 7; } message SignedHeader { diff --git a/scripts/mockgen.sh b/scripts/mockgen.sh index a8582bee8ffc0..bc6cfd468f7b1 100755 --- a/scripts/mockgen.sh +++ b/scripts/mockgen.sh @@ -7,7 +7,7 @@ $mockgen_cmd -source db/types.go -package mock -destination testutil/mock/db/typ $mockgen_cmd -source=types/module/module.go -package mock -destination testutil/mock/types_module_module.go $mockgen_cmd -source=types/invariant.go -package mock -destination testutil/mock/types_invariant.go $mockgen_cmd -source=types/router.go -package mock -destination testutil/mock/types_router.go -$mockgen_cmd -package mock -destination testutil/mock/grpc_server.go github.com/gogo/protobuf/grpc Server +$mockgen_cmd -package mock -destination testutil/mock/grpc_server.go github.com/cosmos/gogoproto/grpc Server $mockgen_cmd -package mock -destination testutil/mock/tendermint_tendermint_libs_log_DB.go github.com/tendermint/tendermint/libs/log Logger $mockgen_cmd -source=orm/model/ormtable/hooks.go -package ormmocks -destination orm/testing/ormmocks/hooks.go $mockgen_cmd -source=x/nft/expected_keepers.go -package testutil -destination x/nft/testutil/expected_keepers_mocks.go diff --git a/scripts/protocgen-any.sh b/scripts/protocgen-any.sh deleted file mode 100755 index 2a094265d3f9a..0000000000000 --- a/scripts/protocgen-any.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash - -# This script generates a custom wrapper for google.protobuf.Any in -# codec/types/any.pb.go with a custom generated struct that lives in -# codec/types/any.go - -set -eo pipefail - -go install github.com/gogo/protobuf/protoc-gen-gogotypes - -buf protoc -I "third_party/proto" --gogotypes_out=./codec/types third_party/proto/google/protobuf/any.proto -mv codec/types/google/protobuf/any.pb.go codec/types -rm -rf codec/types/third_party - -# This removes the call to RegisterType in the custom generated Any wrapper -# so that only the Any type provided by gogo protobuf is registered in the -# global gogo protobuf type registry, which we aren't actually using -sed '/proto\.RegisterType/d' codec/types/any.pb.go > tmp && mv tmp codec/types/any.pb.go diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index f4a689050214e..27cd2c4c98ae9 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -1,21 +1,8 @@ #!/usr/bin/env bash -#== Requirements == -# -## make sure your `go env GOPATH` is in the `$PATH` -## Install: -## + latest buf (v1.0.0-rc11 or later) -## + protobuf v3 -# -## All protoc dependencies must be installed not in the module scope -## currently we must use grpc-gateway v1 -# cd ~ -# go install google.golang.org/protobuf/cmd/protoc-gen-go@latest -# go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest -# go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v1.16.0 -# go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest -# go get github.com/regen-network/cosmos-proto@latest # doesn't work in install mode -# go get github.com/regen-network/cosmos-proto/protoc-gen-gocosmos@v0.3.1 +# How to run manually: +# docker build --pull --rm -f "contrib/devtools/Dockerfile" -t cosmossdk-proto:latest "contrib/devtools" +# docker run --rm -v $(pwd):/workspace --workdir /workspace cosmossdk-proto sh ./scripts/protocgen.sh set -eo pipefail @@ -42,6 +29,6 @@ cd .. cp -r github.com/cosmos/cosmos-sdk/* ./ rm -rf github.com -go mod tidy -compat=1.18 +go mod tidy ./scripts/protocgen-pulsar.sh diff --git a/server/grpc/gogoreflection/fix_registration.go b/server/grpc/gogoreflection/fix_registration.go index d75c951f7392e..0fc08444a8058 100644 --- a/server/grpc/gogoreflection/fix_registration.go +++ b/server/grpc/gogoreflection/fix_registration.go @@ -6,18 +6,17 @@ import ( "fmt" "reflect" - _ "github.com/gogo/protobuf/gogoproto" // required so it does register the gogoproto file descriptor - gogoproto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" // required so it does register the gogoproto file descriptor + gogoproto "github.com/cosmos/gogoproto/proto" - //nolint: staticcheck - "github.com/golang/protobuf/proto" + _ "github.com/cosmos/cosmos-proto" // look above + "github.com/golang/protobuf/proto" //nolint:staticcheck dpb "github.com/golang/protobuf/protoc-gen-go/descriptor" - _ "github.com/regen-network/cosmos-proto" // look above ) var importsToFix = map[string]string{ - "gogo.proto": "gogoproto/gogo.proto", - "cosmos.proto": "cosmos_proto/cosmos.proto", + "gogo.proto": "gogoproto/gogo.proto", + // "cosmos.proto": "cosmos_proto/cosmos.proto", } // fixRegistration is required because certain files register themselves in a way @@ -87,8 +86,8 @@ func getFileDescriptor(filePath string) []byte { if len(fd) != 0 { return fd } - //nolint: staticcheck - return proto.FileDescriptor(filePath) + + return proto.FileDescriptor(filePath) //nolint:staticcheck } func getMessageType(name string) reflect.Type { @@ -96,8 +95,8 @@ func getMessageType(name string) reflect.Type { if typ != nil { return typ } - //nolint: staticcheck - return proto.MessageType(name) + + return proto.MessageType(name) //nolint:staticcheck } func getExtension(extID int32, m proto.Message) *gogoproto.ExtensionDesc { @@ -107,17 +106,17 @@ func getExtension(extID int32, m proto.Message) *gogoproto.ExtensionDesc { return desc } } + // check into proto registry - //nolint: staticcheck - for id, desc := range proto.RegisteredExtensions(m) { + for id, desc := range proto.RegisteredExtensions(m) { //nolint:staticcheck if id == extID { return &gogoproto.ExtensionDesc{ - ExtendedType: desc.ExtendedType, - ExtensionType: desc.ExtensionType, - Field: desc.Field, - Name: desc.Name, - Tag: desc.Tag, - Filename: desc.Filename, + ExtendedType: desc.ExtendedType, //nolint:staticcheck + ExtensionType: desc.ExtensionType, //nolint:staticcheck + Field: desc.Field, //nolint:staticcheck + Name: desc.Name, //nolint:staticcheck + Tag: desc.Tag, //nolint:staticcheck + Filename: desc.Filename, //nolint:staticcheck } } } @@ -134,8 +133,8 @@ func getExtensionsNumbers(m proto.Message) []int32 { if len(out) != 0 { return out } - //nolint: staticcheck - protoExts := proto.RegisteredExtensions(m) + + protoExts := proto.RegisteredExtensions(m) //nolint:staticcheck out = make([]int32, 0, len(protoExts)) for id := range protoExts { out = append(out, id) diff --git a/server/grpc/reflection/v2alpha1/reflection.go b/server/grpc/reflection/v2alpha1/reflection.go index 789f9e35ff861..73290c2961f80 100644 --- a/server/grpc/reflection/v2alpha1/reflection.go +++ b/server/grpc/reflection/v2alpha1/reflection.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "google.golang.org/grpc" codectypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/server/grpc/reflection/v2alpha1/reflection.pb.go b/server/grpc/reflection/v2alpha1/reflection.pb.go index c75e6958ce32a..360e4440e8f6b 100644 --- a/server/grpc/reflection/v2alpha1/reflection.pb.go +++ b/server/grpc/reflection/v2alpha1/reflection.pb.go @@ -6,8 +6,8 @@ package v2alpha1 import ( context "context" fmt "fmt" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/server/grpc/server_test.go b/server/grpc/server_test.go index a6fba07b0db52..b49c2e5887c30 100644 --- a/server/grpc/server_test.go +++ b/server/grpc/server_test.go @@ -6,13 +6,10 @@ import ( "testing" "time" - "github.com/jhump/protoreflect/grpcreflect" - "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/codec" - + "github.com/jhump/protoreflect/grpcreflect" "google.golang.org/grpc" "google.golang.org/grpc/metadata" rpb "google.golang.org/grpc/reflection/grpc_reflection_v1alpha" @@ -20,12 +17,12 @@ import ( "github.com/cosmos/cosmos-sdk/client" reflectionv1 "github.com/cosmos/cosmos-sdk/client/grpc/reflection" clienttx "github.com/cosmos/cosmos-sdk/client/tx" + "github.com/cosmos/cosmos-sdk/codec" reflectionv2 "github.com/cosmos/cosmos-sdk/server/grpc/reflection/v2alpha1" "github.com/cosmos/cosmos-sdk/testutil/network" "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/tx" txtypes "github.com/cosmos/cosmos-sdk/types/tx" "github.com/cosmos/cosmos-sdk/types/tx/signing" authclient "github.com/cosmos/cosmos-sdk/x/auth/client" @@ -161,7 +158,7 @@ func (s *IntegrationTestSuite) TestGRPCServer_GetTxsEvent() { txServiceClient := txtypes.NewServiceClient(s.conn) _, err := txServiceClient.GetTxsEvent( context.Background(), - &tx.GetTxsEventRequest{ + &txtypes.GetTxsEventRequest{ Events: []string{"message.action='send'"}, }, ) diff --git a/server/mock/store.go b/server/mock/store.go index 8eaa002457bac..ce5f8409a71d9 100644 --- a/server/mock/store.go +++ b/server/mock/store.go @@ -3,7 +3,7 @@ package mock import ( "io" - protoio "github.com/gogo/protobuf/io" + protoio "github.com/cosmos/gogoproto/io" dbm "github.com/tendermint/tm-db" pruningtypes "github.com/cosmos/cosmos-sdk/pruning/types" diff --git a/server/types/app.go b/server/types/app.go index b6474d97e91ec..d727e2c815095 100644 --- a/server/types/app.go +++ b/server/types/app.go @@ -5,7 +5,7 @@ import ( "io" "time" - "github.com/gogo/protobuf/grpc" + "github.com/cosmos/gogoproto/grpc" "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" diff --git a/simapp/go.mod b/simapp/go.mod index 3c3ef3b4e143c..4f183b9b57eee 100644 --- a/simapp/go.mod +++ b/simapp/go.mod @@ -7,13 +7,13 @@ require ( cosmossdk.io/core v0.2.0 cosmossdk.io/depinject v1.0.0-alpha.2 cosmossdk.io/math v1.0.0-beta.3 - github.com/cosmos/cosmos-sdk v0.46.0-beta2.0.20220901182343-3e3b225a5e77 + github.com/cosmos/cosmos-sdk v0.0.0-00010101000000-000000000000 github.com/golang/mock v1.6.0 github.com/spf13/cast v1.5.0 github.com/spf13/cobra v1.5.0 github.com/spf13/viper v1.13.0 github.com/stretchr/testify v1.8.0 - github.com/tendermint/tendermint v0.37.0-alpha.1 + github.com/tendermint/tendermint v0.37.0-alpha.2 github.com/tendermint/tm-db v0.6.7 google.golang.org/protobuf v1.28.1 ) @@ -43,6 +43,7 @@ require ( github.com/cosmos/btcutil v1.0.4 // indirect github.com/cosmos/cosmos-proto v1.0.0-alpha7 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect + github.com/cosmos/gogoproto v1.4.1 // indirect github.com/cosmos/gorocksdb v1.2.0 // indirect github.com/cosmos/iavl v0.19.1 // indirect github.com/cosmos/ledger-cosmos-go v0.11.1 // indirect @@ -63,6 +64,7 @@ require ( github.com/go-logfmt/logfmt v0.5.1 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gogo/gateway v1.1.0 // indirect + github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/glog v1.0.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect @@ -115,7 +117,6 @@ require ( github.com/prometheus/procfs v0.8.0 // indirect github.com/rakyll/statik v0.1.7 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect - github.com/regen-network/cosmos-proto v0.3.1 // indirect github.com/rs/cors v1.8.2 // indirect github.com/rs/zerolog v1.28.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect @@ -153,6 +154,8 @@ require ( replace ( github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 github.com/cosmos/cosmos-sdk => ../. + // Fix upstream GHSA-h395-qcrw-5vmq vulnerability. + // TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409 github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.8.1 - github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 + github.com/gogo/gateway => github.com/notional-labs/gateway v1.1.1-0.20220417180718-8e60e17a098d ) diff --git a/simapp/go.sum b/simapp/go.sum index 937cb9cea7e71..b4ed61f4176db 100644 --- a/simapp/go.sum +++ b/simapp/go.sum @@ -186,6 +186,9 @@ github.com/cosmos/cosmos-proto v1.0.0-alpha7/go.mod h1:dosO4pSAbJF8zWCzCoTWP7nNs github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= +github.com/cosmos/gogoproto v1.4.0/go.mod h1:PmDilxjma3Cp50k5beXFV3ATB4O3/Sys4WI6Fo9kMAo= +github.com/cosmos/gogoproto v1.4.1 h1:WoyH+0/jbCTzpKNvyav5FL1ZTWsp1im1MxEpJEzKUB8= +github.com/cosmos/gogoproto v1.4.1/go.mod h1:Ac9lzL4vFpBMcptJROQ6dQ4M3pOEK5Z/l0Q9p+LoCr4= github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y= github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= github.com/cosmos/iavl v0.19.1 h1:3gaq9b6SjiB0KBTygRnAvEGml2pQlu1TH8uma5g63Ys= @@ -302,9 +305,15 @@ github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+ github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= -github.com/gogo/gateway v1.1.0 h1:u0SuhL9+Il+UbjM9VIE3ntfRujKbvVpFvNB4HbjeVQ0= -github.com/gogo/gateway v1.1.0/go.mod h1:S7rR8FRQyG3QFESeSv4l2WnsyzlCLG0CzBbUUo/mbic= github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869 h1:kRpU4zq+Pzh4feET49aEWPOzwQy3U2SsbZEQ7QEcif0= +github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0 h1:nfP3RFugxnNRyKgeWd4oI1nYvXpxrx8ck8ZrcizshdQ= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= @@ -421,7 +430,6 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaD github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= @@ -507,6 +515,8 @@ github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/X github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= @@ -593,6 +603,8 @@ github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxzi github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/notional-labs/gateway v1.1.1-0.20220417180718-8e60e17a098d h1:ojbVlSwN0ZgOpE8jOnFQ6iNm247PwFTykE5qe9xITqw= +github.com/notional-labs/gateway v1.1.1-0.20220417180718-8e60e17a098d/go.mod h1:8W5G7hGZRVlsdVjoP4lh/nKiL23VhQFJZrImu0uoBDY= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= @@ -688,11 +700,7 @@ github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Ung github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/regen-network/cosmos-proto v0.3.1 h1:rV7iM4SSFAagvy8RiyhiACbWEGotmqzywPxOvwMdxcg= -github.com/regen-network/cosmos-proto v0.3.1/go.mod h1:jO0sVX6a1B36nmE8C9xBFXpNwWejXC7QqCOnH3O0+YM= github.com/regen-network/gocuke v0.6.2 h1:pHviZ0kKAq2U2hN2q3smKNxct6hS0mGByFMHGnWA97M= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1 h1:OHEc+q5iIAXpqiqFKeLpu5NwTIkVXUs48vFMwzqpqY4= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1/go.mod h1:2DjTFR1HhMQhiWC5sZ4OhQ3+NtdbZ6oBDKQwq5Ou+FI= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= @@ -772,8 +780,8 @@ github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RM github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tendermint/tendermint v0.37.0-alpha.1 h1:sE/jlVRBX00nsyH/Kroya17BR0RkBvWCZDzz1qzW7gU= -github.com/tendermint/tendermint v0.37.0-alpha.1/go.mod h1:f8Nk7ZdkIYqle2nzjkOib4XNlwXcSCoHvcG969xRuOs= +github.com/tendermint/tendermint v0.37.0-alpha.2 h1:G82quAWZUDYMTc9G7b/tntFATfm7nm6PrsvjsuMZDPI= +github.com/tendermint/tendermint v0.37.0-alpha.2/go.mod h1:DSnBfCufF48DhIpmU2inmVo8YiEGus6uInwf46Iu01k= github.com/tendermint/tm-db v0.6.7 h1:fE00Cbl0jayAoqlExN6oyQJ7fR/ZtoVOmvPJ//+shu8= github.com/tendermint/tm-db v0.6.7/go.mod h1:byQDzFkZV1syXr/ReXS808NxA2xvyuuVgXOJ/088L6I= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= @@ -794,6 +802,7 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/zondax/hid v0.9.0/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= github.com/zondax/hid v0.9.1-0.20220302062450-5552068d2266 h1:O9XLFXGkVswDFmH9LaYpqu+r/AAFWqr0DL6V00KEVFg= github.com/zondax/hid v0.9.1-0.20220302062450-5552068d2266/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= @@ -835,6 +844,7 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa h1:zuSxTR4o9y82ebqCUJYNGJbGPo6sKVl54f/TVDObg1c= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= @@ -876,6 +886,7 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -926,6 +937,7 @@ golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= @@ -1043,6 +1055,7 @@ golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1050,6 +1063,7 @@ golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1075,8 +1089,10 @@ golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= @@ -1134,6 +1150,7 @@ golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1212,7 +1229,6 @@ google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200324203455-a04cca1dde73/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -1263,6 +1279,7 @@ google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= @@ -1275,7 +1292,6 @@ google.golang.org/genproto v0.0.0-20220725144611-272f38e5d71b h1:SfSkJugek6xm7lW google.golang.org/genproto v0.0.0-20220725144611-272f38e5d71b/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/snapshots/helpers_test.go b/snapshots/helpers_test.go index 2dc18102c3cfa..5a9e44daf6602 100644 --- a/snapshots/helpers_test.go +++ b/snapshots/helpers_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - protoio "github.com/gogo/protobuf/io" + protoio "github.com/cosmos/gogoproto/io" "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/libs/log" db "github.com/tendermint/tm-db" diff --git a/snapshots/store.go b/snapshots/store.go index 03c35392542b8..1ca3b5b9b6cc1 100644 --- a/snapshots/store.go +++ b/snapshots/store.go @@ -10,7 +10,7 @@ import ( "strconv" "sync" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" db "github.com/tendermint/tm-db" "github.com/cosmos/cosmos-sdk/snapshots/types" @@ -259,7 +259,7 @@ func (s *Store) Save( snapshotHasher := sha256.New() chunkHasher := sha256.New() for chunkBody := range chunks { - defer chunkBody.Close() //nolint: staticcheck + defer chunkBody.Close() //nolint:staticcheck dir := s.pathSnapshot(height, format) err = os.MkdirAll(dir, 0o755) if err != nil { @@ -270,7 +270,7 @@ func (s *Store) Save( if err != nil { return nil, sdkerrors.Wrapf(err, "failed to create snapshot chunk file %q", path) } - defer file.Close() //nolint: staticcheck + defer file.Close() //nolint:staticcheck chunkHasher.Reset() _, err = io.Copy(io.MultiWriter(file, chunkHasher, snapshotHasher), chunkBody) diff --git a/snapshots/stream.go b/snapshots/stream.go index 935028313bb55..88bef076812fd 100644 --- a/snapshots/stream.go +++ b/snapshots/stream.go @@ -5,8 +5,8 @@ import ( "compress/zlib" "io" - protoio "github.com/gogo/protobuf/io" - "github.com/gogo/protobuf/proto" + protoio "github.com/cosmos/gogoproto/io" + "github.com/cosmos/gogoproto/proto" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) diff --git a/snapshots/types/convert.go b/snapshots/types/convert.go index d0db6e3dc1704..b9ea9503c5c1b 100644 --- a/snapshots/types/convert.go +++ b/snapshots/types/convert.go @@ -1,7 +1,7 @@ package types import ( - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" abci "github.com/tendermint/tendermint/abci/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/snapshots/types/snapshot.pb.go b/snapshots/types/snapshot.pb.go index 2ca2622b1462b..c1fd50045c93f 100644 --- a/snapshots/types/snapshot.pb.go +++ b/snapshots/types/snapshot.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/snapshots/types/snapshotter.go b/snapshots/types/snapshotter.go index 1641042a62339..de9fcfe3d3ffc 100644 --- a/snapshots/types/snapshotter.go +++ b/snapshots/types/snapshotter.go @@ -1,7 +1,7 @@ package types import ( - protoio "github.com/gogo/protobuf/io" + protoio "github.com/cosmos/gogoproto/io" ) // Snapshotter is something that can create and restore snapshots, consisting of streamed binary diff --git a/snapshots/types/util.go b/snapshots/types/util.go index e2d4949bf5c2e..861647088b7bd 100644 --- a/snapshots/types/util.go +++ b/snapshots/types/util.go @@ -1,7 +1,7 @@ package types import ( - protoio "github.com/gogo/protobuf/io" + protoio "github.com/cosmos/gogoproto/io" ) // WriteExtensionPayload writes an extension payload for current extension snapshotter. diff --git a/store/rootmulti/store.go b/store/rootmulti/store.go index 221294fb7aa0a..b1d3294448e9b 100644 --- a/store/rootmulti/store.go +++ b/store/rootmulti/store.go @@ -8,9 +8,9 @@ import ( "strings" "sync" + protoio "github.com/cosmos/gogoproto/io" + gogotypes "github.com/cosmos/gogoproto/types" iavltree "github.com/cosmos/iavl" - protoio "github.com/gogo/protobuf/io" - gogotypes "github.com/gogo/protobuf/types" "github.com/pkg/errors" abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" diff --git a/store/tools/ics23/go.mod b/store/tools/ics23/go.mod index b8966e8d4126d..6f9fd128e2fd3 100644 --- a/store/tools/ics23/go.mod +++ b/store/tools/ics23/go.mod @@ -7,13 +7,14 @@ require ( github.com/cosmos/cosmos-sdk v0.46.1 github.com/cosmos/iavl v0.19.1 github.com/lazyledger/smt v0.2.1-0.20210709230900-03ea40719554 - github.com/tendermint/tendermint v0.34.21 + github.com/tendermint/tendermint v0.37.0-alpha.2 github.com/tendermint/tm-db v0.6.7 ) require ( github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.1.2 // indirect + github.com/cosmos/gogoproto v1.4.1 // indirect github.com/cosmos/gorocksdb v1.2.0 // indirect github.com/dgraph-io/badger/v2 v2.2007.4 // indirect github.com/dgraph-io/ristretto v0.1.0 // indirect @@ -30,7 +31,7 @@ require ( github.com/onsi/gomega v1.20.0 // indirect github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect github.com/pkg/errors v0.9.1 // indirect - github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa // indirect + github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect go.etcd.io/bbolt v1.3.6 // indirect golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect @@ -39,7 +40,4 @@ require ( google.golang.org/protobuf v1.28.1 // indirect ) -replace ( - github.com/cosmos/cosmos-sdk/store/tools/ics23 => ./ - github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 -) +replace github.com/cosmos/cosmos-sdk/store/tools/ics23 => ./ diff --git a/store/tools/ics23/go.sum b/store/tools/ics23/go.sum index a02b7612169bd..6397f47df268c 100644 --- a/store/tools/ics23/go.sum +++ b/store/tools/ics23/go.sum @@ -1,16 +1,12 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/confio/ics23/go v0.7.0 h1:00d2kukk7sPoHWL4zZBZwzxnpA2pec1NPdwbSokJ5w8= github.com/confio/ics23/go v0.7.0/go.mod h1:E45NqnlpxGnpfTWL/xauN7MRwEE28T4Dd4uraToOaKg= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= @@ -18,6 +14,8 @@ github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8Nz github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/cosmos/cosmos-sdk v0.46.1 h1:7vUZXMyrmEb4xtBYpz1TobtrcnpgiZTi+tVjc0XWB4o= github.com/cosmos/cosmos-sdk v0.46.1/go.mod h1:2+o8Qw8qnE02V+lQVZDJFQ8tri/hsiA5GmWaPERqVa0= +github.com/cosmos/gogoproto v1.4.1 h1:WoyH+0/jbCTzpKNvyav5FL1ZTWsp1im1MxEpJEzKUB8= +github.com/cosmos/gogoproto v1.4.1/go.mod h1:Ac9lzL4vFpBMcptJROQ6dQ4M3pOEK5Z/l0Q9p+LoCr4= github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y= github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= github.com/cosmos/iavl v0.19.1 h1:3gaq9b6SjiB0KBTygRnAvEGml2pQlu1TH8uma5g63Ys= @@ -36,10 +34,6 @@ github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WA github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c h1:8ISkoahWXwZR41ois5lSJBSVw4D0OV19Ht/JSTzvSv0= github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 h1:JWuenKqqX8nojtoVVWjGfOF9635RETekkoH6Cc9SX0A= github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 h1:7HZCaLC5+BZpmbhCOZJ293Lz68O7PYrF2EzeiFMwCLk= @@ -47,16 +41,15 @@ github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMo github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0 h1:nfP3RFugxnNRyKgeWd4oI1nYvXpxrx8ck8ZrcizshdQ= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= @@ -71,7 +64,6 @@ github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= @@ -82,6 +74,7 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jmhodges/levigo v1.0.0 h1:q5EC36kV79HWeTBWsod3mG11EgStG3qArTKcvlksN1U= github.com/jmhodges/levigo v1.0.0/go.mod h1:Q6Qx+uH3RAqyK4rFQroq9RL7mdkABMcfhEI+nNuzMJQ= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= @@ -115,12 +108,9 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1 h1:OHEc+q5iIAXpqiqFKeLpu5NwTIkVXUs48vFMwzqpqY4= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1/go.mod h1:2DjTFR1HhMQhiWC5sZ4OhQ3+NtdbZ6oBDKQwq5Ou+FI= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= -github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa h1:0U2s5loxrTy6/VgfVoLuVLFJcURKLH49ie0zSch7gh4= -github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= +github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0= +github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= @@ -137,8 +127,8 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5 github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= -github.com/tendermint/tendermint v0.34.21 h1:UiGGnBFHVrZhoQVQ7EfwSOLuCtarqCSsRf8VrklqB7s= -github.com/tendermint/tendermint v0.34.21/go.mod h1:XDvfg6U7grcFTDx7VkzxnhazQ/bspGJAn4DZ6DcLLjQ= +github.com/tendermint/tendermint v0.37.0-alpha.2 h1:G82quAWZUDYMTc9G7b/tntFATfm7nm6PrsvjsuMZDPI= +github.com/tendermint/tendermint v0.37.0-alpha.2/go.mod h1:DSnBfCufF48DhIpmU2inmVo8YiEGus6uInwf46Iu01k= github.com/tendermint/tm-db v0.6.7 h1:fE00Cbl0jayAoqlExN6oyQJ7fR/ZtoVOmvPJ//+shu8= github.com/tendermint/tm-db v0.6.7/go.mod h1:byQDzFkZV1syXr/ReXS808NxA2xvyuuVgXOJ/088L6I= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= @@ -154,33 +144,21 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa h1:zuSxTR4o9y82ebqCUJYNGJbGPo6sKVl54f/TVDObg1c= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20220726230323-06994584191e h1:wOQNKh1uuDGRnmgF0jDxh7ctgGy/3P4rYWQRVJD4/Yg= golang.org/x/net v0.0.0-20220726230323-06994584191e/go.mod h1:AaygXjzTFtRAg2ttMY5RMuhpJ3cNnI0XpyFJD1iQRSM= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -202,10 +180,7 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= @@ -214,16 +189,6 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20200324203455-a04cca1dde73/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -243,5 +208,3 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/store/types/commit_info.pb.go b/store/types/commit_info.pb.go index 988804d2f307d..d18987954efd7 100644 --- a/store/types/commit_info.pb.go +++ b/store/types/commit_info.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/store/types/listening.pb.go b/store/types/listening.pb.go index 47d5a23a8367a..7d144f0d674dd 100644 --- a/store/types/listening.pb.go +++ b/store/types/listening.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/store/v2alpha1/multi/snapshot.go b/store/v2alpha1/multi/snapshot.go index 434c5e1c6fc54..0d394e636a5a4 100644 --- a/store/v2alpha1/multi/snapshot.go +++ b/store/v2alpha1/multi/snapshot.go @@ -6,7 +6,7 @@ import ( "io" "sort" - protoio "github.com/gogo/protobuf/io" + protoio "github.com/cosmos/gogoproto/io" "github.com/cosmos/cosmos-sdk/snapshots" snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" diff --git a/tests/e2e/auth/vesting/client/testutil/suite.go b/tests/e2e/auth/vesting/client/testutil/suite.go index 7f56de2c1cc21..aadf2a0a9d659 100644 --- a/tests/e2e/auth/vesting/client/testutil/suite.go +++ b/tests/e2e/auth/vesting/client/testutil/suite.go @@ -3,7 +3,7 @@ package testutil import ( "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" "github.com/cosmos/cosmos-sdk/client/flags" diff --git a/tests/e2e/bank/client/grpc.go b/tests/e2e/bank/client/grpc.go index efed044f58d6c..15814414f0419 100644 --- a/tests/e2e/bank/client/grpc.go +++ b/tests/e2e/bank/client/grpc.go @@ -3,7 +3,7 @@ package client import ( "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "cosmossdk.io/math" diff --git a/tests/e2e/bank/client/suite.go b/tests/e2e/bank/client/suite.go index 2c7f3c2ceb121..6256349fda189 100644 --- a/tests/e2e/bank/client/suite.go +++ b/tests/e2e/bank/client/suite.go @@ -5,7 +5,7 @@ import ( "io" "os" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" diff --git a/tests/e2e/crisis/suite.go b/tests/e2e/crisis/suite.go index 45ce94391c653..1205ab7178419 100644 --- a/tests/e2e/crisis/suite.go +++ b/tests/e2e/crisis/suite.go @@ -3,7 +3,7 @@ package crisis import ( "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" "github.com/cosmos/cosmos-sdk/client/flags" diff --git a/tests/e2e/feegrant/suite.go b/tests/e2e/feegrant/suite.go index 23bd7edac3dfc..822e432c7fc4f 100644 --- a/tests/e2e/feegrant/suite.go +++ b/tests/e2e/feegrant/suite.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" diff --git a/tests/e2e/group/tx.go b/tests/e2e/group/tx.go index b123fde6e31d0..9c9f111fd44b3 100644 --- a/tests/e2e/group/tx.go +++ b/tests/e2e/group/tx.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/google/uuid" "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" diff --git a/tests/e2e/mint/grpc.go b/tests/e2e/mint/grpc.go index 3e34fa44a7df1..0ff9d3610325e 100644 --- a/tests/e2e/mint/grpc.go +++ b/tests/e2e/mint/grpc.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" ) diff --git a/tests/e2e/slashing/client/testutil/grpc.go b/tests/e2e/slashing/client/testutil/grpc.go index fe70df8182a0d..828702c4423a7 100644 --- a/tests/e2e/slashing/client/testutil/grpc.go +++ b/tests/e2e/slashing/client/testutil/grpc.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/testutil" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/tests/e2e/slashing/client/testutil/suite.go b/tests/e2e/slashing/client/testutil/suite.go index 2623eb03dba82..49854498bc703 100644 --- a/tests/e2e/slashing/client/testutil/suite.go +++ b/tests/e2e/slashing/client/testutil/suite.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" diff --git a/tests/e2e/staking/client/testutil/grpc.go b/tests/e2e/staking/client/testutil/grpc.go index e1e9d00c0cdbf..47378d51e7e11 100644 --- a/tests/e2e/staking/client/testutil/grpc.go +++ b/tests/e2e/staking/client/testutil/grpc.go @@ -4,7 +4,7 @@ import ( "fmt" "cosmossdk.io/math" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/crypto/hd" "github.com/cosmos/cosmos-sdk/crypto/keyring" diff --git a/tests/e2e/staking/client/testutil/suite.go b/tests/e2e/staking/client/testutil/suite.go index a897fdbaf8027..60947b24c8b30 100644 --- a/tests/e2e/staking/client/testutil/suite.go +++ b/tests/e2e/staking/client/testutil/suite.go @@ -7,7 +7,7 @@ import ( "testing" "cosmossdk.io/math" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/tendermint/tendermint/proto/tendermint/crypto" diff --git a/tests/go.mod b/tests/go.mod index e9c9bd7a53c5f..350a7b213164d 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -6,12 +6,12 @@ require ( cosmossdk.io/api v0.1.0-alpha9 cosmossdk.io/math v1.0.0-beta.3 cosmossdk.io/simapp v0.0.0-00010101000000-000000000000 - github.com/cosmos/cosmos-sdk v0.46.1 - github.com/gogo/protobuf v1.3.2 + github.com/cosmos/cosmos-sdk v0.0.0-00010101000000-000000000000 + github.com/cosmos/gogoproto v1.4.1 github.com/google/uuid v1.3.0 github.com/spf13/cobra v1.5.0 github.com/stretchr/testify v1.8.0 - github.com/tendermint/tendermint v0.37.0-alpha.1 + github.com/tendermint/tendermint v0.37.0-alpha.2 github.com/tendermint/tm-db v0.6.7 ) @@ -62,6 +62,8 @@ require ( github.com/go-logfmt/logfmt v0.5.1 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gogo/gateway v1.1.0 // indirect + github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869 // indirect + github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/glog v1.0.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect @@ -114,7 +116,6 @@ require ( github.com/prometheus/procfs v0.8.0 // indirect github.com/rakyll/statik v0.1.7 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect - github.com/regen-network/cosmos-proto v0.3.1 // indirect github.com/rs/cors v1.8.2 // indirect github.com/rs/zerolog v1.28.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect @@ -153,9 +154,13 @@ require ( ) replace ( + // We always want to test against the latest version of the simapp. cosmossdk.io/simapp => ../simapp github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 + // We always want to test against the latest version of the SDK. github.com/cosmos/cosmos-sdk => ../. + // Fix upstream GHSA-h395-qcrw-5vmq vulnerability. + // TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409 github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.8.1 - github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 + github.com/gogo/gateway => github.com/notional-labs/gateway v1.1.1-0.20220417180718-8e60e17a098d ) diff --git a/tests/go.sum b/tests/go.sum index 6af1b36103c5d..75db6ccb81147 100644 --- a/tests/go.sum +++ b/tests/go.sum @@ -186,6 +186,9 @@ github.com/cosmos/cosmos-proto v1.0.0-alpha7/go.mod h1:dosO4pSAbJF8zWCzCoTWP7nNs github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= +github.com/cosmos/gogoproto v1.4.0/go.mod h1:PmDilxjma3Cp50k5beXFV3ATB4O3/Sys4WI6Fo9kMAo= +github.com/cosmos/gogoproto v1.4.1 h1:WoyH+0/jbCTzpKNvyav5FL1ZTWsp1im1MxEpJEzKUB8= +github.com/cosmos/gogoproto v1.4.1/go.mod h1:Ac9lzL4vFpBMcptJROQ6dQ4M3pOEK5Z/l0Q9p+LoCr4= github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y= github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= github.com/cosmos/iavl v0.19.1 h1:3gaq9b6SjiB0KBTygRnAvEGml2pQlu1TH8uma5g63Ys= @@ -302,9 +305,15 @@ github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+ github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= -github.com/gogo/gateway v1.1.0 h1:u0SuhL9+Il+UbjM9VIE3ntfRujKbvVpFvNB4HbjeVQ0= -github.com/gogo/gateway v1.1.0/go.mod h1:S7rR8FRQyG3QFESeSv4l2WnsyzlCLG0CzBbUUo/mbic= github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869 h1:kRpU4zq+Pzh4feET49aEWPOzwQy3U2SsbZEQ7QEcif0= +github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0 h1:nfP3RFugxnNRyKgeWd4oI1nYvXpxrx8ck8ZrcizshdQ= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= @@ -423,7 +432,6 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaD github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= @@ -509,6 +517,8 @@ github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/X github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= @@ -595,6 +605,8 @@ github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxzi github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/notional-labs/gateway v1.1.1-0.20220417180718-8e60e17a098d h1:ojbVlSwN0ZgOpE8jOnFQ6iNm247PwFTykE5qe9xITqw= +github.com/notional-labs/gateway v1.1.1-0.20220417180718-8e60e17a098d/go.mod h1:8W5G7hGZRVlsdVjoP4lh/nKiL23VhQFJZrImu0uoBDY= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= @@ -690,11 +702,7 @@ github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Ung github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/regen-network/cosmos-proto v0.3.1 h1:rV7iM4SSFAagvy8RiyhiACbWEGotmqzywPxOvwMdxcg= -github.com/regen-network/cosmos-proto v0.3.1/go.mod h1:jO0sVX6a1B36nmE8C9xBFXpNwWejXC7QqCOnH3O0+YM= github.com/regen-network/gocuke v0.6.2 h1:pHviZ0kKAq2U2hN2q3smKNxct6hS0mGByFMHGnWA97M= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1 h1:OHEc+q5iIAXpqiqFKeLpu5NwTIkVXUs48vFMwzqpqY4= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1/go.mod h1:2DjTFR1HhMQhiWC5sZ4OhQ3+NtdbZ6oBDKQwq5Ou+FI= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= @@ -774,8 +782,8 @@ github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RM github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tendermint/tendermint v0.37.0-alpha.1 h1:sE/jlVRBX00nsyH/Kroya17BR0RkBvWCZDzz1qzW7gU= -github.com/tendermint/tendermint v0.37.0-alpha.1/go.mod h1:f8Nk7ZdkIYqle2nzjkOib4XNlwXcSCoHvcG969xRuOs= +github.com/tendermint/tendermint v0.37.0-alpha.2 h1:G82quAWZUDYMTc9G7b/tntFATfm7nm6PrsvjsuMZDPI= +github.com/tendermint/tendermint v0.37.0-alpha.2/go.mod h1:DSnBfCufF48DhIpmU2inmVo8YiEGus6uInwf46Iu01k= github.com/tendermint/tm-db v0.6.7 h1:fE00Cbl0jayAoqlExN6oyQJ7fR/ZtoVOmvPJ//+shu8= github.com/tendermint/tm-db v0.6.7/go.mod h1:byQDzFkZV1syXr/ReXS808NxA2xvyuuVgXOJ/088L6I= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= @@ -796,6 +804,7 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/zondax/hid v0.9.0/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= github.com/zondax/hid v0.9.1-0.20220302062450-5552068d2266 h1:O9XLFXGkVswDFmH9LaYpqu+r/AAFWqr0DL6V00KEVFg= github.com/zondax/hid v0.9.1-0.20220302062450-5552068d2266/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= @@ -837,6 +846,7 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa h1:zuSxTR4o9y82ebqCUJYNGJbGPo6sKVl54f/TVDObg1c= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= @@ -878,6 +888,7 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -928,6 +939,7 @@ golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= @@ -1045,6 +1057,7 @@ golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1052,6 +1065,7 @@ golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1077,8 +1091,10 @@ golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= @@ -1136,6 +1152,7 @@ golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1214,7 +1231,6 @@ google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200324203455-a04cca1dde73/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -1265,6 +1281,7 @@ google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= @@ -1277,7 +1294,6 @@ google.golang.org/genproto v0.0.0-20220725144611-272f38e5d71b h1:SfSkJugek6xm7lW google.golang.org/genproto v0.0.0-20220725144611-272f38e5d71b/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= diff --git a/testutil/mock/grpc_server.go b/testutil/mock/grpc_server.go index bf34d4414b547..7959051080d48 100644 --- a/testutil/mock/grpc_server.go +++ b/testutil/mock/grpc_server.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/gogo/protobuf/grpc (interfaces: Server) +// Source: github.com/cosmos/gogoproto/grpc (interfaces: Server) // Package mock is a generated GoMock package. package mock diff --git a/testutil/testdata/animal.go b/testutil/testdata/animal.go index b2b45d2f38538..3ce5a00d18f69 100644 --- a/testutil/testdata/animal.go +++ b/testutil/testdata/animal.go @@ -6,7 +6,7 @@ package testdata import ( "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" ) diff --git a/testutil/testdata/buf.lock b/testutil/testdata/buf.lock index c6f890bd4b3e0..259bd9ce82b15 100644 --- a/testutil/testdata/buf.lock +++ b/testutil/testdata/buf.lock @@ -4,14 +4,8 @@ deps: - remote: buf.build owner: cosmos repository: cosmos-proto - branch: main - commit: 9e9a53f8db0d493f8b8c66d458c767c1 - digest: b1-6w7Hozd_Oo_yZ1Sku8Nhz9qou-4licLr6VmEyeI9jO4= - create_time: 2021-12-02T20:41:47.795828Z + commit: 1935555c206d4afb9e94615dfd0fad31 - remote: buf.build owner: cosmos repository: gogo-proto - branch: main - commit: bee5511075b7499da6178d9e4aaa628b - digest: b1-rrBIustouD-S80cVoZ_rM0qJsmei9AgbXy9GPQu6vxg= - create_time: 2021-12-02T20:01:17.069307Z + commit: 6652e3443c3b4504bb3bf82e73a7e409 diff --git a/testutil/testdata/grpc_query.go b/testutil/testdata/grpc_query.go index 6e2b64152995a..d4f34319d3c50 100644 --- a/testutil/testdata/grpc_query.go +++ b/testutil/testdata/grpc_query.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" ) diff --git a/testutil/testdata/query.pb.go b/testutil/testdata/query.pb.go index e7d38dc7ceb87..2127724e24fae 100644 --- a/testutil/testdata/query.pb.go +++ b/testutil/testdata/query.pb.go @@ -7,8 +7,8 @@ import ( context "context" fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/testutil/testdata/testdata.pb.go b/testutil/testdata/testdata.pb.go index f95760c69bfa8..b84568c40d9b4 100644 --- a/testutil/testdata/testdata.pb.go +++ b/testutil/testdata/testdata.pb.go @@ -6,8 +6,8 @@ package testdata import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/testutil/testdata/testdata.proto b/testutil/testdata/testdata.proto index 61479710fb506..22503ef61d718 100644 --- a/testutil/testdata/testdata.proto +++ b/testutil/testdata/testdata.proto @@ -18,7 +18,7 @@ message Cat { message Bird { string species = 1; - int32 color = 2; + int32 color = 2; } message HasAnimal { diff --git a/testutil/testdata/tx.pb.go b/testutil/testdata/tx.pb.go index 694a045fffaeb..d291b1ee15638 100644 --- a/testutil/testdata/tx.pb.go +++ b/testutil/testdata/tx.pb.go @@ -6,9 +6,9 @@ package testdata import ( context "context" fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/testutil/testdata/unknonwnproto.pb.go b/testutil/testdata/unknonwnproto.pb.go index 0e2da76d89cf5..7e9f2b13039a3 100644 --- a/testutil/testdata/unknonwnproto.pb.go +++ b/testutil/testdata/unknonwnproto.pb.go @@ -8,8 +8,8 @@ import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" tx "github.com/cosmos/cosmos-sdk/types/tx" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/testutil/testdata_pulsar/testdata.pulsar.go b/testutil/testdata_pulsar/testdata.pulsar.go index 545fab8277aa9..616f68032c4c8 100644 --- a/testutil/testdata_pulsar/testdata.pulsar.go +++ b/testutil/testdata_pulsar/testdata.pulsar.go @@ -4,7 +4,7 @@ package testdata_pulsar import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/testutil/testdata_pulsar/tx.pulsar.go b/testutil/testdata_pulsar/tx.pulsar.go index 8651945e2f03e..1f171f9bd919e 100644 --- a/testutil/testdata_pulsar/tx.pulsar.go +++ b/testutil/testdata_pulsar/tx.pulsar.go @@ -4,7 +4,7 @@ package testdata_pulsar import ( fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/testutil/testdata_pulsar/unknonwnproto.pulsar.go b/testutil/testdata_pulsar/unknonwnproto.pulsar.go index 63c4c4e11b658..9ef41ed607bc8 100644 --- a/testutil/testdata_pulsar/unknonwnproto.pulsar.go +++ b/testutil/testdata_pulsar/unknonwnproto.pulsar.go @@ -6,7 +6,7 @@ import ( binary "encoding/binary" fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" - _ "github.com/gogo/protobuf/gogoproto" + _ "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" diff --git a/third_party/proto/buf.lock b/third_party/proto/buf.lock deleted file mode 100644 index dff37ae0aefdf..0000000000000 --- a/third_party/proto/buf.lock +++ /dev/null @@ -1,10 +0,0 @@ -# Generated by buf. DO NOT EDIT. -version: v1 -deps: - - remote: buf.build - owner: cosmos - repository: gogo-proto - branch: main - commit: bee5511075b7499da6178d9e4aaa628b - digest: b1-rrBIustouD-S80cVoZ_rM0qJsmei9AgbXy9GPQu6vxg= - create_time: 2021-12-02T20:01:17.069307Z diff --git a/third_party/proto/buf.yaml b/third_party/proto/buf.yaml deleted file mode 100644 index 2aad5fd692856..0000000000000 --- a/third_party/proto/buf.yaml +++ /dev/null @@ -1,37 +0,0 @@ -# Generated by "buf config migrate-v1beta1". Edit as necessary, and -# remove this comment when you're finished. -# -# This module represents the "third_party/proto" root found in -# the previous configuration. -version: v1 -deps: - - buf.build/cosmos/gogo-proto -build: - excludes: - - google/protobuf -breaking: - use: - - FILE - ignore: - - confio - - cosmos_proto - - gogoproto - - google - - tendermint -lint: - use: - - DEFAULT - - COMMENTS - - FILE_LOWER_SNAKE_CASE - except: - - UNARY_RPC - - COMMENT_FIELD - - SERVICE_SUFFIX - - PACKAGE_VERSION_SUFFIX - - RPC_REQUEST_STANDARD_NAME - ignore: - - confio - - cosmos_proto - - gogoproto - - google - - tendermint diff --git a/tx/textual/internal/testpb/1.proto b/tx/textual/internal/testpb/1.proto index 930b730c7c7d9..bc6030e45d85c 100644 --- a/tx/textual/internal/testpb/1.proto +++ b/tx/textual/internal/testpb/1.proto @@ -14,16 +14,16 @@ enum Enumeration { // A contains fields that are parseable by SIGN_MODE_TEXTUAL. message A { - uint32 UINT32 = 1; - uint64 UINT64 = 2; - int32 INT32 = 3; - int64 INT64 = 4; - string SDKINT = 5 [(cosmos_proto.scalar) = "cosmos.Int"]; - string SDKDEC = 6 [(cosmos_proto.scalar) = "cosmos.Dec"]; - cosmos.base.v1beta1.Coin COIN = 7; - repeated cosmos.base.v1beta1.Coin COINS = 8; - bytes BYTES = 9; - google.protobuf.Timestamp TIMESTAMP = 10; + uint32 UINT32 = 1; + uint64 UINT64 = 2; + int32 INT32 = 3; + int64 INT64 = 4; + string SDKINT = 5 [(cosmos_proto.scalar) = "cosmos.Int"]; + string SDKDEC = 6 [(cosmos_proto.scalar) = "cosmos.Dec"]; + cosmos.base.v1beta1.Coin COIN = 7; + repeated cosmos.base.v1beta1.Coin COINS = 8; + bytes BYTES = 9; + google.protobuf.Timestamp TIMESTAMP = 10; } // B contains fields that are not parseable by SIGN_MODE_TEXTUAL, some fields diff --git a/tx/textual/internal/testpb/buf.lock b/tx/textual/internal/testpb/buf.lock index f5ea8b24862bd..259bd9ce82b15 100644 --- a/tx/textual/internal/testpb/buf.lock +++ b/tx/textual/internal/testpb/buf.lock @@ -8,4 +8,4 @@ deps: - remote: buf.build owner: cosmos repository: gogo-proto - commit: bee5511075b7499da6178d9e4aaa628b + commit: 6652e3443c3b4504bb3bf82e73a7e409 diff --git a/types/abci.pb.go b/types/abci.pb.go index 80d0bf6fb486e..6499130fb4d62 100644 --- a/types/abci.pb.go +++ b/types/abci.pb.go @@ -6,8 +6,8 @@ package types import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" types1 "github.com/tendermint/tendermint/abci/types" io "io" math "math" diff --git a/types/coin.pb.go b/types/coin.pb.go index 4df295645b857..066fee88cef36 100644 --- a/types/coin.pb.go +++ b/types/coin.pb.go @@ -6,8 +6,8 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/types/context.go b/types/context.go index 56765bb7329ac..ce7895f5a85c2 100644 --- a/types/context.go +++ b/types/context.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" abci "github.com/tendermint/tendermint/abci/types" tmbytes "github.com/tendermint/tendermint/libs/bytes" "github.com/tendermint/tendermint/libs/log" diff --git a/types/events.go b/types/events.go index 9fee6b3b4c70a..37f8f99608ae7 100644 --- a/types/events.go +++ b/types/events.go @@ -10,8 +10,8 @@ import ( "golang.org/x/exp/maps" "golang.org/x/exp/slices" - "github.com/gogo/protobuf/jsonpb" - proto "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/jsonpb" + proto "github.com/cosmos/gogoproto/proto" abci "github.com/tendermint/tendermint/abci/types" "github.com/cosmos/cosmos-sdk/codec" diff --git a/types/kv/kv.pb.go b/types/kv/kv.pb.go index eedb948bf5aed..f03111ef6f9f1 100644 --- a/types/kv/kv.pb.go +++ b/types/kv/kv.pb.go @@ -5,8 +5,8 @@ package kv import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/types/module/configurator.go b/types/module/configurator.go index 811fb51996d58..97c2ad7ed3f0f 100644 --- a/types/module/configurator.go +++ b/types/module/configurator.go @@ -3,7 +3,7 @@ package module import ( "fmt" - "github.com/gogo/protobuf/grpc" + "github.com/cosmos/gogoproto/grpc" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/types/msgservice/msg.pb.go b/types/msgservice/msg.pb.go index 287951e772ada..5d62e8c67fb57 100644 --- a/types/msgservice/msg.pb.go +++ b/types/msgservice/msg.pb.go @@ -5,7 +5,7 @@ package msgservice import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" descriptorpb "google.golang.org/protobuf/types/descriptorpb" math "math" ) diff --git a/types/msgservice/msg_service.go b/types/msgservice/msg_service.go index 65a81c0ddf210..46de830f00142 100644 --- a/types/msgservice/msg_service.go +++ b/types/msgservice/msg_service.go @@ -7,7 +7,7 @@ import ( "io" "reflect" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "google.golang.org/grpc" proto2 "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protodesc" diff --git a/types/proto.go b/types/proto.go index 5f2df428d27de..a7bc8451b8467 100644 --- a/types/proto.go +++ b/types/proto.go @@ -3,7 +3,7 @@ package types // CustomProtobufType defines the interface custom gogo proto types must implement // in order to be used as a "customtype" extension. // -// ref: https://github.com/gogo/protobuf/blob/master/custom_types.md +// ref: https://github.com/cosmos/gogoproto/blob/master/custom_types.md type CustomProtobufType interface { Marshal() ([]byte, error) MarshalTo(data []byte) (n int, err error) diff --git a/types/query/pagination.pb.go b/types/query/pagination.pb.go index 45d700b9f3cee..cc37a2517295c 100644 --- a/types/query/pagination.pb.go +++ b/types/query/pagination.pb.go @@ -5,7 +5,7 @@ package query import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/types/query/query.pb.go b/types/query/query.pb.go index f98d5cc34e7e9..b253b7a769387 100644 --- a/types/query/query.pb.go +++ b/types/query/query.pb.go @@ -5,7 +5,7 @@ package query import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" descriptorpb "google.golang.org/protobuf/types/descriptorpb" math "math" ) diff --git a/types/result.go b/types/result.go index 9c9704e0cbc92..20045d23c6584 100644 --- a/types/result.go +++ b/types/result.go @@ -6,7 +6,7 @@ import ( "math" "strings" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" abci "github.com/tendermint/tendermint/abci/types" coretypes "github.com/tendermint/tendermint/rpc/core/types" diff --git a/types/tx/service.pb.go b/types/tx/service.pb.go index 909bac30aca84..139e8c66ffa7f 100644 --- a/types/tx/service.pb.go +++ b/types/tx/service.pb.go @@ -8,8 +8,8 @@ import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/types" query "github.com/cosmos/cosmos-sdk/types/query" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" types1 "github.com/tendermint/tendermint/proto/tendermint/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" diff --git a/types/tx/signing/signing.pb.go b/types/tx/signing/signing.pb.go index db7f692c7f583..e037c6a152363 100644 --- a/types/tx/signing/signing.pb.go +++ b/types/tx/signing/signing.pb.go @@ -7,7 +7,7 @@ import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" types1 "github.com/cosmos/cosmos-sdk/crypto/types" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/types/tx/tx.pb.go b/types/tx/tx.pb.go index 367fb0c5d82d2..8083c039df474 100644 --- a/types/tx/tx.pb.go +++ b/types/tx/tx.pb.go @@ -11,8 +11,8 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types2 "github.com/cosmos/cosmos-sdk/types" signing "github.com/cosmos/cosmos-sdk/types/tx/signing" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/types/tx_msg.go b/types/tx_msg.go index 42d01fdc55ee6..5c893e6ed5483 100644 --- a/types/tx_msg.go +++ b/types/tx_msg.go @@ -1,7 +1,7 @@ package types import ( - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" ) diff --git a/x/auth/client/tx.go b/x/auth/client/tx.go index 38203299de87b..f3f5e1b9f7232 100644 --- a/x/auth/client/tx.go +++ b/x/auth/client/tx.go @@ -8,7 +8,7 @@ import ( "os" "strings" - "github.com/gogo/protobuf/jsonpb" + "github.com/cosmos/gogoproto/jsonpb" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" diff --git a/x/auth/keeper/keeper.go b/x/auth/keeper/keeper.go index 510e39ebf4fff..e9e48c6afc22c 100644 --- a/x/auth/keeper/keeper.go +++ b/x/auth/keeper/keeper.go @@ -3,7 +3,7 @@ package keeper import ( "fmt" - gogotypes "github.com/gogo/protobuf/types" + gogotypes "github.com/cosmos/gogoproto/types" "github.com/tendermint/tendermint/libs/log" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/auth/keeper/migrations.go b/x/auth/keeper/migrations.go index 2b52771dd39ff..33eaf4c516996 100644 --- a/x/auth/keeper/migrations.go +++ b/x/auth/keeper/migrations.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/gogo/protobuf/grpc" + "github.com/cosmos/gogoproto/grpc" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/exported" diff --git a/x/auth/migrations/v043/store.go b/x/auth/migrations/v043/store.go index a097d0ef04003..e448c63162d23 100644 --- a/x/auth/migrations/v043/store.go +++ b/x/auth/migrations/v043/store.go @@ -21,8 +21,8 @@ import ( "errors" "fmt" - "github.com/gogo/protobuf/grpc" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/grpc" + "github.com/cosmos/gogoproto/proto" abci "github.com/tendermint/tendermint/abci/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/auth/simulation/decoder.go b/x/auth/simulation/decoder.go index df4a202744f1c..4f4f25f07e779 100644 --- a/x/auth/simulation/decoder.go +++ b/x/auth/simulation/decoder.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - gogotypes "github.com/gogo/protobuf/types" + gogotypes "github.com/cosmos/gogoproto/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/auth/simulation/decoder_test.go b/x/auth/simulation/decoder_test.go index 021360070e04a..1d71ce7ece9ac 100644 --- a/x/auth/simulation/decoder_test.go +++ b/x/auth/simulation/decoder_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - gogotypes "github.com/gogo/protobuf/types" + gogotypes "github.com/cosmos/gogoproto/types" "github.com/stretchr/testify/require" "cosmossdk.io/depinject" diff --git a/x/auth/tx/builder.go b/x/auth/tx/builder.go index 7cf3596f342bd..479829cae6853 100644 --- a/x/auth/tx/builder.go +++ b/x/auth/tx/builder.go @@ -1,7 +1,7 @@ package tx import ( - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/auth/tx/encoder.go b/x/auth/tx/encoder.go index e594ee24cfc83..e69b57ec8df51 100644 --- a/x/auth/tx/encoder.go +++ b/x/auth/tx/encoder.go @@ -3,7 +3,7 @@ package tx import ( "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/auth/tx/service.go b/x/auth/tx/service.go index 26acf87218b5a..c25837cadf26c 100644 --- a/x/auth/tx/service.go +++ b/x/auth/tx/service.go @@ -6,7 +6,7 @@ import ( "regexp" "strings" - gogogrpc "github.com/gogo/protobuf/grpc" + gogogrpc "github.com/cosmos/gogoproto/grpc" "github.com/golang/protobuf/proto" //nolint:staticcheck "github.com/grpc-ecosystem/grpc-gateway/runtime" "google.golang.org/grpc/codes" diff --git a/x/auth/types/account.go b/x/auth/types/account.go index 104fe0e4d3334..3b8dfee7a46aa 100644 --- a/x/auth/types/account.go +++ b/x/auth/types/account.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/tendermint/tendermint/crypto" "sigs.k8s.io/yaml" diff --git a/x/auth/types/auth.pb.go b/x/auth/types/auth.pb.go index 7391b2188ae48..999dad3270187 100644 --- a/x/auth/types/auth.pb.go +++ b/x/auth/types/auth.pb.go @@ -7,8 +7,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/auth/types/genesis.go b/x/auth/types/genesis.go index 380d85fc6b816..d9f3274d9ba56 100644 --- a/x/auth/types/genesis.go +++ b/x/auth/types/genesis.go @@ -5,7 +5,7 @@ import ( "fmt" "sort" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/auth/types/genesis.pb.go b/x/auth/types/genesis.pb.go index aadea95e72cfe..357d77c75a8e2 100644 --- a/x/auth/types/genesis.pb.go +++ b/x/auth/types/genesis.pb.go @@ -6,8 +6,8 @@ package types import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/auth/types/genesis_test.go b/x/auth/types/genesis_test.go index afa41b2759b56..5f20014828770 100644 --- a/x/auth/types/genesis_test.go +++ b/x/auth/types/genesis_test.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/depinject" "github.com/cosmos/cosmos-sdk/codec" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/require" codectypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/auth/types/query.pb.go b/x/auth/types/query.pb.go index b4dbe5cf30eed..6e735b791f407 100644 --- a/x/auth/types/query.pb.go +++ b/x/auth/types/query.pb.go @@ -9,9 +9,9 @@ import ( _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/auth/types/tx.pb.go b/x/auth/types/tx.pb.go index 9b60a3c289bf0..80c805489fbcf 100644 --- a/x/auth/types/tx.pb.go +++ b/x/auth/types/tx.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/auth/vesting/types/tx.pb.go b/x/auth/vesting/types/tx.pb.go index 96b06cdb922bf..c29dff3c84497 100644 --- a/x/auth/vesting/types/tx.pb.go +++ b/x/auth/vesting/types/tx.pb.go @@ -10,9 +10,9 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/auth/vesting/types/vesting.pb.go b/x/auth/vesting/types/vesting.pb.go index 1404b5891cc62..1a9d7da6a6c2d 100644 --- a/x/auth/vesting/types/vesting.pb.go +++ b/x/auth/vesting/types/vesting.pb.go @@ -8,8 +8,8 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types1 "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/x/auth/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/authz/authorization_grant.go b/x/authz/authorization_grant.go index 4344bd3b7b58c..87653e7da0d86 100644 --- a/x/authz/authorization_grant.go +++ b/x/authz/authorization_grant.go @@ -3,7 +3,7 @@ package authz import ( "time" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/authz/authorizations.go b/x/authz/authorizations.go index b0412ad4b34a2..2df63a7d3404f 100644 --- a/x/authz/authorizations.go +++ b/x/authz/authorizations.go @@ -1,7 +1,7 @@ package authz import ( - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/authz/authz.pb.go b/x/authz/authz.pb.go index 7ffbadd83512c..948c038efe8f5 100644 --- a/x/authz/authz.pb.go +++ b/x/authz/authz.pb.go @@ -7,9 +7,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" math "math" @@ -284,7 +284,7 @@ func (m *Grant) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if m.Expiration != nil { - n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.Expiration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expiration):]) + n1, err1 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(*m.Expiration, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.Expiration):]) if err1 != nil { return 0, err1 } @@ -329,7 +329,7 @@ func (m *GrantAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if m.Expiration != nil { - n3, err3 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.Expiration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expiration):]) + n3, err3 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(*m.Expiration, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.Expiration):]) if err3 != nil { return 0, err3 } @@ -434,7 +434,7 @@ func (m *Grant) Size() (n int) { n += 1 + l + sovAuthz(uint64(l)) } if m.Expiration != nil { - l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expiration) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.Expiration) n += 1 + l + sovAuthz(uint64(l)) } return n @@ -459,7 +459,7 @@ func (m *GrantAuthorization) Size() (n int) { n += 1 + l + sovAuthz(uint64(l)) } if m.Expiration != nil { - l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expiration) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.Expiration) n += 1 + l + sovAuthz(uint64(l)) } return n @@ -665,7 +665,7 @@ func (m *Grant) Unmarshal(dAtA []byte) error { if m.Expiration == nil { m.Expiration = new(time.Time) } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.Expiration, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(m.Expiration, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -851,7 +851,7 @@ func (m *GrantAuthorization) Unmarshal(dAtA []byte) error { if m.Expiration == nil { m.Expiration = new(time.Time) } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.Expiration, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(m.Expiration, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/authz/client/testutil/tx.go b/x/authz/client/testutil/tx.go index d125f6d5e7f26..96e0fb1878c61 100644 --- a/x/authz/client/testutil/tx.go +++ b/x/authz/client/testutil/tx.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" "github.com/cosmos/cosmos-sdk/client/flags" diff --git a/x/authz/event.pb.go b/x/authz/event.pb.go index 2d62ca07ffb65..454bd1611f15c 100644 --- a/x/authz/event.pb.go +++ b/x/authz/event.pb.go @@ -6,7 +6,7 @@ package authz import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/authz/genesis.pb.go b/x/authz/genesis.pb.go index 56f2157a92ee3..260d1a6ae53fc 100644 --- a/x/authz/genesis.pb.go +++ b/x/authz/genesis.pb.go @@ -5,8 +5,8 @@ package authz import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/authz/keeper/keeper.go b/x/authz/keeper/keeper.go index 7e1b6c790b7e7..b9a9ae6bc5024 100644 --- a/x/authz/keeper/keeper.go +++ b/x/authz/keeper/keeper.go @@ -5,7 +5,7 @@ import ( "strconv" "time" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" diff --git a/x/authz/msgs.go b/x/authz/msgs.go index f60e534720059..d3c2afe28d8da 100644 --- a/x/authz/msgs.go +++ b/x/authz/msgs.go @@ -5,7 +5,7 @@ import ( authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/authz/query.pb.go b/x/authz/query.pb.go index b901057e563f7..c022c6e1893a0 100644 --- a/x/authz/query.pb.go +++ b/x/authz/query.pb.go @@ -8,8 +8,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/authz/tx.pb.go b/x/authz/tx.pb.go index fd3ef5443fb0f..94ea312a2b281 100644 --- a/x/authz/tx.pb.go +++ b/x/authz/tx.pb.go @@ -9,9 +9,9 @@ import ( _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/bank/client/cli/query_test.go b/x/bank/client/cli/query_test.go index 797fbb5edf0ef..dfb6f0d784d9b 100644 --- a/x/bank/client/cli/query_test.go +++ b/x/bank/client/cli/query_test.go @@ -6,7 +6,7 @@ import ( "fmt" "io" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" abci "github.com/tendermint/tendermint/abci/types" "github.com/cosmos/cosmos-sdk/client" diff --git a/x/bank/types/authz.pb.go b/x/bank/types/authz.pb.go index 8a2f6ae3a8f3a..d793ad519295d 100644 --- a/x/bank/types/authz.pb.go +++ b/x/bank/types/authz.pb.go @@ -8,8 +8,8 @@ import ( _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/bank/types/bank.pb.go b/x/bank/types/bank.pb.go index dd2c5f8c1df00..4d7ac48d50b1d 100644 --- a/x/bank/types/bank.pb.go +++ b/x/bank/types/bank.pb.go @@ -9,8 +9,8 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/bank/types/genesis.pb.go b/x/bank/types/genesis.pb.go index 72e1d404e9294..bccb9e132b657 100644 --- a/x/bank/types/genesis.pb.go +++ b/x/bank/types/genesis.pb.go @@ -8,8 +8,8 @@ import ( _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/bank/types/query.pb.go b/x/bank/types/query.pb.go index c494405778060..1e57293ced417 100644 --- a/x/bank/types/query.pb.go +++ b/x/bank/types/query.pb.go @@ -10,9 +10,9 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/bank/types/tx.pb.go b/x/bank/types/tx.pb.go index a0baa198170d0..1862f8d50a5c7 100644 --- a/x/bank/types/tx.pb.go +++ b/x/bank/types/tx.pb.go @@ -10,9 +10,9 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/capability/types/capability.pb.go b/x/capability/types/capability.pb.go index 332666df70a4f..c5ff4808988c1 100644 --- a/x/capability/types/capability.pb.go +++ b/x/capability/types/capability.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/capability/types/genesis.pb.go b/x/capability/types/genesis.pb.go index 051e9f260e254..daaa801436786 100644 --- a/x/capability/types/genesis.pb.go +++ b/x/capability/types/genesis.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/consensus/types/query.pb.go b/x/consensus/types/query.pb.go index a7e9664f23020..cad159a682a2c 100644 --- a/x/consensus/types/query.pb.go +++ b/x/consensus/types/query.pb.go @@ -6,8 +6,8 @@ package types import ( context "context" fmt "fmt" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" types "github.com/tendermint/tendermint/proto/tendermint/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" diff --git a/x/consensus/types/tx.pb.go b/x/consensus/types/tx.pb.go index 7b010c7c58c4f..d8ef61194300c 100644 --- a/x/consensus/types/tx.pb.go +++ b/x/consensus/types/tx.pb.go @@ -8,8 +8,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" types "github.com/tendermint/tendermint/proto/tendermint/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/crisis/types/genesis.pb.go b/x/crisis/types/genesis.pb.go index 4356d61e0ef56..23fb14a86401e 100644 --- a/x/crisis/types/genesis.pb.go +++ b/x/crisis/types/genesis.pb.go @@ -6,8 +6,8 @@ package types import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/crisis/types/tx.pb.go b/x/crisis/types/tx.pb.go index a996aab1c0683..4f59b5a3c1954 100644 --- a/x/crisis/types/tx.pb.go +++ b/x/crisis/types/tx.pb.go @@ -9,9 +9,9 @@ import ( _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/distribution/client/testutil/grpc_query_suite.go b/x/distribution/client/testutil/grpc_query_suite.go index 5404d540e85a4..64a9732ae9685 100644 --- a/x/distribution/client/testutil/grpc_query_suite.go +++ b/x/distribution/client/testutil/grpc_query_suite.go @@ -3,7 +3,7 @@ package testutil import ( "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" sdktestutil "github.com/cosmos/cosmos-sdk/testutil" diff --git a/x/distribution/client/testutil/suite.go b/x/distribution/client/testutil/suite.go index 6967d4f345455..19d7d2433614b 100644 --- a/x/distribution/client/testutil/suite.go +++ b/x/distribution/client/testutil/suite.go @@ -7,7 +7,7 @@ import ( "time" "cosmossdk.io/math" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" diff --git a/x/distribution/keeper/store.go b/x/distribution/keeper/store.go index 3def35163f5c5..940d92c6e84ae 100644 --- a/x/distribution/keeper/store.go +++ b/x/distribution/keeper/store.go @@ -1,7 +1,7 @@ package keeper import ( - gogotypes "github.com/gogo/protobuf/types" + gogotypes "github.com/cosmos/gogoproto/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/distribution/types" diff --git a/x/distribution/types/distribution.pb.go b/x/distribution/types/distribution.pb.go index ccf7fcc931423..2aec8a6ba54e5 100644 --- a/x/distribution/types/distribution.pb.go +++ b/x/distribution/types/distribution.pb.go @@ -8,8 +8,8 @@ import ( _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/distribution/types/genesis.pb.go b/x/distribution/types/genesis.pb.go index 59014e032a674..49955de6d0f16 100644 --- a/x/distribution/types/genesis.pb.go +++ b/x/distribution/types/genesis.pb.go @@ -8,8 +8,8 @@ import ( _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/distribution/types/query.pb.go b/x/distribution/types/query.pb.go index 5e94d2665c842..b0e010abffde8 100644 --- a/x/distribution/types/query.pb.go +++ b/x/distribution/types/query.pb.go @@ -10,9 +10,9 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/distribution/types/tx.pb.go b/x/distribution/types/tx.pb.go index 726294a2192b1..c6240096e42d0 100644 --- a/x/distribution/types/tx.pb.go +++ b/x/distribution/types/tx.pb.go @@ -10,9 +10,9 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/evidence/exported/evidence.go b/x/evidence/exported/evidence.go index 8cf00fa6a93cd..6cad9a9d70931 100644 --- a/x/evidence/exported/evidence.go +++ b/x/evidence/exported/evidence.go @@ -1,7 +1,7 @@ package exported import ( - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" tmbytes "github.com/tendermint/tendermint/libs/bytes" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/evidence/genesis.go b/x/evidence/genesis.go index 2be3fee882763..abff812fc7c87 100644 --- a/x/evidence/genesis.go +++ b/x/evidence/genesis.go @@ -3,7 +3,7 @@ package evidence import ( "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/evidence/keeper/grpc_query.go b/x/evidence/keeper/grpc_query.go index 06764fc97a644..480273707ce1e 100644 --- a/x/evidence/keeper/grpc_query.go +++ b/x/evidence/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" "github.com/cosmos/cosmos-sdk/types/query" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/evidence/types/evidence.pb.go b/x/evidence/types/evidence.pb.go index 52189e7584057..e97b5b1dae296 100644 --- a/x/evidence/types/evidence.pb.go +++ b/x/evidence/types/evidence.pb.go @@ -6,9 +6,9 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" math "math" @@ -134,7 +134,7 @@ func (m *Equivocation) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x18 } - n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):]) + n1, err1 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time):]) if err1 != nil { return 0, err1 } @@ -170,7 +170,7 @@ func (m *Equivocation) Size() (n int) { if m.Height != 0 { n += 1 + sovEvidence(uint64(m.Height)) } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time) n += 1 + l + sovEvidence(uint64(l)) if m.Power != 0 { n += 1 + sovEvidence(uint64(m.Power)) @@ -265,7 +265,7 @@ func (m *Equivocation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/evidence/types/genesis.go b/x/evidence/types/genesis.go index c7a8b1041e676..76496507345eb 100644 --- a/x/evidence/types/genesis.go +++ b/x/evidence/types/genesis.go @@ -3,7 +3,7 @@ package types import ( "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/x/evidence/exported" diff --git a/x/evidence/types/genesis.pb.go b/x/evidence/types/genesis.pb.go index 672a0ce8cf2e4..fdf89c8118dde 100644 --- a/x/evidence/types/genesis.pb.go +++ b/x/evidence/types/genesis.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/evidence/types/msgs.go b/x/evidence/types/msgs.go index 87c1d261a44fe..cf488a3e7fb78 100644 --- a/x/evidence/types/msgs.go +++ b/x/evidence/types/msgs.go @@ -3,7 +3,7 @@ package types import ( "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/evidence/types/query.pb.go b/x/evidence/types/query.pb.go index e084ea29c8998..aababa92cbd8b 100644 --- a/x/evidence/types/query.pb.go +++ b/x/evidence/types/query.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" github_com_tendermint_tendermint_libs_bytes "github.com/tendermint/tendermint/libs/bytes" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" diff --git a/x/evidence/types/tx.pb.go b/x/evidence/types/tx.pb.go index edae6d9b1c89d..a0942e2abc8a7 100644 --- a/x/evidence/types/tx.pb.go +++ b/x/evidence/types/tx.pb.go @@ -10,9 +10,9 @@ import ( _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/feegrant/client/cli/tx_test.go b/x/feegrant/client/cli/tx_test.go index de7e6a78f3e8f..4f33f97090588 100644 --- a/x/feegrant/client/cli/tx_test.go +++ b/x/feegrant/client/cli/tx_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" abci "github.com/tendermint/tendermint/abci/types" tmlibs "github.com/tendermint/tendermint/libs/bytes" diff --git a/x/feegrant/client/testutil/suite.go b/x/feegrant/client/testutil/suite.go index dd4e3c7c61e2f..be53704ffd757 100644 --- a/x/feegrant/client/testutil/suite.go +++ b/x/feegrant/client/testutil/suite.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" diff --git a/x/feegrant/feegrant.pb.go b/x/feegrant/feegrant.pb.go index 42d6b0f039828..9fac5b8db4399 100644 --- a/x/feegrant/feegrant.pb.go +++ b/x/feegrant/feegrant.pb.go @@ -9,9 +9,9 @@ import ( types1 "github.com/cosmos/cosmos-sdk/codec/types" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" _ "google.golang.org/protobuf/types/known/durationpb" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" @@ -355,7 +355,7 @@ func (m *BasicAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if m.Expiration != nil { - n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.Expiration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expiration):]) + n1, err1 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(*m.Expiration, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.Expiration):]) if err1 != nil { return 0, err1 } @@ -401,7 +401,7 @@ func (m *PeriodicAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n2, err2 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.PeriodReset, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.PeriodReset):]) + n2, err2 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.PeriodReset, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.PeriodReset):]) if err2 != nil { return 0, err2 } @@ -437,7 +437,7 @@ func (m *PeriodicAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x1a } } - n3, err3 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Period, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.Period):]) + n3, err3 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(m.Period, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.Period):]) if err3 != nil { return 0, err3 } @@ -575,7 +575,7 @@ func (m *BasicAllowance) Size() (n int) { } } if m.Expiration != nil { - l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expiration) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.Expiration) n += 1 + l + sovFeegrant(uint64(l)) } return n @@ -589,7 +589,7 @@ func (m *PeriodicAllowance) Size() (n int) { _ = l l = m.Basic.Size() n += 1 + l + sovFeegrant(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Period) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.Period) n += 1 + l + sovFeegrant(uint64(l)) if len(m.PeriodSpendLimit) > 0 { for _, e := range m.PeriodSpendLimit { @@ -603,7 +603,7 @@ func (m *PeriodicAllowance) Size() (n int) { n += 1 + l + sovFeegrant(uint64(l)) } } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.PeriodReset) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.PeriodReset) n += 1 + l + sovFeegrant(uint64(l)) return n } @@ -749,7 +749,7 @@ func (m *BasicAllowance) Unmarshal(dAtA []byte) error { if m.Expiration == nil { m.Expiration = new(time.Time) } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.Expiration, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(m.Expiration, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -865,7 +865,7 @@ func (m *PeriodicAllowance) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Period, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(&m.Period, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -966,7 +966,7 @@ func (m *PeriodicAllowance) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.PeriodReset, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.PeriodReset, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/feegrant/filtered_fee.go b/x/feegrant/filtered_fee.go index 74255757fcfbd..28679ed5a4236 100644 --- a/x/feegrant/filtered_fee.go +++ b/x/feegrant/filtered_fee.go @@ -3,7 +3,7 @@ package feegrant import ( "time" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/feegrant/genesis.pb.go b/x/feegrant/genesis.pb.go index 36593a2c8ec4d..6c9bfea8b0100 100644 --- a/x/feegrant/genesis.pb.go +++ b/x/feegrant/genesis.pb.go @@ -5,8 +5,8 @@ package feegrant import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/feegrant/grant.go b/x/feegrant/grant.go index f169720cc6066..caa4cea7f97df 100644 --- a/x/feegrant/grant.go +++ b/x/feegrant/grant.go @@ -1,7 +1,7 @@ package feegrant import ( - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/feegrant/keeper/grpc_query.go b/x/feegrant/keeper/grpc_query.go index 50089a9c08ba1..c00b55820c71c 100644 --- a/x/feegrant/keeper/grpc_query.go +++ b/x/feegrant/keeper/grpc_query.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/feegrant/msgs.go b/x/feegrant/msgs.go index 864fd7c5e31fe..4b4d1b3b3a37f 100644 --- a/x/feegrant/msgs.go +++ b/x/feegrant/msgs.go @@ -1,7 +1,7 @@ package feegrant import ( - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/feegrant/query.pb.go b/x/feegrant/query.pb.go index aed09b2f29024..e6bf83de5bbcd 100644 --- a/x/feegrant/query.pb.go +++ b/x/feegrant/query.pb.go @@ -8,8 +8,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/feegrant/tx.pb.go b/x/feegrant/tx.pb.go index be7c9cfd43ef5..a6bfe0b33c4ba 100644 --- a/x/feegrant/tx.pb.go +++ b/x/feegrant/tx.pb.go @@ -9,8 +9,8 @@ import ( _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/genutil/collect_test.go b/x/genutil/collect_test.go index e8bad2eb9ab6e..02578cc994ba8 100644 --- a/x/genutil/collect_test.go +++ b/x/genutil/collect_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" tmtypes "github.com/tendermint/tendermint/types" diff --git a/x/genutil/types/genesis.pb.go b/x/genutil/types/genesis.pb.go index e1cd6af761454..cf65bd913b8ef 100644 --- a/x/genutil/types/genesis.pb.go +++ b/x/genutil/types/genesis.pb.go @@ -6,8 +6,8 @@ package types import ( encoding_json "encoding/json" fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/gov/client/testutil/grpc.go b/x/gov/client/testutil/grpc.go index aef5abd022119..66e93ed2098cc 100644 --- a/x/gov/client/testutil/grpc.go +++ b/x/gov/client/testutil/grpc.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" ) func (s *IntegrationTestSuite) TestGetProposalGRPC() { diff --git a/x/gov/client/testutil/tx.go b/x/gov/client/testutil/tx.go index 66959895ce402..ec741d458a4cc 100644 --- a/x/gov/client/testutil/tx.go +++ b/x/gov/client/testutil/tx.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" "github.com/cosmos/cosmos-sdk/client/flags" diff --git a/x/gov/genesis.go b/x/gov/genesis.go index b81852b98d1da..89c8d683c281a 100644 --- a/x/gov/genesis.go +++ b/x/gov/genesis.go @@ -53,16 +53,14 @@ func InitGenesis(ctx sdk.Context, ak types.AccountKeeper, bk types.BankKeeper, k } // ExportGenesis - output genesis parameters -// -//nolint:staticcheck func ExportGenesis(ctx sdk.Context, k *keeper.Keeper) *v1.GenesisState { startingProposalID, _ := k.GetProposalID(ctx) proposals := k.GetProposals(ctx) params := k.GetParams(ctx) - depositParams := v1.NewDepositParams(params.MinDeposit, params.MaxDepositPeriod) - votingParams := v1.NewVotingParams(params.VotingPeriod) - tallyParams := v1.NewTallyParams(params.Quorum, params.Threshold, params.VetoThreshold) + depositParams := v1.NewDepositParams(params.MinDeposit, params.MaxDepositPeriod) //nolint:staticcheck + votingParams := v1.NewVotingParams(params.VotingPeriod) //nolint:staticcheck + tallyParams := v1.NewTallyParams(params.Quorum, params.Threshold, params.VetoThreshold) //nolint:staticcheck var proposalsDeposits v1.Deposits var proposalsVotes v1.Votes diff --git a/x/gov/migrations/v3/json_test.go b/x/gov/migrations/v3/json_test.go index 7cc1ccd93dcbd..7adf946227c1b 100644 --- a/x/gov/migrations/v3/json_test.go +++ b/x/gov/migrations/v3/json_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/require" "github.com/cosmos/cosmos-sdk/client" diff --git a/x/gov/types/v1/content.go b/x/gov/types/v1/content.go index fbfe5de3cdec4..b240d12a5ea6e 100644 --- a/x/gov/types/v1/content.go +++ b/x/gov/types/v1/content.go @@ -3,7 +3,7 @@ package v1 import ( "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/gov/types/v1/genesis.pb.go b/x/gov/types/v1/genesis.pb.go index 5d0d3dea13e71..dac10386d51d4 100644 --- a/x/gov/types/v1/genesis.pb.go +++ b/x/gov/types/v1/genesis.pb.go @@ -5,7 +5,7 @@ package v1 import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/gov/types/v1/gov.pb.go b/x/gov/types/v1/gov.pb.go index 80c40968c05f3..532c381da8196 100644 --- a/x/gov/types/v1/gov.pb.go +++ b/x/gov/types/v1/gov.pb.go @@ -8,9 +8,9 @@ import ( _ "github.com/cosmos/cosmos-proto" types1 "github.com/cosmos/cosmos-sdk/codec/types" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" _ "google.golang.org/protobuf/types/known/durationpb" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" @@ -976,7 +976,7 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x52 } if m.VotingEndTime != nil { - n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.VotingEndTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.VotingEndTime):]) + n1, err1 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(*m.VotingEndTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.VotingEndTime):]) if err1 != nil { return 0, err1 } @@ -986,7 +986,7 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x4a } if m.VotingStartTime != nil { - n2, err2 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.VotingStartTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.VotingStartTime):]) + n2, err2 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(*m.VotingStartTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.VotingStartTime):]) if err2 != nil { return 0, err2 } @@ -1010,7 +1010,7 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { } } if m.DepositEndTime != nil { - n3, err3 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.DepositEndTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.DepositEndTime):]) + n3, err3 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(*m.DepositEndTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.DepositEndTime):]) if err3 != nil { return 0, err3 } @@ -1020,7 +1020,7 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x32 } if m.SubmitTime != nil { - n4, err4 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.SubmitTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.SubmitTime):]) + n4, err4 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(*m.SubmitTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.SubmitTime):]) if err4 != nil { return 0, err4 } @@ -1196,7 +1196,7 @@ func (m *DepositParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if m.MaxDepositPeriod != nil { - n6, err6 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.MaxDepositPeriod, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.MaxDepositPeriod):]) + n6, err6 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(*m.MaxDepositPeriod, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(*m.MaxDepositPeriod):]) if err6 != nil { return 0, err6 } @@ -1243,7 +1243,7 @@ func (m *VotingParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if m.VotingPeriod != nil { - n7, err7 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.VotingPeriod, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.VotingPeriod):]) + n7, err7 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(*m.VotingPeriod, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(*m.VotingPeriod):]) if err7 != nil { return 0, err7 } @@ -1348,7 +1348,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x22 } if m.VotingPeriod != nil { - n8, err8 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.VotingPeriod, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.VotingPeriod):]) + n8, err8 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(*m.VotingPeriod, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(*m.VotingPeriod):]) if err8 != nil { return 0, err8 } @@ -1358,7 +1358,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x1a } if m.MaxDepositPeriod != nil { - n9, err9 := github_com_gogo_protobuf_types.StdDurationMarshalTo(*m.MaxDepositPeriod, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(*m.MaxDepositPeriod):]) + n9, err9 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(*m.MaxDepositPeriod, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(*m.MaxDepositPeriod):]) if err9 != nil { return 0, err9 } @@ -1456,11 +1456,11 @@ func (m *Proposal) Size() (n int) { n += 1 + l + sovGov(uint64(l)) } if m.SubmitTime != nil { - l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.SubmitTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.SubmitTime) n += 1 + l + sovGov(uint64(l)) } if m.DepositEndTime != nil { - l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.DepositEndTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.DepositEndTime) n += 1 + l + sovGov(uint64(l)) } if len(m.TotalDeposit) > 0 { @@ -1470,11 +1470,11 @@ func (m *Proposal) Size() (n int) { } } if m.VotingStartTime != nil { - l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.VotingStartTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.VotingStartTime) n += 1 + l + sovGov(uint64(l)) } if m.VotingEndTime != nil { - l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.VotingEndTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(*m.VotingEndTime) n += 1 + l + sovGov(uint64(l)) } l = len(m.Metadata) @@ -1548,7 +1548,7 @@ func (m *DepositParams) Size() (n int) { } } if m.MaxDepositPeriod != nil { - l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.MaxDepositPeriod) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(*m.MaxDepositPeriod) n += 1 + l + sovGov(uint64(l)) } return n @@ -1561,7 +1561,7 @@ func (m *VotingParams) Size() (n int) { var l int _ = l if m.VotingPeriod != nil { - l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.VotingPeriod) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(*m.VotingPeriod) n += 1 + l + sovGov(uint64(l)) } return n @@ -1601,11 +1601,11 @@ func (m *Params) Size() (n int) { } } if m.MaxDepositPeriod != nil { - l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.MaxDepositPeriod) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(*m.MaxDepositPeriod) n += 1 + l + sovGov(uint64(l)) } if m.VotingPeriod != nil { - l = github_com_gogo_protobuf_types.SizeOfStdDuration(*m.VotingPeriod) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(*m.VotingPeriod) n += 1 + l + sovGov(uint64(l)) } l = len(m.Quorum) @@ -2038,7 +2038,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if m.SubmitTime == nil { m.SubmitTime = new(time.Time) } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.SubmitTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(m.SubmitTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2074,7 +2074,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if m.DepositEndTime == nil { m.DepositEndTime = new(time.Time) } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.DepositEndTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(m.DepositEndTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2144,7 +2144,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if m.VotingStartTime == nil { m.VotingStartTime = new(time.Time) } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.VotingStartTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(m.VotingStartTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2180,7 +2180,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if m.VotingEndTime == nil { m.VotingEndTime = new(time.Time) } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.VotingEndTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(m.VotingEndTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2677,7 +2677,7 @@ func (m *DepositParams) Unmarshal(dAtA []byte) error { if m.MaxDepositPeriod == nil { m.MaxDepositPeriod = new(time.Duration) } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.MaxDepositPeriod, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(m.MaxDepositPeriod, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2763,7 +2763,7 @@ func (m *VotingParams) Unmarshal(dAtA []byte) error { if m.VotingPeriod == nil { m.VotingPeriod = new(time.Duration) } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.VotingPeriod, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(m.VotingPeriod, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3029,7 +3029,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { if m.MaxDepositPeriod == nil { m.MaxDepositPeriod = new(time.Duration) } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.MaxDepositPeriod, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(m.MaxDepositPeriod, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3065,7 +3065,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { if m.VotingPeriod == nil { m.VotingPeriod = new(time.Duration) } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(m.VotingPeriod, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(m.VotingPeriod, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/gov/types/v1/query.pb.go b/x/gov/types/v1/query.pb.go index 948563680c760..0895a1cce4977 100644 --- a/x/gov/types/v1/query.pb.go +++ b/x/gov/types/v1/query.pb.go @@ -8,8 +8,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/gov/types/v1/tx.pb.go b/x/gov/types/v1/tx.pb.go index 42864efee94b6..b534c8b8650ea 100644 --- a/x/gov/types/v1/tx.pb.go +++ b/x/gov/types/v1/tx.pb.go @@ -10,9 +10,9 @@ import ( types "github.com/cosmos/cosmos-sdk/codec/types" types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/gov/types/v1beta1/genesis.pb.go b/x/gov/types/v1beta1/genesis.pb.go index 0efefab9c4cf9..804b3a8ce04b0 100644 --- a/x/gov/types/v1beta1/genesis.pb.go +++ b/x/gov/types/v1beta1/genesis.pb.go @@ -5,8 +5,8 @@ package v1beta1 import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/gov/types/v1beta1/gov.pb.go b/x/gov/types/v1beta1/gov.pb.go index 3fc60128b151b..e0e6b11c4d864 100644 --- a/x/gov/types/v1beta1/gov.pb.go +++ b/x/gov/types/v1beta1/gov.pb.go @@ -9,9 +9,9 @@ import ( types1 "github.com/cosmos/cosmos-sdk/codec/types" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" _ "google.golang.org/protobuf/types/known/durationpb" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" @@ -858,7 +858,7 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.VotingEndTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.VotingEndTime):]) + n1, err1 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.VotingEndTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.VotingEndTime):]) if err1 != nil { return 0, err1 } @@ -866,7 +866,7 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGov(dAtA, i, uint64(n1)) i-- dAtA[i] = 0x4a - n2, err2 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.VotingStartTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.VotingStartTime):]) + n2, err2 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.VotingStartTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.VotingStartTime):]) if err2 != nil { return 0, err2 } @@ -888,7 +888,7 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x3a } } - n3, err3 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.DepositEndTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.DepositEndTime):]) + n3, err3 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.DepositEndTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.DepositEndTime):]) if err3 != nil { return 0, err3 } @@ -896,7 +896,7 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGov(dAtA, i, uint64(n3)) i-- dAtA[i] = 0x32 - n4, err4 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.SubmitTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.SubmitTime):]) + n4, err4 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.SubmitTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.SubmitTime):]) if err4 != nil { return 0, err4 } @@ -1076,7 +1076,7 @@ func (m *DepositParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n7, err7 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.MaxDepositPeriod, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.MaxDepositPeriod):]) + n7, err7 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(m.MaxDepositPeriod, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.MaxDepositPeriod):]) if err7 != nil { return 0, err7 } @@ -1121,7 +1121,7 @@ func (m *VotingParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n8, err8 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.VotingPeriod, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.VotingPeriod):]) + n8, err8 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(m.VotingPeriod, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.VotingPeriod):]) if err8 != nil { return 0, err8 } @@ -1267,9 +1267,9 @@ func (m *Proposal) Size() (n int) { } l = m.FinalTallyResult.Size() n += 1 + l + sovGov(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.SubmitTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.SubmitTime) n += 1 + l + sovGov(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.DepositEndTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.DepositEndTime) n += 1 + l + sovGov(uint64(l)) if len(m.TotalDeposit) > 0 { for _, e := range m.TotalDeposit { @@ -1277,9 +1277,9 @@ func (m *Proposal) Size() (n int) { n += 1 + l + sovGov(uint64(l)) } } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.VotingStartTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.VotingStartTime) n += 1 + l + sovGov(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.VotingEndTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.VotingEndTime) n += 1 + l + sovGov(uint64(l)) return n } @@ -1338,7 +1338,7 @@ func (m *DepositParams) Size() (n int) { n += 1 + l + sovGov(uint64(l)) } } - l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.MaxDepositPeriod) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.MaxDepositPeriod) n += 1 + l + sovGov(uint64(l)) return n } @@ -1349,7 +1349,7 @@ func (m *VotingParams) Size() (n int) { } var l int _ = l - l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.VotingPeriod) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.VotingPeriod) n += 1 + l + sovGov(uint64(l)) return n } @@ -1892,7 +1892,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.SubmitTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.SubmitTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -1925,7 +1925,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.DepositEndTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.DepositEndTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -1992,7 +1992,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.VotingStartTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.VotingStartTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2025,7 +2025,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.VotingEndTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.VotingEndTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2482,7 +2482,7 @@ func (m *DepositParams) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.MaxDepositPeriod, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(&m.MaxDepositPeriod, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2565,7 +2565,7 @@ func (m *VotingParams) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.VotingPeriod, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(&m.VotingPeriod, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/gov/types/v1beta1/msgs.go b/x/gov/types/v1beta1/msgs.go index d2f8a5b664526..5102d73d1fc76 100644 --- a/x/gov/types/v1beta1/msgs.go +++ b/x/gov/types/v1beta1/msgs.go @@ -4,7 +4,7 @@ import ( "fmt" "cosmossdk.io/math" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "sigs.k8s.io/yaml" codectypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/gov/types/v1beta1/proposal.go b/x/gov/types/v1beta1/proposal.go index daecf3b5d1e46..bb4c2d3ee22af 100644 --- a/x/gov/types/v1beta1/proposal.go +++ b/x/gov/types/v1beta1/proposal.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "sigs.k8s.io/yaml" codectypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/gov/types/v1beta1/query.pb.go b/x/gov/types/v1beta1/query.pb.go index d50d02d22af8c..7fdfa6a9af46a 100644 --- a/x/gov/types/v1beta1/query.pb.go +++ b/x/gov/types/v1beta1/query.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/gov/types/v1beta1/tx.pb.go b/x/gov/types/v1beta1/tx.pb.go index c774859228957..7d0583a0c2d55 100644 --- a/x/gov/types/v1beta1/tx.pb.go +++ b/x/gov/types/v1beta1/tx.pb.go @@ -11,9 +11,9 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/group/client/cli/tx_test.go b/x/group/client/cli/tx_test.go index 55e3c39a669c3..fb8c65d579acf 100644 --- a/x/group/client/cli/tx_test.go +++ b/x/group/client/cli/tx_test.go @@ -10,7 +10,7 @@ import ( "strings" "testing" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/suite" abci "github.com/tendermint/tendermint/abci/types" tmbytes "github.com/tendermint/tendermint/libs/bytes" diff --git a/x/group/events.pb.go b/x/group/events.pb.go index 3cbcb2d491d6e..1e30b1f06c9d3 100644 --- a/x/group/events.pb.go +++ b/x/group/events.pb.go @@ -6,7 +6,7 @@ package group import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/group/genesis.pb.go b/x/group/genesis.pb.go index 042a6427838c7..274fa9a447c5d 100644 --- a/x/group/genesis.pb.go +++ b/x/group/genesis.pb.go @@ -5,7 +5,7 @@ package group import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/group/msgs.go b/x/group/msgs.go index 639bcda1de375..6e0c710a6d7e4 100644 --- a/x/group/msgs.go +++ b/x/group/msgs.go @@ -1,7 +1,7 @@ package group import ( - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/group/query.pb.go b/x/group/query.pb.go index 47cfd7fccd98b..cbb8e34f54388 100644 --- a/x/group/query.pb.go +++ b/x/group/query.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/group/tx.pb.go b/x/group/tx.pb.go index a2407e87dc449..c5a1e6ef3a6d7 100644 --- a/x/group/tx.pb.go +++ b/x/group/tx.pb.go @@ -9,9 +9,9 @@ import ( _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/group/types.pb.go b/x/group/types.pb.go index de8bded11bd91..7cbc0857009ed 100644 --- a/x/group/types.pb.go +++ b/x/group/types.pb.go @@ -7,9 +7,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" _ "google.golang.org/protobuf/types/known/durationpb" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" @@ -1053,7 +1053,7 @@ func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.AddedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.AddedAt):]) + n1, err1 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.AddedAt, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.AddedAt):]) if err1 != nil { return 0, err1 } @@ -1233,7 +1233,7 @@ func (m *DecisionPolicyWindows) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n4, err4 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.MinExecutionPeriod, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.MinExecutionPeriod):]) + n4, err4 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(m.MinExecutionPeriod, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.MinExecutionPeriod):]) if err4 != nil { return 0, err4 } @@ -1241,7 +1241,7 @@ func (m *DecisionPolicyWindows) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintTypes(dAtA, i, uint64(n4)) i-- dAtA[i] = 0x12 - n5, err5 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.VotingPeriod, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.VotingPeriod):]) + n5, err5 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(m.VotingPeriod, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.VotingPeriod):]) if err5 != nil { return 0, err5 } @@ -1272,7 +1272,7 @@ func (m *GroupInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n6, err6 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt):]) + n6, err6 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CreatedAt):]) if err6 != nil { return 0, err6 } @@ -1374,7 +1374,7 @@ func (m *GroupPolicyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n8, err8 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt):]) + n8, err8 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CreatedAt):]) if err8 != nil { return 0, err8 } @@ -1467,7 +1467,7 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x58 } - n10, err10 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.VotingPeriodEnd, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.VotingPeriodEnd):]) + n10, err10 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.VotingPeriodEnd, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.VotingPeriodEnd):]) if err10 != nil { return 0, err10 } @@ -1500,7 +1500,7 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x30 } - n12, err12 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.SubmitTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.SubmitTime):]) + n12, err12 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.SubmitTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.SubmitTime):]) if err12 != nil { return 0, err12 } @@ -1610,7 +1610,7 @@ func (m *Vote) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n13, err13 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.SubmitTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.SubmitTime):]) + n13, err13 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.SubmitTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.SubmitTime):]) if err13 != nil { return 0, err13 } @@ -1674,7 +1674,7 @@ func (m *Member) Size() (n int) { if l > 0 { n += 1 + l + sovTypes(uint64(l)) } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.AddedAt) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.AddedAt) n += 1 + l + sovTypes(uint64(l)) return n } @@ -1740,9 +1740,9 @@ func (m *DecisionPolicyWindows) Size() (n int) { } var l int _ = l - l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.VotingPeriod) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.VotingPeriod) n += 1 + l + sovTypes(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.MinExecutionPeriod) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.MinExecutionPeriod) n += 1 + l + sovTypes(uint64(l)) return n } @@ -1771,7 +1771,7 @@ func (m *GroupInfo) Size() (n int) { if l > 0 { n += 1 + l + sovTypes(uint64(l)) } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CreatedAt) n += 1 + l + sovTypes(uint64(l)) return n } @@ -1820,7 +1820,7 @@ func (m *GroupPolicyInfo) Size() (n int) { l = m.DecisionPolicy.Size() n += 1 + l + sovTypes(uint64(l)) } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CreatedAt) n += 1 + l + sovTypes(uint64(l)) return n } @@ -1848,7 +1848,7 @@ func (m *Proposal) Size() (n int) { n += 1 + l + sovTypes(uint64(l)) } } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.SubmitTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.SubmitTime) n += 1 + l + sovTypes(uint64(l)) if m.GroupVersion != 0 { n += 1 + sovTypes(uint64(m.GroupVersion)) @@ -1861,7 +1861,7 @@ func (m *Proposal) Size() (n int) { } l = m.FinalTallyResult.Size() n += 1 + l + sovTypes(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.VotingPeriodEnd) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.VotingPeriodEnd) n += 1 + l + sovTypes(uint64(l)) if m.ExecutorResult != 0 { n += 1 + sovTypes(uint64(m.ExecutorResult)) @@ -1920,7 +1920,7 @@ func (m *Vote) Size() (n int) { if l > 0 { n += 1 + l + sovTypes(uint64(l)) } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.SubmitTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.SubmitTime) n += 1 + l + sovTypes(uint64(l)) return n } @@ -2085,7 +2085,7 @@ func (m *Member) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.AddedAt, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.AddedAt, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2550,7 +2550,7 @@ func (m *DecisionPolicyWindows) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.VotingPeriod, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(&m.VotingPeriod, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2583,7 +2583,7 @@ func (m *DecisionPolicyWindows) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.MinExecutionPeriod, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(&m.MinExecutionPeriod, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2800,7 +2800,7 @@ func (m *GroupInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3158,7 +3158,7 @@ func (m *GroupPolicyInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3356,7 +3356,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.SubmitTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.SubmitTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3479,7 +3479,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.VotingPeriodEnd, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.VotingPeriodEnd, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3895,7 +3895,7 @@ func (m *Vote) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.SubmitTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.SubmitTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/mint/types/genesis.pb.go b/x/mint/types/genesis.pb.go index 107011974d840..04644f896ffeb 100644 --- a/x/mint/types/genesis.pb.go +++ b/x/mint/types/genesis.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/mint/types/mint.pb.go b/x/mint/types/mint.pb.go index f2529bdda77ac..811b27c52ff91 100644 --- a/x/mint/types/mint.pb.go +++ b/x/mint/types/mint.pb.go @@ -7,8 +7,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/mint/types/query.pb.go b/x/mint/types/query.pb.go index f707eb810d2df..c6982b3870b85 100644 --- a/x/mint/types/query.pb.go +++ b/x/mint/types/query.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/mint/types/tx.pb.go b/x/mint/types/tx.pb.go index f43d9e7b1e485..feaabc5d017f7 100644 --- a/x/mint/types/tx.pb.go +++ b/x/mint/types/tx.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/nft/event.pb.go b/x/nft/event.pb.go index d1666cf131eaa..d5540b6180eb5 100644 --- a/x/nft/event.pb.go +++ b/x/nft/event.pb.go @@ -5,7 +5,7 @@ package nft import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/nft/genesis.pb.go b/x/nft/genesis.pb.go index d9102acd9de25..6ad3f3fc5f463 100644 --- a/x/nft/genesis.pb.go +++ b/x/nft/genesis.pb.go @@ -5,7 +5,7 @@ package nft import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/nft/nft.pb.go b/x/nft/nft.pb.go index f5966225eeaff..cff197e97c7fa 100644 --- a/x/nft/nft.pb.go +++ b/x/nft/nft.pb.go @@ -6,7 +6,7 @@ package nft import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/nft/query.pb.go b/x/nft/query.pb.go index ce9c9e86c92c9..a5ab3e80d5af8 100644 --- a/x/nft/query.pb.go +++ b/x/nft/query.pb.go @@ -7,8 +7,8 @@ import ( context "context" fmt "fmt" query "github.com/cosmos/cosmos-sdk/types/query" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/nft/tx.pb.go b/x/nft/tx.pb.go index dd7f67a117bf3..f7926821f8070 100644 --- a/x/nft/tx.pb.go +++ b/x/nft/tx.pb.go @@ -7,8 +7,8 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/params/client/testutil/grpc.go b/x/params/client/testutil/grpc.go index 502b35fd1d356..d6cbf3bcc0b4c 100644 --- a/x/params/client/testutil/grpc.go +++ b/x/params/client/testutil/grpc.go @@ -3,7 +3,7 @@ package testutil import ( "fmt" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/cosmos/cosmos-sdk/testutil" "github.com/cosmos/cosmos-sdk/x/params/types/proposal" diff --git a/x/params/types/proposal/params.pb.go b/x/params/types/proposal/params.pb.go index 332b3bc27e117..374da3fbf2472 100644 --- a/x/params/types/proposal/params.pb.go +++ b/x/params/types/proposal/params.pb.go @@ -6,8 +6,8 @@ package proposal import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/params/types/proposal/query.pb.go b/x/params/types/proposal/query.pb.go index 25bacb04795e3..23bd2a396b48e 100644 --- a/x/params/types/proposal/query.pb.go +++ b/x/params/types/proposal/query.pb.go @@ -6,9 +6,9 @@ package proposal import ( context "context" fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/slashing/keeper/signing_info.go b/x/slashing/keeper/signing_info.go index d65b773ebc66e..3201526ea8530 100644 --- a/x/slashing/keeper/signing_info.go +++ b/x/slashing/keeper/signing_info.go @@ -3,7 +3,7 @@ package keeper import ( "time" - gogotypes "github.com/gogo/protobuf/types" + gogotypes "github.com/cosmos/gogoproto/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/slashing/types" diff --git a/x/slashing/simulation/decoder.go b/x/slashing/simulation/decoder.go index 6c845ace71742..d295a284ac182 100644 --- a/x/slashing/simulation/decoder.go +++ b/x/slashing/simulation/decoder.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - gogotypes "github.com/gogo/protobuf/types" + gogotypes "github.com/cosmos/gogoproto/types" "github.com/cosmos/cosmos-sdk/codec" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" diff --git a/x/slashing/simulation/decoder_test.go b/x/slashing/simulation/decoder_test.go index 52fe08083ae15..245e48b2d7a1e 100644 --- a/x/slashing/simulation/decoder_test.go +++ b/x/slashing/simulation/decoder_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - gogotypes "github.com/gogo/protobuf/types" + gogotypes "github.com/cosmos/gogoproto/types" "github.com/stretchr/testify/require" "cosmossdk.io/depinject" diff --git a/x/slashing/types/genesis.pb.go b/x/slashing/types/genesis.pb.go index 43ad7925d509d..e5ef2df14f291 100644 --- a/x/slashing/types/genesis.pb.go +++ b/x/slashing/types/genesis.pb.go @@ -6,8 +6,8 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/slashing/types/query.pb.go b/x/slashing/types/query.pb.go index 76b0dbf79bd39..9e029c4a9dd7c 100644 --- a/x/slashing/types/query.pb.go +++ b/x/slashing/types/query.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/slashing/types/slashing.pb.go b/x/slashing/types/slashing.pb.go index 3a0e9448e37e9..8805017fc96a2 100644 --- a/x/slashing/types/slashing.pb.go +++ b/x/slashing/types/slashing.pb.go @@ -7,9 +7,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" _ "google.golang.org/protobuf/types/known/durationpb" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" @@ -339,7 +339,7 @@ func (m *ValidatorSigningInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x28 } - n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.JailedUntil, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.JailedUntil):]) + n1, err1 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.JailedUntil, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.JailedUntil):]) if err1 != nil { return 0, err1 } @@ -407,7 +407,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x22 - n2, err2 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.DowntimeJailDuration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.DowntimeJailDuration):]) + n2, err2 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(m.DowntimeJailDuration, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.DowntimeJailDuration):]) if err2 != nil { return 0, err2 } @@ -460,7 +460,7 @@ func (m *ValidatorSigningInfo) Size() (n int) { if m.IndexOffset != 0 { n += 1 + sovSlashing(uint64(m.IndexOffset)) } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.JailedUntil) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.JailedUntil) n += 1 + l + sovSlashing(uint64(l)) if m.Tombstoned { n += 2 @@ -482,7 +482,7 @@ func (m *Params) Size() (n int) { } l = m.MinSignedPerWindow.Size() n += 1 + l + sovSlashing(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.DowntimeJailDuration) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.DowntimeJailDuration) n += 1 + l + sovSlashing(uint64(l)) l = m.SlashFractionDoubleSign.Size() n += 1 + l + sovSlashing(uint64(l)) @@ -625,7 +625,7 @@ func (m *ValidatorSigningInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.JailedUntil, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.JailedUntil, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -799,7 +799,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.DowntimeJailDuration, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(&m.DowntimeJailDuration, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/slashing/types/tx.pb.go b/x/slashing/types/tx.pb.go index 6450dc0e98d01..7504b62485600 100644 --- a/x/slashing/types/tx.pb.go +++ b/x/slashing/types/tx.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/staking/keeper/val_state_change.go b/x/staking/keeper/val_state_change.go index db63c03ebf567..ea8a24ebb4050 100644 --- a/x/staking/keeper/val_state_change.go +++ b/x/staking/keeper/val_state_change.go @@ -6,7 +6,7 @@ import ( "sort" "cosmossdk.io/math" - gogotypes "github.com/gogo/protobuf/types" + gogotypes "github.com/cosmos/gogoproto/types" abci "github.com/tendermint/tendermint/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/staking/keeper/validator.go b/x/staking/keeper/validator.go index 2a55ef43e5715..afd6fc1d72b4d 100644 --- a/x/staking/keeper/validator.go +++ b/x/staking/keeper/validator.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - gogotypes "github.com/gogo/protobuf/types" + gogotypes "github.com/cosmos/gogoproto/types" "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/staking/types/authz.pb.go b/x/staking/types/authz.pb.go index ac9c88271f259..571d959e3a05f 100644 --- a/x/staking/types/authz.pb.go +++ b/x/staking/types/authz.pb.go @@ -7,8 +7,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/staking/types/genesis.pb.go b/x/staking/types/genesis.pb.go index 7de0500b16400..b3d5e07804397 100644 --- a/x/staking/types/genesis.pb.go +++ b/x/staking/types/genesis.pb.go @@ -7,8 +7,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/staking/types/historical_info.go b/x/staking/types/historical_info.go index fb1030f6c8c30..8155da12ba1a3 100644 --- a/x/staking/types/historical_info.go +++ b/x/staking/types/historical_info.go @@ -5,7 +5,7 @@ import ( "cosmossdk.io/math" - "github.com/gogo/protobuf/proto" + "github.com/cosmos/gogoproto/proto" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/staking/types/query.pb.go b/x/staking/types/query.pb.go index c71ba1e989f84..65b4cc133af68 100644 --- a/x/staking/types/query.pb.go +++ b/x/staking/types/query.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/staking/types/staking.pb.go b/x/staking/types/staking.pb.go index c27acb9579568..b4d7523c1243f 100644 --- a/x/staking/types/staking.pb.go +++ b/x/staking/types/staking.pb.go @@ -11,11 +11,11 @@ import ( types1 "github.com/cosmos/cosmos-sdk/codec/types" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types2 "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" - github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_protoc_gen_gogo_descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "github.com/cosmos/gogoproto/gogoproto" + github_com_cosmos_gogoproto_proto "github.com/cosmos/gogoproto/proto" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_protoc_gen_gogo_descriptor "github.com/cosmos/gogoproto/protoc-gen-gogo/descriptor" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" types "github.com/tendermint/tendermint/proto/tendermint/types" _ "google.golang.org/protobuf/types/known/durationpb" _ "google.golang.org/protobuf/types/known/timestamppb" @@ -1250,483 +1250,483 @@ var fileDescriptor_64c30c6cf92913c9 = []byte{ 0x94, 0xe8, 0x15, 0x00, 0x00, } -func (this *Pool) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { +func (this *Pool) Description() (desc *github_com_cosmos_gogoproto_protoc_gen_gogo_descriptor.FileDescriptorSet) { return StakingDescription() } -func StakingDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { - d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{} +func StakingDescription() (desc *github_com_cosmos_gogoproto_protoc_gen_gogo_descriptor.FileDescriptorSet) { + d := &github_com_cosmos_gogoproto_protoc_gen_gogo_descriptor.FileDescriptorSet{} var gzipped = []byte{ - // 7518 bytes of a gzipped FileDescriptorSet - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x7c, 0x6b, 0x70, 0x24, 0xd7, - 0x75, 0x1e, 0xe6, 0x81, 0xc1, 0xcc, 0x99, 0xc1, 0x4c, 0xe3, 0x02, 0xbb, 0x3b, 0x0b, 0x92, 0x00, - 0x38, 0x7c, 0xec, 0xf2, 0x85, 0x25, 0x97, 0xdc, 0x5d, 0xee, 0xac, 0x65, 0x06, 0xf3, 0x58, 0x10, - 0xbb, 0x78, 0x0c, 0x7b, 0x80, 0xe5, 0xc3, 0x71, 0xba, 0x1a, 0x3d, 0x17, 0x83, 0x26, 0x7a, 0xba, - 0xdb, 0xdd, 0x3d, 0xbb, 0x0b, 0x96, 0x93, 0xa2, 0x4b, 0x79, 0x48, 0x9b, 0x8a, 0x23, 0xdb, 0xa9, - 0x58, 0x96, 0xb5, 0x0a, 0x65, 0x39, 0x91, 0xa3, 0x28, 0x0f, 0x5b, 0x8a, 0x12, 0xc7, 0x95, 0x44, - 0x49, 0x55, 0x12, 0x59, 0x3f, 0x52, 0xb2, 0x7f, 0xc4, 0x76, 0x1e, 0x8c, 0x43, 0xa9, 0x12, 0x46, - 0x51, 0x62, 0x47, 0x66, 0xaa, 0x92, 0x52, 0x29, 0x95, 0xba, 0xaf, 0x7e, 0xcc, 0x03, 0x33, 0xd8, - 0x2c, 0x65, 0x57, 0xf9, 0x17, 0xd0, 0xe7, 0x9e, 0xef, 0xeb, 0x73, 0xcf, 0x3d, 0xf7, 0xdc, 0x73, - 0x6f, 0x77, 0x0f, 0xfc, 0xc1, 0x15, 0x58, 0x6a, 0x5b, 0x56, 0xdb, 0xc0, 0xe7, 0x6c, 0xc7, 0xf2, - 0xac, 0xdd, 0xee, 0xde, 0xb9, 0x16, 0x76, 0x35, 0x47, 0xb7, 0x3d, 0xcb, 0x59, 0xa6, 0x32, 0x54, - 0x60, 0x1a, 0xcb, 0x42, 0xa3, 0xb4, 0x01, 0x33, 0x57, 0x75, 0x03, 0xd7, 0x7c, 0xc5, 0x26, 0xf6, - 0xd0, 0x8b, 0x90, 0xdc, 0xd3, 0x0d, 0x5c, 0x8c, 0x2d, 0x25, 0xce, 0x66, 0xcf, 0x3f, 0xba, 0xdc, - 0x03, 0x5a, 0x8e, 0x22, 0x1a, 0x44, 0x2c, 0x53, 0x44, 0xe9, 0x5b, 0x49, 0x98, 0x1d, 0xd0, 0x8a, - 0x10, 0x24, 0x4d, 0xb5, 0x43, 0x18, 0x63, 0x67, 0x33, 0x32, 0xfd, 0x1f, 0x15, 0x61, 0xca, 0x56, - 0xb5, 0x03, 0xb5, 0x8d, 0x8b, 0x71, 0x2a, 0x16, 0x97, 0x68, 0x01, 0xa0, 0x85, 0x6d, 0x6c, 0xb6, - 0xb0, 0xa9, 0x1d, 0x16, 0x13, 0x4b, 0x89, 0xb3, 0x19, 0x39, 0x24, 0x41, 0x4f, 0xc1, 0x8c, 0xdd, - 0xdd, 0x35, 0x74, 0x4d, 0x09, 0xa9, 0xc1, 0x52, 0xe2, 0xec, 0xa4, 0x2c, 0xb1, 0x86, 0x5a, 0xa0, - 0x7c, 0x06, 0x0a, 0xb7, 0xb0, 0x7a, 0x10, 0x56, 0xcd, 0x52, 0xd5, 0x3c, 0x11, 0x87, 0x14, 0xab, - 0x90, 0xeb, 0x60, 0xd7, 0x55, 0xdb, 0x58, 0xf1, 0x0e, 0x6d, 0x5c, 0x4c, 0xd2, 0xde, 0x2f, 0xf5, - 0xf5, 0xbe, 0xb7, 0xe7, 0x59, 0x8e, 0xda, 0x3e, 0xb4, 0x31, 0x5a, 0x81, 0x0c, 0x36, 0xbb, 0x1d, - 0xc6, 0x30, 0x39, 0xc4, 0x7f, 0x75, 0xb3, 0xdb, 0xe9, 0x65, 0x49, 0x13, 0x18, 0xa7, 0x98, 0x72, - 0xb1, 0x73, 0x53, 0xd7, 0x70, 0x31, 0x45, 0x09, 0xce, 0xf4, 0x11, 0x34, 0x59, 0x7b, 0x2f, 0x87, - 0xc0, 0xa1, 0x2a, 0x64, 0xf0, 0x6d, 0x0f, 0x9b, 0xae, 0x6e, 0x99, 0xc5, 0x29, 0x4a, 0xf2, 0xd8, - 0x80, 0x51, 0xc4, 0x46, 0xab, 0x97, 0x22, 0xc0, 0xa1, 0x8b, 0x30, 0x65, 0xd9, 0x9e, 0x6e, 0x99, - 0x6e, 0x31, 0xbd, 0x14, 0x3b, 0x9b, 0x3d, 0xff, 0xe0, 0xc0, 0x40, 0xd8, 0x62, 0x3a, 0xb2, 0x50, - 0x46, 0x6b, 0x20, 0xb9, 0x56, 0xd7, 0xd1, 0xb0, 0xa2, 0x59, 0x2d, 0xac, 0xe8, 0xe6, 0x9e, 0x55, - 0xcc, 0x50, 0x82, 0xc5, 0xfe, 0x8e, 0x50, 0xc5, 0xaa, 0xd5, 0xc2, 0x6b, 0xe6, 0x9e, 0x25, 0xe7, - 0xdd, 0xc8, 0x35, 0x3a, 0x09, 0x29, 0xf7, 0xd0, 0xf4, 0xd4, 0xdb, 0xc5, 0x1c, 0x8d, 0x10, 0x7e, - 0x55, 0xfa, 0xd5, 0x14, 0x14, 0xc6, 0x09, 0xb1, 0x2b, 0x30, 0xb9, 0x47, 0x7a, 0x59, 0x8c, 0x1f, - 0xc7, 0x07, 0x0c, 0x13, 0x75, 0x62, 0xea, 0x1e, 0x9d, 0xb8, 0x02, 0x59, 0x13, 0xbb, 0x1e, 0x6e, - 0xb1, 0x88, 0x48, 0x8c, 0x19, 0x53, 0xc0, 0x40, 0xfd, 0x21, 0x95, 0xbc, 0xa7, 0x90, 0x7a, 0x0d, - 0x0a, 0xbe, 0x49, 0x8a, 0xa3, 0x9a, 0x6d, 0x11, 0x9b, 0xe7, 0x46, 0x59, 0xb2, 0x5c, 0x17, 0x38, - 0x99, 0xc0, 0xe4, 0x3c, 0x8e, 0x5c, 0xa3, 0x1a, 0x80, 0x65, 0x62, 0x6b, 0x4f, 0x69, 0x61, 0xcd, - 0x28, 0xa6, 0x87, 0x78, 0x69, 0x8b, 0xa8, 0xf4, 0x79, 0xc9, 0x62, 0x52, 0xcd, 0x40, 0x97, 0x83, - 0x50, 0x9b, 0x1a, 0x12, 0x29, 0x1b, 0x6c, 0x92, 0xf5, 0x45, 0xdb, 0x0e, 0xe4, 0x1d, 0x4c, 0xe2, - 0x1e, 0xb7, 0x78, 0xcf, 0x32, 0xd4, 0x88, 0xe5, 0x91, 0x3d, 0x93, 0x39, 0x8c, 0x75, 0x6c, 0xda, - 0x09, 0x5f, 0xa2, 0x47, 0xc0, 0x17, 0x28, 0x34, 0xac, 0x80, 0x66, 0xa1, 0x9c, 0x10, 0x6e, 0xaa, - 0x1d, 0x3c, 0xff, 0x16, 0xe4, 0xa3, 0xee, 0x41, 0x73, 0x30, 0xe9, 0x7a, 0xaa, 0xe3, 0xd1, 0x28, - 0x9c, 0x94, 0xd9, 0x05, 0x92, 0x20, 0x81, 0xcd, 0x16, 0xcd, 0x72, 0x93, 0x32, 0xf9, 0x17, 0xfd, - 0x89, 0xa0, 0xc3, 0x09, 0xda, 0xe1, 0xc7, 0xfb, 0x47, 0x34, 0xc2, 0xdc, 0xdb, 0xef, 0xf9, 0x4b, - 0x30, 0x1d, 0xe9, 0xc0, 0xb8, 0xb7, 0x2e, 0xfd, 0x38, 0x9c, 0x18, 0x48, 0x8d, 0x5e, 0x83, 0xb9, - 0xae, 0xa9, 0x9b, 0x1e, 0x76, 0x6c, 0x07, 0x93, 0x88, 0x65, 0xb7, 0x2a, 0xfe, 0x97, 0xa9, 0x21, - 0x31, 0xb7, 0x13, 0xd6, 0x66, 0x2c, 0xf2, 0x6c, 0xb7, 0x5f, 0xf8, 0x64, 0x26, 0xfd, 0xfe, 0x94, - 0xf4, 0xf6, 0xdb, 0x6f, 0xbf, 0x1d, 0x2f, 0xfd, 0xb3, 0x14, 0xcc, 0x0d, 0x9a, 0x33, 0x03, 0xa7, - 0xef, 0x49, 0x48, 0x99, 0xdd, 0xce, 0x2e, 0x76, 0xa8, 0x93, 0x26, 0x65, 0x7e, 0x85, 0x56, 0x60, - 0xd2, 0x50, 0x77, 0xb1, 0x51, 0x4c, 0x2e, 0xc5, 0xce, 0xe6, 0xcf, 0x3f, 0x35, 0xd6, 0xac, 0x5c, - 0x5e, 0x27, 0x10, 0x99, 0x21, 0xd1, 0x0f, 0x43, 0x92, 0xa7, 0x68, 0xc2, 0xf0, 0xe4, 0x78, 0x0c, - 0x64, 0x2e, 0xc9, 0x14, 0x87, 0x1e, 0x80, 0x0c, 0xf9, 0xcb, 0x62, 0x23, 0x45, 0x6d, 0x4e, 0x13, - 0x01, 0x89, 0x0b, 0x34, 0x0f, 0x69, 0x3a, 0x4d, 0x5a, 0x58, 0x2c, 0x6d, 0xfe, 0x35, 0x09, 0xac, - 0x16, 0xde, 0x53, 0xbb, 0x86, 0xa7, 0xdc, 0x54, 0x8d, 0x2e, 0xa6, 0x01, 0x9f, 0x91, 0x73, 0x5c, - 0x78, 0x83, 0xc8, 0xd0, 0x22, 0x64, 0xd9, 0xac, 0xd2, 0xcd, 0x16, 0xbe, 0x4d, 0xb3, 0xe7, 0xa4, - 0xcc, 0x26, 0xda, 0x1a, 0x91, 0x90, 0xdb, 0xbf, 0xe9, 0x5a, 0xa6, 0x08, 0x4d, 0x7a, 0x0b, 0x22, - 0xa0, 0xb7, 0xbf, 0xd4, 0x9b, 0xb8, 0x1f, 0x1a, 0xdc, 0xbd, 0xbe, 0xb9, 0x74, 0x06, 0x0a, 0x54, - 0xe3, 0x79, 0x3e, 0xf4, 0xaa, 0x51, 0x9c, 0x59, 0x8a, 0x9d, 0x4d, 0xcb, 0x79, 0x26, 0xde, 0xe2, - 0xd2, 0xd2, 0x57, 0xe2, 0x90, 0xa4, 0x89, 0xa5, 0x00, 0xd9, 0xed, 0xd7, 0x1b, 0x75, 0xa5, 0xb6, - 0xb5, 0x53, 0x59, 0xaf, 0x4b, 0x31, 0x94, 0x07, 0xa0, 0x82, 0xab, 0xeb, 0x5b, 0x2b, 0xdb, 0x52, - 0xdc, 0xbf, 0x5e, 0xdb, 0xdc, 0xbe, 0xf8, 0x82, 0x94, 0xf0, 0x01, 0x3b, 0x4c, 0x90, 0x0c, 0x2b, - 0x3c, 0x7f, 0x5e, 0x9a, 0x44, 0x12, 0xe4, 0x18, 0xc1, 0xda, 0x6b, 0xf5, 0xda, 0xc5, 0x17, 0xa4, - 0x54, 0x54, 0xf2, 0xfc, 0x79, 0x69, 0x0a, 0x4d, 0x43, 0x86, 0x4a, 0x2a, 0x5b, 0x5b, 0xeb, 0x52, - 0xda, 0xe7, 0x6c, 0x6e, 0xcb, 0x6b, 0x9b, 0xab, 0x52, 0xc6, 0xe7, 0x5c, 0x95, 0xb7, 0x76, 0x1a, - 0x12, 0xf8, 0x0c, 0x1b, 0xf5, 0x66, 0x73, 0x65, 0xb5, 0x2e, 0x65, 0x7d, 0x8d, 0xca, 0xeb, 0xdb, - 0xf5, 0xa6, 0x94, 0x8b, 0x98, 0xf5, 0xfc, 0x79, 0x69, 0xda, 0xbf, 0x45, 0x7d, 0x73, 0x67, 0x43, - 0xca, 0xa3, 0x19, 0x98, 0x66, 0xb7, 0x10, 0x46, 0x14, 0x7a, 0x44, 0x17, 0x5f, 0x90, 0xa4, 0xc0, - 0x10, 0xc6, 0x32, 0x13, 0x11, 0x5c, 0x7c, 0x41, 0x42, 0xa5, 0x2a, 0x4c, 0xd2, 0x30, 0x44, 0x08, - 0xf2, 0xeb, 0x2b, 0x95, 0xfa, 0xba, 0xb2, 0xd5, 0xd8, 0x5e, 0xdb, 0xda, 0x5c, 0x59, 0x97, 0x62, - 0x81, 0x4c, 0xae, 0xbf, 0xb2, 0xb3, 0x26, 0xd7, 0x6b, 0x52, 0x3c, 0x2c, 0x6b, 0xd4, 0x57, 0xb6, - 0xeb, 0x35, 0x29, 0x51, 0xd2, 0x60, 0x6e, 0x50, 0x42, 0x1d, 0x38, 0x85, 0x42, 0xb1, 0x10, 0x1f, - 0x12, 0x0b, 0x94, 0xab, 0x37, 0x16, 0x4a, 0xdf, 0x8c, 0xc3, 0xec, 0x80, 0x45, 0x65, 0xe0, 0x4d, - 0x5e, 0x82, 0x49, 0x16, 0xcb, 0x6c, 0x99, 0x7d, 0x62, 0xe0, 0xea, 0x44, 0x23, 0xbb, 0x6f, 0xa9, - 0xa5, 0xb8, 0x70, 0xa9, 0x91, 0x18, 0x52, 0x6a, 0x10, 0x8a, 0xbe, 0x80, 0xfd, 0xd1, 0xbe, 0xe4, - 0xcf, 0xd6, 0xc7, 0x8b, 0xe3, 0xac, 0x8f, 0x54, 0x76, 0xbc, 0x45, 0x60, 0x72, 0xc0, 0x22, 0x70, - 0x05, 0x66, 0xfa, 0x88, 0xc6, 0x4e, 0xc6, 0x1f, 0x8d, 0x41, 0x71, 0x98, 0x73, 0x46, 0xa4, 0xc4, - 0x78, 0x24, 0x25, 0x5e, 0xe9, 0xf5, 0xe0, 0xc3, 0xc3, 0x07, 0xa1, 0x6f, 0xac, 0x3f, 0x1f, 0x83, - 0x93, 0x83, 0x4b, 0xca, 0x81, 0x36, 0xfc, 0x30, 0xa4, 0x3a, 0xd8, 0xdb, 0xb7, 0x44, 0x59, 0xf5, - 0xf8, 0x80, 0xc5, 0x9a, 0x34, 0xf7, 0x0e, 0x36, 0x47, 0x85, 0x57, 0xfb, 0xc4, 0xb0, 0xba, 0x90, - 0x59, 0xd3, 0x67, 0xe9, 0xc7, 0xe3, 0x70, 0x62, 0x20, 0xf9, 0x40, 0x43, 0x1f, 0x02, 0xd0, 0x4d, - 0xbb, 0xeb, 0xb1, 0xd2, 0x89, 0x65, 0xe2, 0x0c, 0x95, 0xd0, 0xe4, 0x45, 0xb2, 0x6c, 0xd7, 0xf3, - 0xdb, 0x13, 0xb4, 0x1d, 0x98, 0x88, 0x2a, 0xbc, 0x18, 0x18, 0x9a, 0xa4, 0x86, 0x2e, 0x0c, 0xe9, - 0x69, 0x5f, 0x60, 0x3e, 0x0b, 0x92, 0x66, 0xe8, 0xd8, 0xf4, 0x14, 0xd7, 0x73, 0xb0, 0xda, 0xd1, - 0xcd, 0x36, 0x5d, 0x6a, 0xd2, 0xe5, 0xc9, 0x3d, 0xd5, 0x70, 0xb1, 0x5c, 0x60, 0xcd, 0x4d, 0xd1, - 0x4a, 0x10, 0x34, 0x80, 0x9c, 0x10, 0x22, 0x15, 0x41, 0xb0, 0x66, 0x1f, 0x51, 0xfa, 0xa9, 0x0c, - 0x64, 0x43, 0x05, 0x38, 0x7a, 0x18, 0x72, 0x6f, 0xaa, 0x37, 0x55, 0x45, 0x6c, 0xaa, 0x98, 0x27, - 0xb2, 0x44, 0xd6, 0xe0, 0x1b, 0xab, 0x67, 0x61, 0x8e, 0xaa, 0x58, 0x5d, 0x0f, 0x3b, 0x8a, 0x66, - 0xa8, 0xae, 0x4b, 0x9d, 0x96, 0xa6, 0xaa, 0x88, 0xb4, 0x6d, 0x91, 0xa6, 0xaa, 0x68, 0x41, 0x17, - 0x60, 0x96, 0x22, 0x3a, 0x5d, 0xc3, 0xd3, 0x6d, 0x03, 0x2b, 0x64, 0x9b, 0xe7, 0xd2, 0x25, 0xc7, - 0xb7, 0x6c, 0x86, 0x68, 0x6c, 0x70, 0x05, 0x62, 0x91, 0x8b, 0x6a, 0xf0, 0x10, 0x85, 0xb5, 0xb1, - 0x89, 0x1d, 0xd5, 0xc3, 0x0a, 0xfe, 0xb1, 0xae, 0x6a, 0xb8, 0x8a, 0x6a, 0xb6, 0x94, 0x7d, 0xd5, - 0xdd, 0x2f, 0xce, 0x11, 0x82, 0x4a, 0xbc, 0x18, 0x93, 0x4f, 0x13, 0xc5, 0x55, 0xae, 0x57, 0xa7, - 0x6a, 0x2b, 0x66, 0xeb, 0x65, 0xd5, 0xdd, 0x47, 0x65, 0x38, 0x49, 0x59, 0x5c, 0xcf, 0xd1, 0xcd, - 0xb6, 0xa2, 0xed, 0x63, 0xed, 0x40, 0xe9, 0x7a, 0x7b, 0x2f, 0x16, 0x1f, 0x08, 0xdf, 0x9f, 0x5a, - 0xd8, 0xa4, 0x3a, 0x55, 0xa2, 0xb2, 0xe3, 0xed, 0xbd, 0x88, 0x9a, 0x90, 0x23, 0x83, 0xd1, 0xd1, - 0xdf, 0xc2, 0xca, 0x9e, 0xe5, 0xd0, 0x35, 0x34, 0x3f, 0x20, 0x35, 0x85, 0x3c, 0xb8, 0xbc, 0xc5, - 0x01, 0x1b, 0x56, 0x0b, 0x97, 0x27, 0x9b, 0x8d, 0x7a, 0xbd, 0x26, 0x67, 0x05, 0xcb, 0x55, 0xcb, - 0x21, 0x01, 0xd5, 0xb6, 0x7c, 0x07, 0x67, 0x59, 0x40, 0xb5, 0x2d, 0xe1, 0xde, 0x0b, 0x30, 0xab, - 0x69, 0xac, 0xcf, 0xba, 0xa6, 0xf0, 0xcd, 0x98, 0x5b, 0x94, 0x22, 0xce, 0xd2, 0xb4, 0x55, 0xa6, - 0xc0, 0x63, 0xdc, 0x45, 0x97, 0xe1, 0x44, 0xe0, 0xac, 0x30, 0x70, 0xa6, 0xaf, 0x97, 0xbd, 0xd0, - 0x0b, 0x30, 0x6b, 0x1f, 0xf6, 0x03, 0x51, 0xe4, 0x8e, 0xf6, 0x61, 0x2f, 0xec, 0x12, 0xcc, 0xd9, - 0xfb, 0x76, 0x3f, 0xee, 0xc9, 0x30, 0x0e, 0xd9, 0xfb, 0x76, 0x2f, 0xf0, 0x31, 0xba, 0x33, 0x77, - 0xb0, 0xa6, 0x7a, 0xb8, 0x55, 0x3c, 0x15, 0x56, 0x0f, 0x35, 0xa0, 0x65, 0x90, 0x34, 0x4d, 0xc1, - 0xa6, 0xba, 0x6b, 0x60, 0x45, 0x75, 0xb0, 0xa9, 0xba, 0xc5, 0x45, 0xaa, 0x9c, 0xf4, 0x9c, 0x2e, - 0x96, 0xf3, 0x9a, 0x56, 0xa7, 0x8d, 0x2b, 0xb4, 0x0d, 0x3d, 0x09, 0x33, 0xd6, 0xee, 0x9b, 0x1a, - 0x8b, 0x48, 0xc5, 0x76, 0xf0, 0x9e, 0x7e, 0xbb, 0xf8, 0x28, 0x75, 0x6f, 0x81, 0x34, 0xd0, 0x78, - 0x6c, 0x50, 0x31, 0x7a, 0x02, 0x24, 0xcd, 0xdd, 0x57, 0x1d, 0x9b, 0xa6, 0x64, 0xd7, 0x56, 0x35, - 0x5c, 0x7c, 0x8c, 0xa9, 0x32, 0xf9, 0xa6, 0x10, 0x93, 0x19, 0xe1, 0xde, 0xd2, 0xf7, 0x3c, 0xc1, - 0x78, 0x86, 0xcd, 0x08, 0x2a, 0xe3, 0x6c, 0x67, 0x41, 0x22, 0x9e, 0x88, 0xdc, 0xf8, 0x2c, 0x55, - 0xcb, 0xdb, 0xfb, 0x76, 0xf8, 0xbe, 0x8f, 0xc0, 0x34, 0xd1, 0x0c, 0x6e, 0xfa, 0x04, 0x2b, 0xdc, - 0xec, 0xfd, 0xd0, 0x1d, 0x5f, 0x80, 0x93, 0x44, 0xa9, 0x83, 0x3d, 0xb5, 0xa5, 0x7a, 0x6a, 0x48, - 0xfb, 0x69, 0xaa, 0x4d, 0xdc, 0xbe, 0xc1, 0x1b, 0x23, 0x76, 0x3a, 0xdd, 0xdd, 0x43, 0x3f, 0xb0, - 0x9e, 0x61, 0x76, 0x12, 0x99, 0x08, 0xad, 0x0f, 0xad, 0x38, 0x2f, 0x95, 0x21, 0x17, 0x8e, 0x7b, - 0x94, 0x01, 0x16, 0xf9, 0x52, 0x8c, 0x14, 0x41, 0xd5, 0xad, 0x1a, 0x29, 0x5f, 0xde, 0xa8, 0x4b, - 0x71, 0x52, 0x46, 0xad, 0xaf, 0x6d, 0xd7, 0x15, 0x79, 0x67, 0x73, 0x7b, 0x6d, 0xa3, 0x2e, 0x25, - 0x42, 0x85, 0xfd, 0xb5, 0x64, 0xfa, 0x71, 0xe9, 0x0c, 0xa9, 0x1a, 0xf2, 0xd1, 0x9d, 0x1a, 0xfa, - 0x21, 0x38, 0x25, 0x8e, 0x55, 0x5c, 0xec, 0x29, 0xb7, 0x74, 0x87, 0x4e, 0xc8, 0x8e, 0xca, 0x16, - 0x47, 0x3f, 0x7e, 0xe6, 0xb8, 0x56, 0x13, 0x7b, 0xaf, 0xea, 0x0e, 0x99, 0x6e, 0x1d, 0xd5, 0x43, - 0xeb, 0xb0, 0x68, 0x5a, 0x8a, 0xeb, 0xa9, 0x66, 0x4b, 0x75, 0x5a, 0x4a, 0x70, 0xa0, 0xa5, 0xa8, - 0x9a, 0x86, 0x5d, 0xd7, 0x62, 0x0b, 0xa1, 0xcf, 0xf2, 0xa0, 0x69, 0x35, 0xb9, 0x72, 0xb0, 0x42, - 0xac, 0x70, 0xd5, 0x9e, 0xf0, 0x4d, 0x0c, 0x0b, 0xdf, 0x07, 0x20, 0xd3, 0x51, 0x6d, 0x05, 0x9b, - 0x9e, 0x73, 0x48, 0xeb, 0xf3, 0xb4, 0x9c, 0xee, 0xa8, 0x76, 0x9d, 0x5c, 0xff, 0x40, 0xb6, 0x49, - 0xd7, 0x92, 0xe9, 0xa4, 0x34, 0x79, 0x2d, 0x99, 0x9e, 0x94, 0x52, 0xd7, 0x92, 0xe9, 0x94, 0x34, - 0x75, 0x2d, 0x99, 0x4e, 0x4b, 0x99, 0x6b, 0xc9, 0x74, 0x46, 0x82, 0xd2, 0x4f, 0x27, 0x21, 0x17, - 0xae, 0xe0, 0xc9, 0x86, 0x48, 0xa3, 0x6b, 0x58, 0x8c, 0x66, 0xb9, 0x47, 0x8e, 0xac, 0xf7, 0x97, - 0xab, 0x64, 0x71, 0x2b, 0xa7, 0x58, 0xb9, 0x2c, 0x33, 0x24, 0x29, 0x2c, 0x48, 0xf8, 0x61, 0x56, - 0x9e, 0xa4, 0x65, 0x7e, 0x85, 0x56, 0x21, 0xf5, 0xa6, 0x4b, 0xb9, 0x53, 0x94, 0xfb, 0xd1, 0xa3, - 0xb9, 0xaf, 0x35, 0x29, 0x79, 0xe6, 0x5a, 0x53, 0xd9, 0xdc, 0x92, 0x37, 0x56, 0xd6, 0x65, 0x0e, - 0x47, 0xa7, 0x21, 0x69, 0xa8, 0x6f, 0x1d, 0x46, 0x97, 0x41, 0x2a, 0x42, 0xcb, 0x50, 0xe8, 0x9a, - 0x37, 0xb1, 0xa3, 0xef, 0xe9, 0xb8, 0xa5, 0x50, 0xad, 0x42, 0x58, 0x2b, 0x1f, 0xb4, 0xae, 0x13, - 0xfd, 0x31, 0x87, 0xf1, 0x34, 0x24, 0x6f, 0x61, 0xf5, 0x20, 0xba, 0x58, 0x51, 0xd1, 0x87, 0x38, - 0x9d, 0xce, 0xc1, 0x24, 0xf5, 0x2f, 0x02, 0xe0, 0x1e, 0x96, 0x26, 0x50, 0x1a, 0x92, 0xd5, 0x2d, - 0x99, 0x4c, 0x29, 0x09, 0x72, 0x4c, 0xaa, 0x34, 0xd6, 0xea, 0xd5, 0xba, 0x14, 0x2f, 0x5d, 0x80, - 0x14, 0x73, 0x1a, 0x99, 0x6e, 0xbe, 0xdb, 0xa4, 0x09, 0x7e, 0xc9, 0x39, 0x62, 0xa2, 0x75, 0x67, - 0xa3, 0x52, 0x97, 0xa5, 0x78, 0x5f, 0xb0, 0x94, 0x5c, 0xc8, 0x85, 0x2b, 0xf9, 0x1f, 0xcc, 0x76, - 0xfe, 0xab, 0x31, 0xc8, 0x86, 0x2a, 0x73, 0x52, 0x52, 0xa9, 0x86, 0x61, 0xdd, 0x52, 0x54, 0x43, - 0x57, 0x5d, 0x1e, 0x4a, 0x40, 0x45, 0x2b, 0x44, 0x32, 0xee, 0xd0, 0xfd, 0x80, 0x26, 0xd9, 0xa4, - 0x94, 0x2a, 0x7d, 0x26, 0x06, 0x52, 0x6f, 0x69, 0xdc, 0x63, 0x66, 0xec, 0x0f, 0xd3, 0xcc, 0xd2, - 0xa7, 0x63, 0x90, 0x8f, 0xd6, 0xc3, 0x3d, 0xe6, 0x3d, 0xfc, 0x87, 0x6a, 0xde, 0xef, 0xc6, 0x61, - 0x3a, 0x52, 0x05, 0x8f, 0x6b, 0xdd, 0x8f, 0xc1, 0x8c, 0xde, 0xc2, 0x1d, 0xdb, 0xf2, 0xb0, 0xa9, - 0x1d, 0x2a, 0x06, 0xbe, 0x89, 0x8d, 0x62, 0x89, 0x26, 0x99, 0x73, 0x47, 0xd7, 0xd9, 0xcb, 0x6b, - 0x01, 0x6e, 0x9d, 0xc0, 0xca, 0xb3, 0x6b, 0xb5, 0xfa, 0x46, 0x63, 0x6b, 0xbb, 0xbe, 0x59, 0x7d, - 0x5d, 0xd9, 0xd9, 0xbc, 0xbe, 0xb9, 0xf5, 0xea, 0xa6, 0x2c, 0xe9, 0x3d, 0x6a, 0x1f, 0xe2, 0xb4, - 0x6f, 0x80, 0xd4, 0x6b, 0x14, 0x3a, 0x05, 0x83, 0xcc, 0x92, 0x26, 0xd0, 0x2c, 0x14, 0x36, 0xb7, - 0x94, 0xe6, 0x5a, 0xad, 0xae, 0xd4, 0xaf, 0x5e, 0xad, 0x57, 0xb7, 0x9b, 0xec, 0xe4, 0xc4, 0xd7, - 0xde, 0x8e, 0x4c, 0xf0, 0xd2, 0xa7, 0x12, 0x30, 0x3b, 0xc0, 0x12, 0xb4, 0xc2, 0xf7, 0x3c, 0x6c, - 0x1b, 0xf6, 0xcc, 0x38, 0xd6, 0x2f, 0x93, 0xaa, 0xa3, 0xa1, 0x3a, 0x1e, 0xdf, 0x22, 0x3d, 0x01, - 0xc4, 0x4b, 0xa6, 0x47, 0x92, 0xab, 0xc3, 0x4f, 0xa4, 0xd8, 0x46, 0xa8, 0x10, 0xc8, 0xd9, 0xa1, - 0xd4, 0xd3, 0x80, 0x6c, 0xcb, 0xd5, 0x3d, 0xfd, 0x26, 0x56, 0x74, 0x53, 0x1c, 0x5f, 0x91, 0x8d, - 0x51, 0x52, 0x96, 0x44, 0xcb, 0x9a, 0xe9, 0xf9, 0xda, 0x26, 0x6e, 0xab, 0x3d, 0xda, 0x24, 0xf9, - 0x27, 0x64, 0x49, 0xb4, 0xf8, 0xda, 0x0f, 0x43, 0xae, 0x65, 0x75, 0x49, 0xb5, 0xc8, 0xf4, 0xc8, - 0x5a, 0x13, 0x93, 0xb3, 0x4c, 0xe6, 0xab, 0xf0, 0x7d, 0x40, 0x70, 0x6e, 0x96, 0x93, 0xb3, 0x4c, - 0xc6, 0x54, 0xce, 0x40, 0x41, 0x6d, 0xb7, 0x1d, 0x42, 0x2e, 0x88, 0xd8, 0xce, 0x26, 0xef, 0x8b, - 0xa9, 0xe2, 0xfc, 0x35, 0x48, 0x0b, 0x3f, 0x90, 0xc5, 0x9e, 0x78, 0x42, 0xb1, 0xd9, 0x76, 0x3d, - 0x7e, 0x36, 0x23, 0xa7, 0x4d, 0xd1, 0xf8, 0x30, 0xe4, 0x74, 0x57, 0x09, 0x1e, 0x03, 0xc4, 0x97, - 0xe2, 0x67, 0xd3, 0x72, 0x56, 0x77, 0xfd, 0x23, 0xd4, 0xd2, 0xe7, 0xe3, 0x90, 0x8f, 0x3e, 0xc6, - 0x40, 0x35, 0x48, 0x1b, 0x96, 0xa6, 0xd2, 0xd0, 0x62, 0xcf, 0xd0, 0xce, 0x8e, 0x78, 0xf2, 0xb1, - 0xbc, 0xce, 0xf5, 0x65, 0x1f, 0x39, 0xff, 0xaf, 0x63, 0x90, 0x16, 0x62, 0x74, 0x12, 0x92, 0xb6, - 0xea, 0xed, 0x53, 0xba, 0xc9, 0x4a, 0x5c, 0x8a, 0xc9, 0xf4, 0x9a, 0xc8, 0x5d, 0x5b, 0x35, 0x69, - 0x08, 0x70, 0x39, 0xb9, 0x26, 0xe3, 0x6a, 0x60, 0xb5, 0x45, 0xb7, 0x4d, 0x56, 0xa7, 0x83, 0x4d, - 0xcf, 0x15, 0xe3, 0xca, 0xe5, 0x55, 0x2e, 0x46, 0x4f, 0xc1, 0x8c, 0xe7, 0xa8, 0xba, 0x11, 0xd1, - 0x4d, 0x52, 0x5d, 0x49, 0x34, 0xf8, 0xca, 0x65, 0x38, 0x2d, 0x78, 0x5b, 0xd8, 0x53, 0xb5, 0x7d, - 0xdc, 0x0a, 0x40, 0x29, 0x7a, 0x3c, 0x72, 0x8a, 0x2b, 0xd4, 0x78, 0xbb, 0xc0, 0x96, 0x7e, 0x23, - 0x06, 0x33, 0x62, 0xa3, 0xd7, 0xf2, 0x9d, 0xb5, 0x01, 0xa0, 0x9a, 0xa6, 0xe5, 0x85, 0xdd, 0xd5, - 0x1f, 0xca, 0x7d, 0xb8, 0xe5, 0x15, 0x1f, 0x24, 0x87, 0x08, 0xe6, 0x3b, 0x00, 0x41, 0xcb, 0x50, - 0xb7, 0x2d, 0x42, 0x96, 0x3f, 0xa3, 0xa2, 0x0f, 0x3a, 0xd9, 0xd1, 0x00, 0x30, 0x11, 0xd9, 0x11, - 0xa2, 0x39, 0x98, 0xdc, 0xc5, 0x6d, 0xdd, 0xe4, 0x27, 0xcf, 0xec, 0x42, 0x1c, 0xe0, 0x24, 0xfd, - 0x03, 0x9c, 0xca, 0x9f, 0x81, 0x59, 0xcd, 0xea, 0xf4, 0x9a, 0x5b, 0x91, 0x7a, 0x8e, 0x27, 0xdc, - 0x97, 0x63, 0x6f, 0x3c, 0xc3, 0x95, 0xda, 0x96, 0xa1, 0x9a, 0xed, 0x65, 0xcb, 0x69, 0x07, 0x0f, - 0x6a, 0x49, 0x85, 0xe4, 0x86, 0x1e, 0xd7, 0xda, 0xbb, 0xff, 0x3b, 0x16, 0xfb, 0x85, 0x78, 0x62, - 0xb5, 0x51, 0xf9, 0x42, 0x7c, 0x7e, 0x95, 0x01, 0x1b, 0xc2, 0x19, 0x32, 0xde, 0x33, 0xb0, 0x46, - 0x3a, 0x08, 0xdf, 0x7e, 0x0a, 0xe6, 0xda, 0x56, 0xdb, 0xa2, 0x4c, 0xe7, 0xc8, 0x7f, 0xfc, 0x49, - 0x6f, 0xc6, 0x97, 0xce, 0x8f, 0x7c, 0x2c, 0x5c, 0xde, 0x84, 0x59, 0xae, 0xac, 0xd0, 0x47, 0x4d, - 0x6c, 0x23, 0x84, 0x8e, 0x3c, 0x85, 0x2b, 0xfe, 0xf2, 0xb7, 0xe8, 0xf2, 0x2d, 0xcf, 0x70, 0x28, - 0x69, 0x63, 0x7b, 0xa5, 0xb2, 0x0c, 0x27, 0x22, 0x7c, 0x6c, 0x92, 0x62, 0x67, 0x04, 0xe3, 0xbf, - 0xe0, 0x8c, 0xb3, 0x21, 0xc6, 0x26, 0x87, 0x96, 0xab, 0x30, 0x7d, 0x1c, 0xae, 0x7f, 0xc9, 0xb9, - 0x72, 0x38, 0x4c, 0xb2, 0x0a, 0x05, 0x4a, 0xa2, 0x75, 0x5d, 0xcf, 0xea, 0xd0, 0x0c, 0x78, 0x34, - 0xcd, 0xbf, 0xfa, 0x16, 0x9b, 0x35, 0x79, 0x02, 0xab, 0xfa, 0xa8, 0x72, 0x19, 0xe8, 0xd3, 0xb5, - 0x16, 0xd6, 0x8c, 0x11, 0x0c, 0x5f, 0xe3, 0x86, 0xf8, 0xfa, 0xe5, 0x1b, 0x30, 0x47, 0xfe, 0xa7, - 0x09, 0x2a, 0x6c, 0xc9, 0xe8, 0x23, 0xbb, 0xe2, 0x6f, 0x7c, 0x94, 0x4d, 0xcc, 0x59, 0x9f, 0x20, - 0x64, 0x53, 0x68, 0x14, 0xdb, 0xd8, 0xf3, 0xb0, 0xe3, 0x2a, 0xaa, 0x31, 0xc8, 0xbc, 0xd0, 0x99, - 0x47, 0xf1, 0xe7, 0xbe, 0x13, 0x1d, 0xc5, 0x55, 0x86, 0x5c, 0x31, 0x8c, 0xf2, 0x0e, 0x9c, 0x1a, - 0x10, 0x15, 0x63, 0x70, 0x7e, 0x8a, 0x73, 0xce, 0xf5, 0x45, 0x06, 0xa1, 0x6d, 0x80, 0x90, 0xfb, - 0x63, 0x39, 0x06, 0xe7, 0xcf, 0x73, 0x4e, 0xc4, 0xb1, 0x62, 0x48, 0x09, 0xe3, 0x35, 0x98, 0xb9, - 0x89, 0x9d, 0x5d, 0xcb, 0xe5, 0xe7, 0x4c, 0x63, 0xd0, 0x7d, 0x9a, 0xd3, 0x15, 0x38, 0x90, 0x1e, - 0x3c, 0x11, 0xae, 0xcb, 0x90, 0xde, 0x53, 0x35, 0x3c, 0x06, 0xc5, 0x5d, 0x4e, 0x31, 0x45, 0xf4, - 0x09, 0x74, 0x05, 0x72, 0x6d, 0x8b, 0xaf, 0x51, 0xa3, 0xe1, 0x9f, 0xe1, 0xf0, 0xac, 0xc0, 0x70, - 0x0a, 0xdb, 0xb2, 0xbb, 0x06, 0x59, 0xc0, 0x46, 0x53, 0xfc, 0x35, 0x41, 0x21, 0x30, 0x9c, 0xe2, - 0x18, 0x6e, 0x7d, 0x47, 0x50, 0xb8, 0x21, 0x7f, 0xbe, 0x04, 0x59, 0xcb, 0x34, 0x0e, 0x2d, 0x73, - 0x1c, 0x23, 0x3e, 0xcb, 0x19, 0x80, 0x43, 0x08, 0xc1, 0x15, 0xc8, 0x8c, 0x3b, 0x10, 0x7f, 0xfd, - 0x3b, 0x62, 0x7a, 0x88, 0x11, 0x58, 0x85, 0x82, 0x48, 0x50, 0xba, 0x65, 0x8e, 0x41, 0xf1, 0x37, - 0x38, 0x45, 0x3e, 0x04, 0xe3, 0xdd, 0xf0, 0xb0, 0xeb, 0xb5, 0xf1, 0x38, 0x24, 0x9f, 0x17, 0xdd, - 0xe0, 0x10, 0xee, 0xca, 0x5d, 0x6c, 0x6a, 0xfb, 0xe3, 0x31, 0xfc, 0x92, 0x70, 0xa5, 0xc0, 0x10, - 0x8a, 0x2a, 0x4c, 0x77, 0x54, 0xc7, 0xdd, 0x57, 0x8d, 0xb1, 0x86, 0xe3, 0x6f, 0x72, 0x8e, 0x9c, - 0x0f, 0xe2, 0x1e, 0xe9, 0x9a, 0xc7, 0xa1, 0xf9, 0x82, 0xf0, 0x48, 0x08, 0xc6, 0xa7, 0x9e, 0xeb, - 0xd1, 0x43, 0xb9, 0xe3, 0xb0, 0xfd, 0x2d, 0x31, 0xf5, 0x18, 0x76, 0x23, 0xcc, 0x78, 0x05, 0x32, - 0xae, 0xfe, 0xd6, 0x58, 0x34, 0x5f, 0x14, 0x23, 0x4d, 0x01, 0x04, 0xfc, 0x3a, 0x9c, 0x1e, 0xb8, - 0x4c, 0x8c, 0x41, 0xf6, 0xb7, 0x39, 0xd9, 0xc9, 0x01, 0x4b, 0x05, 0x4f, 0x09, 0xc7, 0xa5, 0xfc, - 0x3b, 0x22, 0x25, 0xe0, 0x1e, 0xae, 0x06, 0xd9, 0x35, 0xb8, 0xea, 0xde, 0xf1, 0xbc, 0xf6, 0x77, - 0x85, 0xd7, 0x18, 0x36, 0xe2, 0xb5, 0x6d, 0x38, 0xc9, 0x19, 0x8f, 0x37, 0xae, 0x7f, 0x4f, 0x24, - 0x56, 0x86, 0xde, 0x89, 0x8e, 0xee, 0x8f, 0xc0, 0xbc, 0xef, 0x4e, 0x51, 0x9e, 0xba, 0x4a, 0x47, - 0xb5, 0xc7, 0x60, 0xfe, 0x65, 0xce, 0x2c, 0x32, 0xbe, 0x5f, 0xdf, 0xba, 0x1b, 0xaa, 0x4d, 0xc8, - 0x5f, 0x83, 0xa2, 0x20, 0xef, 0x9a, 0x0e, 0xd6, 0xac, 0xb6, 0xa9, 0xbf, 0x85, 0x5b, 0x63, 0x50, - 0xff, 0x4a, 0xcf, 0x50, 0xed, 0x84, 0xe0, 0x84, 0x79, 0x0d, 0x24, 0xbf, 0x56, 0x51, 0xf4, 0x8e, - 0x6d, 0x39, 0xde, 0x08, 0xc6, 0x2f, 0x89, 0x91, 0xf2, 0x71, 0x6b, 0x14, 0x56, 0xae, 0x03, 0x7b, - 0x52, 0x3d, 0x6e, 0x48, 0x7e, 0x99, 0x13, 0x4d, 0x07, 0x28, 0x9e, 0x38, 0x34, 0xab, 0x63, 0xab, - 0xce, 0x38, 0xf9, 0xef, 0xef, 0x8b, 0xc4, 0xc1, 0x21, 0x3c, 0x71, 0x90, 0x8a, 0x8e, 0xac, 0xf6, - 0x63, 0x30, 0x7c, 0x45, 0x24, 0x0e, 0x81, 0xe1, 0x14, 0xa2, 0x60, 0x18, 0x83, 0xe2, 0x1f, 0x08, - 0x0a, 0x81, 0x21, 0x14, 0xaf, 0x04, 0x0b, 0xad, 0x83, 0xdb, 0xba, 0xeb, 0x39, 0xac, 0x28, 0x3e, - 0x9a, 0xea, 0x1f, 0x7e, 0x27, 0x5a, 0x84, 0xc9, 0x21, 0x28, 0xc9, 0x44, 0xfc, 0x98, 0x96, 0xee, - 0x99, 0x46, 0x1b, 0xf6, 0xab, 0x22, 0x13, 0x85, 0x60, 0xc4, 0xb6, 0x50, 0x85, 0x48, 0xdc, 0xae, - 0x91, 0x9d, 0xc2, 0x18, 0x74, 0xff, 0xa8, 0xc7, 0xb8, 0xa6, 0xc0, 0x12, 0xce, 0x50, 0xfd, 0xd3, - 0x35, 0x0f, 0xf0, 0xe1, 0x58, 0xd1, 0xf9, 0x6b, 0x3d, 0xf5, 0xcf, 0x0e, 0x43, 0xb2, 0x1c, 0x52, - 0xe8, 0xa9, 0xa7, 0xd0, 0xa8, 0xf7, 0x92, 0x8a, 0x3f, 0xf1, 0x01, 0xef, 0x6f, 0xb4, 0x9c, 0x2a, - 0xaf, 0x93, 0x20, 0x8f, 0x16, 0x3d, 0xa3, 0xc9, 0x3e, 0xfa, 0x81, 0x1f, 0xe7, 0x91, 0x9a, 0xa7, - 0x7c, 0x15, 0xa6, 0x23, 0x05, 0xcf, 0x68, 0xaa, 0x3f, 0xcb, 0xa9, 0x72, 0xe1, 0x7a, 0xa7, 0x7c, - 0x01, 0x92, 0xa4, 0x78, 0x19, 0x0d, 0xff, 0x73, 0x1c, 0x4e, 0xd5, 0xcb, 0x1f, 0x81, 0xb4, 0x28, - 0x5a, 0x46, 0x43, 0xff, 0x3c, 0x87, 0xfa, 0x10, 0x02, 0x17, 0x05, 0xcb, 0x68, 0xf8, 0x5f, 0x10, - 0x70, 0x01, 0x21, 0xf0, 0xf1, 0x5d, 0xf8, 0xd5, 0xbf, 0x98, 0xe4, 0x8b, 0x8e, 0xf0, 0xdd, 0x15, - 0x98, 0xe2, 0x95, 0xca, 0x68, 0xf4, 0xc7, 0xf9, 0xcd, 0x05, 0xa2, 0x7c, 0x09, 0x26, 0xc7, 0x74, - 0xf8, 0x5f, 0xe2, 0x50, 0xa6, 0x5f, 0xae, 0x42, 0x36, 0x54, 0x9d, 0x8c, 0x86, 0xff, 0x24, 0x87, - 0x87, 0x51, 0xc4, 0x74, 0x5e, 0x9d, 0x8c, 0x26, 0xf8, 0xcb, 0xc2, 0x74, 0x8e, 0x20, 0x6e, 0x13, - 0x85, 0xc9, 0x68, 0xf4, 0x27, 0x84, 0xd7, 0x05, 0xa4, 0xfc, 0x12, 0x64, 0xfc, 0xc5, 0x66, 0x34, - 0xfe, 0xa7, 0x38, 0x3e, 0xc0, 0x10, 0x0f, 0x84, 0x16, 0xbb, 0xd1, 0x14, 0x3f, 0x2d, 0x3c, 0x10, - 0x42, 0x91, 0x69, 0xd4, 0x5b, 0xc0, 0x8c, 0x66, 0xfa, 0x19, 0x31, 0x8d, 0x7a, 0xea, 0x17, 0x32, - 0x9a, 0x34, 0xe7, 0x8f, 0xa6, 0xf8, 0x2b, 0x62, 0x34, 0xa9, 0x3e, 0x31, 0xa3, 0xb7, 0x22, 0x18, - 0xcd, 0xf1, 0xb3, 0xc2, 0x8c, 0x9e, 0x82, 0xa0, 0xdc, 0x00, 0xd4, 0x5f, 0x0d, 0x8c, 0xe6, 0xfb, - 0x24, 0xe7, 0x9b, 0xe9, 0x2b, 0x06, 0xca, 0xaf, 0xc2, 0xc9, 0xc1, 0x95, 0xc0, 0x68, 0xd6, 0x9f, - 0xfb, 0xa0, 0x67, 0xef, 0x16, 0x2e, 0x04, 0xca, 0xdb, 0xc1, 0x92, 0x12, 0xae, 0x02, 0x46, 0xd3, - 0x7e, 0xea, 0x83, 0x68, 0xe2, 0x0e, 0x17, 0x01, 0xe5, 0x15, 0x80, 0x60, 0x01, 0x1e, 0xcd, 0xf5, - 0x69, 0xce, 0x15, 0x02, 0x91, 0xa9, 0xc1, 0xd7, 0xdf, 0xd1, 0xf8, 0xbb, 0x62, 0x6a, 0x70, 0x04, - 0x99, 0x1a, 0x62, 0xe9, 0x1d, 0x8d, 0xfe, 0x8c, 0x98, 0x1a, 0x02, 0x42, 0x22, 0x3b, 0xb4, 0xba, - 0x8d, 0x66, 0xf8, 0xac, 0x88, 0xec, 0x10, 0xaa, 0xbc, 0x09, 0x33, 0x7d, 0x0b, 0xe2, 0x68, 0xaa, - 0x5f, 0xe0, 0x54, 0x52, 0xef, 0x7a, 0x18, 0x5e, 0xbc, 0xf8, 0x62, 0x38, 0x9a, 0xed, 0x73, 0x3d, - 0x8b, 0x17, 0x5f, 0x0b, 0xcb, 0x57, 0x20, 0x6d, 0x76, 0x0d, 0x83, 0x4c, 0x1e, 0x74, 0xf4, 0xbb, - 0x84, 0xc5, 0xff, 0xfa, 0x3d, 0xee, 0x1d, 0x01, 0x28, 0x5f, 0x80, 0x49, 0xdc, 0xd9, 0xc5, 0xad, - 0x51, 0xc8, 0x6f, 0x7f, 0x4f, 0x24, 0x4c, 0xa2, 0x5d, 0x7e, 0x09, 0x80, 0x1d, 0x8d, 0xd0, 0x87, - 0x87, 0x23, 0xb0, 0xff, 0xed, 0x7b, 0xfc, 0xe5, 0x9d, 0x00, 0x12, 0x10, 0xb0, 0x57, 0x81, 0x8e, - 0x26, 0xf8, 0x4e, 0x94, 0x80, 0x8e, 0xc8, 0x65, 0x98, 0x7a, 0xd3, 0xb5, 0x4c, 0x4f, 0x6d, 0x8f, - 0x42, 0xff, 0x77, 0x8e, 0x16, 0xfa, 0xc4, 0x61, 0x1d, 0xcb, 0xc1, 0x9e, 0xda, 0x76, 0x47, 0x61, - 0xff, 0x07, 0xc7, 0xfa, 0x00, 0x02, 0xd6, 0x54, 0xd7, 0x1b, 0xa7, 0xdf, 0xbf, 0x27, 0xc0, 0x02, - 0x40, 0x8c, 0x26, 0xff, 0x1f, 0xe0, 0xc3, 0x51, 0xd8, 0xdf, 0x17, 0x46, 0x73, 0xfd, 0xf2, 0x47, - 0x20, 0x43, 0xfe, 0x65, 0x6f, 0xe4, 0x8d, 0x00, 0xff, 0x4f, 0x0e, 0x0e, 0x10, 0xe4, 0xce, 0xae, - 0xd7, 0xf2, 0xf4, 0xd1, 0xce, 0xfe, 0x2e, 0x1f, 0x69, 0xa1, 0x5f, 0x5e, 0x81, 0xac, 0xeb, 0xb5, - 0x5a, 0x5d, 0x5e, 0x9f, 0x8e, 0x80, 0xff, 0xc1, 0xf7, 0xfc, 0x23, 0x0b, 0x1f, 0x43, 0x46, 0xfb, - 0xd6, 0x81, 0x67, 0x5b, 0xf4, 0x81, 0xc7, 0x28, 0x86, 0x0f, 0x38, 0x43, 0x08, 0x52, 0xae, 0x42, - 0x8e, 0xf4, 0xc5, 0xc1, 0x36, 0xa6, 0x4f, 0xa7, 0x46, 0x50, 0xfc, 0x2f, 0xee, 0x80, 0x08, 0xa8, - 0xf2, 0xa3, 0x5f, 0x7b, 0x6f, 0x21, 0xf6, 0x8d, 0xf7, 0x16, 0x62, 0xbf, 0xfb, 0xde, 0x42, 0xec, - 0x13, 0xdf, 0x5c, 0x98, 0xf8, 0xc6, 0x37, 0x17, 0x26, 0x7e, 0xfb, 0x9b, 0x0b, 0x13, 0x83, 0x4f, - 0x89, 0x61, 0xd5, 0x5a, 0xb5, 0xd8, 0xf9, 0xf0, 0x1b, 0xa5, 0xb6, 0xee, 0xed, 0x77, 0x77, 0x97, - 0x35, 0xab, 0x43, 0x8f, 0x71, 0x83, 0xd3, 0x5a, 0x7f, 0x93, 0x03, 0xdf, 0x8f, 0x91, 0x0d, 0x73, - 0xf4, 0x2c, 0x57, 0x35, 0x0f, 0x87, 0x7d, 0xdb, 0x73, 0x11, 0x12, 0x2b, 0xe6, 0x21, 0x3a, 0xcd, - 0xb2, 0x9b, 0xd2, 0x75, 0x0c, 0xfe, 0x4e, 0xd8, 0x14, 0xb9, 0xde, 0x71, 0x0c, 0x34, 0x17, 0xbc, - 0xb8, 0x19, 0x3b, 0x9b, 0xe3, 0x6f, 0x63, 0x56, 0x7e, 0x32, 0x76, 0xbc, 0x6e, 0xa4, 0x57, 0xcc, - 0x43, 0xda, 0x8b, 0x46, 0xec, 0x8d, 0xa7, 0x47, 0x1e, 0x72, 0x1f, 0x98, 0xd6, 0x2d, 0x93, 0x98, - 0x6d, 0xef, 0x8a, 0x03, 0xee, 0x85, 0xde, 0x03, 0xee, 0x57, 0xb1, 0x61, 0x5c, 0x27, 0x7a, 0xdb, - 0x04, 0xb2, 0x9b, 0x62, 0xaf, 0x1f, 0xc3, 0xcf, 0xc4, 0x61, 0xa1, 0xef, 0x2c, 0x9b, 0x47, 0xc0, - 0x30, 0x27, 0x94, 0x21, 0x5d, 0x13, 0x81, 0x55, 0x84, 0x29, 0x17, 0x6b, 0x96, 0xd9, 0x72, 0xa9, - 0x23, 0x12, 0xb2, 0xb8, 0x24, 0x8e, 0x30, 0x55, 0xd3, 0x72, 0xf9, 0x5b, 0x95, 0xec, 0xa2, 0xf2, - 0xf3, 0xc7, 0x74, 0xc4, 0xb4, 0xb8, 0x93, 0xf0, 0xc6, 0x73, 0x63, 0x7a, 0x43, 0x74, 0x22, 0x72, - 0xec, 0x3f, 0xae, 0x57, 0x7e, 0x36, 0x0e, 0x8b, 0xbd, 0x5e, 0x21, 0xd3, 0xca, 0xf5, 0xd4, 0x8e, - 0x3d, 0xcc, 0x2d, 0x57, 0x20, 0xb3, 0x2d, 0x74, 0x8e, 0xed, 0x97, 0xbb, 0xc7, 0xf4, 0x4b, 0xde, - 0xbf, 0x95, 0x70, 0xcc, 0xf9, 0x31, 0x1d, 0xe3, 0xf7, 0xe3, 0x9e, 0x3c, 0xf3, 0x7f, 0x52, 0x70, - 0x5a, 0xb3, 0xdc, 0x8e, 0xe5, 0x2a, 0xec, 0xf9, 0x08, 0xbb, 0xe0, 0x3e, 0xc9, 0x85, 0x9b, 0x46, - 0x3f, 0x24, 0x29, 0x5d, 0x87, 0xd9, 0x35, 0x92, 0x2a, 0xc8, 0x16, 0x28, 0x78, 0xbc, 0x33, 0xf0, - 0xc5, 0xd3, 0xa5, 0x48, 0xb5, 0xcf, 0x1f, 0x2f, 0x85, 0x45, 0xa5, 0x9f, 0x88, 0x81, 0xd4, 0xd4, - 0x54, 0x43, 0x75, 0xfe, 0x7f, 0xa9, 0xd0, 0x25, 0x00, 0xfa, 0xc1, 0x52, 0xf0, 0x85, 0x51, 0xfe, - 0x7c, 0x71, 0x39, 0xdc, 0xb9, 0x65, 0x76, 0x27, 0xfa, 0xf9, 0x42, 0x86, 0xea, 0x92, 0x7f, 0x9f, - 0x7c, 0x0d, 0x20, 0x68, 0x40, 0x0f, 0xc0, 0xa9, 0x66, 0x75, 0x65, 0x7d, 0x45, 0x56, 0xd8, 0x9b, - 0xf0, 0x9b, 0xcd, 0x46, 0xbd, 0xba, 0x76, 0x75, 0xad, 0x5e, 0x93, 0x26, 0xd0, 0x49, 0x40, 0xe1, - 0x46, 0xff, 0xa5, 0x94, 0x13, 0x30, 0x13, 0x96, 0xb3, 0xd7, 0xe9, 0xe3, 0xa4, 0x4c, 0xd4, 0x3b, - 0xb6, 0x81, 0xe9, 0x73, 0x3f, 0x45, 0x17, 0x5e, 0x1b, 0x5d, 0x81, 0xfc, 0xfa, 0xbf, 0x61, 0xaf, - 0x58, 0xcf, 0x06, 0x70, 0xdf, 0xe7, 0xe5, 0x75, 0x98, 0x51, 0x35, 0x0d, 0xdb, 0x11, 0xca, 0x11, - 0x79, 0x9a, 0x10, 0xd2, 0x27, 0x99, 0x1c, 0x19, 0xb0, 0x5d, 0x82, 0x94, 0x4b, 0x7b, 0x3f, 0x8a, - 0xe2, 0xeb, 0x9c, 0x82, 0xab, 0x97, 0x4d, 0x98, 0x21, 0x65, 0x9f, 0xea, 0xe0, 0x90, 0x19, 0x47, - 0x1f, 0x32, 0xfc, 0xe3, 0x2f, 0x3d, 0x4b, 0x9f, 0x6b, 0x3e, 0x1c, 0x1d, 0x96, 0x01, 0xe1, 0x24, - 0x4b, 0x9c, 0x3b, 0x30, 0x14, 0x43, 0x5e, 0xdc, 0x8f, 0x1b, 0x7c, 0xf4, 0xcd, 0xfe, 0x09, 0xbf, - 0xd9, 0xc2, 0xa0, 0x18, 0x08, 0xdd, 0x69, 0x9a, 0xb3, 0xb2, 0x86, 0x4a, 0x7d, 0xd8, 0x9c, 0x7e, - 0xe3, 0xa9, 0xd0, 0xd2, 0xc4, 0x28, 0xf9, 0x9f, 0x67, 0x28, 0xf3, 0x95, 0xf0, 0x6d, 0xfc, 0xb9, - 0xf7, 0x5b, 0x09, 0x58, 0xe0, 0xca, 0xbb, 0xaa, 0x8b, 0xcf, 0xdd, 0x7c, 0x6e, 0x17, 0x7b, 0xea, - 0x73, 0xe7, 0x34, 0x4b, 0x17, 0xb9, 0x7a, 0x96, 0x4f, 0x47, 0xd2, 0xbe, 0xcc, 0xdb, 0xe7, 0x07, - 0x3e, 0xcd, 0x9c, 0x1f, 0x3e, 0x8d, 0x4b, 0x3b, 0x90, 0xac, 0x5a, 0xba, 0x49, 0x52, 0x55, 0x0b, - 0x9b, 0x56, 0x87, 0xcf, 0x1e, 0x76, 0x81, 0x9e, 0x83, 0x94, 0xda, 0xb1, 0xba, 0xa6, 0xc7, 0x66, - 0x4e, 0xe5, 0xf4, 0xd7, 0xde, 0x5d, 0x9c, 0xf8, 0xb7, 0xef, 0x2e, 0x26, 0xd6, 0x4c, 0xef, 0x37, - 0xbf, 0xfc, 0x0c, 0x70, 0xaa, 0x35, 0xd3, 0x93, 0xb9, 0x62, 0x39, 0xf9, 0xfe, 0x3b, 0x8b, 0xb1, - 0xd2, 0x6b, 0x30, 0x55, 0xc3, 0xda, 0xbd, 0x30, 0xd7, 0xb0, 0x16, 0x62, 0xae, 0x61, 0xad, 0x87, - 0xf9, 0x12, 0xa4, 0xd7, 0x4c, 0x8f, 0xbd, 0xb5, 0xfe, 0x14, 0x24, 0x74, 0x93, 0xbd, 0x08, 0x79, - 0xa4, 0x6d, 0x44, 0x8b, 0x00, 0x6b, 0x58, 0xf3, 0x81, 0x2d, 0xac, 0xf5, 0x02, 0xfb, 0x6f, 0x4d, - 0xb4, 0x2a, 0xb5, 0xdf, 0xfe, 0x4f, 0x0b, 0x13, 0x6f, 0xbf, 0xb7, 0x30, 0x31, 0x74, 0x88, 0x4b, - 0x43, 0x87, 0xd8, 0x6d, 0x1d, 0xb0, 0x8c, 0xec, 0x8f, 0xec, 0x17, 0x92, 0xf0, 0x10, 0xfd, 0x98, - 0xc9, 0xe9, 0xe8, 0xa6, 0x77, 0x4e, 0x73, 0x0e, 0x6d, 0x8f, 0x96, 0x2b, 0xd6, 0x1e, 0x1f, 0xd8, - 0x99, 0xa0, 0x79, 0x99, 0x35, 0x0f, 0x1e, 0xd6, 0xd2, 0x1e, 0x4c, 0x36, 0x08, 0x8e, 0xb8, 0xd8, - 0xb3, 0x3c, 0xd5, 0xe0, 0xeb, 0x0f, 0xbb, 0x20, 0x52, 0xf6, 0x01, 0x54, 0x9c, 0x49, 0x75, 0xf1, - 0xed, 0x93, 0x81, 0xd5, 0x3d, 0xf6, 0x1e, 0x79, 0x82, 0x16, 0x2e, 0x69, 0x22, 0xa0, 0xaf, 0x8c, - 0xcf, 0xc1, 0xa4, 0xda, 0x65, 0x2f, 0x30, 0x24, 0x48, 0x45, 0x43, 0x2f, 0x4a, 0xd7, 0x61, 0x8a, - 0x3f, 0x46, 0x45, 0x12, 0x24, 0x0e, 0xf0, 0x21, 0xbd, 0x4f, 0x4e, 0x26, 0xff, 0xa2, 0x65, 0x98, - 0xa4, 0xc6, 0xf3, 0x0f, 0x64, 0x8a, 0xcb, 0x7d, 0xd6, 0x2f, 0x53, 0x23, 0x65, 0xa6, 0x56, 0xba, - 0x06, 0xe9, 0x9a, 0xd5, 0xd1, 0x4d, 0x2b, 0xca, 0x96, 0x61, 0x6c, 0xd4, 0x66, 0xbb, 0xcb, 0xa3, - 0x42, 0x66, 0x17, 0xe8, 0x24, 0xa4, 0xd8, 0x77, 0x05, 0xfc, 0x25, 0x0c, 0x7e, 0x55, 0xaa, 0xc2, - 0x14, 0xe5, 0xde, 0xb2, 0x49, 0xf2, 0xf7, 0x5f, 0xe1, 0xcc, 0xf0, 0xaf, 0xcc, 0x38, 0x7d, 0x3c, - 0x30, 0x16, 0x41, 0xb2, 0xa5, 0x7a, 0x2a, 0xef, 0x37, 0xfd, 0xbf, 0xf4, 0xc3, 0x90, 0xe6, 0x24, - 0x2e, 0x3a, 0x0f, 0x09, 0xcb, 0x76, 0xf9, 0x6b, 0x14, 0xf3, 0xc3, 0xba, 0xb2, 0x65, 0x57, 0x92, - 0x24, 0x66, 0x64, 0xa2, 0x5c, 0x91, 0x87, 0x86, 0xc5, 0x8b, 0xa1, 0xb0, 0x08, 0x0d, 0x79, 0xe8, - 0x5f, 0x36, 0xa4, 0x7d, 0xe1, 0xe0, 0x07, 0xcb, 0x67, 0xe3, 0xb0, 0x10, 0x6a, 0xbd, 0x89, 0x1d, - 0x57, 0xb7, 0x4c, 0x16, 0x51, 0x3c, 0x5a, 0x50, 0xc8, 0x48, 0xde, 0x3e, 0x24, 0x5c, 0x3e, 0x02, - 0x89, 0x15, 0xdb, 0x46, 0xf3, 0x90, 0xa6, 0xd7, 0x9a, 0xc5, 0xe2, 0x25, 0x29, 0xfb, 0xd7, 0xa4, - 0xcd, 0xb5, 0xf6, 0xbc, 0x5b, 0xaa, 0xe3, 0x7f, 0x7a, 0x27, 0xae, 0x4b, 0x97, 0x21, 0x53, 0xb5, - 0x4c, 0x17, 0x9b, 0x6e, 0x97, 0x56, 0x36, 0xbb, 0x86, 0xa5, 0x1d, 0x70, 0x06, 0x76, 0x41, 0x1c, - 0xae, 0xda, 0x36, 0x45, 0x26, 0x65, 0xf2, 0x2f, 0x9b, 0xb3, 0x95, 0xe6, 0x50, 0x17, 0x5d, 0x3e, - 0xbe, 0x8b, 0x78, 0x27, 0x7d, 0x1f, 0x7d, 0x3f, 0x06, 0x0f, 0xf6, 0x4f, 0xa8, 0x03, 0x7c, 0xe8, - 0x1e, 0x77, 0x3e, 0xbd, 0x06, 0x99, 0x06, 0xfd, 0xfe, 0xfd, 0x3a, 0x3e, 0x44, 0xf3, 0x30, 0x85, - 0x5b, 0xe7, 0x2f, 0x5c, 0x78, 0xee, 0x32, 0x8b, 0xf6, 0x97, 0x27, 0x64, 0x21, 0x40, 0x0b, 0x90, - 0x71, 0xb1, 0x66, 0x9f, 0xbf, 0x70, 0xf1, 0xe0, 0x39, 0x16, 0x5e, 0x2f, 0x4f, 0xc8, 0x81, 0xa8, - 0x9c, 0x26, 0xbd, 0x7e, 0xff, 0xb3, 0x8b, 0xb1, 0xca, 0x24, 0x24, 0xdc, 0x6e, 0xe7, 0x43, 0x8d, - 0x91, 0x4f, 0x4d, 0xc2, 0x52, 0x18, 0x49, 0xeb, 0xbf, 0x9b, 0xaa, 0xa1, 0xb7, 0xd4, 0xe0, 0x97, - 0x0b, 0xa4, 0x90, 0x0f, 0xa8, 0xc6, 0x90, 0x95, 0xe2, 0x48, 0x4f, 0x96, 0x7e, 0x25, 0x06, 0xb9, - 0x1b, 0x82, 0xb9, 0x89, 0x3d, 0x74, 0x05, 0xc0, 0xbf, 0x93, 0x98, 0x36, 0x0f, 0x2c, 0xf7, 0xde, - 0x6b, 0xd9, 0xc7, 0xc8, 0x21, 0x75, 0x74, 0x89, 0x06, 0xa2, 0x6d, 0xb9, 0xfc, 0x73, 0xac, 0x11, - 0x50, 0x5f, 0x19, 0x3d, 0x0d, 0x88, 0x66, 0x38, 0xe5, 0xa6, 0xe5, 0xe9, 0x66, 0x5b, 0xb1, 0xad, - 0x5b, 0xfc, 0x23, 0xd7, 0x84, 0x2c, 0xd1, 0x96, 0x1b, 0xb4, 0xa1, 0x41, 0xe4, 0xc4, 0xe8, 0x8c, - 0xcf, 0x42, 0x8a, 0x75, 0xb5, 0xd5, 0x72, 0xb0, 0xeb, 0xf2, 0x24, 0x26, 0x2e, 0xd1, 0x15, 0x98, - 0xb2, 0xbb, 0xbb, 0x8a, 0xc8, 0x18, 0xd9, 0xf3, 0x0f, 0x0e, 0x9a, 0xff, 0x22, 0x3e, 0x78, 0x06, - 0x48, 0xd9, 0xdd, 0x5d, 0x12, 0x2d, 0x0f, 0x43, 0x6e, 0x80, 0x31, 0xd9, 0x9b, 0x81, 0x1d, 0xf4, - 0x67, 0x17, 0x78, 0x0f, 0x14, 0xdb, 0xd1, 0x2d, 0x47, 0xf7, 0x0e, 0xe9, 0xbb, 0x50, 0x09, 0x59, - 0x12, 0x0d, 0x0d, 0x2e, 0x2f, 0x1d, 0x40, 0xa1, 0x49, 0x8b, 0xb8, 0xc0, 0xf2, 0x0b, 0x81, 0x7d, - 0xb1, 0xd1, 0xf6, 0x0d, 0xb5, 0x2c, 0xde, 0x67, 0x59, 0xe5, 0x95, 0xa1, 0xd1, 0x79, 0xe9, 0xf8, - 0xd1, 0x19, 0x5d, 0xed, 0x7e, 0xef, 0x74, 0x64, 0x72, 0xb2, 0xe0, 0x0c, 0xa7, 0xaf, 0x71, 0x03, - 0x73, 0xd4, 0x1e, 0x6d, 0xfe, 0xe8, 0x45, 0x75, 0x7e, 0x44, 0x1a, 0x9d, 0x1f, 0x39, 0x85, 0x4a, - 0x97, 0x61, 0xba, 0xa1, 0x3a, 0x5e, 0x13, 0x7b, 0x2f, 0x63, 0xb5, 0x85, 0x9d, 0xe8, 0xaa, 0x3b, - 0x2d, 0x56, 0x5d, 0x04, 0x49, 0xba, 0xb4, 0xb2, 0x55, 0x87, 0xfe, 0x5f, 0xda, 0x87, 0x24, 0x7d, - 0x1f, 0xd2, 0x5f, 0x91, 0x39, 0x82, 0xad, 0xc8, 0x24, 0x97, 0x1e, 0x7a, 0xd8, 0x15, 0xc7, 0x08, - 0xf4, 0x02, 0xbd, 0x20, 0xd6, 0xd5, 0xc4, 0xd1, 0xeb, 0x2a, 0x0f, 0x44, 0xbe, 0xba, 0x1a, 0x30, - 0x55, 0x21, 0xa9, 0x78, 0xad, 0xe6, 0x1b, 0x12, 0x0b, 0x0c, 0x41, 0x1b, 0x50, 0xb0, 0x55, 0xc7, - 0xa3, 0x9f, 0x92, 0xec, 0xd3, 0x5e, 0xf0, 0x58, 0x5f, 0xec, 0x9f, 0x79, 0x91, 0xce, 0xf2, 0xbb, - 0x4c, 0xdb, 0x61, 0x61, 0xe9, 0x3f, 0x27, 0x21, 0xc5, 0x9d, 0xf1, 0x11, 0x98, 0xe2, 0x6e, 0xe5, - 0xd1, 0xf9, 0xd0, 0x72, 0xff, 0xc2, 0xb4, 0xec, 0x2f, 0x20, 0x9c, 0x4f, 0x60, 0xd0, 0xe3, 0x90, - 0xd6, 0xf6, 0x55, 0xdd, 0x54, 0xf4, 0x16, 0x2f, 0x08, 0xb3, 0xef, 0xbd, 0xbb, 0x38, 0x55, 0x25, - 0xb2, 0xb5, 0x9a, 0x3c, 0x45, 0x1b, 0xd7, 0x5a, 0xa4, 0x12, 0xd8, 0xc7, 0x7a, 0x7b, 0xdf, 0xe3, - 0x33, 0x8c, 0x5f, 0xa1, 0x17, 0x21, 0x49, 0x02, 0x82, 0x7f, 0x68, 0x38, 0xdf, 0x57, 0xe1, 0xfb, - 0x5b, 0xe8, 0x4a, 0x9a, 0xdc, 0xf8, 0x13, 0xff, 0x71, 0x31, 0x26, 0x53, 0x04, 0xaa, 0xc2, 0xb4, - 0xa1, 0xba, 0x9e, 0x42, 0x57, 0x30, 0x72, 0xfb, 0x49, 0x4a, 0x71, 0xba, 0xdf, 0x21, 0xdc, 0xb1, - 0xdc, 0xf4, 0x2c, 0x41, 0x31, 0x51, 0x0b, 0x9d, 0x05, 0x89, 0x92, 0x68, 0x56, 0xa7, 0xa3, 0x7b, - 0xac, 0xb6, 0x4a, 0x51, 0xbf, 0xe7, 0x89, 0xbc, 0x4a, 0xc5, 0xb4, 0xc2, 0x7a, 0x00, 0x32, 0xf4, - 0xd3, 0x26, 0xaa, 0xc2, 0x5e, 0xc2, 0x4d, 0x13, 0x01, 0x6d, 0x3c, 0x03, 0x85, 0x20, 0x3f, 0x32, - 0x95, 0x34, 0x63, 0x09, 0xc4, 0x54, 0xf1, 0x59, 0x98, 0x33, 0xf1, 0x6d, 0xfa, 0x5a, 0x70, 0x44, - 0x3b, 0x43, 0xb5, 0x11, 0x69, 0xbb, 0x11, 0x45, 0x3c, 0x06, 0x79, 0x4d, 0x38, 0x9f, 0xe9, 0x02, - 0xd5, 0x9d, 0xf6, 0xa5, 0x54, 0xed, 0x34, 0xa4, 0x55, 0xdb, 0x66, 0x0a, 0x59, 0x9e, 0x1f, 0x6d, - 0x9b, 0x36, 0x3d, 0x09, 0x33, 0xb4, 0x8f, 0x0e, 0x76, 0xbb, 0x86, 0xc7, 0x49, 0x72, 0x54, 0xa7, - 0x40, 0x1a, 0x64, 0x26, 0xa7, 0xba, 0x8f, 0xc0, 0x34, 0xbe, 0xa9, 0xb7, 0xb0, 0xa9, 0x61, 0xa6, - 0x37, 0x4d, 0xf5, 0x72, 0x42, 0x48, 0x95, 0x9e, 0x00, 0x3f, 0xef, 0x29, 0x22, 0x27, 0xe7, 0x19, - 0x9f, 0x90, 0xaf, 0x30, 0x71, 0xa9, 0x08, 0xc9, 0x9a, 0xea, 0xa9, 0xa4, 0xc0, 0xf0, 0x6e, 0xb3, - 0x85, 0x26, 0x27, 0x93, 0x7f, 0x4b, 0xef, 0xc7, 0x21, 0x79, 0xc3, 0xf2, 0x30, 0x7a, 0x3e, 0x54, - 0x00, 0xe6, 0x07, 0xc5, 0x73, 0x53, 0x6f, 0x9b, 0xb8, 0xb5, 0xe1, 0xb6, 0x43, 0xbf, 0x43, 0x10, - 0x84, 0x53, 0x3c, 0x12, 0x4e, 0x73, 0x30, 0xe9, 0x58, 0x5d, 0xb3, 0x25, 0xde, 0x5f, 0xa5, 0x17, - 0xa8, 0x0e, 0x69, 0x3f, 0x4a, 0x92, 0xa3, 0xa2, 0xa4, 0x40, 0xa2, 0x84, 0xc4, 0x30, 0x17, 0xc8, - 0x53, 0xbb, 0x3c, 0x58, 0x2a, 0x90, 0xf1, 0x93, 0x17, 0x8f, 0xb6, 0xf1, 0x02, 0x36, 0x80, 0x91, - 0xc5, 0xc4, 0x1f, 0x7b, 0xdf, 0x79, 0x2c, 0xe2, 0x24, 0xbf, 0x81, 0x7b, 0x2f, 0x12, 0x56, 0xfc, - 0x37, 0x11, 0xa6, 0x68, 0xbf, 0x82, 0xb0, 0x62, 0xbf, 0x8b, 0xf0, 0x20, 0x64, 0x5c, 0xbd, 0x6d, - 0xaa, 0x5e, 0xd7, 0xc1, 0x3c, 0xf2, 0x02, 0x41, 0xe9, 0xab, 0x31, 0x48, 0xb1, 0x48, 0x0e, 0xf9, - 0x2d, 0x36, 0xd8, 0x6f, 0xf1, 0x61, 0x7e, 0x4b, 0xdc, 0xbb, 0xdf, 0x56, 0x00, 0x7c, 0x63, 0x5c, - 0xfe, 0xa9, 0xfa, 0x80, 0x8a, 0x81, 0x99, 0xd8, 0xd4, 0xdb, 0x7c, 0xa2, 0x86, 0x40, 0xa5, 0xff, - 0x10, 0x23, 0x45, 0x2c, 0x6f, 0x47, 0x2b, 0x30, 0x2d, 0xec, 0x52, 0xf6, 0x0c, 0xb5, 0xcd, 0x63, - 0xe7, 0xa1, 0xa1, 0xc6, 0x5d, 0x35, 0xd4, 0xb6, 0x9c, 0xe5, 0xf6, 0x90, 0x8b, 0xc1, 0xe3, 0x10, - 0x1f, 0x32, 0x0e, 0x91, 0x81, 0x4f, 0xdc, 0xdb, 0xc0, 0x47, 0x86, 0x28, 0xd9, 0x3b, 0x44, 0x5f, - 0x8a, 0xd3, 0xcd, 0x8c, 0x6d, 0xb9, 0xaa, 0xf1, 0x83, 0x98, 0x11, 0x0f, 0x40, 0xc6, 0xb6, 0x0c, - 0x85, 0xb5, 0xb0, 0xf7, 0xba, 0xd3, 0xb6, 0x65, 0xc8, 0x7d, 0xc3, 0x3e, 0x79, 0x9f, 0xa6, 0x4b, - 0xea, 0x3e, 0x78, 0x6d, 0xaa, 0xd7, 0x6b, 0x0e, 0xe4, 0x98, 0x2b, 0xf8, 0x5a, 0xf6, 0x2c, 0xf1, - 0x01, 0x5d, 0x1c, 0x63, 0xfd, 0x6b, 0x2f, 0x33, 0x9b, 0x69, 0xca, 0x5c, 0x8f, 0x20, 0x58, 0xea, - 0x1f, 0xb4, 0x0b, 0x0e, 0x87, 0xa5, 0xcc, 0xf5, 0x4a, 0x7f, 0x35, 0x06, 0xb0, 0x4e, 0x3c, 0x4b, - 0xfb, 0x4b, 0x56, 0x21, 0x97, 0x9a, 0xa0, 0x44, 0xee, 0xbc, 0x30, 0x6c, 0xd0, 0xf8, 0xfd, 0x73, - 0x6e, 0xd8, 0xee, 0x2a, 0x4c, 0x07, 0xc1, 0xe8, 0x62, 0x61, 0xcc, 0xc2, 0x11, 0x55, 0x75, 0x13, - 0x7b, 0x72, 0xee, 0x66, 0xe8, 0xaa, 0xf4, 0xcf, 0x63, 0x90, 0xa1, 0x36, 0x6d, 0x60, 0x4f, 0x8d, - 0x8c, 0x61, 0xec, 0xde, 0xc7, 0xf0, 0x21, 0x00, 0x46, 0xe3, 0xea, 0x6f, 0x61, 0x1e, 0x59, 0x19, - 0x2a, 0x69, 0xea, 0x6f, 0x61, 0x74, 0xd1, 0x77, 0x78, 0xe2, 0x68, 0x87, 0x8b, 0xaa, 0x9b, 0xbb, - 0xfd, 0x14, 0x4c, 0xd1, 0x9f, 0x76, 0xba, 0xed, 0xf2, 0x42, 0x3a, 0x65, 0x76, 0x3b, 0xdb, 0xb7, - 0xdd, 0xd2, 0x9b, 0x30, 0xb5, 0x7d, 0x9b, 0x9d, 0x8d, 0x3c, 0x00, 0x19, 0xc7, 0xb2, 0xf8, 0x9a, - 0xcc, 0x6a, 0xa1, 0x34, 0x11, 0xd0, 0x25, 0x48, 0x9c, 0x07, 0xc4, 0x83, 0xf3, 0x80, 0xe0, 0x40, - 0x23, 0x31, 0xd6, 0x81, 0xc6, 0x93, 0xbf, 0x15, 0x83, 0x6c, 0x28, 0x3f, 0xa0, 0xe7, 0xe0, 0x44, - 0x65, 0x7d, 0xab, 0x7a, 0x5d, 0x59, 0xab, 0x29, 0x57, 0xd7, 0x57, 0x56, 0x83, 0x2f, 0x97, 0xe6, - 0x4f, 0xde, 0xb9, 0xbb, 0x84, 0x42, 0xba, 0x3b, 0x26, 0x3d, 0xa7, 0x47, 0xe7, 0x60, 0x2e, 0x0a, - 0x59, 0xa9, 0x34, 0xeb, 0x9b, 0xdb, 0x52, 0x6c, 0xfe, 0xc4, 0x9d, 0xbb, 0x4b, 0x33, 0x21, 0xc4, - 0xca, 0xae, 0x8b, 0x4d, 0xaf, 0x1f, 0x50, 0xdd, 0xda, 0xd8, 0x58, 0xdb, 0x96, 0xe2, 0x7d, 0x00, - 0x9e, 0xb0, 0x9f, 0x80, 0x99, 0x28, 0x60, 0x73, 0x6d, 0x5d, 0x4a, 0xcc, 0xa3, 0x3b, 0x77, 0x97, - 0xf2, 0x21, 0xed, 0x4d, 0xdd, 0x98, 0x4f, 0x7f, 0xec, 0x73, 0x0b, 0x13, 0xbf, 0xf4, 0x8b, 0x0b, - 0x31, 0xd2, 0xb3, 0xe9, 0x48, 0x8e, 0x40, 0x4f, 0xc3, 0xa9, 0xe6, 0xda, 0xea, 0x66, 0xbd, 0xa6, - 0x6c, 0x34, 0x57, 0xc5, 0x49, 0xb7, 0xe8, 0x5d, 0xe1, 0xce, 0xdd, 0xa5, 0x2c, 0xef, 0xd2, 0x30, - 0xed, 0x86, 0x5c, 0xbf, 0xb1, 0xb5, 0x5d, 0x97, 0x62, 0x4c, 0xbb, 0xe1, 0xe0, 0x9b, 0x96, 0xc7, - 0x7e, 0xfb, 0xed, 0x59, 0x38, 0x3d, 0x40, 0xdb, 0xef, 0xd8, 0xcc, 0x9d, 0xbb, 0x4b, 0xd3, 0x0d, - 0x07, 0xb3, 0xf9, 0x43, 0x11, 0xcb, 0x50, 0xec, 0x47, 0x6c, 0x35, 0xb6, 0x9a, 0x2b, 0xeb, 0xd2, - 0xd2, 0xbc, 0x74, 0xe7, 0xee, 0x52, 0x4e, 0x24, 0x43, 0xa2, 0x1f, 0xf4, 0xec, 0xc3, 0xdc, 0xf1, - 0xbc, 0xff, 0x14, 0x3c, 0xca, 0xcf, 0x00, 0x5d, 0x4f, 0x3d, 0xd0, 0xcd, 0xb6, 0x7f, 0x78, 0xcb, - 0xaf, 0xf9, 0xce, 0xe7, 0x24, 0x3f, 0x67, 0x14, 0xd2, 0x11, 0x47, 0xb8, 0x43, 0x9f, 0x5c, 0xce, - 0x8f, 0x78, 0xa8, 0x37, 0x7a, 0xeb, 0x34, 0xfc, 0x78, 0x78, 0x7e, 0xc4, 0x21, 0xf4, 0xfc, 0x91, - 0x9b, 0xbb, 0xd2, 0xc7, 0x63, 0x90, 0x7f, 0x59, 0x77, 0x3d, 0xcb, 0xd1, 0x35, 0xd5, 0xa0, 0xdf, - 0x2b, 0x5d, 0x1c, 0x37, 0xb7, 0xf6, 0x4c, 0xf5, 0x97, 0x20, 0x75, 0x53, 0x35, 0x58, 0x52, 0x0b, - 0x3f, 0x0b, 0xe8, 0x75, 0x5f, 0x90, 0xda, 0x04, 0x01, 0x83, 0x95, 0xbe, 0x18, 0x87, 0x02, 0x9d, - 0x0c, 0x2e, 0xfb, 0xe9, 0x2e, 0xb2, 0xc7, 0x6a, 0x40, 0xd2, 0x51, 0x3d, 0x7e, 0x68, 0x58, 0xf9, - 0x21, 0x7e, 0x0e, 0xfc, 0xf8, 0xe8, 0xd3, 0xdc, 0xe5, 0xfe, 0xa3, 0x62, 0xca, 0x84, 0x5e, 0x85, - 0x74, 0x47, 0xbd, 0xad, 0x50, 0xd6, 0xf8, 0x7d, 0x60, 0x9d, 0xea, 0xa8, 0xb7, 0x89, 0xad, 0xa8, - 0x05, 0x05, 0x42, 0xac, 0xed, 0xab, 0x66, 0x1b, 0x33, 0xfe, 0xc4, 0x7d, 0xe0, 0x9f, 0xee, 0xa8, - 0xb7, 0xab, 0x94, 0x93, 0xdc, 0xa5, 0x9c, 0xfe, 0xe4, 0x3b, 0x8b, 0x13, 0xf4, 0x98, 0xfd, 0xd7, - 0x62, 0x00, 0x81, 0xbb, 0xd0, 0x9f, 0x04, 0x49, 0xf3, 0xaf, 0xe8, 0xed, 0x5d, 0x3e, 0x80, 0x67, - 0x86, 0x0d, 0x44, 0x8f, 0xb3, 0xd9, 0xc2, 0xfc, 0x8d, 0x77, 0x17, 0x63, 0x72, 0x41, 0xeb, 0x19, - 0x87, 0x3a, 0x64, 0xbb, 0x76, 0x4b, 0xf5, 0xb0, 0x42, 0x37, 0x71, 0xf1, 0x63, 0x2c, 0xf2, 0xc0, - 0x80, 0xa4, 0x29, 0x64, 0xfd, 0x17, 0x63, 0x90, 0xad, 0x85, 0x1e, 0xf2, 0x15, 0x61, 0xaa, 0x63, - 0x99, 0xfa, 0x01, 0x0f, 0xbb, 0x8c, 0x2c, 0x2e, 0xd1, 0x3c, 0xa4, 0xd9, 0x97, 0x9a, 0xde, 0xa1, - 0x38, 0xf1, 0x14, 0xd7, 0x04, 0x75, 0x0b, 0xef, 0xba, 0xba, 0xf0, 0xb5, 0x2c, 0x2e, 0xc9, 0xd6, - 0xc5, 0xc5, 0x5a, 0xd7, 0xd1, 0xbd, 0x43, 0x45, 0xb3, 0x4c, 0x4f, 0xd5, 0x3c, 0xfe, 0xcd, 0x5f, - 0x41, 0xc8, 0xab, 0x4c, 0x4c, 0x48, 0x5a, 0xd8, 0x53, 0x75, 0xc3, 0x2d, 0xb2, 0x07, 0x61, 0xe2, - 0x32, 0x64, 0xee, 0xaf, 0xa7, 0xc2, 0x47, 0x54, 0x55, 0x90, 0x2c, 0x1b, 0x3b, 0x91, 0x92, 0x92, - 0x45, 0x68, 0xf1, 0x37, 0xbf, 0xfc, 0xcc, 0x1c, 0x77, 0x37, 0x2f, 0x2a, 0xd9, 0x4b, 0xad, 0x72, - 0x41, 0x20, 0x44, 0xad, 0xf9, 0x3a, 0x19, 0x30, 0xb1, 0xdf, 0xb3, 0xbb, 0xbb, 0xc1, 0xb1, 0xd6, - 0x5c, 0x9f, 0x5f, 0x57, 0xcc, 0xc3, 0x4a, 0xf1, 0xeb, 0x01, 0x75, 0x70, 0x96, 0x74, 0x1d, 0x1f, - 0x92, 0xd1, 0xe2, 0x3c, 0x0d, 0x4a, 0x43, 0x4a, 0xc4, 0x37, 0x55, 0xdd, 0x10, 0x1f, 0xa0, 0xcb, - 0xfc, 0x0a, 0x95, 0x21, 0xe5, 0x7a, 0xaa, 0xd7, 0x75, 0xf9, 0x0f, 0xcb, 0x95, 0x86, 0x45, 0x46, - 0xc5, 0x32, 0x5b, 0x4d, 0xaa, 0x29, 0x73, 0x04, 0xda, 0x86, 0x94, 0x67, 0x1d, 0x60, 0x93, 0x3b, - 0xe9, 0x58, 0x51, 0x3d, 0xe0, 0x59, 0x14, 0xe3, 0x42, 0x6d, 0x90, 0x5a, 0xd8, 0xc0, 0x6d, 0x56, - 0x10, 0xed, 0xab, 0x64, 0xdf, 0x90, 0xba, 0x0f, 0xb3, 0xa6, 0xe0, 0xb3, 0x36, 0x29, 0x29, 0xba, - 0x1e, 0x7d, 0xcc, 0xcc, 0x7e, 0x85, 0xf1, 0x91, 0x61, 0xfd, 0x0f, 0x45, 0xa6, 0x38, 0x4c, 0x08, - 0x3f, 0x91, 0x7e, 0x02, 0xa4, 0xae, 0xb9, 0x6b, 0x99, 0xf4, 0x33, 0x51, 0x5e, 0x8c, 0xa7, 0x69, - 0x79, 0x53, 0xf0, 0xe5, 0x2f, 0xb3, 0xaa, 0xfc, 0x3a, 0xe4, 0x03, 0x55, 0x3a, 0x77, 0x32, 0xc7, - 0x98, 0x3b, 0xd3, 0x3e, 0x96, 0xb4, 0xa2, 0x97, 0x01, 0x82, 0x89, 0x49, 0x8f, 0x07, 0xb2, 0xc3, - 0xc7, 0x30, 0x98, 0xdd, 0x62, 0x9b, 0x15, 0x60, 0x91, 0x01, 0xb3, 0x1d, 0xdd, 0x54, 0x5c, 0x6c, - 0xec, 0x29, 0xdc, 0x55, 0x84, 0x32, 0x7b, 0x1f, 0x86, 0x76, 0xa6, 0xa3, 0x9b, 0x4d, 0x6c, 0xec, - 0xd5, 0x7c, 0xda, 0x72, 0xee, 0x63, 0xef, 0x2c, 0x4e, 0xf0, 0xb9, 0x34, 0x51, 0x6a, 0xd0, 0x23, - 0x6a, 0x3e, 0x0d, 0xb0, 0x8b, 0x2e, 0x42, 0x46, 0x15, 0x17, 0xf4, 0xe0, 0xe0, 0xa8, 0x69, 0x14, - 0xa8, 0xb2, 0xd9, 0xf9, 0xf6, 0xbf, 0x5f, 0x8a, 0x95, 0x7e, 0x31, 0x06, 0xa9, 0xda, 0x8d, 0x86, - 0xaa, 0x3b, 0xa8, 0x0e, 0x33, 0x41, 0x40, 0x8d, 0x3b, 0x37, 0x83, 0x18, 0x14, 0x93, 0xb3, 0x3e, - 0x6c, 0xd7, 0x78, 0x24, 0x4d, 0xef, 0x7e, 0xb2, 0xa7, 0xe3, 0x75, 0x98, 0x62, 0x56, 0xba, 0xa8, - 0x0c, 0x93, 0x36, 0xf9, 0x87, 0x9f, 0xc8, 0x2f, 0x0c, 0x0d, 0x44, 0xaa, 0xef, 0x9f, 0x20, 0x12, - 0x48, 0xe9, 0xfb, 0x31, 0x80, 0xda, 0x8d, 0x1b, 0xdb, 0x8e, 0x6e, 0x1b, 0xd8, 0xbb, 0x5f, 0x3d, - 0x5e, 0x87, 0x13, 0xa1, 0xad, 0x89, 0xa3, 0x8d, 0xdd, 0xeb, 0xd9, 0x60, 0x73, 0xe2, 0x68, 0x03, - 0xd9, 0x5a, 0xae, 0xe7, 0xb3, 0x25, 0xc6, 0x66, 0xab, 0xb9, 0xde, 0x60, 0x37, 0x36, 0x21, 0x1b, - 0x74, 0xdf, 0x45, 0x35, 0x48, 0x7b, 0xfc, 0x7f, 0xee, 0xcd, 0xd2, 0x70, 0x6f, 0x0a, 0x18, 0xf7, - 0xa8, 0x8f, 0x2c, 0xfd, 0x5f, 0xe2, 0x54, 0x3f, 0x62, 0xff, 0x68, 0x85, 0x11, 0xc9, 0xbd, 0x3c, - 0x37, 0xde, 0x8f, 0x8a, 0x82, 0x73, 0xf5, 0x78, 0xf5, 0xa3, 0x71, 0x98, 0xdd, 0x11, 0xd9, 0xe6, - 0x8f, 0xac, 0x27, 0x1a, 0x30, 0x85, 0x4d, 0xcf, 0xd1, 0xa9, 0x2b, 0xc8, 0x58, 0x3f, 0x3b, 0x6c, - 0xac, 0x07, 0xf4, 0x85, 0xfe, 0xbe, 0x91, 0x38, 0xd7, 0xe6, 0x34, 0x3d, 0x5e, 0xf8, 0x77, 0x71, - 0x28, 0x0e, 0x43, 0xa2, 0x33, 0x50, 0xd0, 0x1c, 0x4c, 0x05, 0x4a, 0xe4, 0x70, 0x2d, 0x2f, 0xc4, - 0x3c, 0xe9, 0x6f, 0x00, 0x29, 0xa0, 0x48, 0x60, 0x11, 0xd5, 0x63, 0x57, 0x4c, 0xf9, 0x00, 0x4c, - 0xd3, 0x3e, 0x86, 0x82, 0x6e, 0xea, 0x9e, 0xae, 0x1a, 0xca, 0xae, 0x6a, 0xa8, 0xa6, 0x76, 0x2f, - 0x95, 0x65, 0x7f, 0xa2, 0xce, 0x73, 0xd2, 0x0a, 0xe3, 0x44, 0x37, 0x60, 0x4a, 0xd0, 0x27, 0xef, - 0x03, 0xbd, 0x20, 0x0b, 0x55, 0x51, 0xbf, 0x13, 0x87, 0x19, 0x19, 0xb7, 0xfe, 0x78, 0xb9, 0xf5, - 0x47, 0x00, 0xd8, 0x84, 0x23, 0x79, 0xf0, 0x1e, 0x3c, 0xdb, 0x3f, 0x81, 0x33, 0x8c, 0xaf, 0xe6, - 0x7a, 0x21, 0xdf, 0x7e, 0x3d, 0x0e, 0xb9, 0xb0, 0x6f, 0xff, 0x18, 0xac, 0x0b, 0x68, 0x2d, 0xc8, - 0x06, 0x49, 0xfe, 0xcb, 0xac, 0x43, 0xb2, 0x41, 0x5f, 0xd4, 0x1d, 0x9d, 0x06, 0xbe, 0x1b, 0x87, - 0x54, 0x43, 0x75, 0xd4, 0x8e, 0x8b, 0xae, 0xf5, 0x15, 0x70, 0xe2, 0x94, 0xad, 0xef, 0xf7, 0xb7, - 0xf9, 0xa6, 0x9e, 0x85, 0xdc, 0x27, 0x07, 0xd4, 0x6f, 0x8f, 0x41, 0x9e, 0x6c, 0x11, 0x43, 0x0f, - 0xe4, 0xe3, 0xf4, 0x31, 0x23, 0xd9, 0xe3, 0x05, 0x4f, 0x83, 0xd0, 0x22, 0x64, 0x89, 0x5a, 0x90, - 0xe8, 0x88, 0x0e, 0x74, 0xd4, 0xdb, 0x75, 0x26, 0x41, 0xcf, 0x00, 0xda, 0xf7, 0x37, 0xed, 0x4a, - 0xe0, 0x02, 0xa2, 0x37, 0x13, 0xb4, 0x08, 0xf5, 0x87, 0x00, 0x88, 0x15, 0x0a, 0x7b, 0xc9, 0x8b, - 0xed, 0x71, 0x32, 0x44, 0x52, 0xa3, 0x2f, 0x7a, 0xfd, 0x38, 0xab, 0x05, 0x7b, 0x76, 0x8f, 0xbc, - 0x0c, 0x5f, 0x3f, 0x5e, 0xa4, 0x7e, 0xf7, 0xdd, 0xc5, 0xf9, 0x43, 0xb5, 0x63, 0x94, 0x4b, 0x03, - 0x28, 0x4b, 0xb4, 0x36, 0x8c, 0xee, 0x3a, 0x43, 0x11, 0xfc, 0xb9, 0x18, 0xa0, 0x20, 0xe5, 0xca, - 0xd8, 0xb5, 0xc9, 0xb6, 0x86, 0x14, 0xbd, 0xa1, 0x0a, 0x35, 0x76, 0x74, 0xd1, 0x1b, 0xe0, 0x45, - 0xd1, 0x1b, 0x9a, 0x11, 0x97, 0x83, 0x04, 0x17, 0xe7, 0x63, 0x38, 0xe0, 0x0d, 0xbd, 0xe5, 0xaa, - 0xa5, 0x0b, 0x74, 0x5f, 0x0e, 0x9b, 0x28, 0xfd, 0x4e, 0x0c, 0x4e, 0xf7, 0x45, 0x93, 0x6f, 0xec, - 0x9f, 0x02, 0xe4, 0x84, 0x1a, 0xf9, 0x4f, 0xec, 0x31, 0xa3, 0x8f, 0x1d, 0x9c, 0x33, 0x4e, 0x5f, - 0xae, 0xfc, 0xb0, 0x72, 0x34, 0x7b, 0x73, 0xef, 0x9f, 0xc6, 0x60, 0x2e, 0x6c, 0x8c, 0xdf, 0xad, - 0x4d, 0xc8, 0x85, 0x6d, 0xe1, 0x1d, 0x7a, 0x74, 0x9c, 0x0e, 0xf1, 0xbe, 0x44, 0xf0, 0xe8, 0x95, - 0x60, 0xe2, 0xb2, 0xc3, 0xa2, 0xe7, 0xc6, 0xf6, 0x8d, 0xb0, 0xa9, 0x77, 0x02, 0x27, 0x45, 0x15, - 0x93, 0x6c, 0x58, 0x96, 0x81, 0xfe, 0x34, 0xcc, 0x98, 0x96, 0xa7, 0x90, 0x28, 0xc7, 0x2d, 0x85, - 0xef, 0x5c, 0x59, 0xf6, 0x7b, 0xe5, 0x78, 0x2e, 0xfb, 0xf6, 0xbb, 0x8b, 0xfd, 0x54, 0x3d, 0x7e, - 0x2c, 0x98, 0x96, 0x57, 0xa1, 0xed, 0xdb, 0x6c, 0x5f, 0xeb, 0xc0, 0x74, 0xf4, 0xd6, 0x2c, 0x5b, - 0x6e, 0x1c, 0xfb, 0xd6, 0xd3, 0x47, 0xdd, 0x36, 0xb7, 0x1b, 0xba, 0x27, 0x7b, 0xa7, 0xe9, 0xf7, - 0xdf, 0x59, 0x8c, 0x3d, 0xf9, 0x95, 0x18, 0x40, 0xb0, 0x85, 0x47, 0x4f, 0xc3, 0xa9, 0xca, 0xd6, - 0x66, 0x4d, 0x69, 0x6e, 0xaf, 0x6c, 0xef, 0x34, 0xa3, 0x6f, 0x3e, 0x8b, 0x33, 0x61, 0xd7, 0xc6, - 0x1a, 0xfd, 0x01, 0x42, 0xf4, 0x38, 0xcc, 0x45, 0xb5, 0xc9, 0x55, 0xbd, 0x26, 0xc5, 0xe6, 0x73, - 0x77, 0xee, 0x2e, 0xa5, 0x59, 0x75, 0x84, 0x5b, 0xe8, 0x2c, 0x9c, 0xe8, 0xd7, 0x5b, 0xdb, 0x5c, - 0x95, 0xe2, 0xf3, 0xd3, 0x77, 0xee, 0x2e, 0x65, 0xfc, 0x32, 0x0a, 0x95, 0x00, 0x85, 0x35, 0x39, - 0x5f, 0x62, 0x1e, 0xee, 0xdc, 0x5d, 0x4a, 0x31, 0xb7, 0xcd, 0x27, 0x3f, 0xf6, 0xb9, 0x85, 0x89, - 0xca, 0xd5, 0xa1, 0xa7, 0xbe, 0x4f, 0x1f, 0xe9, 0xb1, 0xdb, 0xfe, 0x49, 0x6e, 0xe4, 0xa8, 0xf7, - 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x72, 0x38, 0x1c, 0x34, 0x66, 0x00, 0x00, + // 7520 bytes of a gzipped FileDescriptorSet + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0xbc, 0x6b, 0x70, 0x24, 0xd7, + 0x75, 0x1f, 0x8e, 0x79, 0x60, 0x30, 0x73, 0x66, 0x30, 0xd3, 0xb8, 0xc0, 0xee, 0xce, 0x82, 0x24, + 0x00, 0x0e, 0x1f, 0xbb, 0x7c, 0x61, 0xc9, 0x25, 0x77, 0x97, 0x3b, 0x6b, 0x89, 0x7f, 0xcc, 0x63, + 0x41, 0xec, 0xe2, 0x31, 0xec, 0x01, 0x96, 0x0f, 0xff, 0x93, 0x4e, 0xa3, 0xe7, 0x62, 0xd0, 0x44, + 0x4f, 0x77, 0xbb, 0xbb, 0x67, 0x77, 0xc1, 0x72, 0x52, 0x74, 0x29, 0x0f, 0x69, 0x53, 0x71, 0x64, + 0x3b, 0x15, 0xcb, 0xb2, 0x56, 0xa1, 0x2c, 0x27, 0x72, 0x14, 0xe5, 0x61, 0x4b, 0x51, 0xe2, 0xb8, + 0x92, 0x28, 0xa9, 0x4a, 0x22, 0xeb, 0x43, 0x4a, 0xf6, 0x87, 0xd8, 0xce, 0x83, 0x71, 0x28, 0x55, + 0xc2, 0x38, 0x72, 0xec, 0xc8, 0x4c, 0x55, 0x52, 0x2a, 0xa5, 0x52, 0xf7, 0xd5, 0x8f, 0x79, 0x60, + 0x06, 0x9b, 0xa5, 0xec, 0x2a, 0x7f, 0xc2, 0xf4, 0xb9, 0xe7, 0xf7, 0xeb, 0x73, 0xcf, 0x3d, 0xf7, + 0xdc, 0x73, 0x6f, 0x77, 0x03, 0xfe, 0xe0, 0x0a, 0x2c, 0xb5, 0x2d, 0xab, 0x6d, 0xe0, 0x73, 0xb6, + 0x63, 0x79, 0xd6, 0x6e, 0x77, 0xef, 0x5c, 0x0b, 0xbb, 0x9a, 0xa3, 0xdb, 0x9e, 0xe5, 0x2c, 0x53, + 0x19, 0x2a, 0x30, 0x8d, 0x65, 0xa1, 0x51, 0xda, 0x80, 0x99, 0xab, 0xba, 0x81, 0x6b, 0xbe, 0x62, + 0x13, 0x7b, 0xe8, 0x45, 0x48, 0xee, 0xe9, 0x06, 0x2e, 0xc6, 0x96, 0x12, 0x67, 0xb3, 0xe7, 0x1f, + 0x5d, 0xee, 0x01, 0x2d, 0x47, 0x11, 0x0d, 0x22, 0x96, 0x29, 0xa2, 0xf4, 0xed, 0x24, 0xcc, 0x0e, + 0x68, 0x45, 0x08, 0x92, 0xa6, 0xda, 0x21, 0x8c, 0xb1, 0xb3, 0x19, 0x99, 0xfe, 0x46, 0x45, 0x98, + 0xb2, 0x55, 0xed, 0x40, 0x6d, 0xe3, 0x62, 0x9c, 0x8a, 0xc5, 0x25, 0x5a, 0x00, 0x68, 0x61, 0x1b, + 0x9b, 0x2d, 0x6c, 0x6a, 0x87, 0xc5, 0xc4, 0x52, 0xe2, 0x6c, 0x46, 0x0e, 0x49, 0xd0, 0x53, 0x30, + 0x63, 0x77, 0x77, 0x0d, 0x5d, 0x53, 0x42, 0x6a, 0xb0, 0x94, 0x38, 0x3b, 0x29, 0x4b, 0xac, 0xa1, + 0x16, 0x28, 0x9f, 0x81, 0xc2, 0x2d, 0xac, 0x1e, 0x84, 0x55, 0xb3, 0x54, 0x35, 0x4f, 0xc4, 0x21, + 0xc5, 0x2a, 0xe4, 0x3a, 0xd8, 0x75, 0xd5, 0x36, 0x56, 0xbc, 0x43, 0x1b, 0x17, 0x93, 0xb4, 0xf7, + 0x4b, 0x7d, 0xbd, 0xef, 0xed, 0x79, 0x96, 0xa3, 0xb6, 0x0f, 0x6d, 0x8c, 0x56, 0x20, 0x83, 0xcd, + 0x6e, 0x87, 0x31, 0x4c, 0x0e, 0xf1, 0x5f, 0xdd, 0xec, 0x76, 0x7a, 0x59, 0xd2, 0x04, 0xc6, 0x29, + 0xa6, 0x5c, 0xec, 0xdc, 0xd4, 0x35, 0x5c, 0x4c, 0x51, 0x82, 0x33, 0x7d, 0x04, 0x4d, 0xd6, 0xde, + 0xcb, 0x21, 0x70, 0xa8, 0x0a, 0x19, 0x7c, 0xdb, 0xc3, 0xa6, 0xab, 0x5b, 0x66, 0x71, 0x8a, 0x92, + 0x3c, 0x36, 0x60, 0x14, 0xb1, 0xd1, 0xea, 0xa5, 0x08, 0x70, 0xe8, 0x22, 0x4c, 0x59, 0xb6, 0xa7, + 0x5b, 0xa6, 0x5b, 0x4c, 0x2f, 0xc5, 0xce, 0x66, 0xcf, 0x3f, 0x38, 0x30, 0x10, 0xb6, 0x98, 0x8e, + 0x2c, 0x94, 0xd1, 0x1a, 0x48, 0xae, 0xd5, 0x75, 0x34, 0xac, 0x68, 0x56, 0x0b, 0x2b, 0xba, 0xb9, + 0x67, 0x15, 0x33, 0x94, 0x60, 0xb1, 0xbf, 0x23, 0x54, 0xb1, 0x6a, 0xb5, 0xf0, 0x9a, 0xb9, 0x67, + 0xc9, 0x79, 0x37, 0x72, 0x8d, 0x4e, 0x42, 0xca, 0x3d, 0x34, 0x3d, 0xf5, 0x76, 0x31, 0x47, 0x23, + 0x84, 0x5f, 0x95, 0x7e, 0x39, 0x05, 0x85, 0x71, 0x42, 0xec, 0x0a, 0x4c, 0xee, 0x91, 0x5e, 0x16, + 0xe3, 0xc7, 0xf1, 0x01, 0xc3, 0x44, 0x9d, 0x98, 0xba, 0x47, 0x27, 0xae, 0x40, 0xd6, 0xc4, 0xae, + 0x87, 0x5b, 0x2c, 0x22, 0x12, 0x63, 0xc6, 0x14, 0x30, 0x50, 0x7f, 0x48, 0x25, 0xef, 0x29, 0xa4, + 0x5e, 0x83, 0x82, 0x6f, 0x92, 0xe2, 0xa8, 0x66, 0x5b, 0xc4, 0xe6, 0xb9, 0x51, 0x96, 0x2c, 0xd7, + 0x05, 0x4e, 0x26, 0x30, 0x39, 0x8f, 0x23, 0xd7, 0xa8, 0x06, 0x60, 0x99, 0xd8, 0xda, 0x53, 0x5a, + 0x58, 0x33, 0x8a, 0xe9, 0x21, 0x5e, 0xda, 0x22, 0x2a, 0x7d, 0x5e, 0xb2, 0x98, 0x54, 0x33, 0xd0, + 0xe5, 0x20, 0xd4, 0xa6, 0x86, 0x44, 0xca, 0x06, 0x9b, 0x64, 0x7d, 0xd1, 0xb6, 0x03, 0x79, 0x07, + 0x93, 0xb8, 0xc7, 0x2d, 0xde, 0xb3, 0x0c, 0x35, 0x62, 0x79, 0x64, 0xcf, 0x64, 0x0e, 0x63, 0x1d, + 0x9b, 0x76, 0xc2, 0x97, 0xe8, 0x11, 0xf0, 0x05, 0x0a, 0x0d, 0x2b, 0xa0, 0x59, 0x28, 0x27, 0x84, + 0x9b, 0x6a, 0x07, 0xcf, 0xbf, 0x05, 0xf9, 0xa8, 0x7b, 0xd0, 0x1c, 0x4c, 0xba, 0x9e, 0xea, 0x78, + 0x34, 0x0a, 0x27, 0x65, 0x76, 0x81, 0x24, 0x48, 0x60, 0xb3, 0x45, 0xb3, 0xdc, 0xa4, 0x4c, 0x7e, + 0xa2, 0xff, 0x2f, 0xe8, 0x70, 0x82, 0x76, 0xf8, 0xf1, 0xfe, 0x11, 0x8d, 0x30, 0xf7, 0xf6, 0x7b, + 0xfe, 0x12, 0x4c, 0x47, 0x3a, 0x30, 0xee, 0xad, 0x4b, 0x3f, 0x0a, 0x27, 0x06, 0x52, 0xa3, 0xd7, + 0x60, 0xae, 0x6b, 0xea, 0xa6, 0x87, 0x1d, 0xdb, 0xc1, 0x24, 0x62, 0xd9, 0xad, 0x8a, 0xff, 0x65, + 0x6a, 0x48, 0xcc, 0xed, 0x84, 0xb5, 0x19, 0x8b, 0x3c, 0xdb, 0xed, 0x17, 0x3e, 0x99, 0x49, 0xbf, + 0x3f, 0x25, 0xbd, 0xfd, 0xf6, 0xdb, 0x6f, 0xc7, 0x4b, 0xff, 0x2c, 0x05, 0x73, 0x83, 0xe6, 0xcc, + 0xc0, 0xe9, 0x7b, 0x12, 0x52, 0x66, 0xb7, 0xb3, 0x8b, 0x1d, 0xea, 0xa4, 0x49, 0x99, 0x5f, 0xa1, + 0x15, 0x98, 0x34, 0xd4, 0x5d, 0x6c, 0x14, 0x93, 0x4b, 0xb1, 0xb3, 0xf9, 0xf3, 0x4f, 0x8d, 0x35, + 0x2b, 0x97, 0xd7, 0x09, 0x44, 0x66, 0x48, 0xf4, 0x51, 0x48, 0xf2, 0x14, 0x4d, 0x18, 0x9e, 0x1c, + 0x8f, 0x81, 0xcc, 0x25, 0x99, 0xe2, 0xd0, 0x03, 0x90, 0x21, 0x7f, 0x59, 0x6c, 0xa4, 0xa8, 0xcd, + 0x69, 0x22, 0x20, 0x71, 0x81, 0xe6, 0x21, 0x4d, 0xa7, 0x49, 0x0b, 0x8b, 0xa5, 0xcd, 0xbf, 0x26, + 0x81, 0xd5, 0xc2, 0x7b, 0x6a, 0xd7, 0xf0, 0x94, 0x9b, 0xaa, 0xd1, 0xc5, 0x34, 0xe0, 0x33, 0x72, + 0x8e, 0x0b, 0x6f, 0x10, 0x19, 0x5a, 0x84, 0x2c, 0x9b, 0x55, 0xba, 0xd9, 0xc2, 0xb7, 0x69, 0xf6, + 0x9c, 0x94, 0xd9, 0x44, 0x5b, 0x23, 0x12, 0x72, 0xfb, 0x37, 0x5d, 0xcb, 0x14, 0xa1, 0x49, 0x6f, + 0x41, 0x04, 0xf4, 0xf6, 0x97, 0x7a, 0x13, 0xf7, 0x43, 0x83, 0xbb, 0xd7, 0x37, 0x97, 0xce, 0x40, + 0x81, 0x6a, 0x3c, 0xcf, 0x87, 0x5e, 0x35, 0x8a, 0x33, 0x4b, 0xb1, 0xb3, 0x69, 0x39, 0xcf, 0xc4, + 0x5b, 0x5c, 0x5a, 0xfa, 0x6a, 0x1c, 0x92, 0x34, 0xb1, 0x14, 0x20, 0xbb, 0xfd, 0x7a, 0xa3, 0xae, + 0xd4, 0xb6, 0x76, 0x2a, 0xeb, 0x75, 0x29, 0x86, 0xf2, 0x00, 0x54, 0x70, 0x75, 0x7d, 0x6b, 0x65, + 0x5b, 0x8a, 0xfb, 0xd7, 0x6b, 0x9b, 0xdb, 0x17, 0x5f, 0x90, 0x12, 0x3e, 0x60, 0x87, 0x09, 0x92, + 0x61, 0x85, 0xe7, 0xcf, 0x4b, 0x93, 0x48, 0x82, 0x1c, 0x23, 0x58, 0x7b, 0xad, 0x5e, 0xbb, 0xf8, + 0x82, 0x94, 0x8a, 0x4a, 0x9e, 0x3f, 0x2f, 0x4d, 0xa1, 0x69, 0xc8, 0x50, 0x49, 0x65, 0x6b, 0x6b, + 0x5d, 0x4a, 0xfb, 0x9c, 0xcd, 0x6d, 0x79, 0x6d, 0x73, 0x55, 0xca, 0xf8, 0x9c, 0xab, 0xf2, 0xd6, + 0x4e, 0x43, 0x02, 0x9f, 0x61, 0xa3, 0xde, 0x6c, 0xae, 0xac, 0xd6, 0xa5, 0xac, 0xaf, 0x51, 0x79, + 0x7d, 0xbb, 0xde, 0x94, 0x72, 0x11, 0xb3, 0x9e, 0x3f, 0x2f, 0x4d, 0xfb, 0xb7, 0xa8, 0x6f, 0xee, + 0x6c, 0x48, 0x79, 0x34, 0x03, 0xd3, 0xec, 0x16, 0xc2, 0x88, 0x42, 0x8f, 0xe8, 0xe2, 0x0b, 0x92, + 0x14, 0x18, 0xc2, 0x58, 0x66, 0x22, 0x82, 0x8b, 0x2f, 0x48, 0xa8, 0x54, 0x85, 0x49, 0x1a, 0x86, + 0x08, 0x41, 0x7e, 0x7d, 0xa5, 0x52, 0x5f, 0x57, 0xb6, 0x1a, 0xdb, 0x6b, 0x5b, 0x9b, 0x2b, 0xeb, + 0x52, 0x2c, 0x90, 0xc9, 0xf5, 0x57, 0x76, 0xd6, 0xe4, 0x7a, 0x4d, 0x8a, 0x87, 0x65, 0x8d, 0xfa, + 0xca, 0x76, 0xbd, 0x26, 0x25, 0x4a, 0x1a, 0xcc, 0x0d, 0x4a, 0xa8, 0x03, 0xa7, 0x50, 0x28, 0x16, + 0xe2, 0x43, 0x62, 0x81, 0x72, 0xf5, 0xc6, 0x42, 0xe9, 0x5b, 0x71, 0x98, 0x1d, 0xb0, 0xa8, 0x0c, + 0xbc, 0xc9, 0x4b, 0x30, 0xc9, 0x62, 0x99, 0x2d, 0xb3, 0x4f, 0x0c, 0x5c, 0x9d, 0x68, 0x64, 0xf7, + 0x2d, 0xb5, 0x14, 0x17, 0x2e, 0x35, 0x12, 0x43, 0x4a, 0x0d, 0x42, 0xd1, 0x17, 0xb0, 0x7f, 0xa2, + 0x2f, 0xf9, 0xb3, 0xf5, 0xf1, 0xe2, 0x38, 0xeb, 0x23, 0x95, 0x1d, 0x6f, 0x11, 0x98, 0x1c, 0xb0, + 0x08, 0x5c, 0x81, 0x99, 0x3e, 0xa2, 0xb1, 0x93, 0xf1, 0xc7, 0x62, 0x50, 0x1c, 0xe6, 0x9c, 0x11, + 0x29, 0x31, 0x1e, 0x49, 0x89, 0x57, 0x7a, 0x3d, 0xf8, 0xf0, 0xf0, 0x41, 0xe8, 0x1b, 0xeb, 0x2f, + 0xc4, 0xe0, 0xe4, 0xe0, 0x92, 0x72, 0xa0, 0x0d, 0x1f, 0x85, 0x54, 0x07, 0x7b, 0xfb, 0x96, 0x28, + 0xab, 0x1e, 0x1f, 0xb0, 0x58, 0x93, 0xe6, 0xde, 0xc1, 0xe6, 0xa8, 0xf0, 0x6a, 0x9f, 0x18, 0x56, + 0x17, 0x32, 0x6b, 0xfa, 0x2c, 0xfd, 0x44, 0x1c, 0x4e, 0x0c, 0x24, 0x1f, 0x68, 0xe8, 0x43, 0x00, + 0xba, 0x69, 0x77, 0x3d, 0x56, 0x3a, 0xb1, 0x4c, 0x9c, 0xa1, 0x12, 0x9a, 0xbc, 0x48, 0x96, 0xed, + 0x7a, 0x7e, 0x7b, 0x82, 0xb6, 0x03, 0x13, 0x51, 0x85, 0x17, 0x03, 0x43, 0x93, 0xd4, 0xd0, 0x85, + 0x21, 0x3d, 0xed, 0x0b, 0xcc, 0x67, 0x41, 0xd2, 0x0c, 0x1d, 0x9b, 0x9e, 0xe2, 0x7a, 0x0e, 0x56, + 0x3b, 0xba, 0xd9, 0xa6, 0x4b, 0x4d, 0xba, 0x3c, 0xb9, 0xa7, 0x1a, 0x2e, 0x96, 0x0b, 0xac, 0xb9, + 0x29, 0x5a, 0x09, 0x82, 0x06, 0x90, 0x13, 0x42, 0xa4, 0x22, 0x08, 0xd6, 0xec, 0x23, 0x4a, 0x3f, + 0x91, 0x81, 0x6c, 0xa8, 0x00, 0x47, 0x0f, 0x43, 0xee, 0x4d, 0xf5, 0xa6, 0xaa, 0x88, 0x4d, 0x15, + 0xf3, 0x44, 0x96, 0xc8, 0x1a, 0x7c, 0x63, 0xf5, 0x2c, 0xcc, 0x51, 0x15, 0xab, 0xeb, 0x61, 0x47, + 0xd1, 0x0c, 0xd5, 0x75, 0xa9, 0xd3, 0xd2, 0x54, 0x15, 0x91, 0xb6, 0x2d, 0xd2, 0x54, 0x15, 0x2d, + 0xe8, 0x02, 0xcc, 0x52, 0x44, 0xa7, 0x6b, 0x78, 0xba, 0x6d, 0x60, 0x85, 0x6c, 0xf3, 0x5c, 0xba, + 0xe4, 0xf8, 0x96, 0xcd, 0x10, 0x8d, 0x0d, 0xae, 0x40, 0x2c, 0x72, 0x51, 0x0d, 0x1e, 0xa2, 0xb0, + 0x36, 0x36, 0xb1, 0xa3, 0x7a, 0x58, 0xc1, 0x3f, 0xd2, 0x55, 0x0d, 0x57, 0x51, 0xcd, 0x96, 0xb2, + 0xaf, 0xba, 0xfb, 0xc5, 0x39, 0x42, 0x50, 0x89, 0x17, 0x63, 0xf2, 0x69, 0xa2, 0xb8, 0xca, 0xf5, + 0xea, 0x54, 0x6d, 0xc5, 0x6c, 0xbd, 0xac, 0xba, 0xfb, 0xa8, 0x0c, 0x27, 0x29, 0x8b, 0xeb, 0x39, + 0xba, 0xd9, 0x56, 0xb4, 0x7d, 0xac, 0x1d, 0x28, 0x5d, 0x6f, 0xef, 0xc5, 0xe2, 0x03, 0xe1, 0xfb, + 0x53, 0x0b, 0x9b, 0x54, 0xa7, 0x4a, 0x54, 0x76, 0xbc, 0xbd, 0x17, 0x51, 0x13, 0x72, 0x64, 0x30, + 0x3a, 0xfa, 0x5b, 0x58, 0xd9, 0xb3, 0x1c, 0xba, 0x86, 0xe6, 0x07, 0xa4, 0xa6, 0x90, 0x07, 0x97, + 0xb7, 0x38, 0x60, 0xc3, 0x6a, 0xe1, 0xf2, 0x64, 0xb3, 0x51, 0xaf, 0xd7, 0xe4, 0xac, 0x60, 0xb9, + 0x6a, 0x39, 0x24, 0xa0, 0xda, 0x96, 0xef, 0xe0, 0x2c, 0x0b, 0xa8, 0xb6, 0x25, 0xdc, 0x7b, 0x01, + 0x66, 0x35, 0x8d, 0xf5, 0x59, 0xd7, 0x14, 0xbe, 0x19, 0x73, 0x8b, 0x52, 0xc4, 0x59, 0x9a, 0xb6, + 0xca, 0x14, 0x78, 0x8c, 0xbb, 0xe8, 0x32, 0x9c, 0x08, 0x9c, 0x15, 0x06, 0xce, 0xf4, 0xf5, 0xb2, + 0x17, 0x7a, 0x01, 0x66, 0xed, 0xc3, 0x7e, 0x20, 0x8a, 0xdc, 0xd1, 0x3e, 0xec, 0x85, 0x5d, 0x82, + 0x39, 0x7b, 0xdf, 0xee, 0xc7, 0x3d, 0x19, 0xc6, 0x21, 0x7b, 0xdf, 0xee, 0x05, 0x3e, 0x46, 0x77, + 0xe6, 0x0e, 0xd6, 0x54, 0x0f, 0xb7, 0x8a, 0xa7, 0xc2, 0xea, 0xa1, 0x06, 0xb4, 0x0c, 0x92, 0xa6, + 0x29, 0xd8, 0x54, 0x77, 0x0d, 0xac, 0xa8, 0x0e, 0x36, 0x55, 0xb7, 0xb8, 0x48, 0x95, 0x93, 0x9e, + 0xd3, 0xc5, 0x72, 0x5e, 0xd3, 0xea, 0xb4, 0x71, 0x85, 0xb6, 0xa1, 0x27, 0x61, 0xc6, 0xda, 0x7d, + 0x53, 0x63, 0x11, 0xa9, 0xd8, 0x0e, 0xde, 0xd3, 0x6f, 0x17, 0x1f, 0xa5, 0xee, 0x2d, 0x90, 0x06, + 0x1a, 0x8f, 0x0d, 0x2a, 0x46, 0x4f, 0x80, 0xa4, 0xb9, 0xfb, 0xaa, 0x63, 0xd3, 0x94, 0xec, 0xda, + 0xaa, 0x86, 0x8b, 0x8f, 0x31, 0x55, 0x26, 0xdf, 0x14, 0x62, 0x32, 0x23, 0xdc, 0x5b, 0xfa, 0x9e, + 0x27, 0x18, 0xcf, 0xb0, 0x19, 0x41, 0x65, 0x9c, 0xed, 0x2c, 0x48, 0xc4, 0x13, 0x91, 0x1b, 0x9f, + 0xa5, 0x6a, 0x79, 0x7b, 0xdf, 0x0e, 0xdf, 0xf7, 0x11, 0x98, 0x26, 0x9a, 0xc1, 0x4d, 0x9f, 0x60, + 0x85, 0x9b, 0xbd, 0x1f, 0xba, 0xe3, 0x0b, 0x70, 0x92, 0x28, 0x75, 0xb0, 0xa7, 0xb6, 0x54, 0x4f, + 0x0d, 0x69, 0x3f, 0x4d, 0xb5, 0x89, 0xdb, 0x37, 0x78, 0x63, 0xc4, 0x4e, 0xa7, 0xbb, 0x7b, 0xe8, + 0x07, 0xd6, 0x33, 0xcc, 0x4e, 0x22, 0x13, 0xa1, 0xf5, 0xa1, 0x15, 0xe7, 0xa5, 0x32, 0xe4, 0xc2, + 0x71, 0x8f, 0x32, 0xc0, 0x22, 0x5f, 0x8a, 0x91, 0x22, 0xa8, 0xba, 0x55, 0x23, 0xe5, 0xcb, 0x1b, + 0x75, 0x29, 0x4e, 0xca, 0xa8, 0xf5, 0xb5, 0xed, 0xba, 0x22, 0xef, 0x6c, 0x6e, 0xaf, 0x6d, 0xd4, + 0xa5, 0x44, 0xa8, 0xb0, 0xbf, 0x96, 0x4c, 0x3f, 0x2e, 0x9d, 0x21, 0x55, 0x43, 0x3e, 0xba, 0x53, + 0x43, 0x3f, 0x04, 0xa7, 0xc4, 0xb1, 0x8a, 0x8b, 0x3d, 0xe5, 0x96, 0xee, 0xd0, 0x09, 0xd9, 0x51, + 0xd9, 0xe2, 0xe8, 0xc7, 0xcf, 0x1c, 0xd7, 0x6a, 0x62, 0xef, 0x55, 0xdd, 0x21, 0xd3, 0xad, 0xa3, + 0x7a, 0x68, 0x1d, 0x16, 0x4d, 0x4b, 0x71, 0x3d, 0xd5, 0x6c, 0xa9, 0x4e, 0x4b, 0x09, 0x0e, 0xb4, + 0x14, 0x55, 0xd3, 0xb0, 0xeb, 0x5a, 0x6c, 0x21, 0xf4, 0x59, 0x1e, 0x34, 0xad, 0x26, 0x57, 0x0e, + 0x56, 0x88, 0x15, 0xae, 0xda, 0x13, 0xbe, 0x89, 0x61, 0xe1, 0xfb, 0x00, 0x64, 0x3a, 0xaa, 0xad, + 0x60, 0xd3, 0x73, 0x0e, 0x69, 0x7d, 0x9e, 0x96, 0xd3, 0x1d, 0xd5, 0xae, 0x93, 0xeb, 0x1f, 0xc8, + 0x36, 0xe9, 0x5a, 0x32, 0x9d, 0x94, 0x26, 0xaf, 0x25, 0xd3, 0x93, 0x52, 0xea, 0x5a, 0x32, 0x9d, + 0x92, 0xa6, 0xae, 0x25, 0xd3, 0x69, 0x29, 0x73, 0x2d, 0x99, 0xce, 0x48, 0x50, 0xfa, 0xc9, 0x24, + 0xe4, 0xc2, 0x15, 0x3c, 0xd9, 0x10, 0x69, 0x74, 0x0d, 0x8b, 0xd1, 0x2c, 0xf7, 0xc8, 0x91, 0xf5, + 0xfe, 0x72, 0x95, 0x2c, 0x6e, 0xe5, 0x14, 0x2b, 0x97, 0x65, 0x86, 0x24, 0x85, 0x05, 0x09, 0x3f, + 0xcc, 0xca, 0x93, 0xb4, 0xcc, 0xaf, 0xd0, 0x2a, 0xa4, 0xde, 0x74, 0x29, 0x77, 0x8a, 0x72, 0x3f, + 0x7a, 0x34, 0xf7, 0xb5, 0x26, 0x25, 0xcf, 0x5c, 0x6b, 0x2a, 0x9b, 0x5b, 0xf2, 0xc6, 0xca, 0xba, + 0xcc, 0xe1, 0xe8, 0x34, 0x24, 0x0d, 0xf5, 0xad, 0xc3, 0xe8, 0x32, 0x48, 0x45, 0x68, 0x19, 0x0a, + 0x5d, 0xf3, 0x26, 0x76, 0xf4, 0x3d, 0x1d, 0xb7, 0x14, 0xaa, 0x55, 0x08, 0x6b, 0xe5, 0x83, 0xd6, + 0x75, 0xa2, 0x3f, 0xe6, 0x30, 0x9e, 0x86, 0xe4, 0x2d, 0xac, 0x1e, 0x44, 0x17, 0x2b, 0x2a, 0xfa, + 0x10, 0xa7, 0xd3, 0x39, 0x98, 0xa4, 0xfe, 0x45, 0x00, 0xdc, 0xc3, 0xd2, 0x04, 0x4a, 0x43, 0xb2, + 0xba, 0x25, 0x93, 0x29, 0x25, 0x41, 0x8e, 0x49, 0x95, 0xc6, 0x5a, 0xbd, 0x5a, 0x97, 0xe2, 0xa5, + 0x0b, 0x90, 0x62, 0x4e, 0x23, 0xd3, 0xcd, 0x77, 0x9b, 0x34, 0xc1, 0x2f, 0x39, 0x47, 0x4c, 0xb4, + 0xee, 0x6c, 0x54, 0xea, 0xb2, 0x14, 0xef, 0x0b, 0x96, 0x92, 0x0b, 0xb9, 0x70, 0x25, 0xff, 0x83, + 0xd9, 0xce, 0x7f, 0x2d, 0x06, 0xd9, 0x50, 0x65, 0x4e, 0x4a, 0x2a, 0xd5, 0x30, 0xac, 0x5b, 0x8a, + 0x6a, 0xe8, 0xaa, 0xcb, 0x43, 0x09, 0xa8, 0x68, 0x85, 0x48, 0xc6, 0x1d, 0xba, 0x1f, 0xd0, 0x24, + 0x9b, 0x94, 0x52, 0xa5, 0xcf, 0xc6, 0x40, 0xea, 0x2d, 0x8d, 0x7b, 0xcc, 0x8c, 0xfd, 0x61, 0x9a, + 0x59, 0xfa, 0x4c, 0x0c, 0xf2, 0xd1, 0x7a, 0xb8, 0xc7, 0xbc, 0x87, 0xff, 0x50, 0xcd, 0xfb, 0xed, + 0x38, 0x4c, 0x47, 0xaa, 0xe0, 0x71, 0xad, 0xfb, 0x11, 0x98, 0xd1, 0x5b, 0xb8, 0x63, 0x5b, 0x1e, + 0x36, 0xb5, 0x43, 0xc5, 0xc0, 0x37, 0xb1, 0x51, 0x2c, 0xd1, 0x24, 0x73, 0xee, 0xe8, 0x3a, 0x7b, + 0x79, 0x2d, 0xc0, 0xad, 0x13, 0x58, 0x79, 0x76, 0xad, 0x56, 0xdf, 0x68, 0x6c, 0x6d, 0xd7, 0x37, + 0xab, 0xaf, 0x2b, 0x3b, 0x9b, 0xd7, 0x37, 0xb7, 0x5e, 0xdd, 0x94, 0x25, 0xbd, 0x47, 0xed, 0x43, + 0x9c, 0xf6, 0x0d, 0x90, 0x7a, 0x8d, 0x42, 0xa7, 0x60, 0x90, 0x59, 0xd2, 0x04, 0x9a, 0x85, 0xc2, + 0xe6, 0x96, 0xd2, 0x5c, 0xab, 0xd5, 0x95, 0xfa, 0xd5, 0xab, 0xf5, 0xea, 0x76, 0x93, 0x9d, 0x9c, + 0xf8, 0xda, 0xdb, 0x91, 0x09, 0x5e, 0xfa, 0x74, 0x02, 0x66, 0x07, 0x58, 0x82, 0x56, 0xf8, 0x9e, + 0x87, 0x6d, 0xc3, 0x9e, 0x19, 0xc7, 0xfa, 0x65, 0x52, 0x75, 0x34, 0x54, 0xc7, 0xe3, 0x5b, 0xa4, + 0x27, 0x80, 0x78, 0xc9, 0xf4, 0x48, 0x72, 0x75, 0xf8, 0x89, 0x14, 0xdb, 0x08, 0x15, 0x02, 0x39, + 0x3b, 0x94, 0x7a, 0x1a, 0x90, 0x6d, 0xb9, 0xba, 0xa7, 0xdf, 0xc4, 0x8a, 0x6e, 0x8a, 0xe3, 0x2b, + 0xb2, 0x31, 0x4a, 0xca, 0x92, 0x68, 0x59, 0x33, 0x3d, 0x5f, 0xdb, 0xc4, 0x6d, 0xb5, 0x47, 0x9b, + 0x24, 0xff, 0x84, 0x2c, 0x89, 0x16, 0x5f, 0xfb, 0x61, 0xc8, 0xb5, 0xac, 0x2e, 0xa9, 0x16, 0x99, + 0x1e, 0x59, 0x6b, 0x62, 0x72, 0x96, 0xc9, 0x7c, 0x15, 0xbe, 0x0f, 0x08, 0xce, 0xcd, 0x72, 0x72, + 0x96, 0xc9, 0x98, 0xca, 0x19, 0x28, 0xa8, 0xed, 0xb6, 0x43, 0xc8, 0x05, 0x11, 0xdb, 0xd9, 0xe4, + 0x7d, 0x31, 0x55, 0x9c, 0xbf, 0x06, 0x69, 0xe1, 0x07, 0xb2, 0xd8, 0x13, 0x4f, 0x28, 0x36, 0xdb, + 0xae, 0xc7, 0xcf, 0x66, 0xe4, 0xb4, 0x29, 0x1a, 0x1f, 0x86, 0x9c, 0xee, 0x2a, 0xc1, 0x63, 0x80, + 0xf8, 0x52, 0xfc, 0x6c, 0x5a, 0xce, 0xea, 0xae, 0x7f, 0x84, 0x5a, 0xfa, 0x42, 0x1c, 0xf2, 0xd1, + 0xc7, 0x18, 0xa8, 0x06, 0x69, 0xc3, 0xd2, 0x54, 0x1a, 0x5a, 0xec, 0x19, 0xda, 0xd9, 0x11, 0x4f, + 0x3e, 0x96, 0xd7, 0xb9, 0xbe, 0xec, 0x23, 0xe7, 0xff, 0x75, 0x0c, 0xd2, 0x42, 0x8c, 0x4e, 0x42, + 0xd2, 0x56, 0xbd, 0x7d, 0x4a, 0x37, 0x59, 0x89, 0x4b, 0x31, 0x99, 0x5e, 0x13, 0xb9, 0x6b, 0xab, + 0x26, 0x0d, 0x01, 0x2e, 0x27, 0xd7, 0x64, 0x5c, 0x0d, 0xac, 0xb6, 0xe8, 0xb6, 0xc9, 0xea, 0x74, + 0xb0, 0xe9, 0xb9, 0x62, 0x5c, 0xb9, 0xbc, 0xca, 0xc5, 0xe8, 0x29, 0x98, 0xf1, 0x1c, 0x55, 0x37, + 0x22, 0xba, 0x49, 0xaa, 0x2b, 0x89, 0x06, 0x5f, 0xb9, 0x0c, 0xa7, 0x05, 0x6f, 0x0b, 0x7b, 0xaa, + 0xb6, 0x8f, 0x5b, 0x01, 0x28, 0x45, 0x8f, 0x47, 0x4e, 0x71, 0x85, 0x1a, 0x6f, 0x17, 0xd8, 0xd2, + 0xaf, 0xc5, 0x60, 0x46, 0x6c, 0xf4, 0x5a, 0xbe, 0xb3, 0x36, 0x00, 0x54, 0xd3, 0xb4, 0xbc, 0xb0, + 0xbb, 0xfa, 0x43, 0xb9, 0x0f, 0xb7, 0xbc, 0xe2, 0x83, 0xe4, 0x10, 0xc1, 0x7c, 0x07, 0x20, 0x68, + 0x19, 0xea, 0xb6, 0x45, 0xc8, 0xf2, 0x67, 0x54, 0xf4, 0x41, 0x27, 0x3b, 0x1a, 0x00, 0x26, 0x22, + 0x3b, 0x42, 0x34, 0x07, 0x93, 0xbb, 0xb8, 0xad, 0x9b, 0xfc, 0xe4, 0x99, 0x5d, 0x88, 0x03, 0x9c, + 0xa4, 0x7f, 0x80, 0x53, 0xf9, 0x33, 0x30, 0xab, 0x59, 0x9d, 0x5e, 0x73, 0x2b, 0x52, 0xcf, 0xf1, + 0x84, 0xfb, 0x72, 0xec, 0x8d, 0x67, 0xb8, 0x52, 0xdb, 0x32, 0x54, 0xb3, 0xbd, 0x6c, 0x39, 0xed, + 0xe0, 0x41, 0x2d, 0xa9, 0x90, 0xdc, 0xd0, 0xe3, 0x5a, 0x7b, 0xf7, 0x7f, 0xc5, 0x62, 0x3f, 0x17, + 0x4f, 0xac, 0x36, 0x2a, 0x5f, 0x8c, 0xcf, 0xaf, 0x32, 0x60, 0x43, 0x38, 0x43, 0xc6, 0x7b, 0x06, + 0xd6, 0x48, 0x07, 0xe1, 0x77, 0x9f, 0x82, 0xb9, 0xb6, 0xd5, 0xb6, 0x28, 0xd3, 0x39, 0xf2, 0x8b, + 0x3f, 0xe9, 0xcd, 0xf8, 0xd2, 0xf9, 0x91, 0x8f, 0x85, 0xcb, 0x9b, 0x30, 0xcb, 0x95, 0x15, 0xfa, + 0xa8, 0x89, 0x6d, 0x84, 0xd0, 0x91, 0xa7, 0x70, 0xc5, 0x5f, 0xfc, 0x36, 0x5d, 0xbe, 0xe5, 0x19, + 0x0e, 0x25, 0x6d, 0x6c, 0xaf, 0x54, 0x96, 0xe1, 0x44, 0x84, 0x8f, 0x4d, 0x52, 0xec, 0x8c, 0x60, + 0xfc, 0x17, 0x9c, 0x71, 0x36, 0xc4, 0xd8, 0xe4, 0xd0, 0x72, 0x15, 0xa6, 0x8f, 0xc3, 0xf5, 0x2f, + 0x39, 0x57, 0x0e, 0x87, 0x49, 0x56, 0xa1, 0x40, 0x49, 0xb4, 0xae, 0xeb, 0x59, 0x1d, 0x9a, 0x01, + 0x8f, 0xa6, 0xf9, 0x57, 0xdf, 0x66, 0xb3, 0x26, 0x4f, 0x60, 0x55, 0x1f, 0x55, 0x2e, 0x03, 0x7d, + 0xba, 0xd6, 0xc2, 0x9a, 0x31, 0x82, 0xe1, 0xeb, 0xdc, 0x10, 0x5f, 0xbf, 0x7c, 0x03, 0xe6, 0xc8, + 0x6f, 0x9a, 0xa0, 0xc2, 0x96, 0x8c, 0x3e, 0xb2, 0x2b, 0xfe, 0xda, 0xc7, 0xd8, 0xc4, 0x9c, 0xf5, + 0x09, 0x42, 0x36, 0x85, 0x46, 0xb1, 0x8d, 0x3d, 0x0f, 0x3b, 0xae, 0xa2, 0x1a, 0x83, 0xcc, 0x0b, + 0x9d, 0x79, 0x14, 0x7f, 0xe6, 0x3b, 0xd1, 0x51, 0x5c, 0x65, 0xc8, 0x15, 0xc3, 0x28, 0xef, 0xc0, + 0xa9, 0x01, 0x51, 0x31, 0x06, 0xe7, 0xa7, 0x39, 0xe7, 0x5c, 0x5f, 0x64, 0x10, 0xda, 0x06, 0x08, + 0xb9, 0x3f, 0x96, 0x63, 0x70, 0xfe, 0x2c, 0xe7, 0x44, 0x1c, 0x2b, 0x86, 0x94, 0x30, 0x5e, 0x83, + 0x99, 0x9b, 0xd8, 0xd9, 0xb5, 0x5c, 0x7e, 0xce, 0x34, 0x06, 0xdd, 0x67, 0x38, 0x5d, 0x81, 0x03, + 0xe9, 0xc1, 0x13, 0xe1, 0xba, 0x0c, 0xe9, 0x3d, 0x55, 0xc3, 0x63, 0x50, 0xdc, 0xe5, 0x14, 0x53, + 0x44, 0x9f, 0x40, 0x57, 0x20, 0xd7, 0xb6, 0xf8, 0x1a, 0x35, 0x1a, 0xfe, 0x59, 0x0e, 0xcf, 0x0a, + 0x0c, 0xa7, 0xb0, 0x2d, 0xbb, 0x6b, 0x90, 0x05, 0x6c, 0x34, 0xc5, 0x5f, 0x13, 0x14, 0x02, 0xc3, + 0x29, 0x8e, 0xe1, 0xd6, 0x77, 0x04, 0x85, 0x1b, 0xf2, 0xe7, 0x4b, 0x90, 0xb5, 0x4c, 0xe3, 0xd0, + 0x32, 0xc7, 0x31, 0xe2, 0x73, 0x9c, 0x01, 0x38, 0x84, 0x10, 0x5c, 0x81, 0xcc, 0xb8, 0x03, 0xf1, + 0xd7, 0xbf, 0x23, 0xa6, 0x87, 0x18, 0x81, 0x55, 0x28, 0x88, 0x04, 0xa5, 0x5b, 0xe6, 0x18, 0x14, + 0x7f, 0x83, 0x53, 0xe4, 0x43, 0x30, 0xde, 0x0d, 0x0f, 0xbb, 0x5e, 0x1b, 0x8f, 0x43, 0xf2, 0x05, + 0xd1, 0x0d, 0x0e, 0xe1, 0xae, 0xdc, 0xc5, 0xa6, 0xb6, 0x3f, 0x1e, 0xc3, 0x2f, 0x08, 0x57, 0x0a, + 0x0c, 0xa1, 0xa8, 0xc2, 0x74, 0x47, 0x75, 0xdc, 0x7d, 0xd5, 0x18, 0x6b, 0x38, 0xfe, 0x26, 0xe7, + 0xc8, 0xf9, 0x20, 0xee, 0x91, 0xae, 0x79, 0x1c, 0x9a, 0x2f, 0x0a, 0x8f, 0x84, 0x60, 0x7c, 0xea, + 0xb9, 0x1e, 0x3d, 0x94, 0x3b, 0x0e, 0xdb, 0xdf, 0x12, 0x53, 0x8f, 0x61, 0x37, 0xc2, 0x8c, 0x57, + 0x20, 0xe3, 0xea, 0x6f, 0x8d, 0x45, 0xf3, 0x25, 0x31, 0xd2, 0x14, 0x40, 0xc0, 0xaf, 0xc3, 0xe9, + 0x81, 0xcb, 0xc4, 0x18, 0x64, 0x7f, 0x9b, 0x93, 0x9d, 0x1c, 0xb0, 0x54, 0xf0, 0x94, 0x70, 0x5c, + 0xca, 0xbf, 0x23, 0x52, 0x02, 0xee, 0xe1, 0x6a, 0x90, 0x5d, 0x83, 0xab, 0xee, 0x1d, 0xcf, 0x6b, + 0x7f, 0x57, 0x78, 0x8d, 0x61, 0x23, 0x5e, 0xdb, 0x86, 0x93, 0x9c, 0xf1, 0x78, 0xe3, 0xfa, 0xf7, + 0x44, 0x62, 0x65, 0xe8, 0x9d, 0xe8, 0xe8, 0xfe, 0x30, 0xcc, 0xfb, 0xee, 0x14, 0xe5, 0xa9, 0xab, + 0x74, 0x54, 0x7b, 0x0c, 0xe6, 0x5f, 0xe4, 0xcc, 0x22, 0xe3, 0xfb, 0xf5, 0xad, 0xbb, 0xa1, 0xda, + 0x84, 0xfc, 0x35, 0x28, 0x0a, 0xf2, 0xae, 0xe9, 0x60, 0xcd, 0x6a, 0x9b, 0xfa, 0x5b, 0xb8, 0x35, + 0x06, 0xf5, 0x2f, 0xf5, 0x0c, 0xd5, 0x4e, 0x08, 0x4e, 0x98, 0xd7, 0x40, 0xf2, 0x6b, 0x15, 0x45, + 0xef, 0xd8, 0x96, 0xe3, 0x8d, 0x60, 0xfc, 0xb2, 0x18, 0x29, 0x1f, 0xb7, 0x46, 0x61, 0xe5, 0x3a, + 0xb0, 0x27, 0xd5, 0xe3, 0x86, 0xe4, 0x57, 0x38, 0xd1, 0x74, 0x80, 0xe2, 0x89, 0x43, 0xb3, 0x3a, + 0xb6, 0xea, 0x8c, 0x93, 0xff, 0xfe, 0xbe, 0x48, 0x1c, 0x1c, 0xc2, 0x13, 0x07, 0xa9, 0xe8, 0xc8, + 0x6a, 0x3f, 0x06, 0xc3, 0x57, 0x45, 0xe2, 0x10, 0x18, 0x4e, 0x21, 0x0a, 0x86, 0x31, 0x28, 0xfe, + 0x81, 0xa0, 0x10, 0x18, 0x42, 0xf1, 0x4a, 0xb0, 0xd0, 0x3a, 0xb8, 0xad, 0xbb, 0x9e, 0xc3, 0x8a, + 0xe2, 0xa3, 0xa9, 0xfe, 0xe1, 0x77, 0xa2, 0x45, 0x98, 0x1c, 0x82, 0x92, 0x4c, 0xc4, 0x8f, 0x69, + 0xe9, 0x9e, 0x69, 0xb4, 0x61, 0xbf, 0x2c, 0x32, 0x51, 0x08, 0x46, 0x6c, 0x0b, 0x55, 0x88, 0xc4, + 0xed, 0x1a, 0xd9, 0x29, 0x8c, 0x41, 0xf7, 0x8f, 0x7a, 0x8c, 0x6b, 0x0a, 0x2c, 0xe1, 0x0c, 0xd5, + 0x3f, 0x5d, 0xf3, 0x00, 0x1f, 0x8e, 0x15, 0x9d, 0xbf, 0xd2, 0x53, 0xff, 0xec, 0x30, 0x24, 0xcb, + 0x21, 0x85, 0x9e, 0x7a, 0x0a, 0x8d, 0x7a, 0x2f, 0xa9, 0xf8, 0x63, 0x1f, 0xf0, 0xfe, 0x46, 0xcb, + 0xa9, 0xf2, 0x3a, 0x09, 0xf2, 0x68, 0xd1, 0x33, 0x9a, 0xec, 0x63, 0x1f, 0xf8, 0x71, 0x1e, 0xa9, + 0x79, 0xca, 0x57, 0x61, 0x3a, 0x52, 0xf0, 0x8c, 0xa6, 0xfa, 0xb3, 0x9c, 0x2a, 0x17, 0xae, 0x77, + 0xca, 0x17, 0x20, 0x49, 0x8a, 0x97, 0xd1, 0xf0, 0x3f, 0xc7, 0xe1, 0x54, 0xbd, 0xfc, 0x11, 0x48, + 0x8b, 0xa2, 0x65, 0x34, 0xf4, 0xcf, 0x73, 0xa8, 0x0f, 0x21, 0x70, 0x51, 0xb0, 0x8c, 0x86, 0xff, + 0x05, 0x01, 0x17, 0x10, 0x02, 0x1f, 0xdf, 0x85, 0x5f, 0xfb, 0x8b, 0x49, 0xbe, 0xe8, 0x08, 0xdf, + 0x5d, 0x81, 0x29, 0x5e, 0xa9, 0x8c, 0x46, 0x7f, 0x82, 0xdf, 0x5c, 0x20, 0xca, 0x97, 0x60, 0x72, + 0x4c, 0x87, 0xff, 0x25, 0x0e, 0x65, 0xfa, 0xe5, 0x2a, 0x64, 0x43, 0xd5, 0xc9, 0x68, 0xf8, 0x8f, + 0x73, 0x78, 0x18, 0x45, 0x4c, 0xe7, 0xd5, 0xc9, 0x68, 0x82, 0xbf, 0x2c, 0x4c, 0xe7, 0x08, 0xe2, + 0x36, 0x51, 0x98, 0x8c, 0x46, 0x7f, 0x52, 0x78, 0x5d, 0x40, 0xca, 0x2f, 0x41, 0xc6, 0x5f, 0x6c, + 0x46, 0xe3, 0x7f, 0x82, 0xe3, 0x03, 0x0c, 0xf1, 0x40, 0x68, 0xb1, 0x1b, 0x4d, 0xf1, 0x93, 0xc2, + 0x03, 0x21, 0x14, 0x99, 0x46, 0xbd, 0x05, 0xcc, 0x68, 0xa6, 0x9f, 0x12, 0xd3, 0xa8, 0xa7, 0x7e, + 0x21, 0xa3, 0x49, 0x73, 0xfe, 0x68, 0x8a, 0xbf, 0x22, 0x46, 0x93, 0xea, 0x13, 0x33, 0x7a, 0x2b, + 0x82, 0xd1, 0x1c, 0x3f, 0x2d, 0xcc, 0xe8, 0x29, 0x08, 0xca, 0x0d, 0x40, 0xfd, 0xd5, 0xc0, 0x68, + 0xbe, 0x4f, 0x71, 0xbe, 0x99, 0xbe, 0x62, 0xa0, 0xfc, 0x2a, 0x9c, 0x1c, 0x5c, 0x09, 0x8c, 0x66, + 0xfd, 0x99, 0x0f, 0x7a, 0xf6, 0x6e, 0xe1, 0x42, 0xa0, 0xbc, 0x1d, 0x2c, 0x29, 0xe1, 0x2a, 0x60, + 0x34, 0xed, 0xa7, 0x3f, 0x88, 0x26, 0xee, 0x70, 0x11, 0x50, 0x5e, 0x01, 0x08, 0x16, 0xe0, 0xd1, + 0x5c, 0x9f, 0xe1, 0x5c, 0x21, 0x10, 0x99, 0x1a, 0x7c, 0xfd, 0x1d, 0x8d, 0xbf, 0x2b, 0xa6, 0x06, + 0x47, 0x90, 0xa9, 0x21, 0x96, 0xde, 0xd1, 0xe8, 0xcf, 0x8a, 0xa9, 0x21, 0x20, 0x24, 0xb2, 0x43, + 0xab, 0xdb, 0x68, 0x86, 0xcf, 0x89, 0xc8, 0x0e, 0xa1, 0xca, 0x9b, 0x30, 0xd3, 0xb7, 0x20, 0x8e, + 0xa6, 0xfa, 0x39, 0x4e, 0x25, 0xf5, 0xae, 0x87, 0xe1, 0xc5, 0x8b, 0x2f, 0x86, 0xa3, 0xd9, 0x3e, + 0xdf, 0xb3, 0x78, 0xf1, 0xb5, 0xb0, 0x7c, 0x05, 0xd2, 0x66, 0xd7, 0x30, 0xc8, 0xe4, 0x41, 0x47, + 0xbf, 0x4b, 0x58, 0xfc, 0xaf, 0xdf, 0xe3, 0xde, 0x11, 0x80, 0xf2, 0x05, 0x98, 0xc4, 0x9d, 0x5d, + 0xdc, 0x1a, 0x85, 0xfc, 0x9d, 0xef, 0x89, 0x84, 0x49, 0xb4, 0xcb, 0x2f, 0x01, 0xb0, 0xa3, 0x11, + 0xfa, 0xf0, 0x70, 0x04, 0xf6, 0xbf, 0x7d, 0x8f, 0xbf, 0xbc, 0x13, 0x40, 0x02, 0x02, 0xf6, 0x2a, + 0xd0, 0xd1, 0x04, 0xdf, 0x89, 0x12, 0xd0, 0x11, 0xb9, 0x0c, 0x53, 0x6f, 0xba, 0x96, 0xe9, 0xa9, + 0xed, 0x51, 0xe8, 0xdf, 0xe5, 0x68, 0xa1, 0x4f, 0x1c, 0xd6, 0xb1, 0x1c, 0xec, 0xa9, 0x6d, 0x77, + 0x14, 0xf6, 0xbf, 0x73, 0xac, 0x0f, 0x20, 0x60, 0x4d, 0x75, 0xbd, 0x71, 0xfa, 0xfd, 0x7b, 0x02, + 0x2c, 0x00, 0xc4, 0x68, 0xf2, 0xfb, 0x00, 0x1f, 0x8e, 0xc2, 0xfe, 0xbe, 0x30, 0x9a, 0xeb, 0x97, + 0x3f, 0x02, 0x19, 0xf2, 0x93, 0xbd, 0x91, 0x37, 0x02, 0xfc, 0x3f, 0x38, 0x38, 0x40, 0x90, 0x3b, + 0xbb, 0x5e, 0xcb, 0xd3, 0x47, 0x3b, 0xfb, 0xbb, 0x7c, 0xa4, 0x85, 0x7e, 0x79, 0x05, 0xb2, 0xae, + 0xd7, 0x6a, 0x75, 0x79, 0x7d, 0x3a, 0x02, 0xfe, 0x07, 0xdf, 0xf3, 0x8f, 0x2c, 0x7c, 0x0c, 0x19, + 0xed, 0x5b, 0x07, 0x9e, 0x6d, 0xd1, 0x07, 0x1e, 0xa3, 0x18, 0x3e, 0xe0, 0x0c, 0x21, 0x48, 0xb9, + 0x0a, 0x39, 0xd2, 0x17, 0x07, 0xdb, 0x98, 0x3e, 0x9d, 0x1a, 0x41, 0xf1, 0x3f, 0xb9, 0x03, 0x22, + 0xa0, 0xca, 0x9f, 0xfa, 0xfa, 0x7b, 0x0b, 0xb1, 0x6f, 0xbe, 0xb7, 0x10, 0xfb, 0xed, 0xf7, 0x16, + 0x62, 0x9f, 0xfc, 0xd6, 0xc2, 0xc4, 0x37, 0xbf, 0xb5, 0x30, 0xf1, 0x9b, 0xdf, 0x5a, 0x98, 0x18, + 0x7c, 0x4a, 0x0c, 0xab, 0xd6, 0xaa, 0xc5, 0xce, 0x87, 0xdf, 0x78, 0xac, 0xad, 0x7b, 0xfb, 0xdd, + 0xdd, 0x65, 0xcd, 0xea, 0x9c, 0xd3, 0x2c, 0xb7, 0x63, 0xb9, 0xe7, 0xa2, 0xe7, 0xba, 0xf4, 0x17, + 0x7c, 0x3f, 0x46, 0xf6, 0xcc, 0xd1, 0xe3, 0x5c, 0xd5, 0x3c, 0x1c, 0xf6, 0x79, 0xcf, 0x45, 0x48, + 0xac, 0x98, 0x87, 0xe8, 0x34, 0x4b, 0x70, 0x4a, 0xd7, 0x31, 0xf8, 0x6b, 0x61, 0x53, 0xe4, 0x7a, + 0xc7, 0x31, 0xd0, 0x5c, 0xf0, 0xee, 0x66, 0xec, 0x6c, 0x8e, 0xbf, 0x90, 0x59, 0xf9, 0xf1, 0xd8, + 0xf1, 0x7a, 0x92, 0x5e, 0x31, 0x0f, 0x69, 0x47, 0x1a, 0xb1, 0x37, 0x9e, 0x1e, 0x79, 0xce, 0x7d, + 0x60, 0x5a, 0xb7, 0x4c, 0x62, 0xb6, 0xbd, 0x2b, 0xce, 0xb8, 0x17, 0x7a, 0xcf, 0xb8, 0x5f, 0xc5, + 0x86, 0x71, 0x9d, 0xe8, 0x6d, 0x13, 0xc8, 0x6e, 0x8a, 0xbd, 0x81, 0x0c, 0x3f, 0x15, 0x87, 0x85, + 0xbe, 0xe3, 0x6c, 0x1e, 0x04, 0xc3, 0x9c, 0x50, 0x86, 0x74, 0x4d, 0xc4, 0x56, 0x11, 0xa6, 0x5c, + 0xac, 0x59, 0x66, 0xcb, 0xa5, 0x8e, 0x48, 0xc8, 0xe2, 0x92, 0x38, 0xc2, 0x54, 0x4d, 0xcb, 0xe5, + 0x2f, 0x56, 0xb2, 0x8b, 0xca, 0xcf, 0x1e, 0xd3, 0x11, 0xd3, 0xe2, 0x4e, 0xc2, 0x1b, 0xcf, 0x8d, + 0xe9, 0x0d, 0xd1, 0x89, 0xc8, 0xc9, 0xff, 0xb8, 0x5e, 0xf9, 0xe9, 0x38, 0x2c, 0xf6, 0x7a, 0x85, + 0xcc, 0x2c, 0xd7, 0x53, 0x3b, 0xf6, 0x30, 0xb7, 0x5c, 0x81, 0xcc, 0xb6, 0xd0, 0x39, 0xb6, 0x5f, + 0xee, 0x1e, 0xd3, 0x2f, 0x79, 0xff, 0x56, 0xc2, 0x31, 0xe7, 0xc7, 0x74, 0x8c, 0xdf, 0x8f, 0x7b, + 0xf2, 0xcc, 0xff, 0x4e, 0xc1, 0x69, 0x36, 0x9d, 0x14, 0x36, 0x95, 0xd8, 0x05, 0xf7, 0x49, 0x2e, + 0xdc, 0x34, 0xfa, 0x39, 0x49, 0xe9, 0x3a, 0xcc, 0xae, 0x91, 0x6c, 0x41, 0x76, 0x41, 0xc1, 0x13, + 0x9e, 0x81, 0xef, 0x9e, 0x2e, 0x45, 0x0a, 0x7e, 0xfe, 0x84, 0x29, 0x2c, 0x2a, 0xfd, 0x58, 0x0c, + 0xa4, 0xa6, 0xa6, 0x1a, 0xaa, 0xf3, 0xff, 0x4a, 0x85, 0x2e, 0x01, 0xd0, 0x6f, 0x96, 0x82, 0x8f, + 0x8c, 0xf2, 0xe7, 0x8b, 0xcb, 0xe1, 0xce, 0x2d, 0xb3, 0x3b, 0xd1, 0x2f, 0x18, 0x32, 0x54, 0x97, + 0xfc, 0x7c, 0xf2, 0x35, 0x80, 0xa0, 0x01, 0x3d, 0x00, 0xa7, 0x9a, 0xd5, 0x95, 0xf5, 0x15, 0x59, + 0x61, 0x2f, 0xc3, 0x6f, 0x36, 0x1b, 0xf5, 0xea, 0xda, 0xd5, 0xb5, 0x7a, 0x4d, 0x9a, 0x40, 0x27, + 0x01, 0x85, 0x1b, 0xfd, 0xf7, 0x52, 0x4e, 0xc0, 0x4c, 0x58, 0xce, 0xde, 0xa8, 0x8f, 0x93, 0x4a, + 0x51, 0xef, 0xd8, 0x06, 0xa6, 0x8f, 0xfe, 0x14, 0x5d, 0x78, 0x6d, 0x74, 0x11, 0xf2, 0xab, 0xff, + 0x86, 0xbd, 0x65, 0x3d, 0x1b, 0xc0, 0x7d, 0x9f, 0x97, 0xd7, 0x61, 0x46, 0xd5, 0x34, 0x6c, 0x47, + 0x28, 0x47, 0xa4, 0x6a, 0x42, 0x48, 0x1f, 0x66, 0x72, 0x64, 0xc0, 0x76, 0x09, 0x52, 0x2e, 0xed, + 0xfd, 0x28, 0x8a, 0x6f, 0x70, 0x0a, 0xae, 0x5e, 0x36, 0x61, 0x86, 0x54, 0x7e, 0xaa, 0x83, 0x43, + 0x66, 0x1c, 0x7d, 0xce, 0xf0, 0x8f, 0xbf, 0xfc, 0x2c, 0x7d, 0xb4, 0xf9, 0x70, 0x74, 0x58, 0x06, + 0x84, 0x93, 0x2c, 0x71, 0xee, 0xc0, 0x50, 0x0c, 0x79, 0x71, 0x3f, 0x6e, 0xf0, 0xd1, 0x37, 0xfb, + 0x27, 0xfc, 0x66, 0x0b, 0x83, 0x62, 0x20, 0x74, 0xa7, 0x69, 0xce, 0xca, 0x1a, 0x2a, 0xf5, 0x61, + 0x73, 0xfa, 0x8d, 0xa7, 0xfa, 0x57, 0x27, 0xf6, 0xe7, 0x19, 0xca, 0x7c, 0x25, 0x7c, 0x1b, 0x7f, + 0xee, 0xfd, 0x46, 0x02, 0x16, 0xb8, 0xf2, 0xae, 0xea, 0xe2, 0x73, 0x37, 0x9f, 0xdb, 0xc5, 0x9e, + 0xfa, 0xdc, 0x39, 0xcd, 0xd2, 0x45, 0xae, 0x9e, 0xe5, 0xd3, 0x91, 0xb4, 0x2f, 0xf3, 0xf6, 0xf9, + 0x81, 0x0f, 0x34, 0xe7, 0x87, 0x4f, 0xe3, 0xd2, 0x0e, 0x24, 0xab, 0x96, 0x6e, 0x92, 0x54, 0xd5, + 0xc2, 0xa6, 0xd5, 0xe1, 0xb3, 0x87, 0x5d, 0xa0, 0xe7, 0x20, 0xa5, 0x76, 0xac, 0xae, 0xe9, 0xb1, + 0x99, 0x53, 0x39, 0xfd, 0xf5, 0x77, 0x17, 0x27, 0xfe, 0xed, 0xbb, 0x8b, 0x89, 0x35, 0xd3, 0xfb, + 0xf5, 0xaf, 0x3c, 0x03, 0x9c, 0x6a, 0xcd, 0xf4, 0x64, 0xae, 0x58, 0x4e, 0xbe, 0xff, 0xce, 0x62, + 0xac, 0xf4, 0x1a, 0x4c, 0xd5, 0xb0, 0x76, 0x2f, 0xcc, 0x35, 0xac, 0x85, 0x98, 0x6b, 0x58, 0xeb, + 0x61, 0xbe, 0x04, 0xe9, 0x35, 0xd3, 0x63, 0x2f, 0xae, 0x3f, 0x05, 0x09, 0xdd, 0x64, 0xef, 0x42, + 0x1e, 0x69, 0x1b, 0xd1, 0x22, 0xc0, 0x1a, 0xd6, 0x7c, 0x60, 0x0b, 0x6b, 0xbd, 0xc0, 0xfe, 0x5b, + 0x13, 0xad, 0x4a, 0xed, 0x37, 0xff, 0xd3, 0xc2, 0xc4, 0xdb, 0xef, 0x2d, 0x4c, 0x0c, 0x1d, 0xe2, + 0xd2, 0xd0, 0x21, 0x76, 0x5b, 0x07, 0x2c, 0x23, 0xfb, 0x23, 0xfb, 0xc5, 0x24, 0x3c, 0x44, 0xbf, + 0x67, 0x72, 0x3a, 0xba, 0xe9, 0x9d, 0xd3, 0x9c, 0x43, 0xdb, 0xb3, 0x48, 0xde, 0xb4, 0xf6, 0xf8, + 0xc0, 0xce, 0x04, 0xcd, 0xcb, 0xac, 0x79, 0xf0, 0xb0, 0x96, 0xf6, 0x60, 0xb2, 0x41, 0x70, 0xc4, + 0xc5, 0x9e, 0xe5, 0xa9, 0x06, 0x5f, 0x7f, 0xd8, 0x05, 0x91, 0xb2, 0x6f, 0xa0, 0xe2, 0x4c, 0xaa, + 0x8b, 0xcf, 0x9f, 0x0c, 0xac, 0xee, 0xb1, 0x57, 0xc9, 0x13, 0xb4, 0x70, 0x49, 0x13, 0x01, 0x7d, + 0x6b, 0x7c, 0x0e, 0x26, 0xd5, 0x2e, 0x7b, 0x87, 0x21, 0x41, 0x2a, 0x1a, 0x7a, 0x51, 0xba, 0x0e, + 0x53, 0xfc, 0x49, 0x2a, 0x92, 0x20, 0x71, 0x80, 0x0f, 0xe9, 0x7d, 0x72, 0x32, 0xf9, 0x89, 0x96, + 0x61, 0x92, 0x1a, 0xcf, 0xbf, 0x91, 0x29, 0x2e, 0xf7, 0x59, 0xbf, 0x4c, 0x8d, 0x94, 0x99, 0x5a, + 0xe9, 0x1a, 0xa4, 0x6b, 0x56, 0x47, 0x37, 0xad, 0x28, 0x5b, 0x86, 0xb1, 0x51, 0x9b, 0xed, 0x2e, + 0x8f, 0x0a, 0x99, 0x5d, 0xa0, 0x93, 0x90, 0x62, 0x9f, 0x16, 0xf0, 0xf7, 0x30, 0xf8, 0x55, 0xa9, + 0x0a, 0x53, 0x94, 0x7b, 0xcb, 0x26, 0xc9, 0xdf, 0x7f, 0x8b, 0x33, 0xc3, 0x3f, 0x34, 0xe3, 0xf4, + 0xf1, 0xc0, 0x58, 0x04, 0xc9, 0x96, 0xea, 0xa9, 0xbc, 0xdf, 0xf4, 0x77, 0xe9, 0xa3, 0x90, 0xe6, + 0x24, 0x2e, 0x3a, 0x0f, 0x09, 0xcb, 0x76, 0xf9, 0x9b, 0x14, 0xf3, 0xc3, 0xba, 0xb2, 0x65, 0x57, + 0x92, 0x24, 0x66, 0x64, 0xa2, 0x5c, 0x91, 0x87, 0x86, 0xc5, 0x8b, 0xa1, 0xb0, 0x08, 0x0d, 0x79, + 0xe8, 0x27, 0x1b, 0xd2, 0xbe, 0x70, 0xf0, 0x83, 0xe5, 0x73, 0x71, 0x58, 0x08, 0xb5, 0xde, 0xc4, + 0x8e, 0xab, 0x5b, 0x26, 0x8b, 0x28, 0x1e, 0x2d, 0x28, 0x64, 0x24, 0x6f, 0x1f, 0x12, 0x2e, 0x1f, + 0x81, 0xc4, 0x8a, 0x6d, 0xa3, 0x79, 0x48, 0xd3, 0x6b, 0xcd, 0x62, 0xf1, 0x92, 0x94, 0xfd, 0x6b, + 0xd2, 0xe6, 0x5a, 0x7b, 0xde, 0x2d, 0xd5, 0xf1, 0xbf, 0xbe, 0x13, 0xd7, 0xa5, 0xcb, 0x90, 0xa9, + 0x5a, 0xa6, 0x8b, 0x4d, 0xb7, 0x4b, 0x2b, 0x9b, 0x5d, 0xc3, 0xd2, 0x0e, 0x38, 0x03, 0xbb, 0x20, + 0x0e, 0x57, 0x6d, 0x9b, 0x22, 0x93, 0x32, 0xf9, 0xc9, 0xe6, 0x6c, 0xa5, 0x39, 0xd4, 0x45, 0x97, + 0x8f, 0xef, 0x22, 0xde, 0x49, 0xdf, 0x47, 0xdf, 0x8f, 0xc1, 0x83, 0xfd, 0x13, 0xea, 0x00, 0x1f, + 0xba, 0xc7, 0x9d, 0x4f, 0xaf, 0x41, 0xa6, 0x41, 0x3f, 0x81, 0xbf, 0x8e, 0x0f, 0xd1, 0x3c, 0x4c, + 0xe1, 0xd6, 0xf9, 0x0b, 0x17, 0x9e, 0xbb, 0xcc, 0xa2, 0xfd, 0xe5, 0x09, 0x59, 0x08, 0xd0, 0x02, + 0x64, 0x5c, 0xac, 0xd9, 0xe7, 0x2f, 0x5c, 0x3c, 0x78, 0x8e, 0x85, 0xd7, 0xcb, 0x13, 0x72, 0x20, + 0x2a, 0xa7, 0x49, 0xaf, 0xdf, 0xff, 0xdc, 0x62, 0xac, 0x32, 0x09, 0x09, 0xb7, 0xdb, 0xf9, 0x50, + 0x63, 0xe4, 0xd3, 0x93, 0xb0, 0x14, 0x46, 0xd2, 0xfa, 0xef, 0xa6, 0x6a, 0xe8, 0x2d, 0x35, 0xf8, + 0xe7, 0x05, 0x52, 0xc8, 0x07, 0x54, 0x63, 0xc8, 0x4a, 0x71, 0xa4, 0x27, 0x4b, 0xbf, 0x14, 0x83, + 0xdc, 0x0d, 0xc1, 0xdc, 0xc4, 0x1e, 0xba, 0x02, 0xe0, 0xdf, 0x49, 0x4c, 0x9b, 0x07, 0x96, 0x7b, + 0xef, 0xb5, 0xec, 0x63, 0xe4, 0x90, 0x3a, 0xba, 0x44, 0x03, 0xd1, 0xb6, 0x5c, 0xfe, 0x45, 0xd6, + 0x08, 0xa8, 0xaf, 0x8c, 0x9e, 0x06, 0x44, 0x33, 0x9c, 0x72, 0xd3, 0xf2, 0x74, 0xb3, 0xad, 0xd8, + 0xd6, 0x2d, 0xfe, 0x9d, 0x6b, 0x42, 0x96, 0x68, 0xcb, 0x0d, 0xda, 0xd0, 0x20, 0x72, 0x62, 0x74, + 0xc6, 0x67, 0x21, 0xc5, 0xba, 0xda, 0x6a, 0x39, 0xd8, 0x75, 0x79, 0x12, 0x13, 0x97, 0xe8, 0x0a, + 0x4c, 0xd9, 0xdd, 0x5d, 0x45, 0x64, 0x8c, 0xec, 0xf9, 0x07, 0x07, 0xcd, 0x7f, 0x11, 0x1f, 0x3c, + 0x03, 0xa4, 0xec, 0xee, 0x2e, 0x89, 0x96, 0x87, 0x21, 0x37, 0xc0, 0x98, 0xec, 0xcd, 0xc0, 0x0e, + 0xfa, 0x9f, 0x17, 0x78, 0x0f, 0x14, 0xdb, 0xd1, 0x2d, 0x47, 0xf7, 0x0e, 0xe9, 0xeb, 0x50, 0x09, + 0x59, 0x12, 0x0d, 0x0d, 0x2e, 0x2f, 0x1d, 0x40, 0xa1, 0x49, 0x8b, 0xb8, 0xc0, 0xf2, 0x0b, 0x81, + 0x7d, 0xb1, 0xd1, 0xf6, 0x0d, 0xb5, 0x2c, 0xde, 0x67, 0x59, 0xe5, 0x95, 0xa1, 0xd1, 0x79, 0xe9, + 0xf8, 0xd1, 0x19, 0x5d, 0xed, 0x7e, 0xef, 0x74, 0x64, 0x72, 0xb2, 0xe0, 0x0c, 0xa7, 0xaf, 0x71, + 0x03, 0x73, 0xd4, 0x1e, 0x6d, 0xfe, 0xe8, 0x45, 0x75, 0x7e, 0x44, 0x1a, 0x9d, 0x1f, 0x39, 0x85, + 0x4a, 0x97, 0x61, 0xba, 0xa1, 0x3a, 0x5e, 0x13, 0x7b, 0x2f, 0x63, 0xb5, 0x85, 0x9d, 0xe8, 0xaa, + 0x3b, 0x2d, 0x56, 0x5d, 0x04, 0x49, 0xba, 0xb4, 0xb2, 0x55, 0x87, 0xfe, 0x2e, 0xed, 0x43, 0x92, + 0xbe, 0x12, 0xe9, 0xaf, 0xc8, 0x1c, 0xc1, 0x56, 0x64, 0x92, 0x4b, 0x0f, 0x3d, 0xec, 0x8a, 0x63, + 0x04, 0x7a, 0x81, 0x5e, 0x10, 0xeb, 0x6a, 0xe2, 0xe8, 0x75, 0x95, 0x07, 0x22, 0x5f, 0x5d, 0x0d, + 0x98, 0xaa, 0x90, 0x54, 0xbc, 0x56, 0xf3, 0x0d, 0x89, 0x05, 0x86, 0xa0, 0x0d, 0x28, 0xd8, 0xaa, + 0xe3, 0xd1, 0xaf, 0x49, 0xf6, 0x69, 0x2f, 0x78, 0xac, 0x2f, 0xf6, 0xcf, 0xbc, 0x48, 0x67, 0xf9, + 0x5d, 0xa6, 0xed, 0xb0, 0xb0, 0xf4, 0x9f, 0x93, 0x90, 0xe2, 0xce, 0xf8, 0x08, 0x4c, 0x71, 0xb7, + 0xf2, 0xe8, 0x7c, 0x68, 0xb9, 0x7f, 0x61, 0x5a, 0xf6, 0x17, 0x10, 0xce, 0x27, 0x30, 0xe8, 0x71, + 0x48, 0x6b, 0xfb, 0xaa, 0x6e, 0x2a, 0x7a, 0x8b, 0x17, 0x84, 0xd9, 0xf7, 0xde, 0x5d, 0x9c, 0xaa, + 0x12, 0xd9, 0x5a, 0x4d, 0x9e, 0xa2, 0x8d, 0x6b, 0x2d, 0x52, 0x09, 0xec, 0x63, 0xbd, 0xbd, 0xef, + 0xf1, 0x19, 0xc6, 0xaf, 0xd0, 0x8b, 0x90, 0x24, 0x01, 0xc1, 0xbf, 0x35, 0x9c, 0xef, 0xab, 0xf0, + 0xfd, 0x2d, 0x74, 0x25, 0x4d, 0x6e, 0xfc, 0xc9, 0xff, 0xb8, 0x18, 0x93, 0x29, 0x02, 0x55, 0x61, + 0xda, 0x50, 0x5d, 0x4f, 0xa1, 0x2b, 0x18, 0xb9, 0xfd, 0x24, 0xa5, 0x38, 0xdd, 0xef, 0x10, 0xee, + 0x58, 0x6e, 0x7a, 0x96, 0xa0, 0x98, 0xa8, 0x85, 0xce, 0x82, 0x44, 0x49, 0x34, 0xab, 0xd3, 0xd1, + 0x3d, 0x56, 0x5b, 0xa5, 0xa8, 0xdf, 0xf3, 0x44, 0x5e, 0xa5, 0x62, 0x5a, 0x61, 0x3d, 0x00, 0x19, + 0xfa, 0x75, 0x13, 0x55, 0x61, 0xef, 0xe1, 0xa6, 0x89, 0x80, 0x36, 0x9e, 0x81, 0x42, 0x90, 0x1f, + 0x99, 0x4a, 0x9a, 0xb1, 0x04, 0x62, 0xaa, 0xf8, 0x2c, 0xcc, 0x99, 0xf8, 0x36, 0x7d, 0x33, 0x38, + 0xa2, 0x9d, 0xa1, 0xda, 0x88, 0xb4, 0xdd, 0x88, 0x22, 0x1e, 0x83, 0xbc, 0x26, 0x9c, 0xcf, 0x74, + 0x81, 0xea, 0x4e, 0xfb, 0x52, 0xaa, 0x76, 0x1a, 0xd2, 0xaa, 0x6d, 0x33, 0x85, 0x2c, 0xcf, 0x8f, + 0xb6, 0x4d, 0x9b, 0x9e, 0x84, 0x19, 0xda, 0x47, 0x07, 0xbb, 0x5d, 0xc3, 0xe3, 0x24, 0x39, 0xaa, + 0x53, 0x20, 0x0d, 0x32, 0x93, 0x53, 0xdd, 0x47, 0x60, 0x1a, 0xdf, 0xd4, 0x5b, 0xd8, 0xd4, 0x30, + 0xd3, 0x9b, 0xa6, 0x7a, 0x39, 0x21, 0xa4, 0x4a, 0x4f, 0x80, 0x9f, 0xf7, 0x14, 0x91, 0x93, 0xf3, + 0x8c, 0x4f, 0xc8, 0x57, 0x98, 0xb8, 0x54, 0x84, 0x64, 0x4d, 0xf5, 0x54, 0x52, 0x60, 0x78, 0xb7, + 0xd9, 0x42, 0x93, 0x93, 0xc9, 0xcf, 0xd2, 0xfb, 0x71, 0x48, 0xde, 0xb0, 0x3c, 0x8c, 0x9e, 0x0f, + 0x15, 0x80, 0xf9, 0x41, 0xf1, 0xdc, 0xd4, 0xdb, 0x26, 0x6e, 0x6d, 0xb8, 0xed, 0xd0, 0xbf, 0x22, + 0x08, 0xc2, 0x29, 0x1e, 0x09, 0xa7, 0x39, 0x98, 0x74, 0xac, 0xae, 0xd9, 0x12, 0xaf, 0xb0, 0xd2, + 0x0b, 0x54, 0x87, 0xb4, 0x1f, 0x25, 0xc9, 0x51, 0x51, 0x52, 0x20, 0x51, 0x42, 0x62, 0x98, 0x0b, + 0xe4, 0xa9, 0x5d, 0x1e, 0x2c, 0x15, 0xc8, 0xf8, 0xc9, 0x8b, 0x47, 0xdb, 0x78, 0x01, 0x1b, 0xc0, + 0xc8, 0x62, 0xe2, 0x8f, 0xbd, 0xef, 0x3c, 0x16, 0x71, 0x92, 0xdf, 0xc0, 0xbd, 0x17, 0x09, 0x2b, + 0xfe, 0x6f, 0x11, 0xa6, 0x68, 0xbf, 0x82, 0xb0, 0x62, 0xff, 0x1a, 0xe1, 0x41, 0xc8, 0xb8, 0x7a, + 0xdb, 0x54, 0xbd, 0xae, 0x83, 0x79, 0xe4, 0x05, 0x82, 0xd2, 0xd7, 0x62, 0x90, 0x62, 0x91, 0x1c, + 0xf2, 0x5b, 0x6c, 0xb0, 0xdf, 0xe2, 0xc3, 0xfc, 0x96, 0xb8, 0x77, 0xbf, 0xad, 0x00, 0xf8, 0xc6, + 0xb8, 0xfc, 0x6b, 0xf5, 0x01, 0x15, 0x03, 0x33, 0xb1, 0xa9, 0xb7, 0xf9, 0x44, 0x0d, 0x81, 0x4a, + 0xff, 0x21, 0x46, 0x8a, 0x58, 0xde, 0x8e, 0x56, 0x60, 0x5a, 0xd8, 0xa5, 0xec, 0x19, 0x6a, 0x9b, + 0xc7, 0xce, 0x43, 0x43, 0x8d, 0xbb, 0x6a, 0xa8, 0x6d, 0x39, 0xcb, 0xed, 0x21, 0x17, 0x83, 0xc7, + 0x21, 0x3e, 0x64, 0x1c, 0x22, 0x03, 0x9f, 0xb8, 0xb7, 0x81, 0x8f, 0x0c, 0x51, 0xb2, 0x77, 0x88, + 0xbe, 0x1c, 0xa7, 0x9b, 0x19, 0xdb, 0x72, 0x55, 0xe3, 0x07, 0x31, 0x23, 0x1e, 0x80, 0x8c, 0x6d, + 0x19, 0x0a, 0x6b, 0x61, 0xaf, 0x76, 0xa7, 0x6d, 0xcb, 0x90, 0xfb, 0x86, 0x7d, 0xf2, 0x3e, 0x4d, + 0x97, 0xd4, 0x7d, 0xf0, 0xda, 0x54, 0xaf, 0xd7, 0x1c, 0xc8, 0x31, 0x57, 0xf0, 0xb5, 0xec, 0x59, + 0xe2, 0x03, 0xba, 0x38, 0xc6, 0xfa, 0xd7, 0x5e, 0x66, 0x36, 0xd3, 0x94, 0xb9, 0x1e, 0x41, 0xb0, + 0xd4, 0x3f, 0x68, 0x17, 0x1c, 0x0e, 0x4b, 0x99, 0xeb, 0x95, 0xfe, 0x6a, 0x0c, 0x60, 0x9d, 0x78, + 0x96, 0xf6, 0x97, 0xac, 0x42, 0x2e, 0x35, 0x41, 0x89, 0xdc, 0x79, 0x61, 0xd8, 0xa0, 0xf1, 0xfb, + 0xe7, 0xdc, 0xb0, 0xdd, 0x55, 0x98, 0x0e, 0x82, 0xd1, 0xc5, 0xc2, 0x98, 0x85, 0x23, 0xaa, 0xea, + 0x26, 0xf6, 0xe4, 0xdc, 0xcd, 0xd0, 0x55, 0xe9, 0x9f, 0xc7, 0x20, 0x43, 0x6d, 0xda, 0xc0, 0x9e, + 0x1a, 0x19, 0xc3, 0xd8, 0xbd, 0x8f, 0xe1, 0x43, 0x00, 0x8c, 0xc6, 0xd5, 0xdf, 0xc2, 0x3c, 0xb2, + 0x32, 0x54, 0xd2, 0xd4, 0xdf, 0xc2, 0xe8, 0xa2, 0xef, 0xf0, 0xc4, 0xd1, 0x0e, 0x17, 0x55, 0x37, + 0x77, 0xfb, 0x29, 0x98, 0xa2, 0xff, 0xdd, 0xe9, 0xb6, 0xcb, 0x0b, 0xe9, 0x94, 0xd9, 0xed, 0x6c, + 0xdf, 0x76, 0x4b, 0x6f, 0xc2, 0xd4, 0xf6, 0x6d, 0x76, 0x36, 0xf2, 0x00, 0x64, 0x1c, 0xcb, 0xe2, + 0x6b, 0x32, 0xab, 0x85, 0xd2, 0x44, 0x40, 0x97, 0x20, 0x71, 0x1e, 0x10, 0x0f, 0xce, 0x03, 0x82, + 0x03, 0x8d, 0xc4, 0x58, 0x07, 0x1a, 0x4f, 0xfe, 0x46, 0x0c, 0xb2, 0xa1, 0xfc, 0x80, 0x9e, 0x83, + 0x13, 0x95, 0xf5, 0xad, 0xea, 0x75, 0x65, 0xad, 0xa6, 0x5c, 0x5d, 0x5f, 0x59, 0x0d, 0x3e, 0x5e, + 0x9a, 0x3f, 0x79, 0xe7, 0xee, 0x12, 0x0a, 0xe9, 0xee, 0x98, 0xf4, 0x9c, 0x1e, 0x9d, 0x83, 0xb9, + 0x28, 0x64, 0xa5, 0xd2, 0xac, 0x6f, 0x6e, 0x4b, 0xb1, 0xf9, 0x13, 0x77, 0xee, 0x2e, 0xcd, 0x84, + 0x10, 0x2b, 0xbb, 0x2e, 0x36, 0xbd, 0x7e, 0x40, 0x75, 0x6b, 0x63, 0x63, 0x6d, 0x5b, 0x8a, 0xf7, + 0x01, 0x78, 0xc2, 0x7e, 0x02, 0x66, 0xa2, 0x80, 0xcd, 0xb5, 0x75, 0x29, 0x31, 0x8f, 0xee, 0xdc, + 0x5d, 0xca, 0x87, 0xb4, 0x37, 0x75, 0x63, 0x3e, 0xfd, 0xf1, 0xcf, 0x2f, 0x4c, 0xfc, 0xc2, 0xcf, + 0x2f, 0xc4, 0x48, 0xcf, 0xa6, 0x23, 0x39, 0x02, 0x3d, 0x0d, 0xa7, 0x9a, 0x6b, 0xab, 0x9b, 0xf5, + 0x9a, 0xb2, 0xd1, 0x5c, 0x15, 0x27, 0xdd, 0xa2, 0x77, 0x85, 0x3b, 0x77, 0x97, 0xb2, 0xbc, 0x4b, + 0xc3, 0xb4, 0x1b, 0x72, 0xfd, 0xc6, 0xd6, 0x76, 0x5d, 0x8a, 0x31, 0xed, 0x86, 0x83, 0x6f, 0x5a, + 0x1e, 0xfb, 0xf7, 0x6f, 0xcf, 0xc2, 0xe9, 0x01, 0xda, 0x7e, 0xc7, 0x66, 0xee, 0xdc, 0x5d, 0x9a, + 0x6e, 0x38, 0x98, 0xcd, 0x1f, 0x8a, 0x58, 0x86, 0x62, 0x3f, 0x62, 0xab, 0xb1, 0xd5, 0x5c, 0x59, + 0x97, 0x96, 0xe6, 0xa5, 0x3b, 0x77, 0x97, 0x72, 0x22, 0x19, 0x12, 0xfd, 0xa0, 0x67, 0x1f, 0xe6, + 0x8e, 0xe7, 0xfd, 0xa7, 0xe0, 0x51, 0x7e, 0x06, 0xe8, 0x7a, 0xea, 0x81, 0x6e, 0xb6, 0xfd, 0xc3, + 0x5b, 0x7e, 0xcd, 0x77, 0x3e, 0x27, 0xf9, 0x39, 0xa3, 0x90, 0x8e, 0x38, 0xc2, 0x1d, 0xfa, 0xe4, + 0x72, 0x7e, 0xc4, 0x43, 0xbd, 0xd1, 0x5b, 0xa7, 0xe1, 0xc7, 0xc3, 0xf3, 0x23, 0x0e, 0xa1, 0xe7, + 0x8f, 0xdc, 0xdc, 0x95, 0x3e, 0x11, 0x83, 0xfc, 0xcb, 0xba, 0xeb, 0x59, 0x8e, 0xae, 0xa9, 0x06, + 0xfd, 0x64, 0xe9, 0xe2, 0xb8, 0xb9, 0xb5, 0x67, 0xaa, 0xbf, 0x04, 0xa9, 0x9b, 0xaa, 0xc1, 0x92, + 0x5a, 0xf8, 0x59, 0x40, 0xaf, 0xfb, 0x82, 0xd4, 0x26, 0x08, 0x18, 0xac, 0xf4, 0xa5, 0x38, 0x14, + 0xe8, 0x64, 0x70, 0xd9, 0x7f, 0xef, 0x22, 0x7b, 0xac, 0x06, 0x24, 0x1d, 0xd5, 0xe3, 0x87, 0x86, + 0x95, 0x1f, 0xe2, 0xe7, 0xc0, 0x8f, 0x8f, 0x3e, 0xcd, 0x5d, 0xee, 0x3f, 0x2a, 0xa6, 0x4c, 0xe8, + 0x55, 0x48, 0x77, 0xd4, 0xdb, 0x0a, 0x65, 0x8d, 0xdf, 0x07, 0xd6, 0xa9, 0x8e, 0x7a, 0x9b, 0xd8, + 0x8a, 0x5a, 0x50, 0x20, 0xc4, 0xda, 0xbe, 0x6a, 0xb6, 0x31, 0xe3, 0x4f, 0xdc, 0x07, 0xfe, 0xe9, + 0x8e, 0x7a, 0xbb, 0x4a, 0x39, 0xc9, 0x5d, 0xca, 0xe9, 0x4f, 0xbd, 0xb3, 0x38, 0x41, 0x8f, 0xd9, + 0x7f, 0x25, 0x06, 0x10, 0xb8, 0x0b, 0xfd, 0xff, 0x20, 0x69, 0xfe, 0x15, 0xbd, 0xbd, 0xcb, 0x07, + 0xf0, 0xcc, 0xb0, 0x81, 0xe8, 0x71, 0x36, 0x5b, 0x98, 0xbf, 0xf9, 0xee, 0x62, 0x4c, 0x2e, 0x68, + 0x3d, 0xe3, 0x50, 0x87, 0x6c, 0xd7, 0x6e, 0xa9, 0x1e, 0x56, 0xe8, 0x26, 0x2e, 0x7e, 0x8c, 0x45, + 0x1e, 0x18, 0x90, 0x34, 0x85, 0xac, 0xff, 0x52, 0x0c, 0xb2, 0xb5, 0xd0, 0x43, 0xbe, 0x22, 0x4c, + 0x75, 0x2c, 0x53, 0x3f, 0xe0, 0x61, 0x97, 0x91, 0xc5, 0x25, 0x9a, 0x87, 0x34, 0xfb, 0x58, 0xd3, + 0x3b, 0x14, 0x27, 0x9e, 0xe2, 0x9a, 0xa0, 0x6e, 0xe1, 0x5d, 0x57, 0x17, 0xbe, 0x96, 0xc5, 0x25, + 0xd9, 0xba, 0xb8, 0x58, 0xeb, 0x3a, 0xba, 0x77, 0xa8, 0x68, 0x96, 0xe9, 0xa9, 0x9a, 0xc7, 0x3f, + 0xfb, 0x2b, 0x08, 0x79, 0x95, 0x89, 0x09, 0x49, 0x0b, 0x7b, 0xaa, 0x6e, 0xb8, 0x45, 0xf6, 0x20, + 0x4c, 0x5c, 0x86, 0xcc, 0xfd, 0xd5, 0x54, 0xf8, 0x88, 0xaa, 0x0a, 0x92, 0x65, 0x63, 0x27, 0x52, + 0x52, 0xb2, 0x08, 0x2d, 0xfe, 0xfa, 0x57, 0x9e, 0x99, 0xe3, 0xee, 0xe6, 0x45, 0x25, 0x7b, 0xaf, + 0x55, 0x2e, 0x08, 0x84, 0xa8, 0x35, 0x5f, 0x27, 0x03, 0x26, 0xf6, 0x7b, 0x76, 0x77, 0x37, 0x38, + 0xd6, 0x9a, 0xeb, 0xf3, 0xeb, 0x8a, 0x79, 0x58, 0x29, 0x7e, 0x23, 0xa0, 0x0e, 0xce, 0x92, 0xae, + 0xe3, 0x43, 0x32, 0x5a, 0x9c, 0xa7, 0x41, 0x69, 0x48, 0x89, 0xf8, 0xa6, 0xaa, 0x1b, 0xe2, 0x1b, + 0x74, 0x99, 0x5f, 0xa1, 0x32, 0xa4, 0x5c, 0x4f, 0xf5, 0xba, 0x2e, 0xff, 0xdf, 0x72, 0xa5, 0x61, + 0x91, 0x51, 0xb1, 0xcc, 0x56, 0x93, 0x6a, 0xca, 0x1c, 0x81, 0xb6, 0x21, 0xe5, 0x59, 0x07, 0xd8, + 0xe4, 0x4e, 0x3a, 0x56, 0x54, 0x0f, 0x78, 0x16, 0xc5, 0xb8, 0x50, 0x1b, 0xa4, 0x16, 0x36, 0x70, + 0x9b, 0x15, 0x44, 0xfb, 0x2a, 0xd9, 0x37, 0xa4, 0xee, 0xc3, 0xac, 0x29, 0xf8, 0xac, 0x4d, 0x4a, + 0x8a, 0xae, 0x47, 0x1f, 0x33, 0xb3, 0x7f, 0xc4, 0xf8, 0xc8, 0xb0, 0xfe, 0x87, 0x22, 0x53, 0x1c, + 0x26, 0x84, 0x9f, 0x48, 0x3f, 0x01, 0x52, 0xd7, 0xdc, 0xb5, 0x4c, 0xfa, 0xa5, 0x28, 0x2f, 0xc6, + 0xd3, 0xb4, 0xbc, 0x29, 0xf8, 0xf2, 0x97, 0x59, 0x55, 0x7e, 0x1d, 0xf2, 0x81, 0x2a, 0x9d, 0x3b, + 0x99, 0x63, 0xcc, 0x9d, 0x69, 0x1f, 0x4b, 0x5a, 0xd1, 0xcb, 0x00, 0xc1, 0xc4, 0xa4, 0xc7, 0x03, + 0xd9, 0xe1, 0x63, 0x18, 0xcc, 0x6e, 0xb1, 0xcd, 0x0a, 0xb0, 0xc8, 0x80, 0xd9, 0x8e, 0x6e, 0x2a, + 0x2e, 0x36, 0xf6, 0x14, 0xee, 0x2a, 0x42, 0x99, 0xbd, 0x0f, 0x43, 0x3b, 0xd3, 0xd1, 0xcd, 0x26, + 0x36, 0xf6, 0x6a, 0x3e, 0x6d, 0x39, 0xf7, 0xf1, 0x77, 0x16, 0x27, 0xf8, 0x5c, 0x9a, 0x28, 0x35, + 0xe8, 0x11, 0x35, 0x9f, 0x06, 0xd8, 0x45, 0x17, 0x21, 0xa3, 0x8a, 0x0b, 0x7a, 0x70, 0x70, 0xd4, + 0x34, 0x0a, 0x54, 0xd9, 0xec, 0x7c, 0xfb, 0xdf, 0x2f, 0xc5, 0x4a, 0x3f, 0x1f, 0x83, 0x54, 0xed, + 0x46, 0x43, 0xd5, 0x1d, 0x54, 0x87, 0x99, 0x20, 0xa0, 0xc6, 0x9d, 0x9b, 0x41, 0x0c, 0x8a, 0xc9, + 0x59, 0x1f, 0xb6, 0x6b, 0x3c, 0x92, 0xa6, 0x77, 0x3f, 0xd9, 0xd3, 0xf1, 0x3a, 0x4c, 0x31, 0x2b, + 0x5d, 0x54, 0x86, 0x49, 0x9b, 0xfc, 0xe0, 0x27, 0xf2, 0x0b, 0x43, 0x03, 0x91, 0xea, 0xfb, 0x27, + 0x88, 0x04, 0x52, 0xfa, 0x7e, 0x0c, 0xa0, 0x76, 0xe3, 0xc6, 0xb6, 0xa3, 0xdb, 0x06, 0xf6, 0xee, + 0x57, 0x8f, 0xd7, 0xe1, 0x44, 0x68, 0x6b, 0xe2, 0x68, 0x63, 0xf7, 0x7a, 0x36, 0xd8, 0x9c, 0x38, + 0xda, 0x40, 0xb6, 0x96, 0xeb, 0xf9, 0x6c, 0x89, 0xb1, 0xd9, 0x6a, 0xae, 0x37, 0xd8, 0x8d, 0x4d, + 0xc8, 0x06, 0xdd, 0x77, 0x51, 0x0d, 0xd2, 0x1e, 0xff, 0xcd, 0xbd, 0x59, 0x1a, 0xee, 0x4d, 0x01, + 0xe3, 0x1e, 0xf5, 0x91, 0xa5, 0xff, 0x43, 0x9c, 0xea, 0x47, 0xec, 0x1f, 0xad, 0x30, 0x22, 0xb9, + 0x97, 0xe7, 0xc6, 0xfb, 0x51, 0x51, 0x70, 0xae, 0x1e, 0xaf, 0x7e, 0x2c, 0x0e, 0xb3, 0x3b, 0x22, + 0xdb, 0xfc, 0x91, 0xf5, 0x44, 0x03, 0xa6, 0xb0, 0xe9, 0x39, 0x3a, 0x75, 0x05, 0x19, 0xeb, 0x67, + 0x87, 0x8d, 0xf5, 0x80, 0xbe, 0xd0, 0x7f, 0x71, 0x24, 0xce, 0xb5, 0x39, 0x4d, 0x8f, 0x17, 0xfe, + 0x5d, 0x1c, 0x8a, 0xc3, 0x90, 0xe8, 0x0c, 0x14, 0x34, 0x07, 0x53, 0x81, 0x12, 0x39, 0x5c, 0xcb, + 0x0b, 0x31, 0x4f, 0xfa, 0x1b, 0x40, 0x0a, 0x28, 0x12, 0x58, 0x44, 0xf5, 0xd8, 0x15, 0x53, 0x3e, + 0x00, 0xd3, 0xb4, 0x8f, 0xa1, 0xa0, 0x9b, 0xba, 0xa7, 0xab, 0x86, 0xb2, 0xab, 0x1a, 0xaa, 0xa9, + 0xdd, 0x4b, 0x65, 0xd9, 0x9f, 0xa8, 0xf3, 0x9c, 0xb4, 0xc2, 0x38, 0xd1, 0x0d, 0x98, 0x12, 0xf4, + 0xc9, 0xfb, 0x40, 0x2f, 0xc8, 0x42, 0x55, 0xd4, 0x6f, 0xc5, 0x61, 0x46, 0xc6, 0xad, 0x3f, 0x5e, + 0x6e, 0xfd, 0x61, 0x00, 0x36, 0xe1, 0x48, 0x1e, 0xbc, 0x07, 0xcf, 0xf6, 0x4f, 0xe0, 0x0c, 0xe3, + 0xab, 0xb9, 0x5e, 0xc8, 0xb7, 0xdf, 0x88, 0x43, 0x2e, 0xec, 0xdb, 0x3f, 0x06, 0xeb, 0x02, 0x5a, + 0x0b, 0xb2, 0x41, 0x92, 0xff, 0x73, 0xd6, 0x21, 0xd9, 0xa0, 0x2f, 0xea, 0x8e, 0x4e, 0x03, 0xdf, + 0x8d, 0x43, 0xaa, 0xa1, 0x3a, 0x6a, 0xc7, 0x45, 0xd7, 0xfa, 0x0a, 0x38, 0x71, 0xca, 0xd6, 0xf7, + 0x2f, 0xb8, 0xf9, 0xa6, 0x9e, 0x85, 0xdc, 0xa7, 0x06, 0xd4, 0x6f, 0x8f, 0x41, 0x9e, 0x6c, 0x11, + 0x43, 0x0f, 0xe4, 0xe3, 0xf4, 0x31, 0x23, 0xd9, 0xe3, 0x05, 0x4f, 0x83, 0xd0, 0x22, 0x64, 0x89, + 0x5a, 0x90, 0xe8, 0x88, 0x0e, 0x74, 0xd4, 0xdb, 0x75, 0x26, 0x41, 0xcf, 0x00, 0xda, 0xf7, 0x37, + 0xed, 0x4a, 0xe0, 0x02, 0xa2, 0x37, 0x13, 0xb4, 0x08, 0xf5, 0x87, 0x00, 0x88, 0x15, 0x0a, 0x7b, + 0xc9, 0x8b, 0xed, 0x71, 0x32, 0x44, 0x52, 0xa3, 0x2f, 0x7a, 0xfd, 0x28, 0xab, 0x05, 0x7b, 0x76, + 0x8f, 0xbc, 0x0c, 0x5f, 0x3f, 0x5e, 0xa4, 0x7e, 0xf7, 0xdd, 0xc5, 0xf9, 0x43, 0xb5, 0x63, 0x94, + 0x4b, 0x03, 0x28, 0x4b, 0xb4, 0x36, 0x8c, 0xee, 0x3a, 0x43, 0x11, 0xfc, 0xf9, 0x18, 0xa0, 0x20, + 0xe5, 0xca, 0xd8, 0xb5, 0xc9, 0xb6, 0x86, 0x14, 0xbd, 0xa1, 0x0a, 0x35, 0x76, 0x74, 0xd1, 0x1b, + 0xe0, 0x45, 0xd1, 0x1b, 0x9a, 0x11, 0x97, 0x83, 0x04, 0x17, 0xe7, 0x63, 0x38, 0xe0, 0x0d, 0xbd, + 0xe5, 0xaa, 0xa5, 0x0b, 0x74, 0x5f, 0x0e, 0x9b, 0x28, 0xfd, 0x56, 0x0c, 0x4e, 0xf7, 0x45, 0x93, + 0x6f, 0xec, 0x9f, 0x04, 0xe4, 0x84, 0x1a, 0xf9, 0x7f, 0xd9, 0x63, 0x46, 0x1f, 0x3b, 0x38, 0x67, + 0x9c, 0xbe, 0x5c, 0xf9, 0x61, 0xe5, 0x68, 0xf6, 0xe6, 0xde, 0x3f, 0x8d, 0xc1, 0x5c, 0xd8, 0x18, + 0xbf, 0x5b, 0x9b, 0x90, 0x0b, 0xdb, 0xc2, 0x3b, 0xf4, 0xe8, 0x38, 0x1d, 0xe2, 0x7d, 0x89, 0xe0, + 0xd1, 0x2b, 0xc1, 0xc4, 0x65, 0x87, 0x45, 0xcf, 0x8d, 0xed, 0x1b, 0x61, 0x53, 0xef, 0x04, 0x4e, + 0x8a, 0x2a, 0x26, 0xd9, 0xb0, 0x2c, 0x03, 0xfd, 0x69, 0x98, 0x31, 0x2d, 0x4f, 0x21, 0x51, 0x8e, + 0x5b, 0x0a, 0xdf, 0xb9, 0xb2, 0xec, 0xf7, 0xca, 0xf1, 0x5c, 0xf6, 0x3b, 0xef, 0x2e, 0xf6, 0x53, + 0xf5, 0xf8, 0xb1, 0x60, 0x5a, 0x5e, 0x85, 0xb6, 0x6f, 0xb3, 0x7d, 0xad, 0x03, 0xd3, 0xd1, 0x5b, + 0xb3, 0x6c, 0xb9, 0x71, 0xec, 0x5b, 0x4f, 0x1f, 0x75, 0xdb, 0xdc, 0x6e, 0xe8, 0x9e, 0xec, 0x9d, + 0xa6, 0xdf, 0x7f, 0x67, 0x31, 0xf6, 0xe4, 0x57, 0x63, 0x00, 0xc1, 0x16, 0x1e, 0x3d, 0x0d, 0xa7, + 0x2a, 0x5b, 0x9b, 0x35, 0xa5, 0xb9, 0xbd, 0xb2, 0xbd, 0xd3, 0x8c, 0xbe, 0xf9, 0x2c, 0xce, 0x84, + 0x5d, 0x1b, 0x6b, 0xf4, 0x7f, 0x10, 0xa2, 0xc7, 0x61, 0x2e, 0xaa, 0x4d, 0xae, 0xea, 0x35, 0x29, + 0x36, 0x9f, 0xbb, 0x73, 0x77, 0x29, 0xcd, 0xaa, 0x23, 0xdc, 0x42, 0x67, 0xe1, 0x44, 0xbf, 0xde, + 0xda, 0xe6, 0xaa, 0x14, 0x9f, 0x9f, 0xbe, 0x73, 0x77, 0x29, 0xe3, 0x97, 0x51, 0xa8, 0x04, 0x28, + 0xac, 0xc9, 0xf9, 0x12, 0xf3, 0x70, 0xe7, 0xee, 0x52, 0x8a, 0xb9, 0x6d, 0x3e, 0xf9, 0xf1, 0xcf, + 0x2f, 0x4c, 0x54, 0xae, 0x0e, 0x3d, 0xf5, 0x7d, 0xfa, 0x48, 0x8f, 0xdd, 0xf6, 0x4f, 0x72, 0x23, + 0x47, 0xbd, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x6f, 0xff, 0x2d, 0x08, 0x37, 0x66, 0x00, 0x00, } r := bytes.NewReader(gzipped) gzipr, err := compress_gzip.NewReader(r) @@ -1737,7 +1737,7 @@ func StakingDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descri if err != nil { panic(err) } - if err := github_com_gogo_protobuf_proto.Unmarshal(ungzipped, d); err != nil { + if err := github_com_cosmos_gogoproto_proto.Unmarshal(ungzipped, d); err != nil { panic(err) } return d @@ -2114,7 +2114,7 @@ func (m *Commission) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n2, err2 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.UpdateTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdateTime):]) + n2, err2 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.UpdateTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.UpdateTime):]) if err2 != nil { return 0, err2 } @@ -2233,7 +2233,7 @@ func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x52 - n5, err5 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.UnbondingTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.UnbondingTime):]) + n5, err5 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.UnbondingTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.UnbondingTime):]) if err5 != nil { return 0, err5 } @@ -2638,7 +2638,7 @@ func (m *UnbondingDelegationEntry) MarshalToSizedBuffer(dAtA []byte) (int, error } i-- dAtA[i] = 0x1a - n8, err8 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CompletionTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CompletionTime):]) + n8, err8 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.CompletionTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CompletionTime):]) if err8 != nil { return 0, err8 } @@ -2694,7 +2694,7 @@ func (m *RedelegationEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x1a - n9, err9 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CompletionTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CompletionTime):]) + n9, err9 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.CompletionTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CompletionTime):]) if err9 != nil { return 0, err9 } @@ -2820,7 +2820,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x10 } - n10, err10 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.UnbondingTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.UnbondingTime):]) + n10, err10 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(m.UnbondingTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.UnbondingTime):]) if err10 != nil { return 0, err10 } @@ -3058,7 +3058,7 @@ func (m *Commission) Size() (n int) { _ = l l = m.CommissionRates.Size() n += 1 + l + sovStaking(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdateTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.UpdateTime) n += 1 + l + sovStaking(uint64(l)) return n } @@ -3121,7 +3121,7 @@ func (m *Validator) Size() (n int) { if m.UnbondingHeight != 0 { n += 1 + sovStaking(uint64(m.UnbondingHeight)) } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.UnbondingTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.UnbondingTime) n += 1 + l + sovStaking(uint64(l)) l = m.Commission.Size() n += 1 + l + sovStaking(uint64(l)) @@ -3264,7 +3264,7 @@ func (m *UnbondingDelegationEntry) Size() (n int) { if m.CreationHeight != 0 { n += 1 + sovStaking(uint64(m.CreationHeight)) } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CompletionTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CompletionTime) n += 1 + l + sovStaking(uint64(l)) l = m.InitialBalance.Size() n += 1 + l + sovStaking(uint64(l)) @@ -3282,7 +3282,7 @@ func (m *RedelegationEntry) Size() (n int) { if m.CreationHeight != 0 { n += 1 + sovStaking(uint64(m.CreationHeight)) } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CompletionTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CompletionTime) n += 1 + l + sovStaking(uint64(l)) l = m.InitialBalance.Size() n += 1 + l + sovStaking(uint64(l)) @@ -3324,7 +3324,7 @@ func (m *Params) Size() (n int) { } var l int _ = l - l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.UnbondingTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.UnbondingTime) n += 1 + l + sovStaking(uint64(l)) if m.MaxValidators != 0 { n += 1 + sovStaking(uint64(m.MaxValidators)) @@ -3784,7 +3784,7 @@ func (m *Commission) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.UpdateTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.UpdateTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -4304,7 +4304,7 @@ func (m *Validator) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.UnbondingTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.UnbondingTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5279,7 +5279,7 @@ func (m *UnbondingDelegationEntry) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CompletionTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.CompletionTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5449,7 +5449,7 @@ func (m *RedelegationEntry) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CompletionTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.CompletionTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5780,7 +5780,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.UnbondingTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(&m.UnbondingTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/staking/types/tx.pb.go b/x/staking/types/tx.pb.go index 97ea3ea7bcd3b..77a8c2f3b6f98 100644 --- a/x/staking/types/tx.pb.go +++ b/x/staking/types/tx.pb.go @@ -11,10 +11,10 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -1390,7 +1390,7 @@ func (m *MsgBeginRedelegateResponse) MarshalToSizedBuffer(dAtA []byte) (int, err _ = i var l int _ = l - n8, err8 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CompletionTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CompletionTime):]) + n8, err8 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.CompletionTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CompletionTime):]) if err8 != nil { return 0, err8 } @@ -1468,7 +1468,7 @@ func (m *MsgUndelegateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n10, err10 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CompletionTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CompletionTime):]) + n10, err10 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.CompletionTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CompletionTime):]) if err10 != nil { return 0, err10 } @@ -1755,7 +1755,7 @@ func (m *MsgBeginRedelegateResponse) Size() (n int) { } var l int _ = l - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CompletionTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CompletionTime) n += 1 + l + sovTx(uint64(l)) return n } @@ -1785,7 +1785,7 @@ func (m *MsgUndelegateResponse) Size() (n int) { } var l int _ = l - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CompletionTime) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.CompletionTime) n += 1 + l + sovTx(uint64(l)) return n } @@ -2855,7 +2855,7 @@ func (m *MsgBeginRedelegateResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CompletionTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.CompletionTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3085,7 +3085,7 @@ func (m *MsgUndelegateResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CompletionTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.CompletionTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/upgrade/README.md b/x/upgrade/README.md index beb5635835622..93bada101befe 100644 --- a/x/upgrade/README.md +++ b/x/upgrade/README.md @@ -48,12 +48,7 @@ automatically upgrade to. If an operator running the application binary also runs a sidecar process to assist in the automatic download and upgrade of a binary, the `Info` allows this process to -be seamless. Namely, the `x/upgrade` module fulfills the -[cosmosd Upgradeable Binary Specification](https://github.com/regen-network/cosmosd#upgradeable-binary-specification) -specification and `cosmosd` can optionally be used to fully automate the upgrade -process for node operators. By populating the `Info` field with the necessary information, -binaries can automatically be downloaded. See [here](https://github.com/regen-network/cosmosd#auto-download) -for more info. +be seamless. This tool is [Cosmovisor](https://github.com/cosmos/cosmos-sdk/tree/main/cosmovisor#readme). ```go type Plan struct { diff --git a/x/upgrade/types/query.pb.go b/x/upgrade/types/query.pb.go index e84c333051b09..3ddf2f56c7a4c 100644 --- a/x/upgrade/types/query.pb.go +++ b/x/upgrade/types/query.pb.go @@ -6,8 +6,8 @@ package types import ( context "context" fmt "fmt" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/upgrade/types/tx.pb.go b/x/upgrade/types/tx.pb.go index 47d9edbfd7157..c0eb6d0886bdf 100644 --- a/x/upgrade/types/tx.pb.go +++ b/x/upgrade/types/tx.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/upgrade/types/upgrade.pb.go b/x/upgrade/types/upgrade.pb.go index 1c4167f9fdd37..c487ea279b42f 100644 --- a/x/upgrade/types/upgrade.pb.go +++ b/x/upgrade/types/upgrade.pb.go @@ -7,9 +7,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" math "math" @@ -427,7 +427,7 @@ func (m *Plan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x18 } - n2, err2 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):]) + n2, err2 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time):]) if err2 != nil { return 0, err2 } @@ -585,7 +585,7 @@ func (m *Plan) Size() (n int) { if l > 0 { n += 1 + l + sovUpgrade(uint64(l)) } - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time) + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time) n += 1 + l + sovUpgrade(uint64(l)) if m.Height != 0 { n += 1 + sovUpgrade(uint64(m.Height)) @@ -749,7 +749,7 @@ func (m *Plan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex