diff --git a/.github/workflows/proto-registry.yml b/.github/workflows/proto-registry.yml index 63e2aad1d554..4c08584a5af2 100644 --- a/.github/workflows/proto-registry.yml +++ b/.github/workflows/proto-registry.yml @@ -1,20 +1,23 @@ -name: Buf-Push +# name: Buf Push # Protobuf runs buf (https://buf.build/) push updated proto files to https://buf.build/cosmos/cosmos-sdk # This workflow is only run when a .proto file has been changed -on: - push: - branches: - - main - paths: - - "proto/**" +# on: +# push: +# tags: +# - "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10 +# - "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+" # Push events to matching v*-rc*, i.e. v1.0-rc1, v20.15.10-rc2 +# - "v[0-9]+.[0-9]+.[0-9]+-beta[0-9]+" # Push events to matching v*-beta*, i.e. v1.0-beta1, v20.15.10-beta2 +# - "v[0-9]+.[0-9]+.[0-9]+-alpha[0-9]+" # Push events to matching v*-alpha*, i.e. v1.0-alpha1, v20.15.10-alpha2 +# paths: +# - "proto/**" -jobs: - push: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: bufbuild/buf-setup-action@v1.29.0 - - uses: bufbuild/buf-push-action@v1 - with: - input: "proto" - buf_token: ${{ secrets.BUF_TOKEN }} +# jobs: +# root: +# runs-on: ubuntu-latest +# name: "Push to buf.build/cosmos/cosmos-sdk" +# steps: +# - uses: actions/checkout@v4 +# - uses: bufbuild/buf-setup-action@v1.29.0 +# - run: buf push proto --tag ${{ github.ref_type == 'tag' && github.ref_name || github.sha }} # https://github.com/bufbuild/buf-push-action/issues/20 + +## TODO at each module tag to their own buf repository diff --git a/Makefile b/Makefile index b7e676848609..bcc1db4fc80b 100644 --- a/Makefile +++ b/Makefile @@ -425,7 +425,6 @@ proto-all: proto-format proto-lint proto-gen #? proto-gen: Generate Protobuf files proto-gen: - @echo "Generating Protobuf files" @$(protoImage) sh ./scripts/protocgen.sh #? proto-swagger-gen: Generate Protobuf Swagger diff --git a/api/cosmos/bank/v1beta1/bank.pulsar.go b/api/cosmos/bank/v1beta1/bank.pulsar.go index 8e3a54902656..df27e11bf14b 100644 --- a/api/cosmos/bank/v1beta1/bank.pulsar.go +++ b/api/cosmos/bank/v1beta1/bank.pulsar.go @@ -4391,6 +4391,7 @@ type Supply struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + // total is the total supply of coins across the network. Total []*v1beta1.Coin `protobuf:"bytes,1,rep,name=total,proto3" json:"total,omitempty"` } diff --git a/scripts/protocgen-pulsar.sh b/scripts/protocgen-pulsar.sh deleted file mode 100755 index 5fe48f859afc..000000000000 --- a/scripts/protocgen-pulsar.sh +++ /dev/null @@ -1,14 +0,0 @@ -# this script is for generating protobuf files for the new google.golang.org/protobuf API -set -eo pipefail - -echo "Cleaning API directory" -(cd api; find ./ -type f \( -iname \*.pulsar.go -o -iname \*.pb.go -o -iname \*.cosmos_orm.go -o -iname \*.pb.gw.go \) -delete; find . -empty -type d -delete; cd ..) - -echo "Generating API module" -(cd proto; buf generate --template buf.gen.pulsar.yaml) - -echo "Generate Pulsar Test Data" -(cd testutil/testdata; buf generate --template buf.gen.pulsar.yaml) - -echo "Generate x/tx" -(cd x/tx; make codegen) \ No newline at end of file diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index 60b4f03c0cb3..8d84d160eb1a 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -9,32 +9,52 @@ find ./ -name "*.proto" -exec clang-format -i {} \; set -e -echo "Generating gogo proto code" -cd proto -proto_dirs=$(find ./cosmos ./amino -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq | grep -v '^./cosmos/store/') +home=$PWD + +echo "Generating proto code" +proto_dirs=$(find ./ -name 'buf.yaml' -print0 | xargs -0 -n1 dirname | sort | uniq) for dir in $proto_dirs; do - for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do - # this regex checks if a proto file has its go_package set to cosmossdk.io/api/... - # gogo proto files SHOULD ONLY be generated if this is false - # we don't want gogo proto to run for proto files which are natively built for google.golang.org/protobuf - if grep -q "option go_package" "$file" && grep -H -o -c 'option go_package.*cosmossdk.io/api' "$file" | grep -q ':0$'; then - buf generate --template buf.gen.gogo.yaml $file + echo "Generating proto code for $dir" + + cd $dir + # check if buf.gen.pulsar.yaml exists in the proto directory + if [ -f "buf.gen.pulsar.yaml" ]; then + buf generate --template buf.gen.pulsar.yaml + # move generated files to the right places + if [ -d "../cosmos" -a "$dir" != "./proto" ]; then + cp -r ../cosmos $home/api + rm -rf ../cosmos + fi + fi + + # check if buf.gen.gogo.yaml exists in the proto directory + if [ -f "buf.gen.gogo.yaml" ]; then + for file in $(find . -maxdepth 5 -name '*.proto' | grep -v '^./cosmos/store/'); do + # this regex checks if a proto file has its go_package set to cosmossdk.io/api/... + # gogo proto files SHOULD ONLY be generated if this is false + # we don't want gogo proto to run for proto files which are natively built for google.golang.org/protobuf + if grep -q "option go_package" "$file" && grep -H -o -c 'option go_package.*cosmossdk.io/api' "$file" | grep -q ':0$'; then + buf generate --template buf.gen.gogo.yaml $file + fi + done + + # move generated files to the right places + if [ -d "../cosmossdk.io" -a "$dir" != "./proto" ]; then + cp -r ../cosmossdk.io/* $home + rm -rf ../cosmossdk.io fi - done -done -cd .. + if [ -d "../github.com" -a "$dir" != "./proto" ]; then + cp -r ../github.com/cosmos/cosmos-sdk/* $home + rm -rf ../github.com + fi + fi -# generate tests proto code -(cd testutil/testdata; buf generate) -(cd baseapp/testutil; buf generate) -(cd tests/integration/tx/internal; make codegen) + cd $home +done -# move proto files to the right places +# move generated files to the right places cp -r github.com/cosmos/cosmos-sdk/* ./ -cp -r cosmossdk.io/** ./ -rm -rf github.com cosmossdk.io - -go mod tidy +rm -rf github.com -./scripts/protocgen-pulsar.sh +go mod tidy \ No newline at end of file diff --git a/x/accounts/proto/buf.gen.gogo.yaml b/x/accounts/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/accounts/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/accounts/proto/buf.gen.pulsar.yaml b/x/accounts/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..cbabfe877f7f --- /dev/null +++ b/x/accounts/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative,Mcosmos/app/v1alpha1/module.proto=cosmossdk.io/api/cosmos/app/v1alpha1 diff --git a/x/accounts/proto/buf.lock b/x/accounts/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/accounts/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/accounts/proto/buf.yaml b/x/accounts/proto/buf.yaml new file mode 100644 index 000000000000..2a8173af602e --- /dev/null +++ b/x/accounts/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/accounts +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/accounts/defaults/base/v1/base.proto b/x/accounts/proto/cosmos/accounts/defaults/base/v1/base.proto similarity index 100% rename from proto/cosmos/accounts/defaults/base/v1/base.proto rename to x/accounts/proto/cosmos/accounts/defaults/base/v1/base.proto diff --git a/proto/cosmos/accounts/interfaces/account_abstraction/v1/interface.proto b/x/accounts/proto/cosmos/accounts/interfaces/account_abstraction/v1/interface.proto similarity index 100% rename from proto/cosmos/accounts/interfaces/account_abstraction/v1/interface.proto rename to x/accounts/proto/cosmos/accounts/interfaces/account_abstraction/v1/interface.proto diff --git a/proto/cosmos/accounts/module/v1/module.proto b/x/accounts/proto/cosmos/accounts/module/v1/module.proto similarity index 100% rename from proto/cosmos/accounts/module/v1/module.proto rename to x/accounts/proto/cosmos/accounts/module/v1/module.proto diff --git a/proto/cosmos/accounts/testing/counter/v1/counter.proto b/x/accounts/proto/cosmos/accounts/testing/counter/v1/counter.proto similarity index 100% rename from proto/cosmos/accounts/testing/counter/v1/counter.proto rename to x/accounts/proto/cosmos/accounts/testing/counter/v1/counter.proto diff --git a/proto/cosmos/accounts/testing/rotation/v1/partial.proto b/x/accounts/proto/cosmos/accounts/testing/rotation/v1/partial.proto similarity index 100% rename from proto/cosmos/accounts/testing/rotation/v1/partial.proto rename to x/accounts/proto/cosmos/accounts/testing/rotation/v1/partial.proto diff --git a/proto/cosmos/accounts/v1/accounts.proto b/x/accounts/proto/cosmos/accounts/v1/accounts.proto similarity index 100% rename from proto/cosmos/accounts/v1/accounts.proto rename to x/accounts/proto/cosmos/accounts/v1/accounts.proto diff --git a/proto/cosmos/accounts/v1/genesis.proto b/x/accounts/proto/cosmos/accounts/v1/genesis.proto similarity index 100% rename from proto/cosmos/accounts/v1/genesis.proto rename to x/accounts/proto/cosmos/accounts/v1/genesis.proto diff --git a/proto/cosmos/accounts/v1/query.proto b/x/accounts/proto/cosmos/accounts/v1/query.proto similarity index 100% rename from proto/cosmos/accounts/v1/query.proto rename to x/accounts/proto/cosmos/accounts/v1/query.proto diff --git a/proto/cosmos/accounts/v1/tx.proto b/x/accounts/proto/cosmos/accounts/v1/tx.proto similarity index 100% rename from proto/cosmos/accounts/v1/tx.proto rename to x/accounts/proto/cosmos/accounts/v1/tx.proto diff --git a/x/auth/proto/buf.gen.gogo.yaml b/x/auth/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/auth/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/auth/proto/buf.gen.pulsar.yaml b/x/auth/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/auth/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/auth/proto/buf.lock b/x/auth/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/auth/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/auth/proto/buf.yaml b/x/auth/proto/buf.yaml new file mode 100644 index 000000000000..e59a92092e2b --- /dev/null +++ b/x/auth/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/auth +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/auth/module/v1/module.proto b/x/auth/proto/cosmos/auth/module/v1/module.proto similarity index 100% rename from proto/cosmos/auth/module/v1/module.proto rename to x/auth/proto/cosmos/auth/module/v1/module.proto diff --git a/proto/cosmos/auth/v1beta1/auth.proto b/x/auth/proto/cosmos/auth/v1beta1/auth.proto similarity index 100% rename from proto/cosmos/auth/v1beta1/auth.proto rename to x/auth/proto/cosmos/auth/v1beta1/auth.proto diff --git a/proto/cosmos/auth/v1beta1/genesis.proto b/x/auth/proto/cosmos/auth/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/auth/v1beta1/genesis.proto rename to x/auth/proto/cosmos/auth/v1beta1/genesis.proto diff --git a/proto/cosmos/auth/v1beta1/query.proto b/x/auth/proto/cosmos/auth/v1beta1/query.proto similarity index 100% rename from proto/cosmos/auth/v1beta1/query.proto rename to x/auth/proto/cosmos/auth/v1beta1/query.proto diff --git a/proto/cosmos/auth/v1beta1/tx.proto b/x/auth/proto/cosmos/auth/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/auth/v1beta1/tx.proto rename to x/auth/proto/cosmos/auth/v1beta1/tx.proto diff --git a/proto/cosmos/vesting/module/v1/module.proto b/x/auth/vesting/proto/cosmos/vesting/module/v1/module.proto similarity index 100% rename from proto/cosmos/vesting/module/v1/module.proto rename to x/auth/vesting/proto/cosmos/vesting/module/v1/module.proto diff --git a/proto/cosmos/vesting/v1beta1/tx.proto b/x/auth/vesting/proto/cosmos/vesting/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/vesting/v1beta1/tx.proto rename to x/auth/vesting/proto/cosmos/vesting/v1beta1/tx.proto diff --git a/proto/cosmos/vesting/v1beta1/vesting.proto b/x/auth/vesting/proto/cosmos/vesting/v1beta1/vesting.proto similarity index 100% rename from proto/cosmos/vesting/v1beta1/vesting.proto rename to x/auth/vesting/proto/cosmos/vesting/v1beta1/vesting.proto diff --git a/x/authz/proto/buf.gen.gogo.yaml b/x/authz/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/authz/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/authz/proto/buf.gen.pulsar.yaml b/x/authz/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/authz/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/authz/proto/buf.lock b/x/authz/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/authz/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/authz/proto/buf.yaml b/x/authz/proto/buf.yaml new file mode 100644 index 000000000000..2ca54efc3588 --- /dev/null +++ b/x/authz/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/authz +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/authz/module/v1/module.proto b/x/authz/proto/cosmos/authz/module/v1/module.proto similarity index 100% rename from proto/cosmos/authz/module/v1/module.proto rename to x/authz/proto/cosmos/authz/module/v1/module.proto diff --git a/proto/cosmos/authz/v1beta1/authz.proto b/x/authz/proto/cosmos/authz/v1beta1/authz.proto similarity index 100% rename from proto/cosmos/authz/v1beta1/authz.proto rename to x/authz/proto/cosmos/authz/v1beta1/authz.proto diff --git a/proto/cosmos/authz/v1beta1/event.proto b/x/authz/proto/cosmos/authz/v1beta1/event.proto similarity index 100% rename from proto/cosmos/authz/v1beta1/event.proto rename to x/authz/proto/cosmos/authz/v1beta1/event.proto diff --git a/proto/cosmos/authz/v1beta1/genesis.proto b/x/authz/proto/cosmos/authz/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/authz/v1beta1/genesis.proto rename to x/authz/proto/cosmos/authz/v1beta1/genesis.proto diff --git a/proto/cosmos/authz/v1beta1/query.proto b/x/authz/proto/cosmos/authz/v1beta1/query.proto similarity index 100% rename from proto/cosmos/authz/v1beta1/query.proto rename to x/authz/proto/cosmos/authz/v1beta1/query.proto diff --git a/proto/cosmos/authz/v1beta1/tx.proto b/x/authz/proto/cosmos/authz/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/authz/v1beta1/tx.proto rename to x/authz/proto/cosmos/authz/v1beta1/tx.proto diff --git a/x/bank/proto/buf.gen.gogo.yaml b/x/bank/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/bank/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/bank/proto/buf.gen.pulsar.yaml b/x/bank/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/bank/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/bank/proto/buf.lock b/x/bank/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/bank/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/bank/proto/buf.yaml b/x/bank/proto/buf.yaml new file mode 100644 index 000000000000..4a517dee2234 --- /dev/null +++ b/x/bank/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/bank +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/bank/module/v1/module.proto b/x/bank/proto/cosmos/bank/module/v1/module.proto similarity index 100% rename from proto/cosmos/bank/module/v1/module.proto rename to x/bank/proto/cosmos/bank/module/v1/module.proto diff --git a/proto/cosmos/bank/v1beta1/authz.proto b/x/bank/proto/cosmos/bank/v1beta1/authz.proto similarity index 100% rename from proto/cosmos/bank/v1beta1/authz.proto rename to x/bank/proto/cosmos/bank/v1beta1/authz.proto diff --git a/proto/cosmos/bank/v1beta1/bank.proto b/x/bank/proto/cosmos/bank/v1beta1/bank.proto similarity index 98% rename from proto/cosmos/bank/v1beta1/bank.proto rename to x/bank/proto/cosmos/bank/v1beta1/bank.proto index f316a37e758d..6450fb74ee77 100644 --- a/proto/cosmos/bank/v1beta1/bank.proto +++ b/x/bank/proto/cosmos/bank/v1beta1/bank.proto @@ -70,6 +70,7 @@ message Supply { option (cosmos_proto.implements_interface) = "cosmos.bank.v1beta1.SupplyI"; + // total is the total supply of coins across the network. repeated cosmos.base.v1beta1.Coin total = 1 [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true, diff --git a/proto/cosmos/bank/v1beta1/genesis.proto b/x/bank/proto/cosmos/bank/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/bank/v1beta1/genesis.proto rename to x/bank/proto/cosmos/bank/v1beta1/genesis.proto diff --git a/proto/cosmos/bank/v1beta1/query.proto b/x/bank/proto/cosmos/bank/v1beta1/query.proto similarity index 100% rename from proto/cosmos/bank/v1beta1/query.proto rename to x/bank/proto/cosmos/bank/v1beta1/query.proto diff --git a/proto/cosmos/bank/v1beta1/tx.proto b/x/bank/proto/cosmos/bank/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/bank/v1beta1/tx.proto rename to x/bank/proto/cosmos/bank/v1beta1/tx.proto diff --git a/x/bank/types/bank.pb.go b/x/bank/types/bank.pb.go index ac026d1c4797..6ea27a9effbd 100644 --- a/x/bank/types/bank.pb.go +++ b/x/bank/types/bank.pb.go @@ -225,6 +225,7 @@ var xxx_messageInfo_Output proto.InternalMessageInfo // // Deprecated: Do not use. type Supply struct { + // total is the total supply of coins across the network. Total github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=total,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"total"` } diff --git a/x/circuit/proto/buf.gen.gogo.yaml b/x/circuit/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/circuit/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/circuit/proto/buf.gen.pulsar.yaml b/x/circuit/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/circuit/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/circuit/proto/buf.lock b/x/circuit/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/circuit/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/circuit/proto/buf.yaml b/x/circuit/proto/buf.yaml new file mode 100644 index 000000000000..005e80f6f643 --- /dev/null +++ b/x/circuit/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/circuit +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/circuit/module/v1/module.proto b/x/circuit/proto/cosmos/circuit/module/v1/module.proto similarity index 100% rename from proto/cosmos/circuit/module/v1/module.proto rename to x/circuit/proto/cosmos/circuit/module/v1/module.proto diff --git a/proto/cosmos/circuit/v1/query.proto b/x/circuit/proto/cosmos/circuit/v1/query.proto similarity index 100% rename from proto/cosmos/circuit/v1/query.proto rename to x/circuit/proto/cosmos/circuit/v1/query.proto diff --git a/proto/cosmos/circuit/v1/tx.proto b/x/circuit/proto/cosmos/circuit/v1/tx.proto similarity index 100% rename from proto/cosmos/circuit/v1/tx.proto rename to x/circuit/proto/cosmos/circuit/v1/tx.proto diff --git a/proto/cosmos/circuit/v1/types.proto b/x/circuit/proto/cosmos/circuit/v1/types.proto similarity index 100% rename from proto/cosmos/circuit/v1/types.proto rename to x/circuit/proto/cosmos/circuit/v1/types.proto diff --git a/x/consensus/proto/buf.gen.gogo.yaml b/x/consensus/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/consensus/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/consensus/proto/buf.gen.pulsar.yaml b/x/consensus/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/consensus/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/consensus/proto/buf.lock b/x/consensus/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/consensus/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/consensus/proto/buf.yaml b/x/consensus/proto/buf.yaml new file mode 100644 index 000000000000..6c238f2ddc81 --- /dev/null +++ b/x/consensus/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/consensus +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/consensus/module/v1/module.proto b/x/consensus/proto/cosmos/consensus/module/v1/module.proto similarity index 100% rename from proto/cosmos/consensus/module/v1/module.proto rename to x/consensus/proto/cosmos/consensus/module/v1/module.proto diff --git a/proto/cosmos/consensus/v1/query.proto b/x/consensus/proto/cosmos/consensus/v1/query.proto similarity index 100% rename from proto/cosmos/consensus/v1/query.proto rename to x/consensus/proto/cosmos/consensus/v1/query.proto diff --git a/proto/cosmos/consensus/v1/tx.proto b/x/consensus/proto/cosmos/consensus/v1/tx.proto similarity index 100% rename from proto/cosmos/consensus/v1/tx.proto rename to x/consensus/proto/cosmos/consensus/v1/tx.proto diff --git a/x/counter/proto/buf.gen.gogo.yaml b/x/counter/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/counter/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/counter/proto/buf.gen.pulsar.yaml b/x/counter/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/counter/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/counter/proto/buf.lock b/x/counter/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/counter/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/counter/proto/buf.yaml b/x/counter/proto/buf.yaml new file mode 100644 index 000000000000..202f3f2e6ff7 --- /dev/null +++ b/x/counter/proto/buf.yaml @@ -0,0 +1,17 @@ +version: v1 +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/counter/module/v1/module.proto b/x/counter/proto/cosmos/counter/module/v1/module.proto similarity index 100% rename from proto/cosmos/counter/module/v1/module.proto rename to x/counter/proto/cosmos/counter/module/v1/module.proto diff --git a/proto/cosmos/counter/v1/query.proto b/x/counter/proto/cosmos/counter/v1/query.proto similarity index 100% rename from proto/cosmos/counter/v1/query.proto rename to x/counter/proto/cosmos/counter/v1/query.proto diff --git a/proto/cosmos/counter/v1/tx.proto b/x/counter/proto/cosmos/counter/v1/tx.proto similarity index 100% rename from proto/cosmos/counter/v1/tx.proto rename to x/counter/proto/cosmos/counter/v1/tx.proto diff --git a/x/crisis/proto/buf.gen.gogo.yaml b/x/crisis/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/crisis/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/crisis/proto/buf.gen.pulsar.yaml b/x/crisis/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/crisis/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/crisis/proto/buf.lock b/x/crisis/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/crisis/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/crisis/proto/buf.yaml b/x/crisis/proto/buf.yaml new file mode 100644 index 000000000000..202f3f2e6ff7 --- /dev/null +++ b/x/crisis/proto/buf.yaml @@ -0,0 +1,17 @@ +version: v1 +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/crisis/module/v1/module.proto b/x/crisis/proto/cosmos/crisis/module/v1/module.proto similarity index 100% rename from proto/cosmos/crisis/module/v1/module.proto rename to x/crisis/proto/cosmos/crisis/module/v1/module.proto diff --git a/proto/cosmos/crisis/v1beta1/genesis.proto b/x/crisis/proto/cosmos/crisis/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/crisis/v1beta1/genesis.proto rename to x/crisis/proto/cosmos/crisis/v1beta1/genesis.proto diff --git a/proto/cosmos/crisis/v1beta1/tx.proto b/x/crisis/proto/cosmos/crisis/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/crisis/v1beta1/tx.proto rename to x/crisis/proto/cosmos/crisis/v1beta1/tx.proto diff --git a/x/distribution/proto/buf.gen.gogo.yaml b/x/distribution/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/distribution/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/distribution/proto/buf.gen.pulsar.yaml b/x/distribution/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/distribution/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/distribution/proto/buf.lock b/x/distribution/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/distribution/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/distribution/proto/buf.yaml b/x/distribution/proto/buf.yaml new file mode 100644 index 000000000000..2ece01b752d8 --- /dev/null +++ b/x/distribution/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/distribution +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/distribution/module/v1/module.proto b/x/distribution/proto/cosmos/distribution/module/v1/module.proto similarity index 100% rename from proto/cosmos/distribution/module/v1/module.proto rename to x/distribution/proto/cosmos/distribution/module/v1/module.proto diff --git a/proto/cosmos/distribution/v1beta1/distribution.proto b/x/distribution/proto/cosmos/distribution/v1beta1/distribution.proto similarity index 100% rename from proto/cosmos/distribution/v1beta1/distribution.proto rename to x/distribution/proto/cosmos/distribution/v1beta1/distribution.proto diff --git a/proto/cosmos/distribution/v1beta1/genesis.proto b/x/distribution/proto/cosmos/distribution/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/distribution/v1beta1/genesis.proto rename to x/distribution/proto/cosmos/distribution/v1beta1/genesis.proto diff --git a/proto/cosmos/distribution/v1beta1/query.proto b/x/distribution/proto/cosmos/distribution/v1beta1/query.proto similarity index 100% rename from proto/cosmos/distribution/v1beta1/query.proto rename to x/distribution/proto/cosmos/distribution/v1beta1/query.proto diff --git a/proto/cosmos/distribution/v1beta1/tx.proto b/x/distribution/proto/cosmos/distribution/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/distribution/v1beta1/tx.proto rename to x/distribution/proto/cosmos/distribution/v1beta1/tx.proto diff --git a/x/evidence/proto/buf.gen.gogo.yaml b/x/evidence/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/evidence/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/evidence/proto/buf.gen.pulsar.yaml b/x/evidence/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/evidence/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/evidence/proto/buf.lock b/x/evidence/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/evidence/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/evidence/proto/buf.yaml b/x/evidence/proto/buf.yaml new file mode 100644 index 000000000000..880c88976267 --- /dev/null +++ b/x/evidence/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/evidence +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/evidence/module/v1/module.proto b/x/evidence/proto/cosmos/evidence/module/v1/module.proto similarity index 100% rename from proto/cosmos/evidence/module/v1/module.proto rename to x/evidence/proto/cosmos/evidence/module/v1/module.proto diff --git a/proto/cosmos/evidence/v1beta1/evidence.proto b/x/evidence/proto/cosmos/evidence/v1beta1/evidence.proto similarity index 100% rename from proto/cosmos/evidence/v1beta1/evidence.proto rename to x/evidence/proto/cosmos/evidence/v1beta1/evidence.proto diff --git a/proto/cosmos/evidence/v1beta1/genesis.proto b/x/evidence/proto/cosmos/evidence/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/evidence/v1beta1/genesis.proto rename to x/evidence/proto/cosmos/evidence/v1beta1/genesis.proto diff --git a/proto/cosmos/evidence/v1beta1/query.proto b/x/evidence/proto/cosmos/evidence/v1beta1/query.proto similarity index 100% rename from proto/cosmos/evidence/v1beta1/query.proto rename to x/evidence/proto/cosmos/evidence/v1beta1/query.proto diff --git a/proto/cosmos/evidence/v1beta1/tx.proto b/x/evidence/proto/cosmos/evidence/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/evidence/v1beta1/tx.proto rename to x/evidence/proto/cosmos/evidence/v1beta1/tx.proto diff --git a/x/feegrant/proto/buf.gen.gogo.yaml b/x/feegrant/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/feegrant/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/feegrant/proto/buf.gen.pulsar.yaml b/x/feegrant/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/feegrant/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/feegrant/proto/buf.lock b/x/feegrant/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/feegrant/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/feegrant/proto/buf.yaml b/x/feegrant/proto/buf.yaml new file mode 100644 index 000000000000..71bc787ed871 --- /dev/null +++ b/x/feegrant/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/feegrant +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/feegrant/module/v1/module.proto b/x/feegrant/proto/cosmos/feegrant/module/v1/module.proto similarity index 100% rename from proto/cosmos/feegrant/module/v1/module.proto rename to x/feegrant/proto/cosmos/feegrant/module/v1/module.proto diff --git a/proto/cosmos/feegrant/v1beta1/feegrant.proto b/x/feegrant/proto/cosmos/feegrant/v1beta1/feegrant.proto similarity index 100% rename from proto/cosmos/feegrant/v1beta1/feegrant.proto rename to x/feegrant/proto/cosmos/feegrant/v1beta1/feegrant.proto diff --git a/proto/cosmos/feegrant/v1beta1/genesis.proto b/x/feegrant/proto/cosmos/feegrant/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/feegrant/v1beta1/genesis.proto rename to x/feegrant/proto/cosmos/feegrant/v1beta1/genesis.proto diff --git a/proto/cosmos/feegrant/v1beta1/query.proto b/x/feegrant/proto/cosmos/feegrant/v1beta1/query.proto similarity index 100% rename from proto/cosmos/feegrant/v1beta1/query.proto rename to x/feegrant/proto/cosmos/feegrant/v1beta1/query.proto diff --git a/proto/cosmos/feegrant/v1beta1/tx.proto b/x/feegrant/proto/cosmos/feegrant/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/feegrant/v1beta1/tx.proto rename to x/feegrant/proto/cosmos/feegrant/v1beta1/tx.proto diff --git a/x/genutil/proto/buf.gen.gogo.yaml b/x/genutil/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/genutil/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/genutil/proto/buf.gen.pulsar.yaml b/x/genutil/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/genutil/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/genutil/proto/buf.lock b/x/genutil/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/genutil/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/genutil/proto/buf.yaml b/x/genutil/proto/buf.yaml new file mode 100644 index 000000000000..202f3f2e6ff7 --- /dev/null +++ b/x/genutil/proto/buf.yaml @@ -0,0 +1,17 @@ +version: v1 +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/genutil/module/v1/module.proto b/x/genutil/proto/cosmos/genutil/module/v1/module.proto similarity index 100% rename from proto/cosmos/genutil/module/v1/module.proto rename to x/genutil/proto/cosmos/genutil/module/v1/module.proto diff --git a/proto/cosmos/genutil/v1beta1/genesis.proto b/x/genutil/proto/cosmos/genutil/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/genutil/v1beta1/genesis.proto rename to x/genutil/proto/cosmos/genutil/v1beta1/genesis.proto diff --git a/x/gov/proto/buf.gen.gogo.yaml b/x/gov/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/gov/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/gov/proto/buf.gen.pulsar.yaml b/x/gov/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/gov/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/gov/proto/buf.lock b/x/gov/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/gov/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/gov/proto/buf.yaml b/x/gov/proto/buf.yaml new file mode 100644 index 000000000000..1c988c18b6aa --- /dev/null +++ b/x/gov/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/gov +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/gov/module/v1/module.proto b/x/gov/proto/cosmos/gov/module/v1/module.proto similarity index 100% rename from proto/cosmos/gov/module/v1/module.proto rename to x/gov/proto/cosmos/gov/module/v1/module.proto diff --git a/proto/cosmos/gov/v1/genesis.proto b/x/gov/proto/cosmos/gov/v1/genesis.proto similarity index 100% rename from proto/cosmos/gov/v1/genesis.proto rename to x/gov/proto/cosmos/gov/v1/genesis.proto diff --git a/proto/cosmos/gov/v1/gov.proto b/x/gov/proto/cosmos/gov/v1/gov.proto similarity index 100% rename from proto/cosmos/gov/v1/gov.proto rename to x/gov/proto/cosmos/gov/v1/gov.proto diff --git a/proto/cosmos/gov/v1/query.proto b/x/gov/proto/cosmos/gov/v1/query.proto similarity index 100% rename from proto/cosmos/gov/v1/query.proto rename to x/gov/proto/cosmos/gov/v1/query.proto diff --git a/proto/cosmos/gov/v1/tx.proto b/x/gov/proto/cosmos/gov/v1/tx.proto similarity index 100% rename from proto/cosmos/gov/v1/tx.proto rename to x/gov/proto/cosmos/gov/v1/tx.proto diff --git a/proto/cosmos/gov/v1beta1/genesis.proto b/x/gov/proto/cosmos/gov/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/gov/v1beta1/genesis.proto rename to x/gov/proto/cosmos/gov/v1beta1/genesis.proto diff --git a/proto/cosmos/gov/v1beta1/gov.proto b/x/gov/proto/cosmos/gov/v1beta1/gov.proto similarity index 100% rename from proto/cosmos/gov/v1beta1/gov.proto rename to x/gov/proto/cosmos/gov/v1beta1/gov.proto diff --git a/proto/cosmos/gov/v1beta1/query.proto b/x/gov/proto/cosmos/gov/v1beta1/query.proto similarity index 100% rename from proto/cosmos/gov/v1beta1/query.proto rename to x/gov/proto/cosmos/gov/v1beta1/query.proto diff --git a/proto/cosmos/gov/v1beta1/tx.proto b/x/gov/proto/cosmos/gov/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/gov/v1beta1/tx.proto rename to x/gov/proto/cosmos/gov/v1beta1/tx.proto diff --git a/x/group/proto/buf.gen.gogo.yaml b/x/group/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/group/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/group/proto/buf.gen.pulsar.yaml b/x/group/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/group/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/group/proto/buf.lock b/x/group/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/group/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/group/proto/buf.yaml b/x/group/proto/buf.yaml new file mode 100644 index 000000000000..acb49c6808de --- /dev/null +++ b/x/group/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/group +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/group/module/v1/module.proto b/x/group/proto/cosmos/group/module/v1/module.proto similarity index 100% rename from proto/cosmos/group/module/v1/module.proto rename to x/group/proto/cosmos/group/module/v1/module.proto diff --git a/proto/cosmos/group/v1/events.proto b/x/group/proto/cosmos/group/v1/events.proto similarity index 100% rename from proto/cosmos/group/v1/events.proto rename to x/group/proto/cosmos/group/v1/events.proto diff --git a/proto/cosmos/group/v1/genesis.proto b/x/group/proto/cosmos/group/v1/genesis.proto similarity index 100% rename from proto/cosmos/group/v1/genesis.proto rename to x/group/proto/cosmos/group/v1/genesis.proto diff --git a/proto/cosmos/group/v1/query.proto b/x/group/proto/cosmos/group/v1/query.proto similarity index 100% rename from proto/cosmos/group/v1/query.proto rename to x/group/proto/cosmos/group/v1/query.proto diff --git a/proto/cosmos/group/v1/tx.proto b/x/group/proto/cosmos/group/v1/tx.proto similarity index 100% rename from proto/cosmos/group/v1/tx.proto rename to x/group/proto/cosmos/group/v1/tx.proto diff --git a/proto/cosmos/group/v1/types.proto b/x/group/proto/cosmos/group/v1/types.proto similarity index 100% rename from proto/cosmos/group/v1/types.proto rename to x/group/proto/cosmos/group/v1/types.proto diff --git a/x/mint/proto/buf.gen.gogo.yaml b/x/mint/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/mint/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/mint/proto/buf.gen.pulsar.yaml b/x/mint/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/mint/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/mint/proto/buf.lock b/x/mint/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/mint/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/mint/proto/buf.yaml b/x/mint/proto/buf.yaml new file mode 100644 index 000000000000..1da93f96da90 --- /dev/null +++ b/x/mint/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/mint +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/mint/module/v1/module.proto b/x/mint/proto/cosmos/mint/module/v1/module.proto similarity index 100% rename from proto/cosmos/mint/module/v1/module.proto rename to x/mint/proto/cosmos/mint/module/v1/module.proto diff --git a/proto/cosmos/mint/v1beta1/genesis.proto b/x/mint/proto/cosmos/mint/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/mint/v1beta1/genesis.proto rename to x/mint/proto/cosmos/mint/v1beta1/genesis.proto diff --git a/proto/cosmos/mint/v1beta1/mint.proto b/x/mint/proto/cosmos/mint/v1beta1/mint.proto similarity index 100% rename from proto/cosmos/mint/v1beta1/mint.proto rename to x/mint/proto/cosmos/mint/v1beta1/mint.proto diff --git a/proto/cosmos/mint/v1beta1/query.proto b/x/mint/proto/cosmos/mint/v1beta1/query.proto similarity index 100% rename from proto/cosmos/mint/v1beta1/query.proto rename to x/mint/proto/cosmos/mint/v1beta1/query.proto diff --git a/proto/cosmos/mint/v1beta1/tx.proto b/x/mint/proto/cosmos/mint/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/mint/v1beta1/tx.proto rename to x/mint/proto/cosmos/mint/v1beta1/tx.proto diff --git a/x/nft/proto/buf.gen.gogo.yaml b/x/nft/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/nft/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/nft/proto/buf.gen.pulsar.yaml b/x/nft/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/nft/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/nft/proto/buf.lock b/x/nft/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/nft/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/nft/proto/buf.yaml b/x/nft/proto/buf.yaml new file mode 100644 index 000000000000..fc5576691792 --- /dev/null +++ b/x/nft/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/nft +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/nft/module/v1/module.proto b/x/nft/proto/cosmos/nft/module/v1/module.proto similarity index 100% rename from proto/cosmos/nft/module/v1/module.proto rename to x/nft/proto/cosmos/nft/module/v1/module.proto diff --git a/proto/cosmos/nft/v1beta1/event.proto b/x/nft/proto/cosmos/nft/v1beta1/event.proto similarity index 100% rename from proto/cosmos/nft/v1beta1/event.proto rename to x/nft/proto/cosmos/nft/v1beta1/event.proto diff --git a/proto/cosmos/nft/v1beta1/genesis.proto b/x/nft/proto/cosmos/nft/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/nft/v1beta1/genesis.proto rename to x/nft/proto/cosmos/nft/v1beta1/genesis.proto diff --git a/proto/cosmos/nft/v1beta1/nft.proto b/x/nft/proto/cosmos/nft/v1beta1/nft.proto similarity index 100% rename from proto/cosmos/nft/v1beta1/nft.proto rename to x/nft/proto/cosmos/nft/v1beta1/nft.proto diff --git a/proto/cosmos/nft/v1beta1/query.proto b/x/nft/proto/cosmos/nft/v1beta1/query.proto similarity index 100% rename from proto/cosmos/nft/v1beta1/query.proto rename to x/nft/proto/cosmos/nft/v1beta1/query.proto diff --git a/proto/cosmos/nft/v1beta1/tx.proto b/x/nft/proto/cosmos/nft/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/nft/v1beta1/tx.proto rename to x/nft/proto/cosmos/nft/v1beta1/tx.proto diff --git a/x/params/proto/buf.gen.gogo.yaml b/x/params/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/params/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/params/proto/buf.gen.pulsar.yaml b/x/params/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/params/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/params/proto/buf.lock b/x/params/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/params/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/params/proto/buf.yaml b/x/params/proto/buf.yaml new file mode 100644 index 000000000000..90faba0d4dd3 --- /dev/null +++ b/x/params/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/params +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/params/module/v1/module.proto b/x/params/proto/cosmos/params/module/v1/module.proto similarity index 100% rename from proto/cosmos/params/module/v1/module.proto rename to x/params/proto/cosmos/params/module/v1/module.proto diff --git a/proto/cosmos/params/v1beta1/params.proto b/x/params/proto/cosmos/params/v1beta1/params.proto similarity index 100% rename from proto/cosmos/params/v1beta1/params.proto rename to x/params/proto/cosmos/params/v1beta1/params.proto diff --git a/proto/cosmos/params/v1beta1/query.proto b/x/params/proto/cosmos/params/v1beta1/query.proto similarity index 100% rename from proto/cosmos/params/v1beta1/query.proto rename to x/params/proto/cosmos/params/v1beta1/query.proto diff --git a/x/protocolpool/proto/buf.gen.gogo.yaml b/x/protocolpool/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/protocolpool/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/protocolpool/proto/buf.gen.pulsar.yaml b/x/protocolpool/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/protocolpool/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/protocolpool/proto/buf.lock b/x/protocolpool/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/protocolpool/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/protocolpool/proto/buf.yaml b/x/protocolpool/proto/buf.yaml new file mode 100644 index 000000000000..71599d0ffa39 --- /dev/null +++ b/x/protocolpool/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/protocolpool +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/protocolpool/module/v1/module.proto b/x/protocolpool/proto/cosmos/protocolpool/module/v1/module.proto similarity index 100% rename from proto/cosmos/protocolpool/module/v1/module.proto rename to x/protocolpool/proto/cosmos/protocolpool/module/v1/module.proto diff --git a/proto/cosmos/protocolpool/v1/genesis.proto b/x/protocolpool/proto/cosmos/protocolpool/v1/genesis.proto similarity index 100% rename from proto/cosmos/protocolpool/v1/genesis.proto rename to x/protocolpool/proto/cosmos/protocolpool/v1/genesis.proto diff --git a/proto/cosmos/protocolpool/v1/query.proto b/x/protocolpool/proto/cosmos/protocolpool/v1/query.proto similarity index 100% rename from proto/cosmos/protocolpool/v1/query.proto rename to x/protocolpool/proto/cosmos/protocolpool/v1/query.proto diff --git a/proto/cosmos/protocolpool/v1/tx.proto b/x/protocolpool/proto/cosmos/protocolpool/v1/tx.proto similarity index 100% rename from proto/cosmos/protocolpool/v1/tx.proto rename to x/protocolpool/proto/cosmos/protocolpool/v1/tx.proto diff --git a/proto/cosmos/protocolpool/v1/types.proto b/x/protocolpool/proto/cosmos/protocolpool/v1/types.proto similarity index 100% rename from proto/cosmos/protocolpool/v1/types.proto rename to x/protocolpool/proto/cosmos/protocolpool/v1/types.proto diff --git a/x/slashing/proto/buf.gen.gogo.yaml b/x/slashing/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/slashing/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/slashing/proto/buf.gen.pulsar.yaml b/x/slashing/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/slashing/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/slashing/proto/buf.lock b/x/slashing/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/slashing/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/slashing/proto/buf.yaml b/x/slashing/proto/buf.yaml new file mode 100644 index 000000000000..2d819c1eee66 --- /dev/null +++ b/x/slashing/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/slashing +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/slashing/module/v1/module.proto b/x/slashing/proto/cosmos/slashing/module/v1/module.proto similarity index 100% rename from proto/cosmos/slashing/module/v1/module.proto rename to x/slashing/proto/cosmos/slashing/module/v1/module.proto diff --git a/proto/cosmos/slashing/v1beta1/genesis.proto b/x/slashing/proto/cosmos/slashing/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/slashing/v1beta1/genesis.proto rename to x/slashing/proto/cosmos/slashing/v1beta1/genesis.proto diff --git a/proto/cosmos/slashing/v1beta1/query.proto b/x/slashing/proto/cosmos/slashing/v1beta1/query.proto similarity index 100% rename from proto/cosmos/slashing/v1beta1/query.proto rename to x/slashing/proto/cosmos/slashing/v1beta1/query.proto diff --git a/proto/cosmos/slashing/v1beta1/slashing.proto b/x/slashing/proto/cosmos/slashing/v1beta1/slashing.proto similarity index 100% rename from proto/cosmos/slashing/v1beta1/slashing.proto rename to x/slashing/proto/cosmos/slashing/v1beta1/slashing.proto diff --git a/proto/cosmos/slashing/v1beta1/tx.proto b/x/slashing/proto/cosmos/slashing/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/slashing/v1beta1/tx.proto rename to x/slashing/proto/cosmos/slashing/v1beta1/tx.proto diff --git a/x/staking/proto/buf.gen.gogo.yaml b/x/staking/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/staking/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/staking/proto/buf.gen.pulsar.yaml b/x/staking/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/staking/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/staking/proto/buf.lock b/x/staking/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/staking/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/staking/proto/buf.yaml b/x/staking/proto/buf.yaml new file mode 100644 index 000000000000..471e1b5f384c --- /dev/null +++ b/x/staking/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/staking +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/staking/module/v1/module.proto b/x/staking/proto/cosmos/staking/module/v1/module.proto similarity index 100% rename from proto/cosmos/staking/module/v1/module.proto rename to x/staking/proto/cosmos/staking/module/v1/module.proto diff --git a/proto/cosmos/staking/v1beta1/authz.proto b/x/staking/proto/cosmos/staking/v1beta1/authz.proto similarity index 100% rename from proto/cosmos/staking/v1beta1/authz.proto rename to x/staking/proto/cosmos/staking/v1beta1/authz.proto diff --git a/proto/cosmos/staking/v1beta1/genesis.proto b/x/staking/proto/cosmos/staking/v1beta1/genesis.proto similarity index 100% rename from proto/cosmos/staking/v1beta1/genesis.proto rename to x/staking/proto/cosmos/staking/v1beta1/genesis.proto diff --git a/proto/cosmos/staking/v1beta1/query.proto b/x/staking/proto/cosmos/staking/v1beta1/query.proto similarity index 100% rename from proto/cosmos/staking/v1beta1/query.proto rename to x/staking/proto/cosmos/staking/v1beta1/query.proto diff --git a/proto/cosmos/staking/v1beta1/staking.proto b/x/staking/proto/cosmos/staking/v1beta1/staking.proto similarity index 100% rename from proto/cosmos/staking/v1beta1/staking.proto rename to x/staking/proto/cosmos/staking/v1beta1/staking.proto diff --git a/proto/cosmos/staking/v1beta1/tx.proto b/x/staking/proto/cosmos/staking/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/staking/v1beta1/tx.proto rename to x/staking/proto/cosmos/staking/v1beta1/tx.proto diff --git a/x/upgrade/proto/buf.gen.gogo.yaml b/x/upgrade/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000000..9c8ba0a4b1fd --- /dev/null +++ b/x/upgrade/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/x/upgrade/proto/buf.gen.pulsar.yaml b/x/upgrade/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000000..88a5b0419d7f --- /dev/null +++ b/x/upgrade/proto/buf.gen.pulsar.yaml @@ -0,0 +1,18 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: cosmossdk.io/api + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: + buf.build/cosmos/cosmos-sdk: cosmossdk.io/api +plugins: + - name: go-pulsar + out: .. + opt: paths=source_relative + - name: go-grpc + out: .. + opt: paths=source_relative diff --git a/x/upgrade/proto/buf.lock b/x/upgrade/proto/buf.lock new file mode 100644 index 000000000000..08b5c2ec08aa --- /dev/null +++ b/x/upgrade/proto/buf.lock @@ -0,0 +1,28 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: cf13c7d232dd405180c2af616fa8a075 + digest: shake256:769a38e306a98339b549bc96991c97fae8bd3ceb1a7646c7bfe9a74e406ab068372970fbc5abda1891e2f3c36527cf2d3a25f631739d36900787226e564bb612 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 5e5b9fdd01804356895f8f79a6f1ddc1 + digest: shake256:0b85da49e2e5f9ebc4806eae058e2f56096ff3b1c59d1fb7c190413dd15f45dd456f0b69ced9059341c80795d2b6c943de15b120a9e0308b499e43e4b5fc2952 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 28151c0d0a1641bf938a7672c500e01d + digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 657250e6a39648cbb169d079a60bd9ba + digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb diff --git a/x/upgrade/proto/buf.yaml b/x/upgrade/proto/buf.yaml new file mode 100644 index 000000000000..3204ff5bed11 --- /dev/null +++ b/x/upgrade/proto/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/mods/upgrade +deps: + - buf.build/cosmos/cosmos-sdk # pin the Cosmos SDK version + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME diff --git a/proto/cosmos/upgrade/module/v1/module.proto b/x/upgrade/proto/cosmos/upgrade/module/v1/module.proto similarity index 100% rename from proto/cosmos/upgrade/module/v1/module.proto rename to x/upgrade/proto/cosmos/upgrade/module/v1/module.proto diff --git a/proto/cosmos/upgrade/v1beta1/query.proto b/x/upgrade/proto/cosmos/upgrade/v1beta1/query.proto similarity index 100% rename from proto/cosmos/upgrade/v1beta1/query.proto rename to x/upgrade/proto/cosmos/upgrade/v1beta1/query.proto diff --git a/proto/cosmos/upgrade/v1beta1/tx.proto b/x/upgrade/proto/cosmos/upgrade/v1beta1/tx.proto similarity index 100% rename from proto/cosmos/upgrade/v1beta1/tx.proto rename to x/upgrade/proto/cosmos/upgrade/v1beta1/tx.proto diff --git a/proto/cosmos/upgrade/v1beta1/upgrade.proto b/x/upgrade/proto/cosmos/upgrade/v1beta1/upgrade.proto similarity index 100% rename from proto/cosmos/upgrade/v1beta1/upgrade.proto rename to x/upgrade/proto/cosmos/upgrade/v1beta1/upgrade.proto