From 9264f142536b2dc00564d1cdaeffa5c91ea6d041 Mon Sep 17 00:00:00 2001 From: PrathyushaLakkireddy Date: Tue, 17 Sep 2024 17:17:19 +0530 Subject: [PATCH 1/9] add git workflow for proto --- .github/workflows/proto.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/proto.yml diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml new file mode 100644 index 0000000..48a764e --- /dev/null +++ b/.github/workflows/proto.yml @@ -0,0 +1,36 @@ +name: Protobuf +# Protobuf runs buf (https://buf.build/) lint and check-breakage +# This workflow is only run when a .proto file has been changed +on: + pull_request: + +concurrency: + group: ci-${{ github.ref }}-protobuf + cancel-in-progress: true + +env: + GOPRIVATE: "github.com/thrackle-io" +jobs: + lint: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v3 + - uses: technote-space/get-diff-action@v4 + with: + PATTERNS: | + **/**.proto + - name: lint + run: make proto-lint + if: env.GIT_DIFF + breakage: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: technote-space/get-diff-action@v4 + with: + PATTERNS: | + **/**.proto + - name: check-breakage + run: make proto-check-breaking + if: env.GIT_DIFF From da9acdfb9c575a40b0dcf1c93725df602300f066 Mon Sep 17 00:00:00 2001 From: NagaTulasi Date: Thu, 19 Sep 2024 20:03:48 +0530 Subject: [PATCH 2/9] update proto git workflow --- .github/workflows/proto.yml | 68 +++++++++++++++++++++++++++---------- 1 file changed, 50 insertions(+), 18 deletions(-) diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index 48a764e..b7f3519 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -1,36 +1,68 @@ +# name: Protobuf +# # Protobuf runs buf (https://buf.build/) lint and check-breakage +# # This workflow is only run when a .proto file has been changed +# on: +# pull_request: + +# concurrency: +# group: ci-${{ github.ref }}-protobuf +# cancel-in-progress: true + +# env: +# GOPRIVATE: "github.com/thrackle-io" +# jobs: +# lint: +# runs-on: ubuntu-latest +# timeout-minutes: 5 +# steps: +# - uses: actions/checkout@v3 +# - uses: technote-space/get-diff-action@v4 +# with: +# PATTERNS: | +# **/**.proto +# - name: lint +# run: make proto-lint +# if: env.GIT_DIFF +# breakage: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v3 +# - uses: technote-space/get-diff-action@v4 +# with: +# PATTERNS: | +# **/**.proto +# - name: check-breakage +# run: make proto-check-breaking +# if: env.GIT_DIFF + name: Protobuf # Protobuf runs buf (https://buf.build/) lint and check-breakage # This workflow is only run when a .proto file has been changed on: pull_request: + paths: + - "proto/**" -concurrency: - group: ci-${{ github.ref }}-protobuf - cancel-in-progress: true +permissions: + contents: read -env: - GOPRIVATE: "github.com/thrackle-io" jobs: lint: runs-on: ubuntu-latest timeout-minutes: 5 steps: - uses: actions/checkout@v3 - - uses: technote-space/get-diff-action@v4 + - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-lint-action@v1 with: - PATTERNS: | - **/**.proto - - name: lint - run: make proto-lint - if: env.GIT_DIFF - breakage: + input: "proto" + + break-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: technote-space/get-diff-action@v4 + - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-breaking-action@v1 with: - PATTERNS: | - **/**.proto - - name: check-breakage - run: make proto-check-breaking - if: env.GIT_DIFF + input: "proto" + against: "https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},ref=HEAD~1,subdir=proto" \ No newline at end of file From 17ca0bda65c9777a747a7ea4c0cd6bfcb5d1836f Mon Sep 17 00:00:00 2001 From: NagaTulasi Date: Thu, 19 Sep 2024 20:13:28 +0530 Subject: [PATCH 3/9] add git diff output --- .github/workflows/proto.yml | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index b7f3519..8b85eeb 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -8,8 +8,6 @@ # group: ci-${{ github.ref }}-protobuf # cancel-in-progress: true -# env: -# GOPRIVATE: "github.com/thrackle-io" # jobs: # lint: # runs-on: ubuntu-latest @@ -35,16 +33,16 @@ # run: make proto-check-breaking # if: env.GIT_DIFF + name: Protobuf # Protobuf runs buf (https://buf.build/) lint and check-breakage # This workflow is only run when a .proto file has been changed on: pull_request: - paths: - - "proto/**" -permissions: - contents: read +concurrency: + group: ci-${{ github.ref }}-protobuf + cancel-in-progress: true jobs: lint: @@ -52,17 +50,24 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v3 - - uses: bufbuild/buf-setup-action@v1.21.0 - - uses: bufbuild/buf-lint-action@v1 + - uses: technote-space/get-diff-action@v4 + id: get_diff with: - input: "proto" + PATTERNS: | + **/**.proto + - name: lint + run: make proto-lint + if: steps.get_diff.outputs.changed == 'true' - break-check: + breakage: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: bufbuild/buf-setup-action@v1.21.0 - - uses: bufbuild/buf-breaking-action@v1 + - uses: technote-space/get-diff-action@v4 + id: get_diff with: - input: "proto" - against: "https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},ref=HEAD~1,subdir=proto" \ No newline at end of file + PATTERNS: | + **/**.proto + - name: check-breakage + run: make proto-check-breaking + if: steps.get_diff.outputs.changed == 'true' From f7653169c9e44389c29ebb570233a022a1730cbb Mon Sep 17 00:00:00 2001 From: NagaTulasi Date: Thu, 19 Sep 2024 20:16:04 +0530 Subject: [PATCH 4/9] remove git diff --- .github/workflows/proto.yml | 53 ++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index 8b85eeb..d13382e 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -34,9 +34,48 @@ # if: env.GIT_DIFF +# name: Protobuf +# # Protobuf runs buf (https://buf.build/) lint and check-breakage +# # This workflow is only run when a .proto file has been changed +# on: +# pull_request: + +# concurrency: +# group: ci-${{ github.ref }}-protobuf +# cancel-in-progress: true + +# jobs: +# lint: +# runs-on: ubuntu-latest +# timeout-minutes: 5 +# steps: +# - uses: actions/checkout@v3 +# - uses: technote-space/get-diff-action@v4 +# id: get_diff +# with: +# PATTERNS: | +# **/**.proto +# - name: lint +# run: make proto-lint +# if: steps.get_diff.outputs.changed == 'true' + +# breakage: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v3 +# - uses: technote-space/get-diff-action@v4 +# id: get_diff +# with: +# PATTERNS: | +# **/**.proto +# - name: check-breakage +# run: make proto-check-breaking +# if: steps.get_diff.outputs.changed == 'true' + name: Protobuf # Protobuf runs buf (https://buf.build/) lint and check-breakage -# This workflow is only run when a .proto file has been changed +# This workflow runs on every pull request + on: pull_request: @@ -50,24 +89,12 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v3 - - uses: technote-space/get-diff-action@v4 - id: get_diff - with: - PATTERNS: | - **/**.proto - name: lint run: make proto-lint - if: steps.get_diff.outputs.changed == 'true' breakage: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: technote-space/get-diff-action@v4 - id: get_diff - with: - PATTERNS: | - **/**.proto - name: check-breakage run: make proto-check-breaking - if: steps.get_diff.outputs.changed == 'true' From 7fc0e4367671d6d7d5345e4f01fcbfec85875ea8 Mon Sep 17 00:00:00 2001 From: NagaTulasi Date: Fri, 20 Sep 2024 10:55:12 +0530 Subject: [PATCH 5/9] WIP --- .github/workflows/proto.yml | 9 +++++++-- go.mod | 2 +- go.sum | 2 ++ proto/buf.yaml | 8 +++++--- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index d13382e..727b4e7 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -89,8 +89,13 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v3 - - name: lint - run: make proto-lint + - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-lint-action@v1 + with: + input: "proto" + + # - name: lint + # run: make proto-lint breakage: runs-on: ubuntu-latest diff --git a/go.mod b/go.mod index 0095d91..9bbcf2f 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( github.com/cometbft/cometbft v0.38.10 github.com/cosmos/cosmos-proto v1.0.0-beta.5 github.com/cosmos/cosmos-sdk v0.50.8 - github.com/cosmos/gogoproto v1.5.0 + github.com/cosmos/gogoproto v1.7.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/spf13/cast v1.6.0 github.com/spf13/cobra v1.8.1 diff --git a/go.sum b/go.sum index 8e4baea..5844d39 100644 --- a/go.sum +++ b/go.sum @@ -991,6 +991,8 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= github.com/cosmos/gogoproto v1.5.0 h1:SDVwzEqZDDBoslaeZg+dGE55hdzHfgUA40pEanMh52o= github.com/cosmos/gogoproto v1.5.0/go.mod h1:iUM31aofn3ymidYG6bUR5ZFrk+Om8p5s754eMUcyp8I= +github.com/cosmos/gogoproto v1.7.0 h1:79USr0oyXAbxg3rspGh/m4SWNyoz/GLaAh0QlCe2fro= +github.com/cosmos/gogoproto v1.7.0/go.mod h1:yWChEv5IUEYURQasfyBW5ffkMHR/90hiHgbNgrtp4j0= github.com/cosmos/iavl v1.1.4 h1:Z0cVVjeQqOUp78/nWt/uhQy83vYluWlAMGQ4zbH9G34= github.com/cosmos/iavl v1.1.4/go.mod h1:vCYmRQUJU1wwj0oRD3wMEtOM9sJNDP+GFMaXmIxZ/rU= github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8 v8.0.2 h1:dyLNlDElY6+5zW/BT/dO/3Ad9FpQblfh+9dQpYQodbA= diff --git a/proto/buf.yaml b/proto/buf.yaml index a0a9223..b5669be 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -1,11 +1,12 @@ # This module represents buf.build/cosmos/cosmos-sdk version: v1 -name: buf.build/arka-labs/arka-network +name: buf.build/vitwit/cada deps: # Latest release was in Dec 2021, https://buf.build/cosmos/cosmos-proto/commits/main - buf.build/cosmos/cosmos-proto:1935555c206d4afb9e94615dfd0fad31 # Latest release was in Oct 2022, https://buf.build/cosmos/gogo-proto/commits/main - - buf.build/cosmos/gogo-proto:34d970b699f84aa382f3c29773a60836 + #- buf.build/cosmos/gogo-proto:34d970b699f84aa382f3c29773a60836 + - buf.build/cosmos/gogo-proto - buf.build/cosmos/cosmos-sdk:v0.50.0 - buf.build/googleapis/googleapis breaking: @@ -26,4 +27,5 @@ lint: - RPC_REQUEST_STANDARD_NAME ignore: - tendermint - allow_comment_ignores: true \ No newline at end of file + allow_comment_ignores: true + \ No newline at end of file From c65044d49f1509481e369c089e78c8c27457dead Mon Sep 17 00:00:00 2001 From: NagaTulasi Date: Fri, 20 Sep 2024 10:58:40 +0530 Subject: [PATCH 6/9] WIP --- .github/workflows/proto.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index 727b4e7..d13382e 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -89,13 +89,8 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v3 - - uses: bufbuild/buf-setup-action@v1.21.0 - - uses: bufbuild/buf-lint-action@v1 - with: - input: "proto" - - # - name: lint - # run: make proto-lint + - name: lint + run: make proto-lint breakage: runs-on: ubuntu-latest From ae14d48ee17fd5b529f77f51f7c9b3f74d46e17f Mon Sep 17 00:00:00 2001 From: saiteja Date: Fri, 20 Sep 2024 11:43:27 +0530 Subject: [PATCH 7/9] WIP --- .github/workflows/proto.yml | 52 ++++++++++++++++++++++++++++++------- Makefile | 2 +- go.mod | 13 ---------- go.sum | 42 ------------------------------ proto/buf.lock | 20 +++++++++++--- proto/buf.yaml | 2 +- 6 files changed, 61 insertions(+), 70 deletions(-) diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index d13382e..9fd282e 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -72,16 +72,43 @@ # run: make proto-check-breaking # if: steps.get_diff.outputs.changed == 'true' +# name: Protobuf +# # Protobuf runs buf (https://buf.build/) lint and check-breakage +# # This workflow runs on every pull request + +# on: +# pull_request: + +# concurrency: +# group: ci-${{ github.ref }}-protobuf +# cancel-in-progress: true + +# jobs: +# lint: +# runs-on: ubuntu-latest +# timeout-minutes: 5 +# steps: +# - uses: actions/checkout@v3 +# - name: lint +# run: make proto-lint + +# breakage: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v3 +# - name: check-breakage +# run: make proto-check-breaking + name: Protobuf # Protobuf runs buf (https://buf.build/) lint and check-breakage -# This workflow runs on every pull request - +# This workflow is only run when a .proto file has been changed on: pull_request: + paths: + - "proto/**" -concurrency: - group: ci-${{ github.ref }}-protobuf - cancel-in-progress: true +permissions: + contents: read jobs: lint: @@ -89,12 +116,17 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v3 - - name: lint - run: make proto-lint + - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-lint-action@v1 + with: + input: "proto" - breakage: + break-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: check-breakage - run: make proto-check-breaking + - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-breaking-action@v1 + with: + input: "proto" + against: "https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},ref=HEAD~1,subdir=proto" diff --git a/Makefile b/Makefile index e6ead21..66514cc 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ endif ### Protobuf #### ################### -protoVer=0.13.2 +protoVer=0.14.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) diff --git a/go.mod b/go.mod index 9bbcf2f..8770a10 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,6 @@ require ( cosmossdk.io/log v1.3.1 cosmossdk.io/store v1.1.0 cosmossdk.io/x/upgrade v0.1.4 - github.com/centrifuge/go-substrate-rpc-client/v4 v4.2.1 github.com/cometbft/cometbft v0.38.10 github.com/cosmos/cosmos-proto v1.0.0-beta.5 github.com/cosmos/cosmos-sdk v0.50.8 @@ -100,7 +99,6 @@ require ( cosmossdk.io/x/tx v0.13.3 // indirect filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect - github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect github.com/DataDog/datadog-go v3.2.0+incompatible // indirect github.com/DataDog/zstd v1.5.5 // indirect github.com/beorn7/perks v1.0.1 // indirect @@ -124,9 +122,6 @@ require ( github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect github.com/danieljoos/wincred v1.1.2 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect - github.com/deckarep/golang-set v1.8.0 // indirect - github.com/decred/base58 v1.0.4 // indirect - github.com/decred/dcrd/crypto/blake256 v1.0.1 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect github.com/dgraph-io/badger/v2 v2.2007.4 // indirect @@ -135,7 +130,6 @@ require ( github.com/dustin/go-humanize v1.0.1 // indirect github.com/dvsekhvalnov/jose2go v1.6.0 // indirect github.com/emicklei/dot v1.6.1 // indirect - github.com/ethereum/go-ethereum v1.10.20 // indirect github.com/fatih/color v1.15.0 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect @@ -143,7 +137,6 @@ require ( github.com/go-kit/kit v0.12.0 // indirect github.com/go-kit/log v0.2.1 // indirect github.com/go-logfmt/logfmt v0.6.0 // indirect - github.com/go-stack/stack v1.8.1 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gogo/googleapis v1.4.1 // indirect github.com/gogo/protobuf v1.3.2 // indirect @@ -158,8 +151,6 @@ require ( github.com/gorilla/websocket v1.5.1 // indirect github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect - github.com/gtank/merlin v0.1.1 // indirect - github.com/gtank/ristretto255 v0.1.2 // indirect github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-metrics v0.5.3 // indirect @@ -182,7 +173,6 @@ require ( github.com/magiconair/properties v1.8.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mimoo/StrobeGo v0.0.0-20220103164710-9a04d6ca976b // indirect github.com/minio/highwayhash v1.0.2 // indirect github.com/mitchellh/go-testing-interface v1.14.1 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect @@ -191,7 +181,6 @@ require ( github.com/oklog/run v1.1.0 // indirect github.com/pelletier/go-toml/v2 v2.2.2 // indirect github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67 // indirect - github.com/pierrec/xxHash v0.1.5 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect @@ -210,7 +199,6 @@ require ( github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect github.com/tendermint/go-amino v0.16.0 // indirect github.com/tidwall/btree v1.7.0 // indirect - github.com/vedhavyas/go-subkey/v2 v2.0.0 // indirect github.com/zondax/hid v0.9.2 // indirect github.com/zondax/ledger-go v0.14.3 // indirect go.etcd.io/bbolt v1.3.8 // indirect @@ -226,7 +214,6 @@ require ( google.golang.org/genproto/googleapis/rpc v0.0.0-20240709173604-40e1e62336c5 // indirect google.golang.org/protobuf v1.34.2 // indirect gopkg.in/ini.v1 v1.67.0 // indirect - gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect nhooyr.io/websocket v1.8.10 // indirect diff --git a/go.sum b/go.sum index 5844d39..2321d2f 100644 --- a/go.sum +++ b/go.sum @@ -805,8 +805,6 @@ github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25 github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/ChainSafe/go-schnorrkel v1.0.0 h1:3aDA67lAykLaG1y3AOjs88dMxC88PgUuHRrLeDnvGIM= -github.com/ChainSafe/go-schnorrkel v1.0.0/go.mod h1:dpzHYVxLZcp8pjlV+O+UR8K0Hp/z7vcchBSbMBEhCw4= github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= @@ -821,8 +819,6 @@ github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= -github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 h1:fLjPD/aNc3UIOA6tDi6QXUemppXK3P9BI7mr2hd6gx8= -github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= github.com/adlio/schema v1.3.3 h1:oBJn8I02PyTB466pZO1UZEn1TV5XLlifBSyMrmHl/1I= @@ -852,8 +848,6 @@ github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+ github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= -github.com/availproject/go-substrate-rpc-client/v4 v4.1.0-avail-2.1.5-rc1 h1:mIYkc6eyi3iANW/dC+g7P49OfL54xnM61bq9B3a5pGw= -github.com/availproject/go-substrate-rpc-client/v4 v4.1.0-avail-2.1.5-rc1/go.mod h1:MeGquF7RkixfmXKXqwFF0a1iPLQiJGVlHjSLnJD4SD4= github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= @@ -891,8 +885,6 @@ github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 h1:59Kx4K6lzOW5w6nFlA0v5+lk/6 github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= -github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce h1:YtWJF7RHm2pYCvA5t0RPmAaLUhREsKuKd+SLhxFbFeQ= -github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce/go.mod h1:0DVlHczLPewLcPGEIeUEzfOJhqGPQ0mJJRDBtD307+o= github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= github.com/btcsuite/goleveldb v0.0.0-20160330041536-7834afc9e8cd/go.mod h1:F+uVaaLLH7j4eDXPRvw78tMflu7Ie2bzYOH4Y8rRKBY= github.com/btcsuite/goleveldb v1.0.0/go.mod h1:QiK9vBlgftBg6rWQIj6wFzbPfRjiykIEhBH4obrXJ/I= @@ -983,14 +975,11 @@ github.com/cosmos/cosmos-db v1.0.2 h1:hwMjozuY1OlJs/uh6vddqnk9j7VamLv+0DBlbEXbAK github.com/cosmos/cosmos-db v1.0.2/go.mod h1:Z8IXcFJ9PqKK6BIsVOB3QXtkKoqUOp1vRvPT39kOXEA= github.com/cosmos/cosmos-proto v1.0.0-beta.5 h1:eNcayDLpip+zVLRLYafhzLvQlSmyab+RC5W7ZfmxJLA= github.com/cosmos/cosmos-proto v1.0.0-beta.5/go.mod h1:hQGLpiIUloJBMdQMMWb/4wRApmI9hjHH05nefC0Ojec= -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/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE= github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ4GUkT+tbFI= github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= -github.com/cosmos/gogoproto v1.5.0 h1:SDVwzEqZDDBoslaeZg+dGE55hdzHfgUA40pEanMh52o= -github.com/cosmos/gogoproto v1.5.0/go.mod h1:iUM31aofn3ymidYG6bUR5ZFrk+Om8p5s754eMUcyp8I= github.com/cosmos/gogoproto v1.7.0 h1:79USr0oyXAbxg3rspGh/m4SWNyoz/GLaAh0QlCe2fro= github.com/cosmos/gogoproto v1.7.0/go.mod h1:yWChEv5IUEYURQasfyBW5ffkMHR/90hiHgbNgrtp4j0= github.com/cosmos/iavl v1.1.4 h1:Z0cVVjeQqOUp78/nWt/uhQy83vYluWlAMGQ4zbH9G34= @@ -1018,10 +1007,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/deckarep/golang-set v1.8.0 h1:sk9/l/KqpunDwP7pSjUg0keiOOLEnOBHzykLrsPppp4= -github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo= -github.com/decred/base58 v1.0.4 h1:QJC6B0E0rXOPA8U/kw2rP+qiRJsUaE2Er+pYb3siUeA= -github.com/decred/base58 v1.0.4/go.mod h1:jJswKPEdvpFpvf7dsDvFZyLT22xZ9lWqEByX38oGd9E= github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5ilcvdfma9wOH6Y= github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo= @@ -1079,8 +1064,6 @@ github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6Ni github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/envoyproxy/protoc-gen-validate v1.0.1/go.mod h1:0vj8bNkYbSTNS2PIyH87KZaeN4x9zpL9Qt8fQC7d+vs= github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= -github.com/ethereum/go-ethereum v1.10.20 h1:75IW830ClSS40yrQC1ZCMZCt5I+zU16oqId2SiQwdQ4= -github.com/ethereum/go-ethereum v1.10.20/go.mod h1:LWUN82TCHGpxB3En5HVmLLzPD7YSrEUFmFfN1nKkVN0= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= @@ -1140,8 +1123,6 @@ github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/go-ole/go-ole v1.2.1 h1:2lOsA72HgjxAuMlKpFiCbHTvu44PIVkZ5hqm3RSdI/E= -github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= @@ -1150,8 +1131,6 @@ github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+ github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-stack/stack v1.8.1 h1:ntEHSVwIt7PNXNpgPmVfMrNhLtgjlmnZha2kOpuRiDw= -github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= @@ -1337,11 +1316,6 @@ github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4Zs github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0= -github.com/gtank/merlin v0.1.1-0.20191105220539-8318aed1a79f/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s= -github.com/gtank/merlin v0.1.1 h1:eQ90iG7K9pOhtereWsmyRJ6RAwcP4tHTDBHXNg+u5is= -github.com/gtank/merlin v0.1.1/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s= -github.com/gtank/ristretto255 v0.1.2 h1:JEqUCPA1NvLq5DwYtuzigd7ss8fwbYay9fi4/5uMzcc= -github.com/gtank/ristretto255 v0.1.2/go.mod h1:Ph5OpO6c7xKUGROZfWVLiJf9icMDwUeIvY4OmlYW69o= github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= github.com/hashicorp/consul/api v1.25.1/go.mod h1:iiLVwR/htV7mas/sy0O+XSuEnrdBUUydemjxcUrAt4g= github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= @@ -1524,9 +1498,6 @@ github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5 github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= -github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM= -github.com/mimoo/StrobeGo v0.0.0-20220103164710-9a04d6ca976b h1:QrHweqAtyJ9EwCaGHBu1fghwxIPiopAHV06JlXrMHjk= -github.com/mimoo/StrobeGo v0.0.0-20220103164710-9a04d6ca976b/go.mod h1:xxLb2ip6sSUts3g1irPVHyk/DGslwQsNOo9I7smJfNU= github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= @@ -1636,8 +1607,6 @@ github.com/phpdave11/gofpdi v1.0.13/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= -github.com/pierrec/xxHash v0.1.5 h1:n/jBpwTHiER4xYvK3/CdPVnLDPchj8eTJFFLUb4QHBo= -github.com/pierrec/xxHash v0.1.5/go.mod h1:w2waW5Zoa/Wc4Yqe0wgrIYAGKqRMf7czn2HNKXmuL+I= github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= @@ -1728,8 +1697,6 @@ github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71e github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= -github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible h1:Bn1aCHHRnjv4Bl16T8rcaFjYSrGrIZvpiGO6P3Q4GpU= -github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= @@ -1802,10 +1769,6 @@ github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2l github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI= github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= -github.com/tklauser/go-sysconf v0.3.5 h1:uu3Xl4nkLzQfXNsWn15rPc/HQCJKObbt1dKJeWp3vU4= -github.com/tklauser/go-sysconf v0.3.5/go.mod h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITnppBXY/rYEFI= -github.com/tklauser/numcpus v0.2.2 h1:oyhllyrScuYI6g+h/zUvNXNp1wy7x8qQy3t/piefldA= -github.com/tklauser/numcpus v0.2.2/go.mod h1:x3qojaO3uyYt0i56EW/VUYs7uBvdl2fkfZFu0T9wgjM= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= @@ -1815,8 +1778,6 @@ github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8= github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/vedhavyas/go-subkey/v2 v2.0.0 h1:LemDIsrVtRSOkp0FA8HxP6ynfKjeOj3BY2U9UNfeDMA= -github.com/vedhavyas/go-subkey/v2 v2.0.0/go.mod h1:95aZ+XDCWAUUynjlmi7BtPExjXgXxByE0WfBwbmIRH4= github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= github.com/vitwit/cosmos-sdk v0.50.6-0.20240905105834-9a5babf69986 h1:e38Z5AymIZ3dFCbAStFFo7baNnHYsHi8DTvMZHeoSfY= @@ -1902,7 +1863,6 @@ golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= 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= @@ -2742,8 +2702,6 @@ gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMy gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce h1:+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU= -gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= diff --git a/proto/buf.lock b/proto/buf.lock index a05d234..360f94c 100644 --- a/proto/buf.lock +++ b/proto/buf.lock @@ -5,15 +5,29 @@ deps: owner: cosmos repository: cosmos-proto commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 - remote: buf.build owner: cosmos repository: cosmos-sdk - commit: a1dc6d999809a9f5a334edae49637c3522bf66ae + commit: 05419252bcc241ea8023acf1ed4cadc5 + digest: shake256:1e54a48c19a8b59d35e0a7efa76402939f515f2d8005df099856f24c37c20a52800308f025abb8cffcd014d437b49707388aaca4865d9d063d8f25d5d4eb77d5 - remote: buf.build owner: cosmos repository: gogo-proto - commit: 6652e3443c3b4504bb3bf82e73a7e409 + commit: 88ef6483f90f478fb938c37dde52ece3 + digest: shake256:89c45df2aa11e0cff97b0d695436713db3d993d76792e9f8dc1ae90e6ab9a9bec55503d48ceedd6b86069ab07d3041b32001b2bfe0227fa725dd515ff381e5ba - remote: buf.build owner: googleapis repository: googleapis - commit: 62f35d8aed1149c291d606d958a7ce32 \ No newline at end of file + commit: e7f8d366f5264595bcc4cd4139af9973 + digest: shake256:e5e5f1c12f82e028ea696faa43b4f9dc6258a6d1226282962a8c8b282e10946281d815884f574bd279ebd9cd7588629beb3db17b892af6c33b56f92f8f67f509 + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb + - remote: buf.build + owner: tendermint + repository: tendermint + commit: 33ed361a90514289beabf3189e1d7665 + digest: shake256:038267e06294714fd883610626554b04a127b576b4e253befb4206cb72d5d3c1eeccacd4b9ec8e3fb891f7c14e1cb0f770c077d2989638995b0a61c85afedb1d diff --git a/proto/buf.yaml b/proto/buf.yaml index b5669be..4d32677 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -7,7 +7,7 @@ deps: # Latest release was in Oct 2022, https://buf.build/cosmos/gogo-proto/commits/main #- buf.build/cosmos/gogo-proto:34d970b699f84aa382f3c29773a60836 - buf.build/cosmos/gogo-proto - - buf.build/cosmos/cosmos-sdk:v0.50.0 + - buf.build/cosmos/cosmos-sdk:v0.50.8 - buf.build/googleapis/googleapis breaking: use: From e13a8dee2d6e8bbf4405187dc5c367ec623facca Mon Sep 17 00:00:00 2001 From: saiteja Date: Fri, 20 Sep 2024 11:59:16 +0530 Subject: [PATCH 8/9] fix: fix proto lint --- Makefile | 4 +- go.mod | 2 +- proto/buf.lock | 18 ++------- proto/buf.yaml | 6 +-- proto/sdk/avail/v1beta1/query.proto | 3 -- proto/sdk/avail/v1beta1/validator.proto | 1 - types/query.pb.go | 53 +++++++++++-------------- types/validator.pb.go | 34 ++++++++-------- 8 files changed, 51 insertions(+), 70 deletions(-) diff --git a/Makefile b/Makefile index 66514cc..81c342a 100644 --- a/Makefile +++ b/Makefile @@ -46,8 +46,10 @@ proto-gen: proto-format: @$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \; +## TODO: fix proto-lint using protoImage +## @$(protoImage) buf lint --error-format=json proto-lint: - @$(protoImage) buf lint + buf lint proto/ .PHONY: proto-all proto-gen proto-format proto-lint diff --git a/go.mod b/go.mod index 8770a10..2a34ef8 100644 --- a/go.mod +++ b/go.mod @@ -24,7 +24,6 @@ require ( cosmossdk.io/store v1.1.0 cosmossdk.io/x/upgrade v0.1.4 github.com/cometbft/cometbft v0.38.10 - github.com/cosmos/cosmos-proto v1.0.0-beta.5 github.com/cosmos/cosmos-sdk v0.50.8 github.com/cosmos/gogoproto v1.7.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 @@ -53,6 +52,7 @@ require ( github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect github.com/chzyer/readline v1.5.1 // indirect github.com/cockroachdb/apd/v2 v2.0.2 // indirect + github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8 v8.0.2 // indirect github.com/cosmos/ibc-go/modules/capability v1.0.1 // indirect github.com/cosmos/ibc-go/v8 v8.3.2 // indirect diff --git a/proto/buf.lock b/proto/buf.lock index 360f94c..3305e06 100644 --- a/proto/buf.lock +++ b/proto/buf.lock @@ -9,25 +9,15 @@ deps: - remote: buf.build owner: cosmos repository: cosmos-sdk - commit: 05419252bcc241ea8023acf1ed4cadc5 - digest: shake256:1e54a48c19a8b59d35e0a7efa76402939f515f2d8005df099856f24c37c20a52800308f025abb8cffcd014d437b49707388aaca4865d9d063d8f25d5d4eb77d5 + commit: 5a6ab7bc14314acaa912d5e53aef1c2f + digest: shake256:02c00c73493720055f9b57553a35b5550023a3c1914123b247956288a78fb913aff70e66552777ae14d759467e119079d484af081264a5dd607a94d9fbc8116b - remote: buf.build owner: cosmos repository: gogo-proto - commit: 88ef6483f90f478fb938c37dde52ece3 - digest: shake256:89c45df2aa11e0cff97b0d695436713db3d993d76792e9f8dc1ae90e6ab9a9bec55503d48ceedd6b86069ab07d3041b32001b2bfe0227fa725dd515ff381e5ba + commit: 34d970b699f84aa382f3c29773a60836 + digest: shake256:3d3bee5229ba579e7d19ffe6e140986a228b48a8c7fe74348f308537ab95e9135210e81812489d42cd8941d33ff71f11583174ccc5972e86e6112924b6ce9f04 - remote: buf.build owner: googleapis repository: googleapis commit: e7f8d366f5264595bcc4cd4139af9973 digest: shake256:e5e5f1c12f82e028ea696faa43b4f9dc6258a6d1226282962a8c8b282e10946281d815884f574bd279ebd9cd7588629beb3db17b892af6c33b56f92f8f67f509 - - remote: buf.build - owner: protocolbuffers - repository: wellknowntypes - commit: 657250e6a39648cbb169d079a60bd9ba - digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb - - remote: buf.build - owner: tendermint - repository: tendermint - commit: 33ed361a90514289beabf3189e1d7665 - digest: shake256:038267e06294714fd883610626554b04a127b576b4e253befb4206cb72d5d3c1eeccacd4b9ec8e3fb891f7c14e1cb0f770c077d2989638995b0a61c85afedb1d diff --git a/proto/buf.yaml b/proto/buf.yaml index 4d32677..67123da 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -5,9 +5,9 @@ deps: # Latest release was in Dec 2021, https://buf.build/cosmos/cosmos-proto/commits/main - buf.build/cosmos/cosmos-proto:1935555c206d4afb9e94615dfd0fad31 # Latest release was in Oct 2022, https://buf.build/cosmos/gogo-proto/commits/main - #- buf.build/cosmos/gogo-proto:34d970b699f84aa382f3c29773a60836 - - buf.build/cosmos/gogo-proto - - buf.build/cosmos/cosmos-sdk:v0.50.8 + - buf.build/cosmos/gogo-proto:34d970b699f84aa382f3c29773a60836 + # - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-sdk:v0.50.0 - buf.build/googleapis/googleapis breaking: use: diff --git a/proto/sdk/avail/v1beta1/query.proto b/proto/sdk/avail/v1beta1/query.proto index 0805d18..0221daa 100644 --- a/proto/sdk/avail/v1beta1/query.proto +++ b/proto/sdk/avail/v1beta1/query.proto @@ -1,10 +1,7 @@ syntax = "proto3"; package sdk.avail.v1beta1; -import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "sdk/avail/v1beta1/validator.proto"; -import "google/protobuf/timestamp.proto"; import "sdk/avail/v1beta1/tx.proto"; option go_package = "github.com/vitwit/avail-da-module/types"; diff --git a/proto/sdk/avail/v1beta1/validator.proto b/proto/sdk/avail/v1beta1/validator.proto index b9bb6c3..06ba5c6 100644 --- a/proto/sdk/avail/v1beta1/validator.proto +++ b/proto/sdk/avail/v1beta1/validator.proto @@ -1,7 +1,6 @@ syntax = "proto3"; package sdk.avail.v1beta1; -import "cosmos_proto/cosmos.proto"; import "amino/amino.proto"; import "gogoproto/gogo.proto"; diff --git a/types/query.pb.go b/types/query.pb.go index db109f8..3dc54ec 100644 --- a/types/query.pb.go +++ b/types/query.pb.go @@ -6,10 +6,8 @@ package types import ( context "context" fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - _ "github.com/cosmos/gogoproto/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -144,33 +142,30 @@ func init() { func init() { proto.RegisterFile("sdk/avail/v1beta1/query.proto", fileDescriptor_30ff5d91ce731c68) } var fileDescriptor_30ff5d91ce731c68 = []byte{ - // 401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0xcf, 0x6e, 0xd4, 0x30, - 0x10, 0xc6, 0xd7, 0xa5, 0xad, 0x84, 0xf9, 0x23, 0x61, 0x10, 0x8a, 0x22, 0x48, 0xd3, 0x2d, 0x88, - 0x95, 0x50, 0x63, 0x75, 0xfb, 0x04, 0xad, 0x84, 0xc4, 0x95, 0xf4, 0xc6, 0x65, 0x65, 0x63, 0xe3, - 0xb5, 0x9a, 0x78, 0xd2, 0x78, 0x12, 0xe8, 0x95, 0x27, 0x40, 0xe2, 0x31, 0x38, 0xf7, 0x1d, 0x38, - 0x56, 0xe2, 0xc2, 0x11, 0xed, 0xf2, 0x20, 0x68, 0xed, 0x08, 0x0e, 0xbb, 0x08, 0xf5, 0x96, 0x99, - 0xef, 0x37, 0x5f, 0x3e, 0xcf, 0xd0, 0xa7, 0x5e, 0x9d, 0x73, 0xd1, 0x0b, 0x5b, 0xf1, 0xfe, 0x48, - 0x6a, 0x14, 0x47, 0xfc, 0xa2, 0xd3, 0xed, 0x65, 0xd1, 0xb4, 0x80, 0xc0, 0x1e, 0x78, 0x75, 0x5e, - 0x04, 0xb9, 0x18, 0xe4, 0xf4, 0x91, 0x01, 0x03, 0x41, 0xe5, 0xab, 0xaf, 0x08, 0xa6, 0x4f, 0x0c, - 0x80, 0xa9, 0x34, 0x17, 0x8d, 0xe5, 0xc2, 0x39, 0x40, 0x81, 0x16, 0x9c, 0x1f, 0xd4, 0xfd, 0xf5, - 0xbf, 0xf4, 0xa2, 0xb2, 0x4a, 0x20, 0xb4, 0x03, 0xb2, 0x37, 0x18, 0x84, 0x4a, 0x76, 0xef, 0x39, - 0xda, 0x5a, 0x7b, 0x14, 0x75, 0x33, 0x00, 0xe9, 0xba, 0x07, 0x7e, 0x8c, 0xda, 0x78, 0x9f, 0xee, - 0xbd, 0x59, 0xa5, 0x3e, 0xeb, 0x64, 0x6d, 0x11, 0xb5, 0x3a, 0xad, 0x40, 0x9e, 0xa1, 0xc0, 0xce, - 0x97, 0xfa, 0xa2, 0xd3, 0x1e, 0xc7, 0x57, 0x84, 0xe6, 0xff, 0x66, 0x7c, 0x03, 0xce, 0x6b, 0x56, - 0xd0, 0x9d, 0x56, 0x38, 0xa3, 0x13, 0x92, 0x93, 0xc9, 0x9d, 0x69, 0x52, 0xac, 0x3d, 0xbf, 0x28, - 0x57, 0x7a, 0x19, 0x31, 0xf6, 0x98, 0xee, 0xfa, 0xe0, 0x90, 0x6c, 0xe5, 0x64, 0x72, 0xbb, 0x1c, - 0x2a, 0x76, 0x40, 0xef, 0x35, 0x2d, 0xf4, 0xda, 0xcd, 0xe6, 0xda, 0x9a, 0x39, 0x26, 0xb7, 0x72, - 0x32, 0xd9, 0x2e, 0xef, 0xc6, 0xe6, 0xeb, 0xd0, 0x63, 0xcf, 0xe8, 0xfd, 0x1e, 0xd0, 0x3a, 0x33, - 0xd3, 0x4e, 0xf9, 0x99, 0xc0, 0x64, 0x3b, 0x52, 0xb1, 0xfb, 0xca, 0x29, 0x7f, 0x82, 0xd3, 0x2b, - 0x42, 0x77, 0x42, 0x6e, 0xf6, 0x95, 0xd0, 0x87, 0x1b, 0xc2, 0xb3, 0xe9, 0x86, 0x94, 0xff, 0xd9, - 0x46, 0x7a, 0x7c, 0xa3, 0x99, 0xb8, 0x9d, 0xf1, 0xcb, 0x4f, 0xdf, 0x7f, 0x7d, 0xd9, 0x7a, 0xce, - 0x0e, 0xe2, 0x19, 0x64, 0x05, 0xf2, 0xcf, 0x29, 0x7c, 0x98, 0xfb, 0x3b, 0x74, 0x7a, 0xf2, 0x6d, - 0x91, 0x91, 0xeb, 0x45, 0x46, 0x7e, 0x2e, 0x32, 0xf2, 0x79, 0x99, 0x8d, 0xae, 0x97, 0xd9, 0xe8, - 0xc7, 0x32, 0x1b, 0xbd, 0x7d, 0x61, 0x2c, 0xce, 0x3b, 0x59, 0xbc, 0x83, 0x9a, 0xf7, 0x16, 0x3f, - 0x58, 0x8c, 0x7e, 0x87, 0x4a, 0x1c, 0xd6, 0xa0, 0xba, 0x4a, 0x73, 0xbc, 0x6c, 0xb4, 0x97, 0xbb, - 0xe1, 0xb8, 0xc7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xcd, 0x4b, 0xa4, 0x7d, 0xa4, 0x02, 0x00, - 0x00, + // 358 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x51, 0xcd, 0x4a, 0xf3, 0x40, + 0x14, 0xed, 0xf4, 0x6b, 0x0b, 0xdf, 0xf8, 0x03, 0x8e, 0x20, 0x21, 0x68, 0x8c, 0xad, 0x62, 0x41, + 0x9a, 0xd0, 0xf6, 0x09, 0x5a, 0x10, 0xdc, 0x9a, 0xee, 0xdc, 0x94, 0x89, 0x19, 0xd2, 0xa1, 0xe9, + 0x4c, 0x9a, 0xb9, 0x89, 0x76, 0xeb, 0x13, 0x08, 0x3e, 0x86, 0xeb, 0xbe, 0x83, 0xcb, 0x82, 0x1b, + 0x97, 0xd2, 0xfa, 0x20, 0xd2, 0x4c, 0xd1, 0x45, 0x2b, 0xe2, 0xf2, 0x9e, 0x3f, 0x0e, 0xf7, 0xe0, + 0x23, 0x15, 0x0c, 0x5d, 0x9a, 0x51, 0x1e, 0xb9, 0x59, 0xd3, 0x67, 0x40, 0x9b, 0xee, 0x38, 0x65, + 0xc9, 0xc4, 0x89, 0x13, 0x09, 0x92, 0xec, 0xa9, 0x60, 0xe8, 0xe4, 0xb4, 0xb3, 0xa2, 0xcd, 0xc3, + 0x50, 0xca, 0x30, 0x62, 0x2e, 0x8d, 0xb9, 0x4b, 0x85, 0x90, 0x40, 0x81, 0x4b, 0xa1, 0xb4, 0xc1, + 0x34, 0xd7, 0xf3, 0xe0, 0x5e, 0x73, 0xd5, 0x13, 0x7c, 0x7c, 0xbd, 0xcc, 0xee, 0xa5, 0xfe, 0x88, + 0x03, 0xb0, 0xa0, 0x1b, 0x49, 0xbf, 0x07, 0x14, 0x52, 0xe5, 0xb1, 0x71, 0xca, 0x14, 0x54, 0xa7, + 0x08, 0xdb, 0x3f, 0x6b, 0x54, 0x2c, 0x85, 0x62, 0xc4, 0xc1, 0xe5, 0x84, 0x8a, 0x90, 0x19, 0xc8, + 0x46, 0xf5, 0xad, 0x96, 0xe1, 0xac, 0x95, 0x74, 0xbc, 0x25, 0xef, 0x69, 0x19, 0x39, 0xc0, 0x15, + 0x95, 0x27, 0x18, 0x45, 0x1b, 0xd5, 0xff, 0x7b, 0xab, 0x8b, 0xd4, 0xf0, 0x4e, 0x9c, 0xc8, 0x8c, + 0x89, 0xfe, 0x80, 0xf1, 0x70, 0x00, 0xc6, 0x3f, 0x1b, 0xd5, 0x4b, 0xde, 0xb6, 0x06, 0xaf, 0x72, + 0x8c, 0x9c, 0xe2, 0xdd, 0x4c, 0x02, 0x17, 0x61, 0x9f, 0x89, 0x40, 0xf5, 0x29, 0x18, 0x25, 0xad, + 0xd2, 0xe8, 0xa5, 0x08, 0x54, 0x07, 0x5a, 0x53, 0x84, 0xcb, 0x79, 0x6f, 0xf2, 0x8c, 0xf0, 0xfe, + 0x86, 0xf2, 0xa4, 0xb5, 0xa1, 0xe5, 0x2f, 0xdf, 0x30, 0xdb, 0x7f, 0xf2, 0xe8, 0xef, 0x54, 0x2f, + 0x1e, 0x5e, 0x3f, 0x9e, 0x8a, 0x67, 0xa4, 0xa6, 0x67, 0xf0, 0x23, 0xe9, 0x7f, 0x4d, 0xa1, 0x72, + 0xdf, 0xb7, 0xa9, 0xdb, 0x79, 0x99, 0x5b, 0x68, 0x36, 0xb7, 0xd0, 0xfb, 0xdc, 0x42, 0x8f, 0x0b, + 0xab, 0x30, 0x5b, 0x58, 0x85, 0xb7, 0x85, 0x55, 0xb8, 0x39, 0x0f, 0x39, 0x0c, 0x52, 0xdf, 0xb9, + 0x95, 0x23, 0x37, 0xe3, 0x70, 0xc7, 0x41, 0xe7, 0x35, 0x02, 0xda, 0x18, 0xc9, 0x20, 0x8d, 0x98, + 0x0b, 0x93, 0x98, 0x29, 0xbf, 0x92, 0x8f, 0xdb, 0xfe, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xb2, 0xf1, + 0x01, 0x68, 0x4a, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/types/validator.pb.go b/types/validator.pb.go index 3d6ccaa..8394311 100644 --- a/types/validator.pb.go +++ b/types/validator.pb.go @@ -5,7 +5,6 @@ package types import ( fmt "fmt" - _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" @@ -133,26 +132,25 @@ func init() { func init() { proto.RegisterFile("sdk/avail/v1beta1/validator.proto", fileDescriptor_274d534d2cc35a69) } var fileDescriptor_274d534d2cc35a69 = []byte{ - // 289 bytes of a gzipped FileDescriptorProto + // 275 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2c, 0x4e, 0xc9, 0xd6, 0x4f, 0x2c, 0x4b, 0xcc, 0xcc, 0xd1, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x4b, 0xcc, 0xc9, 0x4c, 0x49, 0x2c, 0xc9, 0x2f, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x2c, - 0x4e, 0xc9, 0xd6, 0x03, 0x2b, 0xd1, 0x83, 0x2a, 0x91, 0x92, 0x4c, 0xce, 0x2f, 0xce, 0xcd, 0x2f, - 0x8e, 0x07, 0x2b, 0xd0, 0x87, 0x70, 0x20, 0xaa, 0xa5, 0x04, 0x13, 0x73, 0x33, 0xf3, 0xf2, 0xf5, - 0xc1, 0x24, 0x54, 0x48, 0x24, 0x3d, 0x3f, 0x3d, 0x1f, 0xa2, 0x14, 0xc4, 0x82, 0x88, 0x2a, 0x95, - 0x73, 0x71, 0x86, 0xc1, 0x6c, 0x12, 0xd2, 0xe6, 0x12, 0x84, 0x5b, 0x1b, 0x9f, 0x98, 0x92, 0x52, - 0x94, 0x5a, 0x5c, 0x2c, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x24, 0x00, 0x97, 0x70, 0x84, 0x88, - 0x0b, 0x29, 0x73, 0xf1, 0x82, 0x9d, 0x03, 0x57, 0xc8, 0x04, 0x56, 0xc8, 0x03, 0x16, 0x84, 0x2a, - 0xb2, 0x92, 0xe8, 0x7a, 0xbe, 0x41, 0x4b, 0x18, 0x2c, 0x94, 0x94, 0x93, 0x9f, 0xa4, 0x0f, 0xb7, - 0x4b, 0x29, 0x9b, 0x8b, 0x0b, 0xce, 0x29, 0x16, 0x72, 0xe2, 0xe2, 0x82, 0x5b, 0x00, 0xb2, 0x92, - 0x59, 0x83, 0xdb, 0x48, 0x46, 0x0f, 0xc3, 0xcb, 0x7a, 0x70, 0x2d, 0x4e, 0x2c, 0x27, 0xee, 0xc9, - 0x33, 0x04, 0x21, 0xe9, 0xb2, 0x92, 0x04, 0xd9, 0x25, 0x82, 0xc5, 0xae, 0x62, 0x27, 0xc7, 0x13, - 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, - 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x52, 0x4f, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, - 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x2f, 0xcb, 0x2c, 0x29, 0xcf, 0x2c, 0x81, 0xc4, 0x83, 0x6e, 0x4a, - 0xa2, 0x6e, 0x6e, 0x7e, 0x4a, 0x69, 0x4e, 0xaa, 0x7e, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, - 0x38, 0xbc, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x03, 0xc3, 0x53, 0xab, 0x01, 0x00, - 0x00, + 0x4e, 0xc9, 0xd6, 0x03, 0x2b, 0xd1, 0x83, 0x2a, 0x91, 0x12, 0x4c, 0xcc, 0xcd, 0xcc, 0xcb, 0xd7, + 0x07, 0x93, 0x10, 0x55, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0xa6, 0x3e, 0x88, 0x05, 0x11, + 0x55, 0x2a, 0xe7, 0xe2, 0x0c, 0x83, 0x19, 0x27, 0xa4, 0xcd, 0x25, 0x08, 0x37, 0x3b, 0x3e, 0x31, + 0x25, 0xa5, 0x28, 0xb5, 0xb8, 0x58, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x48, 0x00, 0x2e, 0xe1, + 0x08, 0x11, 0x17, 0x52, 0xe6, 0xe2, 0x05, 0xdb, 0x09, 0x57, 0xc8, 0x04, 0x56, 0xc8, 0x03, 0x16, + 0x84, 0x2a, 0xb2, 0x92, 0xe8, 0x7a, 0xbe, 0x41, 0x4b, 0x18, 0x2c, 0x94, 0x94, 0x93, 0x9f, 0xa4, + 0x0f, 0xb7, 0x4b, 0x29, 0x9b, 0x8b, 0x0b, 0xce, 0x29, 0x16, 0x72, 0xe2, 0xe2, 0x82, 0x5b, 0x00, + 0xb2, 0x92, 0x59, 0x83, 0xdb, 0x48, 0x46, 0x0f, 0xc3, 0x5f, 0x7a, 0x70, 0x2d, 0x4e, 0x2c, 0x27, + 0xee, 0xc9, 0x33, 0x04, 0x21, 0xe9, 0xb2, 0x92, 0x04, 0xd9, 0x25, 0x82, 0xc5, 0xae, 0x62, 0x27, + 0xc7, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, + 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x52, 0x4f, 0xcf, 0x2c, 0xc9, + 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x2f, 0xcb, 0x2c, 0x29, 0xcf, 0x2c, 0x81, 0x04, 0xb6, + 0x6e, 0x4a, 0xa2, 0x6e, 0x6e, 0x7e, 0x4a, 0x69, 0x4e, 0xaa, 0x7e, 0x49, 0x65, 0x41, 0x6a, 0x71, + 0x12, 0x1b, 0x38, 0xbc, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x9c, 0x4f, 0xb5, 0x7d, 0x90, + 0x01, 0x00, 0x00, } func (m *Validator) Marshal() (dAtA []byte, err error) { From 0068cd20aefb7de6a3df271a68f452fa14bda762 Mon Sep 17 00:00:00 2001 From: NagaTulasi Date: Fri, 20 Sep 2024 12:12:40 +0530 Subject: [PATCH 9/9] rm commented code --- .github/workflows/proto.yml | 101 ------------------------------------ proto/buf.yaml | 1 - 2 files changed, 102 deletions(-) diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index 9fd282e..1c997e8 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -1,104 +1,3 @@ -# name: Protobuf -# # Protobuf runs buf (https://buf.build/) lint and check-breakage -# # This workflow is only run when a .proto file has been changed -# on: -# pull_request: - -# concurrency: -# group: ci-${{ github.ref }}-protobuf -# cancel-in-progress: true - -# jobs: -# lint: -# runs-on: ubuntu-latest -# timeout-minutes: 5 -# steps: -# - uses: actions/checkout@v3 -# - uses: technote-space/get-diff-action@v4 -# with: -# PATTERNS: | -# **/**.proto -# - name: lint -# run: make proto-lint -# if: env.GIT_DIFF -# breakage: -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v3 -# - uses: technote-space/get-diff-action@v4 -# with: -# PATTERNS: | -# **/**.proto -# - name: check-breakage -# run: make proto-check-breaking -# if: env.GIT_DIFF - - -# name: Protobuf -# # Protobuf runs buf (https://buf.build/) lint and check-breakage -# # This workflow is only run when a .proto file has been changed -# on: -# pull_request: - -# concurrency: -# group: ci-${{ github.ref }}-protobuf -# cancel-in-progress: true - -# jobs: -# lint: -# runs-on: ubuntu-latest -# timeout-minutes: 5 -# steps: -# - uses: actions/checkout@v3 -# - uses: technote-space/get-diff-action@v4 -# id: get_diff -# with: -# PATTERNS: | -# **/**.proto -# - name: lint -# run: make proto-lint -# if: steps.get_diff.outputs.changed == 'true' - -# breakage: -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v3 -# - uses: technote-space/get-diff-action@v4 -# id: get_diff -# with: -# PATTERNS: | -# **/**.proto -# - name: check-breakage -# run: make proto-check-breaking -# if: steps.get_diff.outputs.changed == 'true' - -# name: Protobuf -# # Protobuf runs buf (https://buf.build/) lint and check-breakage -# # This workflow runs on every pull request - -# on: -# pull_request: - -# concurrency: -# group: ci-${{ github.ref }}-protobuf -# cancel-in-progress: true - -# jobs: -# lint: -# runs-on: ubuntu-latest -# timeout-minutes: 5 -# steps: -# - uses: actions/checkout@v3 -# - name: lint -# run: make proto-lint - -# breakage: -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v3 -# - name: check-breakage -# run: make proto-check-breaking - name: Protobuf # Protobuf runs buf (https://buf.build/) lint and check-breakage # This workflow is only run when a .proto file has been changed diff --git a/proto/buf.yaml b/proto/buf.yaml index 67123da..dfb8b1d 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -28,4 +28,3 @@ lint: ignore: - tendermint allow_comment_ignores: true - \ No newline at end of file