diff --git a/.github/workflows/go-test-coverage.yml b/.github/workflows/go-test-coverage.yml index d36220166f..a3f06dd355 100644 --- a/.github/workflows/go-test-coverage.yml +++ b/.github/workflows/go-test-coverage.yml @@ -13,25 +13,18 @@ concurrency: jobs: tests: + runs-on: uci-default env: GO_TEST_TIMEOUT: 30m - name: "Test ${{ matrix.modules.name }}" - runs-on: uci-default - strategy: - fail-fast: false - matrix: - modules: - - name: sei-chain - path: ./ - tags: ledger test_ledger_mock - - name: sei-cosmos - path: ./sei-cosmos - tags: ledger test_ledger_mock + GOFLAGS: -tags=ledger,test_ledger_mock steps: - uses: actions/checkout@v5 - uses: actions/setup-go@v6 with: go-version: '1.25.6' + # Disable cache since runners use ephemeral state by design. Otherwise, post-setup + # jobs will take unnecessary time to form cache and upload. + cache: false - name: Login to Docker Hub uses: docker/login-action@v3 @@ -42,9 +35,17 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Download modules + run: go mod download + - name: Go test with coverage - working-directory: '${{ matrix.modules.path }}' - run: go test -tags='${{ matrix.modules.tags }}' -timeout='${{env.GO_TEST_TIMEOUT}}' -covermode=atomic -coverprofile=coverage.out -coverpkg=./... ./... + run: | + go test \ + -timeout=${{ env.GO_TEST_TIMEOUT }} \ + -covermode=atomic \ + -coverprofile=coverage.out \ + -coverpkg=./... \ + ./... - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 @@ -52,6 +53,6 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: 'true' disable_search: 'true' - name: '${{ matrix.modules.name }}-coverage' - files: ${{ matrix.modules.path }}/coverage.out - flags: ${{ matrix.modules.name }} \ No newline at end of file + name: sei-chain-coverage + files: ./coverage.out + flags: sei-chain \ No newline at end of file diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index 41132353f7..4cccb911f8 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -13,28 +13,23 @@ concurrency: jobs: tests: + name: Test sei-chain + runs-on: uci-default env: GO_TEST_TIMEOUT: 30m - name: "Test ${{ matrix.modules.name }}" - runs-on: uci-default - strategy: - fail-fast: false - matrix: - modules: - - name: sei-chain - path: ./ - tags: ledger test_ledger_mock - - name: sei-cosmos - path: ./sei-cosmos - tags: ledger test_ledger_mock + GOFLAGS: -race -tags=ledger,test_ledger_mock steps: - uses: actions/checkout@v5 with: - fetch-depth: 1 + # Set depth so that sei-ival change detection step relative to main works correctly. + fetch-depth: ${{ github.event_name == 'pull_request' && 0 || 1 }} - uses: actions/setup-go@v6 with: go-version: '1.25.6' + # Disable cache since runners use ephemeral state by design. Otherwise, post-setup + # jobs will take unnecessary time to form cache and upload. + cache: false - name: Login to Docker Hub uses: docker/login-action@v3 @@ -44,25 +39,24 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Download modules + run: go mod download + - name: Determine test packages id: test-packages + if: github.event_name == 'pull_request' run: | - # Default: run all tests - PACKAGES="./..." - - # Only consider excluding sei-iavl for PRs on sei-chain module - if [[ "${{ matrix.modules.name }}" == "sei-chain" && "${{ github.event_name }}" == "pull_request" ]]; then - # Check if sei-iavl has changes - CHANGED=$(git diff --name-only origin/${{ github.base_ref }}...HEAD -- sei-iavl/ | wc -l) - if [[ "$CHANGED" -eq 0 ]]; then - echo "No changes in sei-iavl/, excluding from tests" - PACKAGES=$(go list ./... | grep -v '/sei-iavl' | tr '\n' ' ') - fi + CHANGED=$(git diff --name-only origin/${{ github.base_ref }}...HEAD -- sei-iavl/ | wc -l) + if [[ "$CHANGED" -eq 0 ]]; then + echo "No changes in sei-iavl/, excluding from tests" + echo "packages=$(go list ./... | grep -v '/sei-iavl' | tr '\n' ' ')" >> "$GITHUB_OUTPUT" + exit 0 fi - - echo "packages=$PACKAGES" >> $GITHUB_OUTPUT - working-directory: '${{ matrix.modules.path }}' + echo "packages=./..." >> "$GITHUB_OUTPUT" - - name: Go test with race detector - working-directory: '${{ matrix.modules.path }}' - run: go test -race -tags='${{ matrix.modules.tags }}' -timeout='${{env.GO_TEST_TIMEOUT}}' ${{ steps.test-packages.outputs.packages }} + - name: Go test + run: | + go test \ + -timeout=${{ env.GO_TEST_TIMEOUT }} \ + ${{ steps.test-packages.outputs.packages || './...' }} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 7effe183fe..25f40d8c8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,6 @@ RUN mkdir -p /go/lib && \ cp /tmp/wasmvm-libs/libwasmvm.${ARCH_SUFFIX}.so /go/lib/ COPY go.* ./ -COPY sei-cosmos/go.* ./sei-cosmos/ RUN --mount=type=cache,target=/go/pkg/mod \ --mount=type=cache,target=/root/.cache/go-build \ go mod download @@ -32,7 +31,7 @@ ARG GO_BUILD_ARGS="" RUN --mount=type=cache,target=/go/pkg/mod \ --mount=type=cache,target=/root/.cache/go-build \ BUILD_TAGS="netgo ledger ${GO_BUILD_TAGS}" && \ - VERSION_PKG="github.com/cosmos/cosmos-sdk/version" && \ + VERSION_PKG="github.com/sei-protocol/sei-chain/sei-cosmos/version" && \ LDFLAGS="\ -X ${VERSION_PKG}.Name=sei \ -X ${VERSION_PKG}.AppName=seid \ diff --git a/Makefile b/Makefile index 249b72c3cc..b80f586d7f 100644 --- a/Makefile +++ b/Makefile @@ -46,11 +46,11 @@ build_tags_comma_sep := $(subst $(whitespace),$(comma),$(build_tags)) # process linker flags -ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=sei \ - -X github.com/cosmos/cosmos-sdk/version.AppName=seid \ - -X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \ - -X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \ - -X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" +ldflags = -X github.com/sei-protocol/sei-chain/sei-cosmos/version.Name=sei \ + -X github.com/sei-protocol/sei-chain/sei-cosmos/version.AppName=seid \ + -X github.com/sei-protocol/sei-chain/sei-cosmos/version.Version=$(VERSION) \ + -X github.com/sei-protocol/sei-chain/sei-cosmos/version.Commit=$(COMMIT) \ + -X "github.com/sei-protocol/sei-chain/sei-cosmos/version.BuildTags=$(build_tags_comma_sep)" # go 1.23+ needs a workaround to link memsize (see https://github.com/fjl/memsize). # NOTE: this is a terribly ugly and unstable way of comparing version numbers, @@ -157,7 +157,7 @@ go.sum: go.mod @go mod verify lint: - golangci-lint run + go run github.com/golangci/golangci-lint/cmd/golangci-lint@v2.8.0 run find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" | xargs gofmt -d -s go mod verify diff --git a/app/abci.go b/app/abci.go index a34f867a0e..30193bc1fb 100644 --- a/app/abci.go +++ b/app/abci.go @@ -5,12 +5,12 @@ import ( "crypto/sha256" "time" - "github.com/cosmos/cosmos-sdk/tasks" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/legacytm" "github.com/sei-protocol/sei-chain/app/legacyabci" + "github.com/sei-protocol/sei-chain/sei-cosmos/tasks" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/legacytm" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/utils/metrics" ) diff --git a/app/ante.go b/app/ante.go index 8994f97d26..56f179da1a 100644 --- a/app/ante.go +++ b/app/ante.go @@ -1,13 +1,13 @@ package app import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/utils/tracing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/sei-protocol/sei-chain/app/antedecorators" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils/tracing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" ibcante "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/ante" ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" wasm "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm" diff --git a/app/ante/cosmos_checktx.go b/app/ante/cosmos_checktx.go index 245d9fc643..177cc2b449 100644 --- a/app/ante/cosmos_checktx.go +++ b/app/ante/cosmos_checktx.go @@ -7,22 +7,22 @@ import ( "fmt" "github.com/btcsuite/btcd/btcec/v2" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authante "github.com/cosmos/cosmos-sdk/x/auth/ante" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/authz" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" "github.com/sei-protocol/sei-chain/app/antedecorators" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authante "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + feegrantkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/keeper" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" diff --git a/app/ante/cosmos_delivertx.go b/app/ante/cosmos_delivertx.go index 24959c968d..6ffcdd4fce 100644 --- a/app/ante/cosmos_delivertx.go +++ b/app/ante/cosmos_delivertx.go @@ -1,14 +1,14 @@ package ante import ( - "github.com/cosmos/cosmos-sdk/client" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" "github.com/sei-protocol/sei-chain/app/antedecorators" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + feegrantkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/keeper" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper" oraclekeeper "github.com/sei-protocol/sei-chain/x/oracle/keeper" ) diff --git a/app/ante/evm_checktx.go b/app/ante/evm_checktx.go index 27b31c953b..0fa1ffd268 100644 --- a/app/ante/evm_checktx.go +++ b/app/ante/evm_checktx.go @@ -6,11 +6,6 @@ import ( "math" "math/big" - "github.com/cosmos/cosmos-sdk/client" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/consensus/misc/eip4844" "github.com/ethereum/go-ethereum/core" @@ -19,6 +14,11 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/params" "github.com/sei-protocol/sei-chain/app/antedecorators" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/sei-protocol/sei-chain/utils" diff --git a/app/ante/evm_delivertx.go b/app/ante/evm_delivertx.go index ade1cd426a..bc1d761092 100644 --- a/app/ante/evm_delivertx.go +++ b/app/ante/evm_delivertx.go @@ -3,12 +3,12 @@ package ante import ( "math/big" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" "github.com/sei-protocol/sei-chain/x/evm/derived" evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/app/ante/types.go b/app/ante/types.go index 970ed0a94f..219c414ddf 100644 --- a/app/ante/types.go +++ b/app/ante/types.go @@ -1,8 +1,8 @@ package ante import ( - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) type TxBody interface { diff --git a/app/ante_test.go b/app/ante_test.go index b6406c0b14..26e81d9d39 100644 --- a/app/ante_test.go +++ b/app/ante_test.go @@ -6,21 +6,21 @@ import ( "math/big" "testing" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" - "github.com/cosmos/cosmos-sdk/utils/tracing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" app "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils/tracing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + xauthsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/app/antedecorators/authz_nested_message.go b/app/antedecorators/authz_nested_message.go index 08064fc0f9..7d7d138f0d 100644 --- a/app/antedecorators/authz_nested_message.go +++ b/app/antedecorators/authz_nested_message.go @@ -3,8 +3,8 @@ package antedecorators import ( "errors" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/authz" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/app/antedecorators/authz_nested_message_test.go b/app/antedecorators/authz_nested_message_test.go index fa2e77ec61..90fc1e097d 100644 --- a/app/antedecorators/authz_nested_message_test.go +++ b/app/antedecorators/authz_nested_message_test.go @@ -3,11 +3,11 @@ package antedecorators_test import ( "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/authz" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/sei-protocol/sei-chain/app/antedecorators" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/stretchr/testify/require" diff --git a/app/antedecorators/gas.go b/app/antedecorators/gas.go index 64a9eb3216..8f45e47cc9 100644 --- a/app/antedecorators/gas.go +++ b/app/antedecorators/gas.go @@ -1,9 +1,9 @@ package antedecorators import ( - "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" ) func GetGasMeterSetter(pk paramskeeper.Keeper) func(bool, sdk.Context, uint64, sdk.Tx) sdk.Context { diff --git a/app/antedecorators/gas_test.go b/app/antedecorators/gas_test.go index 80b168cfc8..027e689815 100644 --- a/app/antedecorators/gas_test.go +++ b/app/antedecorators/gas_test.go @@ -3,10 +3,10 @@ package antedecorators_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/antedecorators" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" "github.com/stretchr/testify/require" diff --git a/app/antedecorators/gasless.go b/app/antedecorators/gasless.go index 0ae9e4eb55..94ecd012e2 100644 --- a/app/antedecorators/gasless.go +++ b/app/antedecorators/gasless.go @@ -3,9 +3,9 @@ package antedecorators import ( "fmt" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" oraclekeeper "github.com/sei-protocol/sei-chain/x/oracle/keeper" diff --git a/app/antedecorators/gasless_test.go b/app/antedecorators/gasless_test.go index 914c51bfa2..6bb4a3240f 100644 --- a/app/antedecorators/gasless_test.go +++ b/app/antedecorators/gasless_test.go @@ -4,9 +4,9 @@ import ( "fmt" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" "github.com/sei-protocol/sei-chain/app/antedecorators" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper" oraclekeeper "github.com/sei-protocol/sei-chain/x/oracle/keeper" diff --git a/app/antedecorators/priority.go b/app/antedecorators/priority.go index 0fe7b287a7..c51791f0ad 100644 --- a/app/antedecorators/priority.go +++ b/app/antedecorators/priority.go @@ -3,7 +3,7 @@ package antedecorators import ( "math" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" oracletypes "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/app/antedecorators/priority_test.go b/app/antedecorators/priority_test.go index 47d197edca..af56238cfa 100644 --- a/app/antedecorators/priority_test.go +++ b/app/antedecorators/priority_test.go @@ -6,12 +6,12 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - authante "github.com/cosmos/cosmos-sdk/x/auth/ante" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/antedecorators" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authante "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" diff --git a/app/antedecorators/traced.go b/app/antedecorators/traced.go index cbb5b4242d..a51fb5970d 100644 --- a/app/antedecorators/traced.go +++ b/app/antedecorators/traced.go @@ -3,8 +3,8 @@ package antedecorators import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/utils/tracing" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils/tracing" ) type TracedAnteDecorator struct { diff --git a/app/antedecorators/traced_test.go b/app/antedecorators/traced_test.go index f3a754d18c..a70ba18f92 100644 --- a/app/antedecorators/traced_test.go +++ b/app/antedecorators/traced_test.go @@ -3,8 +3,8 @@ package antedecorators_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app/antedecorators" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/sei-protocol/sei-chain/utils" "github.com/stretchr/testify/require" diff --git a/app/app.go b/app/app.go index 3c1ce2857e..5fd3e926dd 100644 --- a/app/app.go +++ b/app/app.go @@ -19,76 +19,6 @@ import ( "sync" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" - "github.com/cosmos/cosmos-sdk/client/rpc" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/server/api" - "github.com/cosmos/cosmos-sdk/server/config" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - genesistypes "github.com/cosmos/cosmos-sdk/types/genesis" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/types/occ" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/auth" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - authrest "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - authsims "github.com/cosmos/cosmos-sdk/x/auth/simulation" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting" - vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "github.com/cosmos/cosmos-sdk/x/authz" - authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" - authzmodule "github.com/cosmos/cosmos-sdk/x/authz/module" - "github.com/cosmos/cosmos-sdk/x/bank" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/capability" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - "github.com/cosmos/cosmos-sdk/x/crisis" - crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper" - crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" - distr "github.com/cosmos/cosmos-sdk/x/distribution" - distrclient "github.com/cosmos/cosmos-sdk/x/distribution/client" - distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/evidence" - evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" - feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" - feegrantmodule "github.com/cosmos/cosmos-sdk/x/feegrant/module" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/cosmos/cosmos-sdk/x/gov" - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/params" - paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - "github.com/cosmos/cosmos-sdk/x/slashing" - slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/cosmos/cosmos-sdk/x/upgrade" - upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/tracing" ethtypes "github.com/ethereum/go-ethereum/core/types" @@ -97,6 +27,76 @@ import ( ethrpc "github.com/ethereum/go-ethereum/rpc" "github.com/holiman/uint256" "github.com/sei-protocol/sei-chain/giga/deps/tasks" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/tmservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/api" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + genesistypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/genesis" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + authrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/rest" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + authsims "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/simulation" + authtx "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting" + vestingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + authzkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/keeper" + authzmodule "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis" + crisiskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/keeper" + crisistypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" + distr "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution" + distrclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client" + distrkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence" + evidencekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + evidencetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" + feegrantkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/keeper" + feegrantmodule "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + genutiltypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov" + govclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client" + govkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params" + paramsclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + paramproposal "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + slashingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade" + upgradeclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/client" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" "github.com/gogo/protobuf/proto" "github.com/gorilla/mux" diff --git a/app/app_test.go b/app/app_test.go index 04d12f55e3..010fe55bf9 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -11,20 +11,20 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/server/api" - cosmosConfig "github.com/cosmos/cosmos-sdk/server/config" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/api" + cosmosConfig "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" diff --git a/app/apptesting/test_suite.go b/app/apptesting/test_suite.go index ad4f3ff2b8..b70a8e45c4 100644 --- a/app/apptesting/test_suite.go +++ b/app/apptesting/test_suite.go @@ -4,18 +4,18 @@ import ( "context" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/sei-protocol/sei-chain/app/legacyabci" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto/ed25519" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" diff --git a/app/benchmark.go b/app/benchmark.go index e645a82a39..dff6e9e9ae 100644 --- a/app/benchmark.go +++ b/app/benchmark.go @@ -4,9 +4,9 @@ import ( "context" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/sei-protocol/sei-chain/app/benchmark" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" evmcfg "github.com/sei-protocol/sei-chain/x/evm/config" diff --git a/app/benchmark/benchmark.go b/app/benchmark/benchmark.go index 6d454f064b..50a2488fa2 100644 --- a/app/benchmark/benchmark.go +++ b/app/benchmark/benchmark.go @@ -24,8 +24,8 @@ import ( "context" "os" - "github.com/cosmos/cosmos-sdk/client" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" evmcfg "github.com/sei-protocol/sei-chain/x/evm/config" diff --git a/app/benchmark/generator.go b/app/benchmark/generator.go index b2b82a1d70..57504b6322 100644 --- a/app/benchmark/generator.go +++ b/app/benchmark/generator.go @@ -8,9 +8,9 @@ import ( "strconv" "sync" - "github.com/cosmos/cosmos-sdk/client" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/app/benchmark_test.go b/app/benchmark_test.go index 2689d819da..f763369aaf 100644 --- a/app/benchmark_test.go +++ b/app/benchmark_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app/benchmark" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" diff --git a/app/encoding.go b/app/encoding.go index 1eba803fbb..0b785234ff 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -1,8 +1,8 @@ package app import ( - "github.com/cosmos/cosmos-sdk/std" "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/std" ) // MakeEncodingConfig creates an EncodingConfig for testing. diff --git a/app/eth_replay.go b/app/eth_replay.go index c35535c5ee..490cd907d3 100644 --- a/app/eth_replay.go +++ b/app/eth_replay.go @@ -9,8 +9,6 @@ import ( "strings" "time" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethcore "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/tracing" @@ -18,6 +16,8 @@ import ( "github.com/ethereum/go-ethereum/params" ethtests "github.com/ethereum/go-ethereum/tests" "github.com/holiman/uint256" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/sei-protocol/sei-chain/utils" diff --git a/app/export.go b/app/export.go index 90d59506b9..3f871d494e 100644 --- a/app/export.go +++ b/app/export.go @@ -6,15 +6,15 @@ import ( "log" "os" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // ExportAppStateAndValidators exports the state of the application for a genesis diff --git a/app/genesis.go b/app/genesis.go index 489104839f..c078f1c407 100644 --- a/app/genesis.go +++ b/app/genesis.go @@ -3,13 +3,13 @@ package app import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/codec" - genesistypes "github.com/cosmos/cosmos-sdk/types/genesis" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + genesistypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/genesis" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - servertypes "github.com/cosmos/cosmos-sdk/server/types" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" "github.com/spf13/cast" ) diff --git a/app/invariance.go b/app/invariance.go index 7fd2c629d7..71d5224ac3 100644 --- a/app/invariance.go +++ b/app/invariance.go @@ -5,14 +5,14 @@ import ( "time" "github.com/armon/go-metrics" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/storev2/commitment" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/storev2/commitment" "github.com/spf13/cast" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" seimetrics "github.com/sei-protocol/sei-chain/utils/metrics" ) diff --git a/app/invariance_test.go b/app/invariance_test.go index b40af6c451..3886f19bc6 100644 --- a/app/invariance_test.go +++ b/app/invariance_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" app "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/app/legacyabci/begin_block.go b/app/legacyabci/begin_block.go index 485d056f2c..b0262ab46e 100644 --- a/app/legacyabci/begin_block.go +++ b/app/legacyabci/begin_block.go @@ -3,24 +3,24 @@ package legacyabci import ( "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/capability" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/x/distribution" - distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution" + distrkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence" - evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing" - slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence" + evidencekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + slashingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/upgrade" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" ibcclient "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client" ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" diff --git a/app/legacyabci/check_tx.go b/app/legacyabci/check_tx.go index 7609064b70..1dada1a3d3 100644 --- a/app/legacyabci/check_tx.go +++ b/app/legacyabci/check_tx.go @@ -11,17 +11,17 @@ import ( "go.opentelemetry.io/otel/trace" gometrics "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/utils/tracing" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/sei-protocol/sei-chain/app/ante" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils/tracing" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + feegrantkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/keeper" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" oraclekeeper "github.com/sei-protocol/sei-chain/x/oracle/keeper" ) diff --git a/app/legacyabci/deliver_tx.go b/app/legacyabci/deliver_tx.go index f62fde7e8e..50541a928b 100644 --- a/app/legacyabci/deliver_tx.go +++ b/app/legacyabci/deliver_tx.go @@ -5,17 +5,17 @@ import ( "time" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/utils/tracing" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/sei-protocol/sei-chain/app/ante" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils/tracing" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + feegrantkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/keeper" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" evmante "github.com/sei-protocol/sei-chain/x/evm/ante" evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper" diff --git a/app/legacyabci/end_block.go b/app/legacyabci/end_block.go index 32f0c790fa..0de780de79 100644 --- a/app/legacyabci/end_block.go +++ b/app/legacyabci/end_block.go @@ -1,13 +1,13 @@ package legacyabci import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis" - crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper" - "github.com/cosmos/cosmos-sdk/x/gov" - govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis" + crisiskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov" + govkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/oracle" diff --git a/app/legacyabci/recovery.go b/app/legacyabci/recovery.go index 93d027adde..82b05c20c6 100644 --- a/app/legacyabci/recovery.go +++ b/app/legacyabci/recovery.go @@ -4,9 +4,9 @@ import ( "fmt" "runtime/debug" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - scheduler "github.com/cosmos/cosmos-sdk/types/occ" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + scheduler "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" ) // RecoveryHandler handles recovery() object. diff --git a/app/optimistic_processing_test.go b/app/optimistic_processing_test.go index 9db0cd06a4..9eae265e48 100644 --- a/app/optimistic_processing_test.go +++ b/app/optimistic_processing_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" diff --git a/app/params/amino.go b/app/params/amino.go index e24aa096a1..f9efaea93b 100644 --- a/app/params/amino.go +++ b/app/params/amino.go @@ -3,9 +3,9 @@ package params import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // MakeEncodingConfig creates an EncodingConfig for an amino based test configuration. diff --git a/app/params/config.go b/app/params/config.go index 190a58d847..0fb57adb01 100644 --- a/app/params/config.go +++ b/app/params/config.go @@ -1,13 +1,13 @@ package params import ( - srvconfig "github.com/cosmos/cosmos-sdk/server/config" - "github.com/cosmos/cosmos-sdk/types/address" evmrpcconfig "github.com/sei-protocol/sei-chain/evmrpc/config" + srvconfig "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" tmcfg "github.com/sei-protocol/sei-chain/sei-tendermint/config" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const ( diff --git a/app/params/encoding.go b/app/params/encoding.go index 3d634abf16..4a8c2668fb 100644 --- a/app/params/encoding.go +++ b/app/params/encoding.go @@ -1,9 +1,9 @@ package params import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) // EncodingConfig specifies the concrete encoding types to use for a given app. diff --git a/app/params/proto.go b/app/params/proto.go index 325b58b99d..e4cc7ca884 100644 --- a/app/params/proto.go +++ b/app/params/proto.go @@ -3,9 +3,9 @@ package params import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" ) // MakeEncodingConfig creates an EncodingConfig for an amino based test configuration. diff --git a/app/precompiles.go b/app/precompiles.go index 879ddb2eee..d44454d8ab 100644 --- a/app/precompiles.go +++ b/app/precompiles.go @@ -1,11 +1,11 @@ package app import ( - "github.com/cosmos/cosmos-sdk/client" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + govkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" ) diff --git a/app/prioritizer.go b/app/prioritizer.go index c0ea771a58..95c25edda1 100644 --- a/app/prioritizer.go +++ b/app/prioritizer.go @@ -4,14 +4,14 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - cosmosante "github.com/cosmos/cosmos-sdk/x/auth/ante" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/ethereum/go-ethereum/consensus/misc/eip4844" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/sei-protocol/sei-chain/app/antedecorators" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + cosmosante "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" evmante "github.com/sei-protocol/sei-chain/x/evm/ante" diff --git a/app/prioritizer_test.go b/app/prioritizer_test.go index 17f47b0d93..cd5a2abd29 100644 --- a/app/prioritizer_test.go +++ b/app/prioritizer_test.go @@ -3,9 +3,9 @@ package app_test import ( "testing" - cosmostypes "github.com/cosmos/cosmos-sdk/types" - sdk "github.com/cosmos/cosmos-sdk/types" - xparamtypes "github.com/cosmos/cosmos-sdk/x/params/types" + cosmostypes "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + xparamtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" diff --git a/app/receipt.go b/app/receipt.go index ce18e4ef9c..57dca7f286 100644 --- a/app/receipt.go +++ b/app/receipt.go @@ -6,10 +6,10 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" "github.com/sei-protocol/sei-chain/utils" diff --git a/app/receipt_test.go b/app/receipt_test.go index 8c9c55d409..1d5b74089b 100644 --- a/app/receipt_test.go +++ b/app/receipt_test.go @@ -10,19 +10,19 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/client" - clienttx "github.com/cosmos/cosmos-sdk/client/tx" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" eabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" "github.com/sei-protocol/sei-chain/precompiles/wasmd" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clienttx "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + xauthsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" diff --git a/app/seidb.go b/app/seidb.go index c1f8cc0210..d6ff6d8169 100644 --- a/app/seidb.go +++ b/app/seidb.go @@ -3,10 +3,10 @@ package app import ( "fmt" - "github.com/cosmos/cosmos-sdk/baseapp" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/storev2/rootmulti" gigaconfig "github.com/sei-protocol/sei-chain/giga/executor/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/storev2/rootmulti" "github.com/sei-protocol/sei-chain/sei-db/config" seidb "github.com/sei-protocol/sei-chain/sei-db/state_db/ss/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" diff --git a/app/test_helpers.go b/app/test_helpers.go index 35c5e79d90..c9d5320548 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -10,10 +10,10 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/client" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" gigalib "github.com/sei-protocol/sei-chain/giga/executor/lib" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" ssconfig "github.com/sei-protocol/sei-chain/sei-db/config" receipt "github.com/sei-protocol/sei-chain/sei-db/ledger_db/receipt" "github.com/sei-protocol/sei-chain/sei-tendermint/config" @@ -33,20 +33,20 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - bam "github.com/cosmos/cosmos-sdk/baseapp" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsign "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/sei-protocol/sei-chain/app/legacyabci" + bam "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authsign "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" gigaconfig "github.com/sei-protocol/sei-chain/giga/executor/config" diff --git a/app/upgrade_test.go b/app/upgrade_test.go index e731d66be8..e9e02b38f3 100644 --- a/app/upgrade_test.go +++ b/app/upgrade_test.go @@ -4,10 +4,10 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" diff --git a/app/upgrades.go b/app/upgrades.go index 2724d5f1f5..39f9b17fca 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -7,9 +7,9 @@ import ( "sort" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) //go:embed tags diff --git a/app/upgrades/fork_manager.go b/app/upgrades/fork_manager.go index 6bbd581b96..75059da025 100644 --- a/app/upgrades/fork_manager.go +++ b/app/upgrades/fork_manager.go @@ -3,8 +3,8 @@ package upgrades import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/goutils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Chain-ID constants for use in hard fork handlers. diff --git a/app/upgrades/fork_manager_test.go b/app/upgrades/fork_manager_test.go index 793dda6452..669a4e0eed 100644 --- a/app/upgrades/fork_manager_test.go +++ b/app/upgrades/fork_manager_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app/apptesting" "github.com/sei-protocol/sei-chain/app/legacyabci" "github.com/sei-protocol/sei-chain/app/upgrades" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" diff --git a/app/upgrades/v0/upgrade.go b/app/upgrades/v0/upgrade.go index ad17b80d97..227a1e0b7c 100644 --- a/app/upgrades/v0/upgrade.go +++ b/app/upgrades/v0/upgrade.go @@ -3,8 +3,8 @@ package v0 import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app/upgrades" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" ) diff --git a/buf.gen.yaml b/buf.gen.yaml index 42a48ab8f4..4e6f3f83a2 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -15,7 +15,7 @@ plugins: - Mgoogle/protobuf/struct.proto=github.com/gogo/protobuf/types - Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types - Mgoogle/protobuf/wrappers.proto=github.com/gogo/protobuf/types - - Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - Mgoogle/protobuf/any.proto=github.com/sei-protocol/sei-chain/sei-cosmos/codec/types out: ./build/proto/gocosmos - local: # The version used is consistent with the grp-gateway version in go.mod. diff --git a/cmd/seid/cmd/app_config.go b/cmd/seid/cmd/app_config.go index 6eb2deff47..2ed7d4c3ae 100644 --- a/cmd/seid/cmd/app_config.go +++ b/cmd/seid/cmd/app_config.go @@ -1,10 +1,10 @@ package cmd import ( - srvconfig "github.com/cosmos/cosmos-sdk/server/config" seiapp "github.com/sei-protocol/sei-chain/app" evmrpcconfig "github.com/sei-protocol/sei-chain/evmrpc/config" gigaconfig "github.com/sei-protocol/sei-chain/giga/executor/config" + srvconfig "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" seidbconfig "github.com/sei-protocol/sei-chain/sei-db/config" "github.com/sei-protocol/sei-chain/x/evm/blocktest" "github.com/sei-protocol/sei-chain/x/evm/querier" diff --git a/cmd/seid/cmd/blocktest.go b/cmd/seid/cmd/blocktest.go index ff519e3c13..5f9f81b84c 100644 --- a/cmd/seid/cmd/blocktest.go +++ b/cmd/seid/cmd/blocktest.go @@ -13,13 +13,13 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/store" - storetypes "github.com/cosmos/cosmos-sdk/store/types" ethtests "github.com/ethereum/go-ethereum/tests" "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/cmd/seid/cmd/compact.go b/cmd/seid/cmd/compact.go index 3a31ca0ba8..1afba89449 100644 --- a/cmd/seid/cmd/compact.go +++ b/cmd/seid/cmd/compact.go @@ -6,9 +6,9 @@ import ( "path/filepath" "time" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/server" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/spf13/cobra" leveldbutils "github.com/syndtr/goleveldb/leveldb/util" diff --git a/cmd/seid/cmd/debug.go b/cmd/seid/cmd/debug.go index a297939a4e..3c74d2a58a 100644 --- a/cmd/seid/cmd/debug.go +++ b/cmd/seid/cmd/debug.go @@ -12,7 +12,7 @@ import ( "strconv" "strings" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" iavl "github.com/sei-protocol/sei-chain/sei-iavl" "github.com/spf13/cobra" dbm "github.com/tendermint/tm-db" diff --git a/cmd/seid/cmd/ethreplay.go b/cmd/seid/cmd/ethreplay.go index 8544da0a85..27da4d6147 100644 --- a/cmd/seid/cmd/ethreplay.go +++ b/cmd/seid/cmd/ethreplay.go @@ -12,13 +12,13 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/store" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" dbm "github.com/tendermint/tm-db" ) diff --git a/cmd/seid/cmd/genaccounts.go b/cmd/seid/cmd/genaccounts.go index f7264452d6..7a55402598 100644 --- a/cmd/seid/cmd/genaccounts.go +++ b/cmd/seid/cmd/genaccounts.go @@ -12,17 +12,17 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/server" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - authvesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + authvesting "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + genutiltypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" "github.com/sei-protocol/sei-chain/x/evm" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" ) @@ -141,7 +141,7 @@ The association between the sei address and the eth address will also be created EthAddress: ethAddr.Hex(), } evmGenState.AddressAssociations = append(evmGenState.AddressAssociations, &seiEthAddrAssociation) - evmGenStateBz, err := cdc.MarshalJSON(evmGenState) + evmGenStateBz, err := cdc.MarshalAsJSON(evmGenState) if err != nil { return fmt.Errorf("failed to marshal evm genesis state: %w", err) } @@ -170,7 +170,7 @@ The association between the sei address and the eth address will also be created } authGenState.Accounts = genAccs - authGenStateBz, err := cdc.MarshalJSON(&authGenState) + authGenStateBz, err := cdc.MarshalAsJSON(&authGenState) if err != nil { return fmt.Errorf("failed to marshal auth genesis state: %w", err) } @@ -181,7 +181,7 @@ The association between the sei address and the eth address will also be created bankGenState.Balances = append(bankGenState.Balances, balances) bankGenState.Balances = banktypes.SanitizeGenesisBalances(bankGenState.Balances) - bankGenStateBz, err := cdc.MarshalJSON(bankGenState) + bankGenStateBz, err := cdc.MarshalAsJSON(bankGenState) if err != nil { return fmt.Errorf("failed to marshal bank genesis state: %w", err) } diff --git a/cmd/seid/cmd/genwasm.go b/cmd/seid/cmd/genwasm.go index 80a9833af6..ea5545e927 100644 --- a/cmd/seid/cmd/genwasm.go +++ b/cmd/seid/cmd/genwasm.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" "github.com/spf13/cobra" wasmcli "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/client/cli" diff --git a/cmd/seid/cmd/iavl_parser.go b/cmd/seid/cmd/iavl_parser.go index 4705b0338a..fe1064818e 100644 --- a/cmd/seid/cmd/iavl_parser.go +++ b/cmd/seid/cmd/iavl_parser.go @@ -4,11 +4,11 @@ import ( "bytes" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/sei-protocol/sei-chain/app/params" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/cmd/seid/cmd/init.go b/cmd/seid/cmd/init.go index c7a8fb4967..4ef0058892 100644 --- a/cmd/seid/cmd/init.go +++ b/cmd/seid/cmd/init.go @@ -18,17 +18,17 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - clientconfig "github.com/cosmos/cosmos-sdk/client/config" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/server" - srvconfig "github.com/cosmos/cosmos-sdk/server/config" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/genutil" evmrpcconfig "github.com/sei-protocol/sei-chain/evmrpc/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clientconfig "github.com/sei-protocol/sei-chain/sei-cosmos/client/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/input" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + srvconfig "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" ) const ( diff --git a/cmd/seid/cmd/init_test.go b/cmd/seid/cmd/init_test.go index 8de3fb5f4f..5c4f50abd4 100644 --- a/cmd/seid/cmd/init_test.go +++ b/cmd/seid/cmd/init_test.go @@ -7,11 +7,11 @@ import ( "path/filepath" "testing" - srvconfig "github.com/cosmos/cosmos-sdk/server/config" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/genesis" "github.com/sei-protocol/sei-chain/app/params" evmrpcconfig "github.com/sei-protocol/sei-chain/evmrpc/config" + srvconfig "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" seidbconfig "github.com/sei-protocol/sei-chain/sei-db/config" tmcfg "github.com/sei-protocol/sei-chain/sei-tendermint/config" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" diff --git a/cmd/seid/cmd/root.go b/cmd/seid/cmd/root.go index 29faa31f58..acb1b49cdf 100644 --- a/cmd/seid/cmd/root.go +++ b/cmd/seid/cmd/root.go @@ -11,31 +11,31 @@ import ( "strings" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/config" - "github.com/cosmos/cosmos-sdk/client/debug" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/keys" - "github.com/cosmos/cosmos-sdk/client/pruning" - "github.com/cosmos/cosmos-sdk/client/rpc" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/server" - serverconfig "github.com/cosmos/cosmos-sdk/server/config" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/utils/tracing" - authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli" - "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/crisis" - genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/params" evmrpcconfig "github.com/sei-protocol/sei-chain/evmrpc/config" gigaconfig "github.com/sei-protocol/sei-chain/giga/executor/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/debug" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/keys" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/pruning" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + serverconfig "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils/tracing" + authcmd "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis" + genutilcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/cli" seidbconfig "github.com/sei-protocol/sei-chain/sei-db/config" tmcfg "github.com/sei-protocol/sei-chain/sei-tendermint/config" tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" diff --git a/cmd/seid/cmd/snapshot.go b/cmd/seid/cmd/snapshot.go index df82a8346a..9afc181790 100644 --- a/cmd/seid/cmd/snapshot.go +++ b/cmd/seid/cmd/snapshot.go @@ -5,12 +5,12 @@ import ( "os" "path/filepath" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/snapshots" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm" "github.com/spf13/cast" diff --git a/cmd/seid/main.go b/cmd/seid/main.go index d1e7c9b606..dee5fdff28 100644 --- a/cmd/seid/main.go +++ b/cmd/seid/main.go @@ -6,8 +6,8 @@ import ( "github.com/sei-protocol/sei-chain/app/params" "github.com/sei-protocol/sei-chain/cmd/seid/cmd" - svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" "github.com/sei-protocol/sei-chain/app" + svrcmd "github.com/sei-protocol/sei-chain/sei-cosmos/server/cmd" ) func main() { diff --git a/codecov.yml b/codecov.yml index 86805f82af..4a577a0732 100644 --- a/codecov.yml +++ b/codecov.yml @@ -8,16 +8,8 @@ coverage: threshold: 3% # allow this much decrease on project sei-chain: target: 40% - paths: - - "!sei-cosmos/**" flags: - sei-chain - sei-cosmos: - target: 35% - paths: - - "sei-cosmos/**" - flags: - - sei-cosmos patch: default: target: auto diff --git a/evmrpc/association.go b/evmrpc/association.go index 7f4a62b0fb..1e1e06bb7b 100644 --- a/evmrpc/association.go +++ b/evmrpc/association.go @@ -9,11 +9,11 @@ import ( "strings" "time" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/evmrpc/block.go b/evmrpc/block.go index 6aac055142..0883ba516b 100644 --- a/evmrpc/block.go +++ b/evmrpc/block.go @@ -10,15 +10,15 @@ import ( "sync" "time" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/bitutil" "github.com/ethereum/go-ethereum/common/hexutil" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/export" "github.com/ethereum/go-ethereum/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/evmrpc/block_test.go b/evmrpc/block_test.go index 8ffc3d0995..664c031eb5 100644 --- a/evmrpc/block_test.go +++ b/evmrpc/block_test.go @@ -10,14 +10,14 @@ import ( types2 "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/export" "github.com/sei-protocol/sei-chain/evmrpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/evmrpc/config/config.go b/evmrpc/config/config.go index 989be48fa4..8ee36149c6 100644 --- a/evmrpc/config/config.go +++ b/evmrpc/config/config.go @@ -4,8 +4,8 @@ import ( "runtime" "time" - servertypes "github.com/cosmos/cosmos-sdk/server/types" "github.com/ethereum/go-ethereum/rpc" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" "github.com/spf13/cast" ) diff --git a/evmrpc/filter.go b/evmrpc/filter.go index 8cf7c8652e..5115e56105 100644 --- a/evmrpc/filter.go +++ b/evmrpc/filter.go @@ -10,14 +10,14 @@ import ( "sync" "time" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/eth/filters" ethrpc "github.com/ethereum/go-ethereum/rpc" "github.com/hashicorp/golang-lru/v2/expirable" evmrpcconfig "github.com/sei-protocol/sei-chain/evmrpc/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-db/ledger_db/receipt" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" diff --git a/evmrpc/height_availability_test.go b/evmrpc/height_availability_test.go index fbc7c39d69..e8f2d2ec2f 100644 --- a/evmrpc/height_availability_test.go +++ b/evmrpc/height_availability_test.go @@ -5,11 +5,11 @@ import ( "encoding/hex" "testing" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/eth/filters" "github.com/ethereum/go-ethereum/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client/mock" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" diff --git a/evmrpc/info.go b/evmrpc/info.go index 749c7063eb..0eaea427e8 100644 --- a/evmrpc/info.go +++ b/evmrpc/info.go @@ -8,12 +8,12 @@ import ( "slices" "time" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" gmath "github.com/ethereum/go-ethereum/common/math" "github.com/ethereum/go-ethereum/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" "github.com/sei-protocol/sei-chain/x/evm/keeper" diff --git a/evmrpc/info_test.go b/evmrpc/info_test.go index 8fee2026bd..9007ac4fdf 100644 --- a/evmrpc/info_test.go +++ b/evmrpc/info_test.go @@ -7,13 +7,13 @@ import ( "math/big" "testing" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/config" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/go-bip39" "github.com/sei-protocol/sei-chain/evmrpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" types2 "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/evmrpc/net.go b/evmrpc/net.go index 19b36daac9..8ce40da224 100644 --- a/evmrpc/net.go +++ b/evmrpc/net.go @@ -3,7 +3,7 @@ package evmrpc import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/time" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/x/evm/keeper" diff --git a/evmrpc/rpcutils/sig.go b/evmrpc/rpcutils/sig.go index dc5f57ecf1..ddc65c0403 100644 --- a/evmrpc/rpcutils/sig.go +++ b/evmrpc/rpcutils/sig.go @@ -3,10 +3,10 @@ package rpcutils import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/params" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/helpers" "github.com/sei-protocol/sei-chain/x/evm/derived" diff --git a/evmrpc/send.go b/evmrpc/send.go index fc67bbc5d1..64545eb8d9 100644 --- a/evmrpc/send.go +++ b/evmrpc/send.go @@ -7,10 +7,6 @@ import ( "sync" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" ethtypes "github.com/ethereum/go-ethereum/core/types" @@ -19,6 +15,10 @@ import ( "github.com/ethereum/go-ethereum/signer/core/apitypes" "github.com/sei-protocol/sei-chain/app/legacyabci" "github.com/sei-protocol/sei-chain/precompiles/wasmd" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/evmrpc/send_test.go b/evmrpc/send_test.go index 2f86cc7904..da6558b845 100644 --- a/evmrpc/send_test.go +++ b/evmrpc/send_test.go @@ -5,11 +5,11 @@ import ( "math/big" "testing" - "github.com/cosmos/cosmos-sdk/crypto/hd" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/stretchr/testify/require" ) diff --git a/evmrpc/server.go b/evmrpc/server.go index ba793021f2..8d85b7a61a 100644 --- a/evmrpc/server.go +++ b/evmrpc/server.go @@ -8,12 +8,12 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/rpc" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app/legacyabci" evmrpcconfig "github.com/sei-protocol/sei-chain/evmrpc/config" "github.com/sei-protocol/sei-chain/evmrpc/stats" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" sstypes "github.com/sei-protocol/sei-chain/sei-db/state_db/ss/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" diff --git a/evmrpc/setup_test.go b/evmrpc/setup_test.go index 85da268ed5..37503c27a1 100644 --- a/evmrpc/setup_test.go +++ b/evmrpc/setup_test.go @@ -17,9 +17,6 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/hd" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" @@ -27,6 +24,9 @@ import ( "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/evmrpc" evmrpcconfig "github.com/sei-protocol/sei-chain/evmrpc/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" diff --git a/evmrpc/simulate.go b/evmrpc/simulate.go index 46f7f6383b..54d5913677 100644 --- a/evmrpc/simulate.go +++ b/evmrpc/simulate.go @@ -13,9 +13,6 @@ import ( "golang.org/x/sync/semaphore" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" @@ -33,6 +30,9 @@ import ( "github.com/ethereum/go-ethereum/rpc" "github.com/sei-protocol/sei-chain/app/legacyabci" "github.com/sei-protocol/sei-chain/precompiles/wasmd" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" diff --git a/evmrpc/simulate_test.go b/evmrpc/simulate_test.go index 0f009525a6..6ca6a1c2c9 100644 --- a/evmrpc/simulate_test.go +++ b/evmrpc/simulate_test.go @@ -11,8 +11,6 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/export" @@ -20,6 +18,8 @@ import ( "github.com/sei-protocol/sei-chain/app/legacyabci" "github.com/sei-protocol/sei-chain/evmrpc" "github.com/sei-protocol/sei-chain/example/contracts/simplestorage" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" receipt "github.com/sei-protocol/sei-chain/sei-db/ledger_db/receipt" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client/mock" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" @@ -608,8 +608,12 @@ func TestSimulationAPIRequestLimiter(t *testing.T) { } } - // Should have some rejections due to rate limiting - require.Greater(t, rejectedCount, 0, "Should have rejected estimateGas requests due to rate limiting") + // Under constrained scheduling these requests can serialize and avoid + // rejections. The stable invariant is that every response is either success or + // rate-limited. Hence, the assertion for success count instead of rejection + // count. This makes the testing less flaky/more robust given any limit for + // parallelism. + require.Greater(t, successCount, 0, "Should have at least one successful estimateGas request") require.Equal(t, numRequests, successCount+rejectedCount, "All estimateGas requests should be accounted for") t.Logf("eth_estimateGas rate limiting: %d successful, %d rejected out of %d total", successCount, rejectedCount, numRequests) diff --git a/evmrpc/state.go b/evmrpc/state.go index 448381ae8d..615372afca 100644 --- a/evmrpc/state.go +++ b/evmrpc/state.go @@ -8,12 +8,12 @@ import ( "strings" "time" - "github.com/cosmos/cosmos-sdk/store/cachekv" - iavlstore "github.com/cosmos/cosmos-sdk/store/iavl" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + iavlstore "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" diff --git a/evmrpc/state_test.go b/evmrpc/state_test.go index 08849e1097..d17de566e3 100644 --- a/evmrpc/state_test.go +++ b/evmrpc/state_test.go @@ -10,11 +10,11 @@ import ( "strings" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/rpc" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/evmrpc" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/stretchr/testify/require" diff --git a/evmrpc/subscribe.go b/evmrpc/subscribe.go index a92bb0288c..a88c096aa6 100644 --- a/evmrpc/subscribe.go +++ b/evmrpc/subscribe.go @@ -8,12 +8,12 @@ import ( "sync" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/eth/filters" "github.com/ethereum/go-ethereum/rpc" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/evmrpc/tests/block_test.go b/evmrpc/tests/block_test.go index 9c905666b6..1163cc1880 100644 --- a/evmrpc/tests/block_test.go +++ b/evmrpc/tests/block_test.go @@ -6,11 +6,11 @@ import ( "strings" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/bitutil" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/evmrpc/tests/gas_price_test.go b/evmrpc/tests/gas_price_test.go index 3c3eb36442..b8e55da3e7 100644 --- a/evmrpc/tests/gas_price_test.go +++ b/evmrpc/tests/gas_price_test.go @@ -4,9 +4,9 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/evmrpc" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/stretchr/testify/require" diff --git a/evmrpc/tests/logindex_test.go b/evmrpc/tests/logindex_test.go index 295af1a8b2..024b8ab1f3 100644 --- a/evmrpc/tests/logindex_test.go +++ b/evmrpc/tests/logindex_test.go @@ -4,8 +4,8 @@ import ( "crypto/sha256" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/evmrpc/tests/mock_accounts.go b/evmrpc/tests/mock_accounts.go index ef6746a680..3cf492f89f 100644 --- a/evmrpc/tests/mock_accounts.go +++ b/evmrpc/tests/mock_accounts.go @@ -5,15 +5,15 @@ import ( "fmt" "math/big" - clienttx "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/crypto/hd" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/app" + clienttx "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + xauthsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/config" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/evmrpc/tests/mock_contracts.go b/evmrpc/tests/mock_contracts.go index 31341a3191..6119352e5b 100644 --- a/evmrpc/tests/mock_contracts.go +++ b/evmrpc/tests/mock_contracts.go @@ -7,13 +7,13 @@ import ( "os" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/derived" "github.com/sei-protocol/sei-chain/x/evm/keeper" diff --git a/evmrpc/tests/mock_state.go b/evmrpc/tests/mock_state.go index 862a636f7c..bf683c88b1 100644 --- a/evmrpc/tests/mock_state.go +++ b/evmrpc/tests/mock_state.go @@ -9,9 +9,9 @@ import ( "os" "strconv" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/evmrpc" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/evmrpc/tests/mock_upgrade.go b/evmrpc/tests/mock_upgrade.go index b021e1bc2a..85fe806b5e 100644 --- a/evmrpc/tests/mock_upgrade.go +++ b/evmrpc/tests/mock_upgrade.go @@ -1,8 +1,8 @@ package tests import ( - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func mockUpgrade(version string, height int64) func(ctx sdk.Context, a *app.App) { diff --git a/evmrpc/tests/regression_test.go b/evmrpc/tests/regression_test.go index 354382eebc..d215f06e5b 100644 --- a/evmrpc/tests/regression_test.go +++ b/evmrpc/tests/regression_test.go @@ -5,11 +5,11 @@ import ( "strings" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/evmrpc" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/evmrpc/tests/tracers_test.go b/evmrpc/tests/tracers_test.go index 26ed0e479f..4b36d575d2 100644 --- a/evmrpc/tests/tracers_test.go +++ b/evmrpc/tests/tracers_test.go @@ -5,8 +5,8 @@ import ( "math" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/evmrpc/tests/tx.go b/evmrpc/tests/tx.go index b1e2b8bcd8..2791c2a5e7 100644 --- a/evmrpc/tests/tx.go +++ b/evmrpc/tests/tx.go @@ -7,8 +7,6 @@ import ( "os" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" @@ -16,6 +14,8 @@ import ( "github.com/sei-protocol/sei-chain/precompiles/json" "github.com/sei-protocol/sei-chain/precompiles/pointer" "github.com/sei-protocol/sei-chain/precompiles/wasmd" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" ) diff --git a/evmrpc/tests/utils.go b/evmrpc/tests/utils.go index f4f140ca6f..27745f2e14 100644 --- a/evmrpc/tests/utils.go +++ b/evmrpc/tests/utils.go @@ -12,14 +12,14 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/gogo/protobuf/proto" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/evmrpc" evmrpcconfig "github.com/sei-protocol/sei-chain/evmrpc/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" diff --git a/evmrpc/tracers.go b/evmrpc/tracers.go index 8d278f25cc..b97223d334 100644 --- a/evmrpc/tracers.go +++ b/evmrpc/tracers.go @@ -9,9 +9,6 @@ import ( "sync" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/eth/tracers" _ "github.com/ethereum/go-ethereum/eth/tracers/js" // run init()s to register JS tracers @@ -21,6 +18,9 @@ import ( "github.com/hashicorp/golang-lru/v2/expirable" "github.com/sei-protocol/sei-chain/app/legacyabci" evmrpcconfig "github.com/sei-protocol/sei-chain/evmrpc/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/evmrpc/tx.go b/evmrpc/tx.go index 2dac9dab79..27ef364800 100644 --- a/evmrpc/tx.go +++ b/evmrpc/tx.go @@ -11,8 +11,6 @@ import ( "sync" "time" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" @@ -21,6 +19,8 @@ import ( "github.com/ethereum/go-ethereum/export" "github.com/ethereum/go-ethereum/rpc" "github.com/sei-protocol/sei-chain/evmrpc/rpcutils" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/evmrpc/tx_test.go b/evmrpc/tx_test.go index 52d36e4d56..8d200298d0 100644 --- a/evmrpc/tx_test.go +++ b/evmrpc/tx_test.go @@ -12,15 +12,15 @@ import ( "math/big" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/config" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/go-bip39" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" "github.com/sei-protocol/sei-chain/evmrpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/evmrpc/txpool.go b/evmrpc/txpool.go index ef82ce6488..b8646684bf 100644 --- a/evmrpc/txpool.go +++ b/evmrpc/txpool.go @@ -5,10 +5,10 @@ import ( "strconv" "time" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/export" "github.com/sei-protocol/sei-chain/evmrpc/rpcutils" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/evmrpc/txpool_test.go b/evmrpc/txpool_test.go index 4658aaa4c5..426bcae6aa 100644 --- a/evmrpc/txpool_test.go +++ b/evmrpc/txpool_test.go @@ -10,10 +10,10 @@ import ( "strings" "testing" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/evmrpc" "github.com/sei-protocol/sei-chain/evmrpc/rpcutils" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/stretchr/testify/require" ) diff --git a/evmrpc/utils.go b/evmrpc/utils.go index 7ae7849a38..67c57f0b5c 100644 --- a/evmrpc/utils.go +++ b/evmrpc/utils.go @@ -13,19 +13,19 @@ import ( "sync/atomic" "time" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/config" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/rpc" "github.com/sei-protocol/sei-chain/evmrpc/rpcutils" "github.com/sei-protocol/sei-chain/evmrpc/stats" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" diff --git a/evmrpc/watermark_manager.go b/evmrpc/watermark_manager.go index 727e403ceb..f8b6a18a3f 100644 --- a/evmrpc/watermark_manager.go +++ b/evmrpc/watermark_manager.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/rpc" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" receipt "github.com/sei-protocol/sei-chain/sei-db/ledger_db/receipt" sstypes "github.com/sei-protocol/sei-chain/sei-db/state_db/ss/types" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" diff --git a/evmrpc/watermark_manager_test.go b/evmrpc/watermark_manager_test.go index b2d4be2adc..863d3c3912 100644 --- a/evmrpc/watermark_manager_test.go +++ b/evmrpc/watermark_manager_test.go @@ -12,8 +12,8 @@ import ( "github.com/ethereum/go-ethereum/rpc" "github.com/stretchr/testify/require" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" receipt "github.com/sei-protocol/sei-chain/sei-db/ledger_db/receipt" proto "github.com/sei-protocol/sei-chain/sei-db/proto" diff --git a/evmrpc/worker_pool_metrics.go b/evmrpc/worker_pool_metrics.go index d6b30ee799..a0160cd7cc 100644 --- a/evmrpc/worker_pool_metrics.go +++ b/evmrpc/worker_pool_metrics.go @@ -9,7 +9,7 @@ import ( "sync/atomic" "time" - "github.com/cosmos/cosmos-sdk/telemetry" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/metric" ) diff --git a/giga/deps/store/cachekv.go b/giga/deps/store/cachekv.go index 631ee2cd2d..36665bd1c6 100644 --- a/giga/deps/store/cachekv.go +++ b/giga/deps/store/cachekv.go @@ -6,8 +6,8 @@ import ( "sort" "sync" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/tracekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) // Store wraps an in-memory cache around an underlying types.KVStore. diff --git a/giga/deps/tasks/scheduler.go b/giga/deps/tasks/scheduler.go index 16c97e3fdb..b19f69f58b 100644 --- a/giga/deps/tasks/scheduler.go +++ b/giga/deps/tasks/scheduler.go @@ -8,12 +8,12 @@ import ( "sync" "time" - "github.com/cosmos/cosmos-sdk/store/multiversion" - store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/occ" - "github.com/cosmos/cosmos-sdk/utils/tracing" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/multiversion" + store "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils/tracing" "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" diff --git a/giga/deps/testutil/fuzzing/cosmos.go b/giga/deps/testutil/fuzzing/cosmos.go index 95c846422e..67101948f0 100644 --- a/giga/deps/testutil/fuzzing/cosmos.go +++ b/giga/deps/testutil/fuzzing/cosmos.go @@ -1,7 +1,7 @@ package fuzzing import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func FuzzDec(i int64, isNil bool) sdk.Dec { diff --git a/giga/deps/testutil/keeper/epoch.go b/giga/deps/testutil/keeper/epoch.go index 0adf9b751c..e3ae8c3f18 100644 --- a/giga/deps/testutil/keeper/epoch.go +++ b/giga/deps/testutil/keeper/epoch.go @@ -3,13 +3,13 @@ package keeper import ( "testing" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/store" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - typesparams "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + typesparams "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/sei-protocol/sei-chain/x/epoch/keeper" diff --git a/giga/deps/testutil/keeper/evm.go b/giga/deps/testutil/keeper/evm.go index 3d179a0c5d..442a8694e4 100644 --- a/giga/deps/testutil/keeper/evm.go +++ b/giga/deps/testutil/keeper/evm.go @@ -6,12 +6,12 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/crypto/hd" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/go-bip39" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/app" evmkeeper "github.com/sei-protocol/sei-chain/giga/deps/xevm/keeper" diff --git a/giga/deps/testutil/network/network.go b/giga/deps/testutil/network/network.go index e008a731b0..d382318f98 100644 --- a/giga/deps/testutil/network/network.go +++ b/giga/deps/testutil/network/network.go @@ -5,14 +5,14 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" tmrand "github.com/sei-protocol/sei-chain/sei-tendermint/libs/rand" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm" tmdb "github.com/tendermint/tm-db" diff --git a/giga/deps/testutil/nullify/nullify.go b/giga/deps/testutil/nullify/nullify.go index f5b2a57de1..27ac32513d 100644 --- a/giga/deps/testutil/nullify/nullify.go +++ b/giga/deps/testutil/nullify/nullify.go @@ -5,7 +5,7 @@ import ( "reflect" "unsafe" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/giga/deps/testutil/processblock/common.go b/giga/deps/testutil/processblock/common.go index 5d060af947..88bc3968e7 100644 --- a/giga/deps/testutil/processblock/common.go +++ b/giga/deps/testutil/processblock/common.go @@ -7,16 +7,16 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/cosmos/go-bip39" "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/sei-protocol/sei-chain/utils" diff --git a/giga/deps/testutil/processblock/genesisacc.go b/giga/deps/testutil/processblock/genesisacc.go index a51ae2bded..9b392f99eb 100644 --- a/giga/deps/testutil/processblock/genesisacc.go +++ b/giga/deps/testutil/processblock/genesisacc.go @@ -1,7 +1,7 @@ package processblock import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (a *App) NewAccount() sdk.AccAddress { diff --git a/giga/deps/testutil/processblock/genesisstaking.go b/giga/deps/testutil/processblock/genesisstaking.go index 404e968ed0..be266df96d 100644 --- a/giga/deps/testutil/processblock/genesisstaking.go +++ b/giga/deps/testutil/processblock/genesisstaking.go @@ -4,9 +4,9 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func (a *App) NewValidator() sdk.ValAddress { diff --git a/giga/deps/testutil/processblock/genesiswasm.go b/giga/deps/testutil/processblock/genesiswasm.go index b040dbe4f5..9da06e56c5 100644 --- a/giga/deps/testutil/processblock/genesiswasm.go +++ b/giga/deps/testutil/processblock/genesiswasm.go @@ -4,7 +4,7 @@ import ( "os" "path/filepath" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/giga/deps/testutil/processblock/presets.go b/giga/deps/testutil/processblock/presets.go index d55e9a9eb3..8e2d38a10b 100644 --- a/giga/deps/testutil/processblock/presets.go +++ b/giga/deps/testutil/processblock/presets.go @@ -3,11 +3,11 @@ package processblock import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/giga/deps/testutil/processblock/tx.go b/giga/deps/testutil/processblock/tx.go index 095a990f21..1cdcfa5f80 100644 --- a/giga/deps/testutil/processblock/tx.go +++ b/giga/deps/testutil/processblock/tx.go @@ -1,14 +1,14 @@ package processblock import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/hd" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + xauthsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" ) var InterfaceReg = types.NewInterfaceRegistry() diff --git a/giga/deps/testutil/processblock/verify/common.go b/giga/deps/testutil/processblock/verify/common.go index 6d7a45f7d0..a7e19aeab1 100644 --- a/giga/deps/testutil/processblock/verify/common.go +++ b/giga/deps/testutil/processblock/verify/common.go @@ -3,7 +3,7 @@ package verify import ( "testing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/testutil/processblock" ) diff --git a/giga/deps/testutil/processblock/verify/distribution.go b/giga/deps/testutil/processblock/verify/distribution.go index 9d4506168d..6e55770acb 100644 --- a/giga/deps/testutil/processblock/verify/distribution.go +++ b/giga/deps/testutil/processblock/verify/distribution.go @@ -4,11 +4,11 @@ import ( "fmt" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/testutil/processblock" "github.com/sei-protocol/sei-chain/utils" "github.com/stretchr/testify/require" diff --git a/giga/deps/testutil/processblock/verify/epoch.go b/giga/deps/testutil/processblock/verify/epoch.go index 7c35411d4b..4f68288c3e 100644 --- a/giga/deps/testutil/processblock/verify/epoch.go +++ b/giga/deps/testutil/processblock/verify/epoch.go @@ -3,7 +3,7 @@ package verify import ( "testing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/testutil/processblock" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/testutil/processblock/verify/mint.go b/giga/deps/testutil/processblock/verify/mint.go index cfae16bee7..7a300c51a0 100644 --- a/giga/deps/testutil/processblock/verify/mint.go +++ b/giga/deps/testutil/processblock/verify/mint.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/testutil/processblock" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" "github.com/stretchr/testify/require" diff --git a/giga/deps/testutil/sample/sample.go b/giga/deps/testutil/sample/sample.go index 98f2153ed4..c2795585dd 100644 --- a/giga/deps/testutil/sample/sample.go +++ b/giga/deps/testutil/sample/sample.go @@ -1,8 +1,8 @@ package sample import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // AccAddress returns a sample account address diff --git a/giga/deps/xbank/exported/exported.go b/giga/deps/xbank/exported/exported.go index c4f2e9f6da..b2d07a8bb8 100644 --- a/giga/deps/xbank/exported/exported.go +++ b/giga/deps/xbank/exported/exported.go @@ -1,7 +1,7 @@ package exported import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // GenesisBalance defines a genesis balance interface that allows for account diff --git a/giga/deps/xbank/keeper/deferred_cache.go b/giga/deps/xbank/keeper/deferred_cache.go index 41691fc053..3d66e910d2 100644 --- a/giga/deps/xbank/keeper/deferred_cache.go +++ b/giga/deps/xbank/keeper/deferred_cache.go @@ -1,11 +1,11 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) type DeferredCache struct { diff --git a/giga/deps/xbank/keeper/deferred_cache_test.go b/giga/deps/xbank/keeper/deferred_cache_test.go index acbcb8408b..53a6381975 100644 --- a/giga/deps/xbank/keeper/deferred_cache_test.go +++ b/giga/deps/xbank/keeper/deferred_cache_test.go @@ -1,10 +1,10 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app/apptesting" bankkeeper "github.com/sei-protocol/sei-chain/giga/deps/xbank/keeper" "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (suite *IntegrationTestSuite) TestDeferredCacheUpsertBalances() { diff --git a/giga/deps/xbank/keeper/genesis.go b/giga/deps/xbank/keeper/genesis.go index 0bd6d5b89b..58ad08eed6 100644 --- a/giga/deps/xbank/keeper/genesis.go +++ b/giga/deps/xbank/keeper/genesis.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - cosmosbanktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + cosmosbanktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // InitGenesis initializes the bank module's state from a given genesis state. diff --git a/giga/deps/xbank/keeper/genesis_test.go b/giga/deps/xbank/keeper/genesis_test.go index b9e1cbd643..fdb353a369 100644 --- a/giga/deps/xbank/keeper/genesis_test.go +++ b/giga/deps/xbank/keeper/genesis_test.go @@ -1,8 +1,8 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (suite *IntegrationTestSuite) getTestBalancesAndSupply() ([]types.Balance, sdk.Coins) { diff --git a/giga/deps/xbank/keeper/keeper.go b/giga/deps/xbank/keeper/keeper.go index ac84a90099..b6b1ed1297 100644 --- a/giga/deps/xbank/keeper/keeper.go +++ b/giga/deps/xbank/keeper/keeper.go @@ -4,14 +4,14 @@ import ( "fmt" "sort" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - vestexported "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + vestexported "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/exported" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/giga/deps/xbank/keeper/keeper_test.go b/giga/deps/xbank/keeper/keeper_test.go index d68b31577d..9a830c3b8f 100644 --- a/giga/deps/xbank/keeper/keeper_test.go +++ b/giga/deps/xbank/keeper/keeper_test.go @@ -5,18 +5,18 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - tmtime "github.com/cosmos/cosmos-sdk/std" - sdk "github.com/cosmos/cosmos-sdk/types" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - cosmosbanktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" "github.com/sei-protocol/sei-chain/giga/deps/xbank/keeper" "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" "github.com/sei-protocol/sei-chain/occ_tests/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + tmtime "github.com/sei-protocol/sei-chain/sei-cosmos/std" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + vesting "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" + cosmosbanktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" "github.com/stretchr/testify/suite" diff --git a/giga/deps/xbank/keeper/send.go b/giga/deps/xbank/keeper/send.go index 471c52cb30..a6879e9d45 100644 --- a/giga/deps/xbank/keeper/send.go +++ b/giga/deps/xbank/keeper/send.go @@ -4,14 +4,14 @@ import ( "bytes" "strings" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - cosmosbanktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + cosmosbanktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) const ( diff --git a/giga/deps/xbank/keeper/send_test.go b/giga/deps/xbank/keeper/send_test.go index 643361dbf7..ec9e288bd9 100644 --- a/giga/deps/xbank/keeper/send_test.go +++ b/giga/deps/xbank/keeper/send_test.go @@ -4,9 +4,9 @@ import ( "encoding/binary" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/sei-protocol/sei-chain/giga/deps/xbank/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xbank/keeper/view.go b/giga/deps/xbank/keeper/view.go index 176465f0df..fc1fb46445 100644 --- a/giga/deps/xbank/keeper/view.go +++ b/giga/deps/xbank/keeper/view.go @@ -3,11 +3,11 @@ package keeper import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - vestexported "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + vestexported "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/exported" ) var _ ViewKeeper = (*BaseViewKeeper)(nil) diff --git a/giga/deps/xbank/keeper/view_test.go b/giga/deps/xbank/keeper/view_test.go index 9a5d25afbf..357f78235a 100644 --- a/giga/deps/xbank/keeper/view_test.go +++ b/giga/deps/xbank/keeper/view_test.go @@ -4,10 +4,10 @@ import ( "encoding/hex" "encoding/json" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app/apptesting" banktypes "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (suite *IntegrationTestSuite) TestViewKeeperStoreTrace() { diff --git a/giga/deps/xbank/types/authz.pb.go b/giga/deps/xbank/types/authz.pb.go index 531885822d..c8986f9ea7 100644 --- a/giga/deps/xbank/types/authz.pb.go +++ b/giga/deps/xbank/types/authz.pb.go @@ -9,11 +9,11 @@ import ( math "math" math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + github_com_cosmos_cosmos_sdk_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Reference imports to suppress errors if they are not otherwise used. @@ -32,7 +32,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // // Since: cosmos-sdk 0.43 type SendAuthorization struct { - SpendLimit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=spend_limit,json=spendLimit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"spend_limit"` + SpendLimit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=spend_limit,json=spendLimit,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"spend_limit"` } func (m *SendAuthorization) Reset() { *m = SendAuthorization{} } diff --git a/giga/deps/xbank/types/balance.go b/giga/deps/xbank/types/balance.go index ef5db01975..c8b5c364e9 100644 --- a/giga/deps/xbank/types/balance.go +++ b/giga/deps/xbank/types/balance.go @@ -5,9 +5,9 @@ import ( "encoding/json" "sort" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/giga/deps/xbank/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var _ exported.GenesisBalance = (*Balance)(nil) diff --git a/giga/deps/xbank/types/balance_test.go b/giga/deps/xbank/types/balance_test.go index 040644b05d..d4398a7933 100644 --- a/giga/deps/xbank/types/balance_test.go +++ b/giga/deps/xbank/types/balance_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" bank "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestBalanceValidate(t *testing.T) { diff --git a/giga/deps/xbank/types/bank.pb.go b/giga/deps/xbank/types/bank.pb.go index 4ca5c755ef..3b7955ffe9 100644 --- a/giga/deps/xbank/types/bank.pb.go +++ b/giga/deps/xbank/types/bank.pb.go @@ -9,11 +9,11 @@ import ( math "math" math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + github_com_cosmos_cosmos_sdk_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Reference imports to suppress errors if they are not otherwise used. @@ -135,7 +135,7 @@ func (m *SendEnabled) GetEnabled() bool { // Input models transaction input. type Input struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` + Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"coins"` } func (m *Input) Reset() { *m = Input{} } @@ -174,7 +174,7 @@ var xxx_messageInfo_Input proto.InternalMessageInfo // Output models transaction outputs. type Output struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` + Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"coins"` } func (m *Output) Reset() { *m = Output{} } @@ -216,7 +216,7 @@ var xxx_messageInfo_Output proto.InternalMessageInfo // // Deprecated: Do not use. type Supply struct { - 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"` + Total github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=total,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"total"` } func (m *Supply) Reset() { *m = Supply{} } diff --git a/giga/deps/xbank/types/codec.go b/giga/deps/xbank/types/codec.go index e8c8c46d28..c837af55f6 100644 --- a/giga/deps/xbank/types/codec.go +++ b/giga/deps/xbank/types/codec.go @@ -1,9 +1,9 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" ) // RegisterLegacyAminoCodec registers the necessary x/bank interfaces and concrete types diff --git a/giga/deps/xbank/types/errors.go b/giga/deps/xbank/types/errors.go index 5dca9cba22..06e2990883 100644 --- a/giga/deps/xbank/types/errors.go +++ b/giga/deps/xbank/types/errors.go @@ -1,7 +1,7 @@ package types import ( - bankerrors "github.com/cosmos/cosmos-sdk/x/bank/types" + bankerrors "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // x/bank module sentinel errors diff --git a/giga/deps/xbank/types/events.go b/giga/deps/xbank/types/events.go index 93eca61394..ddb039508b 100644 --- a/giga/deps/xbank/types/events.go +++ b/giga/deps/xbank/types/events.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // bank module event types @@ -29,7 +29,7 @@ const ( ) // NewCoinSpentEvent constructs a new coin spent sdk.Event -// nolint: interfacer + func NewCoinSpentEvent(spender sdk.AccAddress, amount sdk.Coins) sdk.Event { return sdk.NewEvent( EventTypeCoinSpent, @@ -39,7 +39,7 @@ func NewCoinSpentEvent(spender sdk.AccAddress, amount sdk.Coins) sdk.Event { } // NewCoinReceivedEvent constructs a new coin received sdk.Event -// nolint: interfacer + func NewCoinReceivedEvent(receiver sdk.AccAddress, amount sdk.Coins) sdk.Event { return sdk.NewEvent( EventTypeCoinReceived, @@ -49,7 +49,7 @@ func NewCoinReceivedEvent(receiver sdk.AccAddress, amount sdk.Coins) sdk.Event { } // NewWeiSpentEvent constructs a new wei spent sdk.Event -// nolint: interfacer + func NewWeiSpentEvent(spender sdk.AccAddress, amount sdk.Int) sdk.Event { return sdk.NewEvent( EventTypeWeiSpent, @@ -59,7 +59,7 @@ func NewWeiSpentEvent(spender sdk.AccAddress, amount sdk.Int) sdk.Event { } // NewWeiReceivedEvent constructs a new wei received sdk.Event -// nolint: interfacer + func NewWeiReceivedEvent(receiver sdk.AccAddress, amount sdk.Int) sdk.Event { return sdk.NewEvent( EventTypeWeiReceived, @@ -69,7 +69,7 @@ func NewWeiReceivedEvent(receiver sdk.AccAddress, amount sdk.Int) sdk.Event { } // NewCoinMintEvent construct a new coin minted sdk.Event -// nolint: interfacer + func NewCoinMintEvent(minter sdk.AccAddress, amount sdk.Coins) sdk.Event { return sdk.NewEvent( EventTypeCoinMint, @@ -79,7 +79,7 @@ func NewCoinMintEvent(minter sdk.AccAddress, amount sdk.Coins) sdk.Event { } // NewCoinBurnEvent constructs a new coin burned sdk.Event -// nolint: interfacer + func NewCoinBurnEvent(burner sdk.AccAddress, amount sdk.Coins) sdk.Event { return sdk.NewEvent( EventTypeCoinBurn, diff --git a/giga/deps/xbank/types/expected_keepers.go b/giga/deps/xbank/types/expected_keepers.go index 23ca020a34..82c2c918ae 100644 --- a/giga/deps/xbank/types/expected_keepers.go +++ b/giga/deps/xbank/types/expected_keepers.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // AccountKeeper defines the account contract that must be fulfilled when diff --git a/giga/deps/xbank/types/genesis.go b/giga/deps/xbank/types/genesis.go index 5a4b981f55..c23ec097c4 100644 --- a/giga/deps/xbank/types/genesis.go +++ b/giga/deps/xbank/types/genesis.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Validate performs basic validation of supply genesis data returning an diff --git a/giga/deps/xbank/types/genesis.pb.go b/giga/deps/xbank/types/genesis.pb.go index bae95944dd..d00fce07f8 100644 --- a/giga/deps/xbank/types/genesis.pb.go +++ b/giga/deps/xbank/types/genesis.pb.go @@ -9,10 +9,10 @@ import ( math "math" math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Reference imports to suppress errors if they are not otherwise used. @@ -34,7 +34,7 @@ type GenesisState struct { Balances []Balance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances"` // supply represents the total supply. If it is left empty, then supply will be calculated based on the provided // balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - Supply github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=supply,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"supply"` + Supply github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=supply,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"supply"` // denom_metadata defines the metadata of the differents coins. DenomMetadata []Metadata `protobuf:"bytes,4,rep,name=denom_metadata,json=denomMetadata,proto3" json:"denom_metadata" yaml:"denom_metadata"` // wei balances @@ -115,7 +115,7 @@ type Balance struct { // address is the address of the balance holder. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // coins defines the different coins this balance holds. - Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` + Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"coins"` } func (m *Balance) Reset() { *m = Balance{} } @@ -155,7 +155,7 @@ type WeiBalance struct { // address is the address of the balance holder. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // wei balance amount. - Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` + Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"amount"` } func (m *WeiBalance) Reset() { *m = WeiBalance{} } diff --git a/giga/deps/xbank/types/genesis_test.go b/giga/deps/xbank/types/genesis_test.go index 6b25bb0e88..a4c0278b40 100644 --- a/giga/deps/xbank/types/genesis_test.go +++ b/giga/deps/xbank/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestGenesisStateValidate(t *testing.T) { diff --git a/giga/deps/xbank/types/key.go b/giga/deps/xbank/types/key.go index 4ead5e1661..bc55c3bdb8 100644 --- a/giga/deps/xbank/types/key.go +++ b/giga/deps/xbank/types/key.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/types/kv" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) const ( diff --git a/giga/deps/xbank/types/key_test.go b/giga/deps/xbank/types/key_test.go index a5ad37cd2b..1f3dad54f8 100644 --- a/giga/deps/xbank/types/key_test.go +++ b/giga/deps/xbank/types/key_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" ) func cloneAppend(bz []byte, tail []byte) (res []byte) { diff --git a/giga/deps/xbank/types/metadata.go b/giga/deps/xbank/types/metadata.go index a6df1bf426..80e48e4251 100644 --- a/giga/deps/xbank/types/metadata.go +++ b/giga/deps/xbank/types/metadata.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Validate performs a basic validation of the coin metadata fields. It checks: diff --git a/giga/deps/xbank/types/metadata_test.go b/giga/deps/xbank/types/metadata_test.go index 7eba29d617..261e30ade0 100644 --- a/giga/deps/xbank/types/metadata_test.go +++ b/giga/deps/xbank/types/metadata_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" "github.com/sei-protocol/sei-chain/giga/deps/xbank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" ) func TestMetadataValidate(t *testing.T) { @@ -257,12 +257,12 @@ func TestMarshalJSONMetaData(t *testing.T) { for _, tc := range testCases { tc := tc t.Run(tc.name, func(t *testing.T) { - bz, err := cdc.MarshalJSON(tc.input) + bz, err := cdc.MarshalAsJSON(tc.input) require.NoError(t, err) require.Equal(t, tc.strOutput, string(bz)) var newMetadata []types.Metadata - require.NoError(t, cdc.UnmarshalJSON(bz, &newMetadata)) + require.NoError(t, cdc.UnmarshalAsJSON(bz, &newMetadata)) if len(tc.input) == 0 { require.Nil(t, newMetadata) diff --git a/giga/deps/xbank/types/msgs.go b/giga/deps/xbank/types/msgs.go index 1b1c6947fd..a7cb5cd169 100644 --- a/giga/deps/xbank/types/msgs.go +++ b/giga/deps/xbank/types/msgs.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // ValidateBasic - validate transaction input @@ -24,8 +24,6 @@ func (in Input) ValidateBasic() error { } // NewInput - create a transaction input, used with MsgMultiSend -// -//nolint:interfacer func NewInput(addr sdk.AccAddress, coins sdk.Coins) Input { return Input{ Address: addr.String(), @@ -52,8 +50,6 @@ func (out Output) ValidateBasic() error { } // NewOutput - create a transaction output, used with MsgMultiSend -// -//nolint:interfacer func NewOutput(addr sdk.AccAddress, coins sdk.Coins) Output { return Output{ Address: addr.String(), diff --git a/giga/deps/xbank/types/params.go b/giga/deps/xbank/types/params.go index ed94ead347..62bcdeda49 100644 --- a/giga/deps/xbank/types/params.go +++ b/giga/deps/xbank/types/params.go @@ -5,8 +5,8 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) const ( diff --git a/giga/deps/xbank/types/params_test.go b/giga/deps/xbank/types/params_test.go index f6f95d7373..7e28d9aab6 100644 --- a/giga/deps/xbank/types/params_test.go +++ b/giga/deps/xbank/types/params_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func Test_validateSendEnabledParam(t *testing.T) { diff --git a/giga/deps/xevm/config/config.go b/giga/deps/xevm/config/config.go index 69ca47b500..c64a465c15 100644 --- a/giga/deps/xevm/config/config.go +++ b/giga/deps/xevm/config/config.go @@ -3,7 +3,7 @@ package config import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const DefaultChainID = int64(713714) diff --git a/giga/deps/xevm/config/config_test.go b/giga/deps/xevm/config/config_test.go index 7ad708739d..5732c5c33f 100644 --- a/giga/deps/xevm/config/config_test.go +++ b/giga/deps/xevm/config/config_test.go @@ -3,7 +3,7 @@ package config import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/derived/derived.go b/giga/deps/xevm/derived/derived.go index 5ab47c7abf..78fa7332c6 100644 --- a/giga/deps/xevm/derived/derived.go +++ b/giga/deps/xevm/derived/derived.go @@ -1,9 +1,9 @@ package derived import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type SignerVersion int diff --git a/giga/deps/xevm/keeper/address.go b/giga/deps/xevm/keeper/address.go index 6a4460ec32..68bdc9212f 100644 --- a/giga/deps/xevm/keeper/address.go +++ b/giga/deps/xevm/keeper/address.go @@ -1,10 +1,10 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (k *Keeper) SetAddressMapping(ctx sdk.Context, seiAddress sdk.AccAddress, evmAddress common.Address) { diff --git a/giga/deps/xevm/keeper/address_test.go b/giga/deps/xevm/keeper/address_test.go index a449c621d6..a54a151814 100644 --- a/giga/deps/xevm/keeper/address_test.go +++ b/giga/deps/xevm/keeper/address_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/giga/deps/testutil/keeper" evmkeeper "github.com/sei-protocol/sei-chain/giga/deps/xevm/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/keeper/ante.go b/giga/deps/xevm/keeper/ante.go index 7bac509361..46231ed427 100644 --- a/giga/deps/xevm/keeper/ante.go +++ b/giga/deps/xevm/keeper/ante.go @@ -1,10 +1,10 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (k *Keeper) AddAnteSurplus(ctx sdk.Context, txHash common.Hash, surplus sdk.Int) error { diff --git a/giga/deps/xevm/keeper/balance.go b/giga/deps/xevm/keeper/balance.go index 18cc3f4c1e..4fdcedd223 100644 --- a/giga/deps/xevm/keeper/balance.go +++ b/giga/deps/xevm/keeper/balance.go @@ -3,8 +3,8 @@ package keeper import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/giga/deps/xevm/state" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (k *Keeper) GetBalance(ctx sdk.Context, addr sdk.AccAddress) *big.Int { diff --git a/giga/deps/xevm/keeper/code.go b/giga/deps/xevm/keeper/code.go index 292966ecd9..8b6b580e5b 100644 --- a/giga/deps/xevm/keeper/code.go +++ b/giga/deps/xevm/keeper/code.go @@ -3,12 +3,12 @@ package keeper import ( "encoding/binary" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/giga/deps/xevm/keeper/code_test.go b/giga/deps/xevm/keeper/code_test.go index 086fc9b619..bcf89caf43 100644 --- a/giga/deps/xevm/keeper/code_test.go +++ b/giga/deps/xevm/keeper/code_test.go @@ -3,11 +3,11 @@ package keeper_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/giga/deps/testutil/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/keeper/coinbase.go b/giga/deps/xevm/keeper/coinbase.go index 39115f3bd3..163f578de1 100644 --- a/giga/deps/xevm/keeper/coinbase.go +++ b/giga/deps/xevm/keeper/coinbase.go @@ -3,10 +3,10 @@ package keeper import ( "errors" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) const CoinbaseSeedAddress = "0000000000000000000000000000000000000001" diff --git a/giga/deps/xevm/keeper/deferred.go b/giga/deps/xevm/keeper/deferred.go index 9da11e0ce5..25ff791d18 100644 --- a/giga/deps/xevm/keeper/deferred.go +++ b/giga/deps/xevm/keeper/deferred.go @@ -4,11 +4,11 @@ import ( "encoding/binary" "fmt" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (k *Keeper) GetAllEVMTxDeferredInfo(ctx sdk.Context) (res []*types.DeferredInfo) { diff --git a/giga/deps/xevm/keeper/fee.go b/giga/deps/xevm/keeper/fee.go index 4c17e735e0..27491566b0 100644 --- a/giga/deps/xevm/keeper/fee.go +++ b/giga/deps/xevm/keeper/fee.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // modified eip-1559 adjustment using target gas used diff --git a/giga/deps/xevm/keeper/fee_test.go b/giga/deps/xevm/keeper/fee_test.go index f8b6a31f73..92958902bd 100644 --- a/giga/deps/xevm/keeper/fee_test.go +++ b/giga/deps/xevm/keeper/fee_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" testkeeper "github.com/sei-protocol/sei-chain/giga/deps/testutil/keeper" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/keeper/genesis.go b/giga/deps/xevm/keeper/genesis.go index 0356949052..166e6c670f 100644 --- a/giga/deps/xevm/keeper/genesis.go +++ b/giga/deps/xevm/keeper/genesis.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" ) diff --git a/giga/deps/xevm/keeper/keeper.go b/giga/deps/xevm/keeper/keeper.go index e71a6b1c18..f37df72ed4 100644 --- a/giga/deps/xevm/keeper/keeper.go +++ b/giga/deps/xevm/keeper/keeper.go @@ -10,12 +10,6 @@ import ( "sort" "sync" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/ethereum/evmc/v12/bindings/go/evmc" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/consensus" @@ -31,6 +25,12 @@ import ( "github.com/sei-protocol/sei-chain/giga/deps/xevm/state" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" "github.com/sei-protocol/sei-chain/sei-db/ledger_db/receipt" ibctransferkeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/keeper" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" diff --git a/giga/deps/xevm/keeper/keeper_test.go b/giga/deps/xevm/keeper/keeper_test.go index 620e14512e..fb4a0207a7 100644 --- a/giga/deps/xevm/keeper/keeper_test.go +++ b/giga/deps/xevm/keeper/keeper_test.go @@ -8,8 +8,6 @@ import ( "sync" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" @@ -20,6 +18,8 @@ import ( evmkeeper "github.com/sei-protocol/sei-chain/giga/deps/xevm/keeper" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types/ethtx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/rand" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/giga/deps/xevm/keeper/log.go b/giga/deps/xevm/keeper/log.go index 55c8373a4e..47d6c90c9a 100644 --- a/giga/deps/xevm/keeper/log.go +++ b/giga/deps/xevm/keeper/log.go @@ -3,11 +3,11 @@ package keeper import ( "encoding/binary" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/bitutil" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/giga/deps/xevm/keeper/nonce.go b/giga/deps/xevm/keeper/nonce.go index 1716b3b02b..266d4d130f 100644 --- a/giga/deps/xevm/keeper/nonce.go +++ b/giga/deps/xevm/keeper/nonce.go @@ -3,10 +3,10 @@ package keeper import ( "encoding/binary" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (k *Keeper) GetNonce(ctx sdk.Context, addr common.Address) uint64 { diff --git a/giga/deps/xevm/keeper/params.go b/giga/deps/xevm/keeper/params.go index 8cce0c1059..7d89a74898 100644 --- a/giga/deps/xevm/keeper/params.go +++ b/giga/deps/xevm/keeper/params.go @@ -5,9 +5,9 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/giga/deps/xevm/config" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/giga/deps/xevm/keeper/params_test.go b/giga/deps/xevm/keeper/params_test.go index a1df1a04f3..2da95de874 100644 --- a/giga/deps/xevm/keeper/params_test.go +++ b/giga/deps/xevm/keeper/params_test.go @@ -4,9 +4,9 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" testkeeper "github.com/sei-protocol/sei-chain/giga/deps/testutil/keeper" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/keeper/receipt.go b/giga/deps/xevm/keeper/receipt.go index 8e67c71136..c362f4cece 100644 --- a/giga/deps/xevm/keeper/receipt.go +++ b/giga/deps/xevm/keeper/receipt.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" diff --git a/giga/deps/xevm/keeper/receipt_test.go b/giga/deps/xevm/keeper/receipt_test.go index a5431cce8e..a11fdf1584 100644 --- a/giga/deps/xevm/keeper/receipt_test.go +++ b/giga/deps/xevm/keeper/receipt_test.go @@ -3,11 +3,11 @@ package keeper_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" testkeeper "github.com/sei-protocol/sei-chain/giga/deps/testutil/keeper" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/keeper/state.go b/giga/deps/xevm/keeper/state.go index eb57e1eeaf..70a5d8ab89 100644 --- a/giga/deps/xevm/keeper/state.go +++ b/giga/deps/xevm/keeper/state.go @@ -1,10 +1,10 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (k *Keeper) GetState(ctx sdk.Context, addr common.Address, hash common.Hash) common.Hash { diff --git a/giga/deps/xevm/state/balance.go b/giga/deps/xevm/state/balance.go index 07ee53f114..2a7c1734ed 100644 --- a/giga/deps/xevm/state/balance.go +++ b/giga/deps/xevm/state/balance.go @@ -3,11 +3,11 @@ package state import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/holiman/uint256" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ZeroInt = uint256.NewInt(0) diff --git a/giga/deps/xevm/state/balance_test.go b/giga/deps/xevm/state/balance_test.go index 37ec214efd..802c37dd01 100644 --- a/giga/deps/xevm/state/balance_test.go +++ b/giga/deps/xevm/state/balance_test.go @@ -4,12 +4,12 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/core/tracing" "github.com/holiman/uint256" testkeeper "github.com/sei-protocol/sei-chain/giga/deps/testutil/keeper" "github.com/sei-protocol/sei-chain/giga/deps/xevm/state" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/state/expected_keepers.go b/giga/deps/xevm/state/expected_keepers.go index 340b157069..57424cffe2 100644 --- a/giga/deps/xevm/state/expected_keepers.go +++ b/giga/deps/xevm/state/expected_keepers.go @@ -3,11 +3,11 @@ package state import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/ethereum/go-ethereum/common" bankkeeper "github.com/sei-protocol/sei-chain/giga/deps/xbank/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" ) type EVMKeeper interface { diff --git a/giga/deps/xevm/state/journal.go b/giga/deps/xevm/state/journal.go index 202547c71e..73e03b6b1d 100644 --- a/giga/deps/xevm/state/journal.go +++ b/giga/deps/xevm/state/journal.go @@ -3,8 +3,8 @@ package state import ( "encoding/binary" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type journalEntry interface { diff --git a/giga/deps/xevm/state/journal_test.go b/giga/deps/xevm/state/journal_test.go index f77a590101..20fa68816a 100644 --- a/giga/deps/xevm/state/journal_test.go +++ b/giga/deps/xevm/state/journal_test.go @@ -4,8 +4,8 @@ import ( "encoding/binary" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/state/mock_balances.go b/giga/deps/xevm/state/mock_balances.go index c4ead5f41f..24e75165a7 100644 --- a/giga/deps/xevm/state/mock_balances.go +++ b/giga/deps/xevm/state/mock_balances.go @@ -18,9 +18,9 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // TopOffAmount is the amount to mint when an account needs more funds (100 ETH) diff --git a/giga/deps/xevm/state/state.go b/giga/deps/xevm/state/state.go index e57e962221..d06d015455 100644 --- a/giga/deps/xevm/state/state.go +++ b/giga/deps/xevm/state/state.go @@ -3,12 +3,12 @@ package state import ( "bytes" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/holiman/uint256" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/giga/deps/xevm/state/state_test.go b/giga/deps/xevm/state/state_test.go index 510f736bbe..a6a8dcd833 100644 --- a/giga/deps/xevm/state/state_test.go +++ b/giga/deps/xevm/state/state_test.go @@ -5,13 +5,13 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/holiman/uint256" testkeeper "github.com/sei-protocol/sei-chain/giga/deps/testutil/keeper" "github.com/sei-protocol/sei-chain/giga/deps/xevm/state" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/state/statedb.go b/giga/deps/xevm/state/statedb.go index eb95116d05..ec2ccca4b1 100644 --- a/giga/deps/xevm/state/statedb.go +++ b/giga/deps/xevm/state/statedb.go @@ -1,7 +1,6 @@ package state import ( - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/state" "github.com/ethereum/go-ethereum/core/stateless" @@ -9,6 +8,7 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" ethutils "github.com/ethereum/go-ethereum/trie/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/giga/deps/xevm/state/utils.go b/giga/deps/xevm/state/utils.go index a79a3691df..225ee7655a 100644 --- a/giga/deps/xevm/state/utils.go +++ b/giga/deps/xevm/state/utils.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // UseiToSweiMultiplier Fields that were denominated in usei will be converted to swei (1usei = 10^12swei) diff --git a/giga/deps/xevm/types/codec.go b/giga/deps/xevm/types/codec.go index a9e7cde831..befee24b98 100644 --- a/giga/deps/xevm/types/codec.go +++ b/giga/deps/xevm/types/codec.go @@ -5,10 +5,10 @@ import ( "errors" fmt "fmt" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" "github.com/gogo/protobuf/proto" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types/ethtx" diff --git a/giga/deps/xevm/types/ethtx/access_list_tx.go b/giga/deps/xevm/types/ethtx/access_list_tx.go index 06f4306a22..6acc097dce 100644 --- a/giga/deps/xevm/types/ethtx/access_list_tx.go +++ b/giga/deps/xevm/types/ethtx/access_list_tx.go @@ -5,7 +5,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" diff --git a/giga/deps/xevm/types/ethtx/access_list_tx_setter.go b/giga/deps/xevm/types/ethtx/access_list_tx_setter.go index a532518d58..5ad3e2ea18 100644 --- a/giga/deps/xevm/types/ethtx/access_list_tx_setter.go +++ b/giga/deps/xevm/types/ethtx/access_list_tx_setter.go @@ -1,6 +1,6 @@ package ethtx -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" func (tx *AccessListTx) SetTo(v string) { tx.To = v diff --git a/giga/deps/xevm/types/ethtx/access_list_tx_test.go b/giga/deps/xevm/types/ethtx/access_list_tx_test.go index b9dd1b62e9..5e98d9b809 100644 --- a/giga/deps/xevm/types/ethtx/access_list_tx_test.go +++ b/giga/deps/xevm/types/ethtx/access_list_tx_test.go @@ -5,9 +5,9 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/types/ethtx/auth_list.go b/giga/deps/xevm/types/ethtx/auth_list.go index 19726eb67a..635abf70f8 100644 --- a/giga/deps/xevm/types/ethtx/auth_list.go +++ b/giga/deps/xevm/types/ethtx/auth_list.go @@ -3,10 +3,10 @@ package ethtx import ( "math" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type AuthList []SetCodeAuthorization diff --git a/giga/deps/xevm/types/ethtx/blob_tx.go b/giga/deps/xevm/types/ethtx/blob_tx.go index b024fa7a89..e57f82f8e8 100644 --- a/giga/deps/xevm/types/ethtx/blob_tx.go +++ b/giga/deps/xevm/types/ethtx/blob_tx.go @@ -5,12 +5,12 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto/kzg4844" "github.com/ethereum/go-ethereum/params" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/giga/deps/xevm/types/ethtx/blob_tx_setter.go b/giga/deps/xevm/types/ethtx/blob_tx_setter.go index 7d5449cd52..a458760eb0 100644 --- a/giga/deps/xevm/types/ethtx/blob_tx_setter.go +++ b/giga/deps/xevm/types/ethtx/blob_tx_setter.go @@ -1,6 +1,6 @@ package ethtx -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" func (tx *BlobTx) SetTo(v string) { tx.To = v diff --git a/giga/deps/xevm/types/ethtx/blob_tx_test.go b/giga/deps/xevm/types/ethtx/blob_tx_test.go index 53ab9ec4ed..105dbdf4e9 100644 --- a/giga/deps/xevm/types/ethtx/blob_tx_test.go +++ b/giga/deps/xevm/types/ethtx/blob_tx_test.go @@ -5,11 +5,11 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto/kzg4844" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/types/ethtx/dynamic_fee_tx.go b/giga/deps/xevm/types/ethtx/dynamic_fee_tx.go index e118ab4566..9d67756107 100644 --- a/giga/deps/xevm/types/ethtx/dynamic_fee_tx.go +++ b/giga/deps/xevm/types/ethtx/dynamic_fee_tx.go @@ -5,9 +5,9 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func NewDynamicFeeTx(tx *ethtypes.Transaction) (*DynamicFeeTx, error) { diff --git a/giga/deps/xevm/types/ethtx/dynamic_fee_tx_setter.go b/giga/deps/xevm/types/ethtx/dynamic_fee_tx_setter.go index 2b173345f3..0fe3439c66 100644 --- a/giga/deps/xevm/types/ethtx/dynamic_fee_tx_setter.go +++ b/giga/deps/xevm/types/ethtx/dynamic_fee_tx_setter.go @@ -1,6 +1,6 @@ package ethtx -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" func (tx *DynamicFeeTx) SetTo(v string) { tx.To = v diff --git a/giga/deps/xevm/types/ethtx/dynamic_fee_tx_test.go b/giga/deps/xevm/types/ethtx/dynamic_fee_tx_test.go index 1031907f34..1186395f63 100644 --- a/giga/deps/xevm/types/ethtx/dynamic_fee_tx_test.go +++ b/giga/deps/xevm/types/ethtx/dynamic_fee_tx_test.go @@ -5,9 +5,9 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/types/ethtx/legacy_tx.go b/giga/deps/xevm/types/ethtx/legacy_tx.go index 657a9fd8e1..ede8ce4e19 100644 --- a/giga/deps/xevm/types/ethtx/legacy_tx.go +++ b/giga/deps/xevm/types/ethtx/legacy_tx.go @@ -5,9 +5,9 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/giga/deps/xevm/types/ethtx/legacy_tx_setter.go b/giga/deps/xevm/types/ethtx/legacy_tx_setter.go index a112c9af0b..7c87470c74 100644 --- a/giga/deps/xevm/types/ethtx/legacy_tx_setter.go +++ b/giga/deps/xevm/types/ethtx/legacy_tx_setter.go @@ -1,6 +1,6 @@ package ethtx -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" func (tx *LegacyTx) SetTo(v string) { tx.To = v diff --git a/giga/deps/xevm/types/ethtx/legacy_tx_test.go b/giga/deps/xevm/types/ethtx/legacy_tx_test.go index 3f784de4c3..b9fe5eeb58 100644 --- a/giga/deps/xevm/types/ethtx/legacy_tx_test.go +++ b/giga/deps/xevm/types/ethtx/legacy_tx_test.go @@ -5,9 +5,9 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/types/ethtx/set_code_tx.go b/giga/deps/xevm/types/ethtx/set_code_tx.go index 2688cdf9c3..80a579e148 100644 --- a/giga/deps/xevm/types/ethtx/set_code_tx.go +++ b/giga/deps/xevm/types/ethtx/set_code_tx.go @@ -5,10 +5,10 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func NewSetCodeTx(tx *ethtypes.Transaction) (*SetCodeTx, error) { diff --git a/giga/deps/xevm/types/ethtx/set_code_tx_setter.go b/giga/deps/xevm/types/ethtx/set_code_tx_setter.go index 38d2425ec7..928cc8ae65 100644 --- a/giga/deps/xevm/types/ethtx/set_code_tx_setter.go +++ b/giga/deps/xevm/types/ethtx/set_code_tx_setter.go @@ -1,6 +1,6 @@ package ethtx -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" func (tx *SetCodeTx) SetTo(v string) { tx.To = v diff --git a/giga/deps/xevm/types/ethtx/tx.pb.go b/giga/deps/xevm/types/ethtx/tx.pb.go index 0946b8859c..2c80cd4717 100644 --- a/giga/deps/xevm/types/ethtx/tx.pb.go +++ b/giga/deps/xevm/types/ethtx/tx.pb.go @@ -9,9 +9,9 @@ import ( math "math" math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Reference imports to suppress errors if they are not otherwise used. @@ -105,7 +105,7 @@ func (m *AssociateTx) XXX_DiscardUnknown() { var xxx_messageInfo_AssociateTx proto.InternalMessageInfo type SetCodeAuthorization struct { - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` + ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"chainID"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` // signature values @@ -149,10 +149,10 @@ var xxx_messageInfo_SetCodeAuthorization proto.InternalMessageInfo type LegacyTx struct { Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` - GasPrice *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_price,omitempty"` + GasPrice *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_price,omitempty"` GasLimit uint64 `protobuf:"varint,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` + Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // signature values V []byte `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"` @@ -194,12 +194,12 @@ func (m *LegacyTx) XXX_DiscardUnknown() { var xxx_messageInfo_LegacyTx proto.InternalMessageInfo type AccessListTx struct { - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` + ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"chainID"` Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` - GasPrice *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_price,omitempty"` + GasPrice *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_price,omitempty"` GasLimit uint64 `protobuf:"varint,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` + Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` Accesses AccessList `protobuf:"bytes,8,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` // signature values @@ -242,13 +242,13 @@ func (m *AccessListTx) XXX_DiscardUnknown() { var xxx_messageInfo_AccessListTx proto.InternalMessageInfo type SetCodeTx struct { - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` + ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"chainID"` Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` - GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_tip_cap,omitempty"` - GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_fee_cap,omitempty"` + GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_tip_cap,omitempty"` + GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_fee_cap,omitempty"` GasLimit uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` + Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` AuthList AuthList `protobuf:"bytes,10,rep,name=auth_list,json=authList,proto3,castrepeated=AuthList" json:"authList"` @@ -292,13 +292,13 @@ func (m *SetCodeTx) XXX_DiscardUnknown() { var xxx_messageInfo_SetCodeTx proto.InternalMessageInfo type DynamicFeeTx struct { - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` + ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"chainID"` Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` - GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_tip_cap,omitempty"` - GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_fee_cap,omitempty"` + GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_tip_cap,omitempty"` + GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_fee_cap,omitempty"` GasLimit uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` + Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` // signature values @@ -341,16 +341,16 @@ func (m *DynamicFeeTx) XXX_DiscardUnknown() { var xxx_messageInfo_DynamicFeeTx proto.InternalMessageInfo type BlobTx struct { - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` + ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"chainID"` Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` - GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_tip_cap,omitempty"` - GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_fee_cap,omitempty"` + GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_tip_cap,omitempty"` + GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_fee_cap,omitempty"` GasLimit uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` + Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` - BlobFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,10,opt,name=blob_fee_cap,json=blobFeeCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"blob_fee_cap,omitempty"` + BlobFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,10,opt,name=blob_fee_cap,json=blobFeeCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"blob_fee_cap,omitempty"` BlobHashes [][]byte `protobuf:"bytes,11,rep,name=blob_hashes,json=blobHashes,proto3" json:"blob_hashes,omitempty"` Sidecar *BlobTxSidecar `protobuf:"bytes,12,opt,name=sidecar,proto3" json:"sidecar,omitempty"` // signature values diff --git a/giga/deps/xevm/types/gov.go b/giga/deps/xevm/types/gov.go index 418a53064f..da9723df8a 100644 --- a/giga/deps/xevm/types/gov.go +++ b/giga/deps/xevm/types/gov.go @@ -6,9 +6,9 @@ import ( "math" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) const ( diff --git a/giga/deps/xevm/types/keys.go b/giga/deps/xevm/types/keys.go index e125b69a02..9484f929d2 100644 --- a/giga/deps/xevm/types/keys.go +++ b/giga/deps/xevm/types/keys.go @@ -5,8 +5,8 @@ import ( "encoding/binary" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/giga/deps/xevm/types/keys_test.go b/giga/deps/xevm/types/keys_test.go index e8ae21286e..20dd4b8d19 100644 --- a/giga/deps/xevm/types/keys_test.go +++ b/giga/deps/xevm/types/keys_test.go @@ -4,8 +4,8 @@ import ( "sort" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/common" "github.com/stretchr/testify/require" diff --git a/giga/deps/xevm/types/message_associate.go b/giga/deps/xevm/types/message_associate.go index 11427d70d2..5b540c8f22 100644 --- a/giga/deps/xevm/types/message_associate.go +++ b/giga/deps/xevm/types/message_associate.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const TypeMsgAssociate = "evm_associate" diff --git a/giga/deps/xevm/types/message_associate_contract_address.go b/giga/deps/xevm/types/message_associate_contract_address.go index 9f560964c7..ff9fc61ec8 100644 --- a/giga/deps/xevm/types/message_associate_contract_address.go +++ b/giga/deps/xevm/types/message_associate_contract_address.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const TypeMsgAssociateContractAddress = "evm_associate_contract_address" diff --git a/giga/deps/xevm/types/message_claim.go b/giga/deps/xevm/types/message_claim.go index f3f90351fb..c56949811d 100644 --- a/giga/deps/xevm/types/message_claim.go +++ b/giga/deps/xevm/types/message_claim.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const TypeMsgClaim = "evm_claim" diff --git a/giga/deps/xevm/types/message_claim_specific.go b/giga/deps/xevm/types/message_claim_specific.go index 19a19e7a7a..e5ae95e89c 100644 --- a/giga/deps/xevm/types/message_claim_specific.go +++ b/giga/deps/xevm/types/message_claim_specific.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/giga/deps/xevm/types/message_claim_test.go b/giga/deps/xevm/types/message_claim_test.go index 5633bf7fcd..4efaa03f2b 100644 --- a/giga/deps/xevm/types/message_claim_test.go +++ b/giga/deps/xevm/types/message_claim_test.go @@ -3,9 +3,9 @@ package types_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/giga/deps/xevm/types/message_evm_transaction.go b/giga/deps/xevm/types/message_evm_transaction.go index 5ab6f333c7..498478df50 100644 --- a/giga/deps/xevm/types/message_evm_transaction.go +++ b/giga/deps/xevm/types/message_evm_transaction.go @@ -1,12 +1,12 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/gogo/protobuf/proto" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types/ethtx" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const TypeMsgEVMTransaction = "evm_transaction" diff --git a/giga/deps/xevm/types/message_evm_transaction_test.go b/giga/deps/xevm/types/message_evm_transaction_test.go index f64847af4b..43c69688c1 100644 --- a/giga/deps/xevm/types/message_evm_transaction_test.go +++ b/giga/deps/xevm/types/message_evm_transaction_test.go @@ -5,11 +5,11 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/app" testkeeper "github.com/sei-protocol/sei-chain/giga/deps/testutil/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" "github.com/ethereum/go-ethereum/common" diff --git a/giga/deps/xevm/types/message_internal_evm_call.go b/giga/deps/xevm/types/message_internal_evm_call.go index 83e33eb7c5..1122339db5 100644 --- a/giga/deps/xevm/types/message_internal_evm_call.go +++ b/giga/deps/xevm/types/message_internal_evm_call.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/giga/deps/xevm/types/message_internal_evm_delegate_call.go b/giga/deps/xevm/types/message_internal_evm_delegate_call.go index c38cb60423..38e89b20af 100644 --- a/giga/deps/xevm/types/message_internal_evm_delegate_call.go +++ b/giga/deps/xevm/types/message_internal_evm_delegate_call.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/giga/deps/xevm/types/message_register_pointer.go b/giga/deps/xevm/types/message_register_pointer.go index 84fb7331fc..962410c36a 100644 --- a/giga/deps/xevm/types/message_register_pointer.go +++ b/giga/deps/xevm/types/message_register_pointer.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const TypeMsgRegisterPointer = "evm_register_pointer" diff --git a/giga/deps/xevm/types/message_send.go b/giga/deps/xevm/types/message_send.go index d1f37e5377..af7bb305d2 100644 --- a/giga/deps/xevm/types/message_send.go +++ b/giga/deps/xevm/types/message_send.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const TypeMsgSend = "evm_send" diff --git a/giga/deps/xevm/types/message_send_test.go b/giga/deps/xevm/types/message_send_test.go index e00e3d8413..2af1504314 100644 --- a/giga/deps/xevm/types/message_send_test.go +++ b/giga/deps/xevm/types/message_send_test.go @@ -3,8 +3,8 @@ package types_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" "github.com/stretchr/testify/require" diff --git a/giga/deps/xevm/types/params.go b/giga/deps/xevm/types/params.go index c7eedbec32..b6519c1186 100644 --- a/giga/deps/xevm/types/params.go +++ b/giga/deps/xevm/types/params.go @@ -4,8 +4,8 @@ import ( "errors" fmt "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "gopkg.in/yaml.v2" ) diff --git a/giga/deps/xevm/types/params.pb.go b/giga/deps/xevm/types/params.pb.go index 525b708fa3..bbb27ad2d3 100644 --- a/giga/deps/xevm/types/params.pb.go +++ b/giga/deps/xevm/types/params.pb.go @@ -9,9 +9,9 @@ import ( math "math" math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Reference imports to suppress errors if they are not otherwise used. @@ -31,13 +31,13 @@ type Params struct { // (gogoproto.moretags) = "yaml:\"base_denom\"", // (gogoproto.jsontag) = "base_denom" // ]; - PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` - BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` - MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` + PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` + BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` + MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // ]; @@ -47,10 +47,10 @@ type Params struct { // ]; WhitelistedCwCodeHashesForDelegateCall [][]byte `protobuf:"bytes,8,rep,name=whitelisted_cw_code_hashes_for_delegate_call,json=whitelistedCwCodeHashesForDelegateCall,proto3" json:"whitelisted_cw_code_hashes_for_delegate_call" yaml:"whitelisted_cw_code_hashes_for_delegate_call"` DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,9,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` - MaxDynamicBaseFeeUpwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` - MaxDynamicBaseFeeDownwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` + MaxDynamicBaseFeeUpwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` + MaxDynamicBaseFeeDownwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` TargetGasUsedPerBlock uint64 `protobuf:"varint,12,opt,name=target_gas_used_per_block,json=targetGasUsedPerBlock,proto3" json:"target_gas_used_per_block,omitempty"` - MaximumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=maximum_fee_per_gas,json=maximumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maximum_fee_per_gas" yaml:"maximum_fee_per_gas"` + MaximumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=maximum_fee_per_gas,json=maximumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"maximum_fee_per_gas" yaml:"maximum_fee_per_gas"` RegisterPointerDisabled bool `protobuf:"varint,14,opt,name=register_pointer_disabled,json=registerPointerDisabled,proto3" json:"register_pointer_disabled" yaml:"register_pointer_disabled"` SeiSstoreSetGasEip2200 uint64 `protobuf:"varint,15,opt,name=sei_sstore_set_gas_eip2200,json=seiSstoreSetGasEip2200,proto3" json:"sei_sstore_set_gas_eip2200,omitempty"` } @@ -129,14 +129,14 @@ type ParamsPreV580 struct { // (gogoproto.jsontag) = "base_denom" // // ]; - PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` - BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` - MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` + PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` + BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` + MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // @@ -196,15 +196,15 @@ type ParamsPreV600 struct { // (gogoproto.jsontag) = "base_denom" // // ]; - PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` - BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` - MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` + PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` + BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` + MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,5,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // @@ -271,14 +271,14 @@ type ParamsPreV601 struct { // (gogoproto.jsontag) = "base_denom" // // ]; - PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` - BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` - MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` + PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` + BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` + MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // @@ -291,8 +291,8 @@ type ParamsPreV601 struct { // ]; WhitelistedCwCodeHashesForDelegateCall [][]byte `protobuf:"bytes,8,rep,name=whitelisted_cw_code_hashes_for_delegate_call,json=whitelistedCwCodeHashesForDelegateCall,proto3" json:"whitelisted_cw_code_hashes_for_delegate_call" yaml:"whitelisted_cw_code_hashes_for_delegate_call"` DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,9,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` - MaxDynamicBaseFeeUpwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` - MaxDynamicBaseFeeDownwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` + MaxDynamicBaseFeeUpwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` + MaxDynamicBaseFeeDownwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` TargetGasUsedPerBlock uint64 `protobuf:"varint,12,opt,name=target_gas_used_per_block,json=targetGasUsedPerBlock,proto3" json:"target_gas_used_per_block,omitempty"` } @@ -356,14 +356,14 @@ type ParamsPreV606 struct { // (gogoproto.jsontag) = "base_denom" // // ]; - PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` - BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` - MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` + PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` + BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` + MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // @@ -376,10 +376,10 @@ type ParamsPreV606 struct { // ]; WhitelistedCwCodeHashesForDelegateCall [][]byte `protobuf:"bytes,8,rep,name=whitelisted_cw_code_hashes_for_delegate_call,json=whitelistedCwCodeHashesForDelegateCall,proto3" json:"whitelisted_cw_code_hashes_for_delegate_call" yaml:"whitelisted_cw_code_hashes_for_delegate_call"` DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,9,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` - MaxDynamicBaseFeeUpwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` - MaxDynamicBaseFeeDownwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` + MaxDynamicBaseFeeUpwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` + MaxDynamicBaseFeeDownwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` TargetGasUsedPerBlock uint64 `protobuf:"varint,12,opt,name=target_gas_used_per_block,json=targetGasUsedPerBlock,proto3" json:"target_gas_used_per_block,omitempty"` - MaximumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=maximum_fee_per_gas,json=maximumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maximum_fee_per_gas" yaml:"maximum_fee_per_gas"` + MaximumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=maximum_fee_per_gas,json=maximumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"maximum_fee_per_gas" yaml:"maximum_fee_per_gas"` } func (m *ParamsPreV606) Reset() { *m = ParamsPreV606{} } diff --git a/giga/deps/xevm/types/params_test.go b/giga/deps/xevm/types/params_test.go index 70c8878b98..181ed3d3fc 100644 --- a/giga/deps/xevm/types/params_test.go +++ b/giga/deps/xevm/types/params_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/giga/deps/xevm/types" "github.com/stretchr/testify/require" diff --git a/giga/deps/xevm/types/tx.pb.go b/giga/deps/xevm/types/tx.pb.go index 96460d7c96..7f54b05366 100644 --- a/giga/deps/xevm/types/tx.pb.go +++ b/giga/deps/xevm/types/tx.pb.go @@ -10,13 +10,13 @@ import ( math "math" math_bits "math/bits" - types "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" github_com_sei_protocol_sei_chain_x_evm_derived "github.com/sei-protocol/sei-chain/giga/deps/xevm/derived" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + github_com_cosmos_cosmos_sdk_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -156,7 +156,7 @@ func (m *MsgEVMTransactionResponse) GetLogs() []*Log { type MsgInternalEVMCall struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` - Value *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` + Value *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` } @@ -368,7 +368,7 @@ var xxx_messageInfo_MsgInternalEVMDelegateCallResponse proto.InternalMessageInfo type MsgSend struct { FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"amount"` } func (m *MsgSend) Reset() { *m = MsgSend{} } diff --git a/giga/deps/xevm/types/types.pb.go b/giga/deps/xevm/types/types.pb.go index 565065b16a..07d163edab 100644 --- a/giga/deps/xevm/types/types.pb.go +++ b/giga/deps/xevm/types/types.pb.go @@ -9,9 +9,9 @@ import ( math "math" math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_cosmos_cosmos_sdk_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Reference imports to suppress errors if they are not otherwise used. @@ -73,7 +73,7 @@ type DeferredInfo struct { TxIndex uint32 `protobuf:"varint,1,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` TxBloom []byte `protobuf:"bytes,3,opt,name=tx_bloom,json=txBloom,proto3" json:"tx_bloom,omitempty"` - Surplus github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=surplus,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"surplus"` + Surplus github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=surplus,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"surplus"` Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` } diff --git a/giga/executor/config/config.go b/giga/executor/config/config.go index 99b4b1f6fe..377c6ef142 100644 --- a/giga/executor/config/config.go +++ b/giga/executor/config/config.go @@ -1,7 +1,7 @@ package config import ( - servertypes "github.com/cosmos/cosmos-sdk/server/types" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" "github.com/spf13/cast" ) diff --git a/giga/tests/giga_test.go b/giga/tests/giga_test.go index ad349007fd..40da37ae8a 100644 --- a/giga/tests/giga_test.go +++ b/giga/tests/giga_test.go @@ -10,13 +10,13 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/occ_tests/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/sei-protocol/sei-chain/x/evm/config" diff --git a/giga/tests/harness/builder.go b/giga/tests/harness/builder.go index aabdf6ae65..447534ad6d 100644 --- a/giga/tests/harness/builder.go +++ b/giga/tests/harness/builder.go @@ -5,11 +5,11 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/config" "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/sei-protocol/sei-chain/x/evm/types/ethtx" diff --git a/giga/tests/state_harness_test.go b/giga/tests/state_harness_test.go index f0885fd59c..049a9df769 100644 --- a/giga/tests/state_harness_test.go +++ b/giga/tests/state_harness_test.go @@ -9,13 +9,13 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/giga/tests/harness" "github.com/sei-protocol/sei-chain/occ_tests/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/go.mod b/go.mod index 50eae85241..5e0e6b1ac5 100644 --- a/go.mod +++ b/go.mod @@ -3,29 +3,35 @@ module github.com/sei-protocol/sei-chain go 1.25.6 require ( + cosmossdk.io/errors v1.0.2 + github.com/99designs/keyring v1.2.1 github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c github.com/adlio/schema v1.3.9 github.com/alitto/pond v1.8.3 github.com/armon/go-metrics v0.4.1 github.com/aws/aws-sdk-go v1.44.327 github.com/benbjohnson/immutable v0.4.3 + github.com/bgentry/speakeasy v0.2.0 github.com/btcsuite/btcd/btcec/v2 v2.3.5 github.com/cockroachdb/pebble/v2 v2.1.3 + github.com/coinbase/rosetta-sdk-go v0.7.0 github.com/confio/ics23/go v0.9.0 - github.com/cosmos/cosmos-sdk v0.45.10 + github.com/cosmos/btcutil v1.0.5 github.com/cosmos/go-bip39 v1.0.0 + github.com/cosmos/ledger-cosmos-go v1.0.0 github.com/creachadair/atomicfile v0.4.0 github.com/creachadair/taskgroup v0.3.2 github.com/creachadair/tomledit v0.0.29 github.com/duckdb/duckdb-go/v2 v2.5.3 - github.com/dvsekhvalnov/jose2go v1.5.0 + github.com/dvsekhvalnov/jose2go v1.7.0 github.com/ethereum/evmc/v12 v12.1.0 github.com/ethereum/go-ethereum v1.16.8 github.com/fortytw2/leaktest v1.3.0 - github.com/go-kit/kit v0.12.0 + github.com/go-kit/kit v0.13.0 github.com/go-kit/log v0.2.1 - github.com/go-logfmt/logfmt v0.5.1 + github.com/go-logfmt/logfmt v0.6.0 github.com/go-playground/validator/v10 v10.11.1 + github.com/gogo/gateway v1.1.0 github.com/gogo/protobuf v1.3.3 github.com/golang-jwt/jwt/v4 v4.5.1 github.com/golang/mock v1.7.0-rc.1 @@ -36,22 +42,28 @@ require ( github.com/google/gofuzz v1.2.0 github.com/google/orderedcode v0.0.1 github.com/google/uuid v1.6.0 - github.com/gorilla/mux v1.8.0 - github.com/gorilla/websocket v1.5.0 + github.com/gorilla/handlers v1.5.2 + github.com/gorilla/mux v1.8.1 + github.com/gorilla/websocket v1.5.3 github.com/grafana/pyroscope-go/godeltaprof v0.1.8 - github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 + github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/hashicorp/golang-lru/v2 v2.0.7 + github.com/hdevalence/ed25519consensus v0.2.0 github.com/holiman/uint256 v1.3.2 + github.com/improbable-eng/grpc-web v0.15.0 + github.com/jhump/protoreflect v1.18.0 github.com/justinas/alice v1.2.0 github.com/ledgerwatch/erigon-lib v0.0.0-20230210071639-db0e7ed11263 - github.com/lib/pq v1.10.7 + github.com/lib/pq v1.10.9 github.com/libp2p/go-buffer-pool v0.1.0 github.com/linxGnu/grocksdb v1.8.11 + github.com/magiconair/properties v1.8.10 + github.com/mattn/go-isatty v0.0.20 github.com/mitchellh/mapstructure v1.5.0 github.com/mroth/weightedrand v1.0.0 - github.com/oasisprotocol/curve25519-voi v0.0.0-20210609091139-0a56a4bca00b + github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a github.com/ory/dockertest v3.3.5+incompatible github.com/parquet-go/parquet-go v0.25.1 github.com/patrickmn/go-cache v2.1.0+incompatible @@ -61,25 +73,29 @@ require ( github.com/prometheus/common v0.66.1 github.com/rakyll/statik v0.1.7 github.com/rs/cors v1.11.1 - github.com/rs/zerolog v1.33.0 - github.com/sasha-s/go-deadlock v0.3.1 + github.com/rs/zerolog v1.34.0 + github.com/sasha-s/go-deadlock v0.3.5 github.com/sei-protocol/goutils v0.0.2 github.com/sei-protocol/sei-load v0.0.0-20251007135253-78fbdc141082 + github.com/sei-protocol/sei-tm-db v0.0.5 github.com/sirkon/goproxy v1.4.8 github.com/snikch/goodman v0.0.0-20171125024755-10e37e294daa - github.com/spf13/cast v1.9.2 + github.com/spf13/cast v1.10.0 github.com/spf13/cobra v1.10.2 - github.com/spf13/pflag v1.0.9 - github.com/spf13/viper v1.20.1 + github.com/spf13/pflag v1.0.10 + github.com/spf13/viper v1.21.0 github.com/stretchr/testify v1.11.1 github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d + github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 + github.com/tendermint/go-amino v0.16.0 github.com/tendermint/tm-db v0.6.8-0.20220519162814-e24b96538a12 - github.com/tidwall/btree v1.6.0 + github.com/tidwall/btree v1.7.0 github.com/tidwall/gjson v1.14.2 github.com/tidwall/wal v1.2.1 github.com/zbiljic/go-filelock v0.0.0-20170914061330-1dbf7103ab7d github.com/zeebo/blake3 v0.2.4 go.opentelemetry.io/otel v1.39.0 + go.opentelemetry.io/otel/exporters/jaeger v1.9.0 go.opentelemetry.io/otel/exporters/prometheus v0.60.0 go.opentelemetry.io/otel/metric v1.39.0 go.opentelemetry.io/otel/sdk v1.39.0 @@ -91,7 +107,7 @@ require ( golang.org/x/sync v0.19.0 golang.org/x/sys v0.40.0 golang.org/x/time v0.13.0 - google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 + google.golang.org/genproto/googleapis/api v0.0.0-20250707201910-8d1bb00bc6a7 google.golang.org/grpc v1.75.0 google.golang.org/protobuf v1.36.11 gopkg.in/yaml.v2 v2.4.0 @@ -111,10 +127,7 @@ require ( require ( 4d63.com/gochecknoglobals v0.1.0 // indirect - cosmossdk.io/errors v1.0.0 // indirect - filippo.io/edwards25519 v1.0.0-rc.1 // indirect - github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect - github.com/99designs/keyring v1.2.1 // indirect + filippo.io/edwards25519 v1.1.0 // indirect github.com/Abirdcfly/dupword v0.0.7 // indirect github.com/Antonboom/errname v0.1.7 // indirect github.com/Antonboom/nilnil v0.1.1 // indirect @@ -136,8 +149,7 @@ require ( github.com/ashanbrown/forbidigo v1.3.0 // indirect github.com/ashanbrown/makezero v1.1.1 // indirect github.com/beorn7/perks v1.0.1 // indirect - github.com/bgentry/speakeasy v0.1.0 // indirect - github.com/bits-and-blooms/bitset v1.22.0 // indirect + github.com/bits-and-blooms/bitset v1.24.3 // indirect github.com/bkielbasa/cyclop v1.2.0 // indirect github.com/blizzy78/varnamelen v0.8.0 // indirect github.com/bombsimon/wsl/v3 v3.3.0 // indirect @@ -145,24 +157,22 @@ require ( github.com/breml/errchkjson v0.3.0 // indirect github.com/butuzov/ireturn v0.1.1 // indirect github.com/cenkalti/backoff v2.2.1+incompatible // indirect + github.com/cenkalti/backoff/v4 v4.3.0 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/charithe/durationcheck v0.0.9 // indirect github.com/chavacava/garif v0.0.0-20220630083739-93517212f375 // indirect github.com/cockroachdb/crlib v0.0.0-20241112164430-1264a2edc35b // indirect - github.com/cockroachdb/errors v1.11.3 // indirect + github.com/cockroachdb/errors v1.12.0 // indirect github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect - github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect - github.com/cockroachdb/pebble v1.1.2 // indirect - github.com/cockroachdb/redact v1.1.5 // indirect + github.com/cockroachdb/logtags v0.0.0-20241215232642-bb51bb14a506 // indirect + github.com/cockroachdb/pebble v1.1.5 // indirect + github.com/cockroachdb/redact v1.1.6 // indirect github.com/cockroachdb/swiss v0.0.0-20251224182025-b0f6560f979b // indirect github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect - github.com/coinbase/rosetta-sdk-go v0.7.0 // indirect github.com/consensys/gnark-crypto v0.18.0 // indirect github.com/containerd/continuity v0.3.0 // indirect - github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/gorocksdb v1.2.0 // indirect - github.com/cosmos/ledger-cosmos-go v1.0.0 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect github.com/crate-crypto/go-kzg-4844 v1.1.0 // indirect @@ -177,8 +187,9 @@ require ( github.com/dgraph-io/badger/v3 v3.2103.2 // indirect github.com/dgraph-io/ristretto v0.2.0 // indirect github.com/dlclark/regexp2 v1.7.0 // indirect + github.com/docker/cli v24.0.7+incompatible // indirect github.com/docker/go-connections v0.4.0 // indirect - github.com/docker/go-units v0.4.0 // indirect + github.com/docker/go-units v0.5.0 // indirect github.com/dop251/goja v0.0.0-20230605162241-28ee0ee714f3 // indirect github.com/duckdb/duckdb-go-bindings v0.1.23 // indirect github.com/duckdb/duckdb-go-bindings/darwin-amd64 v0.1.23 // indirect @@ -220,7 +231,6 @@ require ( github.com/goccy/go-json v0.10.5 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gofrs/flock v0.13.0 // indirect - github.com/gogo/gateway v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect github.com/golang/snappy v1.0.0 // indirect github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 // indirect @@ -235,7 +245,6 @@ require ( github.com/google/flatbuffers v25.2.10+incompatible // indirect github.com/google/pprof v0.0.0-20230207041349-798e818bf904 // indirect github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8 // indirect - github.com/gorilla/handlers v1.5.1 // indirect github.com/gostaticanalysis/analysisutil v0.7.1 // indirect github.com/gostaticanalysis/comment v1.4.2 // indirect github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect @@ -248,21 +257,21 @@ require ( github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-version v1.7.0 // indirect - github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect - github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3 // indirect + github.com/hashicorp/golang-lru v1.0.2 // indirect github.com/hexops/gotextdiff v1.0.3 // indirect github.com/holiman/billy v0.0.0-20240216141850-2abb0c79d3c4 // indirect github.com/holiman/bloomfilter/v2 v2.0.3 // indirect github.com/huin/goupnp v1.3.0 // indirect - github.com/improbable-eng/grpc-web v0.14.1 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jackpal/go-nat-pmp v1.0.2 // indirect github.com/jgautheron/goconst v1.5.1 // indirect + github.com/jhump/protoreflect/v2 v2.0.0-beta.1 // indirect github.com/jingyugao/rowserrcheck v1.1.1 // indirect github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/jmhodges/levigo v1.0.0 // indirect github.com/julz/importas v0.1.0 // indirect + github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d // indirect github.com/kisielk/errcheck v1.6.2 // indirect github.com/kisielk/gotool v1.0.0 // indirect github.com/kkHAIKE/contextcheck v1.1.3 // indirect @@ -282,7 +291,6 @@ require ( github.com/maratori/testpackage v1.1.0 // indirect github.com/matoous/godox v0.0.0-20210227103229-6504466cf951 // indirect github.com/mattn/go-colorable v0.1.14 // indirect - github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.16 // indirect github.com/mbilski/exhaustivestruct v1.2.0 // indirect github.com/mgechev/revive v1.2.4 // indirect @@ -296,12 +304,13 @@ require ( github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 // indirect github.com/nishanths/exhaustive v0.8.3 // indirect github.com/nishanths/predeclared v0.2.2 // indirect + github.com/nxadm/tail v1.4.11 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect - github.com/opencontainers/image-spec v1.0.2 // indirect + github.com/opencontainers/image-spec v1.1.0-rc2 // indirect github.com/opencontainers/runc v1.1.14 // indirect github.com/pelletier/go-toml/v2 v2.2.4 // indirect - github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect + github.com/petermattis/goid v0.0.0-20260113132338-7c7de50cc741 // indirect github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d // indirect github.com/pierrec/lz4/v4 v4.1.22 // indirect github.com/pion/dtls/v2 v2.2.7 // indirect @@ -314,16 +323,15 @@ require ( github.com/prometheus/otlptranslator v0.0.2 // indirect github.com/prometheus/procfs v0.17.0 // indirect github.com/rogpeppe/go-internal v1.14.1 // indirect - github.com/rs/xid v1.5.0 // indirect + github.com/rs/xid v1.6.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/ryancurrah/gomodguard v1.2.4 // indirect github.com/ryanrolds/sqlclosecheck v0.3.0 // indirect - github.com/sagikazarmark/locafero v0.9.0 // indirect + github.com/sagikazarmark/locafero v0.11.0 // indirect github.com/sanposhiho/wastedassign/v2 v2.0.6 // indirect github.com/sashamelentyev/interfacebloat v1.1.0 // indirect github.com/sashamelentyev/usestdlibvars v1.20.0 // indirect github.com/securego/gosec/v2 v2.13.1 // indirect - github.com/sei-protocol/sei-tm-db v0.0.5 // indirect github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect github.com/shirou/gopsutil v3.21.11+incompatible // indirect github.com/sirupsen/logrus v1.9.3 // indirect @@ -331,17 +339,15 @@ require ( github.com/sivchari/nosnakecase v1.7.0 // indirect github.com/sivchari/tenv v1.7.0 // indirect github.com/sonatard/noctx v0.0.1 // indirect - github.com/sourcegraph/conc v0.3.0 // indirect + github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect github.com/sourcegraph/go-diff v0.6.1 // indirect - github.com/spf13/afero v1.14.0 // indirect + github.com/spf13/afero v1.15.0 // indirect github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect github.com/stretchr/objx v0.5.2 // indirect github.com/subosito/gotenv v1.6.0 // indirect github.com/supranational/blst v0.3.16-0.20250831170142-f48500c1fdbe // indirect github.com/tdakkota/asciicheck v0.1.1 // indirect - github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect - github.com/tendermint/go-amino v0.16.0 // indirect github.com/tetafro/godot v1.4.11 // indirect github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.0 // indirect @@ -365,13 +371,13 @@ require ( github.com/zondax/hid v0.9.2 // indirect github.com/zondax/ledger-go v1.0.1 // indirect gitlab.com/bosi/decorder v0.2.3 // indirect - go.etcd.io/bbolt v1.3.7 // indirect + go.etcd.io/bbolt v1.4.0-alpha.0.0.20240404170359-43604f3112c5 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/otel/exporters/jaeger v1.9.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.27.0 // indirect go.yaml.in/yaml/v2 v2.4.3 // indirect + go.yaml.in/yaml/v3 v3.0.4 // indirect golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678 // indirect golang.org/x/mod v0.32.0 // indirect golang.org/x/telemetry v0.0.0-20260109210033-bd525da824e2 // indirect @@ -392,15 +398,18 @@ require ( ) replace ( + github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 github.com/btcsuite/btcd => github.com/btcsuite/btcd v0.23.2 github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0 - github.com/cosmos/cosmos-sdk => ./sei-cosmos github.com/ethereum/go-ethereum => github.com/sei-protocol/go-ethereum v1.15.7-sei-16 + github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.7.0 github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/keybase/go-keychain => github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d // Latest goleveldb is broken, we have to stick to this version github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 github.com/tendermint/tm-db => github.com/sei-protocol/tm-db v0.0.4 golang.org/x/crypto => golang.org/x/crypto v0.31.0 - google.golang.org/grpc => google.golang.org/grpc v1.46.2 + // The earliest version supporting reflection needed by cosmos; see: + // - https://github.com/grpc/grpc-go/releases/tag/v1.57.0 + google.golang.org/grpc => google.golang.org/grpc v1.57.1 ) diff --git a/go.sum b/go.sum index 2c31401c25..7aae2ae68e 100644 --- a/go.sum +++ b/go.sum @@ -172,6 +172,7 @@ cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARy cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvjxega5vAdo= cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= +cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= @@ -593,17 +594,13 @@ cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoIS cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M= cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA= cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw= -cosmossdk.io/errors v1.0.0 h1:nxF07lmlBbB8NKQhtJ+sJm6ef5uV1XkvPXG2bUntb04= -cosmossdk.io/errors v1.0.0/go.mod h1:+hJZLuhdDE0pYN8HkOrVNwrIOYvUGnn6+4fjnJs/oV0= +cosmossdk.io/errors v1.0.2 h1:wcYiJz08HThbWxd/L4jObeLaLySopyyuUFB5w4AGpCo= +cosmossdk.io/errors v1.0.2/go.mod h1:0rjgiHkftRYPj//3DrD6y8hcm40HcPv/dR4R/4efr0k= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -filippo.io/edwards25519 v1.0.0-rc.1 h1:m0VOOB23frXZvAOK44usCgLWvtsxIoMCTBGJZlpmGfU= -filippo.io/edwards25519 v1.0.0-rc.1/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= +filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= +filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= -github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs= -github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4= -github.com/99designs/keyring v1.2.1 h1:tYLp1ULvO7i3fI5vE21ReQuj99QFSs7lGm0xWyJo87o= -github.com/99designs/keyring v1.2.1/go.mod h1:fc+wB5KTk9wQ9sDx0kFXB3A0MaeGHM9AwRStKOQ5vOA= github.com/Abirdcfly/dupword v0.0.7 h1:z14n0yytA3wNO2gpCD/jVtp/acEXPGmYu0esewpBt6Q= github.com/Abirdcfly/dupword v0.0.7/go.mod h1:K/4M1kj+Zh39d2aotRwypvasonOyAMH1c/IZJzE0dmk= github.com/Antonboom/errname v0.1.7 h1:mBBDKvEYwPl4WFFNwec1CZO096G6vzK9vvDQzAwkako= @@ -744,19 +741,21 @@ github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.3/go.mod h1:a7bHA82fyUXOm+ZSW github.com/aws/aws-sdk-go-v2/service/sts v1.23.2/go.mod h1:Eows6e1uQEsc4ZaHANmsPRzAKcVDrcmjjWiih2+HUUQ= github.com/aws/smithy-go v1.15.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= +github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/benbjohnson/immutable v0.4.3 h1:GYHcksoJ9K6HyAUpGxwZURrbTkXA0Dh4otXGqbhdrjA= github.com/benbjohnson/immutable v0.4.3/go.mod h1:qJIKKSmdqz1tVzNtst1DZzvaqOU1onk1rc03IeM3Owk= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/bgentry/speakeasy v0.2.0 h1:tgObeVOf8WAvtuAX6DhJ4xks4CFNwPDZiqzGqIHE51E= +github.com/bgentry/speakeasy v0.2.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/bits-and-blooms/bitset v1.7.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= github.com/bits-and-blooms/bitset v1.14.2/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= github.com/bits-and-blooms/bitset v1.17.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= -github.com/bits-and-blooms/bitset v1.22.0 h1:Tquv9S8+SGaS3EhyA+up3FXzmkhxPGjQQCkcs2uw7w4= -github.com/bits-and-blooms/bitset v1.22.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= +github.com/bits-and-blooms/bitset v1.24.3 h1:Bte86SlO3lwPQqww+7BE9ZuUCKIjfqnG5jtEyqA9y9Y= +github.com/bits-and-blooms/bitset v1.24.3/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= github.com/bkielbasa/cyclop v1.2.0 h1:7Jmnh0yL2DjKfw28p86YTd/B4lRGcNuu12sKE35sM7A= github.com/bkielbasa/cyclop v1.2.0/go.mod h1:qOI0yy6A7dYC4Zgsa72Ppm9kONl0RoIlPbzot9mhmeI= @@ -787,11 +786,14 @@ github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+q github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY= github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= +github.com/bufbuild/protocompile v0.14.1 h1:iA73zAf/fyljNjQKwYzUHD6AD4R8KMasmwa/FBatYVw= +github.com/bufbuild/protocompile v0.14.1/go.mod h1:ppVdAIhbr2H8asPk6k4pY7t9zB1OU5DoEw9xY/FUi1c= github.com/butuzov/ireturn v0.1.1 h1:QvrO2QF2+/Cx1WA/vETCIYBKtRjc30vesdoPUNo1EbY= github.com/butuzov/ireturn v0.1.1/go.mod h1:Wh6Zl3IMtTpaIKbmwzqi6olnM9ptYQxxVacMsOEFPoc= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= @@ -828,6 +830,7 @@ github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/crlib v0.0.0-20241112164430-1264a2edc35b h1:SHlYZ/bMx7frnmeqCu+xm0TCxXLzX3jQIVuFbnFGtFU= github.com/cockroachdb/crlib v0.0.0-20241112164430-1264a2edc35b/go.mod h1:Gq51ZeKaFCXk6QwuGM0w1dnaOqc/F5zKT2zA9D6Xeac= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= @@ -835,20 +838,24 @@ github.com/cockroachdb/datadriven v1.0.2/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSU github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU= github.com/cockroachdb/datadriven v1.0.3-0.20250407164829-2945557346d5 h1:UycK/E0TkisVrQbSoxvU827FwgBBcZ95nRRmpj/12QI= github.com/cockroachdb/datadriven v1.0.3-0.20250407164829-2945557346d5/go.mod h1:jsaKMvD3RBCATk1/jbUZM8C9idWBJME9+VRZ5+Liq1g= -github.com/cockroachdb/errors v1.11.3 h1:5bA+k2Y6r+oz/6Z/RFlNeVCesGARKuC6YymtcDrbC/I= github.com/cockroachdb/errors v1.11.3/go.mod h1:m4UIW4CDjx+R5cybPsNrRbreomiFqt8o1h1wUVazSd8= +github.com/cockroachdb/errors v1.12.0 h1:d7oCs6vuIMUQRVbi6jWWWEJZahLCfJpnJSVobd1/sUo= +github.com/cockroachdb/errors v1.12.0/go.mod h1:SvzfYNNBshAVbZ8wzNc/UPK3w1vf0dKDUP41ucAIf7g= github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce h1:giXvy4KSc/6g/esnpM7Geqxka4WSqI1SZc7sMJFd3y4= github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce/go.mod h1:9/y3cnZ5GKakj/H4y9r9GTjCvAFta7KLgSHPJJYc52M= -github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs= +github.com/cockroachdb/logtags v0.0.0-20241215232642-bb51bb14a506 h1:ASDL+UJcILMqgNeV5jiqR4j+sTuvQNHdf2chuKj1M5k= +github.com/cockroachdb/logtags v0.0.0-20241215232642-bb51bb14a506/go.mod h1:Mw7HqKr2kdtu6aYGn3tPmAftiP3QPX63LdK/zcariIo= github.com/cockroachdb/metamorphic v0.0.0-20231108215700-4ba948b56895 h1:XANOgPYtvELQ/h4IrmPAohXqe2pWA8Bwhejr3VQoZsA= github.com/cockroachdb/metamorphic v0.0.0-20231108215700-4ba948b56895/go.mod h1:aPd7gM9ov9M8v32Yy5NJrDyOcD8z642dqs+F0CeNXfA= -github.com/cockroachdb/pebble v1.1.2 h1:CUh2IPtR4swHlEj48Rhfzw6l/d0qA31fItcIszQVIsA= github.com/cockroachdb/pebble v1.1.2/go.mod h1:4exszw1r40423ZsmkG/09AFEG83I0uDgfujJdbL6kYU= +github.com/cockroachdb/pebble v1.1.5 h1:5AAWCBWbat0uE0blr8qzufZP5tBjkRyy/jWe1QWLnvw= +github.com/cockroachdb/pebble v1.1.5/go.mod h1:17wO9el1YEigxkP/YtV8NtCivQDgoCyBg5c4VR/eOWo= github.com/cockroachdb/pebble/v2 v2.1.3 h1:irU503OnjRoJBrkZQIJvwv9c4WvpUeOJxhRApojB8D8= github.com/cockroachdb/pebble/v2 v2.1.3/go.mod h1:B1UgWsyR+L+UvZXNgpxw+WqsUKA8VQ/bb//FXOHghB8= -github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwPJ30= github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= +github.com/cockroachdb/redact v1.1.6 h1:zXJBwDZ84xJNlHl1rMyCojqyIxv+7YUpQiJLQ7n4314= +github.com/cockroachdb/redact v1.1.6/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= github.com/cockroachdb/swiss v0.0.0-20251224182025-b0f6560f979b h1:VXvSNzmr8hMj8XTuY0PT9Ane9qZGul/p67vGYwl9BFI= github.com/cockroachdb/swiss v0.0.0-20251224182025-b0f6560f979b/go.mod h1:yBRu/cnL4ks9bgy4vAASdjIW+/xMlFwuHKqtmh3GZQg= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= @@ -885,6 +892,8 @@ github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y= github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= +github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 h1:DdzS1m6o/pCqeZ8VOAit/gyATedRgjvkVI+UCrLpyuU= +github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76/go.mod h1:0mkLWIoZuQ7uBoospo5Q9zIpqq6rYCPJDSUdeCJvPM8= github.com/cosmos/ledger-cosmos-go v1.0.0 h1:jNKW89nPf0vR0EkjHG8Zz16h6p3zqwYEOxlHArwgYtw= github.com/cosmos/ledger-cosmos-go v1.0.0/go.mod h1:mGaw2wDOf+Z6SfRJsMGxU9DIrBa4du0MAiPlpPhLAOE= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= @@ -917,6 +926,7 @@ github.com/curioswitch/go-reassign v0.2.0/go.mod h1:x6OpXuWvgfQaMGks2BZybTngWjT8 github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= github.com/daixiang0/gci v0.8.1 h1:T4xpSC+hmsi4CSyuYfIJdMZAr9o7xZmHpQVygMghGZ4= github.com/daixiang0/gci v0.8.1/go.mod h1:EpVfrztufwVgQRXjnX4zuNinEpLj5OmMjtu/+MB0V0c= +github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U= github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -961,14 +971,14 @@ github.com/dlclark/regexp2 v1.7.0 h1:7lJfhqlPssTb1WQx4yvTHN0uElPEv52sbaECrAQxjAo github.com/dlclark/regexp2 v1.7.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= -github.com/docker/cli v20.10.17+incompatible h1:eO2KS7ZFeov5UJeaDmIs1NFEDRf32PaqRpvoEkKBy5M= -github.com/docker/cli v20.10.17+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/cli v24.0.7+incompatible h1:wa/nIwYFW7BVTGa7SWPVyyXU9lgORqUb1xfI36MSkFg= +github.com/docker/cli v24.0.7+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/docker v25.0.6+incompatible h1:5cPwbwriIcsua2REJe8HqQV+6WlWc1byg2QSXzBxBGg= github.com/docker/docker v25.0.6+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= -github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw= -github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= +github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= +github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/donovanhide/eventsource v0.0.0-20210830082556-c59027999da0/go.mod h1:56wL82FO0bfMU5RvfXoIwSOP2ggqqxT+tAfNEIyxuHw= github.com/dop251/goja v0.0.0-20211022113120-dc8c55024d06/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk= @@ -998,8 +1008,9 @@ github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:Htrtb github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/dvsekhvalnov/jose2go v1.5.0 h1:3j8ya4Z4kMCwT5nXIKFSV84YS+HdqSSO0VsTQxaLAeM= -github.com/dvsekhvalnov/jose2go v1.5.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= +github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b/go.mod h1:7BvyPhdbLxMXIYTFPLsyJRFMsKmOZnQmzh6Gb+uquuM= +github.com/dvsekhvalnov/jose2go v1.7.0 h1:bnQc8+GMnidJZA8zc6lLEAb4xNrIqHwO+9TzqvtQZPo= +github.com/dvsekhvalnov/jose2go v1.7.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -1007,9 +1018,11 @@ github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaB github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385/go.mod h1:0vRUJqYpeSZifjYj7uP3BG/gKcuzL9xWVV/Y+cK33KM= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= +github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f/go.mod h1:sfYdkwUW4BA3PbKjySwjJy+O4Pu0h62rlqCMHNk+K+Q= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= +github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/esimonov/ifshort v1.0.4 h1:6SID4yGWfRae/M7hkVDVVyppy8q/v9OuxNdmjLQStBA= github.com/esimonov/ifshort v1.0.4/go.mod h1:Pe8zjlRrJ80+q2CxHLfEOfTwxCZ4O+MuhcHcfgNWTk0= github.com/ethereum/c-kzg-4844 v1.0.0 h1:0X1LBXxaEtYD9xsyj9B9ctQEZIpnvVDeoBx8aHEwTNA= @@ -1033,7 +1046,6 @@ github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4Nij github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4= github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= -github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/ferranbt/fastssz v0.1.2/go.mod h1:X5UPrE2u1UJjxHA8X54u04SBwdAQjG2sFtWs39YxyWs= @@ -1068,9 +1080,8 @@ github.com/ghemawat/stream v0.0.0-20171120220530-696b145b53b9/go.mod h1:106OIgoo github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= -github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= -github.com/gin-gonic/gin v1.8.1 h1:4+fr/el88TOO3ewCmQr8cx/CtZ/umlIRIs5M4NTNjf8= -github.com/gin-gonic/gin v1.8.1/go.mod h1:ji8BvRH1azfM+SYow9zQ6SZMvR8qOMZHmsCuWR9tTTk= +github.com/gin-gonic/gin v1.7.0 h1:jGB9xAJQ12AIGNB4HguylppmDK1Am9ppF7XnGXXJuoU= +github.com/gin-gonic/gin v1.7.0/go.mod h1:jD2toBW3GZUr5UMcdrwQA10I7RuaFOl/SGeDjXkfUtY= github.com/go-chi/chi/v5 v5.0.0/go.mod h1:BBug9lr0cqtdAhsu6R4AAdvufI0/XBzAQSsUqJpoZOs= github.com/go-critic/go-critic v0.6.5 h1:fDaR/5GWURljXwF8Eh31T2GZNz9X4jeboS912mWF8Uo= github.com/go-critic/go-critic v0.6.5/go.mod h1:ezfP/Lh7MA6dBNn4c6ab5ALv3sKnZVLx37tr00uuaOY= @@ -1087,8 +1098,8 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2 github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= -github.com/go-kit/kit v0.12.0 h1:e4o3o3IsBfAKQh5Qbbiqyfu97Ku7jrO/JbohvztANh4= -github.com/go-kit/kit v0.12.0/go.mod h1:lHd+EkCZPIwYItmGDDRdhinkzX2A1sj+M9biaEaizzs= +github.com/go-kit/kit v0.13.0 h1:OoneCcHKHQ03LfBpoQCUfCluwd2Vt3ohz+kvbJneZAU= +github.com/go-kit/kit v0.13.0/go.mod h1:phqEHMMUbyrCFCTgH48JueqrM3md2HcAZ8N3XE4FKDg= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU= github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= @@ -1097,8 +1108,8 @@ github.com/go-latex/latex v0.0.0-20210823091927-c0d11ff05a81/go.mod h1:SX0U8uGpx github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= -github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= +github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4= +github.com/go-logfmt/logfmt v0.6.0/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= @@ -1122,8 +1133,7 @@ github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho= github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA= -github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= -github.com/go-playground/validator/v10 v10.10.0/go.mod h1:74x4gJWsvQexRdW8Pn3dXSGrTK4nAUsbPlLADvpJkos= +github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4= github.com/go-playground/validator/v10 v10.11.1 h1:prmOlTVv+YjZjmRmNSF3VmspqJIxJWXmqUsHwfTRRkQ= github.com/go-playground/validator/v10 v10.11.1/go.mod h1:i+3WkQ1FvaUjjxh1kSvIA4dMGDBiPU55YFDl0WbKdWU= github.com/go-redis/redis/v8 v8.11.5/go.mod h1:gREzHqY1hg6oD9ngVRbLStwAWKhA0FEgq8Jd4h5lpwo= @@ -1169,7 +1179,6 @@ github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6Wezm github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= github.com/gobwas/ws v1.1.0 h1:7RFti/xnNkMJnrK7D1yQ/iCIB5OrrY/54/H930kIbHA= github.com/gobwas/ws v1.1.0/go.mod h1:nzvNcVha5eUziGrbxFCo6qFIojQHjJV5cLYIbezhfL0= -github.com/goccy/go-json v0.9.7/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/goccy/go-json v0.10.4/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4= @@ -1199,6 +1208,7 @@ github.com/golang-sql/sqlexp v0.0.0-20170517235910-f1bb20e5a188/go.mod h1:vXjM/+ github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= +github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -1362,19 +1372,21 @@ github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8 h1:PVRE9d4 github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/css v1.0.0/go.mod h1:Dn721qIggHpt4+EFCcTLTU/vk5ySda2ReITrtgBl60c= -github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4= -github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= +github.com/gorilla/handlers v1.5.2 h1:cLTUSsNkgcwhgRqvCNmdbRWG0A3N4F+M2nWKdScwyEE= +github.com/gorilla/handlers v1.5.2/go.mod h1:dX+xVpaxdSw+q0Qek8SSsl3dfMk3jNddUkMzo0GtH0w= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= +github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3/go.mod h1:eEOZF4jCKGi+aprrirO9e7WKB3beBRtWgqGunKl6pKE= github.com/gostaticanalysis/analysisutil v0.0.3/go.mod h1:eEOZF4jCKGi+aprrirO9e7WKB3beBRtWgqGunKl6pKE= github.com/gostaticanalysis/analysisutil v0.1.0/go.mod h1:dMhHRU9KTiDcuLGdy87/2gTR8WruwYZrKdRq9m1O6uw= @@ -1401,8 +1413,8 @@ github.com/graph-gophers/graphql-go v1.3.0/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLt github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= +github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 h1:UH//fgunKIs4JdUbpDl1VZCDaL56wXCB/5+wF6uHfaI= +github.com/grpc-ecosystem/go-grpc-middleware v1.4.0/go.mod h1:g5qyo/la0ALbONm6Vbp88Yd8NsDy6rZz+RcrMPxvld8= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= @@ -1447,8 +1459,8 @@ github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09 github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d h1:dg1dEPuWpEqDnvIw251EVy4zlP8gWbsGj4BsUKCRpYs= -github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c= +github.com/hashicorp/golang-lru v1.0.2/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= @@ -1456,8 +1468,8 @@ github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= -github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3 h1:aSVUgRRRtOrZOC1fYmY9gV0e9z/Iu+xNVSASWjsuyGU= -github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3/go.mod h1:5PC6ZNPde8bBqU/ewGZig35+UIZtw9Ytxez8/q5ZyFE= +github.com/hdevalence/ed25519consensus v0.2.0 h1:37ICyZqdyj0lAZ8P4D1d1id3HqbbG1N3iBb1Tb4rdcU= +github.com/hdevalence/ed25519consensus v0.2.0/go.mod h1:w3BHWjwJbFU29IRHL1Iqkw3sus+7FctEyM4RqDxYNzo= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/holiman/billy v0.0.0-20240216141850-2abb0c79d3c4 h1:X4egAf/gcS1zATw6wn4Ej8vjuVGxeHdan+bRb2ebyv4= @@ -1479,8 +1491,8 @@ github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1: github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/imkira/go-interpol v1.1.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA= -github.com/improbable-eng/grpc-web v0.14.1 h1:NrN4PY71A6tAz2sKDvC5JCauENWp0ykG8Oq1H3cpFvw= -github.com/improbable-eng/grpc-web v0.14.1/go.mod h1:zEjGHa8DAlkoOXmswrNvhUGEYQA9UI7DhrGeHR1DMGU= +github.com/improbable-eng/grpc-web v0.15.0 h1:BN+7z6uNXZ1tQGcNAuaU1YjsLTApzkjt2tzCixLaUPQ= +github.com/improbable-eng/grpc-web v0.15.0/go.mod h1:1sy9HKV4Jt9aEs9JSnkWlRJPuPtwNr0l57L4f878wP8= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= @@ -1497,8 +1509,10 @@ github.com/jedisct1/go-minisign v0.0.0-20230811132847-661be99b8267/go.mod h1:h1n github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jgautheron/goconst v1.5.1 h1:HxVbL1MhydKs8R8n/HE5NPvzfaYmQJA3o879lE4+WcM= github.com/jgautheron/goconst v1.5.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= -github.com/jhump/protoreflect v1.12.1-0.20220417024638-438db461d753 h1:uFlcJKZPLQd7rmOY/RrvBuUaYmAFnlFHKLivhO6cOy8= -github.com/jhump/protoreflect v1.12.1-0.20220417024638-438db461d753/go.mod h1:JytZfP5d0r8pVNLZvai7U/MCuTWITgrI4tTg7puQFKI= +github.com/jhump/protoreflect v1.18.0 h1:TOz0MSR/0JOZ5kECB/0ufGnC2jdsgZ123Rd/k4Z5/2w= +github.com/jhump/protoreflect v1.18.0/go.mod h1:ezWcltJIVF4zYdIFM+D/sHV4Oh5LNU08ORzCGfwvTz8= +github.com/jhump/protoreflect/v2 v2.0.0-beta.1 h1:Dw1rslK/VotaUGYsv53XVWITr+5RCPXfvvlGrM/+B6w= +github.com/jhump/protoreflect/v2 v2.0.0-beta.1/go.mod h1:D9LBEowZyv8/iSu97FU2zmXG3JxVTmNw21mu63niFzU= github.com/jingyugao/rowserrcheck v1.1.1 h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs= github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c= github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48= @@ -1544,6 +1558,8 @@ github.com/kataras/pio v0.0.11/go.mod h1:38hH6SWH6m4DKSYmRhlrCJ5WItwWgCVrTNU62XZ github.com/kataras/sitemap v0.0.6/go.mod h1:dW4dOCNs896OR1HmG+dMLdT7JjDk7mYBzoIRwuj5jA4= github.com/kataras/tunnel v0.0.4/go.mod h1:9FkU4LaeifdMWqZu7o20ojmW4B7hdhv2CMLwfnHGpYw= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= +github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d h1:Z+RDyXzjKE0i2sTjZ/b1uxiGtPhFy34Ou/Tk0qwN0kM= +github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNrCn9otv/2QP4D7SMJBgaleKpOf66PnW6F5WGNRIc= github.com/kilic/bls12-381 v0.1.0/go.mod h1:vDTTHJONJ6G+P2R74EhnyotQDTliQDnFEwhdmfzw1ig= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/errcheck v1.6.2 h1:uGQ9xI8/pgc9iOoCe7kWQgRE6SBTrCGmTSf0LrEtY7c= @@ -1610,8 +1626,8 @@ github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ic github.com/leonklingele/grouper v1.1.0 h1:tC2y/ygPbMFSBOs3DcyaEMKnnwH7eYKzohOtRrf0SAg= github.com/leonklingele/grouper v1.1.0/go.mod h1:uk3I3uDfi9B6PeUjsCKi6ndcf63Uy7snXgR4yDYQVDY= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.10.7 h1:p7ZhMD+KsSRozJr34udlUrhboJwWAgCg34+/ZZNvZZw= -github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= +github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/libp2p/go-buffer-pool v0.1.0 h1:oK4mSFcQz7cTQIfqbe4MIj9gLW+mnanjyFtc6cdF0Y8= github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QTWy5HSiZacSbPg= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= @@ -1624,10 +1640,11 @@ github.com/lufeee/execinquery v1.2.1/go.mod h1:EC7DrEKView09ocscGHC+apXMIaorh4xq github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= +github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= -github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= +github.com/magiconair/properties v1.8.10 h1:s31yESBquKXCV9a/ScB3ESkOjUYYv+X0rg8SYxI99mE= +github.com/magiconair/properties v1.8.10/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mailgun/raymond/v2 v2.0.48/go.mod h1:lsgvL50kgt1ylcFJYZiULi5fjPBkkhNfj4KA0W54Z18= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= @@ -1761,10 +1778,11 @@ github.com/nishanths/exhaustive v0.8.3/go.mod h1:qj+zJJUgJ76tR92+25+03oYUhzF4R7/ github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk= github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= -github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= -github.com/oasisprotocol/curve25519-voi v0.0.0-20210609091139-0a56a4bca00b h1:MKwruh+HeCSKWphkxuzvRzU4QzDkg7yiPkDVV0cDFgI= -github.com/oasisprotocol/curve25519-voi v0.0.0-20210609091139-0a56a4bca00b/go.mod h1:TLJifjWF6eotcfzDjKZsDqWJ+73Uvj/N85MvVyrvynM= +github.com/nxadm/tail v1.4.11 h1:8feyoE3OzPrcshW5/MJ4sGESc5cqmGkGCWlco4l0bqY= +github.com/nxadm/tail v1.4.11/go.mod h1:OTaG3NK980DZzxbRq6lEuzgU+mug70nY11sMd4JXXHc= +github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a h1:dlRvE5fWabOchtH7znfiFCcOvmIYgOeAS5ifBXBlh9Q= +github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a/go.mod h1:hVoHR2EVESiICEMbg137etN/Lx+lSrHPTD39Z/uE+2s= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= @@ -1806,8 +1824,8 @@ github.com/onsi/gomega v1.27.1/go.mod h1:aHX5xOykVYzWOV4WqQy0sy8BQptgukenXpCXfad github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM= -github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/image-spec v1.1.0-rc2 h1:2zx/Stx4Wc5pIPDvIxHXvXtQFW/7XWJGmnM7r3wg034= +github.com/opencontainers/image-spec v1.1.0-rc2/go.mod h1:3OVijpioIKYWTqjiG0zfF6wvoJ4fAXGbjdZuI2NgsRQ= github.com/opencontainers/runc v1.1.14 h1:rgSuzbmgz5DUJjeSnw337TxDbRuqjs6iqQck/2weR6w= github.com/opencontainers/runc v1.1.14/go.mod h1:E4C2z+7BxR7GHXp0hAY53mek+x49X1LjPNeMTfRGvOA= github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= @@ -1839,15 +1857,14 @@ github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTK github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaFVNZzmWyNfXas= github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= -github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 h1:hDSdbBuw3Lefr6R18ax0tZ2BJeNB3NehB3trOwYBsdU= -github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= +github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= +github.com/petermattis/goid v0.0.0-20260113132338-7c7de50cc741 h1:KPpdlQLZcHfTMQRi6bFQ7ogNO0ltFT4PmtwTLW4W+14= +github.com/petermattis/goid v0.0.0-20260113132338-7c7de50cc741/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d h1:CdDQnGF8Nq9ocOS/xlSptM1N3BbrA6/kmaep5ggwaIA= github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d/go.mod h1:3OzsM7FXDQlpCiw2j81fOmAwQLnZnLGXVKUzeKQXIAw= github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= @@ -1909,6 +1926,7 @@ github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1: github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.1-0.20210607210712-147c58e9608a/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= +github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk= github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= @@ -1980,12 +1998,12 @@ github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.11.1 h1:eU3gRzXLRK57F5rKMGMZURNdIG4EoAmX8k94r9wXWHA= github.com/rs/cors v1.11.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= -github.com/rs/xid v1.5.0 h1:mKX4bl4iPYJtEIxp6CYiUuLQ/8DYMoz0PUdtGgMFRVc= -github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= +github.com/rs/xid v1.6.0 h1:fV591PaemRlL6JfRxGDEPl69wICngIQ3shQtzfy2gxU= +github.com/rs/xid v1.6.0/go.mod h1:7XoLgs4eV+QndskICGsho+ADou8ySMSjJKDIan90Nz0= github.com/rs/zerolog v1.12.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= github.com/rs/zerolog v1.14.3/go.mod h1:3WXPzbXEEliJ+a6UFE4vhIxV8qR1EML6ngzP9ug4eYg= -github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8= -github.com/rs/zerolog v1.33.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= +github.com/rs/zerolog v1.34.0 h1:k43nTLIwcTVQAncfCw4KZ2VY6ukYoZaBPNOE8txlOeY= +github.com/rs/zerolog v1.34.0/go.mod h1:bJsvje4Z08ROH4Nhs5iH600c3IkWhwp44iRc54W6wYQ= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= @@ -1997,14 +2015,14 @@ github.com/ryancurrah/gomodguard v1.2.4/go.mod h1:+Kem4VjWwvFpUJRJSwa16s1tBJe+vb github.com/ryanrolds/sqlclosecheck v0.3.0 h1:AZx+Bixh8zdUBxUA1NxbxVAS78vTPq4rCb8OUZI9xFw= github.com/ryanrolds/sqlclosecheck v0.3.0/go.mod h1:1gREqxyTGR3lVtpngyFo3hZAgk0KCtEdgEkHwDbigdA= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/sagikazarmark/locafero v0.9.0 h1:GbgQGNtTrEmddYDSAH9QLRyfAHY12md+8YFTqyMTC9k= -github.com/sagikazarmark/locafero v0.9.0/go.mod h1:UBUyz37V+EdMS3hDF3QWIiVr/2dPrx49OMO0Bn0hJqk= +github.com/sagikazarmark/locafero v0.11.0 h1:1iurJgmM9G3PA/I+wWYIOw/5SyBtxapeHDcg+AAIFXc= +github.com/sagikazarmark/locafero v0.11.0/go.mod h1:nVIGvgyzw595SUSUE6tvCp3YYTeHs15MvlmU87WwIik= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/sanity-io/litter v1.5.5/go.mod h1:9gzJgR2i4ZpjZHsKvUXIRQVk7P+yM3e+jAF7bU2UI5U= github.com/sanposhiho/wastedassign/v2 v2.0.6 h1:+6/hQIHKNJAUixEj6EmOngGIisyeI+T3335lYTyxRoA= github.com/sanposhiho/wastedassign/v2 v2.0.6/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dmsbF2ud9pAAGfoLfjhtI= -github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0= -github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= +github.com/sasha-s/go-deadlock v0.3.5 h1:tNCOEEDG6tBqrNDOX35j/7hL5FcFViG6awUGROb2NsU= +github.com/sasha-s/go-deadlock v0.3.5/go.mod h1:bugP6EGbdGYObIlx7pUZtWqlvo8k9H6vCBBsiChJQ5U= github.com/sashamelentyev/interfacebloat v1.1.0 h1:xdRdJp0irL086OyW1H/RTZTr1h/tMEOsumirXcOJqAw= github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ= github.com/sashamelentyev/usestdlibvars v1.20.0 h1:K6CXjqqtSYSsuyRDDC7Sjn6vTMLiSJa4ZmDkiokoqtw= @@ -2064,8 +2082,8 @@ github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4k github.com/sonatard/noctx v0.0.1 h1:VC1Qhl6Oxx9vvWo3UDgrGXYCeKCe3Wbw7qAWL6FrmTY= github.com/sonatard/noctx v0.0.1/go.mod h1:9D2D/EoULe8Yy2joDHJj7bv3sZoq9AaSb8B4lqBjiZI= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= -github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= -github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= +github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 h1:+jumHNA0Wrelhe64i8F6HNlS8pkoyMv5sreGx2Ry5Rw= +github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8/go.mod h1:3n1Cwaq1E1/1lhQhtRK2ts/ZwZEhjcQeJQ1RuC6Q/8U= github.com/sourcegraph/go-diff v0.6.1 h1:hmA1LzxW0n1c3Q4YbrFgg4P99GSnebYa3x8gr0HZqLQ= github.com/sourcegraph/go-diff v0.6.1/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= @@ -2075,12 +2093,12 @@ github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= -github.com/spf13/afero v1.14.0 h1:9tH6MapGnn/j0eb0yIXiLjERO8RB6xIVZRDCX7PtqWA= -github.com/spf13/afero v1.14.0/go.mod h1:acJQ8t0ohCGuMN3O+Pv0V0hgMxNYDlvdk+VTfyZmbYo= +github.com/spf13/afero v1.15.0 h1:b/YBCLWAJdFWJTN9cLhiXXcD7mzKn9Dm86dNnfyQw1I= +github.com/spf13/afero v1.15.0/go.mod h1:NC2ByUVxtQs4b3sIUphxK0NioZnmxgyCrfzeuq8lxMg= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.9.2 h1:SsGfm7M8QOFtEzumm7UZrZdLLquNdzFYfIbEXntcFbE= -github.com/spf13/cast v1.9.2/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo= +github.com/spf13/cast v1.10.0 h1:h2x0u2shc1QuLHfxi+cTJvs30+ZAHOGRic8uyGTDWxY= +github.com/spf13/cast v1.10.0/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= @@ -2094,13 +2112,14 @@ github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0 github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk= +github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= -github.com/spf13/viper v1.20.1 h1:ZMi+z/lvLyPSCoNtFCpqjy0S4kPbirhpTMwl8BkW9X4= -github.com/spf13/viper v1.20.1/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4= +github.com/spf13/viper v1.21.0 h1:x5S+0EU27Lbphp4UKm1C+1oQO+rKx36vfCoaVebLFSU= +github.com/spf13/viper v1.21.0/go.mod h1:P0lhsswPGWD/1lZJ9ny3fYnVqxiegrlNrEmgLjbTCAY= github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0= github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= github.com/status-im/keycard-go v0.2.0/go.mod h1:wlp8ZLbsmrF6g6WjugPAx+IzoLrkdf9+mHxBEeo3Hbg= @@ -2111,6 +2130,7 @@ github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3 github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= @@ -2160,8 +2180,8 @@ github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3 h1:f+jULpR github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3/go.mod h1:ON8b8w4BN/kE1EOhwT0o+d62W65a6aPw1nouo9LMgyY= github.com/tetafro/godot v1.4.11 h1:BVoBIqAf/2QdbFmSwAWnaIqDivZdOV0ZRwEm6jivLKw= github.com/tetafro/godot v1.4.11/go.mod h1:LR3CJpxDVGlYOWn3ZZg1PgNZdTUvzsZWu8xaEohUpn8= -github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg= -github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= +github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI= +github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= github.com/tidwall/gjson v1.6.7/go.mod h1:zeFuBCIqD4sN/gmqBzZ4j7Jd6UcA2Fc56x7QFsv+8fI= github.com/tidwall/gjson v1.10.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.14.2 h1:6BBkirS0rAHjumnjHF6qgy5d2YAJ1TLIaFE2lzfOLqo= @@ -2282,8 +2302,9 @@ gitlab.com/bosi/decorder v0.2.3 h1:gX4/RgK16ijY8V+BRQHAySfQAb354T7/xQpDB2n10P0= gitlab.com/bosi/decorder v0.2.3/go.mod h1:9K1RB5+VPNQYtXtTDAzd2OEftsZb1oV0IrJrzChSdGE= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.7 h1:j+zJOnnEjF/kyHlDDgGnVL/AIqIJPq8UoB2GSNfkUfQ= go.etcd.io/bbolt v1.3.7/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= +go.etcd.io/bbolt v1.4.0-alpha.0.0.20240404170359-43604f3112c5 h1:qxen9oVGzDdIRP6ejyAJc760RwW4SnVDiTYTzwnXuxo= +go.etcd.io/bbolt v1.4.0-alpha.0.0.20240404170359-43604f3112c5/go.mod h1:eW0HG9/oHQhvRCvb1/pIXW4cOvtDqeQK+XSi3TnwaXY= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= @@ -2318,12 +2339,14 @@ go.opentelemetry.io/otel/trace v1.39.0 h1:2d2vfpEDmCJ5zVYz7ijaJdOF59xLomrvj7bjt6 go.opentelemetry.io/otel/trace v1.39.0/go.mod h1:88w4/PnZSazkGzz/w84VHpQafiU4EtqqlVdxWy+rNOA= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/automaxprocs v1.5.1/go.mod h1:BF4eumQw0P9GtnuxxovUd06vwm1o18oMzFtK66vU6XU= go.uber.org/automaxprocs v1.5.2/go.mod h1:eRbA25aqJrxAbsLO0xy5jVwPt7FQnRgjW+efnwa1WM0= +go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= @@ -2335,10 +2358,12 @@ go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9E go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= +go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0= go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8= +go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= @@ -2469,6 +2494,7 @@ golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96b golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= @@ -2532,6 +2558,7 @@ golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= +golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= golang.org/x/perf v0.0.0-20230113213139-801c7ef9e5c5/go.mod h1:UBKtEnL8aqnd+0JHqZ+2qoMDwtuy6cYhhKNoHLBiTQc= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -2575,6 +2602,7 @@ golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2639,6 +2667,7 @@ golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -2646,6 +2675,7 @@ golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211105183446-c75c47738b0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -3097,14 +3127,20 @@ google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOl google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= +google.golang.org/genproto v0.0.0-20230525234025-438c736192d0/go.mod h1:9ExIQyXL5hZrHzQceCwuSYwZZ5QZBazOcprJ5rgs3lY= +google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= google.golang.org/genproto v0.0.0-20250603155806-513f23925822 h1:rHWScKit0gvAPuOnu87KpaYtjK5zBMLcULh7gxkCXu4= google.golang.org/genproto v0.0.0-20250603155806-513f23925822/go.mod h1:HubltRL7rMh0LfnQPkMH4NPDFEWp0jw3vixw7jEM53s= -google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 h1:oWVWY3NzT7KJppx2UKhKmzPq4SRe0LdCijVRwvGeikY= -google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822/go.mod h1:h3c4v36UTKzUiuaOKQ6gr3S+0hovBtUrXzTG/i3+XEc= +google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a/go.mod h1:ts19tUU+Z0ZShN1y3aPyq2+O3d5FUNNgT6FtOzmrNn8= +google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/api v0.0.0-20250707201910-8d1bb00bc6a7 h1:FiusG7LWj+4byqhbvmB+Q93B/mOxJLN2DTozDuZm4EU= +google.golang.org/genproto/googleapis/api v0.0.0-20250707201910-8d1bb00bc6a7/go.mod h1:kXqgZtrWaf6qS3jZOCnCH7WYfrvFjkC51bM8fz3RsCA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234015-3fc162c6f38a/go.mod h1:xURIpW9ES5+/GZhnV6beoEtxQrnkRGIfP5VQG2tCBLc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= google.golang.org/genproto/googleapis/rpc v0.0.0-20250818200422-3122310a409c h1:qXWI/sQtv5UKboZ/zUk7h+mrf/lXORyI+n9DKDAusdg= google.golang.org/genproto/googleapis/rpc v0.0.0-20250818200422-3122310a409c/go.mod h1:gw1tLEfykwDz2ET4a12jcXt4couGAm7IwsVaTy0Sflo= -google.golang.org/grpc v1.46.2 h1:u+MLGgVf7vRdjEYZ8wDFhAVNmhkbJ5hmrA1LMWK1CAQ= -google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.57.1 h1:upNTNqv0ES+2ZOOqACwVtS3Il8M12/+Hz41RCPzAjQg= +google.golang.org/grpc v1.57.1/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= diff --git a/go.work b/go.work deleted file mode 100644 index f719abc0e5..0000000000 --- a/go.work +++ /dev/null @@ -1,6 +0,0 @@ -go 1.25.6 - -use ( - . - ./sei-cosmos -) diff --git a/go.work.sum b/go.work.sum deleted file mode 100644 index 7ca81f5d38..0000000000 --- a/go.work.sum +++ /dev/null @@ -1,1672 +0,0 @@ -atomicgo.dev/cursor v0.2.0 h1:H6XN5alUJ52FZZUkI7AlJbUc1aW38GWZalpYRPpoPOw= -atomicgo.dev/cursor v0.2.0/go.mod h1:Lr4ZJB3U7DfPPOkbH7/6TOtJ4vFGHlgj1nc+n900IpU= -atomicgo.dev/keyboard v0.2.9 h1:tOsIid3nlPLZ3lwgG8KZMp/SFmr7P0ssEN5JUsm78K8= -atomicgo.dev/keyboard v0.2.9/go.mod h1:BC4w9g00XkxH/f1HXhW2sXmJFOCWbKn9xrOunSFtExQ= -atomicgo.dev/schedule v0.1.0 h1:nTthAbhZS5YZmgYbb2+DH8uQIZcTlIrd4eYr3UQxEjs= -atomicgo.dev/schedule v0.1.0/go.mod h1:xeUa3oAkiuHYh8bKiQBRojqAMq3PXXbJujjb0hw8pEU= -bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512 h1:SRsZGA7aFnCZETmov57jwPrWuTmaZK6+4R4v5FUe1/c= -bitbucket.org/creachadair/shell v0.0.6 h1:reJflDbKqnlnqb4Oo2pQ1/BqmY/eCWcNGHrIUO8qIzc= -cel.dev/expr v0.15.0/go.mod h1:TRSuuV7DlVCE/uwv5QbAiW/v8l5O8C4eEPHeu7gf7Sg= -cel.dev/expr v0.16.0/go.mod h1:TRSuuV7DlVCE/uwv5QbAiW/v8l5O8C4eEPHeu7gf7Sg= -cel.dev/expr v0.16.1 h1:NR0+oFYzR1CqLFhTAqg3ql59G9VfN8fKq1TCHJ6gq1g= -cel.dev/expr v0.16.1/go.mod h1:AsGA5zb3WruAEQeQng1RZdGEXmBj0jvMWh6l5SnNuC8= -cel.dev/expr v0.19.0/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= -cel.dev/expr v0.19.2/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= -cel.dev/expr v0.20.0/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= -cloud.google.com/go v0.98.0/go.mod h1:ua6Ush4NALrHk5QXDWnjvZHN93OuF0HfuEPq9I1X0cM= -cloud.google.com/go v0.116.0 h1:B3fRrSDkLRt5qSHWe40ERJvhvnQwdZiHu0bJOpldweE= -cloud.google.com/go v0.116.0/go.mod h1:cEPSRWPzZEswwdr9BxE6ChEn01dWlTaF05LiC2Xs70U= -cloud.google.com/go v0.121.0 h1:pgfwva8nGw7vivjZiRfrmglGWiCJBP+0OmDpenG/Fwg= -cloud.google.com/go v0.121.0/go.mod h1:rS7Kytwheu/y9buoDmu5EIpMMCI4Mb8ND4aeN4Vwj7Q= -cloud.google.com/go v0.121.1 h1:S3kTQSydxmu1JfLRLpKtxRPA7rSrYPRPEUmL/PavVUw= -cloud.google.com/go v0.121.1/go.mod h1:nRFlrHq39MNVWu+zESP2PosMWA0ryJw8KUBZ2iZpxbw= -cloud.google.com/go/accessapproval v1.8.2 h1:h4u1MypgeYXTGvnNc1luCBLDN4Kb9Re/gw0Atvoi8HE= -cloud.google.com/go/accessapproval v1.8.2/go.mod h1:aEJvHZtpjqstffVwF/2mCXXSQmpskyzvw6zKLvLutZM= -cloud.google.com/go/accessapproval v1.8.6 h1:UkmDPCKvj24bkGVrvgJPcgSDkmIPw/bAmOiDb9avOiE= -cloud.google.com/go/accessapproval v1.8.6/go.mod h1:FfmTs7Emex5UvfnnpMkhuNkRCP85URnBFt5ClLxhZaQ= -cloud.google.com/go/accesscontextmanager v1.9.2 h1:P0uVixQft8aacbZ7VDZStNZdrftF24Hk8JkA3kfvfqI= -cloud.google.com/go/accesscontextmanager v1.9.2/go.mod h1:T0Sw/PQPyzctnkw1pdmGAKb7XBA84BqQzH0fSU7wzJU= -cloud.google.com/go/accesscontextmanager v1.9.6 h1:2LnncRqfYB8NEdh9+FeYxAt9POTW/0zVboktnRlO11w= -cloud.google.com/go/accesscontextmanager v1.9.6/go.mod h1:884XHwy1AQpCX5Cj2VqYse77gfLaq9f8emE2bYriilk= -cloud.google.com/go/aiplatform v1.69.0 h1:XvBzK8e6/6ufbi/i129Vmn/gVqFwbNPmRQ89K+MGlgc= -cloud.google.com/go/aiplatform v1.69.0/go.mod h1:nUsIqzS3khlnWvpjfJbP+2+h+VrFyYsTm7RNCAViiY8= -cloud.google.com/go/aiplatform v1.89.0 h1:niSJYc6ldWWVM9faXPo1Et1MVSQoLvVGriD7fwbJdtE= -cloud.google.com/go/aiplatform v1.89.0/go.mod h1:TzZtegPkinfXTtXVvZZpxx7noINFMVDrLkE7cEWhYEk= -cloud.google.com/go/analytics v0.25.2 h1:KgJ5Taxtsnro/co7WIhmAHi5pzYAtvxu8LMqenPAlSo= -cloud.google.com/go/analytics v0.25.2/go.mod h1:th0DIunqrhI1ZWVlT3PH2Uw/9ANX8YHfFDEPqf/+7xM= -cloud.google.com/go/analytics v0.28.1 h1:W2ft49J/LeEj9A07Jsd5Q2kAzajK0j0IffOyyzbxw04= -cloud.google.com/go/analytics v0.28.1/go.mod h1:iPaIVr5iXPB3JzkKPW1JddswksACRFl3NSHgVHsuYC4= -cloud.google.com/go/apigateway v1.7.2 h1:TRB5q0vvbT5Yx4bNSCWlqLJFJnhc7tDlCR9ccpo1vzg= -cloud.google.com/go/apigateway v1.7.2/go.mod h1:+weId+9aR9J6GRwDka7jIUSrKEX60XGcikX7dGU8O7M= -cloud.google.com/go/apigateway v1.7.6 h1:do+u3rjDYuTxD2ypRfv4uwTMoy/VHFLclvaYcb5Mv6I= -cloud.google.com/go/apigateway v1.7.6/go.mod h1:SiBx36VPjShaOCk8Emf63M2t2c1yF+I7mYZaId7OHiA= -cloud.google.com/go/apigeeconnect v1.7.2 h1:GHg0ddEQUZ08C1qC780P5wwY/jaIW8UtxuRQXLLuRXs= -cloud.google.com/go/apigeeconnect v1.7.2/go.mod h1:he/SWi3A63fbyxrxD6jb67ak17QTbWjva1TFbT5w8Kw= -cloud.google.com/go/apigeeconnect v1.7.6 h1:ijEJSni5xROOn1YyiHgqcW0B0TWr0di9VgIi2gvyNjY= -cloud.google.com/go/apigeeconnect v1.7.6/go.mod h1:zqDhHY99YSn2li6OeEjFpAlhXYnXKl6DFb/fGu0ye2w= -cloud.google.com/go/apigeeregistry v0.9.2 h1:fC3ZXEk2QsBxUlZZDZpbBGXC/ZQglCBmHDGgY5aNipg= -cloud.google.com/go/apigeeregistry v0.9.2/go.mod h1:A5n/DwpG5NaP2fcLYGiFA9QfzpQhPRFNATO1gie8KM8= -cloud.google.com/go/apigeeregistry v0.9.6 h1:TgdjAoGoRY81DEc2LYsYvi/OqCFImMzAk/TVKiSRsQw= -cloud.google.com/go/apigeeregistry v0.9.6/go.mod h1:AFEepJBKPtGDfgabG2HWaLH453VVWWFFs3P4W00jbPs= -cloud.google.com/go/apikeys v0.6.0 h1:B9CdHFZTFjVti89tmyXXrO+7vSNo2jvZuHG8zD5trdQ= -cloud.google.com/go/appengine v1.9.2 h1:pxAQ//FsyEQsaF9HJduPCOEvj9GV4fvnLARGz1+KDzM= -cloud.google.com/go/appengine v1.9.2/go.mod h1:bK4dvmMG6b5Tem2JFZcjvHdxco9g6t1pwd3y/1qr+3s= -cloud.google.com/go/appengine v1.9.6 h1:JJyY8icMmQeWfQ+d36IhkGvd3Guzvw0UAkvxT0wmUx8= -cloud.google.com/go/appengine v1.9.6/go.mod h1:jPp9T7Opvzl97qytaRGPwoH7pFI3GAcLDaui1K8PNjY= -cloud.google.com/go/area120 v0.9.2 h1:LODm6TjW27/LJ4z4fBNJHRb+tlvy0gSu6Vb8j2lfluY= -cloud.google.com/go/area120 v0.9.2/go.mod h1:Ar/KPx51UbrTWGVGgGzFnT7hFYQuk/0VOXkvHdTbQMI= -cloud.google.com/go/area120 v0.9.6 h1:iJrZ6AleZr4l+q0/fWVANFOhs90KiSB1Ccait5OYyNg= -cloud.google.com/go/area120 v0.9.6/go.mod h1:qKSokqe0iTmwBDA3tbLWonMEnh0pMAH4YxiceiHUed4= -cloud.google.com/go/artifactregistry v1.16.0 h1:BZpz0x8HCG7hwTkD+GlUwPQVFGOo9w84t8kxQwwc0DA= -cloud.google.com/go/artifactregistry v1.16.0/go.mod h1:LunXo4u2rFtvJjrGjO0JS+Gs9Eco2xbZU6JVJ4+T8Sk= -cloud.google.com/go/artifactregistry v1.17.1 h1:A20kj2S2HO9vlyBVyVFHPxArjxkXvLP5LjcdE7NhaPc= -cloud.google.com/go/artifactregistry v1.17.1/go.mod h1:06gLv5QwQPWtaudI2fWO37gfwwRUHwxm3gA8Fe568Hc= -cloud.google.com/go/asset v1.20.3 h1:/jQBAkZVUbsIczRepDkwaf/K5NcRYvQ6MBiWg5i20fU= -cloud.google.com/go/asset v1.20.3/go.mod h1:797WxTDwdnFAJzbjZ5zc+P5iwqXc13yO9DHhmS6wl+o= -cloud.google.com/go/asset v1.21.1 h1:i55wWC/EwVdHMyJgRfbLp/L6ez4nQuOpZwSxkuqN9ek= -cloud.google.com/go/asset v1.21.1/go.mod h1:7AzY1GCC+s1O73yzLM1IpHFLHz3ws2OigmCpOQHwebk= -cloud.google.com/go/assuredworkloads v1.12.2 h1:6Y6a4V7CD50qtjvayhu7f5o35UFJP8ade7IbHNfdQEc= -cloud.google.com/go/assuredworkloads v1.12.2/go.mod h1:/WeRr/q+6EQYgnoYrqCVgw7boMoDfjXZZev3iJxs2Iw= -cloud.google.com/go/assuredworkloads v1.12.6 h1:ip/shfJYx6lrHBWYADjrrrubcm7uZzy50TTF5tPG7ek= -cloud.google.com/go/assuredworkloads v1.12.6/go.mod h1:QyZHd7nH08fmZ+G4ElihV1zoZ7H0FQCpgS0YWtwjCKo= -cloud.google.com/go/auth v0.3.0/go.mod h1:lBv6NKTWp8E3LPzmO1TbiiRKc4drLOfHsgmlH9ogv5w= -cloud.google.com/go/auth v0.13.0 h1:8Fu8TZy167JkW8Tj3q7dIkr2v4cndv41ouecJx0PAHs= -cloud.google.com/go/auth v0.13.0/go.mod h1:COOjD9gwfKNKz+IIduatIhYJQIc0mG3H102r/EMxX6Q= -cloud.google.com/go/auth v0.14.0/go.mod h1:CYsoRL1PdiDuqeQpZE0bP2pnPrGqFcOkI0nldEQis+A= -cloud.google.com/go/auth v0.15.0/go.mod h1:WJDGqZ1o9E9wKIL+IwStfyn/+s59zl4Bi+1KQNVXLZ8= -cloud.google.com/go/auth v0.16.0/go.mod h1:1howDHJ5IETh/LwYs3ZxvlkXF48aSqqJUM+5o02dNOI= -cloud.google.com/go/auth v0.16.2/go.mod h1:sRBas2Y1fB1vZTdurouM0AzuYQBMZinrUYL8EufhtEA= -cloud.google.com/go/auth v0.16.4 h1:fXOAIQmkApVvcIn7Pc2+5J8QTMVbUGLscnSVNl11su8= -cloud.google.com/go/auth v0.16.4/go.mod h1:j10ncYwjX/g3cdX7GpEzsdM+d+ZNsXAbb6qXA7p1Y5M= -cloud.google.com/go/auth/oauth2adapt v0.2.2/go.mod h1:wcYjgpZI9+Yu7LyYBg4pqSiaRkfEK3GQcpb7C/uyF1Q= -cloud.google.com/go/auth/oauth2adapt v0.2.6 h1:V6a6XDu2lTwPZWOawrAa9HUK+DB2zfJyTuciBG5hFkU= -cloud.google.com/go/auth/oauth2adapt v0.2.6/go.mod h1:AlmsELtlEBnaNTL7jCj8VQFLy6mbZv0s4Q7NGBeQ5E8= -cloud.google.com/go/auth/oauth2adapt v0.2.8 h1:keo8NaayQZ6wimpNSmW5OPc283g65QNIiLpZnkHRbnc= -cloud.google.com/go/auth/oauth2adapt v0.2.8/go.mod h1:XQ9y31RkqZCcwJWNSx2Xvric3RrU88hAYYbjDWYDL+c= -cloud.google.com/go/automl v1.14.2 h1:RzR5Nx78iaF2FNAfaaQ/7o2b4VuQ17YbOaeK/DLYSW4= -cloud.google.com/go/automl v1.14.2/go.mod h1:mIat+Mf77W30eWQ/vrhjXsXaRh8Qfu4WiymR0hR6Uxk= -cloud.google.com/go/automl v1.14.7 h1:ZLj48Ur2Qcso4M3bgOtjsOmeV5Ee92N14wuOc8OW+L0= -cloud.google.com/go/automl v1.14.7/go.mod h1:8a4XbIH5pdvrReOU72oB+H3pOw2JBxo9XTk39oljObE= -cloud.google.com/go/baremetalsolution v1.3.2 h1:rhawlI+9gy/i1ZQbN/qL6FXHGXusWbfr6UoQdcCpybw= -cloud.google.com/go/baremetalsolution v1.3.2/go.mod h1:3+wqVRstRREJV/puwaKAH3Pnn7ByreZG2aFRsavnoBQ= -cloud.google.com/go/baremetalsolution v1.3.6 h1:9bdGlpY1LgLONQjFsDwrkjLzdPTlROpfU+GhA97YpOk= -cloud.google.com/go/baremetalsolution v1.3.6/go.mod h1:7/CS0LzpLccRGO0HL3q2Rofxas2JwjREKut414sE9iM= -cloud.google.com/go/batch v1.11.2 h1:OVhgpMMJc+mrFw51R3C06JKC0D6u125RlEBULpg78No= -cloud.google.com/go/batch v1.11.2/go.mod h1:ehsVs8Y86Q4K+qhEStxICqQnNqH8cqgpCxx89cmU5h4= -cloud.google.com/go/batch v1.12.2 h1:gWQdvdPplptpvrkqF6ibtxZkOsYKLTFbxYawHa/TvCg= -cloud.google.com/go/batch v1.12.2/go.mod h1:tbnuTN/Iw59/n1yjAYKV2aZUjvMM2VJqAgvUgft6UEU= -cloud.google.com/go/beyondcorp v1.1.2 h1:hzKZf9ScvqTWqR8xGKVvD35ScQuxbMySELvJ0OW1usI= -cloud.google.com/go/beyondcorp v1.1.2/go.mod h1:q6YWSkEsSZTU2WDt1qtz6P5yfv79wgktGtNbd0FJTLI= -cloud.google.com/go/beyondcorp v1.1.6 h1:4FcR+4QmcNGkhVij6TrYS4AQVNLBo7PBXKxNrKzpclQ= -cloud.google.com/go/beyondcorp v1.1.6/go.mod h1:V1PigSWPGh5L/vRRmyutfnjAbkxLI2aWqJDdxKbwvsQ= -cloud.google.com/go/bigquery v1.64.0 h1:vSSZisNyhr2ioJE1OuYBQrnrpB7pIhRQm4jfjc7E/js= -cloud.google.com/go/bigquery v1.64.0/go.mod h1:gy8Ooz6HF7QmA+TRtX8tZmXBKH5mCFBwUApGAb3zI7Y= -cloud.google.com/go/bigquery v1.69.0 h1:rZvHnjSUs5sHK3F9awiuFk2PeOaB8suqNuim21GbaTc= -cloud.google.com/go/bigquery v1.69.0/go.mod h1:TdGLquA3h/mGg+McX+GsqG9afAzTAcldMjqhdjHTLew= -cloud.google.com/go/bigtable v1.33.0 h1:2BDaWLRAwXO14DJL/u8crbV2oUbMZkIa2eGq8Yao1bk= -cloud.google.com/go/bigtable v1.33.0/go.mod h1:HtpnH4g25VT1pejHRtInlFPnN5sjTxbQlsYBjh9t5l0= -cloud.google.com/go/bigtable v1.37.0 h1:Q+x7y04lQ0B+WXp03wc1/FLhFt4CwcQdkwWT0M4Jp3w= -cloud.google.com/go/bigtable v1.37.0/go.mod h1:HXqddP6hduwzrtiTCqZPpj9ij4hGZb4Zy1WF/dT+yaU= -cloud.google.com/go/billing v1.19.2 h1:shcyz1UkrUxbPsqHL6L84ZdtBZ7yocaFFCxMInTsrNo= -cloud.google.com/go/billing v1.19.2/go.mod h1:AAtih/X2nka5mug6jTAq8jfh1nPye0OjkHbZEZgU59c= -cloud.google.com/go/billing v1.20.4 h1:pqM5/c9UGydB9H90IPCxSvfCNLUPazAOSMsZkz5q5P4= -cloud.google.com/go/billing v1.20.4/go.mod h1:hBm7iUmGKGCnBm6Wp439YgEdt+OnefEq/Ib9SlJYxIU= -cloud.google.com/go/binaryauthorization v1.9.2 h1:zZX4cvtYSXc5ogOar1w5KA1BLz3j464RPSaR/HhroJ8= -cloud.google.com/go/binaryauthorization v1.9.2/go.mod h1:T4nOcRWi2WX4bjfSRXJkUnpliVIqjP38V88Z10OvEv4= -cloud.google.com/go/binaryauthorization v1.9.5 h1:T0zYEroXT+y0O/x/yZd5SwQdFv4UbUINjvJyJKzDm0Q= -cloud.google.com/go/binaryauthorization v1.9.5/go.mod h1:CV5GkS2eiY461Bzv+OH3r5/AsuB6zny+MruRju3ccB8= -cloud.google.com/go/certificatemanager v1.9.2 h1:/lO1ejN415kRaiO6DNNCHj0UvQujKP714q3l8gp4lsY= -cloud.google.com/go/certificatemanager v1.9.2/go.mod h1:PqW+fNSav5Xz8bvUnJpATIRo1aaABP4mUg/7XIeAn6c= -cloud.google.com/go/certificatemanager v1.9.5 h1:+ZPglfDurCcsv4azizDFpBucD1IkRjWjbnU7zceyjfY= -cloud.google.com/go/certificatemanager v1.9.5/go.mod h1:kn7gxT/80oVGhjL8rurMUYD36AOimgtzSBPadtAeffs= -cloud.google.com/go/channel v1.19.1 h1:l4XcnfzJ5UGmqZQls0atcpD6ERDps4PLd5hXSyTWFv0= -cloud.google.com/go/channel v1.19.1/go.mod h1:ungpP46l6XUeuefbA/XWpWWnAY3897CSRPXUbDstwUo= -cloud.google.com/go/channel v1.19.5 h1:UI+ZsRkS15hi9DRF+WAvTVLVuSeZiRmvCU8cjkjOwUU= -cloud.google.com/go/channel v1.19.5/go.mod h1:vevu+LK8Oy1Yuf7lcpDbkQQQm5I7oiY5fFTn3uwfQLY= -cloud.google.com/go/cloudbuild v1.19.0 h1:Uo0bL251yvyWsNtO3Og9m5Z4S48cgGf3IUX7xzOcl8s= -cloud.google.com/go/cloudbuild v1.19.0/go.mod h1:ZGRqbNMrVGhknIIjwASa6MqoRTOpXIVMSI+Ew5DMPuY= -cloud.google.com/go/cloudbuild v1.22.2 h1:4LlrIFa3IFLgD1mGEXmUE4cm9fYoU71OLwTvjM7Dg3c= -cloud.google.com/go/cloudbuild v1.22.2/go.mod h1:rPyXfINSgMqMZvuTk1DbZcbKYtvbYF/i9IXQ7eeEMIM= -cloud.google.com/go/clouddms v1.8.2 h1:U53ztLRgTkclaxgmBBles+tv+nNcZ5fhbRbw3b2axFw= -cloud.google.com/go/clouddms v1.8.2/go.mod h1:pe+JSp12u4mYOkwXpSMouyCCuQHL3a6xvWH2FgOcAt4= -cloud.google.com/go/clouddms v1.8.7 h1:IWJbQBEECTaNanDRN1XdR7FU53MJ1nylTl3s9T3MuyI= -cloud.google.com/go/clouddms v1.8.7/go.mod h1:DhWLd3nzHP8GoHkA6hOhso0R9Iou+IGggNqlVaq/KZ4= -cloud.google.com/go/cloudsqlconn v1.18.0 h1:mP6TY/7I+nrnIh6vmbWCRJPxpFBZSL6AZhW6HaYC/OI= -cloud.google.com/go/cloudsqlconn v1.18.0/go.mod h1:58bxZZ17Mz5D83ddMT8x6w56yKpcmVXyaOwGWkzGcMw= -cloud.google.com/go/cloudtasks v1.13.2 h1:x6Qw5JyNbH3reL0arUtlYf77kK6OVjZZ//8JCvUkLro= -cloud.google.com/go/cloudtasks v1.13.2/go.mod h1:2pyE4Lhm7xY8GqbZKLnYk7eeuh8L0JwAvXx1ecKxYu8= -cloud.google.com/go/cloudtasks v1.13.6 h1:Fwan19UiNoFD+3KY0MnNHE5DyixOxNzS1mZ4ChOdpy0= -cloud.google.com/go/cloudtasks v1.13.6/go.mod h1:/IDaQqGKMixD+ayM43CfsvWF2k36GeomEuy9gL4gLmU= -cloud.google.com/go/compute v1.29.0 h1:Lph6d8oPi38NHkOr6S55Nus/Pbbcp37m/J0ohgKAefs= -cloud.google.com/go/compute v1.29.0/go.mod h1:HFlsDurE5DpQZClAGf/cYh+gxssMhBxBovZDYkEn/Og= -cloud.google.com/go/compute v1.38.0 h1:MilCLYQW2m7Dku8hRIIKo4r0oKastlD74sSu16riYKs= -cloud.google.com/go/compute v1.38.0/go.mod h1:oAFNIuXOmXbK/ssXm3z4nZB8ckPdjltJ7xhHCdbWFZM= -cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= -cloud.google.com/go/compute/metadata v0.6.0 h1:A6hENjEsCDtC1k8byVsgwvVcioamEHvZ4j01OwKxG9I= -cloud.google.com/go/compute/metadata v0.6.0/go.mod h1:FjyFAW1MW0C203CEOMDTu3Dk1FlqW3Rga40jzHL4hfg= -cloud.google.com/go/compute/metadata v0.7.0/go.mod h1:j5MvL9PprKL39t166CoB1uVHfQMs4tFQZZcKwksXUjo= -cloud.google.com/go/compute/metadata v0.8.0 h1:HxMRIbao8w17ZX6wBnjhcDkW6lTFpgcaobyVfZWqRLA= -cloud.google.com/go/compute/metadata v0.8.0/go.mod h1:sYOGTp851OV9bOFJ9CH7elVvyzopvWQFNNghtDQ/Biw= -cloud.google.com/go/contactcenterinsights v1.15.1 h1:cR/gQMweaG8RIWAlS5Jo1ARi8LUVQJ51t84EUefHeZ8= -cloud.google.com/go/contactcenterinsights v1.15.1/go.mod h1:cFGxDVm/OwEVAHbU9UO4xQCtQFn0RZSrSUcF/oJ0Bbs= -cloud.google.com/go/contactcenterinsights v1.17.3 h1:lenyU3uzHwKDveCwmpfNxHYvLS3uEBWdn+O7+rSxy+Q= -cloud.google.com/go/contactcenterinsights v1.17.3/go.mod h1:7Uu2CpxS3f6XxhRdlEzYAkrChpR5P5QfcdGAFEdHOG8= -cloud.google.com/go/container v1.42.0 h1:sH9Hj9SoLeP+uKvLXc/04nWyWDiMo4Q85xfb1Nl5sAg= -cloud.google.com/go/container v1.42.0/go.mod h1:YL6lDgCUi3frIWNIFU9qrmF7/6K1EYrtspmFTyyqJ+k= -cloud.google.com/go/container v1.43.0 h1:A6J92FJPfxTvyX7MHF+w4t2W9WCqvHOi9UB5SAeSy3w= -cloud.google.com/go/container v1.43.0/go.mod h1:ETU9WZ1KM9ikEKLzrhRVao7KHtalDQu6aPqM34zDr/U= -cloud.google.com/go/containeranalysis v0.13.2 h1:AG2gOcfZJFRiz+3SZCPnxU+gwbzKe++QSX/ej71Lom8= -cloud.google.com/go/containeranalysis v0.13.2/go.mod h1:AiKvXJkc3HiqkHzVIt6s5M81wk+q7SNffc6ZlkTDgiE= -cloud.google.com/go/containeranalysis v0.14.1 h1:1SoHlNqL3XrhqcoozB+3eoHif2sRUFtp/JeASQTtGKo= -cloud.google.com/go/containeranalysis v0.14.1/go.mod h1:28e+tlZgauWGHmEbnI5UfIsjMmrkoR1tFN0K2i71jBI= -cloud.google.com/go/datacatalog v1.23.0 h1:9F2zIbWNNmtrSkPIyGRQNsIugG5VgVVFip6+tXSdWLg= -cloud.google.com/go/datacatalog v1.23.0/go.mod h1:9Wamq8TDfL2680Sav7q3zEhBJSPBrDxJU8WtPJ25dBM= -cloud.google.com/go/datacatalog v1.26.0 h1:eFgygb3DTufTWWUB8ARk+dSuXz+aefNJXTlkWlQcWwE= -cloud.google.com/go/datacatalog v1.26.0/go.mod h1:bLN2HLBAwB3kLTFT5ZKLHVPj/weNz6bR0c7nYp0LE14= -cloud.google.com/go/dataflow v0.10.2 h1:o9P5/zR2mOYJmCnfp9/7RprKFZCwmSu3TvemQSmCaFM= -cloud.google.com/go/dataflow v0.10.2/go.mod h1:+HIb4HJxDCZYuCqDGnBHZEglh5I0edi/mLgVbxDf0Ag= -cloud.google.com/go/dataflow v0.11.0 h1:AdhB4cAkMOC9NtrHJxpKOVvO/VqBLaIyk0tEEhbGjYM= -cloud.google.com/go/dataflow v0.11.0/go.mod h1:gNHC9fUjlV9miu0hd4oQaXibIuVYTQvZhMdPievKsPk= -cloud.google.com/go/dataform v0.10.2 h1:t16DoejuOHoxJR88qrpdmFFlCXA9+x5PKrqI9qiDYz0= -cloud.google.com/go/dataform v0.10.2/go.mod h1:oZHwMBxG6jGZCVZqqMx+XWXK+dA/ooyYiyeRbUxI15M= -cloud.google.com/go/dataform v0.12.0 h1:0eCPTPUC/RZ863aVfXTJLkg0tEpdpn62VD6ywSmmzxM= -cloud.google.com/go/dataform v0.12.0/go.mod h1:PuDIEY0lSVuPrZqcFji1fmr5RRvz3DGz4YP/cONc8g4= -cloud.google.com/go/datafusion v1.8.2 h1:RPoHvIeXexXwlWhEU6DNgrYCh+C+FR2EXbrnMs2ptpI= -cloud.google.com/go/datafusion v1.8.2/go.mod h1:XernijudKtVG/VEvxtLv08COyVuiYPraSxm+8hd4zXA= -cloud.google.com/go/datafusion v1.8.6 h1:GZ6J+CR8CEeWAj8luRCtr8GvImSQRkArIIqGiZOnzBA= -cloud.google.com/go/datafusion v1.8.6/go.mod h1:fCyKJF2zUKC+O3hc2F9ja5EUCAbT4zcH692z8HiFZFw= -cloud.google.com/go/datalabeling v0.9.2 h1:UesbU2kYIUWhHUcnFS86ANPbugEq98X9k1whTNcenlc= -cloud.google.com/go/datalabeling v0.9.2/go.mod h1:8me7cCxwV/mZgYWtRAd3oRVGFD6UyT7hjMi+4GRyPpg= -cloud.google.com/go/datalabeling v0.9.6 h1:VOZ5U+78ttnhNCEID7qdeogqZQzK5N+LPHIQ9Q3YDsc= -cloud.google.com/go/datalabeling v0.9.6/go.mod h1:n7o4x0vtPensZOoFwFa4UfZgkSZm8Qs0Pg/T3kQjXSM= -cloud.google.com/go/dataplex v1.19.2 h1:R2xnsZnuWpHi2NmBR0e43GZk2IZcQ1AFEAo1fUI0xsw= -cloud.google.com/go/dataplex v1.19.2/go.mod h1:vsxxdF5dgk3hX8Ens9m2/pMNhQZklUhSgqTghZtF1v4= -cloud.google.com/go/dataplex v1.25.3 h1:Xr0Toh6wyBlmL3H4EPu1YKwxUtkDSzzq+IP0iLc88kk= -cloud.google.com/go/dataplex v1.25.3/go.mod h1:wOJXnOg6bem0tyslu4hZBTncfqcPNDpYGKzed3+bd+E= -cloud.google.com/go/dataproc v1.12.0 h1:W47qHL3W4BPkAIbk4SWmIERwsWBaNnWm0P2sdx3YgGU= -cloud.google.com/go/dataproc/v2 v2.10.0 h1:B0b7eLRXzFTzb4UaxkGGidIF23l/Xpyce28m1Q0cHmU= -cloud.google.com/go/dataproc/v2 v2.10.0/go.mod h1:HD16lk4rv2zHFhbm8gGOtrRaFohMDr9f0lAUMLmg1PM= -cloud.google.com/go/dataproc/v2 v2.11.2 h1:KhC8wdLILpAs17yeTG6Miwg1v0nOP/OXD+9QNg3w6AQ= -cloud.google.com/go/dataproc/v2 v2.11.2/go.mod h1:xwukBjtfiO4vMEa1VdqyFLqJmcv7t3lo+PbLDcTEw+g= -cloud.google.com/go/dataqna v0.9.2 h1:hrEcid5jK5fEdlYZ0eS8HJoq+ZCTRWSV7Av42V/G994= -cloud.google.com/go/dataqna v0.9.2/go.mod h1:WCJ7pwD0Mi+4pIzFQ+b2Zqy5DcExycNKHuB+VURPPgs= -cloud.google.com/go/dataqna v0.9.7 h1:qTRAG/E3T63Xj1orefRlwupfwH9c9ERUAnWSRGp75so= -cloud.google.com/go/dataqna v0.9.7/go.mod h1:4ac3r7zm7Wqm8NAc8sDIDM0v7Dz7d1e/1Ka1yMFanUM= -cloud.google.com/go/datastore v1.20.0 h1:NNpXoyEqIJmZFc0ACcwBEaXnmscUpcG4NkKnbCePmiM= -cloud.google.com/go/datastore v1.20.0/go.mod h1:uFo3e+aEpRfHgtp5pp0+6M0o147KoPaYNaPAKpfh8Ew= -cloud.google.com/go/datastream v1.11.2 h1:vgtrwwPfY7JFEDD0VARJK4qyiApnFnPkFRQVuczYb/w= -cloud.google.com/go/datastream v1.11.2/go.mod h1:RnFWa5zwR5SzHxeZGJOlQ4HKBQPcjGfD219Qy0qfh2k= -cloud.google.com/go/datastream v1.14.1 h1:j+y0lUKm9pbDjJn0YcWxPI/hXNGUQ80GE6yrFuJC/JA= -cloud.google.com/go/datastream v1.14.1/go.mod h1:JqMKXq/e0OMkEgfYe0nP+lDye5G2IhIlmencWxmesMo= -cloud.google.com/go/deploy v1.25.0 h1:nYLFG2TSsYMJuengVru5P8iWnA5mNA4rKFV5YoOWQ3M= -cloud.google.com/go/deploy v1.25.0/go.mod h1:h9uVCWxSDanXUereI5WR+vlZdbPJ6XGy+gcfC25v5rM= -cloud.google.com/go/deploy v1.27.2 h1:C0VqBhFyQFp6+xgPHZAD7LeRA4XGy5YLzGmPQ2NhlLk= -cloud.google.com/go/deploy v1.27.2/go.mod h1:4NHWE7ENry2A4O1i/4iAPfXHnJCZ01xckAKpZQwhg1M= -cloud.google.com/go/dialogflow v1.60.0 h1:H+Q1SUeVU2La0Y0ZGEaKkhEXg3bj9Ceg5YKcMbyNOEc= -cloud.google.com/go/dialogflow v1.60.0/go.mod h1:PjsrI+d2FI4BlGThxL0+Rua/g9vLI+2A1KL7s/Vo3pY= -cloud.google.com/go/dialogflow v1.68.2 h1:bXpoqPRf37KKxB79PKr20B/TAU/Z5iA0FnB6C5N2jrA= -cloud.google.com/go/dialogflow v1.68.2/go.mod h1:E0Ocrhf5/nANZzBju8RX8rONf0PuIvz2fVj3XkbAhiY= -cloud.google.com/go/dlp v1.20.0 h1:Wwz1FoZp3pyrTNkS5fncaAccP/AbqzLQuN5WMi3aVYQ= -cloud.google.com/go/dlp v1.20.0/go.mod h1:nrGsA3r8s7wh2Ct9FWu69UjBObiLldNyQda2RCHgdaY= -cloud.google.com/go/dlp v1.23.0 h1:3xWRKylXxhysaQaV+DLev1YcIywFUCc7yJEE6R7ZGDQ= -cloud.google.com/go/dlp v1.23.0/go.mod h1:vVT4RlyPMEMcVHexdPT6iMVac3seq3l6b8UPdYpgFrg= -cloud.google.com/go/documentai v1.35.0 h1:DO4ut86a+Xa0gBq7j3FZJPavnKBNoznrg44csnobqIY= -cloud.google.com/go/documentai v1.35.0/go.mod h1:ZotiWUlDE8qXSUqkJsGMQqVmfTMYATwJEYqbPXTR9kk= -cloud.google.com/go/documentai v1.37.0 h1:7fla8GcarupO15eatRTUveXCob6DOSW1Wa+1i63CM3Q= -cloud.google.com/go/documentai v1.37.0/go.mod h1:qAf3ewuIUJgvSHQmmUWvM3Ogsr5A16U2WPHmiJldvLA= -cloud.google.com/go/domains v0.10.2 h1:ekJCkuzbciXyPKkwPwvI+2Ov1GcGJtMXj/fbgilPFqg= -cloud.google.com/go/domains v0.10.2/go.mod h1:oL0Wsda9KdJvvGNsykdalHxQv4Ri0yfdDkIi3bzTUwk= -cloud.google.com/go/domains v0.10.6 h1:TI+Aavwc31KD8huOquJz0ISchCq1zSEWc9M+JcPJyxc= -cloud.google.com/go/domains v0.10.6/go.mod h1:3xzG+hASKsVBA8dOPc4cIaoV3OdBHl1qgUpAvXK7pGY= -cloud.google.com/go/edgecontainer v1.4.0 h1:vpKTEkQPpkl55d6aUU2rzDFvTkMUATvBXfZSlI2KMR0= -cloud.google.com/go/edgecontainer v1.4.0/go.mod h1:Hxj5saJT8LMREmAI9tbNTaBpW5loYiWFyisCjDhzu88= -cloud.google.com/go/edgecontainer v1.4.3 h1:9tfGCicvrki927T+hGMB0yYmwIbRuZY6JR1/awrKiZ0= -cloud.google.com/go/edgecontainer v1.4.3/go.mod h1:q9Ojw2ox0uhAvFisnfPRAXFTB1nfRIOIXVWzdXMZLcE= -cloud.google.com/go/errorreporting v0.3.1 h1:E/gLk+rL7u5JZB9oq72iL1bnhVlLrnfslrgcptjJEUE= -cloud.google.com/go/errorreporting v0.3.1/go.mod h1:6xVQXU1UuntfAf+bVkFk6nld41+CPyF2NSPCyXE3Ztk= -cloud.google.com/go/errorreporting v0.3.2 h1:isaoPwWX8kbAOea4qahcmttoS79+gQhvKsfg5L5AgH8= -cloud.google.com/go/errorreporting v0.3.2/go.mod h1:s5kjs5r3l6A8UUyIsgvAhGq6tkqyBCUss0FRpsoVTww= -cloud.google.com/go/essentialcontacts v1.7.2 h1:a/reGTn7WblM5DgieiLbX6CswHgTneWrA4ZNS5E+1Bg= -cloud.google.com/go/essentialcontacts v1.7.2/go.mod h1:NoCBlOIVteJFJU+HG9dIG/Cc9kt1K9ys9mbOaGPUmPc= -cloud.google.com/go/essentialcontacts v1.7.6 h1:ysHZ4gr4plW1CL1Ur/AucUUfh20hDjSFbfjxSK0q/sk= -cloud.google.com/go/essentialcontacts v1.7.6/go.mod h1:/Ycn2egr4+XfmAfxpLYsJeJlVf9MVnq9V7OMQr9R4lA= -cloud.google.com/go/eventarc v1.15.0 h1:IVU2EOR8P2f6N8eneuwspN122LR87v9G54B+7ihd1TY= -cloud.google.com/go/eventarc v1.15.0/go.mod h1:PAd/pPIZdJtJQFJI1yDEUms1mqohdNuM1BFEVHHlVFg= -cloud.google.com/go/eventarc v1.15.5 h1:bZW7ZMM+XXNErg6rOZcgxUzAgz4vpReRDP3ZiGf7/sI= -cloud.google.com/go/eventarc v1.15.5/go.mod h1:vDCqGqyY7SRiickhEGt1Zhuj81Ya4F/NtwwL3OZNskg= -cloud.google.com/go/filestore v1.9.2 h1:DYwMNAcF5bELHHMxRdkIWWZ3XicKp+ZpEBy+c6Gt4uY= -cloud.google.com/go/filestore v1.9.2/go.mod h1:I9pM7Hoetq9a7djC1xtmtOeHSUYocna09ZP6x+PG1Xw= -cloud.google.com/go/filestore v1.10.2 h1:LjoAyp9TvVNBns3sUUzPaNsQiGpR2BReGmTS3bUCuBE= -cloud.google.com/go/filestore v1.10.2/go.mod h1:w0Pr8uQeSRQfCPRsL0sYKW6NKyooRgixCkV9yyLykR4= -cloud.google.com/go/firestore v1.17.0 h1:iEd1LBbkDZTFsLw3sTH50eyg4qe8eoG6CjocmEXO9aQ= -cloud.google.com/go/firestore v1.17.0/go.mod h1:69uPx1papBsY8ZETooc71fOhoKkD70Q1DwMrtKuOT/Y= -cloud.google.com/go/firestore v1.18.0 h1:cuydCaLS7Vl2SatAeivXyhbhDEIR8BDmtn4egDhIn2s= -cloud.google.com/go/firestore v1.18.0/go.mod h1:5ye0v48PhseZBdcl0qbl3uttu7FIEwEYVaWm0UIEOEU= -cloud.google.com/go/functions v1.19.2 h1:Cu2Gj1JBBJv9gi89r8LrZNsJhGwePnhttn4Blqw/EYI= -cloud.google.com/go/functions v1.19.2/go.mod h1:SBzWwWuaFDLnUyStDAMEysVN1oA5ECLbP3/PfJ9Uk7Y= -cloud.google.com/go/functions v1.19.6 h1:vJgWlvxtJG6p/JrbXAkz83DbgwOyFhZZI1Y32vUddjY= -cloud.google.com/go/functions v1.19.6/go.mod h1:0G0RnIlbM4MJEycfbPZlCzSf2lPOjL7toLDwl+r0ZBw= -cloud.google.com/go/gaming v1.9.0 h1:7vEhFnZmd931Mo7sZ6pJy7uQPDxF7m7v8xtBheG08tc= -cloud.google.com/go/gkebackup v1.6.2 h1:lWaSgjSonOXe41UhwQjts6lhDZdr5e882LNUTtnjZS0= -cloud.google.com/go/gkebackup v1.6.2/go.mod h1:WsTSWqKJkGan1pkp5dS30oxb+Eaa6cLvxEUxKTUALwk= -cloud.google.com/go/gkebackup v1.8.0 h1:eBqOt61yEChvj7I/GDPBbdCCRdUPudD1qrQYfYWV3Ok= -cloud.google.com/go/gkebackup v1.8.0/go.mod h1:FjsjNldDilC9MWKEHExnK3kKJyTDaSdO1vF0QeWSOPU= -cloud.google.com/go/gkeconnect v0.12.0 h1:MuA3/aIuncXkXuUDGdbT7OLnIp7xpFhciuHAnQaoQz4= -cloud.google.com/go/gkeconnect v0.12.0/go.mod h1:zn37LsFiNZxPN4iO7YbUk8l/E14pAJ7KxpoXoxt7Ly0= -cloud.google.com/go/gkeconnect v0.12.4 h1:67/rnPmF/I1Wmf7jWyKH+z4OWjU8ZUI0Vmzxvmzf3KY= -cloud.google.com/go/gkeconnect v0.12.4/go.mod h1:bvpU9EbBpZnXGo3nqJ1pzbHWIfA9fYqgBMJ1VjxaZdk= -cloud.google.com/go/gkehub v0.15.2 h1:CR5MPEP/Ogk5IahCq3O2fKS6TJZQi8mrnrysGHCs0g8= -cloud.google.com/go/gkehub v0.15.2/go.mod h1:8YziTOpwbM8LM3r9cHaOMy2rNgJHXZCrrmGgcau9zbQ= -cloud.google.com/go/gkehub v0.15.6 h1:9iogrmNNa+drDPf/zkLH/6KGgUf7FuuyokmithoGwMQ= -cloud.google.com/go/gkehub v0.15.6/go.mod h1:sRT0cOPAgI1jUJrS3gzwdYCJ1NEzVVwmnMKEwrS2QaM= -cloud.google.com/go/gkemulticloud v1.4.1 h1:SvVD2nJTGScEDYygIQ5dI14oFYhgtJx8HazkT3aufEI= -cloud.google.com/go/gkemulticloud v1.4.1/go.mod h1:KRvPYcx53bztNwNInrezdfNF+wwUom8Y3FuJBwhvFpQ= -cloud.google.com/go/gkemulticloud v1.5.3 h1:334aZmOzIt3LVBpguCof8IHaLaftcZlx+L0TGBukYkY= -cloud.google.com/go/gkemulticloud v1.5.3/go.mod h1:KPFf+/RcfvmuScqwS9/2MF5exZAmXSuoSLPuaQ98Xlk= -cloud.google.com/go/grafeas v0.2.0 h1:CYjC+xzdPvbV65gi6Dr4YowKcmLo045pm18L0DhdELM= -cloud.google.com/go/grafeas v0.3.11 h1:CobnwnyeY1j1Defi5vbEircI+jfrk3ci5m004ZjiFP4= -cloud.google.com/go/grafeas v0.3.11/go.mod h1:dcQyG2+T4tBgG0MvJAh7g2wl/xHV2w+RZIqivwuLjNg= -cloud.google.com/go/grafeas v0.3.15/go.mod h1:irwcwIQOBlLBotGdMwme8PipnloOPqILfIvMwlmu8Pk= -cloud.google.com/go/gsuiteaddons v1.7.2 h1:Rma+a2tCB2PV0Rm87Ywr4P96dCwGIm8vw8gF23ZlYoY= -cloud.google.com/go/gsuiteaddons v1.7.2/go.mod h1:GD32J2rN/4APilqZw4JKmwV84+jowYYMkEVwQEYuAWc= -cloud.google.com/go/gsuiteaddons v1.7.7 h1:sk0SxpCGIA7tIO//XdiiG29f2vrF6Pq/dsxxyBGiRBY= -cloud.google.com/go/gsuiteaddons v1.7.7/go.mod h1:zTGmmKG/GEBCONsvMOY2ckDiEsq3FN+lzWGUiXccF9o= -cloud.google.com/go/iam v1.2.2 h1:ozUSofHUGf/F4tCNy/mu9tHLTaxZFLOUiKzjcgWHGIA= -cloud.google.com/go/iam v1.2.2/go.mod h1:0Ys8ccaZHdI1dEUilwzqng/6ps2YB6vRsjIe00/+6JY= -cloud.google.com/go/iam v1.5.2 h1:qgFRAGEmd8z6dJ/qyEchAuL9jpswyODjA2lS+w234g8= -cloud.google.com/go/iam v1.5.2/go.mod h1:SE1vg0N81zQqLzQEwxL2WI6yhetBdbNQuTvIKCSkUHE= -cloud.google.com/go/iap v1.10.2 h1:rvM+FNIF2wIbwUU8299FhhVGak2f7oOvbW8J/I5oflE= -cloud.google.com/go/iap v1.10.2/go.mod h1:cClgtI09VIfazEK6VMJr6bX8KQfuQ/D3xqX+d0wrUlI= -cloud.google.com/go/iap v1.11.2 h1:VIioCrYsyWiRGx7Y8RDNylpI6d4t1Qx5ZgSLUVmWWPo= -cloud.google.com/go/iap v1.11.2/go.mod h1:Bh99DMUpP5CitL9lK0BC8MYgjjYO4b3FbyhgW1VHJvg= -cloud.google.com/go/ids v1.5.2 h1:EDYZQraE+Eq6BewUQxVRY8b3VUUo/MnjMfzSh1NGjx8= -cloud.google.com/go/ids v1.5.2/go.mod h1:P+ccDD96joXlomfonEdCnyrHvE68uLonc7sJBPVM5T0= -cloud.google.com/go/ids v1.5.6 h1:uKGuaWozDcjg3wyf54Gd7tCH2YK8BFeH9qo1xBNiPKE= -cloud.google.com/go/ids v1.5.6/go.mod h1:y3SGLmEf9KiwKsH7OHvYYVNIJAtXybqsD2z8gppsziQ= -cloud.google.com/go/iot v1.8.2 h1:KMN0wujrPV7q0yfs4rt5CUl9Di8sQhJ0uohJn1h6yaI= -cloud.google.com/go/iot v1.8.2/go.mod h1:UDwVXvRD44JIcMZr8pzpF3o4iPsmOO6fmbaIYCAg1ww= -cloud.google.com/go/iot v1.8.6 h1:A3AhugnIViAZkC3/lHAQDaXBIk2ZOPBZS0XQCyZsjjc= -cloud.google.com/go/iot v1.8.6/go.mod h1:MThnkiihNkMysWNeNje2Hp0GSOpEq2Wkb/DkBCVYa0U= -cloud.google.com/go/kms v1.20.1 h1:og29Wv59uf2FVaZlesaiDAqHFzHaoUyHI3HYp9VUHVg= -cloud.google.com/go/kms v1.20.1/go.mod h1:LywpNiVCvzYNJWS9JUcGJSVTNSwPwi0vBAotzDqn2nc= -cloud.google.com/go/kms v1.22.0 h1:dBRIj7+GDeeEvatJeTB19oYZNV0aj6wEqSIT/7gLqtk= -cloud.google.com/go/kms v1.22.0/go.mod h1:U7mf8Sva5jpOb4bxYZdtw/9zsbIjrklYwPcvMk34AL8= -cloud.google.com/go/language v1.14.2 h1:rwrIOwcAgPTYbigOaiMSjKCvBy0xHZJbRc7HB/xMECA= -cloud.google.com/go/language v1.14.2/go.mod h1:dviAbkxT9art+2ioL9AM05t+3Ql6UPfMpwq1cDsF+rg= -cloud.google.com/go/language v1.14.5 h1:BVJ/POtlnJ55LElvnQY19UOxpMVtHoHHkFJW2uHJsVU= -cloud.google.com/go/language v1.14.5/go.mod h1:nl2cyAVjcBct1Hk73tzxuKebk0t2eULFCaruhetdZIA= -cloud.google.com/go/lifesciences v0.10.2 h1:eZSaRgBwbnb/oXwCj1SGE0Kp534DuXpg55iYBWgN024= -cloud.google.com/go/lifesciences v0.10.2/go.mod h1:vXDa34nz0T/ibUNoeHnhqI+Pn0OazUTdxemd0OLkyoY= -cloud.google.com/go/lifesciences v0.10.6 h1:Vu7XF4s5KJ8+mSLIL4eaQM6JTyWXvSB54oqC+CUZH20= -cloud.google.com/go/lifesciences v0.10.6/go.mod h1:1nnZwaZcBThDujs9wXzECnd1S5d+UiDkPuJWAmhRi7Q= -cloud.google.com/go/logging v1.12.0 h1:ex1igYcGFd4S/RZWOCU51StlIEuey5bjqwH9ZYjHibk= -cloud.google.com/go/logging v1.12.0/go.mod h1:wwYBt5HlYP1InnrtYI0wtwttpVU1rifnMT7RejksUAM= -cloud.google.com/go/logging v1.13.0 h1:7j0HgAp0B94o1YRDqiqm26w4q1rDMH7XNRU34lJXHYc= -cloud.google.com/go/logging v1.13.0/go.mod h1:36CoKh6KA/M0PbhPKMq6/qety2DCAErbhXT62TuXALA= -cloud.google.com/go/longrunning v0.5.6/go.mod h1:vUaDrWYOMKRuhiv6JBnn49YxCPz2Ayn9GqyjaBT8/mA= -cloud.google.com/go/longrunning v0.6.2 h1:xjDfh1pQcWPEvnfjZmwjKQEcHnpz6lHjfy7Fo0MK+hc= -cloud.google.com/go/longrunning v0.6.2/go.mod h1:k/vIs83RN4bE3YCswdXC5PFfWVILjm3hpEUlSko4PiI= -cloud.google.com/go/longrunning v0.6.7 h1:IGtfDWHhQCgCjwQjV9iiLnUta9LBCo8R9QmAFsS/PrE= -cloud.google.com/go/longrunning v0.6.7/go.mod h1:EAFV3IZAKmM56TyiE6VAP3VoTzhZzySwI/YI1s/nRsY= -cloud.google.com/go/managedidentities v1.7.2 h1:oWxuIhIwQC1Vfs1SZi1x389W2TV9uyPsAyZMJgZDND4= -cloud.google.com/go/managedidentities v1.7.2/go.mod h1:t0WKYzagOoD3FNtJWSWcU8zpWZz2i9cw2sKa9RiPx5I= -cloud.google.com/go/managedidentities v1.7.6 h1:zrZVWXZJlmHnfpyCrTQIbDBGUBHrcOOvrsjMjoXRxrk= -cloud.google.com/go/managedidentities v1.7.6/go.mod h1:pYCWPaI1AvR8Q027Vtp+SFSM/VOVgbjBF4rxp1/z5p4= -cloud.google.com/go/maps v1.15.0 h1:bmFHlO6BL/smC6GD45r5j0ChjsyyevuJCSARdOL62TI= -cloud.google.com/go/maps v1.15.0/go.mod h1:ZFqZS04ucwFiHSNU8TBYDUr3wYhj5iBFJk24Ibvpf3o= -cloud.google.com/go/maps v1.21.0 h1:El61AfMxC1sU/RU8Wzs9dkZEgltyunKM86aKF9aDlaE= -cloud.google.com/go/maps v1.21.0/go.mod h1:cqzZ7+DWUKKbPTgqE+KuNQtiCRyg/o7WZF9zDQk+HQs= -cloud.google.com/go/mediatranslation v0.9.2 h1:p37R/k9+L33bUMO87gFyv93MwJ+9nuzVhXM5X+6ULwA= -cloud.google.com/go/mediatranslation v0.9.2/go.mod h1:1xyRoDYN32THzy+QaU62vIMciX0CFexplju9t30XwUc= -cloud.google.com/go/mediatranslation v0.9.6 h1:SDGatA73TgZ8iCvILVXpk/1qhTK5DJyufUDEWgbmbV8= -cloud.google.com/go/mediatranslation v0.9.6/go.mod h1:WS3QmObhRtr2Xu5laJBQSsjnWFPPthsyetlOyT9fJvE= -cloud.google.com/go/memcache v1.11.2 h1:GGgC2A9AClJN8VLbMUAPUxj/dNMFwz6Lj01gDxPw7os= -cloud.google.com/go/memcache v1.11.2/go.mod h1:jIzHn79b0m5wbkax2SdlW5vNSbpaEk0yWHbeLpMIYZE= -cloud.google.com/go/memcache v1.11.6 h1:33IVqQEmFiITsBXwGHeTkUhWz0kLNKr90nV3e22uLPs= -cloud.google.com/go/memcache v1.11.6/go.mod h1:ZM6xr1mw3F8TWO+In7eq9rKlJc3jlX2MDt4+4H+/+cc= -cloud.google.com/go/metastore v1.14.2 h1:Euc9kLTKS8T6M1JVqQavwDFHu9UtT1//lGXSKjpO3/0= -cloud.google.com/go/metastore v1.14.2/go.mod h1:dk4zOBhZIy3TFOQlI8sbOa+ef0FjAcCHEnd8dO2J+LE= -cloud.google.com/go/metastore v1.14.7 h1:dLm59AHHZCorveCylj7c2iWhkQsmMIeWTsV+tG/BXtY= -cloud.google.com/go/metastore v1.14.7/go.mod h1:0dka99KQofeUgdfu+K/Jk1KeT9veWZlxuZdJpZPtuYU= -cloud.google.com/go/monitoring v1.21.2 h1:FChwVtClH19E7pJ+e0xUhJPGksctZNVOk2UhMmblmdU= -cloud.google.com/go/monitoring v1.21.2/go.mod h1:hS3pXvaG8KgWTSz+dAdyzPrGUYmi2Q+WFX8g2hqVEZU= -cloud.google.com/go/monitoring v1.24.2 h1:5OTsoJ1dXYIiMiuL+sYscLc9BumrL3CarVLL7dd7lHM= -cloud.google.com/go/monitoring v1.24.2/go.mod h1:x7yzPWcgDRnPEv3sI+jJGBkwl5qINf+6qY4eq0I9B4U= -cloud.google.com/go/networkconnectivity v1.15.2 h1:CuBLrRKhPbzXkFGADopQUpMcdY+SSfoy/3RqsMH2pq4= -cloud.google.com/go/networkconnectivity v1.15.2/go.mod h1:N1O01bEk5z9bkkWwXLKcN2T53QN49m/pSpjfUvlHDQY= -cloud.google.com/go/networkconnectivity v1.17.1 h1:RQcG1rZNCNV5Dn3tnINs4TYswDXk2hKH+85eh+JvoWU= -cloud.google.com/go/networkconnectivity v1.17.1/go.mod h1:DTZCq8POTkHgAlOAAEDQF3cMEr/B9k1ZbpklqvHEBtg= -cloud.google.com/go/networkmanagement v1.16.0 h1:oT7c2Oo9NT54XjnP4GMNj/HEywrFnBz0u6QLJ2iu8NE= -cloud.google.com/go/networkmanagement v1.16.0/go.mod h1:Yc905R9U5jik5YMt76QWdG5WqzPU4ZsdI/mLnVa62/Q= -cloud.google.com/go/networkmanagement v1.19.1 h1:ecukgArkYCVcK5w2h7WDDd+nHgmBAp9Bst7ClmVKz5A= -cloud.google.com/go/networkmanagement v1.19.1/go.mod h1:icgk265dNnilxQzpr6rO9WuAuuCmUOqq9H6WBeM2Af4= -cloud.google.com/go/networksecurity v0.10.2 h1://zFZM8XZZs+3Y6QKuLqwD5tZ+B/17KUo/rJpGW2tJs= -cloud.google.com/go/networksecurity v0.10.2/go.mod h1:puU3Gwchd6Y/VTyMkL50GI2RSRMS3KXhcDBY1HSOcck= -cloud.google.com/go/networksecurity v0.10.6 h1:6b6fcCG9BFNcmtNO+VuPE04vkZb5TKNX9+7ZhYMgstE= -cloud.google.com/go/networksecurity v0.10.6/go.mod h1:FTZvabFPvK2kR/MRIH3l/OoQ/i53eSix2KA1vhBMJec= -cloud.google.com/go/notebooks v1.12.2 h1:BHIH9kf/02wSCcLAVttEXHSFAgSotgRg2y1YjR7VDCc= -cloud.google.com/go/notebooks v1.12.2/go.mod h1:EkLwv8zwr8DUXnvzl944+sRBG+b73HEKzV632YYAGNI= -cloud.google.com/go/notebooks v1.12.6 h1:nCfZwVihArMPP2atRoxRrXOXJ/aC9rAgpBQGCc2zpYw= -cloud.google.com/go/notebooks v1.12.6/go.mod h1:3Z4TMEqAKP3pu6DI/U+aEXrNJw9hGZIVbp+l3zw8EuA= -cloud.google.com/go/optimization v1.7.2 h1:yM4teRB60qyIm8cV4VRW4wepmHbXCoqv3QKGfKzylEQ= -cloud.google.com/go/optimization v1.7.2/go.mod h1:msYgDIh1SGSfq6/KiWJQ/uxMkWq8LekPyn1LAZ7ifNE= -cloud.google.com/go/optimization v1.7.6 h1:jDvIuSxDsXI2P7l2sYXm6CoX1YBIIT6Khm5m0hq0/KQ= -cloud.google.com/go/optimization v1.7.6/go.mod h1:4MeQslrSJGv+FY4rg0hnZBR/tBX2awJ1gXYp6jZpsYY= -cloud.google.com/go/orchestration v1.11.1 h1:uZOwdQoAamx8+X0UdMqY/lro3/h/Zhb7SnfArufNVcc= -cloud.google.com/go/orchestration v1.11.1/go.mod h1:RFHf4g88Lbx6oKhwFstYiId2avwb6oswGeAQ7Tjjtfw= -cloud.google.com/go/orchestration v1.11.9 h1:PnlZ/O4R/eiounpxUkhI9ZXRMWbG7vFqxc6L6sR+31k= -cloud.google.com/go/orchestration v1.11.9/go.mod h1:KKXK67ROQaPt7AxUS1V/iK0Gs8yabn3bzJ1cLHw4XBg= -cloud.google.com/go/orgpolicy v1.14.1 h1:c1QLoM5v8/aDKgYVCUaC039lD3GPvqAhTVOwsGhIoZQ= -cloud.google.com/go/orgpolicy v1.14.1/go.mod h1:1z08Hsu1mkoH839X7C8JmnrqOkp2IZRSxiDw7W/Xpg4= -cloud.google.com/go/orgpolicy v1.15.0 h1:uQziDu3UKYk9ZwUgneZAW5aWxZFKgOXXsuVKFKh0z7Y= -cloud.google.com/go/orgpolicy v1.15.0/go.mod h1:NTQLwgS8N5cJtdfK55tAnMGtvPSsy95JJhESwYHaJVs= -cloud.google.com/go/osconfig v1.14.2 h1:iBN87PQc+EGh5QqijM3CuxcibvDWmF+9k0eOJT27FO4= -cloud.google.com/go/osconfig v1.14.2/go.mod h1:kHtsm0/j8ubyuzGciBsRxFlbWVjc4c7KdrwJw0+g+pQ= -cloud.google.com/go/osconfig v1.14.6 h1:4uJrA1obzMBp1I+DF15y/MvsXKIODevuANpq3QhvX30= -cloud.google.com/go/osconfig v1.14.6/go.mod h1:LS39HDBH0IJDFgOUkhSZUHFQzmcWaCpYXLrc3A4CVzI= -cloud.google.com/go/oslogin v1.14.2 h1:6ehIKkALrLe9zUHwEmfXRVuSPm3HiUmEnnDRr7yLIo8= -cloud.google.com/go/oslogin v1.14.2/go.mod h1:M7tAefCr6e9LFTrdWRQRrmMeKHbkvc4D9g6tHIjHySA= -cloud.google.com/go/oslogin v1.14.6 h1:BDKVcxo1OO4ZT+PbuFchZjnbrlUGfChilt6+pITY1VI= -cloud.google.com/go/oslogin v1.14.6/go.mod h1:xEvcRZTkMXHfNSKdZ8adxD6wvRzeyAq3cQX3F3kbMRw= -cloud.google.com/go/phishingprotection v0.9.2 h1:SaW0IPf/1fflnzomjy7+9EMtReXuxkYpUAf/77m5xL8= -cloud.google.com/go/phishingprotection v0.9.2/go.mod h1:mSCiq3tD8fTJAuXq5QBHFKZqMUy8SfWsbUM9NpzJIRQ= -cloud.google.com/go/phishingprotection v0.9.6 h1:yl572bBQbPjflX250SOflN6gwO2uYoddN2uRp36fDTo= -cloud.google.com/go/phishingprotection v0.9.6/go.mod h1:VmuGg03DCI0wRp/FLSvNyjFj+J8V7+uITgHjCD/x4RQ= -cloud.google.com/go/policytroubleshooter v1.11.2 h1:sTIH5AQ8tcgmnqrqlZfYWymjMhPh4ZEt4CvQGgG+kzc= -cloud.google.com/go/policytroubleshooter v1.11.2/go.mod h1:1TdeCRv8Qsjcz2qC3wFltg/Mjga4HSpv8Tyr5rzvPsw= -cloud.google.com/go/policytroubleshooter v1.11.6 h1:Z8+tO2z21MY1arBBuJjwrOjbw8fbZb13AZTHXdzkl2U= -cloud.google.com/go/policytroubleshooter v1.11.6/go.mod h1:jdjYGIveoYolk38Dm2JjS5mPkn8IjVqPsDHccTMu3mY= -cloud.google.com/go/privatecatalog v0.10.2 h1:01RPfn8IL2//8UHAmImRraTFYM/3gAEiIxudWLWrp+0= -cloud.google.com/go/privatecatalog v0.10.2/go.mod h1:o124dHoxdbO50ImR3T4+x3GRwBSTf4XTn6AatP8MgsQ= -cloud.google.com/go/privatecatalog v0.10.7 h1:R951ikhxIanXEijBCu0xnoUAOteS5m/Xplek0YvsNTE= -cloud.google.com/go/privatecatalog v0.10.7/go.mod h1:Fo/PF/B6m4A9vUYt0nEF1xd0U6Kk19/Je3eZGrQ6l60= -cloud.google.com/go/pubsub v1.45.1 h1:ZC/UzYcrmK12THWn1P72z+Pnp2vu/zCZRXyhAfP1hJY= -cloud.google.com/go/pubsub v1.45.1/go.mod h1:3bn7fTmzZFwaUjllitv1WlsNMkqBgGUb3UdMhI54eCc= -cloud.google.com/go/pubsub v1.49.0 h1:5054IkbslnrMCgA2MAEPcsN3Ky+AyMpEZcii/DoySPo= -cloud.google.com/go/pubsub v1.49.0/go.mod h1:K1FswTWP+C1tI/nfi3HQecoVeFvL4HUOB1tdaNXKhUY= -cloud.google.com/go/pubsublite v1.8.2 h1:jLQozsEVr+c6tOU13vDugtnaBSUy/PD5zK6mhm+uF1Y= -cloud.google.com/go/pubsublite v1.8.2/go.mod h1:4r8GSa9NznExjuLPEJlF1VjOPOpgf3IT6k8x/YgaOPI= -cloud.google.com/go/recaptchaenterprise v1.3.1 h1:u6EznTGzIdsyOsvm+Xkw0aSuKFXQlyjGE9a4exk6iNQ= -cloud.google.com/go/recaptchaenterprise/v2 v2.19.0 h1:J/J7ZeVOX+sqn0hxzkOBfnQfBAzPZt8KaAuQoarQWQM= -cloud.google.com/go/recaptchaenterprise/v2 v2.19.0/go.mod h1:vnbA2SpVPPwKeoFrCQxR+5a0JFRRytwBBG69Zj9pGfk= -cloud.google.com/go/recaptchaenterprise/v2 v2.20.4 h1:P4QMryKcWdi4LIe1Sx0b2ZOAQv5gVfdzPt2peXcN32Y= -cloud.google.com/go/recaptchaenterprise/v2 v2.20.4/go.mod h1:3H8nb8j8N7Ss2eJ+zr+/H7gyorfzcxiDEtVBDvDjwDQ= -cloud.google.com/go/recommendationengine v0.9.2 h1:RHVdmoNBdzgRJXI/3SV+GB5TTv/umsVguiaEvmKOh98= -cloud.google.com/go/recommendationengine v0.9.2/go.mod h1:DjGfWZJ68ZF5ZuNgoTVXgajFAG0yLt4CJOpC0aMK3yw= -cloud.google.com/go/recommendationengine v0.9.6 h1:slN7h23vswGccW8x3f+xUXCu9Yo18/GNkazH93LJbFk= -cloud.google.com/go/recommendationengine v0.9.6/go.mod h1:nZnjKJu1vvoxbmuRvLB5NwGuh6cDMMQdOLXTnkukUOE= -cloud.google.com/go/recommender v1.13.2 h1:xDFzlFk5Xp5MXnac468eicKM3MUo6UNdxoYuBMOF1mE= -cloud.google.com/go/recommender v1.13.2/go.mod h1:XJau4M5Re8F4BM+fzF3fqSjxNJuM66fwF68VCy/ngGE= -cloud.google.com/go/recommender v1.13.5 h1:cIsyRKGNw4LpCfY5c8CCQadhlp54jP4fHtP+d5Sy2xE= -cloud.google.com/go/recommender v1.13.5/go.mod h1:v7x/fzk38oC62TsN5Qkdpn0eoMBh610UgArJtDIgH/E= -cloud.google.com/go/redis v1.17.2 h1:QbW264RBH+NSVEQqlDoHfoxcreXK8QRRByTOR2CFbJs= -cloud.google.com/go/redis v1.17.2/go.mod h1:h071xkcTMnJgQnU/zRMOVKNj5J6AttG16RDo+VndoNo= -cloud.google.com/go/redis v1.18.2 h1:JlHLceAOILEmbn+NIS7l+vmUKkFuobLToCWTxL7NGcQ= -cloud.google.com/go/redis v1.18.2/go.mod h1:q6mPRhLiR2uLf584Lcl4tsiRn0xiFlu6fnJLwCORMtY= -cloud.google.com/go/resourcemanager v1.10.2 h1:LpqZZGM0uJiu1YWM878AA8zZ/qOQ/Ngno60Q8RAraAI= -cloud.google.com/go/resourcemanager v1.10.2/go.mod h1:5f+4zTM/ZOTDm6MmPOp6BQAhR0fi8qFPnvVGSoWszcc= -cloud.google.com/go/resourcemanager v1.10.6 h1:LIa8kKE8HF71zm976oHMqpWFiaDHVw/H1YMO71lrGmo= -cloud.google.com/go/resourcemanager v1.10.6/go.mod h1:VqMoDQ03W4yZmxzLPrB+RuAoVkHDS5tFUUQUhOtnRTg= -cloud.google.com/go/resourcesettings v1.8.2 h1:ISRX2HZHNS17F/EuIwzPrQwEyIyUJayGuLrS51yt6Wk= -cloud.google.com/go/resourcesettings v1.8.2/go.mod h1:uEgtPiMA+xuBUM4Exu+ZkNpMYP0BLlYeJbyNHfrc+U0= -cloud.google.com/go/resourcesettings v1.8.3 h1:13HOFU7v4cEvIHXSAQbinF4wp2Baybbq7q9FMctg1Ek= -cloud.google.com/go/resourcesettings v1.8.3/go.mod h1:BzgfXFHIWOOmHe6ZV9+r3OWfpHJgnqXy8jqwx4zTMLw= -cloud.google.com/go/retail v1.19.1 h1:FVzvA+VuEdNoMz2WzWZ5KwfG+CX+jSv+SOspyQPLuRs= -cloud.google.com/go/retail v1.19.1/go.mod h1:W48zg0zmt2JMqmJKCuzx0/0XDLtovwzGAeJjmv6VPaE= -cloud.google.com/go/retail v1.21.0 h1:8jgWgtAg1mk91WmaoWRTlL9CcvazPwqZ3YT9n6Gva9U= -cloud.google.com/go/retail v1.21.0/go.mod h1:LuG+QvBdLfKfO+7nnF3eA3l1j4TQw3Sg+UqlUorquRc= -cloud.google.com/go/run v1.7.0 h1:GJtHWUgi8CK+YPhmTR3tKBAmDmU9RRMYqiGKCmIgFG8= -cloud.google.com/go/run v1.7.0/go.mod h1:IvJOg2TBb/5a0Qkc6crn5yTy5nkjcgSWQLhgO8QL8PQ= -cloud.google.com/go/run v1.10.0 h1:CDhz0PPzI/cVpmNFyHe3Yp21jNpiAqtkfRxuoLi+JU0= -cloud.google.com/go/run v1.10.0/go.mod h1:z7/ZidaHOCjdn5dV0eojRbD+p8RczMk3A7Qi2L+koHg= -cloud.google.com/go/scheduler v1.11.2 h1:PfkvJP1qKu9NvFB65Ja/s918bPZWMBcYkg35Ljdw1Oc= -cloud.google.com/go/scheduler v1.11.2/go.mod h1:GZSv76T+KTssX2I9WukIYQuQRf7jk1WI+LOcIEHUUHk= -cloud.google.com/go/scheduler v1.11.7 h1:zkMEJ0UbEJ3O7NwEUlKLIp6eXYv1L7wHjbxyxznajKM= -cloud.google.com/go/scheduler v1.11.7/go.mod h1:gqYs8ndLx2M5D0oMJh48aGS630YYvC432tHCnVWN13s= -cloud.google.com/go/secretmanager v1.14.2 h1:2XscWCfy//l/qF96YE18/oUaNJynAx749Jg3u0CjQr8= -cloud.google.com/go/secretmanager v1.14.2/go.mod h1:Q18wAPMM6RXLC/zVpWTlqq2IBSbbm7pKBlM3lCKsmjw= -cloud.google.com/go/secretmanager v1.14.5/go.mod h1:GXznZF3qqPZDGZQqETZwZqHw4R6KCaYVvcGiRBA+aqY= -cloud.google.com/go/secretmanager v1.14.7/go.mod h1:uRuB4F6NTFbg0vLQ6HsT7PSsfbY7FqHbtJP1J94qxGc= -cloud.google.com/go/secretmanager v1.15.0 h1:RtkCMgTpaBMbzozcRUGfZe46jb9a3qh5EdEtVRUATF8= -cloud.google.com/go/secretmanager v1.15.0/go.mod h1:1hQSAhKK7FldiYw//wbR/XPfPc08eQ81oBsnRUHEvUc= -cloud.google.com/go/security v1.18.2 h1:9Nzp9LGjiDvHqy7X7Q9GrS5lIHN0bI8RvDjkrl4ILO0= -cloud.google.com/go/security v1.18.2/go.mod h1:3EwTcYw8554iEtgK8VxAjZaq2unFehcsgFIF9nOvQmU= -cloud.google.com/go/security v1.18.5 h1:6hqzvuwC8za9jyCTxygmEHnp4vZ8hfhwKVArxSCAVCo= -cloud.google.com/go/security v1.18.5/go.mod h1:D1wuUkDwGqTKD0Nv7d4Fn2Dc53POJSmO4tlg1K1iS7s= -cloud.google.com/go/securitycenter v1.35.2 h1:XkkE+IRE5/88drGPIuvETCSN7dAnWoqJahZzDbP5Hog= -cloud.google.com/go/securitycenter v1.35.2/go.mod h1:AVM2V9CJvaWGZRHf3eG+LeSTSissbufD27AVBI91C8s= -cloud.google.com/go/securitycenter v1.36.2 h1:hLA58IBYmWrNiXDIONvuCUQ4sHLVPy8JvDo2j1wSYCw= -cloud.google.com/go/securitycenter v1.36.2/go.mod h1:80ocoXS4SNWxmpqeEPhttYrmlQzCPVGaPzL3wVcoJvE= -cloud.google.com/go/servicecontrol v1.11.1 h1:d0uV7Qegtfaa7Z2ClDzr9HJmnbJW7jn0WhZ7wOX6hLE= -cloud.google.com/go/servicedirectory v1.12.2 h1:W/oZmTUzlWbeSTujRbmG9v7HZyHcorj608tkcD3vVYE= -cloud.google.com/go/servicedirectory v1.12.2/go.mod h1:F0TJdFjqqotiZRlMXgIOzszaplk4ZAmUV8ovHo08M2U= -cloud.google.com/go/servicedirectory v1.12.6 h1:pl/KUNvFzlXpxgnPgzQjyTQQcv5WsQ97zCHaPrLQlYA= -cloud.google.com/go/servicedirectory v1.12.6/go.mod h1:OojC1KhOMDYC45oyTn3Mup08FY/S0Kj7I58dxUMMTpg= -cloud.google.com/go/servicemanagement v1.8.0 h1:fopAQI/IAzlxnVeiKn/8WiV6zKndjFkvi+gzu+NjywY= -cloud.google.com/go/serviceusage v1.6.0 h1:rXyq+0+RSIm3HFypctp7WoXxIA563rn206CfMWdqXX4= -cloud.google.com/go/shell v1.8.2 h1:lSfdEng3n7zZHzC40BJ4trEMyme3CGnLLnA09MlLQdQ= -cloud.google.com/go/shell v1.8.2/go.mod h1:QQR12T6j/eKvqAQLv6R3ozeoqwJ0euaFSz2qLqG93Bs= -cloud.google.com/go/shell v1.8.6 h1:jLWyztGlNWBx55QXBM4HbWvfv7aiRjPzRKTUkZA8dXk= -cloud.google.com/go/shell v1.8.6/go.mod h1:GNbTWf1QA/eEtYa+kWSr+ef/XTCDkUzRpV3JPw0LqSk= -cloud.google.com/go/spanner v1.73.0 h1:0bab8QDn6MNj9lNK6XyGAVFhMlhMU2waePPa6GZNoi8= -cloud.google.com/go/spanner v1.73.0/go.mod h1:mw98ua5ggQXVWwp83yjwggqEmW9t8rjs9Po1ohcUGW4= -cloud.google.com/go/spanner v1.82.0 h1:w9uO8RqEoBooBLX4nqV1RtgudyU2ZX780KTLRgeVg60= -cloud.google.com/go/spanner v1.82.0/go.mod h1:BzybQHFQ/NqGxvE/M+/iU29xgutJf7Q85/4U9RWMto0= -cloud.google.com/go/speech v1.25.2 h1:rKOXU9LAZTOYHhRNB4gZDekNjJx21TktQpetBa5IzOk= -cloud.google.com/go/speech v1.25.2/go.mod h1:KPFirZlLL8SqPaTtG6l+HHIFHPipjbemv4iFg7rTlYs= -cloud.google.com/go/speech v1.27.1 h1:+OktATNlQc+4WH78OrQadIP4CzXb9mBucdDGCO1NrlI= -cloud.google.com/go/speech v1.27.1/go.mod h1:efCfklHFL4Flxcdt9gpEMEJh9MupaBzw3QiSOVeJ6ck= -cloud.google.com/go/storage v1.29.0 h1:6weCgzRvMg7lzuUurI4697AqIRPU1SvzHhynwpW31jI= -cloud.google.com/go/storage v1.49.0 h1:zenOPBOWHCnojRd9aJZAyQXBYqkJkdQS42dxL55CIMw= -cloud.google.com/go/storage v1.49.0/go.mod h1:k1eHhhpLvrPjVGfo0mOUPEJ4Y2+a/Hv5PiwehZI9qGU= -cloud.google.com/go/storage v1.52.0/go.mod h1:4wrBAbAYUvYkbrf19ahGm4I5kDQhESSqN3CGEkMGvOY= -cloud.google.com/go/storage v1.53.0/go.mod h1:7/eO2a/srr9ImZW9k5uufcNahT2+fPb8w5it1i5boaA= -cloud.google.com/go/storagetransfer v1.11.2 h1:hMcP8ECmxedXjPxr2j3Ca45ro/TKEF+1YYjq2p5LMTI= -cloud.google.com/go/storagetransfer v1.11.2/go.mod h1:FcM29aY4EyZ3yVPmW5SxhqUdhjgPBUOFyy4rqiQbias= -cloud.google.com/go/storagetransfer v1.13.0 h1:uqKX3OgcYzR1W1YI943ZZ45id0RqA2eXXoCBSPstlbw= -cloud.google.com/go/storagetransfer v1.13.0/go.mod h1:+aov7guRxXBYgR3WCqedkyibbTICdQOiXOdpPcJCKl8= -cloud.google.com/go/talent v1.7.2 h1:KONR7KX/EXI3pO2cbSIDOBqhBzvgDS71vaMz8k4qRCg= -cloud.google.com/go/talent v1.7.2/go.mod h1:k1sqlDgS9gbc0gMTRuRQpX6C6VB7bGUxSPcoTRWJod8= -cloud.google.com/go/talent v1.8.3 h1:wDP+++O/P1cTJBMkYlSY46k0a6atSoyO+UkBGuU9+Ao= -cloud.google.com/go/talent v1.8.3/go.mod h1:oD3/BilJpJX8/ad8ZUAxlXHCslTg2YBbafFH3ciZSLQ= -cloud.google.com/go/texttospeech v1.10.0 h1:icRAxYDtq3zO1T0YBT/fe8C/7pXoIqfkY4iYr5zG39I= -cloud.google.com/go/texttospeech v1.10.0/go.mod h1:215FpCOyRxxrS7DSb2t7f4ylMz8dXsQg8+Vdup5IhP4= -cloud.google.com/go/texttospeech v1.13.0 h1:oWWFQp0yFl4EJOr3opDkKH9304wUsZjgPjrTDS6S1a8= -cloud.google.com/go/texttospeech v1.13.0/go.mod h1:g/tW/m0VJnulGncDrAoad6WdELMTes8eb77Idz+4HCo= -cloud.google.com/go/tpu v1.7.2 h1:xPBJd7xZgtl3CgrZoaUf7zFPVVj68jmzzGTSzkcsOtQ= -cloud.google.com/go/tpu v1.7.2/go.mod h1:0Y7dUo2LIbDUx0yQ/vnLC6e18FK6NrDfAhYS9wZ/2vs= -cloud.google.com/go/tpu v1.8.3 h1:S4Ptq+yFIPNLEzQ/OQwiIYDNzk5I2vYmhf0SmFQOmWo= -cloud.google.com/go/tpu v1.8.3/go.mod h1:Do6Gq+/Jx6Xs3LcY2WhHyGwKDKVw++9jIJp+X+0rxRE= -cloud.google.com/go/trace v1.11.2 h1:4ZmaBdL8Ng/ajrgKqY5jfvzqMXbrDcBsUGXOT9aqTtI= -cloud.google.com/go/trace v1.11.2/go.mod h1:bn7OwXd4pd5rFuAnTrzBuoZ4ax2XQeG3qNgYmfCy0Io= -cloud.google.com/go/trace v1.11.6 h1:2O2zjPzqPYAHrn3OKl029qlqG6W8ZdYaOWRyr8NgMT4= -cloud.google.com/go/trace v1.11.6/go.mod h1:GA855OeDEBiBMzcckLPE2kDunIpC72N+Pq8WFieFjnI= -cloud.google.com/go/translate v1.10.3/go.mod h1:GW0vC1qvPtd3pgtypCv4k4U8B7EdgK9/QEF2aJEUovs= -cloud.google.com/go/translate v1.12.2 h1:qECivi8O+jFI/vnvN9elK6CME+WAWy56GIBszF+/rNc= -cloud.google.com/go/translate v1.12.2/go.mod h1:jjLVf2SVH2uD+BNM40DYvRRKSsuyKxVvs3YjTW/XSWY= -cloud.google.com/go/translate v1.12.5 h1:QPMNi4WCtHwc2PPfxbyUMwdN/0+cyCGLaKi2tig41J8= -cloud.google.com/go/translate v1.12.5/go.mod h1:o/v+QG/bdtBV1d1edmtau0PwTfActvxPk/gtqdSDBi4= -cloud.google.com/go/video v1.23.2 h1:CGAPOXTJMoZm9PeHkohBlMTy8lqN6VWCNDjp5VODfy8= -cloud.google.com/go/video v1.23.2/go.mod h1:rNOr2pPHWeCbW0QsOwJRIe0ZiuwHpHtumK0xbiYB1Ew= -cloud.google.com/go/video v1.24.0 h1:KTB2BEXjGm2K/JcKxQXEgx3nSoMTByepnPZa4kln064= -cloud.google.com/go/video v1.24.0/go.mod h1:h6Bw4yUbGNEa9dH4qMtUMnj6cEf+OyOv/f2tb70G6Fk= -cloud.google.com/go/videointelligence v1.12.2 h1:ZLElysepw9vfQGAKWfnxdnSnHSKbEn/nU/tmBnCJLfA= -cloud.google.com/go/videointelligence v1.12.2/go.mod h1:8xKGlq0lNVyT8JgTkkCUCpyNJnYYEJVWGdqzv+UcwR8= -cloud.google.com/go/videointelligence v1.12.6 h1:heq7jEO39sH5TycBh8TGFJ827XCxK0tIWatmBY/n0jI= -cloud.google.com/go/videointelligence v1.12.6/go.mod h1:/l34WMndN5/bt04lHodxiYchLVuWPQjCU6SaiTswrIw= -cloud.google.com/go/vision v1.2.0 h1:/CsSTkbmO9HC8iQpxbK8ATms3OQaX3YQUeTMGCxlaK4= -cloud.google.com/go/vision/v2 v2.9.2 h1:u4pu3gKps88oUe76WwVPeX9dgWVyyYopZ1s05FwsKEk= -cloud.google.com/go/vision/v2 v2.9.2/go.mod h1:WuxjVQdAy4j4WZqY5Rr655EdAgi8B707Vdb5T8c90uo= -cloud.google.com/go/vision/v2 v2.9.5 h1:UJZ0H6UlOaYKgCn6lWG2iMAOJIsJZLnseEfzBR8yIqQ= -cloud.google.com/go/vision/v2 v2.9.5/go.mod h1:1SiNZPpypqZDbOzU052ZYRiyKjwOcyqgGgqQCI/nlx8= -cloud.google.com/go/vmmigration v1.8.2 h1:Hpqv3fZ3Ri1OMhTNVJgxxsTou2ZlRzKbnc1dSybTP5Y= -cloud.google.com/go/vmmigration v1.8.2/go.mod h1:FBejrsr8ZHmJb949BSOyr3D+/yCp9z9Hk0WtsTiHc1Q= -cloud.google.com/go/vmmigration v1.8.6 h1:68hOQDhs1DOITrCrhritrwr8xy6s8QMdwDyMzMiFleU= -cloud.google.com/go/vmmigration v1.8.6/go.mod h1:uZ6/KXmekwK3JmC8PzBM/cKQmq404TTfWtThF6bbf0U= -cloud.google.com/go/vmwareengine v1.3.2 h1:LmkojgSLvsRwU1+c0iiY2XoBkXYKzpArElHC9IDWakg= -cloud.google.com/go/vmwareengine v1.3.2/go.mod h1:JsheEadzT0nfXOGkdnwtS1FhFAnj4g8qhi4rKeLi/AU= -cloud.google.com/go/vmwareengine v1.3.5 h1:OsGd1SB91y9fDuzdzFngMv4UcT4cqmRxjsCsS4Xmcu8= -cloud.google.com/go/vmwareengine v1.3.5/go.mod h1:QuVu2/b/eo8zcIkxBYY5QSwiyEcAy6dInI7N+keI+Jg= -cloud.google.com/go/vpcaccess v1.8.2 h1:nvrkqAjS2sorOu4YGCIXWz+Kk+5aAAdnaMD2tnsqeFg= -cloud.google.com/go/vpcaccess v1.8.2/go.mod h1:4yvYKNjlNjvk/ffgZ0PuEhpzNJb8HybSM1otG2aDxnY= -cloud.google.com/go/vpcaccess v1.8.6 h1:RYtUB9rQEijX9Tc6lQcGst58ZOzPgaYTkz6+2pyPQTM= -cloud.google.com/go/vpcaccess v1.8.6/go.mod h1:61yymNplV1hAbo8+kBOFO7Vs+4ZHYI244rSFgmsHC6E= -cloud.google.com/go/webrisk v1.10.2 h1:X7zSwS1mX2bxoZ30Ozh6lqiSLezl7RMBWwp5a3Mkxp4= -cloud.google.com/go/webrisk v1.10.2/go.mod h1:c0ODT2+CuKCYjaeHO7b0ni4CUrJ95ScP5UFl9061Qq8= -cloud.google.com/go/webrisk v1.11.1 h1:yZKNB7zRxOMriLrhP5WDE+BjxXVl0wJHHZSdaYzbdVU= -cloud.google.com/go/webrisk v1.11.1/go.mod h1:+9SaepGg2lcp1p0pXuHyz3R2Yi2fHKKb4c1Q9y0qbtA= -cloud.google.com/go/websecurityscanner v1.7.2 h1:8/4rfJXcyxozbfzI0lDFPcPShRE6bJ4HQwgDAG9J4oQ= -cloud.google.com/go/websecurityscanner v1.7.2/go.mod h1:728wF9yz2VCErfBaACA5px2XSYHQgkK812NmHcUsDXA= -cloud.google.com/go/websecurityscanner v1.7.6 h1:cIPKJKZA3l7D8DfL4nxce8HGOWXBw3WAUBF0ymOW9GQ= -cloud.google.com/go/websecurityscanner v1.7.6/go.mod h1:ucaaTO5JESFn5f2pjdX01wGbQ8D6h79KHrmO2uGZeiY= -cloud.google.com/go/workflows v1.13.2 h1:jYIxrDOVCGvTBHIAVhqQ+P8fhE0trm+Hf2hgL1YzmK0= -cloud.google.com/go/workflows v1.13.2/go.mod h1:l5Wj2Eibqba4BsADIRzPLaevLmIuYF2W+wfFBkRG3vU= -cloud.google.com/go/workflows v1.14.2 h1:phBz5TOAES0YGogxZ6Q7ISSudaf618lRhE3euzBpE9U= -cloud.google.com/go/workflows v1.14.2/go.mod h1:5nqKjMD+MsJs41sJhdVrETgvD5cOK3hUcAs8ygqYvXQ= -contrib.go.opencensus.io/exporter/stackdriver v0.13.4 h1:ksUxwH3OD5sxkjzEqGxNTl+Xjsmu3BnC/300MhSVTSc= -crawshaw.io/sqlite v0.3.3-0.20220618202545-d1964889ea3c h1:wvzox0eLO6CKQAMcOqz7oH3UFqMpMmK7kwmwV+22HIs= -crawshaw.io/sqlite v0.3.3-0.20220618202545-d1964889ea3c/go.mod h1:igAO5JulrQ1DbdZdtVq48mnZUBAPOeFzer7VhDWNtW4= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9 h1:VpgP7xuJadIUuKccphEpTJnWhS2jkQyMt6Y7pJCD7fY= -gioui.org v0.0.0-20210308172011-57750fc8a0a6 h1:K72hopUosKG3ntOPNG4OzzbuhxGuVf06fa2la1/H/Ho= -git.sr.ht/~sbinet/gg v0.3.1 h1:LNhjNn8DerC8f9DHLz6lS0YYul/b602DUxDgGkd/Aik= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.0 h1:8q4SaHjFsClSvuVne0ID/5Ka8u3fcIHyqkLjcFpNRHQ= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0 h1:vcYCAze6p19qBW7MhZybIsqD8sMV8js0NyQM8JDnVtg= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 h1:sXr+ck84g/ZlZUOZiNELInmMgOsuGwdjjVkEIde0OtY= -github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v1.0.0 h1:lMW1lD/17LUA5z1XTURo7LcVG2ICBPlyMHjIUrcFZNQ= -github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.0.0 h1:ECsQtyERDVz3NP3kvDOTLvbQhqWp/x9EsGKtb4ogUr8= -github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.2.0 h1:Ma67P/GGprNwsslzEH6+Kb8nybI8jpDTm4Wmzu2ReK8= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.0 h1:gggzg0SUMs6SQbEw+3LoSsYf9YMjkupeAnHMX8O9mmY= -github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0 h1:OBhqkivkhkMqLPymWEppkm7vgPQY2XsHoEkaMQ0AdZY= -github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/BurntSushi/toml v1.2.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 h1:1BDTz0u9nC3//pOCMdNH+CiXJVYJh5UQNCOBG7jbELc= -github.com/ClickHouse/ch-go v0.67.0 h1:18MQF6vZHj+4/hTRaK7JbS/TIzn4I55wC+QzO24uiqc= -github.com/ClickHouse/ch-go v0.67.0/go.mod h1:2MSAeyVmgt+9a2k2SQPPG1b4qbTPzdGDpf1+bcHh+18= -github.com/ClickHouse/clickhouse-go/v2 v2.40.1 h1:PbwsHBgqXRydU7jKULD1C8CHmifczffvQqmFvltM2W4= -github.com/ClickHouse/clickhouse-go/v2 v2.40.1/go.mod h1:GDzSBLVhladVm8V01aEB36IoBOVLLICfyeuiIp/8Ezc= -github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53 h1:sR+/8Yb4slttB4vD+b9btVEnWgL3Q00OBTzVT8B9C0c= -github.com/CloudyKit/jet/v6 v6.2.0 h1:EpcZ6SR9n28BUGtNJSvlBqf90IpjeFr36Tizxhn/oME= -github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= -github.com/GoogleCloudPlatform/cloudsql-proxy v0.0.0-20190129172621-c8b1d7a94ddf h1:8F6fjL5iQP6sArGtPuXh0l6hggdcIpAm4ChjVJE4oTs= -github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.5.0 h1:oVLqHXhnYtUwM89y9T1fXGaK9wTkXHgNp8/ZNMQzUxE= -github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.5.0/go.mod h1:dppbR7CwXD4pgtV9t3wD1812RaLDcBjtblcDF5f1vI0= -github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.5.2/go.mod h1:dppbR7CwXD4pgtV9t3wD1812RaLDcBjtblcDF5f1vI0= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.25.0 h1:3c8yed4lgqTt+oTQ+JNMDo+F4xprBf+O/il4ZC0nRLw= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.25.0/go.mod h1:obipzmGjfSjam60XLwGfqUkJsfiheAl+TUjG+4yzyPM= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.27.0/go.mod h1:yAZHSGnqScoU556rBOVkwLze6WP5N+U11RHuWaGVxwY= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.48.1 h1:UQ0AhxogsIRZDkElkblfnwjc3IaltCm2HUMvezQaL7s= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.48.1/go.mod h1:jyqM3eLpJ3IbIFDTKVz2rF9T/xWGW0rIriGwnz8l9Tk= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.51.0/go.mod h1:BnBReJLvVYx2CS/UHOgVz2BXKXD9wsQPxZug20nZhd0= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.48.1 h1:oTX4vsorBZo/Zdum6OKPA4o7544hm6smoRv1QjpTwGo= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.48.1/go.mod h1:0wEl7vrAD8mehJyohS9HZy+WyEOaQO2mJx86Cvh93kM= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.51.0/go.mod h1:SZiPHWGOOk3bl8tkevxkoiwPgsIl6CwrWcbwjfHZpdM= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.1 h1:8nn+rsCvTq9axyEh382S0PFLBeaFwNsT43IrPWzctRU= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.1/go.mod h1:viRWSEhtMZqz1rhwmOVKkWl6SwmVowfL9O2YR5gI2PE= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.51.0/go.mod h1:otE2jQekW/PqXk1Awf5lmfokJx4uwuqcj1ab5SpGeW0= -github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= -github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c h1:RGWPOewvKIROun94nF7v2cua9qP+thov/7M50KEoeSU= -github.com/Joker/hpp v1.0.0 h1:65+iuJYdRXv/XyN62C1uEmmOx3432rNG/rKlX6V7Kkc= -github.com/Joker/jade v1.1.3 h1:Qbeh12Vq6BxURXT1qZBRHsDxeURB8ztcL6f3EXSGeHk= -github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible h1:1G1pk05UrOh0NlF1oeaaix1x8XzrfjIDK47TY0Zehcw= -github.com/Masterminds/goutils v1.1.0 h1:zukEsf/1JZwCMgHiK3GZftabmxiCw4apj3a28RPBiVg= -github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60= -github.com/RoaringBitmap/roaring v1.2.2 h1:RT+1qfb7a8rkOIxPnyJdvU4G8Ynmhc2YYP6MvzqEtwk= -github.com/RoaringBitmap/roaring v1.2.2/go.mod h1:plvDsJQpxOC5bw8LRteu/MLWHsHez/3y6cubLI4/1yE= -github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06 h1:KkH3I3sJuOLP3TjA/dfr4NAY8bghDwnXiU7cTKxQqo0= -github.com/Shopify/sarama v1.19.0 h1:9oksLxC6uxVPHPVYUmq6xhr1BOF/hHobWH2UzO67z1s= -github.com/Shopify/toxiproxy v2.1.4+incompatible h1:TKdv8HiTLgE5wdJuEML90aBgNWsokNbMijUGhmcoBJc= -github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDOSA= -github.com/VictoriaMetrics/metrics v1.23.1 h1:/j8DzeJBxSpL2qSIdqnRFLvQQhbJyJbbEi22yMm7oL0= -github.com/VictoriaMetrics/metrics v1.23.1/go.mod h1:rAr/llLpEnAdTehiNlUxKgnjcOuROSzpw0GvjpEbvFc= -github.com/Zilliqa/gozilliqa-sdk v1.2.1-0.20201201074141-dd0ecada1be6 h1:1d9pzdbkth4D9AX6ndKSl7of3UTV0RYl3z64U2dXMGo= -github.com/aclements/go-gg v0.0.0-20170118225347-6dbb4e4fefb0 h1:E5Dzlk3akC+T2Zj1LBHgfPK1y8YWgLDnNDRmG+tpSKw= -github.com/aclements/go-moremath v0.0.0-20210112150236-f10218a38794 h1:xlwdaKcTNVW4PtpQb8aKA4Pjy0CdJHEqvFbAnvR5m2g= -github.com/aead/siphash v1.0.1 h1:FwHfE/T45KPKYuuSAKyyvE+oPWcaQ+CUmFW0bPlM+kg= -github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5 h1:rFw4nCn9iMW+Vajsk51NtYIcwSTkXr+JGrMd36kTDJw= -github.com/ajg/form v1.5.1 h1:t9c7v8JUKu/XxOGBU0yjNpaMloxGEJhUkqFRq0ibGeU= -github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9 h1:7kQgkwGRoLzC9K0oyXdJo7nve/bynv/KwUsxbiTlzAM= -github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19 h1:iXUgAaqDcIUGbRoy2TdeofRG/j1zpGRSEmNK05T+bi8= -github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b h1:slYM766cy2nI3BwyRiyQj/Ud48djTMtMebDqepE95rw= -github.com/ajwerner/btree v0.0.0-20211221152037-f427b3e689c0 h1:byYvvbfSo3+9efR4IeReh77gVs4PnNDR3AMOE9NJ7a0= -github.com/ajwerner/btree v0.0.0-20211221152037-f427b3e689c0/go.mod h1:q37NoqncT41qKc048STsifIt69LfUJ8SrWWcz/yam5k= -github.com/alecthomas/atomic v0.1.0-alpha2 h1:dqwXmax66gXvHhsOS4pGPZKqYOlTkapELkLb3MNdlH8= -github.com/alecthomas/atomic v0.1.0-alpha2/go.mod h1:zD6QGEyw49HIq19caJDc2NMXAy8rNi9ROrxtMXATfyI= -github.com/alecthomas/kingpin/v2 v2.4.0 h1:f48lwail6p8zpO1bC4TxtqACaGqHYA22qkHjHpqDjYY= -github.com/alecthomas/kingpin/v2 v2.4.0/go.mod h1:0gyi0zQnjuFk8xrkNKamJoyUo382HRL7ATRpFZCw6tE= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM= -github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc= -github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= -github.com/alicebob/miniredis/v2 v2.35.0 h1:QwLphYqCEAo1eu1TqPRN2jgVMPBweeQcR21jeqDCONI= -github.com/alicebob/miniredis/v2 v2.35.0/go.mod h1:TcL7YfarKPGDAthEtl5NBeHZfeUQj6OXMm/+iu5cLMM= -github.com/anacrolix/chansync v0.3.0 h1:lRu9tbeuw3wl+PhMu/r+JJCRu5ArFXIluOgdF0ao6/U= -github.com/anacrolix/chansync v0.3.0/go.mod h1:DZsatdsdXxD0WiwcGl0nJVwyjCKMDv+knl1q2iBjA2k= -github.com/anacrolix/dht/v2 v2.19.2-0.20221121215055-066ad8494444 h1:8V0K09lrGoeT2KRJNOtspA7q+OMxGwQqK/Ug0IiaaRE= -github.com/anacrolix/dht/v2 v2.19.2-0.20221121215055-066ad8494444/go.mod h1:MctKM1HS5YYDb3F30NGJxLE+QPuqWoT5ReW/4jt8xew= -github.com/anacrolix/envpprof v1.2.1 h1:25TJe6t/i0AfzzldiGFKCpD+s+dk8lONBcacJZB2rdE= -github.com/anacrolix/envpprof v1.2.1/go.mod h1:My7T5oSqVfEn4MD4Meczkw/f5lSIndGAKu/0SM/rkf4= -github.com/anacrolix/generics v0.0.0-20220618083756-f99e35403a60 h1:k4/h2B1gGF+PJGyGHxs8nmHHt1pzWXZWBj6jn4OBlRc= -github.com/anacrolix/generics v0.0.0-20220618083756-f99e35403a60/go.mod h1:ff2rHB/joTV03aMSSn/AZNnaIpUw0h3njetGsaXcMy8= -github.com/anacrolix/go-libutp v1.2.0 h1:sjxoB+/ARiKUR7IK/6wLWyADIBqGmu1fm0xo+8Yy7u0= -github.com/anacrolix/go-libutp v1.2.0/go.mod h1:RrJ3KcaDcf9Jqp33YL5V/5CBEc6xMc7aJL8wXfuWL50= -github.com/anacrolix/log v0.13.2-0.20221123232138-02e2764801c3 h1:qDcPnH18SanNZMeMuEjzKpB3NQGR1ahytV08KOhZhNo= -github.com/anacrolix/log v0.13.2-0.20221123232138-02e2764801c3/go.mod h1:MD4fn2pYcyhUAQg9SxoGOpTnV/VIdiKVYKZdCbDC97k= -github.com/anacrolix/missinggo v1.3.0 h1:06HlMsudotL7BAELRZs0yDZ4yVXsHXGi323QBjAVASw= -github.com/anacrolix/missinggo v1.3.0/go.mod h1:bqHm8cE8xr+15uVfMG3BFui/TxyB6//H5fwlq/TeqMc= -github.com/anacrolix/missinggo/perf v1.0.0 h1:7ZOGYziGEBytW49+KmYGTaNfnwUqP1HBsy6BqESAJVw= -github.com/anacrolix/missinggo/perf v1.0.0/go.mod h1:ljAFWkBuzkO12MQclXzZrosP5urunoLS0Cbvb4V0uMQ= -github.com/anacrolix/missinggo/v2 v2.7.0 h1:4fzOAAn/VCvfWGviLmh64MPMttrlYew81JdPO7nSHvI= -github.com/anacrolix/missinggo/v2 v2.7.0/go.mod h1:2IZIvmRTizALNYFYXsPR7ofXPzJgyBpKZ4kMqMEICkI= -github.com/anacrolix/mmsg v1.0.0 h1:btC7YLjOn29aTUAExJiVUhQOuf/8rhm+/nWCMAnL3Hg= -github.com/anacrolix/mmsg v1.0.0/go.mod h1:x8kRaJY/dCrY9Al0PEcj1mb/uFHwP6GCJ9fLl4thEPc= -github.com/anacrolix/multiless v0.3.0 h1:5Bu0DZncjE4e06b9r1Ap2tUY4Au0NToBP5RpuEngSis= -github.com/anacrolix/multiless v0.3.0/go.mod h1:TrCLEZfIDbMVfLoQt5tOoiBS/uq4y8+ojuEVVvTNPX4= -github.com/anacrolix/stm v0.4.0 h1:tOGvuFwaBjeu1u9X1eIh9TX8OEedEiEQ1se1FjhFnXY= -github.com/anacrolix/stm v0.4.0/go.mod h1:GCkwqWoAsP7RfLW+jw+Z0ovrt2OO7wRzcTtFYMYY5t8= -github.com/anacrolix/sync v0.4.0 h1:T+MdO/u87ir/ijWsTFsPYw5jVm0SMm4kVpg8t4KF38o= -github.com/anacrolix/sync v0.4.0/go.mod h1:BbecHL6jDSExojhNtgTFSBcdGerzNc64tz3DCOj/I0g= -github.com/anacrolix/torrent v1.48.0 h1:OQe1aQb8WnhDzpcI7r3yWoHzHWKyPbfhXGfO9Q/pvbY= -github.com/anacrolix/torrent v1.48.0/go.mod h1:3UtkJ8BnxXDRwvk+eT+uwiZalfFJ8YzAhvxe4QRPSJI= -github.com/anacrolix/upnp v0.1.3-0.20220123035249-922794e51c96 h1:QAVZ3pN/J4/UziniAhJR2OZ9Ox5kOY2053tBbbqUPYA= -github.com/anacrolix/upnp v0.1.3-0.20220123035249-922794e51c96/go.mod h1:Wa6n8cYIdaG35x15aH3Zy6d03f7P728QfdcDeD/IEOs= -github.com/anacrolix/utp v0.1.0 h1:FOpQOmIwYsnENnz7tAGohA+r6iXpRjrq8ssKSre2Cp4= -github.com/anacrolix/utp v0.1.0/go.mod h1:MDwc+vsGEq7RMw6lr2GKOEqjWny5hO5OZXRVNaBJ2Dk= -github.com/andybalholm/brotli v1.0.2/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y= -github.com/andybalholm/brotli v1.0.3/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= -github.com/andybalholm/brotli v1.0.5 h1:8uQZIdzKmjc/iuPu7O2ioW48L81FgatrcpfFmiq/cCs= -github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= -github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ= -github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmOABFgjdkM7Nw= -github.com/aokoli/goutils v1.0.1 h1:7fpzNGoJ3VA8qcrm++XEE1QUe0mIwNeLa02Nwq7RDkg= -github.com/apache/arrow/go/v10 v10.0.1 h1:n9dERvixoC/1JjDmBcs9FPaEryoANa2sCgVFo6ez9cI= -github.com/apache/arrow/go/v11 v11.0.0 h1:hqauxvFQxww+0mEU/2XHG6LT7eZternCZq+A5Yly2uM= -github.com/apache/arrow/go/v15 v15.0.2 h1:60IliRbiyTWCWjERBCkO1W4Qun9svcYoZrSLcyOsMLE= -github.com/apache/arrow/go/v15 v15.0.2/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA= -github.com/apache/thrift v0.16.0 h1:qEy6UW60iVOlUy+b9ZR0d5WzUWYGOo4HfopoyBaNmoY= -github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e h1:QEF07wC0T1rKkctt1RINW/+RMTVmiwxETico2l3gxJA= -github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6 h1:G1bPvciwNyF7IUmKXNt9Ak3m6u9DE1rF+RmtIkBpVdA= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 h1:BUAU3CGlLvorLI26FmByPp2eC2qla6E1Tw+scpcg/to= -github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= -github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a h1:pv34s756C4pEXnjgPfGYgdhg/ZdajGhyOvzx8k+23nw= -github.com/aws/aws-lambda-go v1.13.3 h1:SuCy7H3NLyp+1Mrfp+m80jcbi9KYWAs9/BXwppwRDzY= -github.com/aws/aws-sdk-go-v2 v1.21.2 h1:+LXZ0sgo8quN9UOKXXzAWRT3FWd4NxeXWOZom9pE7GA= -github.com/aws/aws-sdk-go-v2/config v1.18.45 h1:Aka9bI7n8ysuwPeFdm77nfbyHCAKQ3z9ghB3S/38zes= -github.com/aws/aws-sdk-go-v2/credentials v1.13.43 h1:LU8vo40zBlo3R7bAvBVy/ku4nxGEyZe9N8MqAeFTzF8= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.13 h1:PIktER+hwIG286DqXyvVENjgLTAwGgoeriLDD5C+YlQ= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.43 h1:nFBQlGtkbPzp/NjZLuFxRqmT91rLJkgvsEQs68h962Y= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.37 h1:JRVhO25+r3ar2mKGP7E0LDl8K9/G36gjlqca5iQbaqc= -github.com/aws/aws-sdk-go-v2/internal/ini v1.3.45 h1:hze8YsjSh8Wl1rYa1CJpRmXP21BvOBuc76YhW0HsuQ4= -github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.8.1 h1:w/fPGB0t5rWwA43mux4e9ozFSH5zF1moQemlA131PWc= -github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.8.1/go.mod h1:CM+19rL1+4dFWnOQKwDc7H1KwXTz+h61oUSHyhV0b3o= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.37 h1:WWZA/I2K4ptBS1kg0kV1JbBtG/umed0vwHRrmcr9z7k= -github.com/aws/aws-sdk-go-v2/service/route53 v1.30.2 h1:/RPQNjh1sDIezpXaFIkZb7MlXnSyAqjVdAwcJuGYTqg= -github.com/aws/aws-sdk-go-v2/service/sso v1.15.2 h1:JuPGc7IkOP4AaqcZSIcyqLpFSqBWK32rM9+a1g6u73k= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.3 h1:HFiiRkf1SdaAmV3/BHOFZ9DjFynPHj8G/UIO1lQS+fk= -github.com/aws/aws-sdk-go-v2/service/sts v1.23.2 h1:0BkLfgeDjfZnZ+MhB3ONb01u9pwFYTCZVhlsSSBvlbU= -github.com/aws/smithy-go v1.15.0 h1:PS/durmlzvAFpQHDs4wi4sNNP9ExsqZh6IlfdHXgKK8= -github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= -github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk= -github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xWbdbCW3pNTGyYg= -github.com/bazelbuild/rules_go v0.49.0 h1:5vCbuvy8Q11g41lseGJDc5vxhDjJtfxr6nM/IC4VmqM= -github.com/bazelbuild/rules_go v0.49.0/go.mod h1:Dhcz716Kqg1RHNWos+N6MlXNkjNP2EwZQ0LukRKJfMs= -github.com/bits-and-blooms/bitset v1.20.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= -github.com/bketelsen/crypt v0.0.4 h1:w/jqZtC9YD4DS/Vp9GhWfWcCpuAL58oTnLoI8vE9YHU= -github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= -github.com/boombuler/barcode v1.0.1 h1:NDBbPmhS+EqABEs5Kg3n/5ZNjy73Pz7SIV+KCeqyXcs= -github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8 h1:GKTyiRCL6zVf5wWaqKnf+7Qs6GbEPfd4iMOitWzXJx8= -github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8/go.mod h1:spo1JLcs67NmW1aVLEgtA8Yy1elc+X8y5SRW1sFW4Og= -github.com/btcsuite/btcd/btcutil v1.1.0 h1:MO4klnGY+EWJdoWF12Wkuf4AWDBPMpZNeN/jRLrklUU= -github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f h1:bAs4lUbRJpnnkd9VhRV3jjAVU7DJVjMaK+IsvSeZvFo= -github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d h1:yJzD/yFppdVCf6ApMkVy8cUxV0XrxdP9rVf6D87/Mng= -github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd h1:R/opQEbFEy9JGkIguV40SvRY1uliPX8ifOvi6ICsFCw= -github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792 h1:R8vQdOQdZ9Y3SkEwmHoWBmX1DNXhXZqlTpq6s4tyJGc= -github.com/btcsuite/winsvc v1.0.0 h1:J9B4L7e3oqhXOcm+2IuNApwzQec85lE+QaikUcCs+dk= -github.com/c2h5oh/datasize v0.0.0-20220606134207-859f65c6625b h1:6+ZFm0flnudZzdSE0JxlhR2hKnGPcNB35BjQf4RYQDY= -github.com/c2h5oh/datasize v0.0.0-20220606134207-859f65c6625b/go.mod h1:S/7n9copUssQ56c7aAgHqftWO4LTf4xY6CGWt8Bc+3M= -github.com/casbin/casbin/v2 v2.37.0 h1:/poEwPSovi4bTOcP752/CsTQiRz2xycyVKFG7GUhbDw= -github.com/casbin/casbin/v2 v2.37.0/go.mod h1:vByNa/Fchek0KZUgG5wEsl7iFsiviAYKRtgrQfcJqHg= -github.com/cenkalti/backoff/v4 v4.1.1 h1:G2HAfAmvm/GcKan2oOQpBXOd2tT2G57ZnZGWa1PxPBQ= -github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= -github.com/cenkalti/backoff/v5 v5.0.2 h1:rIfFVxEf1QsI7E1ZHfp/B4DF/6QBAUhmgkxc0H7Zss8= -github.com/cenkalti/backoff/v5 v5.0.2/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw= -github.com/census-instrumentation/opencensus-proto v0.4.1 h1:iKLQ0xPNFxR/2hzXZMrBo8f1j86j5WHzznCCQxV/b8g= -github.com/checkpoint-restore/go-criu/v5 v5.0.0 h1:TW8f/UvntYoVDMN1K2HlT82qH1rb0sOjpGw3m6Ym+i4= -github.com/checkpoint-restore/go-criu/v5 v5.3.0 h1:wpFFOoomK3389ue2lAb0Boag6XPht5QYpipxmSNL4d8= -github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= -github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 h1:SKI1/fuSdodxmNNyVBR8d7X/HuLnRpvvFO0AgyQk764= -github.com/chzyer/logex v1.2.0 h1:+eqR0HfOetur4tgnC8ftU5imRnhi4te+BadWS95c5AM= -github.com/chzyer/readline v1.5.0 h1:lSwwFrbNviGePhkewF1az4oLmcwqCZijQ2/Wi3BGHAI= -github.com/chzyer/test v0.0.0-20210722231415-061457976a23 h1:dZ0/VyGgQdVGAss6Ju0dt5P0QltE0SFY5Woh6hbIfiQ= -github.com/cilium/ebpf v0.6.2 h1:iHsfF/t4aW4heW2YKfeHrVPGdtYTL4C4KocpM8KTSnI= -github.com/cilium/ebpf v0.7.0 h1:1k/q3ATgxSXRdrmPfH8d7YK0GfqVsEKZAX9dQZvs56k= -github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= -github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible h1:C29Ae4G5GtYyYMm1aztcyj/J5ckgJm2zwdDajFbx1NY= -github.com/circonus-labs/circonusllhist v0.1.3 h1:TJH+oke8D16535+jHExHj4nQvzlZrj7ug5D7I/orNUA= -github.com/clbanning/mxj v1.8.4 h1:HuhwZtbyvyOw+3Z1AowPkU87JkJUSv751ELWaiTpj8I= -github.com/clbanning/mxj v1.8.4/go.mod h1:BVjHeAH+rl9rs6f+QIpeRl0tfu10SXn1pUSa5PVGJng= -github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec h1:EdRZT3IeKQmfCSrgo8SZ8V3MEnskuJP0wCYNpe+aiXo= -github.com/cloudflare/cloudflare-go v0.114.0 h1:ucoti4/7Exo0XQ+rzpn1H+IfVVe++zgiM+tyKtf0HUA= -github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe h1:QQ3GSy+MqSHxm/d8nCtnAiZdYFd45cYZPs8vOOIYKfk= -github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b h1:ACGZRIr7HsgBKHsueQ1yM4WaVaXh21ynwqsF8M8tXhA= -github.com/cncf/xds/go v0.0.0-20240423153145-555b57ec207b/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= -github.com/cncf/xds/go v0.0.0-20240723142845-024c85f92f20/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= -github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 h1:QVw89YDxXxEe+l8gU8ETbOasdwEV+avkR75ZzsVV9WI= -github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= -github.com/cncf/xds/go v0.0.0-20250121191232-2f005788dc42/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= -github.com/cockroachdb/apd/v3 v3.2.1 h1:U+8j7t0axsIgvQUqthuNm82HIrYXodOV2iWLWtEaIwg= -github.com/cockroachdb/apd/v3 v3.2.1/go.mod h1:klXJcjp+FffLTHlhIG69tezTDvdP065naDsHzKhYSqc= -github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd h1:qMd81Ts1T2OTKmB4acZcyKaMtRnY5Y44NuXGX2GFJ1w= -github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0 h1:sDMmm+q/3+BukdIpxwO365v/Rbspp2Nt5XntgQRXq8Q= -github.com/consensys/bavard v0.1.31-0.20250406004941-2db259e4b582 h1:dTlIwEdFQmldzFf5F6bbTcYWhvnAgZai2g8eq3Wwxqg= -github.com/consensys/bavard v0.1.31-0.20250406004941-2db259e4b582/go.mod h1:k/zVjHHC4B+PQy1Pg7fgvG3ALicQw540Crag8qx+dZs= -github.com/containerd/console v1.0.2 h1:Pi6D+aZXM+oUw1czuKgH5IJ+y0jhYcwBJfx5/Ghn9dE= -github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= -github.com/containerd/console v1.0.5 h1:R0ymNeydRqH2DmakFNdmjR2k0t7UPuiOV/N/27/qqsc= -github.com/containerd/console v1.0.5/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= -github.com/coreos/bbolt v1.3.2 h1:wZwiHHUieZCquLkDL0B8UhzreNWsPHooDAG3q34zk0s= -github.com/coreos/etcd v3.3.10+incompatible h1:jFneRYjIvLMLhDLCzuTuU4rSJUjRplcJQ7pD7MnhC04= -github.com/coreos/go-etcd v2.0.0+incompatible h1:bXhRBIXoTm9BYHS3gE0TtQuyNZyeEMux2sDi4oo5YOo= -github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e h1:Wf6HqHfScWJN9/ZjdUKyjop4mf3Qdd+1TvvltAvM3m8= -github.com/coreos/go-systemd v0.0.0-20190620071333-e64a0ec8b42a h1:W8b4lQ4tFF21aspRGoBuCNV6V2fFJBF+pm1J6OY8Lys= -github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f h1:lBNOc5arjvs8E5mO2tbpBpLoyyu8B6e44T7hJy6potg= -github.com/cpuguy83/go-md2man v1.0.10 h1:BSKMNlYxDvnunlTymqtgONjNnaRV1sTpcovwwjF22jk= -github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/crate-crypto/go-eth-kzg v1.3.0 h1:05GrhASN9kDAidaFJOda6A4BEvgvuXbazXg/0E3OOdI= -github.com/crate-crypto/go-eth-kzg v1.3.0/go.mod h1:J9/u5sWfznSObptgfa92Jq8rTswn6ahQWEuiLHOjCUI= -github.com/creachadair/command v0.0.0-20220426235536-a748effdf6a1 h1:r626P+s8TKpQaHwIaLmA2nGetfIVYEhtqcs3g2U1dC8= -github.com/creachadair/command v0.0.0-20220426235536-a748effdf6a1/go.mod h1:bAM+qFQb/KwWyCc9MLC4U1jvn3XyakqP5QRkds5T6cY= -github.com/creachadair/command v0.2.0 h1:qTA9cMMhZePAxFoNdnk6F6nn94s1qPndIg9hJbqI9cA= -github.com/creachadair/command v0.2.0/go.mod h1:j+Ar+uYnFsHpkMeV9kGj6lJ45y9u2xqtg8FYy6cm+0o= -github.com/creack/pty v1.1.9 h1:uDmaGzcdjhF4i/plgjmEsriH11Y0o7RKapEf/LDaM3w= -github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE= -github.com/creasty/defaults v1.8.0 h1:z27FJxCAa0JKt3utc0sCImAEb+spPucmKoOdLHvHYKk= -github.com/creasty/defaults v1.8.0/go.mod h1:iGzKe6pbEHnpMPtfDXZEr0NVxWnPTjb1bbDy08fPzYM= -github.com/cristalhq/acmd v0.8.1 h1:mtFp/cbeJNY5jokF9zPz5mRllGHropRrOkOVxeGS6FI= -github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c h1:/ovYnF02fwL0kvspmy9AuyKg1JhdTRUgPw4nUxd9oZM= -github.com/cyphar/filepath-securejoin v0.2.2 h1:jCwT2GTP+PY5nBz3c/YL5PAIbusElVrPujOBSCj8xRg= -github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= -github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= -github.com/decred/dcrd/lru v1.0.0 h1:Kbsb1SFDsIlaupWPwsPp+dkxiBY1frcS07PCPgotKz8= -github.com/deepmap/oapi-codegen v1.6.0 h1:w/d1ntwh91XI0b/8ja7+u5SvA4IFfM0UNNLmiDR1gg0= -github.com/dgraph-io/badger/v2 v2.2007.4 h1:TRWBQg8UrlUhaFdco01nO2uXwzKS7zd+HVdwV/GHc4o= -github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= -github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954 h1:RMLoZVzv4GliuWafOuPuQDKSm1SJph7uCRnnS61JAn4= -github.com/djherbis/atime v1.1.0 h1:rgwVbP/5by8BvvjBNrbh64Qz33idKT3pSnMSJsxhi0g= -github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 h1:bWDMxwH3px2JBh6AyO7hdCn/PkvCZXii8TGj7sbtEbQ= -github.com/donovanhide/eventsource v0.0.0-20210830082556-c59027999da0 h1:C7t6eeMaEQVy6e8CarIhscYQlNmw5e3G36y7l7Y21Ao= -github.com/dop251/goja_nodejs v0.0.0-20211022123610-8dd9abb0616d h1:W1n4DvpzZGOISgp7wWNtraLcHtnmnTwBlJidqtMIuwQ= -github.com/eapache/go-resiliency v1.1.0 h1:1NtRmCAqadE2FN4ZcN6g90TP3uk8cg9rn9eNK2197aU= -github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 h1:YEetp8/yCZMuEPMUDHG0CW/brkkEp8mzqk2+ODEitlw= -github.com/eapache/queue v1.1.0 h1:YOEu7KNc61ntiQlcEeUIoDTJ2o8mQznoNvUhiigpIqc= -github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= -github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= -github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385 h1:clC1lXBpe2kTj2VHdaIu9ajZQe4kcEY9j0NsnDDBZ3o= -github.com/emicklei/go-restful/v3 v3.12.2 h1:DhwDP0vY3k8ZzE0RunuJy8GhNpPL6zqLkDf9B/a0/xU= -github.com/emicklei/go-restful/v3 v3.12.2/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= -github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= -github.com/envoyproxy/go-control-plane v0.10.3 h1:xdCVXxEe0Y3FQith+0cj2irwZudqGYvecuLB1HtdexY= -github.com/envoyproxy/go-control-plane v0.13.1 h1:vPfJZCkob6yTMEgS+0TwfTUfbHjfy/6vOJ8hUWX/uXE= -github.com/envoyproxy/go-control-plane v0.13.1/go.mod h1:X45hY0mufo6Fd0KW3rqsGvQMw58jvjymeCzBU3mWyHw= -github.com/envoyproxy/go-control-plane v0.13.4/go.mod h1:kDfuBlDVsSj2MjrLEtRWtHlsWIFcGyB2RMO44Dc5GZA= -github.com/envoyproxy/go-control-plane/envoy v1.32.3/go.mod h1:F6hWupPfh75TBXGKA++MCT/CZHFq5r9/uwt/kQYkZfE= -github.com/envoyproxy/go-control-plane/envoy v1.32.4/go.mod h1:Gzjc5k8JcJswLjAx1Zm+wSYE20UrLtt7JZMWiWQXQEw= -github.com/envoyproxy/go-control-plane/ratelimit v0.1.0/go.mod h1:Wk+tMFAFbCXaJPzVVHnPgRKdUdwW/KdbRt94AzgRee4= -github.com/envoyproxy/protoc-gen-validate v0.6.2/go.mod h1:2t7qjJNvHPx8IjnBOzl9E9/baC+qXE/TeeyBRzgJDws= -github.com/envoyproxy/protoc-gen-validate v0.9.1 h1:PS7VIOgmSVhWUEeZwTe7z7zouA22Cr590PzXKbZHOVY= -github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew= -github.com/envoyproxy/protoc-gen-validate v1.1.0 h1:tntQDh69XqOCOZsDz0lVJQez/2L6Uu2PdjCQwWCJ3bM= -github.com/envoyproxy/protoc-gen-validate v1.1.0/go.mod h1:sXRDRVmzEbkM7CVcM06s9shE/m23dg3wzjl0UWqJ2q4= -github.com/envoyproxy/protoc-gen-validate v1.2.1/go.mod h1:d/C80l/jxXLdfEIhX1W2TmLfsJ31lvEjwamM4DxlWXU= -github.com/ethereum/c-kzg-4844/v2 v2.1.1 h1:KhzBVjmURsfr1+S3k/VE35T02+AW2qU9t9gr4R6YpSo= -github.com/ethereum/c-kzg-4844/v2 v2.1.1/go.mod h1:TC48kOKjJKPbN7C++qIgt0TJzZ70QznYR7Ob+WXl57E= -github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= -github.com/ferranbt/fastssz v0.1.2 h1:Dky6dXlngF6Qjc+EfDipAkE83N5I5DE68bY6O0VLNPk= -github.com/fjl/gencodec v0.1.0 h1:B3K0xPfc52cw52BBgUbSPxYo+HlLfAgWMVKRWXUXBcs= -github.com/flosch/pongo2/v4 v4.0.2 h1:gv+5Pe3vaSVmiJvh/BZa82b7/00YUGm0PIyVVLop0Hw= -github.com/fogleman/gg v1.3.0 h1:/7zJX8F6AaYQc57WQCyN9cAIz+4bCJGO9B+dyW29am8= -github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db h1:gb2Z18BhTPJPpLQWj4T+rfKHYCHxRHCtRxhKKjRidVw= -github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8 h1:a9ENSRDFBUPkJ5lCgVZh26+ZbGyoVJG7yb5SSzF5H54= -github.com/fullstorydev/grpcurl v1.6.0 h1:p8BB6VZF8O7w6MxGr3KJ9E6EVKaswCevSALK6FBtMzA= -github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sapM= -github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= -github.com/garslo/gogen v0.0.0-20170306192744-1d203ffc1f61 h1:IZqZOB2fydHte3kUgxrzK5E1fW7RQGeDwE8F/ZZnUYc= -github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff h1:tY80oXqGNY4FhTFhk+o9oFHGINQ/+vhlm8HFzi6znCI= -github.com/getkin/kin-openapi v0.53.0 h1:7WzP+MZRRe7YQz2Kc74Ley3dukJmXDvifVbElGmQfoA= -github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= -github.com/go-chi/chi/v5 v5.0.0 h1:DBPx88FjZJH3FsICfDAfIfnb7XxKIYVGG6lOPlhENAg= -github.com/go-chi/chi/v5 v5.2.2 h1:CMwsvRVTbXVytCk1Wd72Zy1LAsAh9GxMmSNWLHCG618= -github.com/go-chi/chi/v5 v5.2.2/go.mod h1:L2yAIGWB3H+phAw1NxKwWM+7eUH/lU8pOMm5hHcoops= -github.com/go-chi/cors v1.2.2 h1:Jmey33TE+b+rB7fT8MUy1u0I4L+NARQlK6LhzKPSyQE= -github.com/go-chi/cors v1.2.2/go.mod h1:sSbTewc+6wYHBBCW7ytsFSn836hqM7JxpglAy2Vzc58= -github.com/go-faster/city v1.0.1 h1:4WAxSZ3V2Ws4QRDrscLEDcibJY8uf41H6AhXDrNDcGw= -github.com/go-faster/city v1.0.1/go.mod h1:jKcUJId49qdW3L1qKHH/3wPeUstCVpVSXTM6vO3VcTw= -github.com/go-faster/errors v0.7.1 h1:MkJTnDoEdi9pDabt1dpWf7AA8/BaSYZqibYyhZ20AYg= -github.com/go-faster/errors v0.7.1/go.mod h1:5ySTjWFiphBs07IKuiL69nxdfd5+fzh1u7FPGZP2quo= -github.com/go-fonts/dejavu v0.1.0 h1:JSajPXURYqpr+Cu8U9bt8K+XcACIHWqWrvWCKyeFmVQ= -github.com/go-fonts/latin-modern v0.2.0 h1:5/Tv1Ek/QCr20C6ZOz15vw3g7GELYL98KWr8Hgo+3vk= -github.com/go-fonts/liberation v0.2.0 h1:jAkAWJP4S+OsrPLZM4/eC9iW7CtHy+HBXrEwZXWo5VM= -github.com/go-fonts/stix v0.1.0 h1:UlZlgrvvmT/58o573ot7NFw0vZasZ5I6bcIft/oMdgg= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1 h1:QbL/5oDUmRBzO9/Z7Seo6zf912W/a6Sr4Eu0G/3Jho0= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4 h1:WtGNWLvXpe6ZudgnXrq0barxBImvnnJoMEhXAzcbM0I= -github.com/go-jose/go-jose/v4 v4.0.4/go.mod h1:NKb5HO1EZccyMpiZNbdUw/14tiXNyUJh188dfnMCAfc= -github.com/go-latex/latex v0.0.0-20210823091927-c0d11ff05a81 h1:6zl3BbBhdnMkpSj2YY30qV3gDcVBGtFgVsV3+/i+mKQ= -github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ= -github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg= -github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab h1:xveKWz2iaueeTaUgdetzel+U7exyigDYBryyVfV/rZk= -github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= -github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ= -github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY= -github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= -github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= -github.com/go-openapi/swag v0.19.5 h1:lTz6Ys4CmqqCQmZPBlbQENR1/GucA2bzYTE12Pw4tFY= -github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE= -github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ= -github.com/go-pdf/fpdf v0.6.0 h1:MlgtGIfsdMEEQJr2le6b/HNr1ZlQwxyWr77r2aj2U/8= -github.com/go-redis/redis v6.15.8+incompatible h1:BKZuG6mCnRj5AOaWJXoCgf6rqTYnYJLe4en2hxT7r9o= -github.com/go-redis/redis/v8 v8.11.5 h1:AcZZR7igkdvfVmQTPnu9WE37LRrO/YrBH5zWyjDC0oI= -github.com/go-redsync/redsync/v4 v4.13.0 h1:49X6GJfnbLGaIpBBREM/zA4uIMDXKAh1NDkvQ1EkZKA= -github.com/go-redsync/redsync/v4 v4.13.0/go.mod h1:HMW4Q224GZQz6x1Xc7040Yfgacukdzu7ifTDAKiyErQ= -github.com/go-resty/resty/v2 v2.16.5 h1:hBKqmWrr7uRc3euHVqmh1HTHcKn99Smr7o5spptdhTM= -github.com/go-resty/resty/v2 v2.16.5/go.mod h1:hkJtXbA2iKHzJheXYvQ8snQES5ZLGKMwQ07xAwp/fiA= -github.com/go-stack/stack v1.8.1 h1:ntEHSVwIt7PNXNpgPmVfMrNhLtgjlmnZha2kOpuRiDw= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 h1:p104kn46Q8WdvHunIJ9dAyjPVtrBPhSr3KT2yUst43I= -github.com/go-viper/mapstructure/v2 v2.3.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= -github.com/go-zookeeper/zk v1.0.2 h1:4mx0EYENAdX/B/rbunjlt5+4RTA/a9SMHBRuSKdGxPM= -github.com/go-zookeeper/zk v1.0.2/go.mod h1:nOB03cncLtlp4t+UAkGSV+9beXP/akpekBwL+UX1Qcw= -github.com/goccy/go-yaml v1.17.1 h1:LI34wktB2xEE3ONG/2Ar54+/HJVBriAGJ55PHls4YuY= -github.com/goccy/go-yaml v1.17.1/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA= -github.com/godbus/dbus/v5 v5.0.4 h1:9349emZab16e7zQvpmsbtjc18ykshndd8y2PG3sgJbA= -github.com/godbus/dbus/v5 v5.0.6 h1:mkgN1ofwASrYnJ5W6U/BxG15eXXXjirgZc7CLqkcaro= -github.com/godbus/dbus/v5 v5.0.6/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gogo/googleapis v1.4.1 h1:1Yx4Myt7BxzvUr5ldGSbwYiZG6t9wGBZ+8/fX3Wvtq0= -github.com/gogo/status v1.1.0 h1:+eIkrewn5q6b30y+g/BJINVVdi2xH7je5MPJ3ZPK3JA= -github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY= -github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 h1:DACJavvAHhabrF08vX0COfcOBJRhZ8lUbR+ZWIs0Y5g= -github.com/golang/glog v1.0.0 h1:nfP3RFugxnNRyKgeWd4oI1nYvXpxrx8ck8ZrcizshdQ= -github.com/gonum/blas v0.0.0-20181208220705-f22b278b28ac h1:Q0Jsdxl5jbxouNs1TQYt0gxesYMU4VXRbsTlgDloZ50= -github.com/gonum/floats v0.0.0-20181209220543-c233463c7e82 h1:EvokxLQsaaQjcWVWSV38221VAK7qc2zhaO17bKys/18= -github.com/gonum/internal v0.0.0-20181124074243-f884aa714029 h1:8jtTdc+Nfj9AR+0soOeia9UZSvYBvETVHZrugUowJ7M= -github.com/gonum/lapack v0.0.0-20181123203213-e4cdc5a0bff9 h1:7qnwS9+oeSiOIsiUMajT+0R7HR6hw5NegnKPmn/94oI= -github.com/gonum/matrix v0.0.0-20181209220409-c518dec07be9 h1:V2IgdyerlBa/MxaEFRbV5juy/C3MGdj4ePi+g6ePIp4= -github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= -github.com/google/certificate-transparency-go v1.1.1 h1:6JHXZhXEvilMcTjR4MGZn5KV0IRkcFl4CJx5iHVhjFE= -github.com/google/gnostic-models v0.7.0 h1:qwTtogB15McXDaNqTZdzPJRHvaVJlAl+HVQnLmJEJxo= -github.com/google/gnostic-models v0.7.0/go.mod h1:whL5G0m6dmc5cPxKc5bdKdEN3UjI7OUGxBlw57miDrQ= -github.com/google/go-pkcs11 v0.3.0 h1:PVRnTgtArZ3QQqTGtbtjtnIkzl2iY2kt24yqbrf7td8= -github.com/google/go-pkcs11 v0.3.0/go.mod h1:6eQoGcuNJpa7jnd5pMGdkSaQpNDYvPlXWMcjXXThLlY= -github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= -github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= -github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw= -github.com/google/martian/v3 v3.3.3 h1:DIhPTQrbPkgs2yJYdXU/eNACCG5DVQjySNRNlflZ9Fc= -github.com/google/martian/v3 v3.3.3/go.mod h1:iEPrYcgCF7jA9OtScMFQyAlZZ4YXTKEtJ1E6RWzmBA0= -github.com/google/renameio v0.1.0 h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA= -github.com/google/s2a-go v0.1.8 h1:zZDs9gcbt9ZPLV0ndSyQk6Kacx2g/X+SKYovpnz3SMM= -github.com/google/s2a-go v0.1.8/go.mod h1:6iNWHTpQ+nfNRN5E00MSdfDwVesa8hhS32PhPO8deJA= -github.com/google/s2a-go v0.1.9 h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0= -github.com/google/s2a-go v0.1.9/go.mod h1:YA0Ei2ZQL3acow2O62kdp9UlnvMmU7kA6Eutn0dXayM= -github.com/google/safehtml v0.0.2 h1:ZOt2VXg4x24bW0m2jtzAOkhoXV0iM8vNKc0paByCZqM= -github.com/google/subcommands v1.2.0 h1:vWQspBTo2nEqTUFita5/KeEWlUL8kQObDFbub/EN9oE= -github.com/google/trillian v1.3.11 h1:pPzJPkK06mvXId1LHEAJxIegGgHzzp/FUnycPYfoCMI= -github.com/googleapis/cloud-bigtable-clients-test v0.0.2 h1:S+sCHWAiAc+urcEnvg5JYJUOdlQEm/SEzQ/c/IdAH5M= -github.com/googleapis/cloud-bigtable-clients-test v0.0.2/go.mod h1:mk3CrkrouRgtnhID6UZQDK3DrFFa7cYCAJcEmNsHYrY= -github.com/googleapis/cloud-bigtable-clients-test v0.0.3/go.mod h1:TWtDzrrAI70C3dNLDY+nZN3gxHtFdZIbpL9rCTFyxE0= -github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= -github.com/googleapis/enterprise-certificate-proxy v0.3.4 h1:XYIDZApgAnrN1c855gTgghdIA6Stxb52D5RnLI1SLyw= -github.com/googleapis/enterprise-certificate-proxy v0.3.4/go.mod h1:YKe7cfqYXjKGpGvmSg28/fFvhNzinZQm8DGnaburhGA= -github.com/googleapis/enterprise-certificate-proxy v0.3.6 h1:GW/XbdyBFQ8Qe+YAmFU9uHLo7OnF5tL52HFAgMmyrf4= -github.com/googleapis/enterprise-certificate-proxy v0.3.6/go.mod h1:MkHOF77EYAE7qfSuSS9PU6g4Nt4e11cnsDUowfwewLA= -github.com/googleapis/gax-go v0.0.0-20161107002406-da06d194a00e h1:CYRpN206UTHUinz3VJoLaBdy1gEGeJNsqT0mvswDcMw= -github.com/googleapis/gax-go/v2 v2.12.3/go.mod h1:AKloxT6GtNbaLm8QTNSidHUVsHYcBHwWRvkNFJUQcS4= -github.com/googleapis/gax-go/v2 v2.14.0/go.mod h1:lhBCnjdLrWRaPvLWhmc8IS24m9mr07qSYnHncrgo+zk= -github.com/googleapis/gax-go/v2 v2.14.1 h1:hb0FFeiPaQskmvakKu5EbCbpntQn48jyHuvrkurSS/Q= -github.com/googleapis/gax-go/v2 v2.14.1/go.mod h1:Hb/NubMaVM88SrNkvl8X/o8XWwDJEPqouaLeN2IUxoA= -github.com/googleapis/gax-go/v2 v2.14.2/go.mod h1:ON64QhlJkhVtSqp4v1uaK92VyZ2gmvDQsweuyLV+8+w= -github.com/googleapis/gax-go/v2 v2.15.0 h1:SyjDc1mGgZU5LncH8gimWo9lW1DtIfPibOG81vgd/bo= -github.com/googleapis/gax-go/v2 v2.15.0/go.mod h1:zVVkkxAQHa1RQpg9z2AUCMnKhi0Qld9rcmyfL1OZhoc= -github.com/googleapis/go-type-adapters v1.0.0 h1:9XdMn+d/G57qq1s8dNc5IesGCXHf6V2HZ2JwRxfA2tA= -github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8 h1:tlyzajkF3030q6M8SvmJSemC9DTHL/xaMa18b65+JM4= -github.com/gookit/color v1.5.1 h1:Vjg2VEcdHpwq+oY63s/ksHrgJYCTo0bwWvmmYWdE9fQ= -github.com/gookit/color v1.5.1/go.mod h1:wZFzea4X8qN6vHOSP2apMb4/+w/orMznEzYsIHPaqKM= -github.com/gookit/color v1.5.4 h1:FZmqs7XOyGgCAxmWyPslpiok1k05wmY3SJTytgvYFs0= -github.com/gookit/color v1.5.4/go.mod h1:pZJOeOS8DM43rXbp4AZo1n9zCU2qjpcRko0b6/QJi9w= -github.com/gopherjs/gopherjs v1.17.2 h1:fQnZVsXk8uxXIStYb0N4bGk7jeyTalG/wsZjQ25dO0g= -github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75 h1:f0n1xnMSmBLzVfsMMvriDyA75NB/oBgILX2GcHXIQzY= -github.com/gorilla/context v1.1.1 h1:AWwleXJkX/nhcU9bZSnZoi3h/qGYqQAGhq6zZe/aQW8= -github.com/gorilla/css v1.0.0 h1:BQqNyPTi50JCFMTw/b67hByjMVXZRwGha6wxVGkeihY= -github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ= -github.com/gostaticanalysis/analysisutil v0.4.1/go.mod h1:18U/DLpRgIUd459wGxVHE0fRgmo1UgHDcbw7F5idXu0= -github.com/graph-gophers/graphql-go v1.3.0 h1:Eb9x/q6MFpCLz7jBCiP/WTxjSDrYLR1QY41SORZyNJ0= -github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 h1:YBftPWNWd4WwGqtY2yeZL2ef8rHAxPBD8KFhJpmcqms= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3/go.mod h1:ndYquD05frm2vACXE1nsccT4oJzjhw2arTS2cpUD1PI= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1 h1:X5VWvz21y3gzm9Nw/kaUeku/1+uBhcekkmy4IkffJww= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1/go.mod h1:Zanoh4+gvIgluNqcfMVTJueD4wSS5hT7zTt4Mrutd90= -github.com/guptarohit/asciigraph v0.5.5 h1:ccFnUF8xYIOUPPY3tmdvRyHqmn1MYI9iv1pLKX+/ZkQ= -github.com/hamba/avro/v2 v2.29.0 h1:fkqoWEPxfygZxrkktgSHEpd0j/P7RKTBTDbcEeMdVEY= -github.com/hamba/avro/v2 v2.29.0/go.mod h1:Pk3T+x74uJoJOFmHrdJ8PRdgSEL/kEKteJ31NytCKxI= -github.com/hashicorp/consul/api v1.10.1 h1:MwZJp86nlnL+6+W1Zly4JUuVn9YHhMggBirMpHGD7kw= -github.com/hashicorp/consul/api v1.10.1/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M= -github.com/hashicorp/consul/api v1.11.0/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M= -github.com/hashicorp/consul/api v1.12.0 h1:k3y1FYv6nuKyNTqj6w9gXOx5r5CfLj/k/euUeBXj1OY= -github.com/hashicorp/consul/sdk v0.3.0 h1:UOxjlb4xVNF93jak1mzzoBatyFju9nrkxpVwIp/QqxQ= -github.com/hashicorp/consul/sdk v0.8.0 h1:OJtKBtEjboEZvG6AOUdh4Z1Zbyu0WcxQ0qatRrZHTVU= -github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= -github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-hclog v0.16.2 h1:K4ev2ib4LdQETX5cSZBG0DVLk1jwGqSPXBjdah3veNs= -github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.0.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.2.0 h1:La19f8d7WIlm4ogzNHB0JGqs5AUDAZ2UfCY4sJXcJdM= -github.com/hashicorp/go-msgpack v0.5.3 h1:zKjpN5BK/P5lMYrLmBHdBULWbJ0XpYR+7NGzqkZzoD4= -github.com/hashicorp/go-retryablehttp v0.5.3 h1:QlWt0KvWT0lq8MFppF9tsJGF+ynG7ztc2KIPhzRGk7s= -github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= -github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= -github.com/hashicorp/go-sockaddr v1.0.0 h1:GeH6tui99pF4NJgfnhp+L6+FfobzVW3Ah46sLo0ICXs= -github.com/hashicorp/go-syslog v1.0.0 h1:KaodqZuhUoZereWVIYmpUgZysurB1kBLX2j0MwMrUAE= -github.com/hashicorp/go.net v0.0.1 h1:sNCoNyDEvN1xa+X0baata4RdcpKwcMS6DH+xwfqPgjw= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= -github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= -github.com/hashicorp/mdns v1.0.0 h1:WhIgCr5a7AaVH6jPUwjtRuuE7/RDufnUvzIr48smyxs= -github.com/hashicorp/mdns v1.0.1/go.mod h1:4gW7WsVCke5TE7EPeYliwHlRUyBtfCwuFwuMg2DmyNY= -github.com/hashicorp/mdns v1.0.4 h1:sY0CMhFmjIPDMlTB+HfymFHCaYLhgifZ0QhjaYKD/UQ= -github.com/hashicorp/memberlist v0.1.3 h1:EmmoJme1matNzb+hMpDuR/0sbJSUisxyqBGG676r31M= -github.com/hashicorp/memberlist v0.2.2/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= -github.com/hashicorp/memberlist v0.3.0 h1:8+567mCcFDnS5ADl7lrpxPMWiFCElyUEeW0gtj34fMA= -github.com/hashicorp/serf v0.9.5 h1:EBWvyu9tcRszt3Bxp3KNssBMP1KuHWyO51lz9+786iM= -github.com/hashicorp/serf v0.9.5/go.mod h1:UWDWwZeL5cuWDJdl0C6wrvrUwEqtQ4ZKBKKENpqIUyk= -github.com/hashicorp/serf v0.9.7 h1:hkdgbqizGQHuU5IPqYM1JdSMV8nKfpuOnZYXssk9muY= -github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= -github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= -github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/hudl/fargo v1.4.0 h1:ZDDILMbB37UlAVLlWcJ2Iz1XuahZZTDZfdCKeclfq2s= -github.com/hudl/fargo v1.4.0/go.mod h1:9Ai6uvFy5fQNq6VPKtg+Ceq1+eTY4nKUlR2JElEOcDo= -github.com/hydrogen18/memlistener v1.0.0 h1:JR7eDj8HD6eXrc5fWLbSUnfcQFL06PYvCc0DKQnWfaU= -github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0= -github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI= -github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= -github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2 h1:rcanfLhLDA8nozr/K289V1zcntHr3V+SHlXwzz1ZI2g= -github.com/imdario/mergo v0.3.8 h1:CGgOkSJeqMRmt0D9XLWExdT4m4F1vd3FV3VPt+0VxkQ= -github.com/imkira/go-interpol v1.1.0 h1:KIiKr0VSG2CUW1hl1jpiyuzuJeKUUpC8iM1AIE7N1Vk= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/influxdata/influxdb-client-go/v2 v2.4.0 h1:HGBfZYStlx3Kqvsv1h2pJixbCl/jhnFtxpKFAv9Tu5k= -github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c h1:qSHzRbhzK8RdXOsAdfDgO49TtqC1oZ+acxPrkfTxcCs= -github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 h1:W9WBk7wlPfJLvMCdtV4zPulc4uCPrlywQOmbFOhgQNU= -github.com/iris-contrib/go.uuid v2.0.0+incompatible h1:XZubAYg61/JwnJNbZilGjf3b3pB80+OQg2qf6c8BfWE= -github.com/iris-contrib/httpexpect/v2 v2.12.1 h1:3cTZSyBBen/kfjCtgNFoUKi1u0FVXNaAjyRJOo6AVS4= -github.com/iris-contrib/schema v0.0.6 h1:CPSBLyx2e91H2yJzPuhGuifVRnZBBJ3pCOMbOvPZaTw= -github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= -github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= -github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo= -github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= -github.com/jackc/pgx/v5 v5.7.5 h1:JHGfMnQY+IEtGM63d+NGMjoRpysB2JBwDr5fsngwmJs= -github.com/jackc/pgx/v5 v5.7.5/go.mod h1:aruU7o91Tc2q2cFp5h4uP3f6ztExVpyVv88Xl/8Vl8M= -github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo= -github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= -github.com/jedisct1/go-minisign v0.0.0-20230811132847-661be99b8267 h1:TMtDYDHKYY15rFihtRfck/bfFqNfvcabqvXAFQfAUpY= -github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA= -github.com/jhump/gopoet v0.1.0 h1:gYjOPnzHd2nzB37xYQZxj4EIQNpBrBskRqQQ3q4ZgSg= -github.com/jhump/goprotoc v0.5.0 h1:Y1UgUX+txUznfqcGdDef8ZOVlyQvnV0pKWZH08RmZuo= -github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= -github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= -github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= -github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= -github.com/jmoiron/sqlx v1.2.0 h1:41Ip0zITnmWNR/vHV+S4m+VoUivnWY5E4OJfLZjCJMA= -github.com/jonboulle/clockwork v0.1.0 h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0hcPo= -github.com/jonboulle/clockwork v0.2.0 h1:J2SLSdy7HgElq8ekSl2Mxh6vrRNFxqbXGenYH2I02Vs= -github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= -github.com/josharian/txtarfs v0.0.0-20210218200122-0702f000015a h1:8NZHLa6Gp0hW6xJ0c3F1Kse7dJw30fOcDzHuF9sLbnE= -github.com/josharian/txtarfs v0.0.0-20210218200122-0702f000015a/go.mod h1:izVPOvVRsHiKkeGCT6tYBNWyDVuzj9wAaBb5R9qamfw= -github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA= -github.com/jrick/logrotate v1.0.0 h1:lQ1bL/n9mBNeIXoTUoYRlK4dHuNJVofX9oWqBtPnSzI= -github.com/jstemmer/go-junit-report v0.9.1 h1:6QPYqodiu3GuPL+7mfx+NwDdp2eTkp9IfEUpgAwUN0o= -github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= -github.com/juju/ratelimit v1.0.1 h1:+7AIFJVQ0EQgq/K9+0Krm7m530Du7tIz0METWzN0RgY= -github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U= -github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5 h1:PJr+ZMXIecYc1Ey2zucXdR73SMBtgjPgwa31099IMv0= -github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88 h1:uC1QfSlInpQF+M0ao65imhwqKnz3Q2z/d8PWZRMQvDM= -github.com/karalabe/hid v1.0.1-0.20240306101548-573246063e52 h1:msKODTL1m0wigztaqILOtla9HeW1ciscYG4xjLtvk5I= -github.com/kataras/blocks v0.0.7 h1:cF3RDY/vxnSRezc7vLFlQFTYXG/yAr1o7WImJuZbzC4= -github.com/kataras/golog v0.1.8 h1:isP8th4PJH2SrbkciKnylaND9xoTtfxv++NB+DF0l9g= -github.com/kataras/iris/v12 v12.2.0 h1:WzDY5nGuW/LgVaFS5BtTkW3crdSKJ/FEgWnxPnIVVLI= -github.com/kataras/jwt v0.1.8 h1:u71baOsYD22HWeSOg32tCHbczPjdCk7V4MMeJqTtmGk= -github.com/kataras/neffos v0.0.21 h1:UwN/F44jlqdtgFI29y3VhA7IlJ4JbK3UjCbTDg1pYoo= -github.com/kataras/pio v0.0.11 h1:kqreJ5KOEXGMwHAWHDwIl+mjfNCPhAwZPa8gK7MKlyw= -github.com/kataras/sitemap v0.0.6 h1:w71CRMMKYMJh6LR2wTgnk5hSgjVNB9KL60n5e2KHvLY= -github.com/kataras/tunnel v0.0.4 h1:sCAqWuJV7nPzGrlb0os3j49lk2JhILT0rID38NHNLpA= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= -github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d h1:Z+RDyXzjKE0i2sTjZ/b1uxiGtPhFy34Ou/Tk0qwN0kM= -github.com/kilic/bls12-381 v0.1.0 h1:encrdjqKMEvabVQ7qYOKu1OvhqpK4s47wDYtNiPtlp4= -github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23 h1:FOOIBWrEkLgmlgGfMuZT83xIwfPDxEI2OHu6xUmJMFE= -github.com/klauspost/compress v1.13.4/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= -github.com/klauspost/compress v1.13.5/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= -github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= -github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY= -github.com/kr/pty v1.1.1 h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw= -github.com/labstack/echo/v4 v4.10.0 h1:5CiyngihEO4HXsz3vVsJn7f8xAlWwRr3aY6Ih280ZKA= -github.com/labstack/gommon v0.4.0 h1:y7cvthEAEbU0yHOf4axH8ZG2NH8knB9iNSoTO8dyIk8= -github.com/ledgerwatch/interfaces v0.0.0-20230210062155-539b8171d9f0 h1:AbXB1b7L84dXxc0em6As+KkjbjEdIebsF07WVLemEXI= -github.com/ledgerwatch/interfaces v0.0.0-20230210062155-539b8171d9f0/go.mod h1:ugQv1QllJzBny3cKZKxUrSnykkjkBgm27eQM6dnGAcc= -github.com/ledgerwatch/log/v3 v3.7.0 h1:aFPEZdwZx4jzA3+/Pf8wNDN5tCI0cIolq/kfvgcM+og= -github.com/ledgerwatch/log/v3 v3.7.0/go.mod h1:J2Jl6zV/58LeA6LTaVVnCGyf1/cYYSEOOLHY4ZN8S2A= -github.com/ledgerwatch/secp256k1 v1.0.0 h1:Usvz87YoTG0uePIV8woOof5cQnLXGYa162rFf3YnwaQ= -github.com/ledgerwatch/secp256k1 v1.0.0/go.mod h1:SPmqJFciiF/Q0mPt2jVs2dTr/1TZBTIA+kPMmKgBAak= -github.com/ledgerwatch/trackerslist v1.0.0 h1:6gnQu93WCTL4jPcdmc8UEmw56Cb8IFQHLGnevfIeLwo= -github.com/ledgerwatch/trackerslist v1.0.0/go.mod h1:pCC+eEw8izNcnBBiSwvIq8kKsxDLInAafSW275jqFrg= -github.com/letsencrypt/pkcs11key/v4 v4.0.0 h1:qLc/OznH7xMr5ARJgkZCCWk+EomQkiNTOoOF5LAgagc= -github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743 h1:143Bb8f8DuGWck/xpNUOckBVYfFbBTnLevfRZ1aVVqo= -github.com/lightstep/lightstep-tracer-go v0.18.1 h1:vi1F1IQ8N7hNWytK9DpJsUfQhGuNSc19z330K6vl4zk= -github.com/lispad/go-generics-tools v1.1.0 h1:mbSgcxdFVmpoyso1X/MJHXbSbSL3dD+qhRryyxk+/XY= -github.com/lispad/go-generics-tools v1.1.0/go.mod h1:2csd1EJljo/gy5qG4khXol7ivCPptNjG5Uv2X8MgK84= -github.com/lithammer/fuzzysearch v1.1.8 h1:/HIuJnjHuXS8bKaiTMeeDlW2/AyIWk2brx1V8LFgLN4= -github.com/lithammer/fuzzysearch v1.1.8/go.mod h1:IdqeyBClc3FFqSzYq/MXESsS4S0FsZ5ajtkr5xPLts4= -github.com/lucasjones/reggen v0.0.0-20180717132126-cdb49ff09d77 h1:6xiz3+ZczT3M4+I+JLpcPGG1bQKm8067HktB17EDWEE= -github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4= -github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w= -github.com/lyft/protoc-gen-star v0.6.1 h1:erE0rdztuaDq3bpGifD95wfoPrSZc95nGA6tbiNYh6M= -github.com/lyft/protoc-gen-star/v2 v2.0.4-0.20230330145011-496ad1ac90a4 h1:sIXJOMrYnQZJu7OB7ANSF4MYri2fTEGIsRLz6LwI4xE= -github.com/lyft/protoc-gen-star/v2 v2.0.4-0.20230330145011-496ad1ac90a4/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLOSpEk//mLlc+axEk= -github.com/magefile/mage v1.14.0 h1:6QDX3g6z1YvJ4olPhT1wksUcSa/V0a1B+pJb73fBjyo= -github.com/magefile/mage v1.14.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= -github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw= -github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= -github.com/matryer/moq v0.3.0 h1:4j0goF/XK3pMTc7fJB3fveuTJoQNdavRX/78vlK3Xb4= -github.com/matryer/moq v0.3.0/go.mod h1:RJ75ZZZD71hejp39j4crZLsEDszGk6iH4v4YsWFKH4s= -github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2 h1:JAEbJn3j/FrhdWA9jW8B5ajsLIjeuEHLi8xE4fk997o= -github.com/mattn/go-sqlite3 v1.14.14 h1:qZgc/Rwetq+MtyE18WhzjokPD93dNqLGNT3QJuLvBGw= -github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= -github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/mediocregopher/radix/v3 v3.8.1 h1:rOkHflVuulFKlwsLY01/M2cM2tWCjDoETcMqKbAWu1M= -github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517 h1:zpIH83+oKzcpryru8ceC6BxnoG8TBrhgAvRg8obzup0= -github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517/go.mod h1:KQ7+USdGKfpPjXk4Ga+5XxQM4Lm4e3gAogrreFAYpOg= -github.com/microcosm-cc/bluemonday v1.0.23 h1:SMZe2IGa0NuHvnVNAZ+6B38gsTbi5e4sViiWJyDDqFY= -github.com/miekg/dns v1.1.43 h1:JKfpVSCB84vrAmHzyrsxB5NAr5kLoMXZArPSw7Qlgyg= -github.com/miekg/dns v1.1.43/go.mod h1:+evo5L0630/F6ca/Z9+GAqzhjGyn8/c+TBaOyfEl0V4= -github.com/miekg/pkcs11 v1.0.3 h1:iMwmD7I5225wv84WxIG/bmxz9AXjWvTWIbM/TYHvWtw= -github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= -github.com/minio/sha256-simd v1.0.0 h1:v1ta+49hkWZyvaKwrQB8elexRqm6Y0aMLjCNsrYxo6g= -github.com/mitchellh/cli v1.0.0 h1:iGBIsUe3+HZ/AD/Vd7DErOt5sU9fa8Uj7A2s1aggv1Y= -github.com/mitchellh/cli v1.1.0 h1:tEElEatulEHDeedTxwckzyYMA5c86fbmNIUL1hBIiTg= -github.com/mitchellh/copystructure v1.0.0 h1:Laisrj+bAB6b/yJwB5Bt3ITZhGJdqmxquMKeZ+mmkFQ= -github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= -github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= -github.com/mitchellh/go-testing-interface v1.0.0 h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0= -github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= -github.com/mitchellh/gox v0.4.0 h1:lfGJxY7ToLJQjHHwi0EX6uYBdK78egf954SQl13PQJc= -github.com/mitchellh/iochan v1.0.0 h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY= -github.com/mitchellh/reflectwalk v1.0.1 h1:FVzMWA5RllMAKIdUSC8mdWo3XtwoecrH79BY70sEEpE= -github.com/mmcloughlin/addchain v0.4.0 h1:SobOdjm2xLj1KkXN5/n0xTIWyZA2+s99UCY1iPfkHRY= -github.com/mmcloughlin/profile v0.1.1 h1:jhDmAqPyebOsVDOCICJoINoLb/AnLBaUw58nFzxWS2w= -github.com/moby/sys/mountinfo v0.4.1 h1:1O+1cHA1aujwEwwVMa2Xm2l+gIpUHyd3+D+d7LZh1kM= -github.com/moby/sys/mountinfo v0.5.0 h1:2Ks8/r6lopsxWi9m58nlwjaeSzUX9iiL1vj5qB/9ObI= -github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU= -github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5 h1:8Q0qkMVC/MmWkpIdlvZgcv2o2jrlF6zqVOh7W5YHdMA= -github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw= -github.com/montanaflynn/stats v0.7.0 h1:r3y12KyNxj/Sb/iOE46ws+3mS1+MZca1wlHQFPsY/JU= -github.com/mozilla/scribe v0.0.0-20180711195314-fb71baf557c1 h1:29NKShH4TWd3lxCDUhS4Xe16EWMA753dtIxYtwddklU= -github.com/mozilla/tls-observatory v0.0.0-20210609171429-7bc42856d2e5 h1:0KqC6/sLy7fDpBdybhVkkv4Yz+PmB7c9Dz9z3dLW804= -github.com/mozilla/tls-observatory v0.0.0-20210609171429-7bc42856d2e5/go.mod h1:FUqVoUPHSEdDR0MnFM3Dh8AU0pZHLXUD127SAJGER/s= -github.com/mrunalp/fileutils v0.5.0 h1:NKzVxiH7eSk+OQ4M+ZYW1K6h27RUV3MI6NUTsHhU6Z4= -github.com/mrunalp/fileutils v0.5.1 h1:F+S7ZlNKnrwHfSwdlgNSkKo67ReVf8o9fel6C3dkm/Q= -github.com/mrunalp/fileutils v0.5.1/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= -github.com/mschoch/smat v0.2.0 h1:8imxQsjDm8yFEAVBe7azKmKSgzSkZXDuKkSq9374khM= -github.com/mschoch/smat v0.2.0/go.mod h1:kc9mz7DoBKqDyiRL7VZN8KvXQMWeTaVnttLRXOlotKw= -github.com/mwitkow/go-proto-validators v0.2.0 h1:F6LFfmgVnfULfaRsQWBbe7F7ocuHCr9+7m+GAeDzNbQ= -github.com/mwitkow/grpc-proxy v0.0.0-20181017164139-0f1106ef9c76 h1:0xuRacu/Zr+jX+KyLLPPktbwXqyOvnOPUQmMLzX1jxU= -github.com/naoina/go-stringutil v0.1.0 h1:rCUeRUHjBjGTSHl0VC00jUPLz8/F9dDzYI70Hzifhks= -github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416 h1:shk/vn9oCoOTmwcouEdwIeOtOGA/ELRUw/GwvxwfT+0= -github.com/nats-io/jwt v0.3.2 h1:+RB5hMpXUUA2dfxuhBTEkMOrYmM+gKIZYS1KjSostMI= -github.com/nats-io/jwt/v2 v2.3.0 h1:z2mA1a7tIf5ShggOFlR1oBPgd6hGqcDYsISxZByUzdI= -github.com/nats-io/nats-server/v2 v2.9.11 h1:4y5SwWvWI59V5mcqtuoqKq6L9NDUydOP3Ekwuwl8cZI= -github.com/nats-io/nats.go v1.23.0 h1:lR28r7IX44WjYgdiKz9GmUeW0uh/m33uD3yEjLZ2cOE= -github.com/nats-io/nkeys v0.3.0 h1:cgM5tL53EvYRU+2YLXIK0G2mJtK12Ft9oeooSZMA2G8= -github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= -github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4= -github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls= -github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86 h1:D6paGObi5Wud7xg83MaEFyjxQB1W5bz5d0IFppr+ymk= -github.com/neelance/sourcemap v0.0.0-20200213170602-2833bce08e4c h1:bY6ktFuJkt+ZXkX0RChQch2FtHpWQLVS8Qo1YasiIVk= -github.com/neilotoole/errgroup v0.1.5 h1:DxEGoIfFm5ooGicidR+okiHjoOaGRKFaSxDPVZuuu2I= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= -github.com/oklog/oklog v0.3.2 h1:wVfs8F+in6nTBMkA7CbRw+zZMIB7nNM825cM1wuzoTk= -github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= -github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4= -github.com/oklog/ulid/v2 v2.0.2 h1:r4fFzBm+bv0wNKNh5eXTwU7i85y5x+uwkxCUTNVQqLc= -github.com/oklog/ulid/v2 v2.0.2/go.mod h1:mtBL0Qe/0HAx6/a4Z30qxVIAL1eQDweXq5lxOEiwQ68= -github.com/onsi/gomega v1.20.0/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= -github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 h1:lDH9UUVJtmYCjyT0CI4q8xvlXPxeZ0gYCVvWbmPlp88= -github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 h1:3snG66yBm59tKhhSPQrQ/0bCrv1LQbKt40LnUPiUxdc= -github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/selinux v1.8.2 h1:c4ca10UMgRcvZ6h0K4HtS15UaVSBEaE+iln2LVpAuGc= -github.com/opencontainers/selinux v1.10.0 h1:rAiKF8hTcgLI3w0DHm6i0ylVVcOrlgR1kK99DRLDhyU= -github.com/opencontainers/selinux v1.10.0/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= -github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492 h1:lM6RxxfUMrYL/f8bWEUqdXrANWtrL7Nndbm9iFN0DlU= -github.com/opentracing/basictracer-go v1.0.0 h1:YyUAhaEfjoWXclZVJ9sGoNct7j4TVk7lZWlQw5UXuoo= -github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= -github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= -github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5 h1:ZCnq+JUrvXcDVhX/xRolRBZifmabN1HcS1wrPSvxhrU= -github.com/openzipkin/zipkin-go v0.2.5 h1:UwtQQx2pyPIgWYHRg+epgdx1/HnBQTgN3/oIYEJTQzU= -github.com/openzipkin/zipkin-go v0.2.5/go.mod h1:KpXfKdgRDnnhsxw4pNIH9Md5lyFqKUa4YDFlwRYAMyE= -github.com/otiai10/curr v1.0.0 h1:TJIWdbX0B+kpNagQrjgq8bCMrbhiuX73M2XwgtDMoOI= -github.com/otiai10/mint v1.3.1 h1:BCmzIS3n71sGfHB5NMNDB3lHYPz8fWSkCAErHed//qc= -github.com/pact-foundation/pact-go v1.0.4 h1:OYkFijGHoZAYbOIb1LWXrwKQbMMRUv1oQ89blD2Mh2Q= -github.com/paulmach/orb v0.11.1 h1:3koVegMC4X/WeiXYz9iswopaTwMem53NzTJuTF20JzU= -github.com/paulmach/orb v0.11.1/go.mod h1:5mULz1xQfs3bmQm63QEJA6lNGujuRafwA5S/EnuLaLU= -github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 h1:onHthvaw9LFnH4t2DcNVpwGmV9E1BkGknEliJkfwQj0= -github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhMYhSNPKjeNKa5WY9YCIEBRbNzFFPJbWO6Y= -github.com/pborman/uuid v1.2.0 h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g= -github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= -github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/performancecopilot/speed v3.0.0+incompatible h1:2WnRzIquHa5QxaJKShDkLM+sc0JPuwhXzK8OYOyt3Vg= -github.com/performancecopilot/speed/v4 v4.0.0 h1:VxEDCmdkfbQYDlcr/GC9YoN9PQ6p8ulk9xVsepYy9ZY= -github.com/performancecopilot/speed/v4 v4.0.0/go.mod h1:qxrSyuDGrTOWfV+uKRFhfxw6h/4HXRGUiZiufxo49BM= -github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= -github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 h1:oYW+YCJ1pachXTQmzR3rNLYGGz4g/UgFcjb28p/viDM= -github.com/phpdave11/gofpdf v1.4.2 h1:KPKiIbfwbvC/wOncwhrpRdXVj2CZTCFlw4wnoyjtHfQ= -github.com/phpdave11/gofpdi v1.0.13 h1:o61duiW8M9sMlkVXWlvP92sZJtGKENvW3VExs6dZukQ= -github.com/pierrec/lz4 v2.0.5+incompatible h1:2xWsjqPFWcplujydGg4WmhC/6fZqK42wMM8aXeqhl0I= -github.com/pierrec/lz4/v4 v4.1.18 h1:xaKrnTkyoqfh1YItXl56+6KJNVYWlEEPuAQW9xsplYQ= -github.com/pierrec/lz4/v4 v4.1.18/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= -github.com/pion/datachannel v1.5.2 h1:piB93s8LGmbECrpO84DnkIVWasRMk3IimbcXkTQLE6E= -github.com/pion/datachannel v1.5.2/go.mod h1:FTGQWaHrdCwIJ1rw6xBIfZVkslikjShim5yr05XFuCQ= -github.com/pion/ice/v2 v2.2.6 h1:R/vaLlI1J2gCx141L5PEwtuGAGcyS6e7E0hDeJFq5Ig= -github.com/pion/ice/v2 v2.2.6/go.mod h1:SWuHiOGP17lGromHTFadUe1EuPgFh/oCU6FCMZHooVE= -github.com/pion/interceptor v0.1.11 h1:00U6OlqxA3FFB50HSg25J/8cWi7P6FbSzw4eFn24Bvs= -github.com/pion/interceptor v0.1.11/go.mod h1:tbtKjZY14awXd7Bq0mmWvgtHB5MDaRN7HV3OZ/uy7s8= -github.com/pion/mdns v0.0.5 h1:Q2oj/JB3NqfzY9xGZ1fPzZzK7sDSD8rZPOvcIQ10BCw= -github.com/pion/mdns v0.0.5/go.mod h1:UgssrvdD3mxpi8tMxAXbsppL3vJ4Jipw1mTCW+al01g= -github.com/pion/randutil v0.1.0 h1:CFG1UdESneORglEsnimhUjf33Rwjubwj6xfiOXBa3mA= -github.com/pion/randutil v0.1.0/go.mod h1:XcJrSMMbbMRhASFVOlj/5hQial/Y8oH/HVo7TBZq+j8= -github.com/pion/rtcp v1.2.9 h1:1ujStwg++IOLIEoOiIQ2s+qBuJ1VN81KW+9pMPsif+U= -github.com/pion/rtcp v1.2.9/go.mod h1:qVPhiCzAm4D/rxb6XzKeyZiQK69yJpbUDJSF7TgrqNo= -github.com/pion/rtp v1.7.13 h1:qcHwlmtiI50t1XivvoawdCGTP4Uiypzfrsap+bijcoA= -github.com/pion/rtp v1.7.13/go.mod h1:bDb5n+BFZxXx0Ea7E5qe+klMuqiBrP+w8XSjiWtCUko= -github.com/pion/sctp v1.8.2 h1:yBBCIrUMJ4yFICL3RIvR4eh/H2BTTvlligmSTy+3kiA= -github.com/pion/sctp v1.8.2/go.mod h1:xFe9cLMZ5Vj6eOzpyiKjT9SwGM4KpK/8Jbw5//jc+0s= -github.com/pion/sdp/v3 v3.0.5 h1:ouvI7IgGl+V4CrqskVtr3AaTrPvPisEOxwgpdktctkU= -github.com/pion/sdp/v3 v3.0.5/go.mod h1:iiFWFpQO8Fy3S5ldclBkpXqmWy02ns78NOKoLLL0YQw= -github.com/pion/srtp/v2 v2.0.9 h1:JJq3jClmDFBPX/F5roEb0U19jSU7eUhyDqR/NZ34EKQ= -github.com/pion/srtp/v2 v2.0.9/go.mod h1:5TtM9yw6lsH0ppNCehB/EjEUli7VkUgKSPJqWVqbhQ4= -github.com/pion/stun v0.3.5 h1:uLUCBCkQby4S1cf6CGuR9QrVOKcvUwFeemaC865QHDg= -github.com/pion/stun v0.3.5/go.mod h1:gDMim+47EeEtfWogA37n6qXZS88L5V6LqFcf+DZA2UA= -github.com/pion/transport v0.13.1 h1:/UH5yLeQtwm2VZIPjxwnNFxjS4DFhyLfS4GlfuKUzfA= -github.com/pion/transport v0.13.1/go.mod h1:EBxbqzyv+ZrmDb82XswEE0BjfQFtuw1Nu6sjnjWCsGg= -github.com/pion/turn/v2 v2.0.8 h1:KEstL92OUN3k5k8qxsXHpr7WWfrdp7iJZHx99ud8muw= -github.com/pion/turn/v2 v2.0.8/go.mod h1:+y7xl719J8bAEVpSXBXvTxStjJv3hbz9YFflvkpcGPw= -github.com/pion/udp v0.1.1 h1:8UAPvyqmsxK8oOjloDk4wUt63TzFe9WEJkg5lChlj7o= -github.com/pion/udp v0.1.1/go.mod h1:6AFo+CMdKQm7UiA0eUPA8/eVCTx8jBIITLZHc9DWX5M= -github.com/pion/webrtc/v3 v3.1.42 h1:wJEQFIXVanptnQcHOLTuIo4AtGB2+mG2x4OhIhnITOA= -github.com/pion/webrtc/v3 v3.1.42/go.mod h1:ffD9DulDrPxyWvDPUIPAOSAWx9GUlOExiJPf7cCcMLA= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= -github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e h1:aoZm08cpOy4WuID//EZDgcC4zIxODThtZNPirFr42+A= -github.com/pkg/profile v1.2.1 h1:F++O52m40owAmADcojzM+9gyjmMOY/T4oYJkgFDH8RE= -github.com/pkg/sftp v1.13.1 h1:I2qBYMChEhIjOgazfJmV3/mZM256btk6wkCDRmW7JYs= -github.com/pkg/sftp v1.13.7 h1:uv+I3nNJvlKZIQGSr8JVQLNHFU9YhhNpvC14Y6KgmSM= -github.com/pkg/sftp v1.13.7/go.mod h1:KMKI0t3T6hfA+lTR/ssZdunHo+uwq7ghoN09/FSu3DY= -github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo= -github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= -github.com/posener/complete v1.1.1 h1:ccV59UEOTzVDnDUEFdT95ZzHVZ+5+158q8+SJb2QV5w= -github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXqo= -github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw= -github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g= -github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= -github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8= -github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= -github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= -github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is= -github.com/prometheus/tsdb v0.7.1 h1:YZcsG11NqnK4czYLrWd9mpEuAJIHVQLwdrleYfszMAA= -github.com/protolambda/bls12-381-util v0.1.0 h1:05DU2wJN7DTU7z28+Q+zejXkIsA/MF8JZQGhtBZZiWk= -github.com/protolambda/messagediff v1.4.0 h1:fk6gxK7WybJCaeOFK1yuh2Ldplx7qYMLibiMwWFcSZY= -github.com/protolambda/zrnt v0.34.1 h1:qW55rnhZJDnOb3TwFiFRJZi3yTXFrJdGOFQM7vCwYGg= -github.com/protolambda/ztyp v0.2.2 h1:rVcL3vBu9W/aV646zF6caLS/dyn9BN8NYiuJzicLNyY= -github.com/prysmaticlabs/gohashtree v0.0.1-alpha.0.20220714111606-acbb2962fb48 h1:cSo6/vk8YpvkLbk9v3FO97cakNmUoxwi2KMP8hd5WIw= -github.com/pseudomuto/protoc-gen-doc v1.3.2 h1:61vWZuxYa8D7Rn4h+2dgoTNqnluBmJya2MgbqO32z6g= -github.com/pseudomuto/protokit v0.2.0 h1:hlnBDcy3YEDXH7kc9gV+NLaN0cDzhDvD1s7Y6FZ8RpM= -github.com/pterm/pterm v0.12.81 h1:ju+j5I2++FO1jBKMmscgh5h5DPFDFMB7epEjSoKehKA= -github.com/pterm/pterm v0.12.81/go.mod h1:TyuyrPjnxfwP+ccJdBTeWHtd/e0ybQHkOS/TakajZCw= -github.com/quasilyte/go-ruleguard/dsl v0.3.22 h1:wd8zkOhSNr+I+8Qeciml08ivDt1pSXe60+5DqOpCjPE= -github.com/quasilyte/go-ruleguard/dsl v0.3.22/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU= -github.com/quasilyte/go-ruleguard/rules v0.0.0-20211022131956-028d6511ab71 h1:CNooiryw5aisadVfzneSZPswRWvnVW8hF1bS/vo8ReI= -github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a h1:9ZKAASQSHhDYGoxY8uLVpewe1GDZ2vu2Tr/vTdVAkFQ= -github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 h1:OdAsTTz6OkFY5QxjkYwrChwuRruF69c169dPK26NUlk= -github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= -github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= -github.com/remyoudompheng/go-dbus v0.0.0-20121104212943-b7232d34b1d5 h1:CvqZS4QYHBRvx7AeFdimd16HCbLlYsvQMcKDACpJW/c= -github.com/remyoudompheng/go-dbus v0.0.0-20121104212943-b7232d34b1d5/go.mod h1:+u151txRmLpwxBmpYn9z3d1sdJdjRPQpsXuYeY9jNls= -github.com/remyoudompheng/go-liblzma v0.0.0-20190506200333-81bf2d431b96 h1:J8J/cgLDRuqXJnwIrRDBvtl+LLsdg7De74znW/BRRq4= -github.com/remyoudompheng/go-liblzma v0.0.0-20190506200333-81bf2d431b96/go.mod h1:90HvCY7+oHHUKkbeMCiHt1WuFR2/hPJ9QrljDG+v6ls= -github.com/remyoudompheng/go-misc v0.0.0-20190427085024-2d6ac652a50e h1:eTWZyPUnHcuGRDiryS/l2I7FfKjbU3IBx3IjqHPxuKU= -github.com/remyoudompheng/go-misc v0.0.0-20190427085024-2d6ac652a50e/go.mod h1:80FQABjoFzZ2M5uEa6FUaJYEmqU2UOKojlFVak1UAwI= -github.com/rogpeppe/fastuuid v1.2.0 h1:Ppwyp6VYCF1nvBTXL3trRso7mXMlRrw9ooo375wvi2s= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= -github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= -github.com/rs/dnscache v0.0.0-20211102005908-e0241e321417 h1:Lt9DzQALzHoDwMBGJ6v8ObDPR0dzr2a6sXTB1Fq7IHs= -github.com/rs/dnscache v0.0.0-20211102005908-e0241e321417/go.mod h1:qe5TWALJ8/a1Lqznoc5BDHpYX/8HU60Hm2AwRmqzxqA= -github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo= -github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245 h1:K1Xf3bKttbF+koVGaX5xngRIZ5bVjbmPnaxE/dR08uY= -github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f h1:UFr9zpz4xgTnIE5yIMtWAMngCdZ9p/+q6lTbgelo80M= -github.com/sagikazarmark/crypt v0.3.0/go.mod h1:uD/D+6UF4SrIR1uGEv7bBNkNqLGqUr43MRiaGWX1Nig= -github.com/sagikazarmark/crypt v0.6.0 h1:REOEXCs/NFY/1jOCEouMuT4zEniE5YoXbvpC5X/TLF8= -github.com/sagikazarmark/crypt v0.6.0/go.mod h1:U8+INwJo3nBv1m6A/8OBXAq7Jnpspk5AxSgDyEQcea8= -github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da h1:p3Vo3i64TCLY7gIfzeQaUJ+kppEO5WQG3cL8iE8tGHU= -github.com/sanity-io/litter v1.5.5 h1:iE+sBxPBzoK6uaEP5Lt3fHNgpKcHXc/A2HGETy0uJQo= -github.com/santhosh-tekuri/jsonschema/v5 v5.3.1/go.mod h1:uToXkOrWAZ6/Oc07xWQrPOhJotwFIyu2bBVN41fcDUY= -github.com/schollz/closestmatch v2.1.0+incompatible h1:Uel2GXEpJqOWBrlyI+oY9LTiyyjYS17cCYRqP13/SHk= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I= -github.com/seccomp/libseccomp-golang v0.9.1 h1:NJjM5DNFOs0s3kYE1WUOr6G8V97sdt46rlXTMfXGWBo= -github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646 h1:RpforrEYXWkmGwJHIGnLZ3tTWStkjVVstwzNGqxX2Ds= -github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= -github.com/segmentio/asm v1.2.0 h1:9BQrFxC+YOHJlTlHGkTrFWf59nbL3XnCoFLTwDCI7ys= -github.com/segmentio/asm v1.2.0/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= -github.com/segmentio/fasthash v1.0.3 h1:EI9+KE1EwvMLBWwjpRDc+fEM+prwxDYbslddQGtrmhM= -github.com/sei-protocol/go-ethereum v1.15.7-sei-12 h1:3Wj5nU7X0+mKcDho6mwf0leVytQWmNEq6xFv9Wr+HOs= -github.com/sei-protocol/go-ethereum v1.15.7-sei-12/go.mod h1:+S9k+jFzlyVTNcYGvqFhzN/SFhI6vA+aOY4T5tLSPL0= -github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= -github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= -github.com/shirou/gopsutil/v3 v3.22.9/go.mod h1:bBYl1kjgEJpWpxeHmLI+dVHWtyAwfcmSBLDsp2TNT8A= -github.com/shirou/gopsutil/v3 v3.23.2 h1:PAWSuiAszn7IhPMBtXsbSCafej7PqUOvY6YywlQUExU= -github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= -github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= -github.com/shurcooL/go v0.0.0-20200502201357-93f07166e636 h1:aSISeOcal5irEhJd1M+IrApc0PdcN7e7Aj4yuEnOrfQ= -github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041 h1:llrF3Fs4018ePo4+G/HV/uQUqEI1HMDjCeOf2V6puPc= -github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 h1:bUGsEnyNbVPw06Bs80sCeARAlK8lhwqGyi6UT8ymuGk= -github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= -github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 h1:pXY9qYc/MP5zdvqWEUH6SjNiu7VhSjuVFTFiTcphaLU= -github.com/sirkon/gitlab v0.0.5 h1:FXi1K3yE8x/3Bc9/AXmWyCRcWGwfED6hEXEV2XrDNl8= -github.com/smarty/assertions v1.15.0 h1:cR//PqUBUiQRakZWqBiFFQ9wb8emQGDb0HeGdqGByCY= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= -github.com/smartystreets/goconvey v1.8.1 h1:qGjIddxOk4grTu9JPOU31tVfq3cNdBlNa5sSznIX1xY= -github.com/soheilhy/cmux v0.1.4 h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E= -github.com/sony/gobreaker v0.4.1 h1:oMnRNZXX5j85zso6xCPRNPtmAycat+WcoKbklScLDgQ= -github.com/spf13/afero v1.10.0/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= -github.com/spf13/cobra v1.3.0/go.mod h1:BrRVncBjOJa/eUcVVm9CE+oC6as8k+VYr4NY7WCi9V4= -github.com/spf13/cobra v1.6.0/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= -github.com/spf13/viper v1.10.0/go.mod h1:SoyBPwAtKDzypXNDFKN5kzH7ppppbGZtls1UpIy5AsM= -github.com/spiffe/go-spiffe/v2 v2.5.0/go.mod h1:P+NxobPc6wXhVtINNtFjNWGBTreew1GBUCwT2wPmb7g= -github.com/status-im/keycard-go v0.2.0 h1:QDLFswOQu1r5jsycloeQh3bVU8n/NatHHaZobtDnDzA= -github.com/stoewer/go-strcase v1.3.1 h1:iS0MdW+kVTxgMoE1LAZyMiYJFKlOzLooE4MxjirtkAs= -github.com/stoewer/go-strcase v1.3.1/go.mod h1:fAH5hQ5pehh+j3nZfvwdk2RgEgQjAoM8wodgtPmh1xo= -github.com/streadway/amqp v1.0.0 h1:kuuDrUJFZL1QYL9hUNuCxNObNzB0bV/ZG5jV3RWAQgo= -github.com/streadway/amqp v1.0.0/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= -github.com/streadway/handy v0.0.0-20200128134331-0f66f006fb2e h1:mOtuXaRAbVZsxAHVdPR3IjfmN8T1h2iczJLynhLybf8= -github.com/streadway/handy v0.0.0-20200128134331-0f66f006fb2e/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= -github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= -github.com/substrait-io/substrait v0.69.0 h1:qfwUe1qKa3PsCclMpubQOF6nqIqS14geUuvzJ1P7gsM= -github.com/substrait-io/substrait v0.69.0/go.mod h1:MPFNw6sToJgpD5Z2rj0rQrdP/Oq8HG7Z2t3CAEHtkHw= -github.com/substrait-io/substrait-go/v4 v4.4.0 h1:mFArMNFxlOLyTuhPcaPzZCwYh6kUopTExTy7XOqtYBM= -github.com/substrait-io/substrait-go/v4 v4.4.0/go.mod h1:GzpaFqO5VRtMkEjATgRxGK5p82OmEtCmszAVYxE+iWc= -github.com/substrait-io/substrait-protobuf/go v0.71.0 h1:vkYGEEPJ8lWSwaJvX7Y+hEmwmrz5/qeDmGI43JpKJZE= -github.com/substrait-io/substrait-protobuf/go v0.71.0/go.mod h1:hn+Szm1NmZZc91FwWK9EXD/lmuGBSRTJ5IvHhlG1YnQ= -github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 h1:kdXcSzyDtseVEc4yCz2qF8ZrQvIDBJLl4S1c3GCXmoI= -github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= -github.com/tailscale/depaware v0.0.0-20210622194025-720c4b409502 h1:34icjjmqJ2HPjrSuJYEkdZ+0ItmGQAQ75cRHIiftIyE= -github.com/tdewolff/minify/v2 v2.12.4 h1:kejsHQMM17n6/gwdw53qsi6lg0TGddZADVyQOz1KMdE= -github.com/tdewolff/parse/v2 v2.6.4 h1:KCkDvNUMof10e3QExio9OPZJT8SbdKojLBumw8YZycQ= -github.com/tdewolff/test v1.0.7 h1:8Vs0142DmPFW/bQeHRP3MV19m1gvndjUb1sn8yy74LM= -github.com/tendermint/tendermint v0.37.0-dev h1:kmktXDtTYcwUj0x5BvkmZ+SGe8E1YJiXVDX9MhgBuCQ= -github.com/tendermint/tendermint v0.37.0-dev/go.mod h1:cEvyfTDZKrgpt13uLeFX8+xstdh1FWgrspp/IsNXrPY= -github.com/tidwall/sjson v1.1.4 h1:bTSsPLdAYF5QNLSwYsKfBKKTnlGbIuhqL3CpRsjzGhg= -github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= -github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= -github.com/tklauser/go-sysconf v0.3.10/go.mod h1:C8XykCvCb+Gn0oNCWPIlcb0RuglQTYaQ2hGm7jmxEFk= -github.com/tklauser/numcpus v0.4.0/go.mod h1:1+UI3pD8NW14VMwdgJNJ1ESk2UnwhAnz5hMwiKKqXCQ= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 h1:LnC5Kc/wtumK+WB441p7ynQJzVuNRJiqddSIE3IlSEQ= -github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966 h1:j6JEOq5QWFker+d7mFQYOhjTZonQ7YkLTHm56dbn+yM= -github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce h1:fb190+cK2Xz/dvi9Hv8eCYJYvIGUTN2/KLq1pT6CjEc= -github.com/torquem-ch/mdbx-go v0.27.5 h1:bbhXQGFCmoxbRDXKYEJwxSOOTeBKwoD4pFBUpK9+V1g= -github.com/torquem-ch/mdbx-go v0.27.5/go.mod h1:T2fsoJDVppxfAPTLd1svUgH1kpPmeXdPESmroSHcL1E= -github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926 h1:G3dpKMzFDjgEh2q1Z7zUUtKa8ViPtH+ocF0bE0g00O8= -github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c h1:u6SKchux2yDvFQnDHS3lPnIRmfVJ5Sxy3ao2SIdysLQ= -github.com/tyler-smith/go-bip39 v1.0.2 h1:+t3w+KwLXO6154GNJY+qUtIxLTmFjfUmpguQT1OlOT8= -github.com/uptrace/opentelemetry-go-extra/otelgorm v0.3.2 h1:Jjn3zoRz13f8b1bR6LrXWglx93Sbh4kYfwgmPju3E2k= -github.com/uptrace/opentelemetry-go-extra/otelgorm v0.3.2/go.mod h1:wocb5pNrj/sjhWB9J5jctnC0K2eisSdz/nJJBNFHo+A= -github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2 h1:ZjUj9BLYf9PEqBn8W/OapxhPjVRdC6CsXTdULHsyk5c= -github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2/go.mod h1:O8bHQfyinKwTXKkiKNGmLQS7vRsqRxIQTFZpYpHK3IQ= -github.com/urfave/cli v1.22.1 h1:+mkCCcOFKPnCmVYVcURKps1Xe+3zP90gSYGNfRkjoIY= -github.com/urfave/negroni v1.0.0 h1:kIimOitoypq34K7TG7DUaJ9kq/N4Ofuwi1sjz0KipXc= -github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= -github.com/valyala/fasthttp v1.30.0/go.mod h1:2rsYD01CKFrjjsvFxx75KlEUNpWNBY9JWD3K/7o2Cus= -github.com/valyala/fasthttp v1.40.0 h1:CRq/00MfruPGFLTQKY8b+8SfdK60TxNztjRMnH0t1Yc= -github.com/valyala/fastrand v1.1.0 h1:f+5HkLW4rsgzdNoleUOB69hyT9IlD2ZQh9GyDMfb5G8= -github.com/valyala/fastrand v1.1.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ= -github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= -github.com/valyala/histogram v1.2.0 h1:wyYGAZZt3CpwUiIb9AU/Zbllg1llXyrtApRS815OLoQ= -github.com/valyala/histogram v1.2.0/go.mod h1:Hb4kBwb4UxsaNbbbh+RRz8ZR6pdodR57tzWUS3BUzXY= -github.com/valyala/quicktemplate v1.7.0 h1:LUPTJmlVcb46OOUY3IeD9DojFpAVbsG+5WFTcjMJzCM= -github.com/valyala/quicktemplate v1.7.0/go.mod h1:sqKJnoaOF88V07vkO+9FL8fb9uZg/VPSJnLYn+LmLk8= -github.com/valyala/tcplisten v1.0.0 h1:rBHj/Xf+E1tRGZyWIWwJDiRY0zc1Js+CV5DqwacVSA8= -github.com/viki-org/dnscache v0.0.0-20130720023526-c70c1f23c5d8 h1:EVObHAr8DqpoJCVv6KYTle8FEImKhtkfcZetNqxDoJQ= -github.com/vishvananda/netlink v1.1.0 h1:1iyaYNBLmP6L0220aDnYQpo1QEV4t4hJ+xEEhhJH8j0= -github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= -github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df h1:OviZH7qLw/7ZovXvuNyL3XQl8UFofeikI1NW1Gypu7k= -github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= -github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= -github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vbd1qPqc= -github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= -github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= -github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= -github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= -github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc= -github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8= -github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 h1:QldyIu/L63oPpyvQmHgvgickp1Yw510KJOqX7H24mg8= -github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778/go.mod h1:2MuV+tbUrU1zIOPMxZ5EncGwgmMJsa+9ucAQZXxsObs= -github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no= -github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM= -github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77 h1:ESFSdwYZvkeru3RtdrYueztKhOBCSAAzS4Gf+k0tEow= -github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0 h1:6fRhSjgLCkTD3JnJxvaJ4Sj+TYblw757bqYgZaOq5ZY= -github.com/ybbus/jsonrpc v2.1.2+incompatible h1:V4mkE9qhbDQ92/MLMIhlhMSbz8jNXdagC3xBR5NDwaQ= -github.com/yosssi/ace v0.0.5 h1:tUkIP/BLdKqrlrPwcmH0shwEEhTRHoGnc1wFIWmaBUA= -github.com/yudai/gojsondiff v1.0.0 h1:27cbfqXLVEJ1o8I6v3y9lg8Ydm53EKqHXAOMxEGlCOA= -github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 h1:BHyfKlQyqbsFN5p3IfnEUduWvb9is428/nNb5L3U01M= -github.com/yudai/pp v2.0.1+incompatible h1:Q4//iY4pNF6yPLZIigmvcl7k/bPgrcTPIFIcmawg5bI= -github.com/yuin/goldmark v1.4.13 h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE= -github.com/yuin/gopher-lua v1.1.1 h1:kYKnWBjvbNP4XLT3+bPEwAXJx262OhaHDWDVOPjL46M= -github.com/yuin/gopher-lua v1.1.1/go.mod h1:GBR0iDaNXjAgGg9zfCvksxSRnQx76gclCIb7kdAd1Pw= -github.com/yusufpapurcu/wmi v1.2.2 h1:KBNDSne4vP5mbSWnJbO+51IMOXJB67QiYCSBrubbPRg= -github.com/zeebo/errs v1.4.0/go.mod h1:sgbWHsvVuTPHcqJJGQ1WhI5KbWlHYz+2+2C/LSEtCw4= -github.com/zenazn/goji v0.9.0 h1:RSQQAbXGArQ0dIDEq+PI6WqN6if+5KHu6x2Cx/GXLTQ= -go.einride.tech/aip v0.68.0 h1:4seM66oLzTpz50u4K1zlJyOXQ3tCzcJN7I22tKkjipw= -go.einride.tech/aip v0.68.0/go.mod h1:7y9FF8VtPWqpxuAxl0KQWqaULxW4zFIesD6zF5RIHHg= -go.einride.tech/aip v0.68.1/go.mod h1:XaFtaj4HuA3Zwk9xoBtTWgNubZ0ZZXv9BZJCkuKuWbg= -go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738 h1:VcrIfasaLFkyjk6KNlXQSzO+B0fZcnECiDrKJsfxka0= -go.etcd.io/etcd v0.0.0-20200513171258-e048e166ab9c h1:/RwRVN9EdXAVtdHxP7Ndn/tfmM9/goiwU0QTnLBgS4w= -go.etcd.io/etcd/api/v3 v3.5.0 h1:GsV3S+OfZEOCNXdtNkBSR7kgLobAa/SO6tCxRa0GAYw= -go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/api/v3 v3.5.4 h1:OHVyt3TopwtUQ2GKdd5wu3PmmipR4FTwCqoEjSyRdIc= -go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= -go.etcd.io/etcd/client/pkg/v3 v3.5.0 h1:2aQv6F436YnN7I4VbI8PPYrBhu+SmrTaADcf8Mi/6PU= -go.etcd.io/etcd/client/pkg/v3 v3.5.1/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/pkg/v3 v3.5.4 h1:lrneYvz923dvC14R54XcA7FXoZ3mlGZAgmwhfm7HqOg= -go.etcd.io/etcd/client/pkg/v3 v3.5.4/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/v2 v2.305.0 h1:ftQ0nOOHMcbMS3KIaDQ0g5Qcd6bhaBrQT6b89DfwLTs= -go.etcd.io/etcd/client/v2 v2.305.1/go.mod h1:pMEacxZW7o8pg4CrFE7pquyCJJzZvkvdD2RibOCCCGs= -go.etcd.io/etcd/client/v2 v2.305.4 h1:Dcx3/MYyfKcPNLpR4VVQUP5KgYrBeJtktBwEKkw08Ao= -go.etcd.io/etcd/client/v2 v2.305.4/go.mod h1:Ud+VUwIi9/uQHOMA+4ekToJ12lTxlv0zB/+DHwTGEbU= -go.etcd.io/etcd/client/v3 v3.5.0 h1:62Eh0XOro+rDwkrypAGDfgmNh5Joq+z+W9HZdlXMzek= -go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= -go.etcd.io/etcd/client/v3 v3.5.4 h1:p83BUL3tAYS0OT/r0qglgc3M1JjhM0diV8DSWAhVXv4= -go.etcd.io/etcd/client/v3 v3.5.4/go.mod h1:ZaRkVgBZC+L+dLCjTcF1hRXpgZXQPOvnA/Ak/gq3kiY= -go.etcd.io/gofail v0.1.0 h1:XItAMIhOojXFQMgrxjnd2EIIHun/d5qL0Pf7FzVTkFg= -go.mozilla.org/mozlog v0.0.0-20170222151521-4bb13139d403 h1:rKyWXYDfrVOpMFBion4Pmx5sJbQreQNXycHvm4KwJSg= -go.opentelemetry.io/contrib/bridges/otelzap v0.12.0 h1:FGre0nZh5BSw7G73VpT3xs38HchsfPsa2aZtMp0NPOs= -go.opentelemetry.io/contrib/bridges/otelzap v0.12.0/go.mod h1:X2PYPViI2wTPIMIOBjG17KNybTzsrATnvPJ02kkz7LM= -go.opentelemetry.io/contrib/detectors/gcp v1.29.0 h1:TiaiXB4DpGD3sdzNlYQxruQngn5Apwzi1X0DRhuGvDQ= -go.opentelemetry.io/contrib/detectors/gcp v1.29.0/go.mod h1:GW2aWZNwR2ZxDLdv8OyC2G8zkRoQBuURgV7RPQgcPoU= -go.opentelemetry.io/contrib/detectors/gcp v1.35.0/go.mod h1:qGWP8/+ILwMRIUf9uIVLloR1uo5ZYAslM4O6OqUi1DA= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 h1:r6I7RJCN86bpD/FQwedZ0vSixDpwuWREjW9oRMsmqDc= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0/go.mod h1:B9yO6b04uB80CzjedvewuqDhxJxi11s7/GtiGa8bAjI= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 h1:q4XOmH/0opmeuJtPsbFNivyl7bCt7yRBbeEm2sC/XtQ= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0/go.mod h1:snMWehoOh2wsEwnvvwtDyFCxVeDAODenXHtn5vzrKjo= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 h1:TT4fX+nBOA/+LUkobKGW1ydGcn+G3vRw9+g5HwCphpk= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0/go.mod h1:L7UH0GbB0p47T4Rri3uHjbpCFYrVrwc1I25QhNPiGK8= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0/go.mod h1:umTcuxiv1n/s/S6/c2AT/g2CQ7u5C59sHDNmfSwgz7Q= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0/go.mod h1:FRmFuRJfag1IZ2dPkHnEoSFVgTVPUd2qf5Vi69hLb8I= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0/go.mod h1:69uWxva0WgAA/4bu2Yy70SLDBwZXuQ6PbBpbsa5iZrQ= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0/go.mod h1:UHB22Z8QsdRDrnAtX4PntOl36ajSxcdUMt1sF7Y6E7Q= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.62.0 h1:Hf9xI/XLML9ElpiHVDNwvqI0hIFlzV8dgIr35kV1kRU= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.62.0/go.mod h1:NfchwuyNoMcZ5MLHwPrODwUF1HWCXWrL31s8gSAdIKY= -go.opentelemetry.io/contrib/propagators/b3 v1.37.0 h1:0aGKdIuVhy5l4GClAjl72ntkZJhijf2wg1S7b5oLoYA= -go.opentelemetry.io/contrib/propagators/b3 v1.37.0/go.mod h1:nhyrxEJEOQdwR15zXrCKI6+cJK60PXAkJ/jRyfhr2mg= -go.opentelemetry.io/contrib/propagators/jaeger v1.37.0 h1:pW+qDVo0jB0rLsNeaP85xLuz20cvsECUcN7TE+D8YTM= -go.opentelemetry.io/contrib/propagators/jaeger v1.37.0/go.mod h1:x7bd+t034hxLTve1hF9Yn9qQJlO/pP8H5pWIt7+gsFM= -go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo= -go.opentelemetry.io/otel v1.29.0/go.mod h1:N/WtXPs1CNCUEx+Agz5uouwCba+i+bJGFicT8SR4NP8= -go.opentelemetry.io/otel v1.30.0/go.mod h1:tFw4Br9b7fOS+uEao81PJjVMjW/5fvNCbpsDIXqP0pc= -go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE= -go.opentelemetry.io/otel v1.34.0/go.mod h1:OWFPOQ+h4G8xpyjgqo4SxJYdDQ/qmRH+wivy7zzx9oI= -go.opentelemetry.io/otel v1.35.0/go.mod h1:UEqy8Zp11hpkUrL73gSlELM0DupHoiq72dR+Zqel/+Y= -go.opentelemetry.io/otel v1.36.0/go.mod h1:/TcFMXYjyRNh8khOAO9ybYkqaDBb/70aVwkNML4pP8E= -go.opentelemetry.io/otel v1.37.0/go.mod h1:ehE/umFRLnuLa/vSccNq9oS1ErUlkkK71gMcN34UG8I= -go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.13.0 h1:z6lNIajgEBVtQZHjfw2hAccPEBDs+nx58VemmXWa2ec= -go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.13.0/go.mod h1:+kyc3bRx/Qkq05P6OCu3mTEIOxYRYzoIg+JsUp5X+PM= -go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.13.0 h1:zUfYw8cscHHLwaY8Xz3fiJu+R59xBnkgq2Zr1lwmK/0= -go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.13.0/go.mod h1:514JLMCcFLQFS8cnTepOk6I09cKWJ5nGHBxHrMJ8Yfg= -go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.37.0 h1:zG8GlgXCJQd5BU98C0hZnBbElszTmUgCNCfYneaDL0A= -go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.37.0/go.mod h1:hOfBCz8kv/wuq73Mx2H2QnWokh/kHZxkh6SNF2bdKtw= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0 h1:OeNbIYk/2C15ckl7glBlOBp5+WlYsOElzTNmiPW/x60= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0/go.mod h1:7Bept48yIeqxP2OZ9/AqIpYS94h2or0aB4FypJTc8ZM= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.37.0 h1:Ahq7pZmv87yiyn3jeFz/LekZmPLLdKejuO3NcK9MssM= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.37.0/go.mod h1:MJTqhM0im3mRLw1i8uGHnCvUEeS7VwRyxlLC78PA18M= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.34.0 h1:tgJ0uaNS4c98WRNUEx5U3aDlrDOI5Rs+1Vifcw4DJ8U= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.34.0/go.mod h1:U7HYyW0zt/a9x5J1Kjs+r1f/d4ZHnYFclhYY2+YbeoE= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.37.0 h1:EtFWSnwW9hGObjkIdmlnWSydO+Qs8OwzfzXLUPg4xOc= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.37.0/go.mod h1:QjUEoiGCPkvFZ/MjK6ZZfNOS6mfVEVKYE99dFhuN2LI= -go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.29.0 h1:WDdP9acbMYjbKIyJUhTvtzj601sVJOqgWdUxSdR/Ysc= -go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.29.0/go.mod h1:BLbf7zbNIONBLPwvFnwNHGj4zge8uTCM/UPIVW1Mq2I= -go.opentelemetry.io/otel/log v0.13.0 h1:yoxRoIZcohB6Xf0lNv9QIyCzQvrtGZklVbdCoyb7dls= -go.opentelemetry.io/otel/log v0.13.0/go.mod h1:INKfG4k1O9CL25BaM1qLe0zIedOpvlS5Z7XgSbmN83E= -go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco= -go.opentelemetry.io/otel/metric v1.29.0/go.mod h1:auu/QWieFVWx+DmQOUMgj0F8LHWdgalxXqvp7BII/W8= -go.opentelemetry.io/otel/metric v1.31.0/go.mod h1:C3dEloVbLuYoX41KpmAhOqNriGbA+qqH6PQ5E5mUfnY= -go.opentelemetry.io/otel/metric v1.34.0/go.mod h1:CEDrp0fy2D0MvkXE+dPV7cMi8tWZwX3dmaIhwPOaqHE= -go.opentelemetry.io/otel/metric v1.35.0/go.mod h1:nKVFgxBZ2fReX6IlyW28MgZojkoAkJGaE8CpgeAU3oE= -go.opentelemetry.io/otel/metric v1.36.0/go.mod h1:zC7Ks+yeyJt4xig9DEw9kuUFe5C3zLbVjV2PzT6qzbs= -go.opentelemetry.io/otel/metric v1.37.0/go.mod h1:04wGrZurHYKOc+RKeye86GwKiTb9FKm1WHtO+4EVr2E= -go.opentelemetry.io/otel/sdk v1.29.0/go.mod h1:pM8Dx5WKnvxLCb+8lG1PRNIDxu9g9b9g59Qr7hfAAok= -go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0= -go.opentelemetry.io/otel/sdk v1.34.0/go.mod h1:0e/pNiaMAqaykJGKbi+tSjWfNNHMTxoC9qANsCzbyxU= -go.opentelemetry.io/otel/sdk v1.35.0/go.mod h1:+ga1bZliga3DxJ3CQGg3updiaAJoNECOgJREo9KHGQg= -go.opentelemetry.io/otel/sdk v1.37.0/go.mod h1:VredYzxUvuo2q3WRcDnKDjbdvmO0sCzOvVAiY+yUkAg= -go.opentelemetry.io/otel/sdk/log v0.13.0 h1:I3CGUszjM926OphK8ZdzF+kLqFvfRY/IIoFq/TjwfaQ= -go.opentelemetry.io/otel/sdk/log v0.13.0/go.mod h1:lOrQyCCXmpZdN7NchXb6DOZZa1N5G1R2tm5GMMTpDBw= -go.opentelemetry.io/otel/sdk/metric v1.29.0/go.mod h1:6zZLdCl2fkauYoZIOn/soQIDSWFmNSRcICarHfuhNJQ= -go.opentelemetry.io/otel/sdk/metric v1.31.0/go.mod h1:CRInTMVvNhUKgSAMbKyTMxqOBC0zgyxzW55lZzX43Y8= -go.opentelemetry.io/otel/sdk/metric v1.35.0/go.mod h1:is6XYCUMpcKi+ZsOvfluY5YstFnhW0BidkR+gL+qN+w= -go.opentelemetry.io/otel/sdk/metric v1.37.0/go.mod h1:cNen4ZWfiD37l5NhS+Keb5RXVWZWpRE+9WyVCpbo5ps= -go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= -go.opentelemetry.io/otel/trace v1.29.0/go.mod h1:eHl3w0sp3paPkYstJOmAimxhiFXPg+MMTlEh3nsQgWQ= -go.opentelemetry.io/otel/trace v1.31.0/go.mod h1:TXZkRk7SM2ZQLtR6eoAWQFIHPvzQ06FJAsO1tJg480A= -go.opentelemetry.io/otel/trace v1.34.0/go.mod h1:Svm7lSjQD7kG7KJ/MUHPVXSDGz2OX4h0M2jHBhmSfRE= -go.opentelemetry.io/otel/trace v1.35.0/go.mod h1:WUk7DtFp1Aw2MkvqGdwiXYDZZNvA/1J8o6xRXLrIkyc= -go.opentelemetry.io/otel/trace v1.36.0/go.mod h1:gQ+OnDZzrybY4k4seLzPAWNwVBBVlF2szhehOBB/tGA= -go.opentelemetry.io/otel/trace v1.37.0/go.mod h1:TlgrlQ+PtQO5XFerSPUYG0JSgGyryXewPGyayAWSBS0= -go.opentelemetry.io/proto/otlp v1.0.0 h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I= -go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM= -go.opentelemetry.io/proto/otlp v1.5.0 h1:xJvq7gMzB31/d406fB8U5CBdyQGw4P399D1aQWU/3i4= -go.opentelemetry.io/proto/otlp v1.5.0/go.mod h1:keN8WnHxOy8PG0rQZjJJ5A2ebUoafqWp0eVQ4yIXvJ4= -go.opentelemetry.io/proto/otlp v1.7.0 h1:jX1VolD6nHuFzOYso2E73H85i92Mv8JQYk0K9vz09os= -go.opentelemetry.io/proto/otlp v1.7.0/go.mod h1:fSKjH6YJ7HDlwzltzyMj036AJ3ejJLCgCSHGj4efDDo= -go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= -go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= -go.uber.org/automaxprocs v1.5.2 h1:2LxUOGiR3O6tw8ui5sZa2LAaHnsviZdVOUZw4fvbnME= -go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4= -go.yaml.in/yaml/v2 v2.4.2/go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU= -go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= -golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA= -golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= -golang.org/x/exp/typeparams v0.0.0-20220613132600-b0d781184e0d/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= -golang.org/x/image v0.0.0-20220302094943-723b81ca9867 h1:TcHcE0vrmgzNH1v3ppjcMGbhG5+9fMuvOmUYwNEF4q4= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028 h1:4+4C/Iv2U4fMZBiMCc98MG1In4gJY5YRhtpDNeDeHWs= -golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= -golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww= -golang.org/x/mod v0.26.0/go.mod h1:/j6NAhSk8iQ723BGAUyoAcn7SlD7s15Dp9Nd/SfeaFQ= -golang.org/x/mod v0.31.0/go.mod h1:43JraMp9cGx1Rx3AqioxrbrhNsLl2l/iNAvuBkrezpg= -golang.org/x/net v0.0.0-20210510120150-4163338589ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= -golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= -golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU= -golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= -golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk= -golang.org/x/net v0.37.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= -golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= -golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E= -golang.org/x/net v0.40.0/go.mod h1:y0hY0exeL2Pku80/zKK7tpntoX23cqL3Oa6njdgRtds= -golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8= -golang.org/x/oauth2 v0.19.0/go.mod h1:vYi7skDa1x015PmRRYZ7+s1cWyPgrPiSYRe4rnsexc8= -golang.org/x/oauth2 v0.24.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= -golang.org/x/oauth2 v0.25.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= -golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8= -golang.org/x/oauth2 v0.28.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8= -golang.org/x/oauth2 v0.29.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8= -golang.org/x/oauth2 v0.30.0 h1:dnDm7JmhM45NNpd8FDDeLhK6FwqbOf4MLCM9zb1BOHI= -golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU= -golang.org/x/perf v0.0.0-20230113213139-801c7ef9e5c5 h1:ObuXPmIgI4ZMyQLIz48cJYgSyWdjUXc2SZAdyJMwEAU= -golang.org/x/sync v0.12.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= -golang.org/x/sync v0.13.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= -golang.org/x/sync v0.15.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= -golang.org/x/sync v0.17.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= -golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220627191245-f75cf1eec38b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= -golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= -golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= -golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= -golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= -golang.org/x/telemetry v0.0.0-20251008203120-078029d740a8 h1:LvzTn0GQhWuvKH/kVRS3R3bVAsdQWI7hvfLHGgh9+lU= -golang.org/x/telemetry v0.0.0-20251008203120-078029d740a8/go.mod h1:Pi4ztBfryZoJEkyFTI5/Ocsu2jXyDr6iSdgJiYE/uwE= -golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ= -golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= -golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4= -golang.org/x/text v0.24.0/go.mod h1:L8rBsPeo2pSS+xqN0d5u2ikmjtmoJbDBT1b7nHvFCdU= -golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA= -golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA= -golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU= -golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= -golang.org/x/time v0.8.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= -golang.org/x/time v0.10.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= -golang.org/x/time v0.11.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg= -golang.org/x/time v0.12.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg= -golang.org/x/tools v0.1.11-0.20220513221640-090b14e8501f/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= -golang.org/x/tools v0.1.12-0.20220628192153-7743d1d949f1/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= -golang.org/x/tools v0.15.0/go.mod h1:hpksKq4dtpQWS1uQ61JkdqWM3LscIS6Slf+VVkm+wQk= -golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0= -golang.org/x/tools v0.37.0/go.mod h1:MBN5QPQtLMHVdvsbtarmTNukZDdgwdwlO5qGacAzF0w= -gonum.org/v1/gonum v0.11.0 h1:f1IJhK4Km5tBJmaiJXtk/PkL4cdVX6J+tGiM187uT5E= -gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0 h1:OE9mWmgKkjJyEmDAAtGMPjXu+YNeGvK9VTSHY6+Qihc= -gonum.org/v1/plot v0.10.1 h1:dnifSs43YJuNMDzB7v8wV64O4ABBHReuAVAoBxqBqS4= -google.golang.org/api v0.62.0/go.mod h1:dKmwPCydfsad4qCH08MSdgWjfHOyfpd4VtDGgRFdavw= -google.golang.org/api v0.177.0/go.mod h1:srbhue4MLjkjbkux5p3dw/ocYOSZTaIEvf7bCOnFQDw= -google.golang.org/api v0.211.0/go.mod h1:XOloB4MXFH4UTlQSGuNUxw0UT74qdENK8d6JNsXKLi0= -google.golang.org/api v0.214.0/go.mod h1:bYPpLG8AyeMWwDU6NXoB00xC0DFkikVvd5MfwoxjLqE= -google.golang.org/api v0.215.0 h1:jdYF4qnyczlEz2ReWIsosNLDuzXyvFHJtI5gcr0J7t0= -google.golang.org/api v0.215.0/go.mod h1:fta3CVtuJYOEdugLNWm6WodzOS8KdFckABwN4I40hzY= -google.golang.org/api v0.216.0/go.mod h1:K9wzQMvWi47Z9IU7OgdOofvZuw75Ge3PPITImZR/UyI= -google.golang.org/api v0.218.0/go.mod h1:5VGHBAkxrA/8EFjLVEYmMUJ8/8+gWWQ3s4cFH0FxG2M= -google.golang.org/api v0.224.0/go.mod h1:3V39my2xAGkodXy0vEqcEtkqgw2GtrFL5WuBZlCTCOQ= -google.golang.org/api v0.227.0/go.mod h1:EIpaG6MbTgQarWF5xJvX0eOJPK9n/5D4Bynb9j2HXvQ= -google.golang.org/api v0.229.0/go.mod h1:wyDfmq5g1wYJWn29O22FDWN48P7Xcz0xz+LBpptYvB0= -google.golang.org/api v0.230.0/go.mod h1:aqvtoMk7YkiXx+6U12arQFExiRV9D/ekvMCwCd/TksQ= -google.golang.org/api v0.237.0/go.mod h1:cOVEm2TpdAGHL2z+UwyS+kmlGr3bVWQQ6sYEqkKje50= -google.golang.org/api v0.239.0/go.mod h1:cOVEm2TpdAGHL2z+UwyS+kmlGr3bVWQQ6sYEqkKje50= -google.golang.org/api v0.247.0 h1:tSd/e0QrUlLsrwMKmkbQhYVa109qIintOls2Wh6bngc= -google.golang.org/api v0.247.0/go.mod h1:r1qZOPmxXffXg6xS5uhx16Fa/UFY8QU/K4bfKrnvovM= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= -google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= -google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= -google.golang.org/genproto v0.0.0-20211129164237-f09f9a12af12/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211203200212-54befc351ae9/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20250106144421-5f5ef82da422/go.mod h1:1NPAxoesyw/SgLPqaUp9u1f9PWCLAk/jVmhx7gJZStg= -google.golang.org/genproto v0.0.0-20250122153221-138b5a5a4fd4/go.mod h1:qbZzneIOXSq+KFAFut9krLfRLZiFLzZL5u2t8SV83EE= -google.golang.org/genproto v0.0.0-20250303144028-a0af3efb3deb h1:ITgPrl429bc6+2ZraNSzMDk3I95nmQln2fuPstKwFDE= -google.golang.org/genproto v0.0.0-20250303144028-a0af3efb3deb/go.mod h1:sAo5UzpjUwgFBCzupwhcLcxHVDK7vG5IqI30YnwX2eE= -google.golang.org/genproto v0.0.0-20250505200425-f936aa4a68b2/go.mod h1:49MsLSx0oWMOZqcpB3uL8ZOkAh1+TndpJ8ONoCBWiZk= -google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= -google.golang.org/genproto/googleapis/api v0.0.0-20240429193739-8cf5692501f6/go.mod h1:10yRODfgim2/T8csjQsMPgZOMvtytXKTDRzH6HRGzRw= -google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157/go.mod h1:99sLkeliLXfdj2J75X3Ho+rrVCaJze0uwN7zDDkjPVU= -google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142/go.mod h1:d6be+8HhtEtucleCbxpPW9PA9XwISACu8nvpPqF0BVo= -google.golang.org/genproto/googleapis/api v0.0.0-20240826202546-f6391c0de4c7/go.mod h1:OCdP9MfskevB/rbYvHTsXTtKC+3bHWajPdoKgjcYkfo= -google.golang.org/genproto/googleapis/api v0.0.0-20241113202542-65e8d215514f/go.mod h1:Yo94eF2nj7igQt+TiJ49KxjIH8ndLYPZMIRSiRcEbg0= -google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697/go.mod h1:+D9ySVjN8nY8YCVjc5O7PZDIdZporIDY3KaGfJunh88= -google.golang.org/genproto/googleapis/api v0.0.0-20241202173237-19429a94021a/go.mod h1:jehYqy3+AhJU9ve55aNOaSml7wUXjF9x6z2LcCfpAhY= -google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422/go.mod h1:b6h1vNKhxaSoEI+5jc3PJUCustfli/mRab7295pY7rw= -google.golang.org/genproto/googleapis/api v0.0.0-20250124145028-65684f501c47/go.mod h1:AfA77qWLcidQWywD0YgqfpJzf50w2VjzBml3TybHeJU= -google.golang.org/genproto/googleapis/api v0.0.0-20250227231956-55c901821b1e/go.mod h1:Xsh8gBVxGCcbV8ZeTB9wI5XPyZ5RvC6V3CTeeplHbiA= -google.golang.org/genproto/googleapis/api v0.0.0-20250303144028-a0af3efb3deb/go.mod h1:jbe3Bkdp+Dh2IrslsFCklNhweNTBgSYanP1UXhJDhKg= -google.golang.org/genproto/googleapis/api v0.0.0-20250313205543-e70fdf4c4cb4/go.mod h1:c8q6Z6OCqnfVIqUFJkCzKcrj8eCvUrz+K4KRzSTuANg= -google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e h1:UdXH7Kzbj+Vzastr5nVfccbmFsmYNygVLSPk1pEfDoY= -google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e/go.mod h1:085qFyf2+XaZlRdCgKNCIZ3afY2p4HHZdoIRpId8F4A= -google.golang.org/genproto/googleapis/api v0.0.0-20250528174236-200df99c418a/go.mod h1:a77HrdMjoeKbnd2jmgcWdaS++ZLZAEq3orIOAEIKiVw= -google.golang.org/genproto/googleapis/bytestream v0.0.0-20241223144023-3abc09e42ca8 h1:qlXhWiX84AGgaN7LuORWBEQCCTqj3szNbh2am45O3W8= -google.golang.org/genproto/googleapis/bytestream v0.0.0-20241223144023-3abc09e42ca8/go.mod h1:bLYPejkLzwgJuAHlIk1gdPOlx9CUYXLZi2rZxL/ursM= -google.golang.org/genproto/googleapis/bytestream v0.0.0-20250414145226-207652e42e2e/go.mod h1:h6yxum/C2qRb4txaZRLDHK8RyS0H/o2oEDeKY4onY/Y= -google.golang.org/genproto/googleapis/bytestream v0.0.0-20250804133106-a7a43d27e69b/go.mod h1:h6yxum/C2qRb4txaZRLDHK8RyS0H/o2oEDeKY4onY/Y= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240429193739-8cf5692501f6/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240826202546-f6391c0de4c7/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20241113202542-65e8d215514f/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= -google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20241206012308-a4fef0638583/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250106144421-5f5ef82da422/go.mod h1:3ENsm/5D1mzDyhpzeRi1NR784I0BcofWBoSc5QqqMK4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250124145028-65684f501c47/go.mod h1:+2Yz8+CLJbIfL9z73EW45avw8Lmge3xVElCP9zEKi50= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a/go.mod h1:uRxBH1mhmO8PGhU89cMcHaXKZqO+OfakD8QQO0oYwlQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e/go.mod h1:LuRYeWDFV6WOn90g357N17oMCaxpgCnbi/44qJvDn2I= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250303144028-a0af3efb3deb/go.mod h1:LuRYeWDFV6WOn90g357N17oMCaxpgCnbi/44qJvDn2I= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250313205543-e70fdf4c4cb4/go.mod h1:LuRYeWDFV6WOn90g357N17oMCaxpgCnbi/44qJvDn2I= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250409194420-de1ac958c67a/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250414145226-207652e42e2e/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250425173222-7b384671a197/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0 h1:TLkBREm4nIsEcexnCjgQd5GQWaHcqMzwQV0TX9pq8S0= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0/go.mod h1:DNq5QpG7LJqD2AamLZ7zvKE0DEpVl2BSEVjFycAAjRY= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0 h1:rNBFJjBCOgVr9pWD7rs/knKL4FRTKgpZmsRfV214zcA= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0/go.mod h1:Dk1tviKTvMCz5tvh7t+fh94dhmQVHuCt2OzJB3CTW9Y= -google.golang.org/protobuf v1.35.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= -google.golang.org/protobuf v1.36.0/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= -google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= -google.golang.org/protobuf v1.36.3/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= -google.golang.org/protobuf v1.36.4/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= -google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= -google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= -google.golang.org/protobuf v1.36.7/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= -google.golang.org/protobuf v1.36.8/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU= -gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= -gopkg.in/cheggaaa/pb.v1 v1.0.25 h1:Ev7yu1/f6+d+b3pi5vPdRPc6nNtP1umSfcWiEfRqv6I= -gopkg.in/cheggaaa/pb.v1 v1.0.28 h1:n1tBJnnK2r7g9OW2btFH91V92STTUevLXYFb8gy9EMk= -gopkg.in/errgo.v2 v2.1.0 h1:0vLT13EuvQ0hNvakwLuFZ/jYrLp5F3kcWHXdRggjCE8= -gopkg.in/evanphx/json-patch.v4 v4.13.0 h1:czT3CmqEaQ1aanPc5SdlgQrrEIb8w/wwCvWWnfEbYzo= -gopkg.in/evanphx/json-patch.v4 v4.13.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M= -gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= -gopkg.in/gcfg.v1 v1.2.3 h1:m8OOJ4ccYHnx2f4gQwpno8nAX5OGOh7RLaaz0pj3Ogs= -gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= -gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/ini.v1 v1.66.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= -gopkg.in/resty.v1 v1.12.0 h1:CuXP0Pjfw9rOuY6EP+UvtNvt5DSqHpIxILZKT/quCZI= -gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= -gorm.io/driver/clickhouse v0.7.0 h1:BCrqvgONayvZRgtuA6hdya+eAW5P2QVagV3OlEp1vtA= -gorm.io/driver/clickhouse v0.7.0/go.mod h1:TmNo0wcVTsD4BBObiRnCahUgHJHjBIwuRejHwYt3JRs= -gorm.io/driver/postgres v1.6.0 h1:2dxzU8xJ+ivvqTRph34QX+WrRaJlmfyPqXmoGVjMBa4= -gorm.io/driver/postgres v1.6.0/go.mod h1:vUw0mrGgrTK+uPHEhAdV4sfFELrByKVGnaVRkXDhtWo= -gorm.io/gorm v1.30.1 h1:lSHg33jJTBxs2mgJRfRZeLDG+WZaHYCk3Wtfl6Ngzo4= -gorm.io/gorm v1.30.1/go.mod h1:8Z33v652h4//uMA76KjeDH8mJXPm1QNCYrMeatR0DOE= -gotest.tools/v3 v3.5.2/go.mod h1:LtdLGcnqToBH83WByAAi/wiwSFCArdFIUV/xxN4pcjA= -k8s.io/api v0.35.0 h1:iBAU5LTyBI9vw3L5glmat1njFK34srdLmktWwLTprlY= -k8s.io/api v0.35.0/go.mod h1:AQ0SNTzm4ZAczM03QH42c7l3bih1TbAXYo0DkF8ktnA= -k8s.io/apimachinery v0.35.0 h1:Z2L3IHvPVv/MJ7xRxHEtk6GoJElaAqDCCU0S6ncYok8= -k8s.io/apimachinery v0.35.0/go.mod h1:jQCgFZFR1F4Ik7hvr2g84RTJSZegBc8yHgFWKn//hns= -k8s.io/client-go v0.35.0 h1:IAW0ifFbfQQwQmga0UdoH0yvdqrbwMdq9vIFEhRpxBE= -k8s.io/client-go v0.35.0/go.mod h1:q2E5AAyqcbeLGPdoRB+Nxe3KYTfPce1Dnu1myQdqz9o= -k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= -k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= -k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 h1:Y3gxNAuB0OBLImH611+UDZcmKS3g6CthxToOb37KgwE= -k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912/go.mod h1:kdmbQkyfwUagLfXIad1y2TdrjPFWp2Q89B3qkRwf/pQ= -k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 h1:SjGebBtkBqHFOli+05xYbK8YF1Dzkbzn+gDM4X9T4Ck= -k8s.io/utils v0.0.0-20251002143259-bc988d571ff4/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -lukechampine.com/uint128 v1.2.0 h1:mBi/5l91vocEN8otkC5bDLhi2KdCticRiwbdB0O+rjI= -modernc.org/cc/v3 v3.36.3 h1:uISP3F66UlixxWEcKuIWERa4TwrZENHSL8tWxZz8bHg= -modernc.org/ccgo/v3 v3.16.9 h1:AXquSwg7GuMk11pIdw7fmO1Y/ybgazVkMhsZWCV0mHM= -modernc.org/ccorpus v1.11.6 h1:J16RXiiqiCgua6+ZvQot4yUuUy8zxgqbqEEUuGPlISk= -modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 h1:5D53IMaUuA5InSeMu9eJtlQXS2NxAhyWQvkKEgXZhHI= -modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6/go.mod h1:Qz0X07sNOR1jWYCrJMEnbW/X55x206Q7Vt4mz6/wHp4= -modernc.org/httpfs v1.0.6 h1:AAgIpFZRXuYnkjftxTAZwMIiwEqAfk8aVB2/oA6nAeM= -modernc.org/libc v1.17.1 h1:Q8/Cpi36V/QBfuQaFVeisEBs3WqoGAJprZzmf7TfEYI= -modernc.org/libc v1.41.0 h1:g9YAc6BkKlgORsUWj+JwqoB1wU3o4DE3bM3yvA3k+Gk= -modernc.org/libc v1.41.0/go.mod h1:w0eszPsiXoOnoMJgrXjglgLuDy/bt5RR4y3QzUUeodY= -modernc.org/mathutil v1.5.0 h1:rV0Ko/6SfM+8G+yKiyI830l3Wuz1zRutdslNoQ0kfiQ= -modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4= -modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo= -modernc.org/memory v1.2.1 h1:dkRh86wgmq/bJu2cAS2oqBCz/KsMZU7TUM4CibQ7eBs= -modernc.org/memory v1.7.2 h1:Klh90S215mmH8c9gO98QxQFsY+W451E8AnzjoE2ee1E= -modernc.org/memory v1.7.2/go.mod h1:NO4NVCQy0N7ln+T9ngWqOQfi7ley4vpwvARR+Hjw95E= -modernc.org/opt v0.1.3 h1:3XOZf2yznlhC+ibLltsDGzABUGVx8J6pnFMS3E4dcq4= -modernc.org/sqlite v1.18.1 h1:ko32eKt3jf7eqIkCgPAeHMBXw3riNSLhl2f3loEF7o8= -modernc.org/sqlite v1.29.6 h1:0lOXGrycJPptfHDuohfYgNqoe4hu+gYuN/pKgY5XjS4= -modernc.org/sqlite v1.29.6/go.mod h1:S02dvcmm7TnTRvGhv8IGYyLnIt7AS2KPaB1F/71p75U= -modernc.org/strutil v1.1.3 h1:fNMm+oJklMGYfU9Ylcywl0CO5O6nTfaowNsh2wpPjzY= -modernc.org/strutil v1.2.0 h1:agBi9dp1I+eOnxXeiZawM8F4LawKv4NzGWSaLfyeNZA= -modernc.org/strutil v1.2.0/go.mod h1:/mdcBmfOibveCTBxUl5B5l6W+TTH1FXPLHZE6bTosX0= -modernc.org/tcl v1.13.1 h1:npxzTwFTZYM8ghWicVIX1cRWzj7Nd8i6AqqX2p+IYao= -modernc.org/token v1.0.0 h1:a0jaWiNMDhDUtqOj09wvjWWAqd3q7WpBulmL9H2egsk= -modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y= -modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= -modernc.org/z v1.5.1 h1:RTNHdsrOpeoSeOF4FbzTo8gBYByaJ5xT7NgZ9ZqRiJM= -moul.io/http2curl/v2 v2.3.0 h1:9r3JfDzWPcbIklMOs2TnIFzDYvfAZvjeavG6EzP7jYs= -rsc.io/binaryregexp v0.2.0 h1:HfqmD5MEmC0zvwBuF187nq9mdnXjXsSivRiXN7SmRkE= -rsc.io/pdf v0.1.1 h1:k1MczvYDUvJBe93bYd7wrZLLUEcLZAuF824/I4e5Xr4= -rsc.io/quote/v3 v3.1.0 h1:9JKUTTIUgS6kzR9mK1YuGKv6Nl+DijDNIc0ghT58FaY= -rsc.io/sampler v1.3.0 h1:7uVkIFmeBqHfdjD+gZwtXXI+RODJ2Wc4O7MPEh/QiW4= -rsc.io/tmplfunc v0.0.3 h1:53XFQh69AfOa8Tw0Jm7t+GV7KZhOi6jzsCzTtKbMvzU= -sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg= -sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= -sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU= -sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY= -sigs.k8s.io/structured-merge-diff/v6 v6.3.0 h1:jTijUJbW353oVOd9oTlifJqOGEkUw2jB/fXCbTiQEco= -sigs.k8s.io/structured-merge-diff/v6 v6.3.0/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= -sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs= -sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4= -sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 h1:ucqkfpjg9WzSUubAO62csmucvxl4/JeW3F4I4909XkM= diff --git a/loadtest/evm.go b/loadtest/evm.go index 43dd5ecbdc..3658afdfb0 100644 --- a/loadtest/evm.go +++ b/loadtest/evm.go @@ -11,12 +11,12 @@ import ( "sync/atomic" "time" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethclient" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/loadtest/contracts/evm/bindings/erc20" "github.com/sei-protocol/sei-chain/loadtest/contracts/evm/bindings/erc721" diff --git a/loadtest/loadtest_client.go b/loadtest/loadtest_client.go index 0068a79263..9028494ee8 100644 --- a/loadtest/loadtest_client.go +++ b/loadtest/loadtest_client.go @@ -14,12 +14,12 @@ import ( "golang.org/x/time/rate" "google.golang.org/grpc/credentials/insecure" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types" - typestx "github.com/cosmos/cosmos-sdk/types/tx" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/ethclient" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" + typestx "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/utils/metrics" "golang.org/x/sync/semaphore" "google.golang.org/grpc" diff --git a/loadtest/main.go b/loadtest/main.go index a1e051ecc8..55b766719f 100644 --- a/loadtest/main.go +++ b/loadtest/main.go @@ -22,18 +22,18 @@ import ( "syscall" "time" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/std" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/tx" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/ethclient" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/std" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + distributiontypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" "golang.org/x/sync/semaphore" "golang.org/x/time/rate" diff --git a/loadtest/metrics.go b/loadtest/metrics.go index 8281480c51..8e1a4d9241 100644 --- a/loadtest/metrics.go +++ b/loadtest/metrics.go @@ -7,8 +7,8 @@ import ( "net/http" "time" - "github.com/cosmos/cosmos-sdk/telemetry" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" ) const ( diff --git a/loadtest/sign.go b/loadtest/sign.go index e60f044f9b..3d5afd75d5 100644 --- a/loadtest/sign.go +++ b/loadtest/sign.go @@ -10,17 +10,17 @@ import ( "sync" "time" - "github.com/cosmos/cosmos-sdk/client" - clienttx "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clienttx "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + xauthsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) type AccountInfo struct { diff --git a/loadtest/tx.go b/loadtest/tx.go index b3306ce065..de8f1de3fd 100644 --- a/loadtest/tx.go +++ b/loadtest/tx.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - typestx "github.com/cosmos/cosmos-sdk/types/tx" + typestx "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" ) func SendTx( diff --git a/loadtest/types.go b/loadtest/types.go index f48912ca63..ce8a678b3c 100644 --- a/loadtest/types.go +++ b/loadtest/types.go @@ -5,12 +5,12 @@ import ( "math/rand" "strings" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/occ_tests/messages/test_msgs.go b/occ_tests/messages/test_msgs.go index b06eb62ca2..1afb3423b4 100644 --- a/occ_tests/messages/test_msgs.go +++ b/occ_tests/messages/test_msgs.go @@ -4,10 +4,10 @@ import ( "fmt" "math/big" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm" "github.com/sei-protocol/sei-chain/occ_tests/utils" diff --git a/occ_tests/occ_test.go b/occ_tests/occ_test.go index f076455b5b..6dc271fe15 100644 --- a/occ_tests/occ_test.go +++ b/occ_tests/occ_test.go @@ -6,10 +6,10 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/server/config" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/occ_tests/messages" "github.com/sei-protocol/sei-chain/occ_tests/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/stretchr/testify/require" ) diff --git a/occ_tests/utils/utils.go b/occ_tests/utils/utils.go index f988337ae7..6e8a058054 100644 --- a/occ_tests/utils/utils.go +++ b/occ_tests/utils/utils.go @@ -10,20 +10,20 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - clienttx "github.com/cosmos/cosmos-sdk/client/tx" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/store" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - txtype "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/tx" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + clienttx "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + txtype "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" diff --git a/oracle/price-feeder/cmd/price-feeder.go b/oracle/price-feeder/cmd/price-feeder.go index 24d9c63895..c97b580d90 100644 --- a/oracle/price-feeder/cmd/price-feeder.go +++ b/oracle/price-feeder/cmd/price-feeder.go @@ -12,8 +12,8 @@ import ( "syscall" "time" - input "github.com/cosmos/cosmos-sdk/client/input" "github.com/mitchellh/mapstructure" + input "github.com/sei-protocol/sei-chain/sei-cosmos/client/input" "github.com/gorilla/mux" "github.com/rs/zerolog" @@ -25,8 +25,8 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/client" v1 "github.com/sei-protocol/sei-chain/oracle/price-feeder/router/v1" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/oracle/price-feeder/cmd/version.go b/oracle/price-feeder/cmd/version.go index 21c45ad941..5181ecc455 100644 --- a/oracle/price-feeder/cmd/version.go +++ b/oracle/price-feeder/cmd/version.go @@ -14,7 +14,7 @@ import ( const ( flagFormat = "format" - pathCosmosSDK = "github.com/cosmos/cosmos-sdk" + pathCosmosSDK = "github.com/sei-protocol/sei-chain/sei-cosmos" ) var ( diff --git a/oracle/price-feeder/config/config.go b/oracle/price-feeder/config/config.go index 1734f43038..0e0ba50365 100644 --- a/oracle/price-feeder/config/config.go +++ b/oracle/price-feeder/config/config.go @@ -9,8 +9,8 @@ import ( "time" "github.com/BurntSushi/toml" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/go-playground/validator/v10" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/oracle/price-feeder/oracle/client/client.go b/oracle/price-feeder/oracle/client/client.go index daff660a46..bb288a1ad1 100644 --- a/oracle/price-feeder/oracle/client/client.go +++ b/oracle/price-feeder/oracle/client/client.go @@ -8,19 +8,19 @@ import ( "os" "time" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/rpc" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/rs/zerolog" "github.com/sei-protocol/sei-chain/app" appparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" rpchttp "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client/http" tmjsonclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/jsonrpc/client" ) diff --git a/oracle/price-feeder/oracle/client/tx_account.go b/oracle/price-feeder/oracle/client/tx_account.go index 37c7aa3cce..88f1637d6c 100644 --- a/oracle/price-feeder/oracle/client/tx_account.go +++ b/oracle/price-feeder/oracle/client/tx_account.go @@ -3,9 +3,9 @@ package client import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" "github.com/rs/zerolog" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" ) type AccountInfo struct { diff --git a/oracle/price-feeder/oracle/convert.go b/oracle/price-feeder/oracle/convert.go index e5fa514ed3..bac9444a8d 100644 --- a/oracle/price-feeder/oracle/convert.go +++ b/oracle/price-feeder/oracle/convert.go @@ -8,8 +8,8 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/provider" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // getUSDBasedProviders retrieves which providers for an asset have a USD-based pair, diff --git a/oracle/price-feeder/oracle/convert_test.go b/oracle/price-feeder/oracle/convert_test.go index 3d28e0b160..c4a7fe50fe 100644 --- a/oracle/price-feeder/oracle/convert_test.go +++ b/oracle/price-feeder/oracle/convert_test.go @@ -8,8 +8,8 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/provider" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/filter.go b/oracle/price-feeder/oracle/filter.go index f721f0141e..ec9084e612 100644 --- a/oracle/price-feeder/oracle/filter.go +++ b/oracle/price-feeder/oracle/filter.go @@ -2,8 +2,8 @@ package oracle import ( "github.com/armon/go-metrics" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/provider" seimetrics "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/oracle/price-feeder/oracle/filter_test.go b/oracle/price-feeder/oracle/filter_test.go index 9ff0136b17..576d9a0521 100644 --- a/oracle/price-feeder/oracle/filter_test.go +++ b/oracle/price-feeder/oracle/filter_test.go @@ -8,8 +8,8 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/provider" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/jail.go b/oracle/price-feeder/oracle/jail.go index ca5c143ffb..78113eb5f2 100644 --- a/oracle/price-feeder/oracle/jail.go +++ b/oracle/price-feeder/oracle/jail.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" ) diff --git a/oracle/price-feeder/oracle/oracle.go b/oracle/price-feeder/oracle/oracle.go index 101b7443ec..1499a5369a 100644 --- a/oracle/price-feeder/oracle/oracle.go +++ b/oracle/price-feeder/oracle/oracle.go @@ -10,9 +10,6 @@ import ( "time" gometrics "github.com/armon/go-metrics" - sdkclient "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/pkg/errors" "github.com/rs/zerolog" "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" @@ -20,6 +17,9 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/provider" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" pfsync "github.com/sei-protocol/sei-chain/oracle/price-feeder/pkg/sync" + sdkclient "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" seimetrics "github.com/sei-protocol/sei-chain/utils/metrics" oracletypes "github.com/sei-protocol/sei-chain/x/oracle/types" "golang.org/x/sync/errgroup" diff --git a/oracle/price-feeder/oracle/oracle_test.go b/oracle/price-feeder/oracle/oracle_test.go index 4512bff2f3..96e18e7cfb 100644 --- a/oracle/price-feeder/oracle/oracle_test.go +++ b/oracle/price-feeder/oracle/oracle_test.go @@ -9,10 +9,10 @@ import ( "time" "github.com/armon/go-metrics" - sdkclient "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/rs/zerolog" + sdkclient "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" "golang.org/x/exp/slices" diff --git a/oracle/price-feeder/oracle/provider/binance_test.go b/oracle/price-feeder/oracle/provider/binance_test.go index 3c38c70ae6..a8588bdcfd 100644 --- a/oracle/price-feeder/oracle/provider/binance_test.go +++ b/oracle/price-feeder/oracle/provider/binance_test.go @@ -11,9 +11,9 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gorilla/websocket" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/provider/coinbase.go b/oracle/price-feeder/oracle/provider/coinbase.go index 3639238e51..bbb1aa48b5 100644 --- a/oracle/price-feeder/oracle/provider/coinbase.go +++ b/oracle/price-feeder/oracle/provider/coinbase.go @@ -18,7 +18,7 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" "github.com/sei-protocol/sei-chain/utils/metrics" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/oracle/price-feeder/oracle/provider/coinbase_test.go b/oracle/price-feeder/oracle/provider/coinbase_test.go index e4d02a200a..e58ea7db04 100644 --- a/oracle/price-feeder/oracle/provider/coinbase_test.go +++ b/oracle/price-feeder/oracle/provider/coinbase_test.go @@ -11,9 +11,9 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gorilla/websocket" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/provider/crypto_test.go b/oracle/price-feeder/oracle/provider/crypto_test.go index 3fffa52f55..cdb3abb871 100644 --- a/oracle/price-feeder/oracle/provider/crypto_test.go +++ b/oracle/price-feeder/oracle/provider/crypto_test.go @@ -8,11 +8,11 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gorilla/websocket" "github.com/rs/zerolog" "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/provider/gate_test.go b/oracle/price-feeder/oracle/provider/gate_test.go index 4b2e093df2..f950a83414 100644 --- a/oracle/price-feeder/oracle/provider/gate_test.go +++ b/oracle/price-feeder/oracle/provider/gate_test.go @@ -12,8 +12,8 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/provider/huobi_test.go b/oracle/price-feeder/oracle/provider/huobi_test.go index 1c7202933c..8d5d3ea028 100644 --- a/oracle/price-feeder/oracle/provider/huobi_test.go +++ b/oracle/price-feeder/oracle/provider/huobi_test.go @@ -12,8 +12,8 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/provider/kraken_test.go b/oracle/price-feeder/oracle/provider/kraken_test.go index 4a25c40386..5e2ff3a26a 100644 --- a/oracle/price-feeder/oracle/provider/kraken_test.go +++ b/oracle/price-feeder/oracle/provider/kraken_test.go @@ -11,8 +11,8 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/provider/mexc_test.go b/oracle/price-feeder/oracle/provider/mexc_test.go index dc0663162c..f37da761db 100644 --- a/oracle/price-feeder/oracle/provider/mexc_test.go +++ b/oracle/price-feeder/oracle/provider/mexc_test.go @@ -11,9 +11,9 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gorilla/websocket" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/provider/mock.go b/oracle/price-feeder/oracle/provider/mock.go index 76bf0617d8..4ecf29e844 100644 --- a/oracle/price-feeder/oracle/provider/mock.go +++ b/oracle/price-feeder/oracle/provider/mock.go @@ -9,7 +9,7 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/oracle/price-feeder/oracle/provider/mock_test.go b/oracle/price-feeder/oracle/provider/mock_test.go index da10b4a2a9..6ffa809a45 100644 --- a/oracle/price-feeder/oracle/provider/mock_test.go +++ b/oracle/price-feeder/oracle/provider/mock_test.go @@ -7,7 +7,7 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/provider/okx_test.go b/oracle/price-feeder/oracle/provider/okx_test.go index 89557f7e8d..b47a50eb0f 100644 --- a/oracle/price-feeder/oracle/provider/okx_test.go +++ b/oracle/price-feeder/oracle/provider/okx_test.go @@ -11,8 +11,8 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/provider/provider.go b/oracle/price-feeder/oracle/provider/provider.go index 5774e54c45..e640915b1c 100644 --- a/oracle/price-feeder/oracle/provider/provider.go +++ b/oracle/price-feeder/oracle/provider/provider.go @@ -8,7 +8,7 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/oracle/price-feeder/oracle/provider/provider_test.go b/oracle/price-feeder/oracle/provider/provider_test.go index 30194db239..0e3d80f5d6 100644 --- a/oracle/price-feeder/oracle/provider/provider_test.go +++ b/oracle/price-feeder/oracle/provider/provider_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/oracle/util.go b/oracle/price-feeder/oracle/util.go index 36a90b6815..56e904ef9d 100644 --- a/oracle/price-feeder/oracle/util.go +++ b/oracle/price-feeder/oracle/util.go @@ -6,7 +6,7 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/provider" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var minimumTimeWeight = sdk.MustNewDecFromStr("0.2") diff --git a/oracle/price-feeder/oracle/util_test.go b/oracle/price-feeder/oracle/util_test.go index a9b941f0e6..aa40066fcd 100644 --- a/oracle/price-feeder/oracle/util_test.go +++ b/oracle/price-feeder/oracle/util_test.go @@ -6,7 +6,7 @@ import ( "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" "github.com/sei-protocol/sei-chain/oracle/price-feeder/oracle/provider" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/oracle/price-feeder/router/v1/metrics.go b/oracle/price-feeder/router/v1/metrics.go index fce432f850..7d7ec1779a 100644 --- a/oracle/price-feeder/router/v1/metrics.go +++ b/oracle/price-feeder/router/v1/metrics.go @@ -1,6 +1,6 @@ package v1 -import "github.com/cosmos/cosmos-sdk/telemetry" +import "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" type Metrics interface { Gather(format string) (telemetry.GatherResponse, error) diff --git a/oracle/price-feeder/router/v1/oracle.go b/oracle/price-feeder/router/v1/oracle.go index 98153e2a62..0e0df42d3d 100644 --- a/oracle/price-feeder/router/v1/oracle.go +++ b/oracle/price-feeder/router/v1/oracle.go @@ -3,7 +3,7 @@ package v1 import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Oracle defines the Oracle interface contract that the v1 router depends on. diff --git a/oracle/price-feeder/router/v1/response.go b/oracle/price-feeder/router/v1/response.go index 69e751082b..439bb4a564 100644 --- a/oracle/price-feeder/router/v1/response.go +++ b/oracle/price-feeder/router/v1/response.go @@ -4,7 +4,7 @@ import ( "encoding/json" "net/http" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Response constants diff --git a/oracle/price-feeder/router/v1/router.go b/oracle/price-feeder/router/v1/router.go index 39560c250c..24afd3fca9 100644 --- a/oracle/price-feeder/router/v1/router.go +++ b/oracle/price-feeder/router/v1/router.go @@ -6,9 +6,9 @@ import ( "strings" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gorilla/mux" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" "github.com/sei-protocol/sei-chain/oracle/price-feeder/pkg/httputil" diff --git a/oracle/price-feeder/router/v1/router_test.go b/oracle/price-feeder/router/v1/router_test.go index 10149c00c9..fd17a2ce28 100644 --- a/oracle/price-feeder/router/v1/router_test.go +++ b/oracle/price-feeder/router/v1/router_test.go @@ -7,15 +7,15 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gorilla/mux" "github.com/rs/zerolog" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/suite" "github.com/sei-protocol/sei-chain/oracle/price-feeder/config" v1 "github.com/sei-protocol/sei-chain/oracle/price-feeder/router/v1" - "github.com/cosmos/cosmos-sdk/telemetry" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" ) var ( diff --git a/precompiles/addr/addr.go b/precompiles/addr/addr.go index 1b97ed9b5d..bef0ecf447 100644 --- a/precompiles/addr/addr.go +++ b/precompiles/addr/addr.go @@ -17,14 +17,14 @@ import ( "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/helpers" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/addr/legacy/v552/addr.go b/precompiles/addr/legacy/v552/addr.go index eeaa39f26d..3e6a3d1ab4 100644 --- a/precompiles/addr/legacy/v552/addr.go +++ b/precompiles/addr/legacy/v552/addr.go @@ -6,7 +6,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/addr/legacy/v555/addr.go b/precompiles/addr/legacy/v555/addr.go index c3d549d00a..859297641a 100644 --- a/precompiles/addr/legacy/v555/addr.go +++ b/precompiles/addr/legacy/v555/addr.go @@ -6,7 +6,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/addr/legacy/v562/addr.go b/precompiles/addr/legacy/v562/addr.go index 8826ec0c3c..f60412a4da 100644 --- a/precompiles/addr/legacy/v562/addr.go +++ b/precompiles/addr/legacy/v562/addr.go @@ -6,11 +6,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v562" "github.com/sei-protocol/sei-chain/precompiles/utils" diff --git a/precompiles/addr/legacy/v575/addr.go b/precompiles/addr/legacy/v575/addr.go index 61888ccc5e..5140bc5142 100644 --- a/precompiles/addr/legacy/v575/addr.go +++ b/precompiles/addr/legacy/v575/addr.go @@ -14,11 +14,11 @@ import ( "github.com/sei-protocol/sei-chain/utils" helpers "github.com/sei-protocol/sei-chain/utils/helpers/legacy/v575" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v575" "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/precompiles/addr/legacy/v600/addr.go b/precompiles/addr/legacy/v600/addr.go index 451dc8d896..80813f39cd 100644 --- a/precompiles/addr/legacy/v600/addr.go +++ b/precompiles/addr/legacy/v600/addr.go @@ -16,15 +16,15 @@ import ( "github.com/sei-protocol/sei-chain/utils" helpers "github.com/sei-protocol/sei-chain/utils/helpers/legacy/v600" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v600" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/addr/legacy/v601/addr.go b/precompiles/addr/legacy/v601/addr.go index 18d5ba6495..efeb558fb8 100644 --- a/precompiles/addr/legacy/v601/addr.go +++ b/precompiles/addr/legacy/v601/addr.go @@ -17,14 +17,14 @@ import ( "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/helpers" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/addr/legacy/v603/addr.go b/precompiles/addr/legacy/v603/addr.go index 843b89ccdd..69f8b00f60 100644 --- a/precompiles/addr/legacy/v603/addr.go +++ b/precompiles/addr/legacy/v603/addr.go @@ -16,15 +16,15 @@ import ( "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/helpers" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/addr/legacy/v605/addr.go b/precompiles/addr/legacy/v605/addr.go index 6053bd27f6..6eb7c7f55d 100644 --- a/precompiles/addr/legacy/v605/addr.go +++ b/precompiles/addr/legacy/v605/addr.go @@ -17,14 +17,14 @@ import ( "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/helpers" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v605" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/addr/legacy/v606/addr.go b/precompiles/addr/legacy/v606/addr.go index 5fc83c67a9..b19eccb78e 100644 --- a/precompiles/addr/legacy/v606/addr.go +++ b/precompiles/addr/legacy/v606/addr.go @@ -17,14 +17,14 @@ import ( "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/helpers" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/addr/legacy/v610/addr.go b/precompiles/addr/legacy/v610/addr.go index d35eb20781..aaf398544c 100644 --- a/precompiles/addr/legacy/v610/addr.go +++ b/precompiles/addr/legacy/v610/addr.go @@ -17,14 +17,14 @@ import ( "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/helpers" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v610" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/addr/legacy/v614/addr.go b/precompiles/addr/legacy/v614/addr.go index d0a34d51dd..6605592cc3 100644 --- a/precompiles/addr/legacy/v614/addr.go +++ b/precompiles/addr/legacy/v614/addr.go @@ -17,14 +17,14 @@ import ( "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/helpers" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v614" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/addr/legacy/v620/addr.go b/precompiles/addr/legacy/v620/addr.go index 17ec382342..d1675d19c8 100644 --- a/precompiles/addr/legacy/v620/addr.go +++ b/precompiles/addr/legacy/v620/addr.go @@ -17,14 +17,14 @@ import ( "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/helpers" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v620" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/addr/legacy/v630/addr.go b/precompiles/addr/legacy/v630/addr.go index 32ec50fe12..018e3610b1 100644 --- a/precompiles/addr/legacy/v630/addr.go +++ b/precompiles/addr/legacy/v630/addr.go @@ -17,14 +17,14 @@ import ( "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/helpers" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v630" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/bank/bank.go b/precompiles/bank/bank.go index e26cc74fb3..319b9e5f29 100644 --- a/precompiles/bank/bank.go +++ b/precompiles/bank/bank.go @@ -6,14 +6,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/precompiles/bank/bank_test.go b/precompiles/bank/bank_test.go index a049cf6bb7..a1cae321e8 100644 --- a/precompiles/bank/bank_test.go +++ b/precompiles/bank/bank_test.go @@ -9,16 +9,16 @@ import ( "testing" "time" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/precompiles/bank" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/ante" diff --git a/precompiles/bank/legacy/v552/bank.go b/precompiles/bank/legacy/v552/bank.go index 2ffb5b9b6f..626dfa9d48 100644 --- a/precompiles/bank/legacy/v552/bank.go +++ b/precompiles/bank/legacy/v552/bank.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v552" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/precompiles/bank/legacy/v555/bank.go b/precompiles/bank/legacy/v555/bank.go index 83d1d3bce6..277a63445b 100644 --- a/precompiles/bank/legacy/v555/bank.go +++ b/precompiles/bank/legacy/v555/bank.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v555" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/precompiles/bank/legacy/v562/bank.go b/precompiles/bank/legacy/v562/bank.go index d9048664c5..9aec7788c3 100644 --- a/precompiles/bank/legacy/v562/bank.go +++ b/precompiles/bank/legacy/v562/bank.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v562" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/precompiles/bank/legacy/v580/bank.go b/precompiles/bank/legacy/v580/bank.go index e12a85ae9a..2a424a1d72 100644 --- a/precompiles/bank/legacy/v580/bank.go +++ b/precompiles/bank/legacy/v580/bank.go @@ -6,13 +6,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v580" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/precompiles/bank/legacy/v600/bank.go b/precompiles/bank/legacy/v600/bank.go index 8d66764ae9..a50b69678b 100644 --- a/precompiles/bank/legacy/v600/bank.go +++ b/precompiles/bank/legacy/v600/bank.go @@ -6,13 +6,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v600" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/precompiles/bank/legacy/v601/bank.go b/precompiles/bank/legacy/v601/bank.go index 137ba87f90..a5df03d171 100644 --- a/precompiles/bank/legacy/v601/bank.go +++ b/precompiles/bank/legacy/v601/bank.go @@ -6,15 +6,15 @@ import ( "fmt" "math/big" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/bank/legacy/v603/bank.go b/precompiles/bank/legacy/v603/bank.go index 20bcb34669..25ab3342f5 100644 --- a/precompiles/bank/legacy/v603/bank.go +++ b/precompiles/bank/legacy/v603/bank.go @@ -6,14 +6,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/precompiles/bank/legacy/v605/bank.go b/precompiles/bank/legacy/v605/bank.go index ae189139a0..7d5d62aed2 100644 --- a/precompiles/bank/legacy/v605/bank.go +++ b/precompiles/bank/legacy/v605/bank.go @@ -6,15 +6,15 @@ import ( "fmt" "math/big" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v605" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/bank/legacy/v606/bank.go b/precompiles/bank/legacy/v606/bank.go index f03d9c4c95..c79b26c23f 100644 --- a/precompiles/bank/legacy/v606/bank.go +++ b/precompiles/bank/legacy/v606/bank.go @@ -6,14 +6,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/precompiles/bank/legacy/v610/bank.go b/precompiles/bank/legacy/v610/bank.go index 87196554d0..3a1bce59d4 100644 --- a/precompiles/bank/legacy/v610/bank.go +++ b/precompiles/bank/legacy/v610/bank.go @@ -6,15 +6,15 @@ import ( "fmt" "math/big" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/bank/legacy/v614/bank.go b/precompiles/bank/legacy/v614/bank.go index a0475a710f..4f285eb986 100644 --- a/precompiles/bank/legacy/v614/bank.go +++ b/precompiles/bank/legacy/v614/bank.go @@ -6,14 +6,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v614" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/precompiles/bank/legacy/v620/bank.go b/precompiles/bank/legacy/v620/bank.go index 710a7330fb..62be2a30ec 100644 --- a/precompiles/bank/legacy/v620/bank.go +++ b/precompiles/bank/legacy/v620/bank.go @@ -6,14 +6,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v620" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/precompiles/bank/legacy/v630/bank.go b/precompiles/bank/legacy/v630/bank.go index 0ba1258d02..de884090bd 100644 --- a/precompiles/bank/legacy/v630/bank.go +++ b/precompiles/bank/legacy/v630/bank.go @@ -6,14 +6,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v630" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/precompiles/common/legacy/v552/precompiles.go b/precompiles/common/legacy/v552/precompiles.go index 344ff5d8d8..dac516daf6 100644 --- a/precompiles/common/legacy/v552/precompiles.go +++ b/precompiles/common/legacy/v552/precompiles.go @@ -5,12 +5,12 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/state" ) diff --git a/precompiles/common/legacy/v555/precompiles.go b/precompiles/common/legacy/v555/precompiles.go index b097fef72a..2b25976a5b 100644 --- a/precompiles/common/legacy/v555/precompiles.go +++ b/precompiles/common/legacy/v555/precompiles.go @@ -5,12 +5,12 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/state" ) diff --git a/precompiles/common/legacy/v562/precompiles.go b/precompiles/common/legacy/v562/precompiles.go index d5cef17d67..1aaaf6b248 100644 --- a/precompiles/common/legacy/v562/precompiles.go +++ b/precompiles/common/legacy/v562/precompiles.go @@ -5,13 +5,13 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/precompiles/common/legacy/v575/precompiles.go b/precompiles/common/legacy/v575/precompiles.go index 00a9ce3493..dc89b5c0ca 100644 --- a/precompiles/common/legacy/v575/precompiles.go +++ b/precompiles/common/legacy/v575/precompiles.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/precompiles/common/legacy/v580/precompiles.go b/precompiles/common/legacy/v580/precompiles.go index e5ccb6c969..6aa7ad903f 100644 --- a/precompiles/common/legacy/v580/precompiles.go +++ b/precompiles/common/legacy/v580/precompiles.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/precompiles/common/legacy/v600/precompiles.go b/precompiles/common/legacy/v600/precompiles.go index 917540c8eb..3d827ab9f4 100644 --- a/precompiles/common/legacy/v600/precompiles.go +++ b/precompiles/common/legacy/v600/precompiles.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/precompiles/common/legacy/v605/expected_keepers.go b/precompiles/common/legacy/v605/expected_keepers.go index 4239760611..018b15962e 100644 --- a/precompiles/common/legacy/v605/expected_keepers.go +++ b/precompiles/common/legacy/v605/expected_keepers.go @@ -8,14 +8,14 @@ import ( "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ibctypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" "github.com/sei-protocol/sei-chain/utils" oracletypes "github.com/sei-protocol/sei-chain/x/oracle/types" diff --git a/precompiles/common/legacy/v605/precompiles.go b/precompiles/common/legacy/v605/precompiles.go index ee6a2f3edc..ac3bb8820f 100644 --- a/precompiles/common/legacy/v605/precompiles.go +++ b/precompiles/common/legacy/v605/precompiles.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/precompiles/common/legacy/v606/expected_keepers.go b/precompiles/common/legacy/v606/expected_keepers.go index a06609972e..3d79669e61 100644 --- a/precompiles/common/legacy/v606/expected_keepers.go +++ b/precompiles/common/legacy/v606/expected_keepers.go @@ -8,14 +8,14 @@ import ( "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ibctypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" "github.com/sei-protocol/sei-chain/utils" oracletypes "github.com/sei-protocol/sei-chain/x/oracle/types" diff --git a/precompiles/common/legacy/v606/precompiles.go b/precompiles/common/legacy/v606/precompiles.go index 30c586796a..503d6b0c69 100644 --- a/precompiles/common/legacy/v606/precompiles.go +++ b/precompiles/common/legacy/v606/precompiles.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/precompiles/common/legacy/v610/expected_keepers.go b/precompiles/common/legacy/v610/expected_keepers.go index 48b92627f6..b975bae011 100644 --- a/precompiles/common/legacy/v610/expected_keepers.go +++ b/precompiles/common/legacy/v610/expected_keepers.go @@ -8,14 +8,14 @@ import ( "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ibctypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" "github.com/sei-protocol/sei-chain/utils" oracletypes "github.com/sei-protocol/sei-chain/x/oracle/types" diff --git a/precompiles/common/legacy/v610/precompiles.go b/precompiles/common/legacy/v610/precompiles.go index 774099bac8..05762fe39b 100644 --- a/precompiles/common/legacy/v610/precompiles.go +++ b/precompiles/common/legacy/v610/precompiles.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/precompiles/common/legacy/v614/precompiles.go b/precompiles/common/legacy/v614/precompiles.go index faf0bbbcbd..c48e3c5583 100644 --- a/precompiles/common/legacy/v614/precompiles.go +++ b/precompiles/common/legacy/v614/precompiles.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/precompiles/common/legacy/v620/precompiles.go b/precompiles/common/legacy/v620/precompiles.go index 854727ce13..f659e846b0 100644 --- a/precompiles/common/legacy/v620/precompiles.go +++ b/precompiles/common/legacy/v620/precompiles.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/precompiles/common/legacy/v630/precompiles.go b/precompiles/common/legacy/v630/precompiles.go index 3f412be48d..3d477f8847 100644 --- a/precompiles/common/legacy/v630/precompiles.go +++ b/precompiles/common/legacy/v630/precompiles.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/precompiles/common/precompiles.go b/precompiles/common/precompiles.go index 869e0b0eba..5dd5bce16d 100644 --- a/precompiles/common/precompiles.go +++ b/precompiles/common/precompiles.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/precompiles/common/precompiles_test.go b/precompiles/common/precompiles_test.go index 3c9a07e988..47696616e4 100644 --- a/precompiles/common/precompiles_test.go +++ b/precompiles/common/precompiles_test.go @@ -7,7 +7,7 @@ import ( "os" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/precompiles/distribution/distribution.go b/precompiles/distribution/distribution.go index 1b66219249..1489832007 100644 --- a/precompiles/distribution/distribution.go +++ b/precompiles/distribution/distribution.go @@ -6,14 +6,14 @@ import ( "fmt" "math/big" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/crypto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" "github.com/sei-protocol/sei-chain/precompiles/utils" diff --git a/precompiles/distribution/distribution_test.go b/precompiles/distribution/distribution_test.go index 33ba41f611..e9423082fa 100644 --- a/precompiles/distribution/distribution_test.go +++ b/precompiles/distribution/distribution_test.go @@ -9,19 +9,19 @@ import ( "testing" "time" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - crptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + abitypes "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + crptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/app" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" diff --git a/precompiles/distribution/legacy/v552/distribution.go b/precompiles/distribution/legacy/v552/distribution.go index 8f90967172..182bb13feb 100644 --- a/precompiles/distribution/legacy/v552/distribution.go +++ b/precompiles/distribution/legacy/v552/distribution.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v555" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/state" ) diff --git a/precompiles/distribution/legacy/v555/distribution.go b/precompiles/distribution/legacy/v555/distribution.go index a5ab244cca..ab91ac20e6 100644 --- a/precompiles/distribution/legacy/v555/distribution.go +++ b/precompiles/distribution/legacy/v555/distribution.go @@ -11,11 +11,11 @@ import ( putils "github.com/sei-protocol/sei-chain/precompiles/utils" "github.com/sei-protocol/sei-chain/utils" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v555" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/state" ) diff --git a/precompiles/distribution/legacy/v562/distribution.go b/precompiles/distribution/legacy/v562/distribution.go index 705e4e78f3..a36318417d 100644 --- a/precompiles/distribution/legacy/v562/distribution.go +++ b/precompiles/distribution/legacy/v562/distribution.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v562" "github.com/sei-protocol/sei-chain/precompiles/utils" diff --git a/precompiles/distribution/legacy/v580/distribution.go b/precompiles/distribution/legacy/v580/distribution.go index 7d92b8e297..e1d6916640 100644 --- a/precompiles/distribution/legacy/v580/distribution.go +++ b/precompiles/distribution/legacy/v580/distribution.go @@ -6,13 +6,13 @@ import ( "fmt" "math/big" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v580" "github.com/sei-protocol/sei-chain/precompiles/utils" diff --git a/precompiles/distribution/legacy/v605/distribution.go b/precompiles/distribution/legacy/v605/distribution.go index 2069834eb2..421d1b8e07 100644 --- a/precompiles/distribution/legacy/v605/distribution.go +++ b/precompiles/distribution/legacy/v605/distribution.go @@ -6,13 +6,13 @@ import ( "fmt" "math/big" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v605" "github.com/sei-protocol/sei-chain/precompiles/utils" diff --git a/precompiles/distribution/legacy/v606/distribution.go b/precompiles/distribution/legacy/v606/distribution.go index bec82f49d2..794e52e606 100644 --- a/precompiles/distribution/legacy/v606/distribution.go +++ b/precompiles/distribution/legacy/v606/distribution.go @@ -6,13 +6,13 @@ import ( "fmt" "math/big" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" "github.com/sei-protocol/sei-chain/precompiles/utils" diff --git a/precompiles/distribution/legacy/v610/distribution.go b/precompiles/distribution/legacy/v610/distribution.go index fa442ef23f..c71bdf8aa5 100644 --- a/precompiles/distribution/legacy/v610/distribution.go +++ b/precompiles/distribution/legacy/v610/distribution.go @@ -6,13 +6,13 @@ import ( "fmt" "math/big" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" "github.com/sei-protocol/sei-chain/precompiles/utils" diff --git a/precompiles/distribution/legacy/v614/distribution.go b/precompiles/distribution/legacy/v614/distribution.go index 7575bc208e..7f1d00befa 100644 --- a/precompiles/distribution/legacy/v614/distribution.go +++ b/precompiles/distribution/legacy/v614/distribution.go @@ -6,13 +6,13 @@ import ( "fmt" "math/big" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v614" "github.com/sei-protocol/sei-chain/precompiles/utils" diff --git a/precompiles/distribution/legacy/v620/distribution.go b/precompiles/distribution/legacy/v620/distribution.go index 65d3b398e7..2ccece1673 100644 --- a/precompiles/distribution/legacy/v620/distribution.go +++ b/precompiles/distribution/legacy/v620/distribution.go @@ -6,13 +6,13 @@ import ( "fmt" "math/big" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v620" "github.com/sei-protocol/sei-chain/precompiles/utils" diff --git a/precompiles/distribution/legacy/v630/distribution.go b/precompiles/distribution/legacy/v630/distribution.go index aba69c4def..a0defe0ea5 100644 --- a/precompiles/distribution/legacy/v630/distribution.go +++ b/precompiles/distribution/legacy/v630/distribution.go @@ -6,14 +6,14 @@ import ( "fmt" "math/big" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/crypto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v630" "github.com/sei-protocol/sei-chain/precompiles/utils" diff --git a/precompiles/gov/gov.go b/precompiles/gov/gov.go index e72d0c51f3..3112f3b268 100644 --- a/precompiles/gov/gov.go +++ b/precompiles/gov/gov.go @@ -8,14 +8,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/gov/gov_test.go b/precompiles/gov/gov_test.go index dc3fa4504b..0bca502975 100644 --- a/precompiles/gov/gov_test.go +++ b/precompiles/gov/gov_test.go @@ -6,11 +6,11 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" diff --git a/precompiles/gov/handler.go b/precompiles/gov/handler.go index 1d77965e04..9d5f4f79df 100644 --- a/precompiles/gov/handler.go +++ b/precompiles/gov/handler.go @@ -5,12 +5,12 @@ import ( "errors" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) // EVMKeeper defines the interface for EVM keeper operations diff --git a/precompiles/gov/legacy/v552/gov.go b/precompiles/gov/legacy/v552/gov.go index 537235eb89..bed6f0cd64 100644 --- a/precompiles/gov/legacy/v552/gov.go +++ b/precompiles/gov/legacy/v552/gov.go @@ -7,14 +7,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v552" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) const ( diff --git a/precompiles/gov/legacy/v555/gov.go b/precompiles/gov/legacy/v555/gov.go index 74d4bed9b9..aa63e52f9e 100644 --- a/precompiles/gov/legacy/v555/gov.go +++ b/precompiles/gov/legacy/v555/gov.go @@ -7,14 +7,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v555" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/state" ) diff --git a/precompiles/gov/legacy/v562/gov.go b/precompiles/gov/legacy/v562/gov.go index 50c903f114..6406a32524 100644 --- a/precompiles/gov/legacy/v562/gov.go +++ b/precompiles/gov/legacy/v562/gov.go @@ -6,14 +6,14 @@ import ( "errors" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v562" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/gov/legacy/v580/gov.go b/precompiles/gov/legacy/v580/gov.go index b385d9dd6f..5fca8afd68 100644 --- a/precompiles/gov/legacy/v580/gov.go +++ b/precompiles/gov/legacy/v580/gov.go @@ -6,14 +6,14 @@ import ( "errors" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v580" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/gov/legacy/v605/gov.go b/precompiles/gov/legacy/v605/gov.go index 758c31bb92..21586ac07b 100644 --- a/precompiles/gov/legacy/v605/gov.go +++ b/precompiles/gov/legacy/v605/gov.go @@ -6,14 +6,14 @@ import ( "errors" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v605" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/gov/legacy/v606/gov.go b/precompiles/gov/legacy/v606/gov.go index 33f3c9b24c..e8bf20fd60 100644 --- a/precompiles/gov/legacy/v606/gov.go +++ b/precompiles/gov/legacy/v606/gov.go @@ -6,14 +6,14 @@ import ( "errors" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/gov/legacy/v610/gov.go b/precompiles/gov/legacy/v610/gov.go index 4f2b271369..e896adf3c5 100644 --- a/precompiles/gov/legacy/v610/gov.go +++ b/precompiles/gov/legacy/v610/gov.go @@ -6,14 +6,14 @@ import ( "errors" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/gov/legacy/v614/gov.go b/precompiles/gov/legacy/v614/gov.go index e1e7069bc5..c01e10becc 100644 --- a/precompiles/gov/legacy/v614/gov.go +++ b/precompiles/gov/legacy/v614/gov.go @@ -8,14 +8,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v614" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/gov/legacy/v614/handler.go b/precompiles/gov/legacy/v614/handler.go index 19583c0bbe..816dd5d30c 100644 --- a/precompiles/gov/legacy/v614/handler.go +++ b/precompiles/gov/legacy/v614/handler.go @@ -5,12 +5,12 @@ import ( "errors" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) // EVMKeeper defines the interface for EVM keeper operations diff --git a/precompiles/gov/legacy/v620/gov.go b/precompiles/gov/legacy/v620/gov.go index b613460ba2..d7c2b1ecd0 100644 --- a/precompiles/gov/legacy/v620/gov.go +++ b/precompiles/gov/legacy/v620/gov.go @@ -8,14 +8,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v620" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/gov/legacy/v620/handler.go b/precompiles/gov/legacy/v620/handler.go index 293875c8c7..83b31e0671 100644 --- a/precompiles/gov/legacy/v620/handler.go +++ b/precompiles/gov/legacy/v620/handler.go @@ -5,12 +5,12 @@ import ( "errors" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) // EVMKeeper defines the interface for EVM keeper operations diff --git a/precompiles/gov/legacy/v630/gov.go b/precompiles/gov/legacy/v630/gov.go index 148d43e74d..0d8a77355e 100644 --- a/precompiles/gov/legacy/v630/gov.go +++ b/precompiles/gov/legacy/v630/gov.go @@ -8,14 +8,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v630" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/gov/legacy/v630/handler.go b/precompiles/gov/legacy/v630/handler.go index 8e428d3fa3..c86ffc4d83 100644 --- a/precompiles/gov/legacy/v630/handler.go +++ b/precompiles/gov/legacy/v630/handler.go @@ -5,12 +5,12 @@ import ( "errors" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) // EVMKeeper defines the interface for EVM keeper operations diff --git a/precompiles/ibc/ibc.go b/precompiles/ibc/ibc.go index d376e4f3ab..ec428d9c95 100644 --- a/precompiles/ibc/ibc.go +++ b/precompiles/ibc/ibc.go @@ -6,11 +6,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/precompiles/ibc/ibc_test.go b/precompiles/ibc/ibc_test.go index 8ae5df1eac..45f43bb80b 100644 --- a/precompiles/ibc/ibc_test.go +++ b/precompiles/ibc/ibc_test.go @@ -8,12 +8,12 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/precompiles/ibc" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/precompiles/ibc/legacy/v552/ibc.go b/precompiles/ibc/legacy/v552/ibc.go index 358e994ae2..b7bb3539d9 100644 --- a/precompiles/ibc/legacy/v552/ibc.go +++ b/precompiles/ibc/legacy/v552/ibc.go @@ -9,18 +9,18 @@ import ( "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" - "github.com/cosmos/cosmos-sdk/types/bech32" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/bech32" putils "github.com/sei-protocol/sei-chain/precompiles/utils" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/state" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v552" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" ) diff --git a/precompiles/ibc/legacy/v555/ibc.go b/precompiles/ibc/legacy/v555/ibc.go index 3692b6ddb5..696a3ff6dc 100644 --- a/precompiles/ibc/legacy/v555/ibc.go +++ b/precompiles/ibc/legacy/v555/ibc.go @@ -10,17 +10,17 @@ import ( putils "github.com/sei-protocol/sei-chain/precompiles/utils" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" - "github.com/cosmos/cosmos-sdk/types/bech32" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/bech32" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/state" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v555" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" ) diff --git a/precompiles/ibc/legacy/v562/ibc.go b/precompiles/ibc/legacy/v562/ibc.go index 1939b418a2..698059cb7b 100644 --- a/precompiles/ibc/legacy/v562/ibc.go +++ b/precompiles/ibc/legacy/v562/ibc.go @@ -7,13 +7,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/bech32" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/bech32" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/precompiles/ibc/legacy/v580/ibc.go b/precompiles/ibc/legacy/v580/ibc.go index 154c43850e..2c57648404 100644 --- a/precompiles/ibc/legacy/v580/ibc.go +++ b/precompiles/ibc/legacy/v580/ibc.go @@ -6,12 +6,12 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/bech32" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/bech32" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/precompiles/ibc/legacy/v601/ibc.go b/precompiles/ibc/legacy/v601/ibc.go index 965ff4cdde..036b1cfeaa 100644 --- a/precompiles/ibc/legacy/v601/ibc.go +++ b/precompiles/ibc/legacy/v601/ibc.go @@ -6,12 +6,12 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/bech32" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/bech32" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/precompiles/ibc/legacy/v603/ibc.go b/precompiles/ibc/legacy/v603/ibc.go index b54e713f28..95bf99f5fe 100644 --- a/precompiles/ibc/legacy/v603/ibc.go +++ b/precompiles/ibc/legacy/v603/ibc.go @@ -6,11 +6,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/precompiles/ibc/legacy/v605/ibc.go b/precompiles/ibc/legacy/v605/ibc.go index 1e0468b3b4..8fdfe973d0 100644 --- a/precompiles/ibc/legacy/v605/ibc.go +++ b/precompiles/ibc/legacy/v605/ibc.go @@ -6,11 +6,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/precompiles/ibc/legacy/v606/ibc.go b/precompiles/ibc/legacy/v606/ibc.go index d8d1a134c8..b76057374b 100644 --- a/precompiles/ibc/legacy/v606/ibc.go +++ b/precompiles/ibc/legacy/v606/ibc.go @@ -6,11 +6,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/precompiles/ibc/legacy/v610/ibc.go b/precompiles/ibc/legacy/v610/ibc.go index 74ab562718..d0e571f8e7 100644 --- a/precompiles/ibc/legacy/v610/ibc.go +++ b/precompiles/ibc/legacy/v610/ibc.go @@ -6,11 +6,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/precompiles/ibc/legacy/v614/ibc.go b/precompiles/ibc/legacy/v614/ibc.go index 66906ad12a..97e76b3719 100644 --- a/precompiles/ibc/legacy/v614/ibc.go +++ b/precompiles/ibc/legacy/v614/ibc.go @@ -6,11 +6,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/precompiles/ibc/legacy/v620/ibc.go b/precompiles/ibc/legacy/v620/ibc.go index 8a50817f58..830b15c57e 100644 --- a/precompiles/ibc/legacy/v620/ibc.go +++ b/precompiles/ibc/legacy/v620/ibc.go @@ -6,11 +6,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/precompiles/ibc/legacy/v630/ibc.go b/precompiles/ibc/legacy/v630/ibc.go index 0fe3dfd2ae..33cee9208a 100644 --- a/precompiles/ibc/legacy/v630/ibc.go +++ b/precompiles/ibc/legacy/v630/ibc.go @@ -6,11 +6,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/precompiles/json/json.go b/precompiles/json/json.go index 5d208c18aa..25f9ffa386 100644 --- a/precompiles/json/json.go +++ b/precompiles/json/json.go @@ -8,13 +8,13 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/json/json_test.go b/precompiles/json/json_test.go index 1897dedefe..4cc7e43394 100644 --- a/precompiles/json/json_test.go +++ b/precompiles/json/json_test.go @@ -8,10 +8,10 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" "github.com/sei-protocol/sei-chain/precompiles/json" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/stretchr/testify/require" ) diff --git a/precompiles/json/legacy/v552/json.go b/precompiles/json/legacy/v552/json.go index 7eab2fc954..d0064fcf56 100644 --- a/precompiles/json/legacy/v552/json.go +++ b/precompiles/json/legacy/v552/json.go @@ -9,13 +9,13 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v552" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/state" ) diff --git a/precompiles/json/legacy/v555/json.go b/precompiles/json/legacy/v555/json.go index 0e2260558d..c5d290cdc8 100644 --- a/precompiles/json/legacy/v555/json.go +++ b/precompiles/json/legacy/v555/json.go @@ -9,13 +9,13 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v555" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/state" ) diff --git a/precompiles/json/legacy/v562/json.go b/precompiles/json/legacy/v562/json.go index 9e43eb9945..967ddcf5f4 100644 --- a/precompiles/json/legacy/v562/json.go +++ b/precompiles/json/legacy/v562/json.go @@ -9,13 +9,13 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v562" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/json/legacy/v603/json.go b/precompiles/json/legacy/v603/json.go index a337257906..d83777c612 100644 --- a/precompiles/json/legacy/v603/json.go +++ b/precompiles/json/legacy/v603/json.go @@ -8,13 +8,13 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/json/legacy/v605/json.go b/precompiles/json/legacy/v605/json.go index 323b17e257..881e338996 100644 --- a/precompiles/json/legacy/v605/json.go +++ b/precompiles/json/legacy/v605/json.go @@ -8,13 +8,13 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v605" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/json/legacy/v606/json.go b/precompiles/json/legacy/v606/json.go index 0f37ea0b65..80b6518ef8 100644 --- a/precompiles/json/legacy/v606/json.go +++ b/precompiles/json/legacy/v606/json.go @@ -8,13 +8,13 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/json/legacy/v610/json.go b/precompiles/json/legacy/v610/json.go index 376db8f100..c848be7a2a 100644 --- a/precompiles/json/legacy/v610/json.go +++ b/precompiles/json/legacy/v610/json.go @@ -8,13 +8,13 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/json/legacy/v614/json.go b/precompiles/json/legacy/v614/json.go index b82e95dd3c..c58ab238a9 100644 --- a/precompiles/json/legacy/v614/json.go +++ b/precompiles/json/legacy/v614/json.go @@ -8,13 +8,13 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v614" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/json/legacy/v620/json.go b/precompiles/json/legacy/v620/json.go index 2b7d3bc5c9..a7e9dacd52 100644 --- a/precompiles/json/legacy/v620/json.go +++ b/precompiles/json/legacy/v620/json.go @@ -8,13 +8,13 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v620" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/json/legacy/v630/json.go b/precompiles/json/legacy/v630/json.go index e9ee9fdb84..2a3870443c 100644 --- a/precompiles/json/legacy/v630/json.go +++ b/precompiles/json/legacy/v630/json.go @@ -8,13 +8,13 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v630" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/oracle/legacy/v552/oracle.go b/precompiles/oracle/legacy/v552/oracle.go index b699e4ff10..22e5f51562 100644 --- a/precompiles/oracle/legacy/v552/oracle.go +++ b/precompiles/oracle/legacy/v552/oracle.go @@ -5,7 +5,7 @@ import ( "embed" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/legacy/v555/oracle.go b/precompiles/oracle/legacy/v555/oracle.go index ab9bdc0901..24b88f3d2b 100644 --- a/precompiles/oracle/legacy/v555/oracle.go +++ b/precompiles/oracle/legacy/v555/oracle.go @@ -5,7 +5,7 @@ import ( "embed" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/legacy/v562/oracle.go b/precompiles/oracle/legacy/v562/oracle.go index cae837ff4e..3c2070f545 100644 --- a/precompiles/oracle/legacy/v562/oracle.go +++ b/precompiles/oracle/legacy/v562/oracle.go @@ -5,7 +5,7 @@ import ( "embed" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/legacy/v600/oracle.go b/precompiles/oracle/legacy/v600/oracle.go index b3afcd4348..c8b75f8339 100644 --- a/precompiles/oracle/legacy/v600/oracle.go +++ b/precompiles/oracle/legacy/v600/oracle.go @@ -4,7 +4,7 @@ import ( "embed" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/legacy/v601/oracle.go b/precompiles/oracle/legacy/v601/oracle.go index 8cc077facc..3c5b25f15a 100644 --- a/precompiles/oracle/legacy/v601/oracle.go +++ b/precompiles/oracle/legacy/v601/oracle.go @@ -4,7 +4,7 @@ import ( "embed" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/legacy/v603/oracle.go b/precompiles/oracle/legacy/v603/oracle.go index d550642741..17952b014c 100644 --- a/precompiles/oracle/legacy/v603/oracle.go +++ b/precompiles/oracle/legacy/v603/oracle.go @@ -5,7 +5,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/legacy/v605/oracle.go b/precompiles/oracle/legacy/v605/oracle.go index 2da5bde47f..53e5fe801b 100644 --- a/precompiles/oracle/legacy/v605/oracle.go +++ b/precompiles/oracle/legacy/v605/oracle.go @@ -5,7 +5,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/legacy/v606/oracle.go b/precompiles/oracle/legacy/v606/oracle.go index 60619acbb9..cd1b603edf 100644 --- a/precompiles/oracle/legacy/v606/oracle.go +++ b/precompiles/oracle/legacy/v606/oracle.go @@ -5,7 +5,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/legacy/v610/oracle.go b/precompiles/oracle/legacy/v610/oracle.go index 437ed13077..a003858349 100644 --- a/precompiles/oracle/legacy/v610/oracle.go +++ b/precompiles/oracle/legacy/v610/oracle.go @@ -5,7 +5,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/legacy/v614/oracle.go b/precompiles/oracle/legacy/v614/oracle.go index f93d0b929b..5c8cfac21d 100644 --- a/precompiles/oracle/legacy/v614/oracle.go +++ b/precompiles/oracle/legacy/v614/oracle.go @@ -5,7 +5,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/legacy/v620/oracle.go b/precompiles/oracle/legacy/v620/oracle.go index 59f431bf8a..4ec3336145 100644 --- a/precompiles/oracle/legacy/v620/oracle.go +++ b/precompiles/oracle/legacy/v620/oracle.go @@ -5,7 +5,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/legacy/v630/oracle.go b/precompiles/oracle/legacy/v630/oracle.go index dcbe9be52c..eb8c2cb20d 100644 --- a/precompiles/oracle/legacy/v630/oracle.go +++ b/precompiles/oracle/legacy/v630/oracle.go @@ -5,7 +5,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/oracle.go b/precompiles/oracle/oracle.go index 7479b47d78..001a528218 100644 --- a/precompiles/oracle/oracle.go +++ b/precompiles/oracle/oracle.go @@ -5,7 +5,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/precompiles/oracle/oracle_test.go b/precompiles/oracle/oracle_test.go index e496932cf9..6ebda5e0fa 100644 --- a/precompiles/oracle/oracle_test.go +++ b/precompiles/oracle/oracle_test.go @@ -4,10 +4,10 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" "github.com/sei-protocol/sei-chain/precompiles/oracle" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/precompiles/p256/legacy/v606/p256.go b/precompiles/p256/legacy/v606/p256.go index 8ae8afe8c3..0c4a2ec9f5 100644 --- a/precompiles/p256/legacy/v606/p256.go +++ b/precompiles/p256/legacy/v606/p256.go @@ -8,12 +8,12 @@ import ( "github.com/ethereum/go-ethereum/core/tracing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/p256/legacy/v614/p256.go b/precompiles/p256/legacy/v614/p256.go index 5885e2d449..38a2f6d78d 100644 --- a/precompiles/p256/legacy/v614/p256.go +++ b/precompiles/p256/legacy/v614/p256.go @@ -8,12 +8,12 @@ import ( "github.com/ethereum/go-ethereum/core/tracing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v614" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/p256/legacy/v620/p256.go b/precompiles/p256/legacy/v620/p256.go index 0c36c58cea..8bc85f5471 100644 --- a/precompiles/p256/legacy/v620/p256.go +++ b/precompiles/p256/legacy/v620/p256.go @@ -8,12 +8,12 @@ import ( "github.com/ethereum/go-ethereum/core/tracing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v620" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/p256/legacy/v630/p256.go b/precompiles/p256/legacy/v630/p256.go index 148b0e3ac3..dab511f5b3 100644 --- a/precompiles/p256/legacy/v630/p256.go +++ b/precompiles/p256/legacy/v630/p256.go @@ -8,12 +8,12 @@ import ( "github.com/ethereum/go-ethereum/core/tracing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v630" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/p256/p256.go b/precompiles/p256/p256.go index 6444fa5b7e..82a53e2d2f 100644 --- a/precompiles/p256/p256.go +++ b/precompiles/p256/p256.go @@ -8,12 +8,12 @@ import ( "github.com/ethereum/go-ethereum/core/tracing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/p256/p256_test.go b/precompiles/p256/p256_test.go index dc58c8a892..3ee095f61a 100644 --- a/precompiles/p256/p256_test.go +++ b/precompiles/p256/p256_test.go @@ -4,9 +4,9 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/stretchr/testify/require" ) diff --git a/precompiles/pointer/legacy/v552/pointer.go b/precompiles/pointer/legacy/v552/pointer.go index 588be891ed..dcb2cdf9bb 100644 --- a/precompiles/pointer/legacy/v552/pointer.go +++ b/precompiles/pointer/legacy/v552/pointer.go @@ -9,7 +9,6 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" @@ -17,6 +16,7 @@ import ( "github.com/holiman/uint256" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v552" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw20" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw721" diff --git a/precompiles/pointer/legacy/v555/pointer.go b/precompiles/pointer/legacy/v555/pointer.go index d0896eb0bd..56a76ce291 100644 --- a/precompiles/pointer/legacy/v555/pointer.go +++ b/precompiles/pointer/legacy/v555/pointer.go @@ -9,7 +9,6 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" @@ -17,6 +16,7 @@ import ( "github.com/holiman/uint256" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v555" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw20" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw721" diff --git a/precompiles/pointer/legacy/v562/pointer.go b/precompiles/pointer/legacy/v562/pointer.go index afff8c8e0d..56d08d007a 100644 --- a/precompiles/pointer/legacy/v562/pointer.go +++ b/precompiles/pointer/legacy/v562/pointer.go @@ -9,7 +9,6 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" @@ -17,6 +16,7 @@ import ( "github.com/holiman/uint256" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v562" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw20" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw721" diff --git a/precompiles/pointer/legacy/v575/pointer.go b/precompiles/pointer/legacy/v575/pointer.go index e4c85c1800..8723ac8b0a 100644 --- a/precompiles/pointer/legacy/v575/pointer.go +++ b/precompiles/pointer/legacy/v575/pointer.go @@ -8,13 +8,13 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v575" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/pointer/legacy/v580/pointer.go b/precompiles/pointer/legacy/v580/pointer.go index 66d1b08a94..c3b1c8b5e6 100644 --- a/precompiles/pointer/legacy/v580/pointer.go +++ b/precompiles/pointer/legacy/v580/pointer.go @@ -8,13 +8,13 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v580" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/pointer/legacy/v600/pointer.go b/precompiles/pointer/legacy/v600/pointer.go index 3c9fb6abf1..b730cbee42 100644 --- a/precompiles/pointer/legacy/v600/pointer.go +++ b/precompiles/pointer/legacy/v600/pointer.go @@ -8,13 +8,13 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v600" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/pointer/legacy/v605/pointer.go b/precompiles/pointer/legacy/v605/pointer.go index c6fad184eb..4add96f504 100644 --- a/precompiles/pointer/legacy/v605/pointer.go +++ b/precompiles/pointer/legacy/v605/pointer.go @@ -8,13 +8,13 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v605" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/pointer/legacy/v606/pointer.go b/precompiles/pointer/legacy/v606/pointer.go index b5fd9749f8..4cc597abbc 100644 --- a/precompiles/pointer/legacy/v606/pointer.go +++ b/precompiles/pointer/legacy/v606/pointer.go @@ -8,13 +8,13 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/pointer/legacy/v610/pointer.go b/precompiles/pointer/legacy/v610/pointer.go index 6f12c4d852..bb90cc8a85 100644 --- a/precompiles/pointer/legacy/v610/pointer.go +++ b/precompiles/pointer/legacy/v610/pointer.go @@ -8,13 +8,13 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/pointer/legacy/v614/pointer.go b/precompiles/pointer/legacy/v614/pointer.go index 0ed6a28d94..75b748e918 100644 --- a/precompiles/pointer/legacy/v614/pointer.go +++ b/precompiles/pointer/legacy/v614/pointer.go @@ -8,13 +8,13 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v614" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/pointer/legacy/v620/pointer.go b/precompiles/pointer/legacy/v620/pointer.go index 14552a4444..57865d7ab1 100644 --- a/precompiles/pointer/legacy/v620/pointer.go +++ b/precompiles/pointer/legacy/v620/pointer.go @@ -8,13 +8,13 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v620" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/pointer/legacy/v630/pointer.go b/precompiles/pointer/legacy/v630/pointer.go index 3adf1b33fe..039e1f5288 100644 --- a/precompiles/pointer/legacy/v630/pointer.go +++ b/precompiles/pointer/legacy/v630/pointer.go @@ -8,13 +8,13 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v630" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/pointer/pointer.go b/precompiles/pointer/pointer.go index 84b653dc37..ee4d75ae88 100644 --- a/precompiles/pointer/pointer.go +++ b/precompiles/pointer/pointer.go @@ -8,13 +8,13 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/pointer/pointer_test.go b/precompiles/pointer/pointer_test.go index 4d71e261b6..b9c57b3261 100644 --- a/precompiles/pointer/pointer_test.go +++ b/precompiles/pointer/pointer_test.go @@ -4,12 +4,12 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/vm" "github.com/sei-protocol/sei-chain/precompiles/pointer" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/artifacts/native" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/precompiles/pointerview/legacy/v552/pointerview.go b/precompiles/pointerview/legacy/v552/pointerview.go index a063a0db0f..212a6e3757 100644 --- a/precompiles/pointerview/legacy/v552/pointerview.go +++ b/precompiles/pointerview/legacy/v552/pointerview.go @@ -6,13 +6,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v552" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/pointerview/legacy/v555/pointerview.go b/precompiles/pointerview/legacy/v555/pointerview.go index 3c89b68aa8..14c3ac8eca 100644 --- a/precompiles/pointerview/legacy/v555/pointerview.go +++ b/precompiles/pointerview/legacy/v555/pointerview.go @@ -6,13 +6,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v555" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/state" ) diff --git a/precompiles/pointerview/legacy/v562/pointerview.go b/precompiles/pointerview/legacy/v562/pointerview.go index c6419b101c..08e42cfad5 100644 --- a/precompiles/pointerview/legacy/v562/pointerview.go +++ b/precompiles/pointerview/legacy/v562/pointerview.go @@ -6,13 +6,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v562" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/pointerview/legacy/v605/pointerview.go b/precompiles/pointerview/legacy/v605/pointerview.go index b440ee71bf..48e1a4c557 100644 --- a/precompiles/pointerview/legacy/v605/pointerview.go +++ b/precompiles/pointerview/legacy/v605/pointerview.go @@ -5,13 +5,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v605" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/pointerview/legacy/v606/pointerview.go b/precompiles/pointerview/legacy/v606/pointerview.go index 47ad1a6738..9aaed69fbc 100644 --- a/precompiles/pointerview/legacy/v606/pointerview.go +++ b/precompiles/pointerview/legacy/v606/pointerview.go @@ -5,13 +5,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/pointerview/legacy/v610/pointerview.go b/precompiles/pointerview/legacy/v610/pointerview.go index e05bc7b41e..7b893ebe4f 100644 --- a/precompiles/pointerview/legacy/v610/pointerview.go +++ b/precompiles/pointerview/legacy/v610/pointerview.go @@ -5,13 +5,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/pointerview/legacy/v614/pointerview.go b/precompiles/pointerview/legacy/v614/pointerview.go index a2fee06ae0..a159a57094 100644 --- a/precompiles/pointerview/legacy/v614/pointerview.go +++ b/precompiles/pointerview/legacy/v614/pointerview.go @@ -5,13 +5,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v614" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/pointerview/legacy/v620/pointerview.go b/precompiles/pointerview/legacy/v620/pointerview.go index 906246e7a1..39b776f868 100644 --- a/precompiles/pointerview/legacy/v620/pointerview.go +++ b/precompiles/pointerview/legacy/v620/pointerview.go @@ -5,13 +5,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v620" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/pointerview/legacy/v630/pointerview.go b/precompiles/pointerview/legacy/v630/pointerview.go index f056e3b5df..0464fd6442 100644 --- a/precompiles/pointerview/legacy/v630/pointerview.go +++ b/precompiles/pointerview/legacy/v630/pointerview.go @@ -5,13 +5,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v630" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/pointerview/pointerview.go b/precompiles/pointerview/pointerview.go index 6043c376ca..454bafa551 100644 --- a/precompiles/pointerview/pointerview.go +++ b/precompiles/pointerview/pointerview.go @@ -5,13 +5,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/precompiles/solo/legacy/v614/solo.go b/precompiles/solo/legacy/v614/solo.go index db378dfda8..383bf0ea02 100644 --- a/precompiles/solo/legacy/v614/solo.go +++ b/precompiles/solo/legacy/v614/solo.go @@ -8,18 +8,18 @@ import ( "fmt" "math/big" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - authante "github.com/cosmos/cosmos-sdk/x/auth/ante" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v614" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + authante "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/solo/legacy/v620/solo.go b/precompiles/solo/legacy/v620/solo.go index eca1bc55eb..673efc5959 100644 --- a/precompiles/solo/legacy/v620/solo.go +++ b/precompiles/solo/legacy/v620/solo.go @@ -8,18 +8,18 @@ import ( "fmt" "math/big" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - authante "github.com/cosmos/cosmos-sdk/x/auth/ante" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v620" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + authante "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/solo/legacy/v630/solo.go b/precompiles/solo/legacy/v630/solo.go index ae4612bf57..0354f34007 100644 --- a/precompiles/solo/legacy/v630/solo.go +++ b/precompiles/solo/legacy/v630/solo.go @@ -8,18 +8,18 @@ import ( "fmt" "math/big" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - authante "github.com/cosmos/cosmos-sdk/x/auth/ante" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v630" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + authante "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/solo/solo.go b/precompiles/solo/solo.go index 2cf252dd09..3f83ce70c2 100644 --- a/precompiles/solo/solo.go +++ b/precompiles/solo/solo.go @@ -8,18 +8,18 @@ import ( "fmt" "math/big" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - authante "github.com/cosmos/cosmos-sdk/x/auth/ante" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + authante "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/precompiles/solo/solo_test.go b/precompiles/solo/solo_test.go index 9adfb34264..2165e0d995 100644 --- a/precompiles/solo/solo_test.go +++ b/precompiles/solo/solo_test.go @@ -7,17 +7,17 @@ import ( "testing" "time" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/params" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" "github.com/sei-protocol/sei-chain/precompiles/solo" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/precompiles/staking/legacy/v552/staking.go b/precompiles/staking/legacy/v552/staking.go index 9a702e9943..c185cc2264 100644 --- a/precompiles/staking/legacy/v552/staking.go +++ b/precompiles/staking/legacy/v552/staking.go @@ -7,14 +7,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v552" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) const ( diff --git a/precompiles/staking/legacy/v555/staking.go b/precompiles/staking/legacy/v555/staking.go index f1b01d1219..1c0953de70 100644 --- a/precompiles/staking/legacy/v555/staking.go +++ b/precompiles/staking/legacy/v555/staking.go @@ -7,14 +7,14 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v555" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/evm/state" ) diff --git a/precompiles/staking/legacy/v562/staking.go b/precompiles/staking/legacy/v562/staking.go index 0b3a8a6d5c..738eb66abd 100644 --- a/precompiles/staking/legacy/v562/staking.go +++ b/precompiles/staking/legacy/v562/staking.go @@ -6,14 +6,14 @@ import ( "errors" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v562" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/staking/legacy/v580/staking.go b/precompiles/staking/legacy/v580/staking.go index fcfdb47612..79b1c20e16 100644 --- a/precompiles/staking/legacy/v580/staking.go +++ b/precompiles/staking/legacy/v580/staking.go @@ -6,14 +6,14 @@ import ( "errors" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v580" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/staking/legacy/v605/staking.go b/precompiles/staking/legacy/v605/staking.go index 9fc8d5453c..ea5d726132 100644 --- a/precompiles/staking/legacy/v605/staking.go +++ b/precompiles/staking/legacy/v605/staking.go @@ -6,14 +6,14 @@ import ( "errors" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v605" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/staking/legacy/v606/staking.go b/precompiles/staking/legacy/v606/staking.go index 33f6c80d5e..ab27e95cc4 100644 --- a/precompiles/staking/legacy/v606/staking.go +++ b/precompiles/staking/legacy/v606/staking.go @@ -6,14 +6,14 @@ import ( "errors" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/staking/legacy/v610/staking.go b/precompiles/staking/legacy/v610/staking.go index bea41fb2b2..cc91139506 100644 --- a/precompiles/staking/legacy/v610/staking.go +++ b/precompiles/staking/legacy/v610/staking.go @@ -6,14 +6,14 @@ import ( "errors" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/staking/legacy/v614/staking.go b/precompiles/staking/legacy/v614/staking.go index ca94d8003b..6d2dd4d97a 100644 --- a/precompiles/staking/legacy/v614/staking.go +++ b/precompiles/staking/legacy/v614/staking.go @@ -7,15 +7,15 @@ import ( "errors" "math/big" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v614" "github.com/sei-protocol/sei-chain/precompiles/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/staking/legacy/v620/staking.go b/precompiles/staking/legacy/v620/staking.go index 09d752c931..8dc4f35349 100644 --- a/precompiles/staking/legacy/v620/staking.go +++ b/precompiles/staking/legacy/v620/staking.go @@ -7,15 +7,15 @@ import ( "errors" "math/big" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v620" "github.com/sei-protocol/sei-chain/precompiles/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/staking/legacy/v630/staking.go b/precompiles/staking/legacy/v630/staking.go index f9ba88ef8f..ecf844e16a 100644 --- a/precompiles/staking/legacy/v630/staking.go +++ b/precompiles/staking/legacy/v630/staking.go @@ -6,16 +6,16 @@ import ( "errors" "math/big" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v630" "github.com/sei-protocol/sei-chain/precompiles/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/staking/staking.go b/precompiles/staking/staking.go index c4bb185618..b92d5d9d96 100644 --- a/precompiles/staking/staking.go +++ b/precompiles/staking/staking.go @@ -7,16 +7,16 @@ import ( "fmt" "math/big" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" "github.com/sei-protocol/sei-chain/precompiles/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/precompiles/staking/staking_events_test.go b/precompiles/staking/staking_events_test.go index 52d953e9e9..ff2db12e53 100644 --- a/precompiles/staking/staking_events_test.go +++ b/precompiles/staking/staking_events_test.go @@ -5,16 +5,16 @@ import ( "math/big" "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/app" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" "github.com/sei-protocol/sei-chain/precompiles/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/ante" diff --git a/precompiles/staking/staking_test.go b/precompiles/staking/staking_test.go index 2ad7ec5ded..8badf29ffe 100644 --- a/precompiles/staking/staking_test.go +++ b/precompiles/staking/staking_test.go @@ -12,14 +12,6 @@ import ( "testing" "time" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - crptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" @@ -29,6 +21,14 @@ import ( pcommon "github.com/sei-protocol/sei-chain/precompiles/common" "github.com/sei-protocol/sei-chain/precompiles/staking" "github.com/sei-protocol/sei-chain/precompiles/utils" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + crptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/ante" diff --git a/precompiles/utils/expected_keepers.go b/precompiles/utils/expected_keepers.go index 28ba32b945..905f5ec053 100644 --- a/precompiles/utils/expected_keepers.go +++ b/precompiles/utils/expected_keepers.go @@ -8,15 +8,15 @@ import ( "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ibctypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/utils" diff --git a/precompiles/wasmd/legacy/v552/wasmd.go b/precompiles/wasmd/legacy/v552/wasmd.go index 5299756f6f..ba0e3216e5 100644 --- a/precompiles/wasmd/legacy/v552/wasmd.go +++ b/precompiles/wasmd/legacy/v552/wasmd.go @@ -8,13 +8,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v552" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/precompiles/wasmd/legacy/v555/wasmd.go b/precompiles/wasmd/legacy/v555/wasmd.go index b52b5ba10e..47e9e5c7a1 100644 --- a/precompiles/wasmd/legacy/v555/wasmd.go +++ b/precompiles/wasmd/legacy/v555/wasmd.go @@ -8,13 +8,13 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v555" putils "github.com/sei-protocol/sei-chain/precompiles/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/precompiles/wasmd/legacy/v562/wasmd.go b/precompiles/wasmd/legacy/v562/wasmd.go index 2c5e58fb64..7c849daf76 100644 --- a/precompiles/wasmd/legacy/v562/wasmd.go +++ b/precompiles/wasmd/legacy/v562/wasmd.go @@ -8,11 +8,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v562" diff --git a/precompiles/wasmd/legacy/v575/wasmd.go b/precompiles/wasmd/legacy/v575/wasmd.go index bed5b3bb7a..eb689a3fea 100644 --- a/precompiles/wasmd/legacy/v575/wasmd.go +++ b/precompiles/wasmd/legacy/v575/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v575" diff --git a/precompiles/wasmd/legacy/v580/wasmd.go b/precompiles/wasmd/legacy/v580/wasmd.go index 5ca59b7085..e4a6721ac4 100644 --- a/precompiles/wasmd/legacy/v580/wasmd.go +++ b/precompiles/wasmd/legacy/v580/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v580" diff --git a/precompiles/wasmd/legacy/v600/wasmd.go b/precompiles/wasmd/legacy/v600/wasmd.go index 53f3e30c57..6b70b3feb8 100644 --- a/precompiles/wasmd/legacy/v600/wasmd.go +++ b/precompiles/wasmd/legacy/v600/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v600" diff --git a/precompiles/wasmd/legacy/v601/wasmd.go b/precompiles/wasmd/legacy/v601/wasmd.go index c73903d241..7009f706d1 100644 --- a/precompiles/wasmd/legacy/v601/wasmd.go +++ b/precompiles/wasmd/legacy/v601/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" diff --git a/precompiles/wasmd/legacy/v603/wasmd.go b/precompiles/wasmd/legacy/v603/wasmd.go index 77d5d86b0a..ebca549de0 100644 --- a/precompiles/wasmd/legacy/v603/wasmd.go +++ b/precompiles/wasmd/legacy/v603/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" diff --git a/precompiles/wasmd/legacy/v605/wasmd.go b/precompiles/wasmd/legacy/v605/wasmd.go index 444def30c5..2737514d98 100644 --- a/precompiles/wasmd/legacy/v605/wasmd.go +++ b/precompiles/wasmd/legacy/v605/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v605" diff --git a/precompiles/wasmd/legacy/v606/wasmd.go b/precompiles/wasmd/legacy/v606/wasmd.go index 06e4b48e9a..ef1d5c1a5c 100644 --- a/precompiles/wasmd/legacy/v606/wasmd.go +++ b/precompiles/wasmd/legacy/v606/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" diff --git a/precompiles/wasmd/legacy/v610/wasmd.go b/precompiles/wasmd/legacy/v610/wasmd.go index 92c3eea676..9a3f198ffe 100644 --- a/precompiles/wasmd/legacy/v610/wasmd.go +++ b/precompiles/wasmd/legacy/v610/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v606" diff --git a/precompiles/wasmd/legacy/v614/wasmd.go b/precompiles/wasmd/legacy/v614/wasmd.go index e5a135e644..9ed2cd7a9a 100644 --- a/precompiles/wasmd/legacy/v614/wasmd.go +++ b/precompiles/wasmd/legacy/v614/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v614" diff --git a/precompiles/wasmd/legacy/v620/wasmd.go b/precompiles/wasmd/legacy/v620/wasmd.go index 7fde5c51ca..f751f22080 100644 --- a/precompiles/wasmd/legacy/v620/wasmd.go +++ b/precompiles/wasmd/legacy/v620/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v620" diff --git a/precompiles/wasmd/legacy/v630/wasmd.go b/precompiles/wasmd/legacy/v630/wasmd.go index 4f320a117f..fd51e17525 100644 --- a/precompiles/wasmd/legacy/v630/wasmd.go +++ b/precompiles/wasmd/legacy/v630/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common/legacy/v630" diff --git a/precompiles/wasmd/wasmd.go b/precompiles/wasmd/wasmd.go index a844b759a8..b4de8ad4b7 100644 --- a/precompiles/wasmd/wasmd.go +++ b/precompiles/wasmd/wasmd.go @@ -7,11 +7,11 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" diff --git a/precompiles/wasmd/wasmd_test.go b/precompiles/wasmd/wasmd_test.go index 70a74cf736..651fe79837 100644 --- a/precompiles/wasmd/wasmd_test.go +++ b/precompiles/wasmd/wasmd_test.go @@ -7,11 +7,11 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/precompiles/wasmd" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/proto/buf.gen.yaml b/proto/buf.gen.yaml index 4e8fb72d63..0f6a05714c 100644 --- a/proto/buf.gen.yaml +++ b/proto/buf.gen.yaml @@ -2,7 +2,7 @@ version: v1 plugins: - name: gocosmos out: .. - opt: plugins=grpc,Mgoogle/protobuf/duration.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/struct.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/wrappers.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types,Mcosmos/orm/v1alpha1/orm.proto=github.com/cosmos/cosmos-sdk/api/cosmos/orm/v1alpha1 + opt: plugins=grpc,Mgoogle/protobuf/duration.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/struct.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/wrappers.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/any.proto=github.com/sei-protocol/sei-chain/sei-cosmos/codec/types,Mcosmos/orm/v1alpha1/orm.proto=github.com/sei-protocol/sei-chain/sei-cosmos/api/cosmos/orm/v1alpha1 - name: grpc-gateway out: .. opt: logtostderr=true,allow_colon_final_segments=true diff --git a/proto/eth/tx.proto b/proto/eth/tx.proto index 9364a3d2d5..fc3a310c4d 100644 --- a/proto/eth/tx.proto +++ b/proto/eth/tx.proto @@ -26,7 +26,7 @@ message AssociateTx { message SetCodeAuthorization { option (gogoproto.goproto_getters) = false; string chain_id = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.customname) = "ChainID", (gogoproto.jsontag) = "chainID" ]; @@ -43,11 +43,11 @@ message LegacyTx { option (gogoproto.goproto_getters) = false; uint64 nonce = 1; - string gas_price = 2 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; + string gas_price = 2 [(gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int"]; uint64 gas_limit = 3; string to = 4; string value = 5 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.customname) = "Amount" ]; bytes data = 6; @@ -61,16 +61,16 @@ message AccessListTx { option (gogoproto.goproto_getters) = false; string chain_id = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.customname) = "ChainID", (gogoproto.jsontag) = "chainID" ]; uint64 nonce = 2; - string gas_price = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; + string gas_price = 3 [(gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int"]; uint64 gas_limit = 4; string to = 5; string value = 6 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.customname) = "Amount" ]; bytes data = 7; @@ -89,17 +89,17 @@ message SetCodeTx { option (gogoproto.goproto_getters) = false; string chain_id = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.customname) = "ChainID", (gogoproto.jsontag) = "chainID" ]; uint64 nonce = 2; - string gas_tip_cap = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; - string gas_fee_cap = 4 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; + string gas_tip_cap = 3 [(gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int"]; + string gas_fee_cap = 4 [(gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int"]; uint64 gas_limit = 5; string to = 6; string value = 7 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.customname) = "Amount" ]; bytes data = 8; @@ -123,17 +123,17 @@ message DynamicFeeTx { option (gogoproto.goproto_getters) = false; string chain_id = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.customname) = "ChainID", (gogoproto.jsontag) = "chainID" ]; uint64 nonce = 2; - string gas_tip_cap = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; - string gas_fee_cap = 4 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; + string gas_tip_cap = 3 [(gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int"]; + string gas_fee_cap = 4 [(gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int"]; uint64 gas_limit = 5; string to = 6; string value = 7 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.customname) = "Amount" ]; bytes data = 8; @@ -152,17 +152,17 @@ message BlobTx { option (gogoproto.goproto_getters) = false; string chain_id = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.customname) = "ChainID", (gogoproto.jsontag) = "chainID" ]; uint64 nonce = 2; - string gas_tip_cap = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; - string gas_fee_cap = 4 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; + string gas_tip_cap = 3 [(gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int"]; + string gas_fee_cap = 4 [(gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int"]; uint64 gas_limit = 5; string to = 6; string value = 7 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.customname) = "Amount" ]; bytes data = 8; @@ -171,7 +171,7 @@ message BlobTx { (gogoproto.jsontag) = "accessList", (gogoproto.nullable) = false ]; - string blob_fee_cap = 10 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; + string blob_fee_cap = 10 [(gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int"]; repeated bytes blob_hashes = 11; BlobTxSidecar sidecar = 12; // signature values diff --git a/proto/evm/params.proto b/proto/evm/params.proto index b437ea7845..94a897364f 100644 --- a/proto/evm/params.proto +++ b/proto/evm/params.proto @@ -15,26 +15,26 @@ message Params { // ]; string priority_normalizer = 2 [ (gogoproto.moretags) = "yaml:\"priority_normalizer\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "priority_normalizer" ]; string base_fee_per_gas = 3 [ (gogoproto.moretags) = "yaml:\"base_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "base_fee_per_gas" ]; string minimum_fee_per_gas = 4 [ (gogoproto.moretags) = "yaml:\"minimum_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "minimum_fee_per_gas" ]; // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // ]; @@ -51,20 +51,20 @@ message Params { string max_dynamic_base_fee_upward_adjustment = 10 [ (gogoproto.moretags) = "yaml:\"max_dynamic_base_fee_upward_adjustment\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "max_dynamic_base_fee_upward_adjustment" ]; string max_dynamic_base_fee_downward_adjustment = 11 [ (gogoproto.moretags) = "yaml:\"max_dynamic_base_fee_downward_adjustment\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "max_dynamic_base_fee_downward_adjustment" ]; uint64 target_gas_used_per_block = 12; string maximum_fee_per_gas = 13 [ (gogoproto.moretags) = "yaml:\"maximum_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "maximum_fee_per_gas" ]; @@ -84,26 +84,26 @@ message ParamsPreV580 { // ]; string priority_normalizer = 2 [ (gogoproto.moretags) = "yaml:\"priority_normalizer\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "priority_normalizer" ]; string base_fee_per_gas = 3 [ (gogoproto.moretags) = "yaml:\"base_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "base_fee_per_gas" ]; string minimum_fee_per_gas = 4 [ (gogoproto.moretags) = "yaml:\"minimum_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "minimum_fee_per_gas" ]; // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // ]; @@ -126,19 +126,19 @@ message ParamsPreV600 { // ]; string priority_normalizer = 2 [ (gogoproto.moretags) = "yaml:\"priority_normalizer\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "priority_normalizer" ]; string base_fee_per_gas = 3 [ (gogoproto.moretags) = "yaml:\"base_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "base_fee_per_gas" ]; string minimum_fee_per_gas = 4 [ (gogoproto.moretags) = "yaml:\"minimum_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "minimum_fee_per_gas" ]; @@ -146,7 +146,7 @@ message ParamsPreV600 { // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // ]; @@ -169,26 +169,26 @@ message ParamsPreV601 { // ]; string priority_normalizer = 2 [ (gogoproto.moretags) = "yaml:\"priority_normalizer\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "priority_normalizer" ]; string base_fee_per_gas = 3 [ (gogoproto.moretags) = "yaml:\"base_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "base_fee_per_gas" ]; string minimum_fee_per_gas = 4 [ (gogoproto.moretags) = "yaml:\"minimum_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "minimum_fee_per_gas" ]; // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // ]; @@ -205,13 +205,13 @@ message ParamsPreV601 { string max_dynamic_base_fee_upward_adjustment = 10 [ (gogoproto.moretags) = "yaml:\"max_dynamic_base_fee_upward_adjustment\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "max_dynamic_base_fee_upward_adjustment" ]; string max_dynamic_base_fee_downward_adjustment = 11 [ (gogoproto.moretags) = "yaml:\"max_dynamic_base_fee_downward_adjustment\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "max_dynamic_base_fee_downward_adjustment" ]; @@ -227,26 +227,26 @@ message ParamsPreV606 { // ]; string priority_normalizer = 2 [ (gogoproto.moretags) = "yaml:\"priority_normalizer\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "priority_normalizer" ]; string base_fee_per_gas = 3 [ (gogoproto.moretags) = "yaml:\"base_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "base_fee_per_gas" ]; string minimum_fee_per_gas = 4 [ (gogoproto.moretags) = "yaml:\"minimum_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "minimum_fee_per_gas" ]; // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // ]; @@ -263,20 +263,20 @@ message ParamsPreV606 { string max_dynamic_base_fee_upward_adjustment = 10 [ (gogoproto.moretags) = "yaml:\"max_dynamic_base_fee_upward_adjustment\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "max_dynamic_base_fee_upward_adjustment" ]; string max_dynamic_base_fee_downward_adjustment = 11 [ (gogoproto.moretags) = "yaml:\"max_dynamic_base_fee_downward_adjustment\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "max_dynamic_base_fee_downward_adjustment" ]; uint64 target_gas_used_per_block = 12; string maximum_fee_per_gas = 13 [ (gogoproto.moretags) = "yaml:\"maximum_fee_per_gas\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "maximum_fee_per_gas" ]; diff --git a/proto/evm/tx.proto b/proto/evm/tx.proto index ffe4362ca2..8924e14a82 100644 --- a/proto/evm/tx.proto +++ b/proto/evm/tx.proto @@ -32,7 +32,7 @@ message MsgEVMTransactionResponse { message MsgInternalEVMCall { string sender = 1; - string value = 2 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; + string value = 2 [(gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int"]; string to = 3; bytes data = 4; } @@ -56,7 +56,7 @@ message MsgSend { string to_address = 2; repeated cosmos.base.v1beta1.Coin amount = 3 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } diff --git a/proto/evm/types.proto b/proto/evm/types.proto index adbe4cab71..48d1714a4b 100644 --- a/proto/evm/types.proto +++ b/proto/evm/types.proto @@ -14,7 +14,7 @@ message DeferredInfo { bytes tx_hash = 2; bytes tx_bloom = 3; string surplus = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false ]; string error = 5; diff --git a/proto/mint/v1beta1/mint.proto b/proto/mint/v1beta1/mint.proto index d05f62c846..deb339a0b5 100644 --- a/proto/mint/v1beta1/mint.proto +++ b/proto/mint/v1beta1/mint.proto @@ -42,7 +42,7 @@ message Params { message Version2Minter { string last_mint_amount = 1 [ (gogoproto.moretags) = "yaml:\"last_mint_amount\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; string last_mint_date = 2 [(gogoproto.moretags) = "yaml:\"last_mint_date\""]; diff --git a/proto/oracle/oracle.proto b/proto/oracle/oracle.proto index 56fa92dbcb..beca5f51ed 100644 --- a/proto/oracle/oracle.proto +++ b/proto/oracle/oracle.proto @@ -13,12 +13,12 @@ message Params { uint64 vote_period = 1 [(gogoproto.moretags) = "yaml:\"vote_period\""]; string vote_threshold = 2 [ (gogoproto.moretags) = "yaml:\"vote_threshold\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; string reward_band = 3 [ (gogoproto.moretags) = "yaml:\"reward_band\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; repeated Denom whitelist = 4 [ @@ -28,7 +28,7 @@ message Params { ]; string slash_fraction = 5 [ (gogoproto.moretags) = "yaml:\"slash_fraction\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; // The interval in blocks at which the oracle module will assess validator penalty counters, and penalize validators with too poor performance. @@ -36,7 +36,7 @@ message Params { // The minimum percentage of voting windows for which a validator must have `success`es in order to not be penalized at the end of the slash window. string min_valid_per_window = 7 [ (gogoproto.moretags) = "yaml:\"min_valid_per_window\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; uint64 lookback_duration = 9 [(gogoproto.moretags) = "yaml:\"lookback_duration\""]; @@ -72,7 +72,7 @@ message ExchangeRateTuple { string denom = 1 [(gogoproto.moretags) = "yaml:\"denom\""]; string exchange_rate = 2 [ (gogoproto.moretags) = "yaml:\"exchange_rate\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; } @@ -84,12 +84,12 @@ message OracleExchangeRate { string exchange_rate = 1 [ (gogoproto.moretags) = "yaml:\"exchange_rate\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; string last_update = 2 [ (gogoproto.moretags) = "yaml:\"last_update\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false ]; int64 last_update_timestamp = 3 [(gogoproto.moretags) = "yaml:\"last_update_timestamp\""]; @@ -113,7 +113,7 @@ message OracleTwap { string denom = 1; string twap = 2 [ (gogoproto.moretags) = "yaml:\"twap\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; int64 lookback_seconds = 3; diff --git a/scripts/protoc.sh b/scripts/protoc.sh index 463ad2fb94..06b7af8da6 100755 --- a/scripts/protoc.sh +++ b/scripts/protoc.sh @@ -30,7 +30,7 @@ go run github.com/bufbuild/buf/cmd/buf@v1.58.0 generate --template sei-tendermin # So we just copy the files we want to the right places manually. # The repo restructure should help this in the future. cp -rf ./build/proto/gocosmos/github.com/sei-protocol/sei-chain/* ./ -cp -rf ./build/proto/gocosmos/github.com/cosmos/cosmos-sdk/* ./sei-cosmos +cp -rf ./build/proto/gocosmos/github.com/sei-protocol/sei-chain/sei-cosmos/* ./sei-cosmos cp -rf ./build/proto/gocosmos/github.com/sei-protocol/sei-chain/sei-wasmd/* ./sei-wasmd # Use gogofaster for tendermint and iavl because that's the generator they used originally. diff --git a/sei-cosmos/baseapp/abci.go b/sei-cosmos/baseapp/abci.go index 5705100cb6..4ca28a1510 100644 --- a/sei-cosmos/baseapp/abci.go +++ b/sei-cosmos/baseapp/abci.go @@ -6,6 +6,7 @@ import ( "encoding/json" "errors" "fmt" + "math" "os" "sort" "strings" @@ -13,16 +14,16 @@ import ( "time" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/codec" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/tasks" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/legacytm" - "github.com/cosmos/cosmos-sdk/utils" "github.com/gogo/protobuf/proto" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + snapshottypes "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/tasks" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/legacytm" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "google.golang.org/grpc/codes" @@ -207,7 +208,7 @@ func (app *BaseApp) DeliverTx(ctx sdk.Context, req abci.RequestDeliverTxV2, tx s telemetry.SetGauge(float32(gInfo.GasWanted), "tx", "gas", "wanted") }() - gInfo, result, anteEvents, _, _, _, _, resCtx, err := app.runTx(ctx.WithTxBytes(req.Tx).WithTxSum(checksum), runTxModeDeliver, tx, checksum) + gInfo, result, anteEvents, _, _, _, _, resCtx, err := app.runTx(ctx.WithTxBytes(req.Tx).WithTxSum(checksum), runTxModeDeliver, tx, checksum) //nolint:dogsled // Because life is worth living instead of fixing this, considering sei solo is around the corner. if err != nil { resultStr = "failed" // if we have a result, use those events instead of just the anteEvents @@ -218,8 +219,8 @@ func (app *BaseApp) DeliverTx(ctx sdk.Context, req abci.RequestDeliverTxV2, tx s } res = abci.ResponseDeliverTx{ - GasWanted: int64(gInfo.GasWanted), // TODO: Should type accept unsigned ints? - GasUsed: int64(gInfo.GasUsed), // TODO: Should type accept unsigned ints? + GasWanted: int64(gInfo.GasWanted), //nolint:gosec // gas values are practically bounded; TODO: Should type accept unsigned ints? + GasUsed: int64(gInfo.GasUsed), //nolint:gosec // gas values are practically bounded; TODO: Should type accept unsigned ints? Log: result.Log, Data: result.Data, Events: sdk.MarkEventsToIndex(result.Events, app.IndexEvents), @@ -280,7 +281,10 @@ func (app *BaseApp) Commit(ctx context.Context) (res *abci.ResponseCommit, err e panic("no state to commit") } header := app.stateToCommit.ctx.BlockHeader() - retainHeight := app.GetBlockRetentionHeight(header.Height) + retainHeight, err := app.GetBlockRetentionHeight(header.Height) + if err != nil { + return nil, fmt.Errorf("getting block retention height: %w", err) + } if app.preCommitHandler != nil { if err := app.preCommitHandler(app.stateToCommit.ctx); err != nil { @@ -304,10 +308,10 @@ func (app *BaseApp) Commit(ctx context.Context) (res *abci.ResponseCommit, err e var halt bool switch { - case app.haltHeight > 0 && uint64(header.Height) >= app.haltHeight: + case app.haltHeight > 0 && uint64(header.Height) >= app.haltHeight: //nolint:gosec // block heights are always non-negative halt = true - case app.haltTime > 0 && header.Time.Unix() >= int64(app.haltTime): + case app.haltTime > 0 && header.Time.Unix() >= int64(app.haltTime): //nolint:gosec // haltTime is a small config value, won't overflow int64 halt = true } @@ -319,7 +323,10 @@ func (app *BaseApp) Commit(ctx context.Context) (res *abci.ResponseCommit, err e app.halt() } - app.SnapshotIfApplicable(uint64(header.Height)) + if header.Height < 0 { + panic(fmt.Sprintf("negative block height: %d", header.Height)) + } + app.SnapshotIfApplicable(uint64(header.Height)) //nolint:gosec // bounds checked above return &abci.ResponseCommit{ RetainHeight: retainHeight, @@ -328,7 +335,11 @@ func (app *BaseApp) Commit(ctx context.Context) (res *abci.ResponseCommit, err e func (app *BaseApp) SnapshotIfApplicable(height uint64) { if app.snapshotInterval > 0 && height%app.snapshotInterval == 0 { - go app.Snapshot(int64(height)) + if height > uint64(math.MaxInt64) { + app.logger.Error("snapshot height exceeds max int64", "height", height) + return + } + go app.Snapshot(int64(height)) //nolint:gosec // bounds checked above } } @@ -361,9 +372,14 @@ func (app *BaseApp) Snapshot(height int64) { return } + if height < 0 { + app.logger.Error("cannot create snapshot for negative height", "height", height) + return + } + app.logger.Info("creating state snapshot", "height", height) - snapshot, err := app.snapshotManager.Create(uint64(height)) + snapshot, err := app.snapshotManager.Create(uint64(height)) //nolint:gosec // bounds checked above if err != nil { app.logger.Error("failed to create state snapshot", "height", height, "err", err) return @@ -688,10 +704,10 @@ func (app *BaseApp) CreateQueryContext(height int64, prove bool) (sdk.Context, e // all blocks, e.g. via a local config option min-retain-blocks. There may also // be a need to vary retention for other nodes, e.g. sentry nodes which do not // need historical blocks. -func (app *BaseApp) GetBlockRetentionHeight(commitHeight int64) int64 { +func (app *BaseApp) GetBlockRetentionHeight(commitHeight int64) (int64, error) { // pruning is disabled if minRetainBlocks is zero if app.minRetainBlocks == 0 { - return 0 + return 0, nil } minNonZero := func(x, y int64) int64 { @@ -724,7 +740,11 @@ func (app *BaseApp) GetBlockRetentionHeight(commitHeight int64) int64 { // Define the state pruning offset, i.e. the block offset at which the // underlying logical database is persisted to disk. - statePruningOffset := int64(app.cms.GetPruning().KeepEvery) + keepEvery := app.cms.GetPruning().KeepEvery + if keepEvery > uint64(math.MaxInt64) { + return 0, fmt.Errorf("KeepEvery %d exceeds max int64", keepEvery) + } + statePruningOffset := int64(keepEvery) //nolint:gosec // bounds checked above if statePruningOffset > 0 { if commitHeight > statePruningOffset { v := commitHeight - (commitHeight % statePruningOffset) @@ -734,24 +754,34 @@ func (app *BaseApp) GetBlockRetentionHeight(commitHeight int64) int64 { // a height in which we persist state, so we return zero regardless of other // conditions. Otherwise, we could end up pruning blocks without having // any state committed to disk. - return 0 + return 0, nil } } if app.snapshotInterval > 0 && app.snapshotKeepRecent > 0 { - v := commitHeight - int64((app.snapshotInterval * uint64(app.snapshotKeepRecent))) + snapshotRetain := app.snapshotInterval * uint64(app.snapshotKeepRecent) //nolint:gosec // snapshotKeepRecent is a small config value + if snapshotRetain/app.snapshotInterval != uint64(app.snapshotKeepRecent) { + return 0, fmt.Errorf("snapshot retention calculation overflowed") + } + if snapshotRetain > uint64(math.MaxInt64) { + return 0, fmt.Errorf("snapshot retention %d exceeds max int64", snapshotRetain) + } + v := commitHeight - int64(snapshotRetain) //nolint:gosec // bounds checked above retentionHeight = minNonZero(retentionHeight, v) } - v := commitHeight - int64(app.minRetainBlocks) + if app.minRetainBlocks > uint64(math.MaxInt64) { + return 0, fmt.Errorf("minRetainBlocks %d exceeds max int64", app.minRetainBlocks) + } + v := commitHeight - int64(app.minRetainBlocks) //nolint:gosec // bounds checked above retentionHeight = minNonZero(retentionHeight, v) if retentionHeight <= 0 { // prune nothing in the case of a non-positive height - return 0 + return 0, nil } - return retentionHeight + return retentionHeight, nil } func (app *BaseApp) Simulate(txBytes []byte) (sdk.GasInfo, *sdk.Result, error) { @@ -761,7 +791,7 @@ func (app *BaseApp) Simulate(txBytes []byte) (sdk.GasInfo, *sdk.Result, error) { if err != nil { return sdk.GasInfo{}, nil, err } - gasInfo, result, _, _, _, _, _, _, err := app.runTx(ctx, runTxModeSimulate, tx, sha256.Sum256(txBytes)) + gasInfo, result, _, _, _, _, _, _, err := app.runTx(ctx, runTxModeSimulate, tx, sha256.Sum256(txBytes)) //nolint:dogsled // Because life is worth living instead of fixing this, considering sei solo is around the corner. return gasInfo, result, err } @@ -920,6 +950,10 @@ func splitPath(requestPath string) (path []string) { func (app *BaseApp) PrepareProposal(ctx context.Context, req *abci.RequestPrepareProposal) (resp *abci.ResponsePrepareProposal, err error) { defer telemetry.MeasureSince(time.Now(), "abci", "prepare_proposal") + if req.LastBlockPartSetTotal < 0 || req.LastBlockPartSetTotal > math.MaxUint32 { + return nil, fmt.Errorf("LastBlockPartSetTotal %d out of uint32 range", req.LastBlockPartSetTotal) + } + header := tmproto.Header{ ChainID: app.ChainID, Height: req.Height, @@ -936,7 +970,7 @@ func (app *BaseApp) PrepareProposal(ctx context.Context, req *abci.RequestPrepar LastBlockId: tmproto.BlockID{ Hash: req.LastBlockHash, PartSetHeader: tmproto.PartSetHeader{ - Total: uint32(req.LastBlockPartSetTotal), + Total: uint32(req.LastBlockPartSetTotal), //nolint:gosec // bounds checked above Hash: req.LastBlockPartSetHash, }, }, @@ -987,6 +1021,10 @@ func (app *BaseApp) PrepareProposal(ctx context.Context, req *abci.RequestPrepar func (app *BaseApp) ProcessProposal(ctx context.Context, req *abci.RequestProcessProposal) (resp *abci.ResponseProcessProposal, err error) { defer telemetry.MeasureSince(time.Now(), "abci", "process_proposal") + if req.LastBlockPartSetTotal < 0 || req.LastBlockPartSetTotal > math.MaxUint32 { + return nil, fmt.Errorf("LastBlockPartSetTotal %d out of uint32 range", req.LastBlockPartSetTotal) + } + header := tmproto.Header{ ChainID: app.ChainID, Height: req.Height, @@ -1003,7 +1041,7 @@ func (app *BaseApp) ProcessProposal(ctx context.Context, req *abci.RequestProces LastBlockId: tmproto.BlockID{ Hash: req.LastBlockHash, PartSetHeader: tmproto.PartSetHeader{ - Total: uint32(req.LastBlockPartSetTotal), + Total: uint32(req.LastBlockPartSetTotal), //nolint:gosec // bounds checked above Hash: req.LastBlockPartSetHash, }, }, @@ -1059,6 +1097,10 @@ func (app *BaseApp) FinalizeBlock(ctx context.Context, req *abci.RequestFinalize )) } + if req.LastBlockPartSetTotal < 0 || req.LastBlockPartSetTotal > math.MaxUint32 { + return nil, fmt.Errorf("LastBlockPartSetTotal %d out of uint32 range", req.LastBlockPartSetTotal) + } + // Initialize the DeliverTx state. If this is the first block, it should // already be initialized in InitChain. Otherwise app.deliverState will be // nil, since it is reset on Commit. @@ -1078,7 +1120,7 @@ func (app *BaseApp) FinalizeBlock(ctx context.Context, req *abci.RequestFinalize LastBlockId: tmproto.BlockID{ Hash: req.LastBlockHash, PartSetHeader: tmproto.PartSetHeader{ - Total: uint32(req.LastBlockPartSetTotal), + Total: uint32(req.LastBlockPartSetTotal), //nolint:gosec // bounds checked above Hash: req.LastBlockPartSetHash, }, }, diff --git a/sei-cosmos/baseapp/abci_test.go b/sei-cosmos/baseapp/abci_test.go index e10ca2ed81..3f4357e8d2 100644 --- a/sei-cosmos/baseapp/abci_test.go +++ b/sei-cosmos/baseapp/abci_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestGetBlockRentionHeight(t *testing.T) { @@ -116,7 +116,9 @@ func TestGetBlockRentionHeight(t *testing.T) { }) t.Run(name, func(t *testing.T) { - require.Equal(t, tc.expected, tc.bapp.GetBlockRetentionHeight(tc.commitHeight)) + height, err := tc.bapp.GetBlockRetentionHeight(tc.commitHeight) + require.NoError(t, err) + require.Equal(t, tc.expected, height) }) } } diff --git a/sei-cosmos/baseapp/baseapp.go b/sei-cosmos/baseapp/baseapp.go index 22e01bf88d..ae6829d676 100644 --- a/sei-cosmos/baseapp/baseapp.go +++ b/sei-cosmos/baseapp/baseapp.go @@ -8,14 +8,18 @@ import ( "time" "github.com/armon/go-metrics" - "go.opentelemetry.io/otel" - "go.opentelemetry.io/otel/attribute" - "go.opentelemetry.io/otel/trace" - - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/server/config" - "github.com/cosmos/cosmos-sdk/utils/tracing" "github.com/gogo/protobuf/proto" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils/tracing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmcfg "github.com/sei-protocol/sei-chain/sei-tendermint/config" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" @@ -24,15 +28,10 @@ import ( "github.com/spf13/cast" leveldbutils "github.com/syndtr/goleveldb/leveldb/util" dbm "github.com/tendermint/tm-db" - - "github.com/cosmos/cosmos-sdk/codec/types" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/store" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "go.opentelemetry.io/otel" + "go.opentelemetry.io/otel/attribute" + "go.opentelemetry.io/otel/trace" + "go.opentelemetry.io/otel/trace/noop" ) const ( @@ -241,8 +240,8 @@ func NewBaseApp( } // Enable Tracing - tp := trace.NewNoopTracerProvider() - otel.SetTracerProvider(trace.NewNoopTracerProvider()) + tp := noop.NewTracerProvider() + otel.SetTracerProvider(noop.NewTracerProvider()) tr := tp.Tracer("component-main") tracingEnabled := cast.ToBool(appOpts.Get(tracing.FlagTracing)) if tracingEnabled { @@ -922,7 +921,7 @@ func (app *BaseApp) runTx(ctx sdk.Context, mode runTxMode, tx sdk.Tx, checksum [ // the instantiated gas meter in the AnteHandler, so we update the context // prior to returning. // - // This also replaces the GasMeter in the context where GasUsed was initalized 0 + // This also replaces the GasMeter in the context where GasUsed was initialized 0 // and updated with gas consumed in the ante handler runs // The GasMeter is a pointer and its passed to the RunMsg and tracks the consumed // gas there too. @@ -981,7 +980,7 @@ func (app *BaseApp) runTx(ctx sdk.Context, mode runTxMode, tx sdk.Tx, checksum [ VmError: result.EvmError, } } - var events []abci.Event = []abci.Event{} + var events = []abci.Event{} if result != nil { events = sdk.MarkEventsToIndex(result.Events, app.IndexEvents) } @@ -1085,7 +1084,7 @@ func (app *BaseApp) RunMsgs(ctx sdk.Context, msgs []sdk.Msg) (*sdk.Result, error events = events.AppendEvents(msgEvents) txMsgData.Data = append(txMsgData.Data, &sdk.MsgData{MsgType: sdk.MsgTypeURL(msg), Data: msgResult.Data}) - msgLogs = append(msgLogs, sdk.NewABCIMessageLog(uint32(i), msgResult.Log, msgEvents)) + msgLogs = append(msgLogs, sdk.NewABCIMessageLog(uint32(i), msgResult.Log, msgEvents)) //nolint:gosec // loop range index msgMsCache.Write() @@ -1114,7 +1113,7 @@ func (app *BaseApp) startCompactionRoutine(db dbm.DB) { go func() { if goleveldb, ok := db.(*dbm.GoLevelDB); ok { for { - time.Sleep(time.Duration(app.compactionInterval) * time.Second) + time.Sleep(time.Duration(app.compactionInterval) * time.Second) //nolint:gosec // compactionInterval is a small config value if err := goleveldb.DB().CompactRange(leveldbutils.Range{Start: nil, Limit: nil}); err != nil { app.Logger().Error(fmt.Sprintf("error compacting DB: %s", err)) } @@ -1130,7 +1129,7 @@ func (app *BaseApp) Close() error { // and metadata in a non-atomic way app.commitLock.Lock() defer app.commitLock.Unlock() - if err := app.appStore.db.Close(); err != nil { + if err := app.db.Close(); err != nil { return err } // close the underline database for storeV2 @@ -1176,5 +1175,5 @@ func (app *BaseApp) RegisterDeliverTxHook(hook DeliverTxHook) { } func (app *BaseApp) InplaceTestnetInitialize(pk cryptotypes.PubKey) { - app.inplaceTestnetInitializer(pk) + _ = app.inplaceTestnetInitializer(pk) } diff --git a/sei-cosmos/baseapp/baseapp_test.go b/sei-cosmos/baseapp/baseapp_test.go index 1c2cbc6b1c..be0f8bb7da 100644 --- a/sei-cosmos/baseapp/baseapp_test.go +++ b/sei-cosmos/baseapp/baseapp_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec" - store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + store "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" ) var ( diff --git a/sei-cosmos/baseapp/deliver_tx_batch_test.go b/sei-cosmos/baseapp/deliver_tx_batch_test.go index aa0b10769a..5da3e015e8 100644 --- a/sei-cosmos/baseapp/deliver_tx_batch_test.go +++ b/sei-cosmos/baseapp/deliver_tx_batch_test.go @@ -9,9 +9,9 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) func anteHandler(capKey sdk.StoreKey, storeKey []byte) sdk.AnteHandler { diff --git a/sei-cosmos/baseapp/deliver_tx_test.go b/sei-cosmos/baseapp/deliver_tx_test.go index 754d786878..55ce088227 100644 --- a/sei-cosmos/baseapp/deliver_tx_test.go +++ b/sei-cosmos/baseapp/deliver_tx_test.go @@ -21,15 +21,15 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/snapshots" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + snapshottypes "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + store "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) func TestLoadSnapshotChunk(t *testing.T) { diff --git a/sei-cosmos/baseapp/grpcrouter.go b/sei-cosmos/baseapp/grpcrouter.go index ed64d2b70c..8028274b4f 100644 --- a/sei-cosmos/baseapp/grpcrouter.go +++ b/sei-cosmos/baseapp/grpcrouter.go @@ -3,7 +3,7 @@ package baseapp import ( "fmt" - "github.com/cosmos/cosmos-sdk/client/grpc/reflection" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/reflection" gogogrpc "github.com/gogo/protobuf/grpc" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" @@ -11,8 +11,8 @@ import ( "google.golang.org/grpc/encoding" "google.golang.org/grpc/encoding/proto" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var protoCodec = encoding.GetCodec(proto.Name) diff --git a/sei-cosmos/baseapp/grpcrouter_helpers.go b/sei-cosmos/baseapp/grpcrouter_helpers.go index ea640c08fb..418d7cf845 100644 --- a/sei-cosmos/baseapp/grpcrouter_helpers.go +++ b/sei-cosmos/baseapp/grpcrouter_helpers.go @@ -8,8 +8,8 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "google.golang.org/grpc" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // QueryServiceTestHelper provides a helper for making grpc query service diff --git a/sei-cosmos/baseapp/grpcrouter_test.go b/sei-cosmos/baseapp/grpcrouter_test.go index 0f5881c75c..672dbd8f4b 100644 --- a/sei-cosmos/baseapp/grpcrouter_test.go +++ b/sei-cosmos/baseapp/grpcrouter_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestGRPCGatewayRouter(t *testing.T) { diff --git a/sei-cosmos/baseapp/grpcserver.go b/sei-cosmos/baseapp/grpcserver.go index 51d23e956c..f18eddba05 100644 --- a/sei-cosmos/baseapp/grpcserver.go +++ b/sei-cosmos/baseapp/grpcserver.go @@ -12,9 +12,9 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" ) // GRPCQueryRouter returns the GRPCQueryRouter of a BaseApp. @@ -61,7 +61,7 @@ func (app *BaseApp) RegisterGRPCServer(server gogogrpc.Server) { grpcCtx = context.WithValue(grpcCtx, sdk.SdkContextKey, sdkCtx) md = metadata.Pairs(grpctypes.GRPCBlockHeightHeader, strconv.FormatInt(height, 10)) - grpc.SetHeader(grpcCtx, md) + _ = grpc.SetHeader(grpcCtx, md) return handler(grpcCtx, req) } diff --git a/sei-cosmos/baseapp/msg_service_router.go b/sei-cosmos/baseapp/msg_service_router.go index 45220e1b5c..e94319fb32 100644 --- a/sei-cosmos/baseapp/msg_service_router.go +++ b/sei-cosmos/baseapp/msg_service_router.go @@ -8,9 +8,9 @@ import ( "github.com/gogo/protobuf/proto" "google.golang.org/grpc" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // MsgServiceRouter routes fully-qualified Msg service methods to their handler. diff --git a/sei-cosmos/baseapp/msg_service_router_test.go b/sei-cosmos/baseapp/msg_service_router_test.go index 5965bfb64e..a9c17c18b6 100644 --- a/sei-cosmos/baseapp/msg_service_router_test.go +++ b/sei-cosmos/baseapp/msg_service_router_test.go @@ -11,13 +11,13 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) func TestRegisterMsgService(t *testing.T) { diff --git a/sei-cosmos/baseapp/options.go b/sei-cosmos/baseapp/options.go index 6fe3ef8ef3..c936bd7475 100644 --- a/sei-cosmos/baseapp/options.go +++ b/sei-cosmos/baseapp/options.go @@ -6,10 +6,10 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // File for storing in-package BaseApp optional functions, diff --git a/sei-cosmos/baseapp/p2p.go b/sei-cosmos/baseapp/p2p.go index 7dd5d905b0..4f42b9889c 100644 --- a/sei-cosmos/baseapp/p2p.go +++ b/sei-cosmos/baseapp/p2p.go @@ -8,8 +8,8 @@ package baseapp // so this file mostly acts as confusing boilerplate. import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-cosmos/baseapp/params.go b/sei-cosmos/baseapp/params.go index 4ede613511..44bb387448 100644 --- a/sei-cosmos/baseapp/params.go +++ b/sei-cosmos/baseapp/params.go @@ -7,7 +7,7 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Paramspace defines the parameter subspace to be used for the paramstore. diff --git a/sei-cosmos/baseapp/params_test.go b/sei-cosmos/baseapp/params_test.go index 7b23ae25e3..c00acac4c3 100644 --- a/sei-cosmos/baseapp/params_test.go +++ b/sei-cosmos/baseapp/params_test.go @@ -6,7 +6,7 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" ) func TestValidateBlockParams(t *testing.T) { diff --git a/sei-cosmos/baseapp/queryrouter.go b/sei-cosmos/baseapp/queryrouter.go index 13bef6ad08..3f745bd0f3 100644 --- a/sei-cosmos/baseapp/queryrouter.go +++ b/sei-cosmos/baseapp/queryrouter.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type QueryRouter struct { diff --git a/sei-cosmos/baseapp/queryrouter_test.go b/sei-cosmos/baseapp/queryrouter_test.go index 60af8414cf..ca224f2bc8 100644 --- a/sei-cosmos/baseapp/queryrouter_test.go +++ b/sei-cosmos/baseapp/queryrouter_test.go @@ -7,7 +7,7 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var testQuerier = func(_ sdk.Context, _ []string, _ abci.RequestQuery) ([]byte, error) { diff --git a/sei-cosmos/baseapp/recovery.go b/sei-cosmos/baseapp/recovery.go index 8aeb402175..0c49a75b9e 100644 --- a/sei-cosmos/baseapp/recovery.go +++ b/sei-cosmos/baseapp/recovery.go @@ -4,9 +4,9 @@ import ( "fmt" "runtime/debug" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - scheduler "github.com/cosmos/cosmos-sdk/types/occ" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + scheduler "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" ) // RecoveryHandler handles recovery() object. diff --git a/sei-cosmos/baseapp/router.go b/sei-cosmos/baseapp/router.go index 7e2e70a0c6..b28ed06ff8 100644 --- a/sei-cosmos/baseapp/router.go +++ b/sei-cosmos/baseapp/router.go @@ -3,7 +3,7 @@ package baseapp import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type Router struct { diff --git a/sei-cosmos/baseapp/router_test.go b/sei-cosmos/baseapp/router_test.go index 1e11dc0ca0..ff10a0f728 100644 --- a/sei-cosmos/baseapp/router_test.go +++ b/sei-cosmos/baseapp/router_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var testHandler = func(_ sdk.Context, _ sdk.Msg) (*sdk.Result, error) { diff --git a/sei-cosmos/baseapp/state.go b/sei-cosmos/baseapp/state.go index 6a148fd419..34205a954f 100644 --- a/sei-cosmos/baseapp/state.go +++ b/sei-cosmos/baseapp/state.go @@ -3,7 +3,7 @@ package baseapp import ( "sync" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type state struct { diff --git a/sei-cosmos/baseapp/test_helpers.go b/sei-cosmos/baseapp/test_helpers.go index 5df960d384..ebaba6b78a 100644 --- a/sei-cosmos/baseapp/test_helpers.go +++ b/sei-cosmos/baseapp/test_helpers.go @@ -3,8 +3,8 @@ package baseapp import ( "crypto/sha256" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" ) @@ -17,7 +17,7 @@ func (app *BaseApp) Check(txEncoder sdk.TxEncoder, tx sdk.Tx) (sdk.GasInfo, *sdk return sdk.GasInfo{}, nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "%s", err) } ctx := app.checkState.ctx.WithTxBytes(bz).WithConsensusParams(app.GetConsensusParams(app.checkState.ctx)) - gasInfo, result, _, _, _, _, _, _, err := app.runTx(ctx, runTxModeCheck, tx, sha256.Sum256(bz)) + gasInfo, result, _, _, _, _, _, _, err := app.runTx(ctx, runTxModeCheck, tx, sha256.Sum256(bz)) //nolint:dogsled // Because life is worth living instead of fixing this, considering sei solo is around the corner. return gasInfo, result, err } @@ -32,7 +32,7 @@ func (app *BaseApp) Deliver(txEncoder sdk.TxEncoder, tx sdk.Tx) (sdk.GasInfo, *s if err != nil { return sdk.GasInfo{}, &sdk.Result{}, err } - gasInfo, result, _, _, _, _, _, _, err := app.runTx(ctx, runTxModeDeliver, decoded, sha256.Sum256(bz)) + gasInfo, result, _, _, _, _, _, _, err := app.runTx(ctx, runTxModeDeliver, decoded, sha256.Sum256(bz)) //nolint:dogsled // Because life is worth living instead of fixing this, considering sei solo is around the corner. return gasInfo, result, err } diff --git a/sei-cosmos/baseapp/testutil/buf.gen.yaml b/sei-cosmos/baseapp/testutil/buf.gen.yaml index d7d17bbb26..21f48cd509 100644 --- a/sei-cosmos/baseapp/testutil/buf.gen.yaml +++ b/sei-cosmos/baseapp/testutil/buf.gen.yaml @@ -2,4 +2,4 @@ version: v1 plugins: - name: gocosmos out: ../.. - opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/sei-protocol/sei-chain/sei-cosmos/codec/types diff --git a/sei-cosmos/baseapp/testutil/messages.go b/sei-cosmos/baseapp/testutil/messages.go index f0950eedc6..5d6c16a37d 100644 --- a/sei-cosmos/baseapp/testutil/messages.go +++ b/sei-cosmos/baseapp/testutil/messages.go @@ -1,10 +1,10 @@ package testutil import ( - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" ) func RegisterInterfaces(registry types.InterfaceRegistry) { diff --git a/sei-cosmos/baseapp/testutil/messages.pb.go b/sei-cosmos/baseapp/testutil/messages.pb.go index 9a19f22013..d21e78c3b7 100644 --- a/sei-cosmos/baseapp/testutil/messages.pb.go +++ b/sei-cosmos/baseapp/testutil/messages.pb.go @@ -6,10 +6,10 @@ package testutil import ( context "context" fmt "fmt" - _ "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + _ "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/sei-cosmos/baseapp/testutil/messages.proto b/sei-cosmos/baseapp/testutil/messages.proto index 866e336669..468887c69a 100644 --- a/sei-cosmos/baseapp/testutil/messages.proto +++ b/sei-cosmos/baseapp/testutil/messages.proto @@ -4,7 +4,7 @@ package testdata; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/baseapp/testutil"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp/testutil"; message MsgCounter { int64 counter = 1; diff --git a/sei-cosmos/client/account_retriever.go b/sei-cosmos/client/account_retriever.go index ff5be9bc85..154d970bce 100644 --- a/sei-cosmos/client/account_retriever.go +++ b/sei-cosmos/client/account_retriever.go @@ -1,8 +1,8 @@ package client import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Account defines a read-only version of the auth module's AccountI. diff --git a/sei-cosmos/client/broadcast.go b/sei-cosmos/client/broadcast.go index 5830efd637..4db88cf038 100644 --- a/sei-cosmos/client/broadcast.go +++ b/sei-cosmos/client/broadcast.go @@ -10,10 +10,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" ) var ErrTxInCache = errors.New("tx already exists in cache") diff --git a/sei-cosmos/client/broadcast_test.go b/sei-cosmos/client/broadcast_test.go index 4b7cbaa34e..ec04fcc0e1 100644 --- a/sei-cosmos/client/broadcast_test.go +++ b/sei-cosmos/client/broadcast_test.go @@ -11,8 +11,8 @@ import ( tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client/flags" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) type MockClient struct { diff --git a/sei-cosmos/client/cmd.go b/sei-cosmos/client/cmd.go index 7110bd0e2b..526cd26f2d 100644 --- a/sei-cosmos/client/cmd.go +++ b/sei-cosmos/client/cmd.go @@ -9,9 +9,9 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // ClientContextKey defines the context key used to retrieve a client.Context from diff --git a/sei-cosmos/client/cmd_test.go b/sei-cosmos/client/cmd_test.go index 65161fe475..107a08df49 100644 --- a/sei-cosmos/client/cmd_test.go +++ b/sei-cosmos/client/cmd_test.go @@ -8,9 +8,9 @@ import ( "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" ) func TestValidateCmd(t *testing.T) { diff --git a/sei-cosmos/client/config/cmd.go b/sei-cosmos/client/config/cmd.go index 8b01a3e198..8d807cb5e4 100644 --- a/sei-cosmos/client/config/cmd.go +++ b/sei-cosmos/client/config/cmd.go @@ -9,8 +9,8 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" ) // Cmd returns a CLI command to interactively create an application CLI @@ -66,7 +66,9 @@ func runConfigCmd(cmd *cobra.Command, args []string) error { case 2: // it's set key, value := args[0], args[1] - SetClientConfig(key, value, configPath, conf) + if err := SetClientConfig(key, value, configPath, conf); err != nil { + return err + } default: panic("cound not execute config command") } diff --git a/sei-cosmos/client/config/config.go b/sei-cosmos/client/config/config.go index 8509843daa..bae915baa7 100644 --- a/sei-cosmos/client/config/config.go +++ b/sei-cosmos/client/config/config.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" ) // Default constants diff --git a/sei-cosmos/client/config/config_test.go b/sei-cosmos/client/config/config_test.go index c058edf830..e64ca12aad 100644 --- a/sei-cosmos/client/config/config_test.go +++ b/sei-cosmos/client/config/config_test.go @@ -3,17 +3,17 @@ package config_test import ( "bytes" "fmt" - "io/ioutil" + "io" "os" "testing" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/config" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/x/staking/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/client/cli" ) const ( @@ -58,7 +58,7 @@ func TestConfigCmd(t *testing.T) { cmd.SetOut(b) cmd.SetArgs([]string{"node"}) cmd.Execute() - out, err := ioutil.ReadAll(b) + out, err := io.ReadAll(b) require.NoError(t, err) require.Equal(t, string(out), testNode1+"\n") } diff --git a/sei-cosmos/client/config/toml.go b/sei-cosmos/client/config/toml.go index 33f0545981..8531ee3038 100644 --- a/sei-cosmos/client/config/toml.go +++ b/sei-cosmos/client/config/toml.go @@ -3,12 +3,11 @@ package config import ( "bytes" "fmt" - "io/ioutil" "os" "path/filepath" "text/template" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/spf13/viper" ) @@ -70,12 +69,12 @@ func writeConfigToFile(configFilePath string, config *ClientConfig) error { return err } - return ioutil.WriteFile(configFilePath, buffer.Bytes(), 0600) + return os.WriteFile(configFilePath, buffer.Bytes(), 0600) } // ensureConfigPath creates a directory configPath if it does not exist func ensureConfigPath(configPath string) error { - return os.MkdirAll(configPath, os.ModePerm) + return os.MkdirAll(configPath, 0750) } // getClientConfig reads values from client.toml file and unmarshalls them into ClientConfig diff --git a/sei-cosmos/client/context.go b/sei-cosmos/client/context.go index 689bc2c9f6..b6a70f605e 100644 --- a/sei-cosmos/client/context.go +++ b/sei-cosmos/client/context.go @@ -14,10 +14,10 @@ import ( "github.com/gogo/protobuf/proto" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Context implements a typical context created in SDK modules for transaction @@ -276,7 +276,7 @@ func (ctx Context) PrintBytes(o []byte) error { // will be JSON encoded using ctx.Codec. An error is returned upon failure. func (ctx Context) PrintProto(toPrint proto.Message) error { // always serialize JSON initially because proto json can't be directly YAML encoded - out, err := ctx.Codec.MarshalJSON(toPrint) + out, err := ctx.Codec.MarshalAsJSON(toPrint) if err != nil { return err } @@ -287,7 +287,7 @@ func (ctx Context) PrintProto(toPrint proto.Message) error { // and uses amino JSON encoding. // Deprecated: It will be removed in the near future! func (ctx Context) PrintObjectLegacy(toPrint interface{}) error { - out, err := ctx.LegacyAmino.MarshalJSON(toPrint) + out, err := ctx.LegacyAmino.MarshalAsJSON(toPrint) if err != nil { return err } diff --git a/sei-cosmos/client/context_test.go b/sei-cosmos/client/context_test.go index b5bcb8bba8..b1eb5919af 100644 --- a/sei-cosmos/client/context_test.go +++ b/sei-cosmos/client/context_test.go @@ -8,13 +8,13 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" ) func TestMain(m *testing.M) { diff --git a/sei-cosmos/client/debug/main.go b/sei-cosmos/client/debug/main.go index 03358fd7c2..572e077eae 100644 --- a/sei-cosmos/client/debug/main.go +++ b/sei-cosmos/client/debug/main.go @@ -8,10 +8,10 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" ) // Cmd creates a main CLI command diff --git a/sei-cosmos/client/flags/flags.go b/sei-cosmos/client/flags/flags.go index c321020f5e..3a1e46147d 100644 --- a/sei-cosmos/client/flags/flags.go +++ b/sei-cosmos/client/flags/flags.go @@ -7,7 +7,7 @@ import ( tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" ) const ( @@ -91,7 +91,7 @@ func AddQueryFlagsToCmd(cmd *cobra.Command) { cmd.Flags().Int64(FlagHeight, 0, "Use a specific height to query state at (this can error if the node is pruning state)") cmd.Flags().StringP(tmcli.OutputFlag, "o", "text", "Output format (text|json)") - cmd.MarkFlagRequired(FlagChainID) + _ = cmd.MarkFlagRequired(FlagChainID) } // AddTxFlagsToCmd adds common flags to a module tx command. @@ -120,7 +120,7 @@ func AddTxFlagsToCmd(cmd *cobra.Command) { // --gas can accept integers and "auto" cmd.Flags().String(FlagGas, "", fmt.Sprintf("gas limit to set per-transaction; set to %q to calculate sufficient gas automatically (default %d)", GasFlagAuto, DefaultGasLimit)) - cmd.MarkFlagRequired(FlagChainID) + _ = cmd.MarkFlagRequired(FlagChainID) } // AddPaginationFlagsToCmd adds common pagination flags to cmd diff --git a/sei-cosmos/client/flags/flags_test.go b/sei-cosmos/client/flags/flags_test.go index 5cc591bebb..3349c1af4b 100644 --- a/sei-cosmos/client/flags/flags_test.go +++ b/sei-cosmos/client/flags/flags_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" ) func TestParseGasSetting(t *testing.T) { diff --git a/sei-cosmos/client/grpc/reflection/reflection.go b/sei-cosmos/client/grpc/reflection/reflection.go index eb07ea86bd..5d6bbf9c06 100644 --- a/sei-cosmos/client/grpc/reflection/reflection.go +++ b/sei-cosmos/client/grpc/reflection/reflection.go @@ -6,7 +6,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) type reflectionServiceServer struct { diff --git a/sei-cosmos/client/grpc/reflection/reflection.pb.go b/sei-cosmos/client/grpc/reflection/reflection.pb.go index 66dbef0c71..6030c4841c 100644 --- a/sei-cosmos/client/grpc/reflection/reflection.pb.go +++ b/sei-cosmos/client/grpc/reflection/reflection.pb.go @@ -216,32 +216,33 @@ func init() { } var fileDescriptor_d48c054165687f5c = []byte{ - // 395 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4f, 0xce, 0x2f, 0xce, - 0xcd, 0x2f, 0xd6, 0x4f, 0x4a, 0x2c, 0x4e, 0xd5, 0x2f, 0x4a, 0x4d, 0xcb, 0x49, 0x4d, 0x2e, 0xc9, - 0xcc, 0xcf, 0xd3, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0x44, 0x12, 0xd2, 0x2b, 0x28, 0xca, - 0x2f, 0xc9, 0x17, 0x92, 0x83, 0x68, 0xd0, 0x03, 0x69, 0xd0, 0x43, 0x92, 0x85, 0x6a, 0x90, 0x92, - 0x49, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xcc, 0xcb, 0xcb, 0x2f, - 0x49, 0x04, 0x49, 0x17, 0x43, 0x74, 0x2b, 0x49, 0x71, 0x49, 0xf8, 0x64, 0x16, 0x97, 0x38, 0xe6, - 0xe4, 0x78, 0xe6, 0x95, 0xa4, 0x16, 0xa5, 0x25, 0x26, 0xa7, 0x16, 0x07, 0xa5, 0x16, 0x96, 0xa6, - 0x16, 0x97, 0x28, 0xb9, 0x70, 0x49, 0x62, 0x91, 0x2b, 0x2e, 0xc8, 0xcf, 0x2b, 0x4e, 0x15, 0x52, - 0xe7, 0xe2, 0xcf, 0x84, 0x89, 0xc6, 0xe7, 0x25, 0xe6, 0xa6, 0x16, 0x4b, 0x30, 0x2a, 0x30, 0x6b, - 0x70, 0x06, 0xf1, 0xc1, 0x85, 0xfd, 0x40, 0xa2, 0x4a, 0xce, 0x5c, 0x52, 0x20, 0x53, 0x3c, 0x73, - 0x0b, 0x72, 0x52, 0x73, 0x53, 0xf3, 0xa0, 0xd6, 0x43, 0xed, 0x10, 0x52, 0xe5, 0xe2, 0x43, 0x35, - 0x46, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x88, 0x17, 0xc5, 0x14, 0xa5, 0x78, 0x2e, 0x69, 0xac, - 0x86, 0x40, 0x1d, 0xe3, 0xc0, 0x25, 0x93, 0x89, 0x22, 0x15, 0x9f, 0x9b, 0x5a, 0x5c, 0x9c, 0x98, - 0x8e, 0xea, 0x32, 0x29, 0x54, 0x35, 0xbe, 0x10, 0x25, 0x60, 0x57, 0x1a, 0xed, 0x60, 0xe6, 0x12, - 0x0c, 0x82, 0x07, 0x5e, 0x70, 0x6a, 0x51, 0x59, 0x66, 0x72, 0xaa, 0xd0, 0x1e, 0x46, 0x2e, 0x41, - 0x8c, 0x20, 0x10, 0xb2, 0xd0, 0xc3, 0x1f, 0xe4, 0x7a, 0xb8, 0x42, 0x54, 0xca, 0x92, 0x0c, 0x9d, - 0x10, 0x2f, 0x2a, 0x19, 0x35, 0x5d, 0x7e, 0x32, 0x99, 0x49, 0x47, 0x48, 0x8b, 0x50, 0x02, 0xc9, - 0x44, 0x38, 0xf4, 0x31, 0x23, 0x97, 0x30, 0x96, 0x60, 0x13, 0xb2, 0x22, 0xc6, 0x19, 0xd8, 0x23, - 0x4c, 0xca, 0x9a, 0x2c, 0xbd, 0x50, 0x4f, 0x04, 0x83, 0x3d, 0xe1, 0x2b, 0xe4, 0x4d, 0xbc, 0x27, - 0xf4, 0xab, 0x51, 0xd3, 0x47, 0xad, 0x3e, 0x6a, 0x2c, 0x16, 0x3b, 0xf9, 0x9e, 0x78, 0x24, 0xc7, - 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, - 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x71, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, - 0x7e, 0x2e, 0xcc, 0x42, 0x08, 0xa5, 0x5b, 0x9c, 0x92, 0xad, 0x9f, 0x9c, 0x93, 0x99, 0x9a, 0x57, - 0xa2, 0x9f, 0x5e, 0x54, 0x90, 0x8c, 0xe4, 0x84, 0x24, 0x36, 0x70, 0xc6, 0x30, 0x06, 0x04, 0x00, - 0x00, 0xff, 0xff, 0x32, 0x5b, 0x2b, 0x51, 0x89, 0x03, 0x00, 0x00, + // 404 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0x4f, 0x8b, 0xd3, 0x40, + 0x1c, 0xed, 0x58, 0x10, 0x3a, 0x60, 0xa5, 0xe3, 0xa5, 0xc6, 0x12, 0x4a, 0x40, 0x2c, 0xa2, 0x19, + 0x5a, 0x2f, 0xfe, 0xb9, 0xa8, 0xf5, 0x52, 0xb4, 0x1e, 0xd2, 0x9b, 0x20, 0x65, 0x32, 0xfc, 0x9a, + 0x0e, 0x24, 0x33, 0x31, 0x33, 0xed, 0x45, 0xbc, 0xf8, 0x09, 0x04, 0xbf, 0x8c, 0x07, 0x3f, 0x80, + 0xc7, 0x82, 0x97, 0x3d, 0x2e, 0xcd, 0x7e, 0x90, 0x25, 0x7f, 0xb6, 0xdb, 0xb0, 0xd9, 0xdd, 0xd2, + 0x5b, 0xf2, 0x7b, 0xf3, 0xde, 0xbc, 0xf7, 0xe6, 0x87, 0x29, 0x57, 0x3a, 0x52, 0x9a, 0xfa, 0x4c, + 0x03, 0x4d, 0x60, 0x11, 0x02, 0x37, 0x42, 0x49, 0xba, 0x1e, 0xfa, 0x60, 0xd8, 0x70, 0x6f, 0xe4, + 0xc6, 0x89, 0x32, 0x8a, 0xd8, 0x05, 0xc1, 0xcd, 0x08, 0xee, 0x1e, 0x5a, 0x12, 0xac, 0x5e, 0xa0, + 0x54, 0x10, 0x02, 0x65, 0xb1, 0xa0, 0x4c, 0x4a, 0x65, 0x58, 0x06, 0xeb, 0x82, 0xed, 0x58, 0xb8, + 0xfb, 0x49, 0x68, 0xf3, 0x2e, 0x0c, 0x27, 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 0xad, 0x8d, 0x36, 0x5b, + 0x1b, 0x9d, 0x6e, 0x6d, 0xf4, 0x2b, 0xb5, 0x1b, 0x9b, 0xd4, 0x6e, 0x9c, 0xa4, 0x76, 0xe3, 0xcb, + 0x38, 0x10, 0x66, 0xb9, 0xf2, 0x5d, 0xae, 0x22, 0xaa, 0x41, 0x3c, 0xcf, 0x57, 0x9e, 0xab, 0x30, + 0xff, 0xe1, 0x4b, 0x26, 0x64, 0xf1, 0x55, 0x78, 0xe1, 0xa1, 0x00, 0x69, 0x68, 0x90, 0xc4, 0x7c, + 0xcf, 0x92, 0x7f, 0x37, 0x67, 0xbd, 0x38, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xef, 0x1c, 0x55, 0xed, + 0x99, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/client/grpc/tmservice/block.go b/sei-cosmos/client/grpc/tmservice/block.go index df65c27584..e24b98f390 100644 --- a/sei-cosmos/client/grpc/tmservice/block.go +++ b/sei-cosmos/client/grpc/tmservice/block.go @@ -6,7 +6,7 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" ctypes "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" ) func getBlock(ctx context.Context, clientCtx client.Context, height *int64) (*ctypes.ResultBlock, error) { diff --git a/sei-cosmos/client/grpc/tmservice/query.pb.go b/sei-cosmos/client/grpc/tmservice/query.pb.go index 0b04c8a5d2..ea882eeeb7 100644 --- a/sei-cosmos/client/grpc/tmservice/query.pb.go +++ b/sei-cosmos/client/grpc/tmservice/query.pb.go @@ -6,10 +6,10 @@ package tmservice import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - query "github.com/cosmos/cosmos-sdk/types/query" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" p2p "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/p2p" types1 "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" _ "google.golang.org/genproto/googleapis/api/annotations" @@ -874,74 +874,75 @@ func init() { } var fileDescriptor_40c93fb3ef485c5d = []byte{ - // 1069 bytes of a gzipped FileDescriptorProto + // 1077 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0xda, 0x6d, 0x9c, 0x3c, 0x23, 0x48, 0x26, 0xa5, 0xd9, 0xac, 0x52, 0x13, 0x7c, 0x68, - 0x13, 0x42, 0x76, 0x65, 0xb7, 0x4d, 0x7b, 0x28, 0x45, 0x84, 0x40, 0x1a, 0x51, 0xaa, 0x68, 0x83, - 0x38, 0x20, 0xa4, 0xd5, 0xda, 0x3b, 0xde, 0x8c, 0x6c, 0xef, 0x4c, 0x77, 0x66, 0x8d, 0x2c, 0x54, + 0x14, 0xce, 0xda, 0x6d, 0x9c, 0x3c, 0x23, 0x48, 0x26, 0xa5, 0xd9, 0x58, 0xa9, 0x09, 0x3e, 0xb4, + 0x09, 0x21, 0xbb, 0xb2, 0xdb, 0xa6, 0x3d, 0x94, 0x22, 0x42, 0x20, 0x8d, 0x80, 0x2a, 0xda, 0x20, + 0x0e, 0xa8, 0xd2, 0x6a, 0xbc, 0x3b, 0xd9, 0x8c, 0x62, 0xef, 0x4c, 0x77, 0x66, 0x83, 0x2c, 0x54, 0x81, 0x38, 0x71, 0x44, 0xe2, 0x2f, 0xf4, 0x00, 0x7f, 0x00, 0x89, 0x0b, 0x67, 0x8e, 0x15, 0x48, - 0xa8, 0xe2, 0x84, 0x12, 0x7e, 0x08, 0xf2, 0xcc, 0xac, 0xbd, 0xdb, 0x24,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0x40, 0xdb, 0xab, 0x35, 0x58, 0xde, 0xc3, - 0x62, 0x67, 0x20, 0xe6, 0x84, 0xd3, 0x53, 0xfd, 0x06, 0xcc, 0xd3, 0x10, 0x7d, 0x58, 0xb7, 0x60, - 0x4e, 0x1d, 0x16, 0x09, 0x74, 0x53, 0xac, 0x64, 0xb5, 0x57, 0xf3, 0x2b, 0xa1, 0xfb, 0xbb, 0x6e, - 0x49, 0x86, 0xee, 0x07, 0x68, 0x0b, 0x2e, 0xcb, 0x4f, 0xad, 0xc0, 0xf2, 0x39, 0x10, 0x57, 0x45, - 0x55, 0x97, 0xe1, 0xcd, 0x61, 0xcb, 0x28, 0x87, 0x62, 0x5c, 0x7d, 0x02, 0x57, 0x5f, 0x74, 0xfc, - 0x9f, 0xbc, 0x96, 0x60, 0x71, 0x0f, 0x8b, 0xc3, 0x7e, 0xd4, 0x24, 0x51, 0x98, 0x72, 0xb2, 0x01, - 0x65, 0x8d, 0x9a, 0x8f, 0x09, 0x25, 0xae, 0x4c, 0x92, 0xce, 0x9c, 0x9b, 0x2e, 0xab, 0x57, 0x64, - 0xfc, 0x23, 0x1a, 0xe0, 0xfd, 0xa8, 0x45, 0xd3, 0x2c, 0xbf, 0x1a, 0xb0, 0x94, 0x33, 0xeb, 0x3c, - 0xbb, 0xb0, 0x18, 0xe0, 0x96, 0x9f, 0x74, 0x84, 0x17, 0xd1, 0x00, 0x7b, 0x24, 0x6a, 0x51, 0x5d, - 0xa0, 0x99, 0x65, 0xcb, 0xea, 0xcc, 0x1e, 0x82, 0xdf, 0xd0, 0x90, 0xd4, 0x80, 0xbe, 0x84, 0x25, - 0x9f, 0xb1, 0x0e, 0x69, 0xca, 0xd6, 0xf5, 0x7a, 0x38, 0xe6, 0xa3, 0x8b, 0x71, 0x73, 0xec, 0x20, - 0xa9, 0x70, 0x99, 0x1a, 0x65, 0xf2, 0x68, 0x7b, 0xf5, 0xa7, 0x02, 0x94, 0x33, 0x31, 0x08, 0xc1, - 0xa5, 0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0xb7, 0x7f, 0xfe, 0xc1, 0x80, 0xee, 0x8d, 0xac, 0xe4, 0x19, 0x0f, 0x9a, 0xda, 0x7b, 0x17, 0x44, + 0x9b, 0x7a, 0xee, 0xa9, 0x7a, 0xd6, 0xd1, 0xad, 0x61, 0xf5, 0x9c, 0xbc, 0x35, 0x88, 0x1c, 0x9c, + 0xca, 0xdf, 0x96, 0xfa, 0x0d, 0x9f, 0xf5, 0x90, 0x44, 0xf7, 0x47, 0x20, 0xf6, 0x92, 0x47, 0x70, + 0xed, 0xfd, 0x0b, 0xe3, 0x4d, 0x69, 0xf7, 0x55, 0x69, 0x77, 0xd1, 0xfa, 0x78, 0xa5, 0x65, 0x27, + 0xb6, 0xf1, 0xe8, 0xf7, 0xa3, 0xba, 0xf5, 0xec, 0xa8, 0x6e, 0xfd, 0x73, 0x54, 0xb7, 0x7e, 0x38, + 0xae, 0x4f, 0x3c, 0x3b, 0xae, 0x4f, 0x3c, 0x3f, 0xae, 0x4f, 0x7c, 0xb9, 0x11, 0x51, 0xb9, 0x9f, + 0xb6, 0x9d, 0x80, 0x75, 0x5d, 0x41, 0xe8, 0x9a, 0x7a, 0xf1, 0x04, 0xac, 0xa3, 0x16, 0xc1, 0x3e, + 0xa6, 0xb1, 0xfe, 0xd2, 0xdb, 0x06, 0x1d, 0x4a, 0x62, 0xe9, 0x46, 0x09, 0x0f, 0x5c, 0xd9, 0x15, + 0xfa, 0x72, 0x6b, 0x4f, 0x2a, 0xd0, 0xcd, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x48, 0x5d, 0xc3, + 0xbe, 0x18, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/client/grpc/tmservice/service.go b/sei-cosmos/client/grpc/tmservice/service.go index 4d82d48a52..a1d9007a64 100644 --- a/sei-cosmos/client/grpc/tmservice/service.go +++ b/sei-cosmos/client/grpc/tmservice/service.go @@ -8,12 +8,12 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/rpc" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - qtypes "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rpc" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + qtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" ) // This is the struct that we will implement all the handlers on. @@ -208,5 +208,5 @@ func RegisterTendermintService( // RegisterGRPCGatewayRoutes mounts the tendermint service's GRPC-gateway routes on the // given Mux. func RegisterGRPCGatewayRoutes(clientConn gogogrpc.ClientConn, mux *runtime.ServeMux) { - RegisterServiceHandlerClient(context.Background(), mux, NewServiceClient(clientConn)) + _ = RegisterServiceHandlerClient(context.Background(), mux, NewServiceClient(clientConn)) } diff --git a/sei-cosmos/client/grpc/tmservice/service_test.go b/sei-cosmos/client/grpc/tmservice/service_test.go index b96642c5d3..c5a4332b89 100644 --- a/sei-cosmos/client/grpc/tmservice/service_test.go +++ b/sei-cosmos/client/grpc/tmservice/service_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/network" - qtypes "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/tmservice" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + qtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" ) type IntegrationTestSuite struct { @@ -47,7 +47,7 @@ func (s *IntegrationTestSuite) TearDownSuite() { s.network.Cleanup() } -func (s IntegrationTestSuite) TestQueryNodeInfo() { +func (s *IntegrationTestSuite) TestQueryNodeInfo() { val := s.network.Validators[0] res, err := s.queryClient.GetNodeInfo(context.Background(), &tmservice.GetNodeInfoRequest{}) @@ -58,11 +58,11 @@ func (s IntegrationTestSuite) TestQueryNodeInfo() { s.Require().NoError(err) var getInfoRes tmservice.GetNodeInfoResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(restRes, &getInfoRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(restRes, &getInfoRes)) s.Require().Equal(getInfoRes.ApplicationVersion.AppName, version.NewInfo().AppName) } -func (s IntegrationTestSuite) TestQuerySyncing() { +func (s *IntegrationTestSuite) TestQuerySyncing() { val := s.network.Validators[0] _, err := s.queryClient.GetSyncing(context.Background(), &tmservice.GetSyncingRequest{}) @@ -71,10 +71,10 @@ func (s IntegrationTestSuite) TestQuerySyncing() { restRes, err := rest.GetRequest(fmt.Sprintf("%s/cosmos/base/tendermint/v1beta1/syncing", val.APIAddress)) s.Require().NoError(err) var syncingRes tmservice.GetSyncingResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(restRes, &syncingRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(restRes, &syncingRes)) } -func (s IntegrationTestSuite) TestQueryLatestBlock() { +func (s *IntegrationTestSuite) TestQueryLatestBlock() { val := s.network.Validators[0] _, err := s.queryClient.GetLatestBlock(context.Background(), &tmservice.GetLatestBlockRequest{}) @@ -83,10 +83,10 @@ func (s IntegrationTestSuite) TestQueryLatestBlock() { restRes, err := rest.GetRequest(fmt.Sprintf("%s/cosmos/base/tendermint/v1beta1/blocks/latest", val.APIAddress)) s.Require().NoError(err) var blockInfoRes tmservice.GetLatestBlockResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(restRes, &blockInfoRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(restRes, &blockInfoRes)) } -func (s IntegrationTestSuite) TestQueryBlockByHeight() { +func (s *IntegrationTestSuite) TestQueryBlockByHeight() { val := s.network.Validators[0] _, err := s.queryClient.GetBlockByHeight(context.Background(), &tmservice.GetBlockByHeightRequest{Height: 1}) s.Require().NoError(err) @@ -94,10 +94,10 @@ func (s IntegrationTestSuite) TestQueryBlockByHeight() { restRes, err := rest.GetRequest(fmt.Sprintf("%s/cosmos/base/tendermint/v1beta1/blocks/%d", val.APIAddress, 1)) s.Require().NoError(err) var blockInfoRes tmservice.GetBlockByHeightResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(restRes, &blockInfoRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(restRes, &blockInfoRes)) } -func (s IntegrationTestSuite) TestQueryLatestValidatorSet() { +func (s *IntegrationTestSuite) TestQueryLatestValidatorSet() { val := s.network.Validators[0] // nil pagination @@ -125,14 +125,14 @@ func (s IntegrationTestSuite) TestQueryLatestValidatorSet() { restRes, err := rest.GetRequest(fmt.Sprintf("%s/cosmos/base/tendermint/v1beta1/validatorsets/latest?pagination.offset=%d&pagination.limit=%d", val.APIAddress, 0, 1)) s.Require().NoError(err) var validatorSetRes tmservice.GetLatestValidatorSetResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(restRes, &validatorSetRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(restRes, &validatorSetRes)) s.Require().Equal(1, len(validatorSetRes.Validators)) anyPub, err := codectypes.NewAnyWithValue(val.PubKey) s.Require().NoError(err) s.Require().Equal(validatorSetRes.Validators[0].PubKey, anyPub) } -func (s IntegrationTestSuite) TestLatestValidatorSet_GRPC() { +func (s *IntegrationTestSuite) TestLatestValidatorSet_GRPC() { vals := s.network.Validators testCases := []struct { name string @@ -163,7 +163,7 @@ func (s IntegrationTestSuite) TestLatestValidatorSet_GRPC() { } } -func (s IntegrationTestSuite) TestLatestValidatorSet_GRPCGateway() { +func (s *IntegrationTestSuite) TestLatestValidatorSet_GRPCGateway() { vals := s.network.Validators testCases := []struct { name string @@ -184,7 +184,7 @@ func (s IntegrationTestSuite) TestLatestValidatorSet_GRPCGateway() { s.Require().Contains(string(res), tc.expErrMsg) } else { var result tmservice.GetLatestValidatorSetResponse - err = vals[0].ClientCtx.Codec.UnmarshalJSON(res, &result) + err = vals[0].ClientCtx.Codec.UnmarshalAsJSON(res, &result) s.Require().NoError(err) s.Require().Equal(uint64(len(vals)), result.Pagination.Total) anyPub, err := codectypes.NewAnyWithValue(vals[0].PubKey) @@ -195,7 +195,7 @@ func (s IntegrationTestSuite) TestLatestValidatorSet_GRPCGateway() { } } -func (s IntegrationTestSuite) TestValidatorSetByHeight_GRPC() { +func (s *IntegrationTestSuite) TestValidatorSetByHeight_GRPC() { vals := s.network.Validators testCases := []struct { name string @@ -224,7 +224,7 @@ func (s IntegrationTestSuite) TestValidatorSetByHeight_GRPC() { } } -func (s IntegrationTestSuite) TestValidatorSetByHeight_GRPCGateway() { +func (s *IntegrationTestSuite) TestValidatorSetByHeight_GRPCGateway() { vals := s.network.Validators testCases := []struct { name string @@ -246,7 +246,7 @@ func (s IntegrationTestSuite) TestValidatorSetByHeight_GRPCGateway() { s.Require().Contains(string(res), tc.expErrMsg) } else { var result tmservice.GetValidatorSetByHeightResponse - err = vals[0].ClientCtx.Codec.UnmarshalJSON(res, &result) + err = vals[0].ClientCtx.Codec.UnmarshalAsJSON(res, &result) s.Require().NoError(err) s.Require().Equal(uint64(len(vals)), result.Pagination.Total) } diff --git a/sei-cosmos/client/grpc/tmservice/status.go b/sei-cosmos/client/grpc/tmservice/status.go index 95528d3b43..dd4fb0172e 100644 --- a/sei-cosmos/client/grpc/tmservice/status.go +++ b/sei-cosmos/client/grpc/tmservice/status.go @@ -5,7 +5,7 @@ import ( ctypes "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" ) func getNodeStatus(ctx context.Context, clientCtx client.Context) (*ctypes.ResultStatus, error) { diff --git a/sei-cosmos/client/grpc_query.go b/sei-cosmos/client/grpc_query.go index f2751dade7..a44da6e197 100644 --- a/sei-cosmos/client/grpc_query.go +++ b/sei-cosmos/client/grpc_query.go @@ -13,10 +13,10 @@ import ( "google.golang.org/grpc/encoding/proto" "google.golang.org/grpc/metadata" - "github.com/cosmos/cosmos-sdk/codec/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" ) var _ gogogrpc.ClientConn = Context{} diff --git a/sei-cosmos/client/grpc_query_test.go b/sei-cosmos/client/grpc_query_test.go index db7c487276..8ceae49011 100644 --- a/sei-cosmos/client/grpc_query_test.go +++ b/sei-cosmos/client/grpc_query_test.go @@ -12,11 +12,11 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) type IntegrationTestSuite struct { diff --git a/sei-cosmos/client/input/input.go b/sei-cosmos/client/input/input.go index 5afaabf30f..ab28679107 100644 --- a/sei-cosmos/client/input/input.go +++ b/sei-cosmos/client/input/input.go @@ -42,7 +42,7 @@ func GetPassword(prompt string, buf *bufio.Reader) (pass string, err error) { // If the input is not recognized, it returns false and a nil error. func GetConfirmation(prompt string, r *bufio.Reader, w io.Writer) (bool, error) { if inputIsTty() { - fmt.Fprintf(w, "%s [y/N]: ", prompt) + _, _ = fmt.Fprintf(w, "%s [y/N]: ", prompt) } response, err := readLineFromBuf(r) @@ -66,7 +66,7 @@ func GetConfirmation(prompt string, r *bufio.Reader, w io.Writer) (bool, error) // GetString simply returns the trimmed string output of a given reader. func GetString(prompt string, buf *bufio.Reader) (string, error) { if inputIsTty() && prompt != "" { - fmt.Fprintf(os.Stderr, "> %s\n", prompt) + _, _ = fmt.Fprintf(os.Stderr, "> %s\n", prompt) } out, err := readLineFromBuf(buf) diff --git a/sei-cosmos/client/keys/add.go b/sei-cosmos/client/keys/add.go index 11a6326ab7..0ed2d6651f 100644 --- a/sei-cosmos/client/keys/add.go +++ b/sei-cosmos/client/keys/add.go @@ -10,14 +10,14 @@ import ( bip39 "github.com/cosmos/go-bip39" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/input" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( @@ -295,10 +295,10 @@ func printCreate(cmd *cobra.Command, info keyring.Info, showMnemonic bool, mnemo // print mnemonic unless requested not to. if showMnemonic { - fmt.Fprintln(cmd.ErrOrStderr(), "\n**Important** write this mnemonic phrase in a safe place.") - fmt.Fprintln(cmd.ErrOrStderr(), "It is the only way to recover your account if you ever forget your password.") - fmt.Fprintln(cmd.ErrOrStderr(), "") - fmt.Fprintln(cmd.ErrOrStderr(), mnemonic) + _, _ = fmt.Fprintln(cmd.ErrOrStderr(), "\n**Important** write this mnemonic phrase in a safe place.") + _, _ = fmt.Fprintln(cmd.ErrOrStderr(), "It is the only way to recover your account if you ever forget your password.") + _, _ = fmt.Fprintln(cmd.ErrOrStderr(), "") + _, _ = fmt.Fprintln(cmd.ErrOrStderr(), mnemonic) } case OutputFormatJSON: out, err := keyring.MkAccKeyOutput(info) @@ -310,7 +310,7 @@ func printCreate(cmd *cobra.Command, info keyring.Info, showMnemonic bool, mnemo out.Mnemonic = mnemonic } - jsonString, err := KeysCdc.MarshalJSON(out) + jsonString, err := KeysCdc.MarshalAsJSON(out) if err != nil { return err } diff --git a/sei-cosmos/client/keys/add_ledger_test.go b/sei-cosmos/client/keys/add_ledger_test.go index 500c3e2cb3..9cfc34ec00 100644 --- a/sei-cosmos/client/keys/add_ledger_test.go +++ b/sei-cosmos/client/keys/add_ledger_test.go @@ -7,18 +7,17 @@ import ( "bytes" "context" "fmt" - "io/ioutil" + "io" "testing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/stretchr/testify/require" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" ) func Test_runAddCmdLedgerWithCustomCoinType(t *testing.T) { @@ -179,7 +178,7 @@ func Test_runAddCmdLedgerDryRun(t *testing.T) { _, err = kb.Key("testkey") require.NoError(t, err) - out, err := ioutil.ReadAll(b) + out, err := io.ReadAll(b) require.NoError(t, err) require.Contains(t, string(out), "name: testkey") } else { diff --git a/sei-cosmos/client/keys/add_test.go b/sei-cosmos/client/keys/add_test.go index 077ac686e2..9dd1177ab2 100644 --- a/sei-cosmos/client/keys/add_test.go +++ b/sei-cosmos/client/keys/add_test.go @@ -4,7 +4,7 @@ import ( "bytes" "context" "fmt" - "io/ioutil" + "io" "testing" "github.com/sei-protocol/sei-chain/app" @@ -12,14 +12,14 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" bip39 "github.com/cosmos/go-bip39" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func Test_runAddCmdBasic(t *testing.T) { @@ -218,7 +218,7 @@ func Test_runAddCmdDryRun(t *testing.T) { _, err = kb.Key("testkey") require.NoError(t, err) - out, err := ioutil.ReadAll(b) + out, err := io.ReadAll(b) require.NoError(t, err) require.Contains(t, string(out), "name: testkey") } else { diff --git a/sei-cosmos/client/keys/codec.go b/sei-cosmos/client/keys/codec.go index 3b1f6fc38b..c80007a6b2 100644 --- a/sei-cosmos/client/keys/codec.go +++ b/sei-cosmos/client/keys/codec.go @@ -1,8 +1,8 @@ package keys import ( - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" ) // TODO: remove this file https://github.com/cosmos/cosmos-sdk/issues/8047 @@ -18,10 +18,10 @@ func init() { // marshal keys func MarshalJSON(o interface{}) ([]byte, error) { - return KeysCdc.MarshalJSON(o) + return KeysCdc.MarshalAsJSON(o) } // unmarshal json func UnmarshalJSON(bz []byte, ptr interface{}) error { - return KeysCdc.UnmarshalJSON(bz, ptr) + return KeysCdc.UnmarshalAsJSON(bz, ptr) } diff --git a/sei-cosmos/client/keys/codec_test.go b/sei-cosmos/client/keys/codec_test.go index 9b78eebad7..f39494ff35 100644 --- a/sei-cosmos/client/keys/codec_test.go +++ b/sei-cosmos/client/keys/codec_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client/keys" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/keys" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" ) type testCases struct { @@ -19,14 +19,14 @@ type testCases struct { func getTestCases() testCases { return testCases{ // nolint:govet - []keyring.KeyOutput{ - {"A", "B", "C", "", "D", "E"}, - {"A", "B", "C", "", "D", ""}, - {"", "B", "C", "", "D", ""}, - {"", "", "", "", "", ""}, + Keys: []keyring.KeyOutput{ + {Name: "A", Type: "B", Address: "C", PubKey: "D", Mnemonic: "E"}, + {Name: "A", Type: "B", Address: "C", PubKey: "D"}, + {Type: "B", Address: "C", PubKey: "D"}, + {}, }, - make([]keyring.KeyOutput, 4), - [][]byte{ + Answers: make([]keyring.KeyOutput, 4), + JSON: [][]byte{ []byte(`{"name":"A","type":"B","address":"C","evm_address":"","pubkey":"D","mnemonic":"E"}`), []byte(`{"name":"A","type":"B","address":"C","evm_address":"","pubkey":"D"}`), []byte(`{"name":"","type":"B","address":"C","evm_address":"","pubkey":"D"}`), diff --git a/sei-cosmos/client/keys/delete.go b/sei-cosmos/client/keys/delete.go index e092171014..2d4afc9b09 100644 --- a/sei-cosmos/client/keys/delete.go +++ b/sei-cosmos/client/keys/delete.go @@ -3,9 +3,9 @@ package keys import ( "bufio" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/input" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" "github.com/spf13/cobra" ) diff --git a/sei-cosmos/client/keys/delete_test.go b/sei-cosmos/client/keys/delete_test.go index 77686b910b..892f69ad0a 100644 --- a/sei-cosmos/client/keys/delete_test.go +++ b/sei-cosmos/client/keys/delete_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func Test_runDeleteCmd(t *testing.T) { diff --git a/sei-cosmos/client/keys/export.go b/sei-cosmos/client/keys/export.go index 13491b5e83..84f3266d64 100644 --- a/sei-cosmos/client/keys/export.go +++ b/sei-cosmos/client/keys/export.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/input" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" ) const ( diff --git a/sei-cosmos/client/keys/export_test.go b/sei-cosmos/client/keys/export_test.go index 85a0fcaf5b..8fcd21ef34 100644 --- a/sei-cosmos/client/keys/export_test.go +++ b/sei-cosmos/client/keys/export_test.go @@ -8,14 +8,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func Test_runExportCmd(t *testing.T) { diff --git a/sei-cosmos/client/keys/import.go b/sei-cosmos/client/keys/import.go index 36662a8dd2..95c1f18304 100644 --- a/sei-cosmos/client/keys/import.go +++ b/sei-cosmos/client/keys/import.go @@ -2,12 +2,12 @@ package keys import ( "bufio" - "io/ioutil" + "os" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/input" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/input" ) // ImportKeyCommand imports private keys from a keyfile. @@ -24,7 +24,7 @@ func ImportKeyCommand() *cobra.Command { } buf := bufio.NewReader(clientCtx.Input) - bz, err := ioutil.ReadFile(args[1]) + bz, err := os.ReadFile(args[1]) if err != nil { return err } diff --git a/sei-cosmos/client/keys/import_test.go b/sei-cosmos/client/keys/import_test.go index 2df2b19b29..4be4e521c4 100644 --- a/sei-cosmos/client/keys/import_test.go +++ b/sei-cosmos/client/keys/import_test.go @@ -3,18 +3,17 @@ package keys import ( "context" "fmt" - "io/ioutil" "os" "path/filepath" "testing" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func Test_runImportCmd(t *testing.T) { @@ -96,7 +95,7 @@ mBtElE9j21pFaLf9gt8hVPTMDXWPtbIL keyfile := filepath.Join(kbHome, "key.asc") - require.NoError(t, ioutil.WriteFile(keyfile, []byte(armoredKey), 0644)) + require.NoError(t, os.WriteFile(keyfile, []byte(armoredKey), 0644)) defer func() { _ = os.RemoveAll(kbHome) diff --git a/sei-cosmos/client/keys/list.go b/sei-cosmos/client/keys/list.go index 9aae471db5..53473b6137 100644 --- a/sei-cosmos/client/keys/list.go +++ b/sei-cosmos/client/keys/list.go @@ -3,7 +3,7 @@ package keys import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" ) const flagListNames = "list-names" diff --git a/sei-cosmos/client/keys/list_test.go b/sei-cosmos/client/keys/list_test.go index d7ccfb2e9e..a2c6ee49f7 100644 --- a/sei-cosmos/client/keys/list_test.go +++ b/sei-cosmos/client/keys/list_test.go @@ -8,13 +8,13 @@ import ( "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func Test_runListCmd(t *testing.T) { diff --git a/sei-cosmos/client/keys/mnemonic.go b/sei-cosmos/client/keys/mnemonic.go index c411612782..74b8fa1954 100644 --- a/sei-cosmos/client/keys/mnemonic.go +++ b/sei-cosmos/client/keys/mnemonic.go @@ -8,7 +8,7 @@ import ( bip39 "github.com/cosmos/go-bip39" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client/input" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/input" ) const ( diff --git a/sei-cosmos/client/keys/mnemonic_test.go b/sei-cosmos/client/keys/mnemonic_test.go index c986e6230b..5dc24b3c18 100644 --- a/sei-cosmos/client/keys/mnemonic_test.go +++ b/sei-cosmos/client/keys/mnemonic_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" ) func Test_RunMnemonicCmdNormal(t *testing.T) { diff --git a/sei-cosmos/client/keys/parse.go b/sei-cosmos/client/keys/parse.go index 14afe89a67..5c121101fe 100644 --- a/sei-cosmos/client/keys/parse.go +++ b/sei-cosmos/client/keys/parse.go @@ -11,8 +11,8 @@ import ( "github.com/spf13/cobra" yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/bech32" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/bech32" ) func bech32Prefixes(config *sdk.Config) []string { @@ -98,7 +98,7 @@ func doParseKey(cmd *cobra.Command, config *sdk.Config, args []string) error { } output, _ := cmd.Flags().GetString(cli.OutputFlag) - if !(runFromBech32(outstream, addr, output) || runFromHex(config, outstream, addr, output)) { + if !runFromBech32(outstream, addr, output) && !runFromHex(config, outstream, addr, output) { return errors.New("couldn't find valid bech32 nor hex data") } @@ -140,7 +140,7 @@ func displayParseKeyInfo(w io.Writer, stringer fmt.Stringer, output string) { out, err = yaml.Marshal(&stringer) case OutputFormatJSON: - out, err = KeysCdc.MarshalJSON(stringer) + out, err = KeysCdc.MarshalAsJSON(stringer) } if err != nil { diff --git a/sei-cosmos/client/keys/parse_test.go b/sei-cosmos/client/keys/parse_test.go index 687922db3c..565f84f063 100644 --- a/sei-cosmos/client/keys/parse_test.go +++ b/sei-cosmos/client/keys/parse_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestParseKey(t *testing.T) { diff --git a/sei-cosmos/client/keys/root.go b/sei-cosmos/client/keys/root.go index 95c3bbb3a4..b84c4204a9 100644 --- a/sei-cosmos/client/keys/root.go +++ b/sei-cosmos/client/keys/root.go @@ -4,7 +4,7 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" ) // Commands registers a sub-tree of commands to interact with diff --git a/sei-cosmos/client/keys/show.go b/sei-cosmos/client/keys/show.go index 70a3a03d55..f47d3a8ae3 100644 --- a/sei-cosmos/client/keys/show.go +++ b/sei-cosmos/client/keys/show.go @@ -7,13 +7,13 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/ledger" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerr "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/ledger" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerr "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const ( @@ -126,7 +126,7 @@ func runShowCmd(cmd *cobra.Command, args []string) (err error) { if isShowPubKey { out = ko.PubKey } - fmt.Fprintln(cmd.OutOrStdout(), out) + _, _ = fmt.Fprintln(cmd.OutOrStdout(), out) default: printKeyInfo(cmd.OutOrStdout(), info, bechKeyOut, clientCtx.OutputFormat) } diff --git a/sei-cosmos/client/keys/show_test.go b/sei-cosmos/client/keys/show_test.go index f05c1878dc..d6b5f201dd 100644 --- a/sei-cosmos/client/keys/show_test.go +++ b/sei-cosmos/client/keys/show_test.go @@ -7,16 +7,16 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func Test_multiSigKey_Properties(t *testing.T) { diff --git a/sei-cosmos/client/keys/types_test.go b/sei-cosmos/client/keys/types_test.go index 24428a5b92..f111911332 100644 --- a/sei-cosmos/client/keys/types_test.go +++ b/sei-cosmos/client/keys/types_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client/keys" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/keys" ) func TestConstructors(t *testing.T) { diff --git a/sei-cosmos/client/keys/utils.go b/sei-cosmos/client/keys/utils.go index 05f11915e5..f1b981e301 100644 --- a/sei-cosmos/client/keys/utils.go +++ b/sei-cosmos/client/keys/utils.go @@ -6,7 +6,7 @@ import ( yaml "gopkg.in/yaml.v2" - cryptokeyring "github.com/cosmos/cosmos-sdk/crypto/keyring" + cryptokeyring "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" ) // available output formats. @@ -35,12 +35,12 @@ func printKeyInfo(w io.Writer, keyInfo cryptokeyring.Info, bechKeyOut bechKeyOut printTextInfos(w, []cryptokeyring.KeyOutput{ko}) case OutputFormatJSON: - out, err := KeysCdc.MarshalJSON(ko) + out, err := KeysCdc.MarshalAsJSON(ko) if err != nil { panic(err) } - fmt.Fprintln(w, string(out)) + _, _ = fmt.Fprintln(w, string(out)) } } @@ -55,12 +55,12 @@ func printInfos(w io.Writer, infos []cryptokeyring.Info, output string) { printTextInfos(w, kos) case OutputFormatJSON: - out, err := KeysCdc.MarshalJSON(kos) + out, err := KeysCdc.MarshalAsJSON(kos) if err != nil { panic(err) } - fmt.Fprintf(w, "%s", out) + _, _ = fmt.Fprintf(w, "%s", out) } } @@ -69,5 +69,5 @@ func printTextInfos(w io.Writer, kos []cryptokeyring.KeyOutput) { if err != nil { panic(err) } - fmt.Fprintln(w, string(out)) + _, _ = fmt.Fprintln(w, string(out)) } diff --git a/sei-cosmos/client/pruning/main.go b/sei-cosmos/client/pruning/main.go index cb26761fb9..56a2b8edff 100644 --- a/sei-cosmos/client/pruning/main.go +++ b/sei-cosmos/client/pruning/main.go @@ -2,18 +2,19 @@ package pruning import ( "fmt" + "math" "os" "path/filepath" "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" dbm "github.com/tendermint/tm-db" ) @@ -76,9 +77,14 @@ func PruningCmd(appCreator servertypes.AppCreator) *cobra.Command { return fmt.Errorf("the database has no valid heights to prune, the latest height: %v", latestHeight) } + if pruningOptions.KeepRecent > uint64(math.MaxInt64) { + return fmt.Errorf("KeepRecent %d exceeds max int64", pruningOptions.KeepRecent) + } + keepRecent := int64(pruningOptions.KeepRecent) //nolint:gosec // bounds checked above + var pruningHeights []int64 for height := int64(1); height < latestHeight; height++ { - if height < latestHeight-int64(pruningOptions.KeepRecent) { + if height < latestHeight-keepRecent { pruningHeights = append(pruningHeights, height) } } @@ -93,9 +99,6 @@ func PruningCmd(appCreator servertypes.AppCreator) *cobra.Command { ) rootMultiStore.PruneStores(false, pruningHeights) - if err != nil { - return err - } fmt.Printf("successfully pruned the application root multi stores\n") return nil }, diff --git a/sei-cosmos/client/query.go b/sei-cosmos/client/query.go index 23df0bba0a..6f2c0fe689 100644 --- a/sei-cosmos/client/query.go +++ b/sei-cosmos/client/query.go @@ -13,9 +13,9 @@ import ( tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // GetNode returns an RPC client. If the context's client is not defined, an diff --git a/sei-cosmos/client/query_test.go b/sei-cosmos/client/query_test.go index f12f73d7ca..2c1e8616f0 100644 --- a/sei-cosmos/client/query_test.go +++ b/sei-cosmos/client/query_test.go @@ -8,7 +8,7 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func (s *IntegrationTestSuite) TestQueryABCIHeight() { diff --git a/sei-cosmos/client/rpc/block.go b/sei-cosmos/client/rpc/block.go index 530f7c45df..f21449a25b 100644 --- a/sei-cosmos/client/rpc/block.go +++ b/sei-cosmos/client/rpc/block.go @@ -9,10 +9,10 @@ import ( "github.com/gorilla/mux" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" ) // BlockCommand returns the verified block data for a given heights @@ -70,7 +70,7 @@ func getBlock(clientCtx client.Context, height *int64) ([]byte, error) { return nil, err } - return legacy.Cdc.MarshalJSON(res) + return legacy.Cdc.MarshalAsJSON(res) } // get the current blockchain height diff --git a/sei-cosmos/client/rpc/routes.go b/sei-cosmos/client/rpc/routes.go index 7934ece7c9..5c187f77fc 100644 --- a/sei-cosmos/client/rpc/routes.go +++ b/sei-cosmos/client/rpc/routes.go @@ -3,7 +3,7 @@ package rpc import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" ) // Register REST endpoints. diff --git a/sei-cosmos/client/rpc/rpc_test.go b/sei-cosmos/client/rpc/rpc_test.go index bf1213e3ed..b96630c63b 100644 --- a/sei-cosmos/client/rpc/rpc_test.go +++ b/sei-cosmos/client/rpc/rpc_test.go @@ -7,11 +7,11 @@ import ( ctypes "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/rpc" - "github.com/cosmos/cosmos-sdk/codec/legacy" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" ) type IntegrationTestSuite struct { @@ -52,7 +52,7 @@ func (s *IntegrationTestSuite) TestLatestBlocks() { s.Require().NoError(err) var result ctypes.ResultBlock - err = legacy.Cdc.UnmarshalJSON(res, &result) + err = legacy.Cdc.UnmarshalAsJSON(res, &result) s.Require().NoError(err) } diff --git a/sei-cosmos/client/rpc/status.go b/sei-cosmos/client/rpc/status.go index 4fbda60404..d631e2ef8f 100644 --- a/sei-cosmos/client/rpc/status.go +++ b/sei-cosmos/client/rpc/status.go @@ -10,12 +10,12 @@ import ( ctypes "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" ) // ValidatorInfo is info about the node's validator, same as Tendermint, @@ -71,7 +71,7 @@ func StatusCommand() *cobra.Command { }, } - output, err := clientCtx.LegacyAmino.MarshalJSON(statusWithPk) + output, err := clientCtx.LegacyAmino.MarshalAsJSON(statusWithPk) if err != nil { return err } diff --git a/sei-cosmos/client/rpc/validators.go b/sei-cosmos/client/rpc/validators.go index 91e1448f99..5612efe2bc 100644 --- a/sei-cosmos/client/rpc/validators.go +++ b/sei-cosmos/client/rpc/validators.go @@ -11,12 +11,12 @@ import ( tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" ) // TODO these next two functions feel kinda hacky based on their placement @@ -137,7 +137,7 @@ func GetValidators(ctx context.Context, clientCtx client.Context, height *int64, out := ResultValidatorsOutput{ BlockHeight: validatorsRes.BlockHeight, Validators: make([]ValidatorOutput, len(validatorsRes.Validators)), - Total: uint64(total), + Total: uint64(total), //nolint:gosec // total is guaranteed non-negative by the check above } for i := 0; i < len(validatorsRes.Validators); i++ { out.Validators[i], err = validatorOutput(validatorsRes.Validators[i]) diff --git a/sei-cosmos/client/tendermint.go b/sei-cosmos/client/tendermint.go index bca6a45200..1f35c11f76 100644 --- a/sei-cosmos/client/tendermint.go +++ b/sei-cosmos/client/tendermint.go @@ -2,6 +2,7 @@ package client import ( "context" + rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" ) diff --git a/sei-cosmos/client/test_helpers.go b/sei-cosmos/client/test_helpers.go index 214184b50f..74f44906f4 100644 --- a/sei-cosmos/client/test_helpers.go +++ b/sei-cosmos/client/test_helpers.go @@ -3,8 +3,8 @@ package client import ( "fmt" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/sei-cosmos/client/tx/factory.go b/sei-cosmos/client/tx/factory.go index 11ca0807a9..4e38c4f66f 100644 --- a/sei-cosmos/client/tx/factory.go +++ b/sei-cosmos/client/tx/factory.go @@ -3,17 +3,18 @@ package tx import ( "errors" "fmt" + "math" "os" "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) // Factory defines a client transaction factory that facilitates generating and @@ -212,7 +213,10 @@ func (f Factory) BuildUnsignedTx(msgs ...sdk.Msg) (client.TxBuilder, error) { return nil, errors.New("cannot provide both fees and gas prices") } - glDec := sdk.NewDec(int64(f.gas)) + if f.gas > uint64(math.MaxInt64) { + return nil, fmt.Errorf("gas %d exceeds max int64", f.gas) + } + glDec := sdk.NewDec(int64(f.gas)) //nolint:gosec // bounds checked above // Derive the fees based on the provided gas prices, where // fee = ceil(gasPrice * gasLimit). diff --git a/sei-cosmos/client/tx/legacy.go b/sei-cosmos/client/tx/legacy.go index c8c345b576..32441b9a26 100644 --- a/sei-cosmos/client/tx/legacy.go +++ b/sei-cosmos/client/tx/legacy.go @@ -3,10 +3,10 @@ package tx import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) // ConvertTxToStdTx converts a transaction to the legacy StdTx format diff --git a/sei-cosmos/client/tx/legacy_test.go b/sei-cosmos/client/tx/legacy_test.go index a0d2306a69..f601871e50 100644 --- a/sei-cosmos/client/tx/legacy_test.go +++ b/sei-cosmos/client/tx/legacy_test.go @@ -8,15 +8,15 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client" - tx2 "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - "github.com/cosmos/cosmos-sdk/types" - signing2 "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/tx" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + tx2 "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" + signing2 "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) const ( diff --git a/sei-cosmos/client/tx/tx.go b/sei-cosmos/client/tx/tx.go index eb3de9bacd..dbc708905d 100644 --- a/sei-cosmos/client/tx/tx.go +++ b/sei-cosmos/client/tx/tx.go @@ -12,16 +12,16 @@ import ( gogogrpc "github.com/gogo/protobuf/grpc" "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/input" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/input" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) // GenerateOrBroadcastTxCLI will either generate and print and unsigned transaction @@ -212,7 +212,7 @@ func WriteGeneratedTxResponse( return } - output, err := clientCtx.LegacyAmino.MarshalJSON(stdTx) + output, err := clientCtx.LegacyAmino.MarshalAsJSON(stdTx) if rest.CheckInternalServerError(w, err) { return } @@ -379,7 +379,7 @@ func Sign(txf Factory, name string, txBuilder client.TxBuilder, overwriteSig boo Data: &sigData, Sequence: txf.Sequence(), } - var prevSignatures []signing.SignatureV2 + var prevSignatures []signing.SignatureV2 //nolint:prealloc // It's behind a flag. if !overwriteSig { prevSignatures, err = txBuilder.GetTx().GetSignaturesV2() if err != nil { diff --git a/sei-cosmos/client/tx/tx_test.go b/sei-cosmos/client/tx/tx_test.go index 08edf30836..47476b044f 100644 --- a/sei-cosmos/client/tx/tx_test.go +++ b/sei-cosmos/client/tx/tx_test.go @@ -9,16 +9,16 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func NewTestTxConfig() client.TxConfig { diff --git a/sei-cosmos/client/tx_config.go b/sei-cosmos/client/tx_config.go index 07d370892f..f69ff59f86 100644 --- a/sei-cosmos/client/tx_config.go +++ b/sei-cosmos/client/tx_config.go @@ -1,9 +1,9 @@ package client import ( - sdk "github.com/cosmos/cosmos-sdk/types" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) type ( diff --git a/sei-cosmos/client/utils.go b/sei-cosmos/client/utils.go index 8b891f29e9..b404450999 100644 --- a/sei-cosmos/client/utils.go +++ b/sei-cosmos/client/utils.go @@ -4,9 +4,9 @@ import ( rpchttp "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client/http" "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client/flags" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" ) // Paginate returns the correct starting and ending index for a paginated query, diff --git a/sei-cosmos/client/utils_test.go b/sei-cosmos/client/utils_test.go index c8cb93a9f5..d2b4338277 100644 --- a/sei-cosmos/client/utils_test.go +++ b/sei-cosmos/client/utils_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" ) func TestPaginate(t *testing.T) { diff --git a/sei-cosmos/codec/amino.go b/sei-cosmos/codec/amino.go index bfb0834bf2..1ae07e7b1c 100644 --- a/sei-cosmos/codec/amino.go +++ b/sei-cosmos/codec/amino.go @@ -10,7 +10,7 @@ import ( tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" amino "github.com/tendermint/go-amino" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) // LegacyAmino defines a wrapper for an Amino codec that properly @@ -38,7 +38,7 @@ func RegisterEvidences(cdc *LegacyAmino) { // via an Amino codec. It returns an error if it cannot serialize or indent as // JSON. func MarshalJSONIndent(cdc *LegacyAmino, obj interface{}) ([]byte, error) { - bz, err := cdc.MarshalJSON(obj) + bz, err := cdc.MarshalAsJSON(obj) if err != nil { return nil, err } @@ -139,8 +139,8 @@ func (cdc *LegacyAmino) MustUnmarshalLengthPrefixed(bz []byte, ptr interface{}) } } -// MarshalJSON implements codec.Codec interface -func (cdc *LegacyAmino) MarshalJSON(o interface{}) ([]byte, error) { +// MarshalAsJSON implements codec.Codec interface +func (cdc *LegacyAmino) MarshalAsJSON(o interface{}) ([]byte, error) { err := cdc.jsonMarshalAnys(o) if err != nil { return nil, err @@ -149,15 +149,15 @@ func (cdc *LegacyAmino) MarshalJSON(o interface{}) ([]byte, error) { } func (cdc *LegacyAmino) MustMarshalJSON(o interface{}) []byte { - bz, err := cdc.MarshalJSON(o) + bz, err := cdc.MarshalAsJSON(o) if err != nil { panic(err) } return bz } -// UnmarshalJSON implements codec.Codec interface -func (cdc *LegacyAmino) UnmarshalJSON(bz []byte, ptr interface{}) error { +// UnmarshalAsJSON implements codec.Codec interface +func (cdc *LegacyAmino) UnmarshalAsJSON(bz []byte, ptr interface{}) error { err := cdc.Amino.UnmarshalJSON(bz, ptr) if err != nil { return err @@ -166,7 +166,7 @@ func (cdc *LegacyAmino) UnmarshalJSON(bz []byte, ptr interface{}) error { } func (cdc *LegacyAmino) MustUnmarshalJSON(bz []byte, ptr interface{}) { - err := cdc.UnmarshalJSON(bz, ptr) + err := cdc.UnmarshalAsJSON(bz, ptr) if err != nil { panic(err) } diff --git a/sei-cosmos/codec/amino_codec.go b/sei-cosmos/codec/amino_codec.go index 77969d22df..3706230337 100644 --- a/sei-cosmos/codec/amino_codec.go +++ b/sei-cosmos/codec/amino_codec.go @@ -59,8 +59,8 @@ func (ac *AminoCodec) MustUnmarshalLengthPrefixed(bz []byte, ptr ProtoMarshaler) // MarshalJSON implements JSONCodec.MarshalJSON method, // it marshals to JSON using legacy amino codec. -func (ac *AminoCodec) MarshalJSON(o proto.Message) ([]byte, error) { - return ac.LegacyAmino.MarshalJSON(o) +func (ac *AminoCodec) MarshalAsJSON(o proto.Message) ([]byte, error) { + return ac.LegacyAmino.MarshalAsJSON(o) } // MustMarshalJSON implements JSONCodec.MustMarshalJSON method, @@ -71,8 +71,8 @@ func (ac *AminoCodec) MustMarshalJSON(o proto.Message) []byte { // UnmarshalJSON implements JSONCodec.UnmarshalJSON method, // it unmarshals from JSON using legacy amino codec. -func (ac *AminoCodec) UnmarshalJSON(bz []byte, ptr proto.Message) error { - return ac.LegacyAmino.UnmarshalJSON(bz, ptr) +func (ac *AminoCodec) UnmarshalAsJSON(bz []byte, ptr proto.Message) error { + return ac.LegacyAmino.UnmarshalAsJSON(bz, ptr) } // MustUnmarshalJSON implements JSONCodec.MustUnmarshalJSON method, @@ -110,7 +110,7 @@ func (ac *AminoCodec) MarshalInterfaceJSON(i proto.Message) ([]byte, error) { if err := assertNotNil(i); err != nil { return nil, err } - return ac.LegacyAmino.MarshalJSON(i) + return ac.LegacyAmino.MarshalAsJSON(i) } // UnmarshalInterfaceJSON is a convenience function for amino unmarshaling interfaces. @@ -122,5 +122,5 @@ func (ac *AminoCodec) MarshalInterfaceJSON(i proto.Message) ([]byte, error) { // var x MyInterface // err := cdc.UnmarshalInterfaceJSON(bz, &x) func (ac *AminoCodec) UnmarshalInterfaceJSON(bz []byte, ptr interface{}) error { - return ac.LegacyAmino.UnmarshalJSON(bz, ptr) + return ac.LegacyAmino.UnmarshalAsJSON(bz, ptr) } diff --git a/sei-cosmos/codec/amino_codec_test.go b/sei-cosmos/codec/amino_codec_test.go index bec53c0fc5..18d8f4551d 100644 --- a/sei-cosmos/codec/amino_codec_test.go +++ b/sei-cosmos/codec/amino_codec_test.go @@ -8,11 +8,11 @@ import ( "github.com/sei-protocol/sei-chain/app" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - "github.com/cosmos/cosmos-sdk/x/auth/client/cli" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" ) func createTestCodec() *codec.LegacyAmino { @@ -123,11 +123,11 @@ func TestAminoCodecFullDecodeAndEncode(t *testing.T) { txSigned := `{"type":"cosmos-sdk/StdTx","value":{"msg":[{"type":"cosmos-sdk/MsgCreateValidator","value":{"description":{"moniker":"fulltest","identity":"satoshi","website":"example.com","details":"example inc"},"commission":{"rate":"0.500000000000000000","max_rate":"1.000000000000000000","max_change_rate":"0.200000000000000000"},"min_self_delegation":"1000000","delegator_address":"cosmos14pt0q5cwf38zt08uu0n6yrstf3rndzr5057jys","validator_address":"cosmosvaloper14pt0q5cwf38zt08uu0n6yrstf3rndzr52q28gr","pubkey":{"type":"tendermint/PubKeyEd25519","value":"CYrOiM3HtS7uv1B1OAkknZnFYSRpQYSYII8AtMMtev0="},"value":{"denom":"umuon","amount":"700000000"}}}],"fee":{"amount":[{"denom":"umuon","amount":"6000"}],"gas":"160000"},"signatures":[{"pub_key":{"type":"tendermint/PubKeySecp256k1","value":"AwAOXeWgNf1FjMaayrSnrOOKz+Fivr6DiI/i0x0sZCHw"},"signature":"RcnfS/u2yl7uIShTrSUlDWvsXo2p2dYu6WJC8VDVHMBLEQZWc8bsINSCjOnlsIVkUNNe1q/WCA9n3Gy1+0zhYA=="}],"memo":"","timeout_height":"0","gas_estimate":"0"}}` var legacyCdc = app.MakeEncodingConfig().Amino var tx legacytx.StdTx - err := legacyCdc.UnmarshalJSON([]byte(txSigned), &tx) + err := legacyCdc.UnmarshalAsJSON([]byte(txSigned), &tx) require.NoError(t, err) // Marshalling/unmarshalling the tx should work. - marshaledTx, err := legacyCdc.MarshalJSON(tx) + marshaledTx, err := legacyCdc.MarshalAsJSON(tx) require.NoError(t, err) require.Equal(t, txSigned, string(marshaledTx)) @@ -136,6 +136,6 @@ func TestAminoCodecFullDecodeAndEncode(t *testing.T) { Mode: "block", Tx: tx, } - _, err = legacyCdc.MarshalJSON(txRequest) + _, err = legacyCdc.MarshalAsJSON(txRequest) require.NoError(t, err) } diff --git a/sei-cosmos/codec/any_test.go b/sei-cosmos/codec/any_test.go index fbb8fa76ee..96c3cc98d7 100644 --- a/sei-cosmos/codec/any_test.go +++ b/sei-cosmos/codec/any_test.go @@ -6,12 +6,12 @@ import ( "github.com/sei-protocol/sei-chain/app" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" ) func NewTestInterfaceRegistry() types.InterfaceRegistry { @@ -68,11 +68,11 @@ func TestMarshalProtoPubKey(t *testing.T) { pkAny, err := codectypes.NewAnyWithValue(pk) require.NoError(err) - bz, err := ccfg.Marshaler.MarshalJSON(pkAny) + bz, err := ccfg.Marshaler.MarshalAsJSON(pkAny) require.NoError(err) var pkAny2 codectypes.Any - err = ccfg.Marshaler.UnmarshalJSON(bz, &pkAny2) + err = ccfg.Marshaler.UnmarshalAsJSON(bz, &pkAny2) require.NoError(err) // Before getting a cached value we need to unpack it. // Normally this happens in types which implement UnpackInterfaces @@ -119,7 +119,7 @@ func TestMarshalProtoInterfacePubKey(t *testing.T) { // Any can't implement UnpackInterfacesMessage interface. So Any is not // automatically unpacked and we won't get a value. var pkAny codectypes.Any - err = ccfg.Marshaler.UnmarshalJSON(bz, &pkAny) + err = ccfg.Marshaler.UnmarshalAsJSON(bz, &pkAny) require.NoError(err) ifc := pkAny.GetCachedValue() require.Nil(ifc) diff --git a/sei-cosmos/codec/codec.go b/sei-cosmos/codec/codec.go index 6da2f453f0..978e29f911 100644 --- a/sei-cosmos/codec/codec.go +++ b/sei-cosmos/codec/codec.go @@ -3,7 +3,7 @@ package codec import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) type ( @@ -57,7 +57,7 @@ type ( JSONCodec interface { // MarshalJSON returns JSON encoding of v. - MarshalJSON(o proto.Message) ([]byte, error) + MarshalAsJSON(o proto.Message) ([]byte, error) // MustMarshalJSON calls MarshalJSON and panics if error is returned. MustMarshalJSON(o proto.Message) []byte // MarshalInterfaceJSON is a helper method which will wrap `i` into `Any` for correct @@ -70,7 +70,7 @@ type ( // UnmarshalJSON parses the data encoded with MarshalJSON method and stores the result // in the value pointed to by v. - UnmarshalJSON(bz []byte, ptr proto.Message) error + UnmarshalAsJSON(bz []byte, ptr proto.Message) error // MustUnmarshalJSON calls Unmarshal and panics if error is returned. MustUnmarshalJSON(bz []byte, ptr proto.Message) } diff --git a/sei-cosmos/codec/codec_common_test.go b/sei-cosmos/codec/codec_common_test.go index 59af923d79..2268940295 100644 --- a/sei-cosmos/codec/codec_common_test.go +++ b/sei-cosmos/codec/codec_common_test.go @@ -6,9 +6,9 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" ) type interfaceMarshaler struct { @@ -120,9 +120,9 @@ func testMarshaling(t *testing.T, cdc codec.Codec) { m1 := mustMarshaler{cdc.Marshal, cdc.MustMarshal, cdc.Unmarshal, cdc.MustUnmarshal} m2 := mustMarshaler{cdc.MarshalLengthPrefixed, cdc.MustMarshalLengthPrefixed, cdc.UnmarshalLengthPrefixed, cdc.MustUnmarshalLengthPrefixed} m3 := mustMarshaler{ - func(i codec.ProtoMarshaler) ([]byte, error) { return cdc.MarshalJSON(i) }, + func(i codec.ProtoMarshaler) ([]byte, error) { return cdc.MarshalAsJSON(i) }, func(i codec.ProtoMarshaler) []byte { return cdc.MustMarshalJSON(i) }, - func(bz []byte, ptr codec.ProtoMarshaler) error { return cdc.UnmarshalJSON(bz, ptr) }, + func(bz []byte, ptr codec.ProtoMarshaler) error { return cdc.UnmarshalAsJSON(bz, ptr) }, func(bz []byte, ptr codec.ProtoMarshaler) { cdc.MustUnmarshalJSON(bz, ptr) }} t.Run(tc.name+"_BinaryBare", diff --git a/sei-cosmos/codec/json.go b/sei-cosmos/codec/json.go index e01caa2599..dda42fa3af 100644 --- a/sei-cosmos/codec/json.go +++ b/sei-cosmos/codec/json.go @@ -6,7 +6,7 @@ import ( "github.com/gogo/protobuf/jsonpb" "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) var defaultJM = &jsonpb.Marshaler{OrigName: true, EmitDefaults: true, AnyResolver: nil} diff --git a/sei-cosmos/codec/legacy/codec.go b/sei-cosmos/codec/legacy/codec.go index a4a963b6d2..2bb9cc6c19 100644 --- a/sei-cosmos/codec/legacy/codec.go +++ b/sei-cosmos/codec/legacy/codec.go @@ -1,9 +1,9 @@ package legacy import ( - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // Cdc defines a global generic sealed Amino codec to be used throughout sdk. It diff --git a/sei-cosmos/codec/proto_codec.go b/sei-cosmos/codec/proto_codec.go index 96e93ffbdd..9783ac6701 100644 --- a/sei-cosmos/codec/proto_codec.go +++ b/sei-cosmos/codec/proto_codec.go @@ -9,7 +9,7 @@ import ( "github.com/gogo/protobuf/jsonpb" "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) // ProtoCodecMarshaler defines an interface for codecs that utilize Protobuf for both @@ -60,7 +60,7 @@ func (pc *ProtoCodec) MarshalLengthPrefixed(o ProtoMarshaler) ([]byte, error) { } var sizeBuf [binary.MaxVarintLen64]byte - n := binary.PutUvarint(sizeBuf[:], uint64(o.Size())) + n := binary.PutUvarint(sizeBuf[:], uint64(o.Size())) //nolint:gosec // Size() returns the serialized size which is always non-negative return append(sizeBuf[:n], bz...), nil } @@ -105,10 +105,15 @@ func (pc *ProtoCodec) UnmarshalLengthPrefixed(bz []byte, ptr ProtoMarshaler) err return fmt.Errorf("invalid number of bytes read from length-prefixed encoding: %d", n) } - if size > uint64(len(bz)-n) { - return fmt.Errorf("not enough bytes to read; want: %v, got: %v", size, len(bz)-n) - } else if size < uint64(len(bz)-n) { - return fmt.Errorf("too many bytes to read; want: %v, got: %v", size, len(bz)-n) + remaining := len(bz) - n + if remaining < 0 { + return fmt.Errorf("length prefix exceeds buffer size") + } + + if size > uint64(remaining) { //nolint:gosec // remaining is validated non-negative above + return fmt.Errorf("not enough bytes to read; want: %v, got: %v", size, remaining) + } else if size < uint64(remaining) { //nolint:gosec // remaining is validated non-negative above + return fmt.Errorf("too many bytes to read; want: %v, got: %v", size, remaining) } bz = bz[n:] @@ -126,7 +131,7 @@ func (pc *ProtoCodec) MustUnmarshalLengthPrefixed(bz []byte, ptr ProtoMarshaler) // it marshals to JSON using proto codec. // NOTE: this function must be used with a concrete type which // implements proto.Message. For interface please use the codec.MarshalInterfaceJSON -func (pc *ProtoCodec) MarshalJSON(o proto.Message) ([]byte, error) { +func (pc *ProtoCodec) MarshalAsJSON(o proto.Message) ([]byte, error) { m, ok := o.(ProtoMarshaler) if !ok { return nil, fmt.Errorf("cannot protobuf JSON encode unsupported type: %T", o) @@ -140,7 +145,7 @@ func (pc *ProtoCodec) MarshalJSON(o proto.Message) ([]byte, error) { // NOTE: this function must be used with a concrete type which // implements proto.Message. For interface please use the codec.MarshalInterfaceJSON func (pc *ProtoCodec) MustMarshalJSON(o proto.Message) []byte { - bz, err := pc.MarshalJSON(o) + bz, err := pc.MarshalAsJSON(o) if err != nil { panic(err) } @@ -152,7 +157,7 @@ func (pc *ProtoCodec) MustMarshalJSON(o proto.Message) []byte { // it unmarshals from JSON using proto codec. // NOTE: this function must be used with a concrete type which // implements proto.Message. For interface please use the codec.UnmarshalInterfaceJSON -func (pc *ProtoCodec) UnmarshalJSON(bz []byte, ptr proto.Message) error { +func (pc *ProtoCodec) UnmarshalAsJSON(bz []byte, ptr proto.Message) error { m, ok := ptr.(ProtoMarshaler) if !ok { return fmt.Errorf("cannot protobuf JSON decode unsupported type: %T", ptr) @@ -172,7 +177,7 @@ func (pc *ProtoCodec) UnmarshalJSON(bz []byte, ptr proto.Message) error { // NOTE: this function must be used with a concrete type which // implements proto.Message. For interface please use the codec.UnmarshalInterfaceJSON func (pc *ProtoCodec) MustUnmarshalJSON(bz []byte, ptr proto.Message) { - if err := pc.UnmarshalJSON(bz, ptr); err != nil { + if err := pc.UnmarshalAsJSON(bz, ptr); err != nil { panic(err) } } @@ -219,7 +224,7 @@ func (pc *ProtoCodec) MarshalInterfaceJSON(x proto.Message) ([]byte, error) { if err != nil { return nil, err } - return pc.MarshalJSON(any) + return pc.MarshalAsJSON(any) } // UnmarshalInterfaceJSON is a convenience function for proto unmarshaling interfaces. @@ -233,7 +238,7 @@ func (pc *ProtoCodec) MarshalInterfaceJSON(x proto.Message) ([]byte, error) { // err := cdc.UnmarshalInterfaceJSON(&x, bz) func (pc *ProtoCodec) UnmarshalInterfaceJSON(bz []byte, iface interface{}) error { any := &types.Any{} - err := pc.UnmarshalJSON(bz, any) + err := pc.UnmarshalAsJSON(bz, any) if err != nil { return err } diff --git a/sei-cosmos/codec/proto_codec_test.go b/sei-cosmos/codec/proto_codec_test.go index 40d810deef..fef39cd6d2 100644 --- a/sei-cosmos/codec/proto_codec_test.go +++ b/sei-cosmos/codec/proto_codec_test.go @@ -8,9 +8,9 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" ) func createTestInterfaceRegistry() types.InterfaceRegistry { diff --git a/sei-cosmos/codec/types/any.go b/sei-cosmos/codec/types/any.go index 07c8de98c8..0b20932db6 100644 --- a/sei-cosmos/codec/types/any.go +++ b/sei-cosmos/codec/types/any.go @@ -5,7 +5,7 @@ import ( "github.com/gogo/protobuf/proto" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) type Any struct { diff --git a/sei-cosmos/codec/types/any_test.go b/sei-cosmos/codec/types/any_test.go index 8c2807b860..7f83275fd5 100644 --- a/sei-cosmos/codec/types/any_test.go +++ b/sei-cosmos/codec/types/any_test.go @@ -6,8 +6,8 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" ) type errOnMarshal struct { diff --git a/sei-cosmos/codec/types/compat_test.go b/sei-cosmos/codec/types/compat_test.go index 56cb32e82c..50ca2551c8 100644 --- a/sei-cosmos/codec/types/compat_test.go +++ b/sei-cosmos/codec/types/compat_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/suite" amino "github.com/tendermint/go-amino" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" ) type TypeWithInterface struct { diff --git a/sei-cosmos/codec/types/types_test.go b/sei-cosmos/codec/types/types_test.go index 24c83b4eb5..7776157b58 100644 --- a/sei-cosmos/codec/types/types_test.go +++ b/sei-cosmos/codec/types/types_test.go @@ -8,8 +8,8 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" ) func TestAnyPackUnpack(t *testing.T) { diff --git a/sei-cosmos/codec/unknownproto/benchmarks_test.go b/sei-cosmos/codec/unknownproto/benchmarks_test.go index 373dda7acf..16711a8c9b 100644 --- a/sei-cosmos/codec/unknownproto/benchmarks_test.go +++ b/sei-cosmos/codec/unknownproto/benchmarks_test.go @@ -6,8 +6,8 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/unknownproto" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/unknownproto" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" ) var n1BBlob []byte diff --git a/sei-cosmos/codec/unknownproto/unknown_fields.go b/sei-cosmos/codec/unknownproto/unknown_fields.go index 6d7fd8f095..49fb475f72 100644 --- a/sei-cosmos/codec/unknownproto/unknown_fields.go +++ b/sei-cosmos/codec/unknownproto/unknown_fields.go @@ -5,7 +5,7 @@ import ( "compress/gzip" "errors" "fmt" - "io/ioutil" + "io" "reflect" "strings" "sync" @@ -15,7 +15,7 @@ import ( "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" "google.golang.org/protobuf/encoding/protowire" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) const bit11NonCritical = 1 << 10 @@ -72,7 +72,7 @@ func rejectUnknownFieldsWithDepth(bz []byte, msg proto.Message, allowUnknownNonC return hasUnknownNonCriticals, errors.New("invalid length") } - fieldDescProto, ok := fieldDescProtoFromTagNum[int32(tagNum)] + fieldDescProto, ok := fieldDescProtoFromTagNum[int32(tagNum)] //nolint:gosec // protobuf field numbers are within int32 range by spec switch { case ok: // Assert that the wireTypes match. @@ -81,7 +81,7 @@ func rejectUnknownFieldsWithDepth(bz []byte, msg proto.Message, allowUnknownNonC Type: reflect.ValueOf(msg).Type().String(), TagNum: tagNum, GotWireType: wireType, - WantWireType: protowire.Type(fieldDescProto.WireType()), + WantWireType: protowire.Type(fieldDescProto.WireType()), //nolint:gosec // checked by wire type conversion } } @@ -371,7 +371,7 @@ func extractFileDescMessageDesc(desc descriptorIface) (*descriptor.FileDescripto if err != nil { return nil, nil, err } - protoBlob, err := ioutil.ReadAll(gzr) + protoBlob, err := io.ReadAll(gzr) if err != nil { return nil, nil, err } diff --git a/sei-cosmos/codec/unknownproto/unknown_fields_test.go b/sei-cosmos/codec/unknownproto/unknown_fields_test.go index 50eb22f2e6..584ab30df5 100644 --- a/sei-cosmos/codec/unknownproto/unknown_fields_test.go +++ b/sei-cosmos/codec/unknownproto/unknown_fields_test.go @@ -8,8 +8,8 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" ) func TestRejectUnknownFieldsRepeated(t *testing.T) { diff --git a/sei-cosmos/codec/yaml.go b/sei-cosmos/codec/yaml.go index fc8b7d3f60..27b33ab1b3 100644 --- a/sei-cosmos/codec/yaml.go +++ b/sei-cosmos/codec/yaml.go @@ -13,7 +13,7 @@ import ( func MarshalYAML(cdc JSONCodec, toPrint proto.Message) ([]byte, error) { // We are OK with the performance hit of the additional JSON roundtip. MarshalYAML is not // used in any critical parts of the system. - bz, err := cdc.MarshalJSON(toPrint) + bz, err := cdc.MarshalAsJSON(toPrint) if err != nil { return nil, err } diff --git a/sei-cosmos/codec/yaml_test.go b/sei-cosmos/codec/yaml_test.go index e9206a74a3..e0095a6e20 100644 --- a/sei-cosmos/codec/yaml_test.go +++ b/sei-cosmos/codec/yaml_test.go @@ -3,12 +3,12 @@ package codec_test import ( "testing" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" ) func TestMarshalYAML(t *testing.T) { diff --git a/sei-cosmos/cosmovisor/cmd/cosmovisor/main.go b/sei-cosmos/cosmovisor/cmd/cosmovisor/main.go index a165acab38..6b4e823776 100644 --- a/sei-cosmos/cosmovisor/cmd/cosmovisor/main.go +++ b/sei-cosmos/cosmovisor/cmd/cosmovisor/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/cosmos/cosmos-sdk/cosmovisor" + "github.com/sei-protocol/sei-chain/sei-cosmos/cosmovisor" ) func main() { diff --git a/sei-cosmos/cosmovisor/process_test.go b/sei-cosmos/cosmovisor/process_test.go index 3b9a553ed6..29de22a328 100644 --- a/sei-cosmos/cosmovisor/process_test.go +++ b/sei-cosmos/cosmovisor/process_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/cosmovisor" + "github.com/sei-protocol/sei-chain/sei-cosmos/cosmovisor" ) type processTestSuite struct { diff --git a/sei-cosmos/cosmovisor/scanner_test.go b/sei-cosmos/cosmovisor/scanner_test.go index 9e42410c7b..16fabd1186 100644 --- a/sei-cosmos/cosmovisor/scanner_test.go +++ b/sei-cosmos/cosmovisor/scanner_test.go @@ -5,7 +5,7 @@ import ( "io" "testing" - "github.com/cosmos/cosmos-sdk/cosmovisor" + "github.com/sei-protocol/sei-chain/sei-cosmos/cosmovisor" "github.com/stretchr/testify/require" ) diff --git a/sei-cosmos/cosmovisor/upgrade.go b/sei-cosmos/cosmovisor/upgrade.go index 7e8091d611..b54fd74c82 100644 --- a/sei-cosmos/cosmovisor/upgrade.go +++ b/sei-cosmos/cosmovisor/upgrade.go @@ -4,7 +4,6 @@ import ( "encoding/json" "errors" "fmt" - "io/ioutil" "net/url" "os" "path/filepath" @@ -106,7 +105,7 @@ func GetDownloadURL(info *UpgradeInfo) (string, error) { doc := strings.TrimSpace(info.Info) // if this is a url, then we download that and try to get a new doc with the real info if _, err := url.Parse(doc); err == nil { - tmpDir, err := ioutil.TempDir("", "upgrade-manager-reference") + tmpDir, err := io.TempDir("", "upgrade-manager-reference") if err != nil { return "", fmt.Errorf("create tempdir for reference file: %w", err) } @@ -117,7 +116,7 @@ func GetDownloadURL(info *UpgradeInfo) (string, error) { return "", fmt.Errorf("downloading reference link %s: %w", doc, err) } - refBytes, err := ioutil.ReadFile(refPath) + refBytes, err := io.ReadFile(refPath) if err != nil { return "", fmt.Errorf("reading downloaded reference: %w", err) } diff --git a/sei-cosmos/cosmovisor/upgrade_test.go b/sei-cosmos/cosmovisor/upgrade_test.go index 371db1ef3c..90fb57a09a 100644 --- a/sei-cosmos/cosmovisor/upgrade_test.go +++ b/sei-cosmos/cosmovisor/upgrade_test.go @@ -15,7 +15,7 @@ import ( "github.com/otiai10/copy" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/cosmovisor" + "github.com/sei-protocol/sei-chain/sei-cosmos/cosmovisor" ) type upgradeTestSuite struct { diff --git a/sei-cosmos/crypto/armor.go b/sei-cosmos/crypto/armor.go index 2540a57760..9588448b4a 100644 --- a/sei-cosmos/crypto/armor.go +++ b/sei-cosmos/crypto/armor.go @@ -5,15 +5,15 @@ import ( "encoding/hex" "errors" "fmt" - "io/ioutil" + "io" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" "github.com/tendermint/crypto/bcrypt" "golang.org/x/crypto/nacl/secretbox" - "golang.org/x/crypto/openpgp/armor" + "golang.org/x/crypto/openpgp/armor" //nolint:staticcheck // SA1019: not worth fixing - cosmoscrypto "github.com/cosmos/cosmos-sdk/crypto/utils" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + cosmoscrypto "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/utils" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const ( @@ -50,7 +50,7 @@ func DecodeArmor(armorStr string) (blockType string, headers map[string]string, if err != nil { return "", nil, nil, err } - data, err = ioutil.ReadAll(block.Body) + data, err = io.ReadAll(block.Body) if err != nil { return "", nil, nil, err } diff --git a/sei-cosmos/crypto/codec/amino.go b/sei-cosmos/crypto/codec/amino.go index 5b0c97ea54..d16f60acc9 100644 --- a/sei-cosmos/crypto/codec/amino.go +++ b/sei-cosmos/crypto/codec/amino.go @@ -1,12 +1,12 @@ package codec import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // RegisterCrypto registers all crypto dependency types with the provided Amino diff --git a/sei-cosmos/crypto/codec/proto.go b/sei-cosmos/crypto/codec/proto.go index b4e45392ef..c202facf6e 100644 --- a/sei-cosmos/crypto/codec/proto.go +++ b/sei-cosmos/crypto/codec/proto.go @@ -1,13 +1,13 @@ package codec import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1" - "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256r1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // RegisterInterfaces registers the sdk.Tx interface. diff --git a/sei-cosmos/crypto/codec/tm.go b/sei-cosmos/crypto/codec/tm.go index ec308a6e07..c11bdc4775 100644 --- a/sei-cosmos/crypto/codec/tm.go +++ b/sei-cosmos/crypto/codec/tm.go @@ -4,10 +4,10 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" pb "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // FromTmProtoPublicKey converts a TM's pb.PublicKey into our own PubKey. diff --git a/sei-cosmos/crypto/hd/algo.go b/sei-cosmos/crypto/hd/algo.go index 845cd0adf1..9659f11ecc 100644 --- a/sei-cosmos/crypto/hd/algo.go +++ b/sei-cosmos/crypto/hd/algo.go @@ -3,9 +3,9 @@ package hd import ( bip39 "github.com/cosmos/go-bip39" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519" - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // PubKeyType defines an algorithm to derive key-pairs which can be used for cryptographic signing. diff --git a/sei-cosmos/crypto/hd/algo_test.go b/sei-cosmos/crypto/hd/algo_test.go index 767b421540..ec21238d95 100644 --- a/sei-cosmos/crypto/hd/algo_test.go +++ b/sei-cosmos/crypto/hd/algo_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" ) func TestDefaults(t *testing.T) { diff --git a/sei-cosmos/crypto/hd/fundraiser_test.go b/sei-cosmos/crypto/hd/fundraiser_test.go index 2e6d55fa16..735426ddcd 100644 --- a/sei-cosmos/crypto/hd/fundraiser_test.go +++ b/sei-cosmos/crypto/hd/fundraiser_test.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "encoding/json" "fmt" - "io/ioutil" + "os" "testing" "github.com/stretchr/testify/require" @@ -13,8 +13,8 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" ) type addrData struct { @@ -35,7 +35,7 @@ func initFundraiserTestVectors(t *testing.T) []addrData { // var hdPath string = "m/44'/118'/0'/0/0" var hdToAddrTable []addrData - b, err := ioutil.ReadFile("testdata/test.json") + b, err := os.ReadFile("testdata/test.json") if err != nil { t.Fatalf("could not read fundraiser test vector file (testdata/test.json): %s", err) } diff --git a/sei-cosmos/crypto/hd/hdpath.go b/sei-cosmos/crypto/hd/hdpath.go index 3430fb9a3f..ed9d2ef724 100644 --- a/sei-cosmos/crypto/hd/hdpath.go +++ b/sei-cosmos/crypto/hd/hdpath.go @@ -99,7 +99,7 @@ func NewParamsFromPath(path string) (*BIP44Params, error) { fmt.Errorf("fourth and fifth field in path must not be hardened (ie. not contain the suffix ', got %s and %s", spl[3], spl[4]) } - if !(change == 0 || change == 1) { + if change != 0 && change != 1 { return nil, fmt.Errorf("change field can only be 0 or 1") } diff --git a/sei-cosmos/crypto/hd/hdpath_test.go b/sei-cosmos/crypto/hd/hdpath_test.go index ef63439dc2..91ed8ccef5 100644 --- a/sei-cosmos/crypto/hd/hdpath_test.go +++ b/sei-cosmos/crypto/hd/hdpath_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" bip39 "github.com/cosmos/go-bip39" "github.com/stretchr/testify/require" diff --git a/sei-cosmos/crypto/keyring/codec.go b/sei-cosmos/crypto/keyring/codec.go index ca55fc3229..f9b18f39cb 100644 --- a/sei-cosmos/crypto/keyring/codec.go +++ b/sei-cosmos/crypto/keyring/codec.go @@ -1,9 +1,9 @@ package keyring import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" ) func init() { diff --git a/sei-cosmos/crypto/keyring/info.go b/sei-cosmos/crypto/keyring/info.go index a2de9288ae..9269d47d1a 100644 --- a/sei-cosmos/crypto/keyring/info.go +++ b/sei-cosmos/crypto/keyring/info.go @@ -3,12 +3,12 @@ package keyring import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec/legacy" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Info is the publicly exposed information about a keypair diff --git a/sei-cosmos/crypto/keyring/keyring.go b/sei-cosmos/crypto/keyring/keyring.go index 21971cd7ae..752104fe01 100644 --- a/sei-cosmos/crypto/keyring/keyring.go +++ b/sei-cosmos/crypto/keyring/keyring.go @@ -16,16 +16,16 @@ import ( tmcrypto "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" "github.com/tendermint/crypto/bcrypt" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519" - "github.com/cosmos/cosmos-sdk/crypto/ledger" - "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/input" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/ledger" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Backend options for Keyring @@ -653,7 +653,7 @@ func newFileBackendKeyringConfig(name, dir string, buf io.Reader) keyring.Config func newRealPrompt(dir string, buf io.Reader) func(string) (string, error) { return func(prompt string) (string, error) { keyhashStored := false - keyhashFilePath := filepath.Join(dir, "keyhash") + keyhashFilePath := filepath.Clean(filepath.Join(dir, "keyhash")) var keyhash []byte @@ -690,13 +690,13 @@ func newRealPrompt(dir string, buf io.Reader) func(string) (string, error) { // but we only log the error. // // lgtm [go/clear-text-logging] - fmt.Fprintln(os.Stderr, err) + _, _ = fmt.Fprintln(os.Stderr, err) continue } if keyhashStored { if err := bcrypt.CompareHashAndPassword(keyhash, []byte(pass)); err != nil { - fmt.Fprintln(os.Stderr, "incorrect passphrase") + _, _ = fmt.Fprintln(os.Stderr, "incorrect passphrase") continue } @@ -709,23 +709,24 @@ func newRealPrompt(dir string, buf io.Reader) func(string) (string, error) { // but we only log the error. // // lgtm [go/clear-text-logging] - fmt.Fprintln(os.Stderr, err) + _, _ = fmt.Fprintln(os.Stderr, err) continue } if pass != reEnteredPass { - fmt.Fprintln(os.Stderr, "passphrase do not match") + _, _ = fmt.Fprintln(os.Stderr, "passphrase do not match") continue } saltBytes := tmcrypto.CRandBytes(16) passwordHash, err := bcrypt.GenerateFromPassword(saltBytes, []byte(pass), 2) if err != nil { - fmt.Fprintln(os.Stderr, err) + _, _ = fmt.Fprintln(os.Stderr, err) continue } - if err := os.WriteFile(dir+"/keyhash", passwordHash, 0555); err != nil { + name := filepath.Clean(filepath.Join(dir, "keyhash")) + if err := os.WriteFile(name, passwordHash, 0600); err != nil { return "", err } diff --git a/sei-cosmos/crypto/keyring/keyring_ledger_test.go b/sei-cosmos/crypto/keyring/keyring_ledger_test.go index 94e36bbb89..3bba9a46d6 100644 --- a/sei-cosmos/crypto/keyring/keyring_ledger_test.go +++ b/sei-cosmos/crypto/keyring/keyring_ledger_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestInMemoryCreateLedger(t *testing.T) { diff --git a/sei-cosmos/crypto/keyring/keyring_test.go b/sei-cosmos/crypto/keyring/keyring_test.go index 955e5e7e1e..34f74d1922 100644 --- a/sei-cosmos/crypto/keyring/keyring_test.go +++ b/sei-cosmos/crypto/keyring/keyring_test.go @@ -10,13 +10,13 @@ import ( bip39 "github.com/cosmos/go-bip39" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/sei-cosmos/crypto/keyring/output.go b/sei-cosmos/crypto/keyring/output.go index f8dd2a7f9d..61b911e798 100644 --- a/sei-cosmos/crypto/keyring/output.go +++ b/sei-cosmos/crypto/keyring/output.go @@ -2,14 +2,15 @@ package keyring import ( "encoding/hex" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // TODO: Move this file to client/keys @@ -27,7 +28,7 @@ type KeyOutput struct { } // NewKeyOutput creates a default KeyOutput instance without Mnemonic, Threshold and PubKeys -func NewKeyOutput(name string, keyType KeyType, a sdk.Address, pk cryptotypes.PubKey) (KeyOutput, error) { // nolint:interfacer +func NewKeyOutput(name string, keyType KeyType, a sdk.Address, pk cryptotypes.PubKey) (KeyOutput, error) { apk, err := codectypes.NewAnyWithValue(pk) if err != nil { return KeyOutput{}, err @@ -105,7 +106,6 @@ func PopulateEvmAddrIfApplicable(info Info, o KeyOutput) (KeyOutput, error) { return o, err } o.EvmAddress = crypto.PubkeyToAddress(privKey.PublicKey).Hex() - } else { } return o, nil } diff --git a/sei-cosmos/crypto/keyring/output_test.go b/sei-cosmos/crypto/keyring/output_test.go index 6c8f5c40e8..c438fbed65 100644 --- a/sei-cosmos/crypto/keyring/output_test.go +++ b/sei-cosmos/crypto/keyring/output_test.go @@ -4,14 +4,14 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519" "github.com/stretchr/testify/require" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestBech32KeysOutput(t *testing.T) { diff --git a/sei-cosmos/crypto/keyring/signing_algorithms.go b/sei-cosmos/crypto/keyring/signing_algorithms.go index 920dd7b553..1c82725d84 100644 --- a/sei-cosmos/crypto/keyring/signing_algorithms.go +++ b/sei-cosmos/crypto/keyring/signing_algorithms.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" ) // SignatureAlgo defines the interface for a keyring supported algorithm. diff --git a/sei-cosmos/crypto/keyring/signing_algorithms_test.go b/sei-cosmos/crypto/keyring/signing_algorithms_test.go index 14283b9108..59d422677a 100644 --- a/sei-cosmos/crypto/keyring/signing_algorithms_test.go +++ b/sei-cosmos/crypto/keyring/signing_algorithms_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" ) func TestNewSigningAlgoByString(t *testing.T) { diff --git a/sei-cosmos/crypto/keyring/types.go b/sei-cosmos/crypto/keyring/types.go index 0b893ea4cc..8ba1e6b012 100644 --- a/sei-cosmos/crypto/keyring/types.go +++ b/sei-cosmos/crypto/keyring/types.go @@ -1,8 +1,8 @@ package keyring import ( - "github.com/cosmos/cosmos-sdk/crypto/hd" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // Language is a language to create the BIP 39 mnemonic in. diff --git a/sei-cosmos/crypto/keyring/types_test.go b/sei-cosmos/crypto/keyring/types_test.go index daf75b5d84..2293d70243 100644 --- a/sei-cosmos/crypto/keyring/types_test.go +++ b/sei-cosmos/crypto/keyring/types_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func Test_writeReadLedgerInfo(t *testing.T) { diff --git a/sei-cosmos/crypto/keys/ed25519/ed25519.go b/sei-cosmos/crypto/keys/ed25519/ed25519.go index f3e0256b82..6f302d456e 100644 --- a/sei-cosmos/crypto/keys/ed25519/ed25519.go +++ b/sei-cosmos/crypto/keys/ed25519/ed25519.go @@ -10,10 +10,10 @@ import ( "github.com/hdevalence/ed25519consensus" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - cosmoscrypto "github.com/cosmos/cosmos-sdk/crypto/utils" - "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + cosmoscrypto "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) //------------------------------------- diff --git a/sei-cosmos/crypto/keys/ed25519/ed25519_test.go b/sei-cosmos/crypto/keys/ed25519/ed25519_test.go index ad6a731b33..3703b3d13c 100644 --- a/sei-cosmos/crypto/keys/ed25519/ed25519_test.go +++ b/sei-cosmos/crypto/keys/ed25519/ed25519_test.go @@ -10,12 +10,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) func TestSignAndValidateEd25519(t *testing.T) { @@ -172,11 +172,11 @@ func TestMarshalAmino(t *testing.T) { require.Equal(t, tc.msg, tc.typ) // Do a round trip of encoding/decoding JSON. - bz, err = aminoCdc.MarshalJSON(tc.msg) + bz, err = aminoCdc.MarshalAsJSON(tc.msg) require.NoError(t, err) require.Equal(t, tc.expJSON, string(bz)) - err = aminoCdc.UnmarshalJSON(bz, tc.typ) + err = aminoCdc.UnmarshalAsJSON(bz, tc.typ) require.NoError(t, err) require.Equal(t, tc.msg, tc.typ) @@ -209,7 +209,7 @@ func TestMarshalAmino_BackwardsCompatibility(t *testing.T) { "ed25519 private key, JSON", tmPrivKey, privKey, - aminoCdc.MarshalJSON, + aminoCdc.MarshalAsJSON, }, { "ed25519 public key, binary", @@ -221,7 +221,7 @@ func TestMarshalAmino_BackwardsCompatibility(t *testing.T) { "ed25519 public key, JSON", tmPubKey, pubKey, - aminoCdc.MarshalJSON, + aminoCdc.MarshalAsJSON, }, } diff --git a/sei-cosmos/crypto/keys/ed25519/keys.pb.go b/sei-cosmos/crypto/keys/ed25519/keys.pb.go index 227b187013..66e3579eb8 100644 --- a/sei-cosmos/crypto/keys/ed25519/keys.pb.go +++ b/sei-cosmos/crypto/keys/ed25519/keys.pb.go @@ -126,7 +126,7 @@ func init() { func init() { proto.RegisterFile("cosmos/crypto/ed25519/keys.proto", fileDescriptor_48fe3336771e732d) } var fileDescriptor_48fe3336771e732d = []byte{ - // 221 bytes of a gzipped FileDescriptorProto + // 231 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x2e, 0xaa, 0x2c, 0x28, 0xc9, 0xd7, 0x4f, 0x4d, 0x31, 0x32, 0x35, 0x35, 0xb4, 0xd4, 0xcf, 0x4e, 0xad, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x85, 0xa8, @@ -136,11 +136,12 @@ var fileDescriptor_48fe3336771e732d = []byte{ 0x40, 0xb5, 0x42, 0x2f, 0xa0, 0x34, 0x29, 0x27, 0x33, 0xd9, 0x3b, 0xb5, 0x32, 0x08, 0xa4, 0xd0, 0x8a, 0x65, 0xc6, 0x02, 0x79, 0x06, 0x25, 0x2b, 0x2e, 0xf6, 0x80, 0xa2, 0xcc, 0x32, 0x90, 0x01, 0xfa, 0xc8, 0x06, 0xc8, 0xfe, 0xba, 0x27, 0x2f, 0x89, 0x6e, 0x40, 0x51, 0x66, 0x59, 0x62, 0x49, - 0x2a, 0xcc, 0x04, 0x27, 0xaf, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, - 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, - 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0xf9, 0x17, 0x4c, 0xe9, - 0x16, 0xa7, 0x64, 0xc3, 0xbc, 0x0e, 0xf2, 0x32, 0xcc, 0xec, 0x24, 0x36, 0xb0, 0x77, 0x8c, 0x01, - 0x01, 0x00, 0x00, 0xff, 0xff, 0xb0, 0xd8, 0x01, 0xc0, 0x1f, 0x01, 0x00, 0x00, + 0x2a, 0xcc, 0x04, 0xa7, 0xa8, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, + 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x72, + 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x2f, 0x4e, 0xcd, 0xd4, 0x05, + 0xbb, 0x35, 0x39, 0x3f, 0x07, 0xcc, 0x49, 0xce, 0x48, 0xcc, 0xcc, 0x83, 0xb0, 0x50, 0x82, 0x02, + 0x14, 0x04, 0x30, 0xbb, 0x92, 0xd8, 0xc0, 0x5a, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3b, + 0xdc, 0x10, 0x46, 0x2f, 0x01, 0x00, 0x00, } func (m *PubKey) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/crypto/keys/internal/benchmarking/bench.go b/sei-cosmos/crypto/keys/internal/benchmarking/bench.go index aab5d5f303..fb19f68aa7 100644 --- a/sei-cosmos/crypto/keys/internal/benchmarking/bench.go +++ b/sei-cosmos/crypto/keys/internal/benchmarking/bench.go @@ -5,7 +5,7 @@ import ( "io" "testing" - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // The code in this file is adapted from agl/ed25519. diff --git a/sei-cosmos/crypto/keys/internal/ecdsa/pubkey.go b/sei-cosmos/crypto/keys/internal/ecdsa/pubkey.go index 0853e2c2fc..15d239f0ca 100644 --- a/sei-cosmos/crypto/keys/internal/ecdsa/pubkey.go +++ b/sei-cosmos/crypto/keys/internal/ecdsa/pubkey.go @@ -9,8 +9,8 @@ import ( tmcrypto "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // signatureFromBytes function roughly copied from secp256k1_nocgo.go diff --git a/sei-cosmos/crypto/keys/multisig/amino.go b/sei-cosmos/crypto/keys/multisig/amino.go index c6d0aab1d7..e68102a3a8 100644 --- a/sei-cosmos/crypto/keys/multisig/amino.go +++ b/sei-cosmos/crypto/keys/multisig/amino.go @@ -1,9 +1,12 @@ package multisig import ( - types "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "fmt" + "math" + + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // tmMultisig implements a K of N threshold multisig. It is used for @@ -48,6 +51,10 @@ func protoToTm(protoPk *LegacyAminoPubKey) (tmMultisig, error) { // tmToProto converts a tmMultisig into a LegacyAminoPubKey. func tmToProto(tmPk tmMultisig) (*LegacyAminoPubKey, error) { + if tmPk.K > math.MaxUint32 { + return nil, fmt.Errorf("threshold %d out of uint32 range", tmPk.K) + } + var err error pks := make([]*types.Any, len(tmPk.PubKeys)) for i, pk := range tmPk.PubKeys { @@ -58,7 +65,7 @@ func tmToProto(tmPk tmMultisig) (*LegacyAminoPubKey, error) { } return &LegacyAminoPubKey{ - Threshold: uint32(tmPk.K), + Threshold: uint32(tmPk.K), //nolint:gosec // bounds checked above PubKeys: pks, }, nil } @@ -84,7 +91,7 @@ func (m *LegacyAminoPubKey) UnmarshalAminoJSON(tmPk tmMultisig) error { for i := range m.PubKeys { if m.PubKeys[i] == nil { // create the compat jsonBz value - bz, err := AminoCdc.MarshalJSON(tmPk.PubKeys[i]) + bz, err := AminoCdc.MarshalAsJSON(tmPk.PubKeys[i]) if err != nil { return err } diff --git a/sei-cosmos/crypto/keys/multisig/codec.go b/sei-cosmos/crypto/keys/multisig/codec.go index beeb7d41b0..8a2bb611d0 100644 --- a/sei-cosmos/crypto/keys/multisig/codec.go +++ b/sei-cosmos/crypto/keys/multisig/codec.go @@ -1,11 +1,11 @@ package multisig import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // TODO: Figure out API for others to either add their own pubkey types, or diff --git a/sei-cosmos/crypto/keys/multisig/keys.pb.go b/sei-cosmos/crypto/keys/multisig/keys.pb.go index 27ccf0fa5a..eabc1f5337 100644 --- a/sei-cosmos/crypto/keys/multisig/keys.pb.go +++ b/sei-cosmos/crypto/keys/multisig/keys.pb.go @@ -5,9 +5,9 @@ package multisig import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" io "io" math "math" math_bits "math/bits" @@ -72,25 +72,26 @@ func init() { func init() { proto.RegisterFile("cosmos/crypto/multisig/keys.proto", fileDescriptor_46b57537e097d47d) } var fileDescriptor_46b57537e097d47d = []byte{ - // 287 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4c, 0xce, 0x2f, 0xce, - 0xcd, 0x2f, 0xd6, 0x4f, 0x2e, 0xaa, 0x2c, 0x28, 0xc9, 0xd7, 0xcf, 0x2d, 0xcd, 0x29, 0xc9, 0x2c, - 0xce, 0x4c, 0xd7, 0xcf, 0x4e, 0xad, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x83, - 0x28, 0xd1, 0x83, 0x28, 0xd1, 0x83, 0x29, 0x91, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x2b, 0xd1, - 0x07, 0xb1, 0x20, 0xaa, 0xa5, 0x24, 0xd3, 0xf3, 0xf3, 0xd3, 0x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xdd, 0xe2, 0x94, 0x6c, 0x58, 0x08, 0x82, 0x8c, 0x85, 0x07, 0x63, 0x12, 0x1b, 0xd8, 0x2d, - 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, 0x6e, 0xbf, 0x3c, 0x67, 0x01, 0x00, 0x00, + // 296 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xb1, 0x4e, 0xc3, 0x30, + 0x10, 0x86, 0x63, 0x40, 0x20, 0x52, 0x81, 0xa0, 0xaa, 0x50, 0xa9, 0x84, 0x53, 0x32, 0x75, 0xc1, + 0x96, 0xca, 0xd6, 0xad, 0x5d, 0x61, 0x40, 0x15, 0x13, 0x0c, 0x28, 0x36, 0xc6, 0xb1, 0x70, 0x72, + 0x51, 0x1d, 0x0f, 0x7e, 0x03, 0x46, 0x1e, 0x01, 0x89, 0x97, 0x61, 0xec, 0xc8, 0x54, 0xa1, 0xe4, + 0x0d, 0xfa, 0x04, 0x28, 0xb1, 0x5a, 0xc4, 0x76, 0xa7, 0xff, 0xbb, 0xfb, 0x4e, 0x17, 0x5e, 0x72, + 0x30, 0x19, 0x18, 0xca, 0x17, 0xae, 0x28, 0x81, 0x66, 0x56, 0x97, 0xca, 0x28, 0x49, 0x5f, 0x85, + 0x33, 0xa4, 0x58, 0x40, 0x09, 0xdd, 0x33, 0x8f, 0x10, 0x8f, 0x90, 0x0d, 0x32, 0xe8, 0x49, 0x90, + 0xd0, 0x22, 0xb4, 0xa9, 0x3c, 0x3d, 0x38, 0x97, 0x00, 0x52, 0x0b, 0xda, 0x76, 0xcc, 0xbe, 0xd0, + 0x24, 0x77, 0x3e, 0x8a, 0x3f, 0x51, 0x78, 0x7a, 0x2b, 0x64, 0xc2, 0xdd, 0x34, 0x53, 0x39, 0xdc, + 0x59, 0x76, 0x23, 0x5c, 0x77, 0x1c, 0x1e, 0x96, 0xe9, 0x42, 0x98, 0x14, 0xf4, 0x73, 0x1f, 0x0d, + 0xd1, 0xe8, 0x68, 0xd6, 0x5b, 0xaf, 0xa2, 0x13, 0x97, 0x64, 0x7a, 0x12, 0x6f, 0xa3, 0x78, 0xfe, + 0x87, 0x75, 0xef, 0xc3, 0x4e, 0x61, 0x99, 0x56, 0xfc, 0xa9, 0xb9, 0xb3, 0xbf, 0x33, 0xdc, 0x1d, + 0x75, 0xc6, 0x3d, 0xe2, 0xd5, 0x64, 0xa3, 0x26, 0xd3, 0xdc, 0xcd, 0x2e, 0xaa, 0x55, 0x74, 0xe0, + 0x55, 0x66, 0xbd, 0x8a, 0x8e, 0xfd, 0xda, 0xc2, 0xb2, 0x66, 0x32, 0x9e, 0x87, 0x7e, 0x4f, 0x93, + 0x4e, 0xf6, 0xde, 0x3e, 0xa2, 0x60, 0xf6, 0xf8, 0x55, 0x61, 0xb4, 0xac, 0x30, 0xfa, 0xa9, 0x30, + 0x7a, 0xaf, 0x71, 0xb0, 0xac, 0x71, 0xf0, 0x5d, 0xe3, 0xe0, 0x61, 0x2a, 0x55, 0x99, 0x5a, 0x46, + 0x38, 0x64, 0xd4, 0x08, 0x75, 0xd5, 0x7a, 0x38, 0xe8, 0xb6, 0xe1, 0x69, 0xa2, 0x72, 0x5f, 0xfd, + 0xfb, 0x68, 0xa3, 0xd9, 0xbe, 0x95, 0xed, 0xb7, 0x33, 0xd7, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x8d, 0x94, 0x57, 0x0c, 0x77, 0x01, 0x00, 0x00, } func (m *LegacyAminoPubKey) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/crypto/keys/multisig/multisig.go b/sei-cosmos/crypto/keys/multisig/multisig.go index 5b903dc4b3..760497caaf 100644 --- a/sei-cosmos/crypto/keys/multisig/multisig.go +++ b/sei-cosmos/crypto/keys/multisig/multisig.go @@ -5,10 +5,10 @@ import ( tmcrypto "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - multisigtypes "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + multisigtypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) var _ multisigtypes.PubKey = &LegacyAminoPubKey{} @@ -29,7 +29,7 @@ func NewLegacyAminoPubKey(threshold int, pubKeys []cryptotypes.PubKey) *LegacyAm if err != nil { panic(err) } - return &LegacyAminoPubKey{Threshold: uint32(threshold), PubKeys: anyPubKeys} + return &LegacyAminoPubKey{Threshold: uint32(threshold), PubKeys: anyPubKeys} //nolint:gosec // threshold is validated positive above and practically small } // Address implements cryptotypes.PubKey Address method diff --git a/sei-cosmos/crypto/keys/multisig/multisig_test.go b/sei-cosmos/crypto/keys/multisig/multisig_test.go index 801d62ab5c..71a99a074d 100644 --- a/sei-cosmos/crypto/keys/multisig/multisig_test.go +++ b/sei-cosmos/crypto/keys/multisig/multisig_test.go @@ -7,18 +7,18 @@ import ( "github.com/sei-protocol/sei-chain/app" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" ) func TestNewMultiSig(t *testing.T) { @@ -376,7 +376,7 @@ func TestAminoBinary(t *testing.T) { func TestAminoMarshalJSON(t *testing.T) { pubkeys := generatePubKeys(2) multisigKey := kmultisig.NewLegacyAminoPubKey(2, pubkeys) - bz, err := legacy.Cdc.MarshalJSON(multisigKey) + bz, err := legacy.Cdc.MarshalAsJSON(multisigKey) require.NoError(t, err) // Note the quotes around `"2"`. They are present because we are overriding @@ -424,7 +424,7 @@ func TestAminoUnmarshalJSON(t *testing.T) { cryptocodec.RegisterCrypto(cdc) var pk cryptotypes.PubKey - err := cdc.UnmarshalJSON([]byte(pkJSON), &pk) + err := cdc.UnmarshalAsJSON([]byte(pkJSON), &pk) require.NoError(t, err) lpk := pk.(*kmultisig.LegacyAminoPubKey) require.Equal(t, uint32(3), lpk.Threshold) diff --git a/sei-cosmos/crypto/keys/secp256k1/bench_test.go b/sei-cosmos/crypto/keys/secp256k1/bench_test.go index a9f694de75..434aa0fc46 100644 --- a/sei-cosmos/crypto/keys/secp256k1/bench_test.go +++ b/sei-cosmos/crypto/keys/secp256k1/bench_test.go @@ -4,8 +4,8 @@ import ( "io" "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/internal/benchmarking" - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/internal/benchmarking" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) func BenchmarkKeyGeneration(b *testing.B) { diff --git a/sei-cosmos/crypto/keys/secp256k1/internal/secp256k1/dummy.go b/sei-cosmos/crypto/keys/secp256k1/internal/secp256k1/dummy.go index 4ad93ac48e..6a9ca5c078 100644 --- a/sei-cosmos/crypto/keys/secp256k1/internal/secp256k1/dummy.go +++ b/sei-cosmos/crypto/keys/secp256k1/internal/secp256k1/dummy.go @@ -15,7 +15,7 @@ package secp256k1 import ( - _ "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/include" - _ "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/src" - _ "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/src/modules/recovery" + _ "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/include" + _ "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/src" + _ "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/src/modules/recovery" ) diff --git a/sei-cosmos/crypto/keys/secp256k1/keys.pb.go b/sei-cosmos/crypto/keys/secp256k1/keys.pb.go index afcbab54b0..b9c490953b 100644 --- a/sei-cosmos/crypto/keys/secp256k1/keys.pb.go +++ b/sei-cosmos/crypto/keys/secp256k1/keys.pb.go @@ -126,7 +126,7 @@ func init() { } var fileDescriptor_e0835e68ebdcb224 = []byte{ - // 185 bytes of a gzipped FileDescriptorProto + // 195 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4a, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x2e, 0xaa, 0x2c, 0x28, 0xc9, 0xd7, 0x2f, 0x4e, 0x4d, 0x2e, 0x30, 0x32, 0x35, 0xcb, 0x36, 0xd4, 0xcf, 0x4e, 0xad, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, @@ -134,11 +134,12 @@ var fileDescriptor_e0835e68ebdcb224 = []byte{ 0xd1, 0x07, 0xb1, 0x20, 0xca, 0x95, 0x14, 0xb8, 0xd8, 0x02, 0x4a, 0x93, 0xbc, 0x53, 0x2b, 0x85, 0x04, 0xb8, 0x98, 0xb3, 0x53, 0x2b, 0x25, 0x18, 0x15, 0x18, 0x35, 0x78, 0x82, 0x40, 0x4c, 0x2b, 0x96, 0x19, 0x0b, 0xe4, 0x19, 0x94, 0xa4, 0xb9, 0xd8, 0x03, 0x8a, 0x32, 0xcb, 0xb0, 0x2a, 0x71, - 0xf2, 0x39, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, - 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xa3, 0xf4, 0xcc, 0x92, - 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x98, 0xb3, 0xc1, 0x94, 0x6e, 0x71, 0x4a, 0x36, - 0xcc, 0x07, 0x20, 0x77, 0x23, 0xbc, 0x91, 0xc4, 0x06, 0x76, 0x93, 0x31, 0x20, 0x00, 0x00, 0xff, - 0xff, 0x63, 0x00, 0x68, 0x16, 0xe8, 0x00, 0x00, 0x00, + 0x8a, 0x39, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, + 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xa7, 0xf4, 0xcc, 0x92, + 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0xe2, 0xd4, 0x4c, 0x5d, 0xb0, 0x75, 0xc9, 0xf9, + 0x39, 0x60, 0x4e, 0x72, 0x46, 0x62, 0x66, 0x1e, 0x84, 0x85, 0xe2, 0x23, 0x90, 0x3f, 0x10, 0xde, + 0x4a, 0x62, 0x03, 0x6b, 0x32, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x0b, 0xb2, 0x39, 0x6c, 0xf8, + 0x00, 0x00, 0x00, } func (m *PubKey) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/crypto/keys/secp256k1/secp256k1.go b/sei-cosmos/crypto/keys/secp256k1/secp256k1.go index f3ac12c538..34d0d9a7a9 100644 --- a/sei-cosmos/crypto/keys/secp256k1/secp256k1.go +++ b/sei-cosmos/crypto/keys/secp256k1/secp256k1.go @@ -9,13 +9,12 @@ import ( "math/big" secp256k1 "github.com/btcsuite/btcd/btcec/v2" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + cosmoscryptoutils "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" - "golang.org/x/crypto/ripemd160" // nolint: staticcheck // necessary for Bitcoin address format - - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - cosmoscryptoutils "github.com/cosmos/cosmos-sdk/crypto/utils" - "github.com/cosmos/cosmos-sdk/types/errors" + "golang.org/x/crypto/ripemd160" //nolint:gosec,staticcheck // necessary for Bitcoin/Cosmos address derivation standard ) var _ cryptotypes.PrivKey = &PrivKey{} @@ -142,7 +141,7 @@ func GenPrivKeyFromSecret(secret []byte) *PrivKey { var _ cryptotypes.PubKey = &PubKey{} var _ codec.AminoMarshaler = &PubKey{} -// PubKeySize is comprised of 32 bytes for one field element +// PubKeySize comprises 32 bytes for one field element // (the x-coordinate), plus one byte for the parity of the y-coordinate. const PubKeySize = 33 @@ -153,8 +152,8 @@ func (pubKey *PubKey) Address() crypto.Address { } sha := sha256.Sum256(pubKey.Key) - hasherRIPEMD160 := ripemd160.New() - hasherRIPEMD160.Write(sha[:]) // does not error + hasherRIPEMD160 := ripemd160.New() //nolint:gosec // RIPEMD-160 is required by the Bitcoin/Cosmos address derivation standard, not used for general-purpose hashing + hasherRIPEMD160.Write(sha[:]) // does not error return crypto.Address(hasherRIPEMD160.Sum(nil)) } diff --git a/sei-cosmos/crypto/keys/secp256k1/secp256k1_cgo.go b/sei-cosmos/crypto/keys/secp256k1/secp256k1_cgo.go index 83c4facfc8..9d00a77c67 100644 --- a/sei-cosmos/crypto/keys/secp256k1/secp256k1_cgo.go +++ b/sei-cosmos/crypto/keys/secp256k1/secp256k1_cgo.go @@ -4,8 +4,8 @@ package secp256k1 import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1/internal/secp256k1" - cosmoscrypto "github.com/cosmos/cosmos-sdk/crypto/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1/internal/secp256k1" + cosmoscrypto "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/utils" ) // Sign creates an ECDSA signature on curve Secp256k1, using SHA256 on the msg. diff --git a/sei-cosmos/crypto/keys/secp256k1/secp256k1_nocgo.go b/sei-cosmos/crypto/keys/secp256k1/secp256k1_nocgo.go index 0adf625379..03d2a27b90 100644 --- a/sei-cosmos/crypto/keys/secp256k1/secp256k1_nocgo.go +++ b/sei-cosmos/crypto/keys/secp256k1/secp256k1_nocgo.go @@ -6,7 +6,7 @@ package secp256k1 import ( secp256k1 "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/ecdsa" - cosmoscrypto "github.com/cosmos/cosmos-sdk/crypto/utils" + cosmoscrypto "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/utils" ) // Sign creates an ECDSA signature on curve Secp256k1, using SHA256 on the msg. diff --git a/sei-cosmos/crypto/keys/secp256k1/secp256k1_test.go b/sei-cosmos/crypto/keys/secp256k1/secp256k1_test.go index cbcac7221d..e2979ffb86 100644 --- a/sei-cosmos/crypto/keys/secp256k1/secp256k1_test.go +++ b/sei-cosmos/crypto/keys/secp256k1/secp256k1_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) type keyData struct { @@ -251,11 +251,11 @@ func TestMarshalAmino(t *testing.T) { require.Equal(t, tc.msg, tc.typ) // Do a round trip of encoding/decoding JSON. - bz, err = aminoCdc.MarshalJSON(tc.msg) + bz, err = aminoCdc.MarshalAsJSON(tc.msg) require.NoError(t, err) require.Equal(t, tc.expJSON, string(bz)) - err = aminoCdc.UnmarshalJSON(bz, tc.typ) + err = aminoCdc.UnmarshalAsJSON(bz, tc.typ) require.NoError(t, err) require.Equal(t, tc.msg, tc.typ) diff --git a/sei-cosmos/crypto/keys/secp256r1/doc.go b/sei-cosmos/crypto/keys/secp256r1/doc.go index be938dc77f..04fbb561f1 100644 --- a/sei-cosmos/crypto/keys/secp256r1/doc.go +++ b/sei-cosmos/crypto/keys/secp256r1/doc.go @@ -6,8 +6,8 @@ import ( "crypto/elliptic" "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) const ( diff --git a/sei-cosmos/crypto/keys/secp256r1/keys.pb.go b/sei-cosmos/crypto/keys/secp256r1/keys.pb.go index 898f19a123..8ea143bf84 100644 --- a/sei-cosmos/crypto/keys/secp256r1/keys.pb.go +++ b/sei-cosmos/crypto/keys/secp256r1/keys.pb.go @@ -117,7 +117,7 @@ func init() { } var fileDescriptor_b90c18415095c0c3 = []byte{ - // 221 bytes of a gzipped FileDescriptorProto + // 231 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4a, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x2e, 0xaa, 0x2c, 0x28, 0xc9, 0xd7, 0x2f, 0x4e, 0x4d, 0x2e, 0x30, 0x32, 0x35, 0x2b, 0x32, 0xd4, 0xcf, 0x4e, 0xad, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, @@ -126,12 +126,13 @@ var fileDescriptor_b90c18415095c0c3 = []byte{ 0x64, 0xb9, 0x98, 0xb3, 0x53, 0x2b, 0x25, 0x18, 0x15, 0x18, 0x35, 0x78, 0x9c, 0xb8, 0x6f, 0xdd, 0x93, 0x67, 0x4f, 0x4d, 0x4e, 0x29, 0x4e, 0x0c, 0xf0, 0x0e, 0x02, 0x89, 0x2b, 0xe9, 0x71, 0xb1, 0x07, 0x14, 0x65, 0x96, 0x81, 0x54, 0x2a, 0x73, 0xb1, 0x15, 0xa7, 0x26, 0x17, 0xa5, 0x96, 0x60, - 0x28, 0x0e, 0xf6, 0x0e, 0x82, 0x4a, 0x39, 0x45, 0x9c, 0x78, 0x28, 0xc7, 0x70, 0xe3, 0xa1, 0x1c, + 0x28, 0x0e, 0xf6, 0x0e, 0x82, 0x4a, 0x39, 0x65, 0x9c, 0x78, 0x28, 0xc7, 0x70, 0xe3, 0xa1, 0x1c, 0xc3, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, - 0x1c, 0xc3, 0x89, 0xc7, 0x72, 0x8c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, - 0x94, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0xf3, 0x1c, 0x98, 0xd2, - 0x2d, 0x4e, 0xc9, 0x86, 0xf9, 0x13, 0xe4, 0x3b, 0x84, 0x67, 0x93, 0xd8, 0xc0, 0x2e, 0x37, 0x06, - 0x04, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x65, 0x08, 0x5c, 0x0e, 0x01, 0x00, 0x00, + 0x1c, 0xc3, 0x89, 0xc7, 0x72, 0x8c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xe5, + 0x94, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x5f, 0x9c, 0x9a, 0xa9, 0x0b, + 0x76, 0x54, 0x72, 0x7e, 0x0e, 0x98, 0x93, 0x9c, 0x91, 0x98, 0x99, 0x07, 0x61, 0xa1, 0xf8, 0x1b, + 0xe4, 0x5b, 0x84, 0xe7, 0x93, 0xd8, 0xc0, 0x9a, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x6d, + 0xa9, 0x7a, 0x39, 0x1e, 0x01, 0x00, 0x00, } func (m *PubKey) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/crypto/keys/secp256r1/privkey.go b/sei-cosmos/crypto/keys/secp256r1/privkey.go index c6702111c7..a3f58487aa 100644 --- a/sei-cosmos/crypto/keys/secp256r1/privkey.go +++ b/sei-cosmos/crypto/keys/secp256r1/privkey.go @@ -1,8 +1,8 @@ package secp256r1 import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/internal/ecdsa" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/internal/ecdsa" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // GenPrivKey generates a new secp256r1 private key. It uses operating system randomness. diff --git a/sei-cosmos/crypto/keys/secp256r1/privkey_internal_test.go b/sei-cosmos/crypto/keys/secp256r1/privkey_internal_test.go index 9587958fbc..662ecd76c6 100644 --- a/sei-cosmos/crypto/keys/secp256r1/privkey_internal_test.go +++ b/sei-cosmos/crypto/keys/secp256r1/privkey_internal_test.go @@ -7,9 +7,9 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) var _ cryptotypes.PrivKey = &PrivKey{} diff --git a/sei-cosmos/crypto/keys/secp256r1/pubkey.go b/sei-cosmos/crypto/keys/secp256r1/pubkey.go index 79a10079bf..4ecbc4cad5 100644 --- a/sei-cosmos/crypto/keys/secp256r1/pubkey.go +++ b/sei-cosmos/crypto/keys/secp256r1/pubkey.go @@ -4,8 +4,8 @@ import ( "github.com/gogo/protobuf/proto" tmcrypto "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" - ecdsa "github.com/cosmos/cosmos-sdk/crypto/keys/internal/ecdsa" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + ecdsa "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/internal/ecdsa" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // String implements proto.Message interface. diff --git a/sei-cosmos/crypto/keys/secp256r1/pubkey_internal_test.go b/sei-cosmos/crypto/keys/secp256r1/pubkey_internal_test.go index 3df25ebedf..d08411ec43 100644 --- a/sei-cosmos/crypto/keys/secp256r1/pubkey_internal_test.go +++ b/sei-cosmos/crypto/keys/secp256r1/pubkey_internal_test.go @@ -6,9 +6,9 @@ import ( proto "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) var _ cryptotypes.PubKey = (*PubKey)(nil) diff --git a/sei-cosmos/crypto/keys/sr25519/keys.pb.go b/sei-cosmos/crypto/keys/sr25519/keys.pb.go index f1fc2c21e7..1d096e4066 100644 --- a/sei-cosmos/crypto/keys/sr25519/keys.pb.go +++ b/sei-cosmos/crypto/keys/sr25519/keys.pb.go @@ -5,9 +5,9 @@ package sr25519 import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_crypto_keys_sr25519_internal "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519/internal" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_crypto_keys_sr25519_internal "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519/internal" io "io" math "math" math_bits "math/bits" @@ -26,7 +26,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // PubKey defines a secp256r1 ECDSA public key. type PubKey struct { - Key github_com_cosmos_cosmos_sdk_crypto_keys_sr25519_internal.PubKey `protobuf:"bytes,1,opt,name=key,proto3,casttype=github.com/cosmos/cosmos-sdk/crypto/keys/sr25519/internal.PubKey" json:"key,omitempty"` + Key github_com_sei_protocol_sei_chain_sei_cosmos_crypto_keys_sr25519_internal.PubKey `protobuf:"bytes,1,opt,name=key,proto3,casttype=github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519/internal.PubKey" json:"key,omitempty"` } func (m *PubKey) Reset() { *m = PubKey{} } @@ -71,20 +71,21 @@ func init() { func init() { proto.RegisterFile("cosmos/crypto/sr25519/keys.proto", fileDescriptor_daddabaf35039fbd) } var fileDescriptor_daddabaf35039fbd = []byte{ - // 206 bytes of a gzipped FileDescriptorProto + // 216 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x2e, 0xaa, 0x2c, 0x28, 0xc9, 0xd7, 0x2f, 0x2e, 0x32, 0x32, 0x35, 0x35, 0xb4, 0xd4, 0xcf, 0x4e, 0xad, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x85, 0xa8, 0xd0, 0x83, 0xa8, 0xd0, 0x83, 0xaa, 0x90, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xab, 0xd0, 0x07, - 0xb1, 0x20, 0x8a, 0x95, 0xd2, 0xb8, 0xd8, 0x02, 0x4a, 0x93, 0xbc, 0x53, 0x2b, 0x85, 0xc2, 0xb8, - 0x98, 0xb3, 0x53, 0x2b, 0x25, 0x18, 0x15, 0x18, 0x35, 0x78, 0x9c, 0x5c, 0x7e, 0xdd, 0x93, 0x77, - 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x59, 0x0a, 0xa6, 0x74, - 0x8b, 0x53, 0xb2, 0x61, 0xf6, 0x83, 0xec, 0x85, 0x3b, 0x22, 0x33, 0xaf, 0x24, 0xb5, 0x28, 0x2f, - 0x31, 0x47, 0x0f, 0x62, 0x64, 0x10, 0xc8, 0x40, 0x2b, 0x96, 0x19, 0x0b, 0xe4, 0x19, 0x9c, 0xc2, - 0x4e, 0x3c, 0x94, 0x63, 0xb8, 0xf1, 0x50, 0x8e, 0xe1, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, - 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc4, 0x63, 0x39, 0xc6, 0x0b, 0x8f, - 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x20, 0xd5, 0xca, 0x24, 0x36, 0xb0, 0x37, 0x8c, - 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x9d, 0xcf, 0x79, 0x4b, 0x17, 0x01, 0x00, 0x00, + 0xb1, 0x20, 0x8a, 0x95, 0xca, 0xb8, 0xd8, 0x02, 0x4a, 0x93, 0xbc, 0x53, 0x2b, 0x85, 0xd2, 0xb8, + 0x98, 0xb3, 0x53, 0x2b, 0x25, 0x18, 0x15, 0x18, 0x35, 0x78, 0x9c, 0x42, 0x7e, 0xdd, 0x93, 0x0f, + 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x2f, 0x4e, 0xcd, 0xd4, 0x05, + 0x6b, 0x48, 0xce, 0xcf, 0x01, 0x73, 0x92, 0x33, 0x12, 0x33, 0xf3, 0x20, 0x2c, 0x14, 0xf7, 0x80, + 0xdc, 0x01, 0x77, 0x54, 0x66, 0x5e, 0x49, 0x6a, 0x51, 0x5e, 0x62, 0x8e, 0x1e, 0xc4, 0x8a, 0x20, + 0x90, 0x05, 0x56, 0x2c, 0x33, 0x16, 0xc8, 0x33, 0x38, 0xa5, 0x9d, 0x78, 0x28, 0xc7, 0x70, 0xe3, + 0xa1, 0x1c, 0xc3, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, + 0xe1, 0xb1, 0x1c, 0xc3, 0x89, 0xc7, 0x72, 0x8c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, + 0x10, 0xe5, 0x40, 0xa9, 0x13, 0x92, 0xd8, 0xc0, 0x5a, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x56, 0x3a, 0xa6, 0xfc, 0x37, 0x01, 0x00, 0x00, } func (m *PubKey) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/crypto/keys/sr25519/privkey.go b/sei-cosmos/crypto/keys/sr25519/privkey.go index 8bba60bd5c..c9c6481ddc 100644 --- a/sei-cosmos/crypto/keys/sr25519/privkey.go +++ b/sei-cosmos/crypto/keys/sr25519/privkey.go @@ -1,8 +1,8 @@ package sr25519 import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519/internal" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519/internal" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) const ( diff --git a/sei-cosmos/crypto/keys/sr25519/pubkey.go b/sei-cosmos/crypto/keys/sr25519/pubkey.go index e10533e6ee..d3f1d5e36f 100644 --- a/sei-cosmos/crypto/keys/sr25519/pubkey.go +++ b/sei-cosmos/crypto/keys/sr25519/pubkey.go @@ -3,7 +3,7 @@ package sr25519 import ( "bytes" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" ) diff --git a/sei-cosmos/crypto/keys/sr25519/sr25519_test.go b/sei-cosmos/crypto/keys/sr25519/sr25519_test.go index edfc3424e6..ce7f6e49d2 100644 --- a/sei-cosmos/crypto/keys/sr25519/sr25519_test.go +++ b/sei-cosmos/crypto/keys/sr25519/sr25519_test.go @@ -3,9 +3,9 @@ package sr25519_test import ( "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" "github.com/stretchr/testify/require" ) diff --git a/sei-cosmos/crypto/ledger/amino.go b/sei-cosmos/crypto/ledger/amino.go index 0e717a9604..9f9ea0f36f 100644 --- a/sei-cosmos/crypto/ledger/amino.go +++ b/sei-cosmos/crypto/ledger/amino.go @@ -1,8 +1,8 @@ package ledger import ( - "github.com/cosmos/cosmos-sdk/codec" - cryptoAmino "github.com/cosmos/cosmos-sdk/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptoAmino "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" ) var cdc = codec.NewLegacyAmino() diff --git a/sei-cosmos/crypto/ledger/encode_test.go b/sei-cosmos/crypto/ledger/encode_test.go index fdbc2892db..fffd2b8c18 100644 --- a/sei-cosmos/crypto/ledger/encode_test.go +++ b/sei-cosmos/crypto/ledger/encode_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) type byter interface { @@ -14,7 +14,7 @@ type byter interface { func checkAminoJSON(t *testing.T, src interface{}, dst interface{}, isNil bool) { // Marshal to JSON bytes. - js, err := cdc.MarshalJSON(src) + js, err := cdc.MarshalAsJSON(src) require.Nil(t, err, "%+v", err) if isNil { require.Equal(t, string(js), `null`) @@ -23,7 +23,7 @@ func checkAminoJSON(t *testing.T, src interface{}, dst interface{}, isNil bool) require.Contains(t, string(js), `"value":`) } // Unmarshal. - err = cdc.UnmarshalJSON(js, dst) + err = cdc.UnmarshalAsJSON(js, dst) require.Nil(t, err, "%+v", err) } diff --git a/sei-cosmos/crypto/ledger/ledger_mock.go b/sei-cosmos/crypto/ledger/ledger_mock.go index 996bc61e8a..1c46d4acfe 100644 --- a/sei-cosmos/crypto/ledger/ledger_mock.go +++ b/sei-cosmos/crypto/ledger/ledger_mock.go @@ -12,11 +12,11 @@ import ( "github.com/cosmos/go-bip39" - "github.com/cosmos/cosmos-sdk/crypto/hd" - csecp256k1 "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cosmoscrypto "github.com/cosmos/cosmos-sdk/crypto/utils" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + csecp256k1 "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cosmoscrypto "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // If ledger support (build tag) has been enabled, which implies a CGO dependency, diff --git a/sei-cosmos/crypto/ledger/ledger_secp256k1.go b/sei-cosmos/crypto/ledger/ledger_secp256k1.go index 7254967523..eeeeddd074 100644 --- a/sei-cosmos/crypto/ledger/ledger_secp256k1.go +++ b/sei-cosmos/crypto/ledger/ledger_secp256k1.go @@ -7,9 +7,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2/ecdsa" "github.com/pkg/errors" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) var ( diff --git a/sei-cosmos/crypto/ledger/ledger_secp256k1_test.go b/sei-cosmos/crypto/ledger/ledger_secp256k1_test.go index a1532207f1..8044383931 100644 --- a/sei-cosmos/crypto/ledger/ledger_secp256k1_test.go +++ b/sei-cosmos/crypto/ledger/ledger_secp256k1_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestSignWithPath(t *testing.T) { diff --git a/sei-cosmos/crypto/types/compact_bit_array.go b/sei-cosmos/crypto/types/compact_bit_array.go index 1bbd5ec07d..a335df96b9 100644 --- a/sei-cosmos/crypto/types/compact_bit_array.go +++ b/sei-cosmos/crypto/types/compact_bit_array.go @@ -33,7 +33,7 @@ func NewCompactBitArray(bits int) *CompactBitArray { return nil } return &CompactBitArray{ - ExtraBitsStored: uint32(bits % 8), + ExtraBitsStored: uint32(bits % 8), //nolint:gosec // bits is validated positive above, bits%8 is always 0-7 Elems: make([]byte, nElems), } } @@ -59,7 +59,7 @@ func (bA *CompactBitArray) GetIndex(i int) bool { return false } - return bA.Elems[i>>3]&(1< 0 + return bA.Elems[i>>3]&(1< 0 //nolint:gosec // i is validated non-negative above, and 7-(i%8) is always in range 0-7 } // SetIndex sets the bit at index i within the bit array. Returns true if and only if the @@ -74,9 +74,9 @@ func (bA *CompactBitArray) SetIndex(i int, v bool) bool { } if v { - bA.Elems[i>>3] |= (1 << uint8(7-(i%8))) + bA.Elems[i>>3] |= 1 << uint8(7-(i%8)) //nolint:gosec // i is validated non-negative above, and 7-(i%8) is always in range 0-7 } else { - bA.Elems[i>>3] &= ^(1 << uint8(7-(i%8))) + bA.Elems[i>>3] &= ^(1 << uint8(7-(i%8))) //nolint:gosec // same as above } return true @@ -263,11 +263,17 @@ func CompactUnmarshal(bz []byte) (*CompactBitArray, error) { } bz = bz[n:] - if len(bz) != int(size+7)/8 { + if size > math.MaxInt { + return nil, fmt.Errorf("compact bit array: size %d exceeds max int", size) + } + if len(bz) != (int(size)+7)/8 { //nolint:gosec // bounds checked above return nil, errors.New("compact bit array: invalid compact unmarshal size") } - bA := &CompactBitArray{uint32(size % 8), bz} + if size%8 > math.MaxUint32 { + return nil, fmt.Errorf("compact bit array: extra bits %d exceeds max uint32", size%8) + } + bA := &CompactBitArray{uint32(size % 8), bz} //nolint:gosec // bounds checked above return bA, nil } diff --git a/sei-cosmos/crypto/types/multisig.pb.go b/sei-cosmos/crypto/types/multisig.pb.go index b9c907ade0..f36471ff54 100644 --- a/sei-cosmos/crypto/types/multisig.pb.go +++ b/sei-cosmos/crypto/types/multisig.pb.go @@ -136,24 +136,25 @@ func init() { } var fileDescriptor_1177bdf7025769be = []byte{ - // 269 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x31, 0x4f, 0x83, 0x50, - 0x14, 0x85, 0x79, 0x5a, 0x1d, 0x5e, 0xaa, 0x8d, 0xa4, 0x03, 0x71, 0x78, 0x25, 0x9d, 0xd0, 0xa4, - 0x90, 0xc6, 0xc4, 0xa1, 0x9b, 0x74, 0x76, 0xa1, 0x93, 0x2e, 0x0d, 0xd0, 0x17, 0x7c, 0xb1, 0x78, - 0xc9, 0xbb, 0x17, 0x23, 0xff, 0xc2, 0xd1, 0x51, 0xff, 0x8d, 0x23, 0xa3, 0xa3, 0x81, 0x3f, 0x62, - 0xfa, 0x90, 0xa6, 0xd3, 0xbd, 0xe7, 0x9c, 0xef, 0x0e, 0xf7, 0xf0, 0x59, 0x0a, 0x98, 0x03, 0x06, - 0xa9, 0xae, 0x0a, 0x82, 0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 0x00, 0x00, + // 275 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x31, 0x4b, 0xc3, 0x40, + 0x18, 0x86, 0x73, 0x5a, 0x1d, 0x8e, 0x6a, 0x31, 0x74, 0x08, 0x0e, 0xd7, 0xd0, 0x29, 0x08, 0x4d, + 0x28, 0x82, 0x60, 0x37, 0xe3, 0xec, 0x92, 0x4c, 0xba, 0x94, 0xcb, 0x79, 0xa4, 0x07, 0x49, 0x2f, + 0xdc, 0xf7, 0x45, 0xcc, 0xbf, 0x70, 0x74, 0xd4, 0x7f, 0xe3, 0x98, 0xd1, 0x51, 0x92, 0x3f, 0x22, + 0xbd, 0x68, 0xd1, 0xed, 0x7d, 0x9f, 0xf7, 0xb9, 0xe1, 0x3e, 0xba, 0x10, 0x1a, 0x4a, 0x0d, 0x91, + 0x30, 0x4d, 0x85, 0x3a, 0x2a, 0xeb, 0x02, 0x15, 0xa8, 0x3c, 0x7a, 0x5a, 0x66, 0x12, 0xf9, 0x72, + 0x0f, 0xc2, 0xca, 0x68, 0xd4, 0x2e, 0x1b, 0xf4, 0x70, 0xd0, 0xc3, 0xfd, 0xfa, 0xa3, 0x9f, 0x4f, + 0x73, 0x9d, 0x6b, 0xab, 0x46, 0xbb, 0x34, 0xbc, 0x9a, 0x5f, 0xd1, 0xd3, 0xbb, 0x9d, 0x99, 0xaa, + 0x7c, 0xcb, 0xb1, 0x36, 0xd2, 0x65, 0x94, 0xc2, 0x6f, 0x01, 0x8f, 0xf8, 0x87, 0xc1, 0x38, 0xf9, + 0x43, 0x56, 0xa3, 0xf6, 0x7d, 0x46, 0xe6, 0xf7, 0x74, 0x72, 0xab, 0xcb, 0x8a, 0x0b, 0x8c, 0x15, + 0xde, 0x18, 0xc3, 0x1b, 0xf7, 0x82, 0x9e, 0xc9, 0x67, 0x34, 0x7c, 0x9d, 0x29, 0x84, 0x35, 0xa0, + 0x36, 0xf2, 0xd1, 0x23, 0x3e, 0x09, 0x4e, 0x92, 0x89, 0x1d, 0x62, 0x85, 0x90, 0x5a, 0xec, 0x4e, + 0xe9, 0x91, 0x2c, 0x64, 0x09, 0xde, 0x81, 0x4f, 0x82, 0x71, 0x32, 0x94, 0xd5, 0xe8, 0xf5, 0x6d, + 0xe6, 0xc4, 0xe9, 0x47, 0xc7, 0x48, 0xdb, 0x31, 0xf2, 0xd5, 0x31, 0xf2, 0xd2, 0x33, 0xa7, 0xed, + 0x99, 0xf3, 0xd9, 0x33, 0xe7, 0xe1, 0x3a, 0x57, 0xb8, 0xa9, 0xb3, 0x50, 0xe8, 0x32, 0x02, 0xa9, + 0x16, 0xf6, 0x0b, 0x42, 0x17, 0xb6, 0x88, 0x0d, 0x57, 0xdb, 0x21, 0xfd, 0xbb, 0x1b, 0x36, 0x95, + 0x84, 0xec, 0xd8, 0xba, 0x97, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc7, 0xe7, 0x35, 0xc3, 0x55, + 0x01, 0x00, 0x00, } func (m *MultiSignature) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/crypto/types/multisig/multisignature.go b/sei-cosmos/crypto/types/multisig/multisignature.go index 362fa46935..b26cf0f260 100644 --- a/sei-cosmos/crypto/types/multisig/multisignature.go +++ b/sei-cosmos/crypto/types/multisig/multisignature.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) // AminoMultisignature is used to represent amino multi-signatures for StdTx's. diff --git a/sei-cosmos/crypto/types/multisig/pubkey.go b/sei-cosmos/crypto/types/multisig/pubkey.go index 2e778bae6f..9bcc244274 100644 --- a/sei-cosmos/crypto/types/multisig/pubkey.go +++ b/sei-cosmos/crypto/types/multisig/pubkey.go @@ -1,8 +1,8 @@ package multisig import ( - "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) // PubKey defines a type which supports multi-signature verification via MultiSignatureData diff --git a/sei-cosmos/go.mod b/sei-cosmos/go.mod deleted file mode 100644 index dc898763ee..0000000000 --- a/sei-cosmos/go.mod +++ /dev/null @@ -1,254 +0,0 @@ -module github.com/cosmos/cosmos-sdk - -go 1.25.6 - -require ( - cosmossdk.io/errors v1.0.0 - github.com/99designs/keyring v1.2.1 - github.com/armon/go-metrics v0.4.1 - github.com/bgentry/speakeasy v0.1.0 - github.com/btcsuite/btcd/btcec/v2 v2.3.5 - github.com/coinbase/rosetta-sdk-go v0.7.0 - github.com/confio/ics23/go v0.9.0 - github.com/cosmos/btcutil v1.0.5 - github.com/cosmos/go-bip39 v1.0.0 - github.com/cosmos/ledger-cosmos-go v1.0.0 - github.com/ethereum/go-ethereum v1.16.8 - github.com/gogo/gateway v1.1.0 - github.com/gogo/protobuf v1.3.3 - github.com/golang/mock v1.7.0-rc.1 - github.com/golang/protobuf v1.5.4 - github.com/google/btree v1.1.3 - github.com/google/orderedcode v0.0.1 - github.com/gorilla/handlers v1.5.1 - github.com/gorilla/mux v1.8.0 - github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 - github.com/grpc-ecosystem/grpc-gateway v1.16.0 - github.com/hashicorp/golang-lru/v2 v2.0.7 - github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3 - github.com/improbable-eng/grpc-web v0.14.1 - github.com/jhump/protoreflect v1.12.1-0.20220417024638-438db461d753 - github.com/magiconair/properties v1.8.6 - github.com/mattn/go-isatty v0.0.20 - github.com/oasisprotocol/curve25519-voi v0.0.0-20210609091139-0a56a4bca00b - github.com/pkg/errors v0.9.1 - github.com/prometheus/client_golang v1.23.2 - github.com/prometheus/common v0.66.1 - github.com/rakyll/statik v0.1.7 - github.com/regen-network/cosmos-proto v0.3.1 - github.com/rs/zerolog v1.33.0 - github.com/sei-protocol/sei-chain v0.0.0-00010101000000-000000000000 - github.com/sei-protocol/sei-tm-db v0.0.5 - github.com/spf13/cast v1.9.2 - github.com/spf13/cobra v1.10.2 - github.com/spf13/pflag v1.0.9 - github.com/spf13/viper v1.20.1 - github.com/stretchr/testify v1.11.1 - github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d - github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 - github.com/tendermint/go-amino v0.16.0 - github.com/tendermint/tm-db v0.6.8-0.20220519162814-e24b96538a12 - go.opentelemetry.io/otel v1.39.0 - go.opentelemetry.io/otel/exporters/jaeger v1.9.0 - go.opentelemetry.io/otel/sdk v1.39.0 - go.opentelemetry.io/otel/trace v1.39.0 - golang.org/x/crypto v0.47.0 - golang.org/x/exp v0.0.0-20260112195511-716be5621a96 - google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 - google.golang.org/grpc v1.75.0 - google.golang.org/protobuf v1.36.11 - gopkg.in/yaml.v2 v2.4.0 -) - -require ( - filippo.io/edwards25519 v1.0.0-rc.1 // indirect - github.com/DataDog/zstd v1.5.7 // indirect - github.com/Microsoft/go-winio v0.6.2 // indirect - github.com/RaduBerinde/axisds v0.0.0-20250419182453-5135a0650657 // indirect - github.com/RaduBerinde/btreemap v0.0.0-20250419174037-3d62b7205d54 // indirect - github.com/VictoriaMetrics/fastcache v1.12.2 // indirect - github.com/alitto/pond v1.8.3 // indirect - github.com/andybalholm/brotli v1.2.0 // indirect - github.com/apache/arrow-go/v18 v18.4.1 // indirect - github.com/benbjohnson/immutable v0.4.3 // indirect - github.com/beorn7/perks v1.0.1 // indirect - github.com/bits-and-blooms/bitset v1.22.0 // indirect - github.com/cespare/xxhash v1.1.0 // indirect - github.com/cespare/xxhash/v2 v2.3.0 // indirect - github.com/cockroachdb/crlib v0.0.0-20241112164430-1264a2edc35b // indirect - github.com/cockroachdb/errors v1.11.3 // indirect - github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect - github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect - github.com/cockroachdb/pebble v1.1.2 // indirect - github.com/cockroachdb/pebble/v2 v2.1.3 // indirect - github.com/cockroachdb/redact v1.1.5 // indirect - github.com/cockroachdb/swiss v0.0.0-20251224182025-b0f6560f979b // indirect - github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect - github.com/consensys/gnark-crypto v0.18.0 // indirect - github.com/cosmos/gorocksdb v1.2.0 // indirect - github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect - github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect - github.com/crate-crypto/go-kzg-4844 v1.1.0 // indirect - github.com/creachadair/taskgroup v0.3.2 // indirect - github.com/danieljoos/wincred v1.1.2 // indirect - github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect - github.com/deckarep/golang-set/v2 v2.6.0 // indirect - github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect - github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect - github.com/dgraph-io/badger/v3 v3.2103.2 // indirect - github.com/dgraph-io/ristretto v0.2.0 // indirect - github.com/dlclark/regexp2 v1.7.0 // indirect - github.com/dop251/goja v0.0.0-20230605162241-28ee0ee714f3 // indirect - github.com/duckdb/duckdb-go-bindings v0.1.23 // indirect - github.com/duckdb/duckdb-go-bindings/darwin-amd64 v0.1.23 // indirect - github.com/duckdb/duckdb-go-bindings/darwin-arm64 v0.1.23 // indirect - github.com/duckdb/duckdb-go-bindings/linux-amd64 v0.1.23 // indirect - github.com/duckdb/duckdb-go-bindings/linux-arm64 v0.1.23 // indirect - github.com/duckdb/duckdb-go-bindings/windows-amd64 v0.1.23 // indirect - github.com/duckdb/duckdb-go/arrowmapping v0.0.26 // indirect - github.com/duckdb/duckdb-go/mapping v0.0.25 // indirect - github.com/duckdb/duckdb-go/v2 v2.5.3 // indirect - github.com/dustin/go-humanize v1.0.1 // indirect - github.com/dvsekhvalnov/jose2go v1.5.0 // indirect - github.com/ethereum/c-kzg-4844 v1.0.0 // indirect - github.com/ethereum/evmc/v12 v12.1.0 // indirect - github.com/ethereum/go-verkle v0.2.2 // indirect - github.com/felixge/httpsnoop v1.0.4 // indirect - github.com/fsnotify/fsnotify v1.9.0 // indirect - github.com/getsentry/sentry-go v0.35.0 // indirect - github.com/go-kit/kit v0.12.0 // indirect - github.com/go-kit/log v0.2.1 // indirect - github.com/go-logfmt/logfmt v0.5.1 // indirect - github.com/go-logr/logr v1.4.3 // indirect - github.com/go-logr/stdr v1.2.2 // indirect - github.com/go-ole/go-ole v1.3.0 // indirect - github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect - github.com/go-viper/mapstructure/v2 v2.4.0 // indirect - github.com/goccy/go-json v0.10.5 // indirect - github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect - github.com/gofrs/flock v0.13.0 // indirect - github.com/golang-jwt/jwt/v4 v4.5.1 // indirect - github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect - github.com/golang/snappy v1.0.0 // indirect - github.com/google/flatbuffers v25.2.10+incompatible // indirect - github.com/google/go-cmp v0.7.0 // indirect - github.com/google/gofuzz v1.2.0 // indirect - github.com/google/pprof v0.0.0-20230207041349-798e818bf904 // indirect - github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.0 // indirect - github.com/grafana/pyroscope-go/godeltaprof v0.1.8 // indirect - github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc // indirect - github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect - github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect - github.com/hashicorp/go-bexpr v0.1.10 // indirect - github.com/hashicorp/go-immutable-radix v1.3.1 // indirect - github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect - github.com/holiman/billy v0.0.0-20240216141850-2abb0c79d3c4 // indirect - github.com/holiman/bloomfilter/v2 v2.0.3 // indirect - github.com/holiman/uint256 v1.3.2 // indirect - github.com/huin/goupnp v1.3.0 // indirect - github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/jackpal/go-nat-pmp v1.0.2 // indirect - github.com/jmhodges/levigo v1.0.0 // indirect - github.com/keybase/go-keychain v0.0.1 // indirect - github.com/klauspost/compress v1.18.3 // indirect - github.com/klauspost/cpuid/v2 v2.3.0 // indirect - github.com/kr/pretty v0.3.1 // indirect - github.com/kr/text v0.2.0 // indirect - github.com/ledgerwatch/erigon-lib v0.0.0-20230210071639-db0e7ed11263 // indirect - github.com/lib/pq v1.10.7 // indirect - github.com/libp2p/go-buffer-pool v0.1.0 // indirect - github.com/linxGnu/grocksdb v1.8.11 // indirect - github.com/mattn/go-colorable v0.1.14 // indirect - github.com/mattn/go-runewidth v0.0.16 // indirect - github.com/minio/minlz v1.0.1-0.20250507153514-87eb42fe8882 // indirect - github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/mitchellh/pointerstructure v1.2.0 // indirect - github.com/mtibben/percent v0.2.1 // indirect - github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect - github.com/olekukonko/tablewriter v0.0.5 // indirect - github.com/parquet-go/parquet-go v0.25.1 // indirect - github.com/patrickmn/go-cache v2.1.0+incompatible // indirect - github.com/pelletier/go-toml/v2 v2.2.4 // indirect - github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect - github.com/pierrec/lz4/v4 v4.1.22 // indirect - github.com/pion/dtls/v2 v2.2.7 // indirect - github.com/pion/logging v0.2.2 // indirect - github.com/pion/stun/v2 v2.0.0 // indirect - github.com/pion/transport/v2 v2.2.1 // indirect - github.com/pion/transport/v3 v3.0.1 // indirect - github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/prometheus/client_model v0.6.2 // indirect - github.com/prometheus/otlptranslator v0.0.2 // indirect - github.com/prometheus/procfs v0.17.0 // indirect - github.com/rivo/uniseg v0.4.7 // indirect - github.com/rogpeppe/go-internal v1.14.1 // indirect - github.com/rs/cors v1.11.1 // indirect - github.com/russross/blackfriday/v2 v2.1.0 // indirect - github.com/sagikazarmark/locafero v0.9.0 // indirect - github.com/sasha-s/go-deadlock v0.3.1 // indirect - github.com/sei-protocol/goutils v0.0.2 // indirect - github.com/sei-protocol/sei-load v0.0.0-20251007135253-78fbdc141082 // indirect - github.com/shirou/gopsutil v3.21.11+incompatible // indirect - github.com/sourcegraph/conc v0.3.0 // indirect - github.com/spf13/afero v1.14.0 // indirect - github.com/subosito/gotenv v1.6.0 // indirect - github.com/supranational/blst v0.3.16-0.20250831170142-f48500c1fdbe // indirect - github.com/tidwall/gjson v1.14.2 // indirect - github.com/tidwall/match v1.1.1 // indirect - github.com/tidwall/pretty v1.2.0 // indirect - github.com/tidwall/tinylru v1.1.0 // indirect - github.com/tidwall/wal v1.2.1 // indirect - github.com/tklauser/go-sysconf v0.3.15 // indirect - github.com/tklauser/numcpus v0.10.0 // indirect - github.com/urfave/cli/v2 v2.27.5 // indirect - github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect - github.com/yusufpapurcu/wmi v1.2.4 // indirect - github.com/zbiljic/go-filelock v0.0.0-20170914061330-1dbf7103ab7d // indirect - github.com/zeebo/xxh3 v1.0.2 // indirect - github.com/zondax/golem v0.27.0 // indirect - github.com/zondax/hid v0.9.2 // indirect - github.com/zondax/ledger-go v1.0.1 // indirect - go.etcd.io/bbolt v1.3.7 // indirect - go.opencensus.io v0.24.0 // indirect - go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/otel/exporters/prometheus v0.60.0 // indirect - go.opentelemetry.io/otel/metric v1.39.0 // indirect - go.opentelemetry.io/otel/sdk/metric v1.39.0 // indirect - go.uber.org/multierr v1.11.0 // indirect - go.uber.org/zap v1.27.0 // indirect - go.yaml.in/yaml/v2 v2.4.3 // indirect - golang.org/x/mod v0.32.0 // indirect - golang.org/x/net v0.49.0 // indirect - golang.org/x/sync v0.19.0 // indirect - golang.org/x/sys v0.40.0 // indirect - golang.org/x/telemetry v0.0.0-20260109210033-bd525da824e2 // indirect - golang.org/x/term v0.39.0 // indirect - golang.org/x/text v0.33.0 // indirect - golang.org/x/time v0.13.0 // indirect - golang.org/x/tools v0.41.0 // indirect - golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect - google.golang.org/genproto v0.0.0-20250603155806-513f23925822 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20250818200422-3122310a409c // indirect - gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/component-base v0.35.0 // indirect - nhooyr.io/websocket v1.8.6 // indirect -) - -replace ( - github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 - github.com/btcsuite/btcd => github.com/btcsuite/btcd v0.23.2 - github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0 - github.com/ethereum/go-ethereum => github.com/sei-protocol/go-ethereum v1.15.7-sei-16 - // Fix upstream GHSA-h395-qcrw-5vmq vulnerability. - // TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409 - github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.7.0 - github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 - github.com/sei-protocol/sei-chain => .. - // Latest goleveldb is broken, we have to stick to this version - github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 - // latest grpc doesn't work with with our modified proto compiler, so we need to enforce - // the following version across all dependencies. - google.golang.org/grpc => google.golang.org/grpc v1.46.2 -) diff --git a/sei-cosmos/go.sum b/sei-cosmos/go.sum deleted file mode 100644 index f58a84cfa9..0000000000 --- a/sei-cosmos/go.sum +++ /dev/null @@ -1,2878 +0,0 @@ -cloud.google.com/go v0.0.0-20170206221025-ce650573d812/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= -cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= -cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= -cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= -cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= -cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= -cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= -cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= -cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= -cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= -cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= -cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= -cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= -cloud.google.com/go v0.100.1/go.mod h1:fs4QogzfH5n2pBXBP9vRiU+eCny7lD2vmFZy79Iuw1U= -cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= -cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= -cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= -cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= -cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= -cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= -cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= -cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= -cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= -cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= -cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= -cloud.google.com/go/accesscontextmanager v1.4.0/go.mod h1:/Kjh7BBu/Gh83sv+K60vN9QE5NJcd80sU33vIe2IFPE= -cloud.google.com/go/accesscontextmanager v1.6.0/go.mod h1:8XCvZWfYw3K/ji0iVnp+6pu7huxoQTLmxAbVjbloTtM= -cloud.google.com/go/accesscontextmanager v1.7.0/go.mod h1:CEGLewx8dwa33aDAZQujl7Dx+uYhS0eay198wB/VumQ= -cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= -cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= -cloud.google.com/go/aiplatform v1.27.0/go.mod h1:Bvxqtl40l0WImSb04d0hXFU7gDOiq9jQmorivIiWcKg= -cloud.google.com/go/aiplatform v1.35.0/go.mod h1:7MFT/vCaOyZT/4IIFfxH4ErVg/4ku6lKv3w0+tFTgXQ= -cloud.google.com/go/aiplatform v1.36.1/go.mod h1:WTm12vJRPARNvJ+v6P52RDHCNe4AhvjcIZ/9/RRHy/k= -cloud.google.com/go/aiplatform v1.37.0/go.mod h1:IU2Cv29Lv9oCn/9LkFiiuKfwrRTq+QQMbW+hPCxJGZw= -cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= -cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= -cloud.google.com/go/analytics v0.17.0/go.mod h1:WXFa3WSym4IZ+JiKmavYdJwGG/CvpqiqczmL59bTD9M= -cloud.google.com/go/analytics v0.18.0/go.mod h1:ZkeHGQlcIPkw0R/GW+boWHhCOR43xz9RN/jn7WcqfIE= -cloud.google.com/go/analytics v0.19.0/go.mod h1:k8liqf5/HCnOUkbawNtrWWc+UAzyDlW89doe8TtoDsE= -cloud.google.com/go/apigateway v1.3.0/go.mod h1:89Z8Bhpmxu6AmUxuVRg/ECRGReEdiP3vQtk4Z1J9rJk= -cloud.google.com/go/apigateway v1.4.0/go.mod h1:pHVY9MKGaH9PQ3pJ4YLzoj6U5FUDeDFBllIz7WmzJoc= -cloud.google.com/go/apigateway v1.5.0/go.mod h1:GpnZR3Q4rR7LVu5951qfXPJCHquZt02jf7xQx7kpqN8= -cloud.google.com/go/apigeeconnect v1.3.0/go.mod h1:G/AwXFAKo0gIXkPTVfZDd2qA1TxBXJ3MgMRBQkIi9jc= -cloud.google.com/go/apigeeconnect v1.4.0/go.mod h1:kV4NwOKqjvt2JYR0AoIWo2QGfoRtn/pkS3QlHp0Ni04= -cloud.google.com/go/apigeeconnect v1.5.0/go.mod h1:KFaCqvBRU6idyhSNyn3vlHXc8VMDJdRmwDF6JyFRqZ8= -cloud.google.com/go/apigeeregistry v0.4.0/go.mod h1:EUG4PGcsZvxOXAdyEghIdXwAEi/4MEaoqLMLDMIwKXY= -cloud.google.com/go/apigeeregistry v0.5.0/go.mod h1:YR5+s0BVNZfVOUkMa5pAR2xGd0A473vA5M7j247o1wM= -cloud.google.com/go/apigeeregistry v0.6.0/go.mod h1:BFNzW7yQVLZ3yj0TKcwzb8n25CFBri51GVGOEUcgQsc= -cloud.google.com/go/apikeys v0.4.0/go.mod h1:XATS/yqZbaBK0HOssf+ALHp8jAlNHUgyfprvNcBIszU= -cloud.google.com/go/apikeys v0.5.0/go.mod h1:5aQfwY4D+ewMMWScd3hm2en3hCj+BROlyrt3ytS7KLI= -cloud.google.com/go/apikeys v0.6.0/go.mod h1:kbpXu5upyiAlGkKrJgQl8A0rKNNJ7dQ377pdroRSSi8= -cloud.google.com/go/appengine v1.4.0/go.mod h1:CS2NhuBuDXM9f+qscZ6V86m1MIIqPj3WC/UoEuR1Sno= -cloud.google.com/go/appengine v1.5.0/go.mod h1:TfasSozdkFI0zeoxW3PTBLiNqRmzraodCWatWI9Dmak= -cloud.google.com/go/appengine v1.6.0/go.mod h1:hg6i0J/BD2cKmDJbaFSYHFyZkgBEfQrDg/X0V5fJn84= -cloud.google.com/go/appengine v1.7.0/go.mod h1:eZqpbHFCqRGa2aCdope7eC0SWLV1j0neb/QnMJVWx6A= -cloud.google.com/go/appengine v1.7.1/go.mod h1:IHLToyb/3fKutRysUlFO0BPt5j7RiQ45nrzEJmKTo6E= -cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4= -cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= -cloud.google.com/go/area120 v0.7.0/go.mod h1:a3+8EUD1SX5RUcCs3MY5YasiO1z6yLiNLRiFrykbynY= -cloud.google.com/go/area120 v0.7.1/go.mod h1:j84i4E1RboTWjKtZVWXPqvK5VHQFJRF2c1Nm69pWm9k= -cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= -cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= -cloud.google.com/go/artifactregistry v1.8.0/go.mod h1:w3GQXkJX8hiKN0v+at4b0qotwijQbYUqF2GWkZzAhC0= -cloud.google.com/go/artifactregistry v1.9.0/go.mod h1:2K2RqvA2CYvAeARHRkLDhMDJ3OXy26h3XW+3/Jh2uYc= -cloud.google.com/go/artifactregistry v1.11.1/go.mod h1:lLYghw+Itq9SONbCa1YWBoWs1nOucMH0pwXN1rOBZFI= -cloud.google.com/go/artifactregistry v1.11.2/go.mod h1:nLZns771ZGAwVLzTX/7Al6R9ehma4WUEhZGWV6CeQNQ= -cloud.google.com/go/artifactregistry v1.12.0/go.mod h1:o6P3MIvtzTOnmvGagO9v/rOjjA0HmhJ+/6KAXrmYDCI= -cloud.google.com/go/artifactregistry v1.13.0/go.mod h1:uy/LNfoOIivepGhooAUpL1i30Hgee3Cu0l4VTWHUC08= -cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= -cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= -cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= -cloud.google.com/go/asset v1.9.0/go.mod h1:83MOE6jEJBMqFKadM9NLRcs80Gdw76qGuHn8m3h8oHQ= -cloud.google.com/go/asset v1.10.0/go.mod h1:pLz7uokL80qKhzKr4xXGvBQXnzHn5evJAEAtZiIb0wY= -cloud.google.com/go/asset v1.11.1/go.mod h1:fSwLhbRvC9p9CXQHJ3BgFeQNM4c9x10lqlrdEUYXlJo= -cloud.google.com/go/asset v1.12.0/go.mod h1:h9/sFOa4eDIyKmH6QMpm4eUK3pDojWnUhTgJlk762Hg= -cloud.google.com/go/asset v1.13.0/go.mod h1:WQAMyYek/b7NBpYq/K4KJWcRqzoalEsxz/t/dTk4THw= -cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= -cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= -cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= -cloud.google.com/go/assuredworkloads v1.8.0/go.mod h1:AsX2cqyNCOvEQC8RMPnoc0yEarXQk6WEKkxYfL6kGIo= -cloud.google.com/go/assuredworkloads v1.9.0/go.mod h1:kFuI1P78bplYtT77Tb1hi0FMxM0vVpRC7VVoJC3ZoT0= -cloud.google.com/go/assuredworkloads v1.10.0/go.mod h1:kwdUQuXcedVdsIaKgKTp9t0UJkE5+PAVNhdQm4ZVq2E= -cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= -cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8= -cloud.google.com/go/automl v1.7.0/go.mod h1:RL9MYCCsJEOmt0Wf3z9uzG0a7adTT1fe+aObgSpkCt8= -cloud.google.com/go/automl v1.8.0/go.mod h1:xWx7G/aPEe/NP+qzYXktoBSDfjO+vnKMGgsApGJJquM= -cloud.google.com/go/automl v1.12.0/go.mod h1:tWDcHDp86aMIuHmyvjuKeeHEGq76lD7ZqfGLN6B0NuU= -cloud.google.com/go/baremetalsolution v0.3.0/go.mod h1:XOrocE+pvK1xFfleEnShBlNAXf+j5blPPxrhjKgnIFc= -cloud.google.com/go/baremetalsolution v0.4.0/go.mod h1:BymplhAadOO/eBa7KewQ0Ppg4A4Wplbn+PsFKRLo0uI= -cloud.google.com/go/baremetalsolution v0.5.0/go.mod h1:dXGxEkmR9BMwxhzBhV0AioD0ULBmuLZI8CdwalUxuss= -cloud.google.com/go/batch v0.3.0/go.mod h1:TR18ZoAekj1GuirsUsR1ZTKN3FC/4UDnScjT8NXImFE= -cloud.google.com/go/batch v0.4.0/go.mod h1:WZkHnP43R/QCGQsZ+0JyG4i79ranE2u8xvjq/9+STPE= -cloud.google.com/go/batch v0.7.0/go.mod h1:vLZN95s6teRUqRQ4s3RLDsH8PvboqBK+rn1oevL159g= -cloud.google.com/go/beyondcorp v0.2.0/go.mod h1:TB7Bd+EEtcw9PCPQhCJtJGjk/7TC6ckmnSFS+xwTfm4= -cloud.google.com/go/beyondcorp v0.3.0/go.mod h1:E5U5lcrcXMsCuoDNyGrpyTm/hn7ne941Jz2vmksAxW8= -cloud.google.com/go/beyondcorp v0.4.0/go.mod h1:3ApA0mbhHx6YImmuubf5pyW8srKnCEPON32/5hj+RmM= -cloud.google.com/go/beyondcorp v0.5.0/go.mod h1:uFqj9X+dSfrheVp7ssLTaRHd2EHqSL4QZmH4e8WXGGU= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/bigquery v1.42.0/go.mod h1:8dRTJxhtG+vwBKzE5OseQn/hiydoQN3EedCaOdYmxRA= -cloud.google.com/go/bigquery v1.43.0/go.mod h1:ZMQcXHsl+xmU1z36G2jNGZmKp9zNY5BUua5wDgmNCfw= -cloud.google.com/go/bigquery v1.44.0/go.mod h1:0Y33VqXTEsbamHJvJHdFmtqHvMIY28aK1+dFsvaChGc= -cloud.google.com/go/bigquery v1.47.0/go.mod h1:sA9XOgy0A8vQK9+MWhEQTY6Tix87M/ZurWFIxmF9I/E= -cloud.google.com/go/bigquery v1.48.0/go.mod h1:QAwSz+ipNgfL5jxiaK7weyOhzdoAy1zFm0Nf1fysJac= -cloud.google.com/go/bigquery v1.49.0/go.mod h1:Sv8hMmTFFYBlt/ftw2uN6dFdQPzBlREY9yBh7Oy7/4Q= -cloud.google.com/go/bigquery v1.50.0/go.mod h1:YrleYEh2pSEbgTBZYMJ5SuSr0ML3ypjRB1zgf7pvQLU= -cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= -cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= -cloud.google.com/go/billing v1.6.0/go.mod h1:WoXzguj+BeHXPbKfNWkqVtDdzORazmCjraY+vrxcyvI= -cloud.google.com/go/billing v1.7.0/go.mod h1:q457N3Hbj9lYwwRbnlD7vUpyjq6u5U1RAOArInEiD5Y= -cloud.google.com/go/billing v1.12.0/go.mod h1:yKrZio/eu+okO/2McZEbch17O5CB5NpZhhXG6Z766ss= -cloud.google.com/go/billing v1.13.0/go.mod h1:7kB2W9Xf98hP9Sr12KfECgfGclsH3CQR0R08tnRlRbc= -cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM= -cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI= -cloud.google.com/go/binaryauthorization v1.3.0/go.mod h1:lRZbKgjDIIQvzYQS1p99A7/U1JqvqeZg0wiI5tp6tg0= -cloud.google.com/go/binaryauthorization v1.4.0/go.mod h1:tsSPQrBd77VLplV70GUhBf/Zm3FsKmgSqgm4UmiDItk= -cloud.google.com/go/binaryauthorization v1.5.0/go.mod h1:OSe4OU1nN/VswXKRBmciKpo9LulY41gch5c68htf3/Q= -cloud.google.com/go/certificatemanager v1.3.0/go.mod h1:n6twGDvcUBFu9uBgt4eYvvf3sQ6My8jADcOVwHmzadg= -cloud.google.com/go/certificatemanager v1.4.0/go.mod h1:vowpercVFyqs8ABSmrdV+GiFf2H/ch3KyudYQEMM590= -cloud.google.com/go/certificatemanager v1.6.0/go.mod h1:3Hh64rCKjRAX8dXgRAyOcY5vQ/fE1sh8o+Mdd6KPgY8= -cloud.google.com/go/channel v1.8.0/go.mod h1:W5SwCXDJsq/rg3tn3oG0LOxpAo6IMxNa09ngphpSlnk= -cloud.google.com/go/channel v1.9.0/go.mod h1:jcu05W0my9Vx4mt3/rEHpfxc9eKi9XwsdDL8yBMbKUk= -cloud.google.com/go/channel v1.11.0/go.mod h1:IdtI0uWGqhEeatSB62VOoJ8FSUhJ9/+iGkJVqp74CGE= -cloud.google.com/go/channel v1.12.0/go.mod h1:VkxCGKASi4Cq7TbXxlaBezonAYpp1GCnKMY6tnMQnLU= -cloud.google.com/go/cloudbuild v1.3.0/go.mod h1:WequR4ULxlqvMsjDEEEFnOG5ZSRSgWOywXYDb1vPE6U= -cloud.google.com/go/cloudbuild v1.4.0/go.mod h1:5Qwa40LHiOXmz3386FrjrYM93rM/hdRr7b53sySrTqA= -cloud.google.com/go/cloudbuild v1.6.0/go.mod h1:UIbc/w9QCbH12xX+ezUsgblrWv+Cv4Tw83GiSMHOn9M= -cloud.google.com/go/cloudbuild v1.7.0/go.mod h1:zb5tWh2XI6lR9zQmsm1VRA+7OCuve5d8S+zJUul8KTg= -cloud.google.com/go/cloudbuild v1.9.0/go.mod h1:qK1d7s4QlO0VwfYn5YuClDGg2hfmLZEb4wQGAbIgL1s= -cloud.google.com/go/clouddms v1.3.0/go.mod h1:oK6XsCDdW4Ib3jCCBugx+gVjevp2TMXFtgxvPSee3OM= -cloud.google.com/go/clouddms v1.4.0/go.mod h1:Eh7sUGCC+aKry14O1NRljhjyrr0NFC0G2cjwX0cByRk= -cloud.google.com/go/clouddms v1.5.0/go.mod h1:QSxQnhikCLUw13iAbffF2CZxAER3xDGNHjsTAkQJcQA= -cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY= -cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI= -cloud.google.com/go/cloudtasks v1.7.0/go.mod h1:ImsfdYWwlWNJbdgPIIGJWC+gemEGTBK/SunNQQNCAb4= -cloud.google.com/go/cloudtasks v1.8.0/go.mod h1:gQXUIwCSOI4yPVK7DgTVFiiP0ZW/eQkydWzwVMdHxrI= -cloud.google.com/go/cloudtasks v1.9.0/go.mod h1:w+EyLsVkLWHcOaqNEyvcKAsWp9p29dL6uL9Nst1cI7Y= -cloud.google.com/go/cloudtasks v1.10.0/go.mod h1:NDSoTLkZ3+vExFEWu2UJV1arUyzVDAiZtdWcsUyNwBs= -cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= -cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= -cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= -cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= -cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= -cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= -cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= -cloud.google.com/go/compute v1.12.0/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= -cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= -cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARyZtRXDJ8GE= -cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvjxega5vAdo= -cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= -cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= -cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= -cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= -cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= -cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= -cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY= -cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= -cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w= -cloud.google.com/go/container v1.6.0/go.mod h1:Xazp7GjJSeUYo688S+6J5V+n/t+G5sKBTFkKNudGRxg= -cloud.google.com/go/container v1.7.0/go.mod h1:Dp5AHtmothHGX3DwwIHPgq45Y8KmNsgN3amoYfxVkLo= -cloud.google.com/go/container v1.13.1/go.mod h1:6wgbMPeQRw9rSnKBCAJXnds3Pzj03C4JHamr8asWKy4= -cloud.google.com/go/container v1.14.0/go.mod h1:3AoJMPhHfLDxLvrlVWaK57IXzaPnLaZq63WX59aQBfM= -cloud.google.com/go/container v1.15.0/go.mod h1:ft+9S0WGjAyjDggg5S06DXj+fHJICWg8L7isCQe9pQA= -cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= -cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= -cloud.google.com/go/containeranalysis v0.7.0/go.mod h1:9aUL+/vZ55P2CXfuZjS4UjQ9AgXoSw8Ts6lemfmxBxI= -cloud.google.com/go/containeranalysis v0.9.0/go.mod h1:orbOANbwk5Ejoom+s+DUCTTJ7IBdBQJDcSylAx/on9s= -cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= -cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs= -cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc= -cloud.google.com/go/datacatalog v1.7.0/go.mod h1:9mEl4AuDYWw81UGc41HonIHH7/sn52H0/tc8f8ZbZIE= -cloud.google.com/go/datacatalog v1.8.0/go.mod h1:KYuoVOv9BM8EYz/4eMFxrr4DUKhGIOXxZoKYF5wdISM= -cloud.google.com/go/datacatalog v1.8.1/go.mod h1:RJ58z4rMp3gvETA465Vg+ag8BGgBdnRPEMMSTr5Uv+M= -cloud.google.com/go/datacatalog v1.12.0/go.mod h1:CWae8rFkfp6LzLumKOnmVh4+Zle4A3NXLzVJ1d1mRm0= -cloud.google.com/go/datacatalog v1.13.0/go.mod h1:E4Rj9a5ZtAxcQJlEBTLgMTphfP11/lNaAshpoBgemX8= -cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM= -cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= -cloud.google.com/go/dataflow v0.8.0/go.mod h1:Rcf5YgTKPtQyYz8bLYhFoIV/vP39eL7fWNcSOyFfLJE= -cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo= -cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE= -cloud.google.com/go/dataform v0.5.0/go.mod h1:GFUYRe8IBa2hcomWplodVmUx/iTL0FrsauObOM3Ipr0= -cloud.google.com/go/dataform v0.6.0/go.mod h1:QPflImQy33e29VuapFdf19oPbE4aYTJxr31OAPV+ulA= -cloud.google.com/go/dataform v0.7.0/go.mod h1:7NulqnVozfHvWUBpMDfKMUESr+85aJsC/2O0o3jWPDE= -cloud.google.com/go/datafusion v1.4.0/go.mod h1:1Zb6VN+W6ALo85cXnM1IKiPw+yQMKMhB9TsTSRDo/38= -cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w= -cloud.google.com/go/datafusion v1.6.0/go.mod h1:WBsMF8F1RhSXvVM8rCV3AeyWVxcC2xY6vith3iw3S+8= -cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I= -cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= -cloud.google.com/go/datalabeling v0.7.0/go.mod h1:WPQb1y08RJbmpM3ww0CSUAGweL0SxByuW2E+FU+wXcM= -cloud.google.com/go/dataplex v1.3.0/go.mod h1:hQuRtDg+fCiFgC8j0zV222HvzFQdRd+SVX8gdmFcZzA= -cloud.google.com/go/dataplex v1.4.0/go.mod h1:X51GfLXEMVJ6UN47ESVqvlsRplbLhcsAt0kZCCKsU0A= -cloud.google.com/go/dataplex v1.5.2/go.mod h1:cVMgQHsmfRoI5KFYq4JtIBEUbYwc3c7tXmIDhRmNNVQ= -cloud.google.com/go/dataplex v1.6.0/go.mod h1:bMsomC/aEJOSpHXdFKFGQ1b0TDPIeL28nJObeO1ppRs= -cloud.google.com/go/dataproc v1.7.0/go.mod h1:CKAlMjII9H90RXaMpSxQ8EU6dQx6iAYNPcYPOkSbi8s= -cloud.google.com/go/dataproc v1.8.0/go.mod h1:5OW+zNAH0pMpw14JVrPONsxMQYMBqJuzORhIBfBn9uI= -cloud.google.com/go/dataproc v1.12.0/go.mod h1:zrF3aX0uV3ikkMz6z4uBbIKyhRITnxvr4i3IjKsKrw4= -cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= -cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= -cloud.google.com/go/dataqna v0.7.0/go.mod h1:Lx9OcIIeqCrw1a6KdO3/5KMP1wAmTc0slZWwP12Qq3c= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/datastore v1.10.0/go.mod h1:PC5UzAmDEkAmkfaknstTYbNpgE49HAgW2J1gcgUfmdM= -cloud.google.com/go/datastore v1.11.0/go.mod h1:TvGxBIHCS50u8jzG+AW/ppf87v1of8nwzFNgEZU1D3c= -cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= -cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= -cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g= -cloud.google.com/go/datastream v1.5.0/go.mod h1:6TZMMNPwjUqZHBKPQ1wwXpb0d5VDVPl2/XoS5yi88q4= -cloud.google.com/go/datastream v1.6.0/go.mod h1:6LQSuswqLa7S4rPAOZFVjHIG3wJIjZcZrw8JDEDJuIs= -cloud.google.com/go/datastream v1.7.0/go.mod h1:uxVRMm2elUSPuh65IbZpzJNMbuzkcvu5CjMqVIUHrww= -cloud.google.com/go/deploy v1.4.0/go.mod h1:5Xghikd4VrmMLNaF6FiRFDlHb59VM59YoDQnOUdsH/c= -cloud.google.com/go/deploy v1.5.0/go.mod h1:ffgdD0B89tToyW/U/D2eL0jN2+IEV/3EMuXHA0l4r+s= -cloud.google.com/go/deploy v1.6.0/go.mod h1:f9PTHehG/DjCom3QH0cntOVRm93uGBDt2vKzAPwpXQI= -cloud.google.com/go/deploy v1.8.0/go.mod h1:z3myEJnA/2wnB4sgjqdMfgxCA0EqC3RBTNcVPs93mtQ= -cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4= -cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0= -cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8= -cloud.google.com/go/dialogflow v1.18.0/go.mod h1:trO7Zu5YdyEuR+BhSNOqJezyFQ3aUzz0njv7sMx/iek= -cloud.google.com/go/dialogflow v1.19.0/go.mod h1:JVmlG1TwykZDtxtTXujec4tQ+D8SBFMoosgy+6Gn0s0= -cloud.google.com/go/dialogflow v1.29.0/go.mod h1:b+2bzMe+k1s9V+F2jbJwpHPzrnIyHihAdRFMtn2WXuM= -cloud.google.com/go/dialogflow v1.31.0/go.mod h1:cuoUccuL1Z+HADhyIA7dci3N5zUssgpBJmCzI6fNRB4= -cloud.google.com/go/dialogflow v1.32.0/go.mod h1:jG9TRJl8CKrDhMEcvfcfFkkpp8ZhgPz3sBGmAUYJ2qE= -cloud.google.com/go/dlp v1.6.0/go.mod h1:9eyB2xIhpU0sVwUixfBubDoRwP+GjeUoxxeueZmqvmM= -cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q= -cloud.google.com/go/dlp v1.9.0/go.mod h1:qdgmqgTyReTz5/YNSSuueR8pl7hO0o9bQ39ZhtgkWp4= -cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU= -cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU= -cloud.google.com/go/documentai v1.9.0/go.mod h1:FS5485S8R00U10GhgBC0aNGrJxBP8ZVpEeJ7PQDZd6k= -cloud.google.com/go/documentai v1.10.0/go.mod h1:vod47hKQIPeCfN2QS/jULIvQTugbmdc0ZvxxfQY1bg4= -cloud.google.com/go/documentai v1.16.0/go.mod h1:o0o0DLTEZ+YnJZ+J4wNfTxmDVyrkzFvttBXXtYRMHkM= -cloud.google.com/go/documentai v1.18.0/go.mod h1:F6CK6iUH8J81FehpskRmhLq/3VlwQvb7TvwOceQ2tbs= -cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= -cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= -cloud.google.com/go/domains v0.8.0/go.mod h1:M9i3MMDzGFXsydri9/vW+EWz9sWb4I6WyHqdlAk0idE= -cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk= -cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= -cloud.google.com/go/edgecontainer v0.3.0/go.mod h1:FLDpP4nykgwwIfcLt6zInhprzw0lEi2P1fjO6Ie0qbc= -cloud.google.com/go/edgecontainer v1.0.0/go.mod h1:cttArqZpBB2q58W/upSG++ooo6EsblxDIolxa3jSjbY= -cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU= -cloud.google.com/go/essentialcontacts v1.3.0/go.mod h1:r+OnHa5jfj90qIfZDO/VztSFqbQan7HV75p8sA+mdGI= -cloud.google.com/go/essentialcontacts v1.4.0/go.mod h1:8tRldvHYsmnBCHdFpvU+GL75oWiBKl80BiqlFh9tp+8= -cloud.google.com/go/essentialcontacts v1.5.0/go.mod h1:ay29Z4zODTuwliK7SnX8E86aUF2CTzdNtvv42niCX0M= -cloud.google.com/go/eventarc v1.7.0/go.mod h1:6ctpF3zTnaQCxUjHUdcfgcA1A2T309+omHZth7gDfmc= -cloud.google.com/go/eventarc v1.8.0/go.mod h1:imbzxkyAU4ubfsaKYdQg04WS1NvncblHEup4kvF+4gw= -cloud.google.com/go/eventarc v1.10.0/go.mod h1:u3R35tmZ9HvswGRBnF48IlYgYeBcPUCjkr4BTdem2Kw= -cloud.google.com/go/eventarc v1.11.0/go.mod h1:PyUjsUKPWoRBCHeOxZd/lbOOjahV41icXyUY5kSTvVY= -cloud.google.com/go/filestore v1.3.0/go.mod h1:+qbvHGvXU1HaKX2nD0WEPo92TP/8AQuCVEBXNY9z0+w= -cloud.google.com/go/filestore v1.4.0/go.mod h1:PaG5oDfo9r224f8OYXURtAsY+Fbyq/bLYoINEK8XQAI= -cloud.google.com/go/filestore v1.5.0/go.mod h1:FqBXDWBp4YLHqRnVGveOkHDf8svj9r5+mUDLupOWEDs= -cloud.google.com/go/filestore v1.6.0/go.mod h1:di5unNuss/qfZTw2U9nhFqo8/ZDSc466dre85Kydllg= -cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= -cloud.google.com/go/firestore v1.9.0/go.mod h1:HMkjKHNTtRyZNiMzu7YAsLr9K3X2udY2AMwDaMEQiiE= -cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk= -cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg= -cloud.google.com/go/functions v1.8.0/go.mod h1:RTZ4/HsQjIqIYP9a9YPbU+QFoQsAlYgrwOXJWHn1POY= -cloud.google.com/go/functions v1.9.0/go.mod h1:Y+Dz8yGguzO3PpIjhLTbnqV1CWmgQ5UwtlpzoyquQ08= -cloud.google.com/go/functions v1.10.0/go.mod h1:0D3hEOe3DbEvCXtYOZHQZmD+SzYsi1YbI7dGvHfldXw= -cloud.google.com/go/functions v1.12.0/go.mod h1:AXWGrF3e2C/5ehvwYo/GH6O5s09tOPksiKhz+hH8WkA= -cloud.google.com/go/functions v1.13.0/go.mod h1:EU4O007sQm6Ef/PwRsI8N2umygGqPBS/IZQKBQBcJ3c= -cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM= -cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA= -cloud.google.com/go/gaming v1.7.0/go.mod h1:LrB8U7MHdGgFG851iHAfqUdLcKBdQ55hzXy9xBJz0+w= -cloud.google.com/go/gaming v1.8.0/go.mod h1:xAqjS8b7jAVW0KFYeRUxngo9My3f33kFmua++Pi+ggM= -cloud.google.com/go/gaming v1.9.0/go.mod h1:Fc7kEmCObylSWLO334NcO+O9QMDyz+TKC4v1D7X+Bc0= -cloud.google.com/go/gkebackup v0.2.0/go.mod h1:XKvv/4LfG829/B8B7xRkk8zRrOEbKtEam6yNfuQNH60= -cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2HDlj4TsBRAo= -cloud.google.com/go/gkebackup v0.4.0/go.mod h1:byAyBGUwYGEEww7xsbnUTBHIYcOPy/PgUWUtOeRm9Vg= -cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o= -cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= -cloud.google.com/go/gkeconnect v0.7.0/go.mod h1:SNfmVqPkaEi3bF/B3CNZOAYPYdg7sU+obZ+QTky2Myw= -cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0= -cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= -cloud.google.com/go/gkehub v0.11.0/go.mod h1:JOWHlmN+GHyIbuWQPl47/C2RFhnFKH38jH9Ascu3n0E= -cloud.google.com/go/gkehub v0.12.0/go.mod h1:djiIwwzTTBrF5NaXCGv3mf7klpEMcST17VBTVVDcuaw= -cloud.google.com/go/gkemulticloud v0.3.0/go.mod h1:7orzy7O0S+5kq95e4Hpn7RysVA7dPs8W/GgfUtsPbrA= -cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI= -cloud.google.com/go/gkemulticloud v0.5.0/go.mod h1:W0JDkiyi3Tqh0TJr//y19wyb1yf8llHVto2Htf2Ja3Y= -cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= -cloud.google.com/go/gsuiteaddons v1.3.0/go.mod h1:EUNK/J1lZEZO8yPtykKxLXI6JSVN2rg9bN8SXOa0bgM= -cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o= -cloud.google.com/go/gsuiteaddons v1.5.0/go.mod h1:TFCClYLd64Eaa12sFVmUyG62tk4mdIsI7pAnSXRkcFo= -cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= -cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= -cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= -cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc= -cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQEYOeg= -cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE= -cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= -cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= -cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= -cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= -cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= -cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= -cloud.google.com/go/iap v1.7.0/go.mod h1:beqQx56T9O1G1yNPph+spKpNibDlYIiIixiqsQXxLIo= -cloud.google.com/go/iap v1.7.1/go.mod h1:WapEwPc7ZxGt2jFGB/C/bm+hP0Y6NXzOYGjpPnmMS74= -cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM= -cloud.google.com/go/ids v1.2.0/go.mod h1:5WXvp4n25S0rA/mQWAg1YEEBBq6/s+7ml1RDCW1IrcY= -cloud.google.com/go/ids v1.3.0/go.mod h1:JBdTYwANikFKaDP6LtW5JAi4gubs57SVNQjemdt6xV4= -cloud.google.com/go/iot v1.3.0/go.mod h1:r7RGh2B61+B8oz0AGE+J72AhA0G7tdXItODWsaA2oLs= -cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0iV+g= -cloud.google.com/go/iot v1.5.0/go.mod h1:mpz5259PDl3XJthEmh9+ap0affn/MqNSP4My77Qql9o= -cloud.google.com/go/iot v1.6.0/go.mod h1:IqdAsmE2cTYYNO1Fvjfzo9po179rAtJeVGUvkLN3rLE= -cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= -cloud.google.com/go/kms v1.5.0/go.mod h1:QJS2YY0eJGBg3mnDfuaCyLauWwBJiHRboYxJ++1xJNg= -cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0= -cloud.google.com/go/kms v1.8.0/go.mod h1:4xFEhYFqvW+4VMELtZyxomGSYtSQKzM178ylFW4jMAg= -cloud.google.com/go/kms v1.9.0/go.mod h1:qb1tPTgfF9RQP8e1wq4cLFErVuTJv7UsSC915J8dh3w= -cloud.google.com/go/kms v1.10.0/go.mod h1:ng3KTUtQQU9bPX3+QGLsflZIHlkbn8amFAMY63m8d24= -cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= -cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= -cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= -cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= -cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEyygwpgVKB8= -cloud.google.com/go/language v1.9.0/go.mod h1:Ns15WooPM5Ad/5no/0n81yUetis74g3zrbeJBE+ptUY= -cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= -cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= -cloud.google.com/go/lifesciences v0.8.0/go.mod h1:lFxiEOMqII6XggGbOnKiyZ7IBwoIqA84ClvoezaA/bo= -cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw= -cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= -cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= -cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= -cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= -cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= -cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= -cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA= -cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI= -cloud.google.com/go/maps v0.6.0/go.mod h1:o6DAMMfb+aINHz/p/jbcY+mYeXBoZoxTfdSQ8VAJaCw= -cloud.google.com/go/maps v0.7.0/go.mod h1:3GnvVl3cqeSvgMcpRlQidXsPYuDGQ8naBis7MVzpXsY= -cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= -cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= -cloud.google.com/go/mediatranslation v0.7.0/go.mod h1:LCnB/gZr90ONOIQLgSXagp8XUW1ODs2UmUMvcgMfI2I= -cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= -cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM= -cloud.google.com/go/memcache v1.6.0/go.mod h1:XS5xB0eQZdHtTuTF9Hf8eJkKtR3pVRCcvJwtm68T3rA= -cloud.google.com/go/memcache v1.7.0/go.mod h1:ywMKfjWhNtkQTxrWxCkCFkoPjLHPW6A7WOTVI8xy3LY= -cloud.google.com/go/memcache v1.9.0/go.mod h1:8oEyzXCu+zo9RzlEaEjHl4KkgjlNDaXbCQeQWlzNFJM= -cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY= -cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s= -cloud.google.com/go/metastore v1.7.0/go.mod h1:s45D0B4IlsINu87/AsWiEVYbLaIMeUSoxlKKDqBGFS8= -cloud.google.com/go/metastore v1.8.0/go.mod h1:zHiMc4ZUpBiM7twCIFQmJ9JMEkDSyZS9U12uf7wHqSI= -cloud.google.com/go/metastore v1.10.0/go.mod h1:fPEnH3g4JJAk+gMRnrAnoqyv2lpUCqJPWOodSaf45Eo= -cloud.google.com/go/monitoring v1.7.0/go.mod h1:HpYse6kkGo//7p6sT0wsIC6IBDET0RhIsnmlA53dvEk= -cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4= -cloud.google.com/go/monitoring v1.12.0/go.mod h1:yx8Jj2fZNEkL/GYZyTLS4ZtZEZN8WtDEiEqG4kLK50w= -cloud.google.com/go/monitoring v1.13.0/go.mod h1:k2yMBAB1H9JT/QETjNkgdCGD9bPF712XiLTVr+cBrpw= -cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= -cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= -cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM= -cloud.google.com/go/networkconnectivity v1.7.0/go.mod h1:RMuSbkdbPwNMQjB5HBWD5MpTBnNm39iAVpC3TmsExt8= -cloud.google.com/go/networkconnectivity v1.10.0/go.mod h1:UP4O4sWXJG13AqrTdQCD9TnLGEbtNRqjuaaA7bNjF5E= -cloud.google.com/go/networkconnectivity v1.11.0/go.mod h1:iWmDD4QF16VCDLXUqvyspJjIEtBR/4zq5hwnY2X3scM= -cloud.google.com/go/networkmanagement v1.4.0/go.mod h1:Q9mdLLRn60AsOrPc8rs8iNV6OHXaGcDdsIQe1ohekq8= -cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4= -cloud.google.com/go/networkmanagement v1.6.0/go.mod h1:5pKPqyXjB/sgtvB5xqOemumoQNB7y95Q7S+4rjSOPYY= -cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= -cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= -cloud.google.com/go/networksecurity v0.7.0/go.mod h1:mAnzoxx/8TBSyXEeESMy9OOYwo1v+gZ5eMRnsT5bC8k= -cloud.google.com/go/networksecurity v0.8.0/go.mod h1:B78DkqsxFG5zRSVuwYFRZ9Xz8IcQ5iECsNrPn74hKHU= -cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY= -cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34= -cloud.google.com/go/notebooks v1.4.0/go.mod h1:4QPMngcwmgb6uw7Po99B2xv5ufVoIQ7nOGDyL4P8AgA= -cloud.google.com/go/notebooks v1.5.0/go.mod h1:q8mwhnP9aR8Hpfnrc5iN5IBhrXUy8S2vuYs+kBJ/gu0= -cloud.google.com/go/notebooks v1.7.0/go.mod h1:PVlaDGfJgj1fl1S3dUwhFMXFgfYGhYQt2164xOMONmE= -cloud.google.com/go/notebooks v1.8.0/go.mod h1:Lq6dYKOYOWUCTvw5t2q1gp1lAp0zxAxRycayS0iJcqQ= -cloud.google.com/go/optimization v1.1.0/go.mod h1:5po+wfvX5AQlPznyVEZjGJTMr4+CAkJf2XSTQOOl9l4= -cloud.google.com/go/optimization v1.2.0/go.mod h1:Lr7SOHdRDENsh+WXVmQhQTrzdu9ybg0NecjHidBq6xs= -cloud.google.com/go/optimization v1.3.1/go.mod h1:IvUSefKiwd1a5p0RgHDbWCIbDFgKuEdB+fPPuP0IDLI= -cloud.google.com/go/orchestration v1.3.0/go.mod h1:Sj5tq/JpWiB//X/q3Ngwdl5K7B7Y0KZ7bfv0wL6fqVA= -cloud.google.com/go/orchestration v1.4.0/go.mod h1:6W5NLFWs2TlniBphAViZEVhrXRSMgUGDfW7vrWKvsBk= -cloud.google.com/go/orchestration v1.6.0/go.mod h1:M62Bevp7pkxStDfFfTuCOaXgaaqRAga1yKyoMtEoWPQ= -cloud.google.com/go/orgpolicy v1.4.0/go.mod h1:xrSLIV4RePWmP9P3tBl8S93lTmlAxjm06NSm2UTmKvE= -cloud.google.com/go/orgpolicy v1.5.0/go.mod h1:hZEc5q3wzwXJaKrsx5+Ewg0u1LxJ51nNFlext7Tanwc= -cloud.google.com/go/orgpolicy v1.10.0/go.mod h1:w1fo8b7rRqlXlIJbVhOMPrwVljyuW5mqssvBtU18ONc= -cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs= -cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg= -cloud.google.com/go/osconfig v1.9.0/go.mod h1:Yx+IeIZJ3bdWmzbQU4fxNl8xsZ4amB+dygAwFPlvnNo= -cloud.google.com/go/osconfig v1.10.0/go.mod h1:uMhCzqC5I8zfD9zDEAfvgVhDS8oIjySWh+l4WK6GnWw= -cloud.google.com/go/osconfig v1.11.0/go.mod h1:aDICxrur2ogRd9zY5ytBLV89KEgT2MKB2L/n6x1ooPw= -cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= -cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= -cloud.google.com/go/oslogin v1.6.0/go.mod h1:zOJ1O3+dTU8WPlGEkFSh7qeHPPSoxrcMbbK1Nm2iX70= -cloud.google.com/go/oslogin v1.7.0/go.mod h1:e04SN0xO1UNJ1M5GP0vzVBFicIe4O53FOfcixIqTyXo= -cloud.google.com/go/oslogin v1.9.0/go.mod h1:HNavntnH8nzrn8JCTT5fj18FuJLFJc4NaZJtBnQtKFs= -cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0= -cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= -cloud.google.com/go/phishingprotection v0.7.0/go.mod h1:8qJI4QKHoda/sb/7/YmMQ2omRLSLYSu9bU0EKCNI+Lk= -cloud.google.com/go/policytroubleshooter v1.3.0/go.mod h1:qy0+VwANja+kKrjlQuOzmlvscn4RNsAc0e15GGqfMxg= -cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LKtPa8lKeCByYeKTIf/vxdE= -cloud.google.com/go/policytroubleshooter v1.5.0/go.mod h1:Rz1WfV+1oIpPdN2VvvuboLVRsB1Hclg3CKQ53j9l8vw= -cloud.google.com/go/policytroubleshooter v1.6.0/go.mod h1:zYqaPTsmfvpjm5ULxAyD/lINQxJ0DDsnWOP/GZ7xzBc= -cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0= -cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= -cloud.google.com/go/privatecatalog v0.7.0/go.mod h1:2s5ssIFO69F5csTXcwBP7NPFTZvps26xGzvQ2PQaBYg= -cloud.google.com/go/privatecatalog v0.8.0/go.mod h1:nQ6pfaegeDAq/Q5lrfCQzQLhubPiZhSaNhIgfJlnIXs= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/pubsub v1.26.0/go.mod h1:QgBH3U/jdJy/ftjPhTkyXNj543Tin1pRYcdcPRnFIRI= -cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0= -cloud.google.com/go/pubsub v1.28.0/go.mod h1:vuXFpwaVoIPQMGXqRyUQigu/AX1S3IWugR9xznmcXX8= -cloud.google.com/go/pubsub v1.30.0/go.mod h1:qWi1OPS0B+b5L+Sg6Gmc9zD1Y+HaM0MdUr7LsupY1P4= -cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg= -cloud.google.com/go/pubsublite v1.6.0/go.mod h1:1eFCS0U11xlOuMFV/0iBqw3zP12kddMeCbj/F3FSj9k= -cloud.google.com/go/pubsublite v1.7.0/go.mod h1:8hVMwRXfDfvGm3fahVbtDbiLePT3gpoiJYJY+vxWxVM= -cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= -cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o= -cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk= -cloud.google.com/go/recaptchaenterprise/v2 v2.3.0/go.mod h1:O9LwGCjrhGHBQET5CA7dd5NwwNQUErSgEDit1DLNTdo= -cloud.google.com/go/recaptchaenterprise/v2 v2.4.0/go.mod h1:Am3LHfOuBstrLrNCBrlI5sbwx9LBg3te2N6hGvHn2mE= -cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U= -cloud.google.com/go/recaptchaenterprise/v2 v2.6.0/go.mod h1:RPauz9jeLtB3JVzg6nCbe12qNoaa8pXc4d/YukAmcnA= -cloud.google.com/go/recaptchaenterprise/v2 v2.7.0/go.mod h1:19wVj/fs5RtYtynAPJdDTb69oW0vNHYDBTbB4NvMD9c= -cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg= -cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= -cloud.google.com/go/recommendationengine v0.7.0/go.mod h1:1reUcE3GIu6MeBz/h5xZJqNLuuVjNg1lmWMPyjatzac= -cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg= -cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c= -cloud.google.com/go/recommender v1.7.0/go.mod h1:XLHs/W+T8olwlGOgfQenXBTbIseGclClff6lhFVe9Bs= -cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70= -cloud.google.com/go/recommender v1.9.0/go.mod h1:PnSsnZY7q+VL1uax2JWkt/UegHssxjUVVCrX52CuEmQ= -cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y= -cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A= -cloud.google.com/go/redis v1.9.0/go.mod h1:HMYQuajvb2D0LvMgZmLDZW8V5aOC/WxstZHiy4g8OiA= -cloud.google.com/go/redis v1.10.0/go.mod h1:ThJf3mMBQtW18JzGgh41/Wld6vnDDc/F/F35UolRZPM= -cloud.google.com/go/redis v1.11.0/go.mod h1:/X6eicana+BWcUda5PpwZC48o37SiFVTFSs0fWAJ7uQ= -cloud.google.com/go/resourcemanager v1.3.0/go.mod h1:bAtrTjZQFJkiWTPDb1WBjzvc6/kifjj4QBYuKCCoqKA= -cloud.google.com/go/resourcemanager v1.4.0/go.mod h1:MwxuzkumyTX7/a3n37gmsT3py7LIXwrShilPh3P1tR0= -cloud.google.com/go/resourcemanager v1.5.0/go.mod h1:eQoXNAiAvCf5PXxWxXjhKQoTMaUSNrEfg+6qdf/wots= -cloud.google.com/go/resourcemanager v1.6.0/go.mod h1:YcpXGRs8fDzcUl1Xw8uOVmI8JEadvhRIkoXXUNVYcVo= -cloud.google.com/go/resourcemanager v1.7.0/go.mod h1:HlD3m6+bwhzj9XCouqmeiGuni95NTrExfhoSrkC/3EI= -cloud.google.com/go/resourcesettings v1.3.0/go.mod h1:lzew8VfESA5DQ8gdlHwMrqZs1S9V87v3oCnKCWoOuQU= -cloud.google.com/go/resourcesettings v1.4.0/go.mod h1:ldiH9IJpcrlC3VSuCGvjR5of/ezRrOxFtpJoJo5SmXg= -cloud.google.com/go/resourcesettings v1.5.0/go.mod h1:+xJF7QSG6undsQDfsCJyqWXyBwUoJLhetkRMDRnIoXA= -cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4= -cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY= -cloud.google.com/go/retail v1.10.0/go.mod h1:2gDk9HsL4HMS4oZwz6daui2/jmKvqShXKQuB2RZ+cCc= -cloud.google.com/go/retail v1.11.0/go.mod h1:MBLk1NaWPmh6iVFSz9MeKG/Psyd7TAgm6y/9L2B4x9Y= -cloud.google.com/go/retail v1.12.0/go.mod h1:UMkelN/0Z8XvKymXFbD4EhFJlYKRx1FGhQkVPU5kF14= -cloud.google.com/go/run v0.2.0/go.mod h1:CNtKsTA1sDcnqqIFR3Pb5Tq0usWxJJvsWOCPldRU3Do= -cloud.google.com/go/run v0.3.0/go.mod h1:TuyY1+taHxTjrD0ZFk2iAR+xyOXEA0ztb7U3UNA0zBo= -cloud.google.com/go/run v0.8.0/go.mod h1:VniEnuBwqjigv0A7ONfQUaEItaiCRVujlMqerPPiktM= -cloud.google.com/go/run v0.9.0/go.mod h1:Wwu+/vvg8Y+JUApMwEDfVfhetv30hCG4ZwDR/IXl2Qg= -cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s= -cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI= -cloud.google.com/go/scheduler v1.6.0/go.mod h1:SgeKVM7MIwPn3BqtcBntpLyrIJftQISRrYB5ZtT+KOk= -cloud.google.com/go/scheduler v1.7.0/go.mod h1:jyCiBqWW956uBjjPMMuX09n3x37mtyPJegEWKxRsn44= -cloud.google.com/go/scheduler v1.8.0/go.mod h1:TCET+Y5Gp1YgHT8py4nlg2Sew8nUHMqcpousDgXJVQc= -cloud.google.com/go/scheduler v1.9.0/go.mod h1:yexg5t+KSmqu+njTIh3b7oYPheFtBWGcbVUYF1GGMIc= -cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA= -cloud.google.com/go/secretmanager v1.8.0/go.mod h1:hnVgi/bN5MYHd3Gt0SPuTPPp5ENina1/LxM+2W9U9J4= -cloud.google.com/go/secretmanager v1.9.0/go.mod h1:b71qH2l1yHmWQHt9LC80akm86mX8AL6X1MA01dW8ht4= -cloud.google.com/go/secretmanager v1.10.0/go.mod h1:MfnrdvKMPNra9aZtQFvBcvRU54hbPD8/HayQdlUgJpU= -cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4= -cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0= -cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU= -cloud.google.com/go/security v1.9.0/go.mod h1:6Ta1bO8LXI89nZnmnsZGp9lVoVWXqsVbIq/t9dzI+2Q= -cloud.google.com/go/security v1.10.0/go.mod h1:QtOMZByJVlibUT2h9afNDWRZ1G96gVywH8T5GUSb9IA= -cloud.google.com/go/security v1.12.0/go.mod h1:rV6EhrpbNHrrxqlvW0BWAIawFWq3X90SduMJdFwtLB8= -cloud.google.com/go/security v1.13.0/go.mod h1:Q1Nvxl1PAgmeW0y3HTt54JYIvUdtcpYKVfIB8AOMZ+0= -cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU= -cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc= -cloud.google.com/go/securitycenter v1.15.0/go.mod h1:PeKJ0t8MoFmmXLXWm41JidyzI3PJjd8sXWaVqg43WWk= -cloud.google.com/go/securitycenter v1.16.0/go.mod h1:Q9GMaLQFUD+5ZTabrbujNWLtSLZIZF7SAR0wWECrjdk= -cloud.google.com/go/securitycenter v1.18.1/go.mod h1:0/25gAzCM/9OL9vVx4ChPeM/+DlfGQJDwBy/UC8AKK0= -cloud.google.com/go/securitycenter v1.19.0/go.mod h1:LVLmSg8ZkkyaNy4u7HCIshAngSQ8EcIRREP3xBnyfag= -cloud.google.com/go/servicecontrol v1.4.0/go.mod h1:o0hUSJ1TXJAmi/7fLJAedOovnujSEvjKCAFNXPQ1RaU= -cloud.google.com/go/servicecontrol v1.5.0/go.mod h1:qM0CnXHhyqKVuiZnGKrIurvVImCs8gmqWsDoqe9sU1s= -cloud.google.com/go/servicecontrol v1.10.0/go.mod h1:pQvyvSRh7YzUF2efw7H87V92mxU8FnFDawMClGCNuAA= -cloud.google.com/go/servicecontrol v1.11.0/go.mod h1:kFmTzYzTUIuZs0ycVqRHNaNhgR+UMUpw9n02l/pY+mc= -cloud.google.com/go/servicecontrol v1.11.1/go.mod h1:aSnNNlwEFBY+PWGQ2DoM0JJ/QUXqV5/ZD9DOLB7SnUk= -cloud.google.com/go/servicedirectory v1.4.0/go.mod h1:gH1MUaZCgtP7qQiI+F+A+OpeKF/HQWgtAddhTbhL2bs= -cloud.google.com/go/servicedirectory v1.5.0/go.mod h1:QMKFL0NUySbpZJ1UZs3oFAmdvVxhhxB6eJ/Vlp73dfg= -cloud.google.com/go/servicedirectory v1.6.0/go.mod h1:pUlbnWsLH9c13yGkxCmfumWEPjsRs1RlmJ4pqiNjVL4= -cloud.google.com/go/servicedirectory v1.7.0/go.mod h1:5p/U5oyvgYGYejufvxhgwjL8UVXjkuw7q5XcG10wx1U= -cloud.google.com/go/servicedirectory v1.8.0/go.mod h1:srXodfhY1GFIPvltunswqXpVxFPpZjf8nkKQT7XcXaY= -cloud.google.com/go/servicedirectory v1.9.0/go.mod h1:29je5JjiygNYlmsGz8k6o+OZ8vd4f//bQLtvzkPPT/s= -cloud.google.com/go/servicemanagement v1.4.0/go.mod h1:d8t8MDbezI7Z2R1O/wu8oTggo3BI2GKYbdG4y/SJTco= -cloud.google.com/go/servicemanagement v1.5.0/go.mod h1:XGaCRe57kfqu4+lRxaFEAuqmjzF0r+gWHjWqKqBvKFo= -cloud.google.com/go/servicemanagement v1.6.0/go.mod h1:aWns7EeeCOtGEX4OvZUWCCJONRZeFKiptqKf1D0l/Jc= -cloud.google.com/go/servicemanagement v1.8.0/go.mod h1:MSS2TDlIEQD/fzsSGfCdJItQveu9NXnUniTrq/L8LK4= -cloud.google.com/go/serviceusage v1.3.0/go.mod h1:Hya1cozXM4SeSKTAgGXgj97GlqUvF5JaoXacR1JTP/E= -cloud.google.com/go/serviceusage v1.4.0/go.mod h1:SB4yxXSaYVuUBYUml6qklyONXNLt83U0Rb+CXyhjEeU= -cloud.google.com/go/serviceusage v1.5.0/go.mod h1:w8U1JvqUqwJNPEOTQjrMHkw3IaIFLoLsPLvsE3xueec= -cloud.google.com/go/serviceusage v1.6.0/go.mod h1:R5wwQcbOWsyuOfbP9tGdAnCAc6B9DRwPG1xtWMDeuPA= -cloud.google.com/go/shell v1.3.0/go.mod h1:VZ9HmRjZBsjLGXusm7K5Q5lzzByZmJHf1d0IWHEN5X4= -cloud.google.com/go/shell v1.4.0/go.mod h1:HDxPzZf3GkDdhExzD/gs8Grqk+dmYcEjGShZgYa9URw= -cloud.google.com/go/shell v1.6.0/go.mod h1:oHO8QACS90luWgxP3N9iZVuEiSF84zNyLytb+qE2f9A= -cloud.google.com/go/spanner v1.41.0/go.mod h1:MLYDBJR/dY4Wt7ZaMIQ7rXOTLjYrmxLE/5ve9vFfWos= -cloud.google.com/go/spanner v1.44.0/go.mod h1:G8XIgYdOK+Fbcpbs7p2fiprDw4CaZX63whnSMLVBxjk= -cloud.google.com/go/spanner v1.45.0/go.mod h1:FIws5LowYz8YAE1J8fOS7DJup8ff7xJeetWEo5REA2M= -cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= -cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= -cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0= -cloud.google.com/go/speech v1.9.0/go.mod h1:xQ0jTcmnRFFM2RfX/U+rk6FQNUF6DQlydUSyoooSpco= -cloud.google.com/go/speech v1.14.1/go.mod h1:gEosVRPJ9waG7zqqnsHpYTOoAS4KouMRLDFMekpJ0J0= -cloud.google.com/go/speech v1.15.0/go.mod h1:y6oH7GhqCaZANH7+Oe0BhgIogsNInLlz542tg3VqeYI= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= -cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= -cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= -cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= -cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= -cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= -cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= -cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= -cloud.google.com/go/storagetransfer v1.7.0/go.mod h1:8Giuj1QNb1kfLAiWM1bN6dHzfdlDAVC9rv9abHot2W4= -cloud.google.com/go/storagetransfer v1.8.0/go.mod h1:JpegsHHU1eXg7lMHkvf+KE5XDJ7EQu0GwNJbbVGanEw= -cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= -cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= -cloud.google.com/go/talent v1.3.0/go.mod h1:CmcxwJ/PKfRgd1pBjQgU6W3YBwiewmUzQYH5HHmSCmM= -cloud.google.com/go/talent v1.4.0/go.mod h1:ezFtAgVuRf8jRsvyE6EwmbTK5LKciD4KVnHuDEFmOOA= -cloud.google.com/go/talent v1.5.0/go.mod h1:G+ODMj9bsasAEJkQSzO2uHQWXHHXUomArjWQQYkqK6c= -cloud.google.com/go/texttospeech v1.4.0/go.mod h1:FX8HQHA6sEpJ7rCMSfXuzBcysDAuWusNNNvN9FELDd8= -cloud.google.com/go/texttospeech v1.5.0/go.mod h1:oKPLhR4n4ZdQqWKURdwxMy0uiTS1xU161C8W57Wkea4= -cloud.google.com/go/texttospeech v1.6.0/go.mod h1:YmwmFT8pj1aBblQOI3TfKmwibnsfvhIBzPXcW4EBovc= -cloud.google.com/go/tpu v1.3.0/go.mod h1:aJIManG0o20tfDQlRIej44FcwGGl/cD0oiRyMKG19IQ= -cloud.google.com/go/tpu v1.4.0/go.mod h1:mjZaX8p0VBgllCzF6wcU2ovUXN9TONFLd7iz227X2Xg= -cloud.google.com/go/tpu v1.5.0/go.mod h1:8zVo1rYDFuW2l4yZVY0R0fb/v44xLh3llq7RuV61fPM= -cloud.google.com/go/trace v1.3.0/go.mod h1:FFUE83d9Ca57C+K8rDl/Ih8LwOzWIV1krKgxg6N0G28= -cloud.google.com/go/trace v1.4.0/go.mod h1:UG0v8UBqzusp+z63o7FK74SdFE+AXpCLdFb1rshXG+Y= -cloud.google.com/go/trace v1.8.0/go.mod h1:zH7vcsbAhklH8hWFig58HvxcxyQbaIqMarMg9hn5ECA= -cloud.google.com/go/trace v1.9.0/go.mod h1:lOQqpE5IaWY0Ixg7/r2SjixMuc6lfTFeO4QGM4dQWOk= -cloud.google.com/go/translate v1.3.0/go.mod h1:gzMUwRjvOqj5i69y/LYLd8RrNQk+hOmIXTi9+nb3Djs= -cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg= -cloud.google.com/go/translate v1.5.0/go.mod h1:29YDSYveqqpA1CQFD7NQuP49xymq17RXNaUDdc0mNu0= -cloud.google.com/go/translate v1.6.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= -cloud.google.com/go/translate v1.7.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= -cloud.google.com/go/video v1.8.0/go.mod h1:sTzKFc0bUSByE8Yoh8X0mn8bMymItVGPfTuUBUyRgxk= -cloud.google.com/go/video v1.9.0/go.mod h1:0RhNKFRF5v92f8dQt0yhaHrEuH95m068JYOvLZYnJSw= -cloud.google.com/go/video v1.12.0/go.mod h1:MLQew95eTuaNDEGriQdcYn0dTwf9oWiA4uYebxM5kdg= -cloud.google.com/go/video v1.13.0/go.mod h1:ulzkYlYgCp15N2AokzKjy7MQ9ejuynOJdf1tR5lGthk= -cloud.google.com/go/video v1.14.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= -cloud.google.com/go/video v1.15.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= -cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= -cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4= -cloud.google.com/go/videointelligence v1.8.0/go.mod h1:dIcCn4gVDdS7yte/w+koiXn5dWVplOZkE+xwG9FgK+M= -cloud.google.com/go/videointelligence v1.9.0/go.mod h1:29lVRMPDYHikk3v8EdPSaL8Ku+eMzDljjuvRs105XoU= -cloud.google.com/go/videointelligence v1.10.0/go.mod h1:LHZngX1liVtUhZvi2uNS0VQuOzNi2TkY1OakiuoUOjU= -cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= -cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo= -cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo= -cloud.google.com/go/vision/v2 v2.4.0/go.mod h1:VtI579ll9RpVTrdKdkMzckdnwMyX2JILb+MhPqRbPsY= -cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= -cloud.google.com/go/vision/v2 v2.6.0/go.mod h1:158Hes0MvOS9Z/bDMSFpjwsUrZ5fPrdwuyyvKSGAGMY= -cloud.google.com/go/vision/v2 v2.7.0/go.mod h1:H89VysHy21avemp6xcf9b9JvZHVehWbET0uT/bcuY/0= -cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE= -cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= -cloud.google.com/go/vmmigration v1.5.0/go.mod h1:E4YQ8q7/4W9gobHjQg4JJSgXXSgY21nA5r8swQV+Xxc= -cloud.google.com/go/vmmigration v1.6.0/go.mod h1:bopQ/g4z+8qXzichC7GW1w2MjbErL54rk3/C843CjfY= -cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208= -cloud.google.com/go/vmwareengine v0.2.2/go.mod h1:sKdctNJxb3KLZkE/6Oui94iw/xs9PRNC2wnNLXsHvH8= -cloud.google.com/go/vmwareengine v0.3.0/go.mod h1:wvoyMvNWdIzxMYSpH/R7y2h5h3WFkx6d+1TIsP39WGY= -cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w= -cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8= -cloud.google.com/go/vpcaccess v1.6.0/go.mod h1:wX2ILaNhe7TlVa4vC5xce1bCnqE3AeH27RV31lnmZes= -cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= -cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= -cloud.google.com/go/webrisk v1.6.0/go.mod h1:65sW9V9rOosnc9ZY7A7jsy1zoHS5W9IAXv6dGqhMQMc= -cloud.google.com/go/webrisk v1.7.0/go.mod h1:mVMHgEYH0r337nmt1JyLthzMr6YxwN1aAIEc2fTcq7A= -cloud.google.com/go/webrisk v1.8.0/go.mod h1:oJPDuamzHXgUc+b8SiHRcVInZQuybnvEW72PqTc7sSg= -cloud.google.com/go/websecurityscanner v1.3.0/go.mod h1:uImdKm2wyeXQevQJXeh8Uun/Ym1VqworNDlBXQevGMo= -cloud.google.com/go/websecurityscanner v1.4.0/go.mod h1:ebit/Fp0a+FWu5j4JOmJEV8S8CzdTkAS77oDsiSqYWQ= -cloud.google.com/go/websecurityscanner v1.5.0/go.mod h1:Y6xdCPy81yi0SQnDY1xdNTNpfY1oAgXUlcfN3B3eSng= -cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= -cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= -cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M= -cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA= -cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw= -cosmossdk.io/errors v1.0.0 h1:nxF07lmlBbB8NKQhtJ+sJm6ef5uV1XkvPXG2bUntb04= -cosmossdk.io/errors v1.0.0/go.mod h1:+hJZLuhdDE0pYN8HkOrVNwrIOYvUGnn6+4fjnJs/oV0= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -filippo.io/edwards25519 v1.0.0-rc.1 h1:m0VOOB23frXZvAOK44usCgLWvtsxIoMCTBGJZlpmGfU= -filippo.io/edwards25519 v1.0.0-rc.1/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= -gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= -git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.0/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0/go.mod h1:OQeznEEkTZ9OrhHJoDD8ZDq51FHgXjqtP9z6bEwBq9U= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0/go.mod h1:okt5dMMTOFjX/aovMlrjvvXoPMBVSPzk9185BT0+eZM= -github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v1.0.0/go.mod h1:ceIuwmxDWptoW3eCqSXlnPsZFKh4X+R38dWPv7GS9Vs= -github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.0.0/go.mod h1:s1tW/At+xHqjNFvWU4G0c0Qv33KOhvbGNj0RCTQDV8s= -github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.2.0/go.mod h1:c+Lifp3EDEamAkPVzMooRNOK6CZjNSdEnf1A7jsI9u4= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.0/go.mod h1:+6KLcKIVgxoBDMqMO/Nvy7bZ9a0nbU3I1DtFQK3YvB4= -github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0= -github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= -github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0/go.mod h1:kgDmCTgBzIEPFElEF+FK0SdjAor06dRq2Go927dnQ6o= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/BurntSushi/toml v1.4.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3IMCy2vIlbG1XG/0ggNQv0SvxCAIpPM5b1nCz56Xno= -github.com/CloudyKit/jet/v6 v6.2.0/go.mod h1:d3ypHeIRNo2+XyqnGA8s+aphtcVpjP5hPwP/Lzo7Ro4= -github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DataDog/zstd v1.4.1/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= -github.com/DataDog/zstd v1.4.5/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= -github.com/DataDog/zstd v1.5.7 h1:ybO8RBeh29qrxIhCA9E8gKY6xfONU9T6G6aP9DTKfLE= -github.com/DataDog/zstd v1.5.7/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= -github.com/GoogleCloudPlatform/cloudsql-proxy v0.0.0-20190129172621-c8b1d7a94ddf/go.mod h1:aJ4qN3TfrelA6NZ6AXsXRfmEVaYin3EDbSPJrKS8OXo= -github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= -github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= -github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY= -github.com/Joker/jade v1.1.3/go.mod h1:T+2WLyt7VH6Lp0TRxQrUYEs64nRc83wkMQrfeIQKduM= -github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= -github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= -github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= -github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw= -github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk= -github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/RaduBerinde/axisds v0.0.0-20250419182453-5135a0650657 h1:8XBWWQD+vFF+JqOsm16t0Kab1a7YWV8+GISVEP8AuZ8= -github.com/RaduBerinde/axisds v0.0.0-20250419182453-5135a0650657/go.mod h1:UHGJonU9z4YYGKJxSaC6/TNcLOBptpmM5m2Cksbnw0Y= -github.com/RaduBerinde/btreemap v0.0.0-20250419174037-3d62b7205d54 h1:bsU8Tzxr/PNz75ayvCnxKZWEYdLMPDkUgticP4a4Bvk= -github.com/RaduBerinde/btreemap v0.0.0-20250419174037-3d62b7205d54/go.mod h1:0tr7FllbE9gJkHq7CVeeDDFAFKQVy5RnCSSNBOvdqbc= -github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06/go.mod h1:7erjKLwalezA0k99cWs5L11HWOAPNjdUZ6RxH1BXbbM= -github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= -github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= -github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8= -github.com/VictoriaMetrics/fastcache v1.12.2 h1:N0y9ASrJ0F6h0QaC3o6uJb3NIZ9VKLjCM7NQbSmF7WI= -github.com/VictoriaMetrics/fastcache v1.12.2/go.mod h1:AmC+Nzz1+3G2eCPapF6UcsnkThDcMsQicp4xDukwJYI= -github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE= -github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= -github.com/Zilliqa/gozilliqa-sdk v1.2.1-0.20201201074141-dd0ecada1be6/go.mod h1:eSYp2T6f0apnuW8TzhV3f6Aff2SE8Dwio++U4ha4yEM= -github.com/aclements/go-gg v0.0.0-20170118225347-6dbb4e4fefb0/go.mod h1:55qNq4vcpkIuHowELi5C8e+1yUHtoLoOUR9QU5j7Tes= -github.com/aclements/go-moremath v0.0.0-20210112150236-f10218a38794/go.mod h1:7e+I0LQFUI9AXWxOfsQROs9xPhoJtbsyWcjJqDd4KPY= -github.com/aclements/go-perfevent v0.0.0-20240301234650-f7843625020f h1:JjxwchlOepwsUWcQwD2mLUAGE9aCp0/ehy6yCHFBOvo= -github.com/aclements/go-perfevent v0.0.0-20240301234650-f7843625020f/go.mod h1:tMDTce/yLLN/SK8gMOxQfnyeMeCg8KGzp0D1cbECEeo= -github.com/adlio/schema v1.3.9 h1:MLYk1VX1dn7xHW7Kdm1ywKKLjh19DRnrc65axS5xQA8= -github.com/adlio/schema v1.3.9/go.mod h1:GnxXztHzNh6pIc7qm3sw+jsmHrXgBy/x2RBSkKZ3L4w= -github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= -github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= -github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= -github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY= -github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk= -github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= -github.com/ajstarks/svgo v0.0.0-20210923152817-c3b6e2f0c527/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= -github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b/go.mod h1:1KcenG0jGWcpt8ov532z81sp/kMMUG485J2InIOyADM= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/alitto/pond v1.8.3 h1:ydIqygCLVPqIX/USe5EaV/aSRXTRXDEI9JwuDdu+/xs= -github.com/alitto/pond v1.8.3/go.mod h1:CmvIIGd5jKLasGI3D87qDkQxjzChdKMmnXMg3fG6M6Q= -github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah4HI848JfFxHt+iPb26b4zyfspmqY0/8= -github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= -github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= -github.com/andybalholm/brotli v1.0.5/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= -github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/apache/arrow-go/v18 v18.4.1 h1:q/jVkBWCJOB9reDgaIZIdruLQUb1kbkvOnOFezVH1C4= -github.com/apache/arrow/go/v10 v10.0.1/go.mod h1:YvhnlEePVnBS4+0z3fhPfUy7W1Ikj0Ih0vcRo/gZ1M0= -github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4xei5aX110hRiI= -github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= -github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= -github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= -github.com/apache/thrift v0.22.0 h1:r7mTJdj51TMDe6RtcmNdQxgn9XcyfGDOzegMDRg47uc= -github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= -github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-metrics v0.4.1 h1:hR91U9KYmb6bLBYLQjyM+3j+rcd/UhE+G78SFnF8gJA= -github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= -github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= -github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= -github.com/aws/aws-sdk-go-v2 v1.21.2/go.mod h1:ErQhvNuEMhJjweavOYhxVkn2RUx7kQXVATHrjKtxIpM= -github.com/aws/aws-sdk-go-v2/config v1.18.45/go.mod h1:ZwDUgFnQgsazQTnWfeLWk5GjeqTQTL8lMkoE1UXzxdE= -github.com/aws/aws-sdk-go-v2/credentials v1.13.43/go.mod h1:zWJBz1Yf1ZtX5NGax9ZdNjhhI4rgjfgsyk6vTY1yfVg= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.13/go.mod h1:f/Ib/qYjhV2/qdsf79H3QP/eRE4AkVyEf6sk7XfZ1tg= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.43/go.mod h1:auo+PiyLl0n1l8A0e8RIeR8tOzYPfZZH/JNlrJ8igTQ= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.37/go.mod h1:Qe+2KtKml+FEsQF/DHmDV+xjtche/hwoF75EG4UlHW8= -github.com/aws/aws-sdk-go-v2/internal/ini v1.3.45/go.mod h1:lD5M20o09/LCuQ2mE62Mb/iSdSlCNuj6H5ci7tW7OsE= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.37/go.mod h1:vBmDnwWXWxNPFRMmG2m/3MKOe+xEcMDo1tanpaWCcck= -github.com/aws/aws-sdk-go-v2/service/route53 v1.30.2/go.mod h1:TQZBt/WaQy+zTHoW++rnl8JBrmZ0VO6EUbVua1+foCA= -github.com/aws/aws-sdk-go-v2/service/sso v1.15.2/go.mod h1:gsL4keucRCgW+xA85ALBpRFfdSLH4kHOVSnLMSuBECo= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.3/go.mod h1:a7bHA82fyUXOm+ZSWKU6PIoBxrjSprdLoM8xPYvzYVg= -github.com/aws/aws-sdk-go-v2/service/sts v1.23.2/go.mod h1:Eows6e1uQEsc4ZaHANmsPRzAKcVDrcmjjWiih2+HUUQ= -github.com/aws/smithy-go v1.15.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= -github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= -github.com/benbjohnson/immutable v0.4.3 h1:GYHcksoJ9K6HyAUpGxwZURrbTkXA0Dh4otXGqbhdrjA= -github.com/benbjohnson/immutable v0.4.3/go.mod h1:qJIKKSmdqz1tVzNtst1DZzvaqOU1onk1rc03IeM3Owk= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= -github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bits-and-blooms/bitset v1.7.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= -github.com/bits-and-blooms/bitset v1.14.2/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= -github.com/bits-and-blooms/bitset v1.17.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= -github.com/bits-and-blooms/bitset v1.22.0 h1:Tquv9S8+SGaS3EhyA+up3FXzmkhxPGjQQCkcs2uw7w4= -github.com/bits-and-blooms/bitset v1.22.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= -github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= -github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= -github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= -github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= -github.com/btcsuite/btcd v0.23.2 h1:/YOgUp25sdCnP5ho6Hl3s0E438zlX+Kak7E6TgBgoT0= -github.com/btcsuite/btcd v0.23.2/go.mod h1:0QJIIN1wwIXF/3G/m87gIwGniDMDQqjVn4SZgnFpsYY= -github.com/btcsuite/btcd/btcec/v2 v2.1.0/go.mod h1:2VzYrv4Gm4apmbVVsSq5bqf1Ec8v56E48Vt0Y/umPgA= -github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE= -github.com/btcsuite/btcd/btcec/v2 v2.2.0/go.mod h1:U7MHm051Al6XmscBQ0BoNydpOTsFAn707034b5nY8zU= -github.com/btcsuite/btcd/btcec/v2 v2.3.5 h1:dpAlnAwmT1yIBm3exhT1/8iUSD98RDJM5vqJVQDQLiU= -github.com/btcsuite/btcd/btcec/v2 v2.3.5/go.mod h1:m22FrOAiuxl/tht9wIqAoGHcbnCCaPWyauO8y2LGGtQ= -github.com/btcsuite/btcd/btcutil v1.1.0/go.mod h1:5OapHB7A2hBBWLm48mmw4MOHNJCcUBTwmWH/0Jn8VHE= -github.com/btcsuite/btcd/chaincfg/chainhash v1.0.0/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= -github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U= -github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= -github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= -github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= -github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= -github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY= -github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= -github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= -github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= -github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= -github.com/cespare/cp v0.1.0 h1:SE+dxFebS7Iik5LK0tsi1k9ZCxEaFX4AjQmoyA+1dJk= -github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= -github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= -github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927/go.mod h1:h/aW8ynjgkuj+NQRlZcDbAbM1ORAbXjXX77sX7T289U= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/readline v1.5.0/go.mod h1:x22KAscuvRqlLoK9CsoYsmxoXZMMFVyOl86cAH8qUic= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/chzyer/test v0.0.0-20210722231415-061457976a23/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= -github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= -github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= -github.com/cloudflare/cloudflare-go v0.114.0/go.mod h1:O7fYfFfA6wKqKFn2QIR9lhj7FDw6VQCGOY6hd2TBtd0= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cockroachdb/crlib v0.0.0-20241112164430-1264a2edc35b h1:SHlYZ/bMx7frnmeqCu+xm0TCxXLzX3jQIVuFbnFGtFU= -github.com/cockroachdb/crlib v0.0.0-20241112164430-1264a2edc35b/go.mod h1:Gq51ZeKaFCXk6QwuGM0w1dnaOqc/F5zKT2zA9D6Xeac= -github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= -github.com/cockroachdb/datadriven v1.0.2/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU= -github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU= -github.com/cockroachdb/datadriven v1.0.3-0.20250407164829-2945557346d5 h1:UycK/E0TkisVrQbSoxvU827FwgBBcZ95nRRmpj/12QI= -github.com/cockroachdb/datadriven v1.0.3-0.20250407164829-2945557346d5/go.mod h1:jsaKMvD3RBCATk1/jbUZM8C9idWBJME9+VRZ5+Liq1g= -github.com/cockroachdb/errors v1.11.3 h1:5bA+k2Y6r+oz/6Z/RFlNeVCesGARKuC6YymtcDrbC/I= -github.com/cockroachdb/errors v1.11.3/go.mod h1:m4UIW4CDjx+R5cybPsNrRbreomiFqt8o1h1wUVazSd8= -github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce h1:giXvy4KSc/6g/esnpM7Geqxka4WSqI1SZc7sMJFd3y4= -github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce/go.mod h1:9/y3cnZ5GKakj/H4y9r9GTjCvAFta7KLgSHPJJYc52M= -github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE= -github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs= -github.com/cockroachdb/metamorphic v0.0.0-20231108215700-4ba948b56895 h1:XANOgPYtvELQ/h4IrmPAohXqe2pWA8Bwhejr3VQoZsA= -github.com/cockroachdb/metamorphic v0.0.0-20231108215700-4ba948b56895/go.mod h1:aPd7gM9ov9M8v32Yy5NJrDyOcD8z642dqs+F0CeNXfA= -github.com/cockroachdb/pebble v1.1.2 h1:CUh2IPtR4swHlEj48Rhfzw6l/d0qA31fItcIszQVIsA= -github.com/cockroachdb/pebble v1.1.2/go.mod h1:4exszw1r40423ZsmkG/09AFEG83I0uDgfujJdbL6kYU= -github.com/cockroachdb/pebble/v2 v2.1.3 h1:irU503OnjRoJBrkZQIJvwv9c4WvpUeOJxhRApojB8D8= -github.com/cockroachdb/pebble/v2 v2.1.3/go.mod h1:B1UgWsyR+L+UvZXNgpxw+WqsUKA8VQ/bb//FXOHghB8= -github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwPJ30= -github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= -github.com/cockroachdb/swiss v0.0.0-20251224182025-b0f6560f979b h1:VXvSNzmr8hMj8XTuY0PT9Ane9qZGul/p67vGYwl9BFI= -github.com/cockroachdb/swiss v0.0.0-20251224182025-b0f6560f979b/go.mod h1:yBRu/cnL4ks9bgy4vAASdjIW+/xMlFwuHKqtmh3GZQg= -github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= -github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= -github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0/go.mod h1:4Zcjuz89kmFXt9morQgcfYZAYZ5n8WHjt81YYWIwtTM= -github.com/coinbase/rosetta-sdk-go v0.7.0 h1:lmTO/JEpCvZgpbkOITL95rA80CPKb5CtMzLaqF2mCNg= -github.com/coinbase/rosetta-sdk-go v0.7.0/go.mod h1:7nD3oBPIiHqhRprqvMgPoGxe/nyq3yftRmpsy29coWE= -github.com/consensys/bavard v0.1.13/go.mod h1:9ItSMtA/dXMAiL7BG6bqW2m3NdSEObYWoH223nGHukI= -github.com/consensys/bavard v0.1.22/go.mod h1:k/zVjHHC4B+PQy1Pg7fgvG3ALicQw540Crag8qx+dZs= -github.com/consensys/gnark-crypto v0.12.1/go.mod h1:v2Gy7L/4ZRosZ7Ivs+9SfUDr0f5UlG+EM5t7MPHiLuY= -github.com/consensys/gnark-crypto v0.13.0/go.mod h1:wKqwsieaKPThcFkHe0d0zMsbHEUWFmZcG7KBCse210o= -github.com/consensys/gnark-crypto v0.14.0/go.mod h1:CU4UijNPsHawiVGNxe9co07FkzCeWHHrb1li/n1XoU0= -github.com/consensys/gnark-crypto v0.18.0 h1:vIye/FqI50VeAr0B3dx+YjeIvmc3LWz4yEfbWBpTUf0= -github.com/consensys/gnark-crypto v0.18.0/go.mod h1:L3mXGFTe1ZN+RSJ+CLjUt9x7PNdx8ubaYfDROyp2Z8c= -github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= -github.com/containerd/continuity v0.3.0/go.mod h1:wJEAIwKOm/pBZuBd0JmeTvnLquTB1Ag8espWhkykbPM= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= -github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= -github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= -github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= -github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= -github.com/cosmos/cosmos-sdk/ics23/go v0.8.0 h1:iKclrn3YEOwk4jQHT2ulgzuXyxmzmPczUalMwW4XH9k= -github.com/cosmos/cosmos-sdk/ics23/go v0.8.0/go.mod h1:2a4dBq88TUoqoWAU5eu0lGvpFP3wWDPgdHPargtyw30= -github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= -github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= -github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y= -github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= -github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 h1:DdzS1m6o/pCqeZ8VOAit/gyATedRgjvkVI+UCrLpyuU= -github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76/go.mod h1:0mkLWIoZuQ7uBoospo5Q9zIpqq6rYCPJDSUdeCJvPM8= -github.com/cosmos/ledger-cosmos-go v1.0.0 h1:jNKW89nPf0vR0EkjHG8Zz16h6p3zqwYEOxlHArwgYtw= -github.com/cosmos/ledger-cosmos-go v1.0.0/go.mod h1:mGaw2wDOf+Z6SfRJsMGxU9DIrBa4du0MAiPlpPhLAOE= -github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= -github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/cpuguy83/go-md2man/v2 v2.0.5/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= -github.com/cpuguy83/go-md2man/v2 v2.0.7 h1:zbFlGlXEAKlwXpmvle3d8Oe3YnkKIK4xSRTd3sHPnBo= -github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= -github.com/crate-crypto/go-ipa v0.0.0-20240223125850-b1e8a79f509c/go.mod h1:geZJZH3SzKCqnz5VT0q/DyIG/tvu/dZk+VIfXicupJs= -github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a h1:W8mUrRp6NOVl3J+MYp5kPMoUZPp7aOYHtaua31lwRHg= -github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a/go.mod h1:sTwzHBvIzm2RfVCGNEBZgRyjwK40bVoun3ZnGOCafNM= -github.com/crate-crypto/go-kzg-4844 v1.1.0 h1:EN/u9k2TF6OWSHrCCDBBU6GLNMq88OspHHlMnHfoyU4= -github.com/crate-crypto/go-kzg-4844 v1.1.0/go.mod h1:JolLjpSff1tCCJKaJx4psrlEdlXuJEC996PL3tTAFks= -github.com/creachadair/taskgroup v0.3.2 h1:zlfutDS+5XG40AOxcHDSThxKzns8Tnr9jnr6VqkYlkM= -github.com/creachadair/taskgroup v0.3.2/go.mod h1:wieWwecHVzsidg2CsUnFinW1faVN4+kq+TDlRJQ0Wbk= -github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= -github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U= -github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= -github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= -github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= -github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/deckarep/golang-set/v2 v2.6.0 h1:XfcQbWM1LlMB8BsJ8N9vW5ehnnPVIw0je80NsVHagjM= -github.com/deckarep/golang-set/v2 v2.6.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4= -github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= -github.com/decred/dcrd/crypto/blake256 v1.1.0 h1:zPMNGQCm0g4QTY27fOCorQW7EryeQ/U0x++OzVrdms8= -github.com/decred/dcrd/crypto/blake256 v1.1.0/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 h1:NMZiJj8QnKe1LgsbDayM4UoHwbvwDRwnI3hwNaAHRnc= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0/go.mod h1:ZXNYxsqcloTdSy/rNShjYzMhyjf0LaoftYK0p+A3h40= -github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= -github.com/deepmap/oapi-codegen v1.6.0/go.mod h1:ryDa9AgbELGeB+YEXE1dR53yAjHwFvE9iAUlWl9Al3M= -github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f h1:U5y3Y5UE0w7amNe7Z5G/twsBW0KEalRQXZzf8ufSh9I= -github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f/go.mod h1:xH/i4TFMt8koVQZ6WFms69WAsDWr2XsYL3Hkl7jkoLE= -github.com/dgraph-io/badger/v2 v2.2007.2/go.mod h1:26P/7fbL4kUZVEVKLAKXkBXKOydDmM2p1e+NhhnBCAE= -github.com/dgraph-io/badger/v2 v2.2007.4/go.mod h1:vSw/ax2qojzbN6eXHIx6KPKtCSHJN/Uz0X0VPruTIhk= -github.com/dgraph-io/badger/v3 v3.2103.2 h1:dpyM5eCJAtQCBcMCZcT4UBZchuTJgCywerHHgmxfxM8= -github.com/dgraph-io/badger/v3 v3.2103.2/go.mod h1:RHo4/GmYcKKh5Lxu63wLEMHJ70Pac2JqZRYGhlyAo2M= -github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E= -github.com/dgraph-io/ristretto v0.0.3/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E= -github.com/dgraph-io/ristretto v0.1.0/go.mod h1:fux0lOrBhrVCJd3lcTHsIJhq1T2rokOu6v9Vcb3Q9ug= -github.com/dgraph-io/ristretto v0.2.0 h1:XAfl+7cmoUDWW/2Lx8TGZQjjxIQ2Ley9DSf52dru4WE= -github.com/dgraph-io/ristretto v0.2.0/go.mod h1:8uBHCU/PBV4Ag0CJrP47b9Ofby5dqWNh4FicAdoqFNU= -github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= -github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WAFKLNi6ZS0675eEUC9y3AlwSbQu1Y= -github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= -github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/djherbis/atime v1.1.0/go.mod h1:28OF6Y8s3NQWwacXc5eZTsEsiMzp7LF8MbXE+XJPdBE= -github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= -github.com/dlclark/regexp2 v1.7.0 h1:7lJfhqlPssTb1WQx4yvTHN0uElPEv52sbaECrAQxjAo= -github.com/dlclark/regexp2 v1.7.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= -github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= -github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= -github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= -github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/donovanhide/eventsource v0.0.0-20210830082556-c59027999da0/go.mod h1:56wL82FO0bfMU5RvfXoIwSOP2ggqqxT+tAfNEIyxuHw= -github.com/dop251/goja v0.0.0-20211022113120-dc8c55024d06/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk= -github.com/dop251/goja v0.0.0-20230605162241-28ee0ee714f3 h1:+3HCtB74++ClLy8GgjUQYeC8R4ILzVcIe8+5edAJJnE= -github.com/dop251/goja v0.0.0-20230605162241-28ee0ee714f3/go.mod h1:QMWlm50DNe14hD7t24KEqZuUdC9sOTy8W6XbCU1mlw4= -github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7/go.mod h1:hn7BA7c8pLvoGndExHudxTDKZ84Pyvv+90pbBjbTz0Y= -github.com/dop251/goja_nodejs v0.0.0-20211022123610-8dd9abb0616d/go.mod h1:DngW8aVqWbuLRMHItjPUyqdj+HWPvnQe8V8y1nDpIbM= -github.com/duckdb/duckdb-go-bindings v0.1.23 h1:sJRXraxfC/gdHI2T7oHqrdp1VdKemrgqWGQ8986mH1c= -github.com/duckdb/duckdb-go-bindings/darwin-amd64 v0.1.23 h1:Xyw1fWu4jzOtv2Hqkaehr7f+qbIWNRfBMbZyD+g8dyU= -github.com/duckdb/duckdb-go-bindings/darwin-arm64 v0.1.23 h1:85Xomx5NxZ+Nt+VepUJzuMYbBTH+nB6JlBXIyJuTovA= -github.com/duckdb/duckdb-go-bindings/linux-amd64 v0.1.23 h1:RGw8mDqQl9JdlCYV0PAfGBuVAgOguiL5Vz5W8pH8fGw= -github.com/duckdb/duckdb-go-bindings/linux-arm64 v0.1.23 h1:f8NHa8DGes7vg55BxeMVm0ycddEJTRHEt813USdL0/I= -github.com/duckdb/duckdb-go-bindings/windows-amd64 v0.1.23 h1:HJqVo+09gT6LQWW6PlN/c7K8s0eQhv5giE7kJcMGMSU= -github.com/duckdb/duckdb-go/arrowmapping v0.0.26 h1:XKhWpNkLtIbcBE2vnKm7FaAju3daplxo8MJIXOAY/Zg= -github.com/duckdb/duckdb-go/mapping v0.0.25 h1:z4RhivKCIRv0MWQwtYekqH+ikoA29/n8L+rzgreKvsc= -github.com/duckdb/duckdb-go/v2 v2.5.3 h1:GlT+bXW+/gCYo0Q8P9L6IvvKRzMM0/tDXj5fKkoAfCM= -github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= -github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b/go.mod h1:7BvyPhdbLxMXIYTFPLsyJRFMsKmOZnQmzh6Gb+uquuM= -github.com/dvsekhvalnov/jose2go v1.5.0 h1:3j8ya4Z4kMCwT5nXIKFSV84YS+HdqSSO0VsTQxaLAeM= -github.com/dvsekhvalnov/jose2go v1.5.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= -github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= -github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= -github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= -github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= -github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385/go.mod h1:0vRUJqYpeSZifjYj7uP3BG/gKcuzL9xWVV/Y+cK33KM= -github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= -github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= -github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= -github.com/ethereum/c-kzg-4844 v1.0.0 h1:0X1LBXxaEtYD9xsyj9B9ctQEZIpnvVDeoBx8aHEwTNA= -github.com/ethereum/c-kzg-4844 v1.0.0/go.mod h1:VewdlzQmpT5QSrVhbBuGoCdFJkpaJlO1aQputP83wc0= -github.com/ethereum/evmc/v12 v12.1.0 h1:fUIzJNnXa9VPYx253lDS7L9iBZtP+tlpTdZst5e6Pks= -github.com/ethereum/evmc/v12 v12.1.0/go.mod h1:80jmft01io35nSmrX70bKFR/lncwFuqE90iLLSMyMAE= -github.com/ethereum/go-verkle v0.2.2 h1:I2W0WjnrFUIzzVPwm8ykY+7pL2d4VhlsePn4j7cnFk8= -github.com/ethereum/go-verkle v0.2.2/go.mod h1:M3b90YRnzqKyyzBEWJGqj8Qff4IDeXnzFw0P9bFw3uk= -github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c h1:8ISkoahWXwZR41ois5lSJBSVw4D0OV19Ht/JSTzvSv0= -github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c/go.mod h1:Yg+htXGokKKdzcwhuNDwVvN+uBxDGXJ7G/VN1d8fa64= -github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 h1:JWuenKqqX8nojtoVVWjGfOF9635RETekkoH6Cc9SX0A= -github.com/facebookgo/stack v0.0.0-20160209184415-751773369052/go.mod h1:UbMTZqLaRiH3MsBH8va0n7s1pQYcu3uTb8G4tygF4Zg= -github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 h1:7HZCaLC5+BZpmbhCOZJ293Lz68O7PYrF2EzeiFMwCLk= -github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= -github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= -github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= -github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= -github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/ferranbt/fastssz v0.1.2/go.mod h1:X5UPrE2u1UJjxHA8X54u04SBwdAQjG2sFtWs39YxyWs= -github.com/fjl/gencodec v0.1.0/go.mod h1:Um1dFHPONZGTHog1qD1NaWjXJW/SPB38wPv0O8uZ2fI= -github.com/flosch/pongo2/v4 v4.0.2/go.mod h1:B5ObFANs/36VwxxlgKpdchIJHMvHB562PW+BWPhwZD8= -github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= -github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= -github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= -github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= -github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= -github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= -github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= -github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= -github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= -github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k= -github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0= -github.com/garslo/gogen v0.0.0-20170306192744-1d203ffc1f61/go.mod h1:Q0X6pkwTILDlzrGEckF6HKjXe48EgsY/l7K7vhY4MW8= -github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= -github.com/getkin/kin-openapi v0.53.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= -github.com/getsentry/sentry-go v0.27.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= -github.com/getsentry/sentry-go v0.35.0 h1:+FJNlnjJsZMG3g0/rmmP7GiKjQoUF5EXfEtBwtPtkzY= -github.com/getsentry/sentry-go v0.35.0/go.mod h1:C55omcY9ChRQIUcVcGcs+Zdy4ZpQGvNJ7JYHIoSWOtE= -github.com/ghemawat/stream v0.0.0-20171120220530-696b145b53b9 h1:r5GgOLGbza2wVHRzK7aAj6lWZjfbAwiu/RDCVOKjRyM= -github.com/ghemawat/stream v0.0.0-20171120220530-696b145b53b9/go.mod h1:106OIgooyS7OzLDOpUGgm9fA3bQENb/cFSyyBmMoJDs= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= -github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= -github.com/gin-gonic/gin v1.7.0 h1:jGB9xAJQ12AIGNB4HguylppmDK1Am9ppF7XnGXXJuoU= -github.com/gin-gonic/gin v1.7.0/go.mod h1:jD2toBW3GZUr5UMcdrwQA10I7RuaFOl/SGeDjXkfUtY= -github.com/go-chi/chi/v5 v5.0.0/go.mod h1:BBug9lr0cqtdAhsu6R4AAdvufI0/XBzAQSsUqJpoZOs= -github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA= -github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og= -github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g= -github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks= -github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= -github.com/go-fonts/liberation v0.2.0/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= -github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmnUIzUY= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= -github.com/go-kit/kit v0.12.0 h1:e4o3o3IsBfAKQh5Qbbiqyfu97Ku7jrO/JbohvztANh4= -github.com/go-kit/kit v0.12.0/go.mod h1:lHd+EkCZPIwYItmGDDRdhinkzX2A1sj+M9biaEaizzs= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU= -github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= -github.com/go-latex/latex v0.0.0-20210118124228-b3d85cf34e07/go.mod h1:CO1AlKB2CSIqUrmQPqA0gdRIlnLEY0gK5JGjh37zN5U= -github.com/go-latex/latex v0.0.0-20210823091927-c0d11ff05a81/go.mod h1:SX0U8uGpxhq9o2S/CELCSUxEWWAuoCUcVCQWv7G2OCk= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= -github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= -github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= -github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= -github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab/go.mod h1:/P9AEU963A2AYjv4d1V5eVL1CQbEJq6aCNHDDjibzu8= -github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= -github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= -github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE= -github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78= -github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= -github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= -github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= -github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= -github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU= -github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs= -github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= -github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho= -github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA= -github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4= -github.com/go-playground/validator/v10 v10.11.1 h1:prmOlTVv+YjZjmRmNSF3VmspqJIxJWXmqUsHwfTRRkQ= -github.com/go-playground/validator/v10 v10.11.1/go.mod h1:i+3WkQ1FvaUjjxh1kSvIA4dMGDBiPU55YFDl0WbKdWU= -github.com/go-redis/redis/v8 v8.11.5/go.mod h1:gREzHqY1hg6oD9ngVRbLStwAWKhA0FEgq8Jd4h5lpwo= -github.com/go-sourcemap/sourcemap v2.1.3+incompatible h1:W1iEw64niKVGogNgBN3ePyLFfuisuzeidWPMPWmECqU= -github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= -github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= -github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= -github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs= -github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= -github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU= -github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM= -github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= -github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og= -github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= -github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= -github.com/gobwas/ws v1.1.0 h1:7RFti/xnNkMJnrK7D1yQ/iCIB5OrrY/54/H930kIbHA= -github.com/gobwas/ws v1.1.0/go.mod h1:nzvNcVha5eUziGrbxFCo6qFIojQHjJV5cLYIbezhfL0= -github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= -github.com/goccy/go-json v0.10.4/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= -github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4= -github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0= -github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= -github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= -github.com/gofrs/flock v0.13.0 h1:95JolYOvGMqeH31+FC7D2+uULf6mG61mEZ/A8dRYMzw= -github.com/gofrs/flock v0.13.0/go.mod h1:jxeyy9R1auM5S6JYDBhDt+E2TCo7DkratH4Pgi8P+Z0= -github.com/gogo/gateway v1.1.0 h1:u0SuhL9+Il+UbjM9VIE3ntfRujKbvVpFvNB4HbjeVQ0= -github.com/gogo/gateway v1.1.0/go.mod h1:S7rR8FRQyG3QFESeSv4l2WnsyzlCLG0CzBbUUo/mbic= -github.com/gogo/googleapis v0.0.0-20180223154316-0cd9801be74a/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= -github.com/gogo/googleapis v1.4.1/go.mod h1:2lpHqI5OcWCtVElxXnPt+s8oJvMpySlOyM6xDCrzib4= -github.com/gogo/status v1.1.0/go.mod h1:BFv9nrluPLmrS0EmGVvLaPNmRosr9KapBYd5/hpY1WM= -github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= -github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= -github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -github.com/golang-jwt/jwt/v4 v4.4.3/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= -github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= -github.com/golang-jwt/jwt/v4 v4.5.1 h1:JdqV9zKUdtaa9gdPlywC3aeoEsR681PlKC+4F5gQgeo= -github.com/golang-jwt/jwt/v4 v4.5.1/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= -github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= -github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ= -github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= -github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= -github.com/golang/mock v1.7.0-rc.1 h1:YojYx61/OLFsiv6Rw1Z96LpldJIy31o+UHmwAUMJ6/U= -github.com/golang/mock v1.7.0-rc.1/go.mod h1:s42URUywIqd+OcERslBJvOjepvNymP31m3q8d/GkuRs= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.0/go.mod h1:Qd/q+1AKNOZr9uGQzbzCmRO6sUih6GTPZv6a1/R87v0= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= -github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= -github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v1.0.0 h1:Oy607GVXHs7RtbggtPBnr2RmDArIsAefDwvrdWvRhGs= -github.com/golang/snappy v1.0.0/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219/go.mod h1:/X8TswGSh1pIozq4ZwCfxS0WA5JGXguxk94ar/4c87Y= -github.com/gonum/blas v0.0.0-20181208220705-f22b278b28ac/go.mod h1:P32wAyui1PQ58Oce/KYkOqQv8cVw1zAapXOl+dRFGbc= -github.com/gonum/floats v0.0.0-20181209220543-c233463c7e82/go.mod h1:PxC8OnwL11+aosOB5+iEPoV3picfs8tUpkVd0pDo+Kg= -github.com/gonum/internal v0.0.0-20181124074243-f884aa714029/go.mod h1:Pu4dmpkhSyOzRwuXkOgAvijx4o+4YMUJJo9OvPYMkks= -github.com/gonum/lapack v0.0.0-20181123203213-e4cdc5a0bff9/go.mod h1:XA3DeT6rxh2EAE789SSiSJNqxPaC0aE9J8NTOI0Jo/A= -github.com/gonum/matrix v0.0.0-20181209220409-c518dec07be9/go.mod h1:0EXg4mc1CNP0HCqCz+K4ts155PXIlUywf0wqN+GfPZw= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.1.3 h1:CVpQJjYgC4VbzxeGVHfvZrv1ctoYCAI8vbl07Fcxlyg= -github.com/google/btree v1.1.3/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4= -github.com/google/flatbuffers v1.12.1/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= -github.com/google/flatbuffers v2.0.8+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= -github.com/google/flatbuffers v25.2.10+incompatible h1:F3vclr7C3HpB1k9mxCGRMXq6FdUalZ6H/pNX4FP1v0Q= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= -github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= -github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= -github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= -github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= -github.com/google/martian/v3 v3.3.2/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= -github.com/google/orderedcode v0.0.1 h1:UzfcAexk9Vhv8+9pNOgRu41f16lHq725vPwnSeiG/Us= -github.com/google/orderedcode v0.0.1/go.mod h1:iVyU4/qPKHY5h/wSd6rZZCDcLJNxiWO6dvsYES2Sb20= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20230207041349-798e818bf904 h1:4/hN5RUoecvl+RmJRE2YxKWtnnQls6rQjjW5oV7qg2U= -github.com/google/pprof v0.0.0-20230207041349-798e818bf904/go.mod h1:uglQLonpP8qtYCYyzA+8c/9qtqgA3qsXGYqCPKARAFg= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/safehtml v0.0.2/go.mod h1:L4KWwDsUJdECRAEpZoBn3O64bQaywRscowZjJAzjHnU= -github.com/google/subcommands v1.2.0/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= -github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= -github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= -github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= -github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= -github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= -github.com/googleapis/gax-go v0.0.0-20161107002406-da06d194a00e/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= -github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= -github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= -github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= -github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= -github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= -github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= -github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= -github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= -github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= -github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gopherjs/gopherjs v1.17.2/go.mod h1:pRRIvn/QzFLrKfvEz3qUuEhtE/zLCWfreZ6J5gM2i+k= -github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= -github.com/gorilla/css v1.0.0/go.mod h1:Dn721qIggHpt4+EFCcTLTU/vk5ySda2ReITrtgBl60c= -github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4= -github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= -github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= -github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= -github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/grafana/pyroscope-go/godeltaprof v0.1.8 h1:iwOtYXeeVSAeYefJNaxDytgjKtUuKQbJqgAIjlnicKg= -github.com/grafana/pyroscope-go/godeltaprof v0.1.8/go.mod h1:2+l7K7twW49Ct4wFluZD3tZ6e0SjanjcUUBPVD/UuGU= -github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc h1:GN2Lv3MGO7AS6PrRoT6yV5+wkrOpcszoIsO4+4ds248= -github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc/go.mod h1:+JKpmjMGhpgPL+rXZ5nsZieVzvarn86asRlBg4uNGnk= -github.com/graph-gophers/graphql-go v1.3.0/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= -github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU= -github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0= -github.com/guptarohit/asciigraph v0.5.5/go.mod h1:dYl5wwK4gNsnFf9Zp+l06rFiDZ5YtXM6x7SRWZ3KGag= -github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= -github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= -github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= -github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-bexpr v0.1.10 h1:9kuI5PFotCboP3dkDYFr/wi0gg0QVbSNz5oFRpxn4uE= -github.com/hashicorp/go-bexpr v0.1.10/go.mod h1:oxlubA2vC/gFVfX1A6JGp7ls7uCDlfJn732ehYYg+g0= -github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= -github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= -github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= -github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= -github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= -github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-uuid v1.0.1 h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE= -github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d h1:dg1dEPuWpEqDnvIw251EVy4zlP8gWbsGj4BsUKCRpYs= -github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= -github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= -github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= -github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= -github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3 h1:aSVUgRRRtOrZOC1fYmY9gV0e9z/Iu+xNVSASWjsuyGU= -github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3/go.mod h1:5PC6ZNPde8bBqU/ewGZig35+UIZtw9Ytxez8/q5ZyFE= -github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= -github.com/holiman/billy v0.0.0-20240216141850-2abb0c79d3c4 h1:X4egAf/gcS1zATw6wn4Ej8vjuVGxeHdan+bRb2ebyv4= -github.com/holiman/billy v0.0.0-20240216141850-2abb0c79d3c4/go.mod h1:5GuXa7vkL8u9FkFuWdVvfR5ix8hRB7DbOAaYULamFpc= -github.com/holiman/bloomfilter/v2 v2.0.3 h1:73e0e/V0tCydx14a0SCYS/EWCxgwLZ18CZcZKVu0fao= -github.com/holiman/bloomfilter/v2 v2.0.3/go.mod h1:zpoh+gs7qcpqrHr3dB55AMiJwo0iURXE7ZOP9L9hSkA= -github.com/holiman/uint256 v1.2.0/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= -github.com/holiman/uint256 v1.3.2 h1:a9EgMPSC1AAaj1SZL5zIQD3WbwTuHrMGOerLjGmM/TA= -github.com/holiman/uint256 v1.3.2/go.mod h1:EOMSn4q6Nyt9P6efbI3bueV4e1b3dGlUCXeiRV4ng7E= -github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= -github.com/huin/goupnp v1.3.0 h1:UvLUlWDNpoUdYzb2TCn+MuTWtcjXKSza2n6CBdQ0xXc= -github.com/huin/goupnp v1.3.0/go.mod h1:gnGPsThkYa7bFi/KWmEysQRf48l2dvR5bxr2OFckNX8= -github.com/hydrogen18/memlistener v1.0.0/go.mod h1:qEIFzExnS6016fRpRfxrExeVn2gbClQA99gQhnIcdhE= -github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= -github.com/imkira/go-interpol v1.1.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA= -github.com/improbable-eng/grpc-web v0.14.1 h1:NrN4PY71A6tAz2sKDvC5JCauENWp0ykG8Oq1H3cpFvw= -github.com/improbable-eng/grpc-web v0.14.1/go.mod h1:zEjGHa8DAlkoOXmswrNvhUGEYQA9UI7DhrGeHR1DMGU= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= -github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/influxdata/influxdb-client-go/v2 v2.4.0/go.mod h1:vLNHdxTJkIf2mSLvGrpj8TCcISApPoXkaxP8g9uRlW8= -github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= -github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= -github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo= -github.com/iris-contrib/go.uuid v2.0.0+incompatible/go.mod h1:iz2lgM/1UnEf1kP0L/+fafWORmlnuysV2EMP8MW+qe0= -github.com/iris-contrib/httpexpect/v2 v2.12.1/go.mod h1:7+RB6W5oNClX7PTwJgJnsQP3ZuUUYB3u61KCqeSgZ88= -github.com/iris-contrib/schema v0.0.6/go.mod h1:iYszG0IOsuIsfzjymw1kMzTL8YQcCWlm65f3wX8J5iA= -github.com/jackpal/go-nat-pmp v1.0.2 h1:KzKSgb7qkJvOUTqYl9/Hg/me3pWgBmERKrTGD7BdWus= -github.com/jackpal/go-nat-pmp v1.0.2/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= -github.com/jedisct1/go-minisign v0.0.0-20230811132847-661be99b8267/go.mod h1:h1nSAbGFqGVzn6Jyl1R/iCcBUHN4g+gW1u9CoBTrb9E= -github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jhump/gopoet v0.0.0-20190322174617-17282ff210b3/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= -github.com/jhump/gopoet v0.1.0/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= -github.com/jhump/goprotoc v0.5.0/go.mod h1:VrbvcYrQOrTi3i0Vf+m+oqQWk9l72mjkJCYo7UvLHRQ= -github.com/jhump/protoreflect v1.11.0/go.mod h1:U7aMIjN0NWq9swDP7xDdoMfRHb35uiuTd3Z9nFXJf5E= -github.com/jhump/protoreflect v1.12.1-0.20220417024638-438db461d753 h1:uFlcJKZPLQd7rmOY/RrvBuUaYmAFnlFHKLivhO6cOy8= -github.com/jhump/protoreflect v1.12.1-0.20220417024638-438db461d753/go.mod h1:JytZfP5d0r8pVNLZvai7U/MCuTWITgrI4tTg7puQFKI= -github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= -github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= -github.com/jmhodges/levigo v1.0.0 h1:q5EC36kV79HWeTBWsod3mG11EgStG3qArTKcvlksN1U= -github.com/jmhodges/levigo v1.0.0/go.mod h1:Q6Qx+uH3RAqyK4rFQroq9RL7mdkABMcfhEI+nNuzMJQ= -github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= -github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= -github.com/karalabe/hid v1.0.1-0.20240306101548-573246063e52/go.mod h1:qk1sX/IBgppQNcGCRoj90u6EGC056EBoIc1oEjCWla8= -github.com/kataras/blocks v0.0.7/go.mod h1:UJIU97CluDo0f+zEjbnbkeMRlvYORtmc1304EeyXf4I= -github.com/kataras/golog v0.1.8/go.mod h1:rGPAin4hYROfk1qT9wZP6VY2rsb4zzc37QpdPjdkqVw= -github.com/kataras/iris/v12 v12.2.0/go.mod h1:BLzBpEunc41GbE68OUaQlqX4jzi791mx5HU04uPb90Y= -github.com/kataras/jwt v0.1.8/go.mod h1:Q5j2IkcIHnfwy+oNY3TVWuEBJNw0ADgCcXK9CaZwV4o= -github.com/kataras/neffos v0.0.21/go.mod h1:FeGka8lu8cjD2H+0OpBvW8c6xXawy3fj5VX6xcIJ1Fg= -github.com/kataras/pio v0.0.11/go.mod h1:38hH6SWH6m4DKSYmRhlrCJ5WItwWgCVrTNU62XZyUvI= -github.com/kataras/sitemap v0.0.6/go.mod h1:dW4dOCNs896OR1HmG+dMLdT7JjDk7mYBzoIRwuj5jA4= -github.com/kataras/tunnel v0.0.4/go.mod h1:9FkU4LaeifdMWqZu7o20ojmW4B7hdhv2CMLwfnHGpYw= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= -github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNrCn9otv/2QP4D7SMJBgaleKpOf66PnW6F5WGNRIc= -github.com/keybase/go-keychain v0.0.1 h1:way+bWYa6lDppZoZcgMbYsvC7GxljxrskdNInRtuthU= -github.com/keybase/go-keychain v0.0.1/go.mod h1:PdEILRW3i9D8JcdM+FmY6RwkHGnhHxXwkPPMeUgOK1k= -github.com/kilic/bls12-381 v0.1.0/go.mod h1:vDTTHJONJ6G+P2R74EhnyotQDTliQDnFEwhdmfzw1ig= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= -github.com/klauspost/asmfmt v1.3.2 h1:4Ri7ox3EwapiOjCki+hw14RyKk201CN4rzyCJRFLpK4= -github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= -github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= -github.com/klauspost/compress v1.15.0/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= -github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= -github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= -github.com/klauspost/compress v1.16.0/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= -github.com/klauspost/compress v1.18.3 h1:9PJRvfbmTabkOX8moIpXPbMMbYN60bWImDDU7L+/6zw= -github.com/klauspost/compress v1.18.3/go.mod h1:R0h/fSBs8DE4ENlcrlib3PsXS61voFxhIs2DeRhCvJ4= -github.com/klauspost/cpuid/v2 v2.0.4/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= -github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= -github.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= -github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= -github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/labstack/echo/v4 v4.2.1/go.mod h1:AA49e0DZ8kk5jTOOCKNuPR6oTnBS0dYiM4FW1e6jwpg= -github.com/labstack/echo/v4 v4.10.0/go.mod h1:S/T/5fy/GigaXnHTkh0ZGe4LpkkQysvRjFMSUTkDRNQ= -github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k= -github.com/labstack/gommon v0.4.0/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM= -github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8= -github.com/leanovate/gopter v0.2.11 h1:vRjThO1EKPb/1NsDXuDrzldR28RLkBflWYcU9CvzWu4= -github.com/leanovate/gopter v0.2.11/go.mod h1:aK3tzZP/C+p1m3SPRE4SYZFGP7jjkuSI4f7Xvpt0S9c= -github.com/ledgerwatch/erigon-lib v0.0.0-20230210071639-db0e7ed11263 h1:LGEzZvf33Y1NhuP5+jI/ni9l1TFS6oYPDilgy74NusM= -github.com/ledgerwatch/erigon-lib v0.0.0-20230210071639-db0e7ed11263/go.mod h1:OXgMDuUo2lZ3NpH29ZvMYbk+LxFd5ffDl2Z2mGMuY/I= -github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= -github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= -github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= -github.com/lib/pq v1.10.7 h1:p7ZhMD+KsSRozJr34udlUrhboJwWAgCg34+/ZZNvZZw= -github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/libp2p/go-buffer-pool v0.1.0 h1:oK4mSFcQz7cTQIfqbe4MIj9gLW+mnanjyFtc6cdF0Y8= -github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QTWy5HSiZacSbPg= -github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= -github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/linxGnu/grocksdb v1.8.11 h1:BGol9e5gB1BrsTvOxloC88pe70TCqgrfLNwkyWW0kD8= -github.com/linxGnu/grocksdb v1.8.11/go.mod h1:xZCIb5Muw+nhbDK4Y5UJuOrin5MceOuiXkVUR7vp4WY= -github.com/lucasjones/reggen v0.0.0-20180717132126-cdb49ff09d77/go.mod h1:5ELEyG+X8f+meRWHuqUOewBOhvHkl7M76pdGEansxW4= -github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= -github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= -github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= -github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= -github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/mailgun/raymond/v2 v2.0.48/go.mod h1:lsgvL50kgt1ylcFJYZiULi5fjPBkkhNfj4KA0W54Z18= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/matryer/moq v0.0.0-20190312154309-6cfb0558e1bd/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ= -github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2/go.mod h1:0KeJpeMD6o+O4hW7qJOT7vyQPKrWmj26uf5wMc/IiIs= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.7/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= -github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= -github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= -github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc= -github.com/mattn/go-sqlite3 v1.14.5/go.mod h1:WVKg1VTActs4Qso6iwGbiFih2UIHo0ENGwNd0Lj+XmI= -github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/mediocregopher/radix/v3 v3.8.1/go.mod h1:8FL3F6UQRXHXIBSPUs5h0RybMF8i4n7wVopoX3x7Bv8= -github.com/microcosm-cc/bluemonday v1.0.23/go.mod h1:mN70sk7UkkF8TUr2IGBpNN0jAgStuPzlK76QuruE/z4= -github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= -github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 h1:AMFGa4R4MiIpspGNG7Z948v4n35fFGB3RR3G/ry4FWs= -github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= -github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 h1:+n/aFZefKZp7spd8DFdX7uMikMLXX4oubIzJF4kv/wI= -github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= -github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= -github.com/minio/minlz v1.0.1-0.20250507153514-87eb42fe8882 h1:0lgqHvJWHLGW5TuObJrfyEi6+ASTKDBWikGvPqy9Yiw= -github.com/minio/minlz v1.0.1-0.20250507153514-87eb42fe8882/go.mod h1:qT0aEB35q79LLornSzeDH75LBf3aH1MV+jB5w9Wasec= -github.com/minio/sha256-simd v0.1.0/go.mod h1:2FMWW+8GMoPweT6+pI63m9YE3Lmw4J71hV56Chs1E/U= -github.com/minio/sha256-simd v1.0.0/go.mod h1:OuYzVNI5vcoYIAmbIvHPl3N3jUzVedXbKy5RFepssQM= -github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= -github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= -github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= -github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.3.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= -github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/pointerstructure v1.2.0 h1:O+i9nHnXS3l/9Wu7r4NrEdwA2VFTicjUEN1uBnDo34A= -github.com/mitchellh/pointerstructure v1.2.0/go.mod h1:BRAsLI5zgXmw97Lf6s25bs8ohIXc3tViBH44KcwB2g4= -github.com/mmcloughlin/addchain v0.4.0/go.mod h1:A86O+tHqZLMNO4w6ZZ4FlVQEadcoqkyU72HC5wJ4RlU= -github.com/mmcloughlin/profile v0.1.1/go.mod h1:IhHD7q1ooxgwTgjxQYkACGA77oFTDdFVejUS1/tS/qU= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee h1:W5t00kpgFdJifH4BDsTlE89Zl93FEloxaWZfGcifgq8= -github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= -github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= -github.com/montanaflynn/stats v0.7.0/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= -github.com/mtibben/percent v0.2.1 h1:5gssi8Nqo8QU/r2pynCm+hBQHpkB/uNK7BJCFogWdzs= -github.com/mtibben/percent v0.2.1/go.mod h1:KG9uO+SZkUp+VkRHsCdYQV3XSZrrSpR3O9ibNBTZrns= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/grpc-proxy v0.0.0-20181017164139-0f1106ef9c76/go.mod h1:x5OoJHDHqxHS801UIuhqGl6QdSAEJvtausosHSdazIo= -github.com/naoina/go-stringutil v0.1.0/go.mod h1:XJ2SJL9jCtBh+P9q5btrd/Ylo8XwT/h1USek5+NqSA0= -github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416/go.mod h1:NBIhNtsFMo3G2szEBne+bO4gS192HuIYRqfvOWb4i1E= -github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= -github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= -github.com/nats-io/jwt/v2 v2.3.0/go.mod h1:0tqz9Hlu6bCBFLWAASKhE5vUA4c24L9KPUUgvwumE/k= -github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= -github.com/nats-io/nats-server/v2 v2.9.11/go.mod h1:b0oVuxSlkvS3ZjMkncFeACGyZohbO4XhSqW1Lt7iRRY= -github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= -github.com/nats-io/nats.go v1.19.0/go.mod h1:tLqubohF7t4z3du1QDPYJIQQyhb4wl6DhjxEajSI7UA= -github.com/nats-io/nats.go v1.23.0/go.mod h1:ki/Scsa23edbh8IRZbCuNXR9TDcbvfaSijKtaqQgw+Q= -github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= -github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= -github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4= -github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= -github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod h1:kHJEU3ofeGjhHklVoIGuVj85JJwZ6kWPaJwCIxgnFmo= -github.com/neelance/sourcemap v0.0.0-20200213170602-2833bce08e4c/go.mod h1:Qr6/a/Q4r9LP1IltGz7tA7iOK1WonHEYhu1HRBA7ZiM= -github.com/neilotoole/errgroup v0.1.5/go.mod h1:Q2nLGf+594h0CLBs/Mbg6qOr7GtqDK7C2S41udRnToE= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= -github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= -github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= -github.com/oasisprotocol/curve25519-voi v0.0.0-20210609091139-0a56a4bca00b h1:MKwruh+HeCSKWphkxuzvRzU4QzDkg7yiPkDVV0cDFgI= -github.com/oasisprotocol/curve25519-voi v0.0.0-20210609091139-0a56a4bca00b/go.mod h1:TLJifjWF6eotcfzDjKZsDqWJ+73Uvj/N85MvVyrvynM= -github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= -github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= -github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= -github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= -github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= -github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= -github.com/onsi/ginkgo/v2 v2.0.0/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= -github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= -github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= -github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk= -github.com/onsi/ginkgo/v2 v2.3.0/go.mod h1:Eew0uilEqZmIEZr8JrvYlvOM7Rr6xzTmMV8AyFNU9d0= -github.com/onsi/ginkgo/v2 v2.4.0/go.mod h1:iHkDK1fKGcBoEHT5W7YBq4RFWaQulw+caOMkAt4OrFo= -github.com/onsi/ginkgo/v2 v2.5.0/go.mod h1:Luc4sArBICYCS8THh8v3i3i5CuSZO+RaQRaJoeNwomw= -github.com/onsi/ginkgo/v2 v2.7.0/go.mod h1:yjiuMwPokqY1XauOgju45q3sJt6VzQ/Fict1LFVcsAo= -github.com/onsi/ginkgo/v2 v2.8.1/go.mod h1:N1/NbDngAFcSLdyZ+/aYTYGSlq9qMCS/cNKGJjy+csc= -github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= -github.com/onsi/gomega v1.18.1/go.mod h1:0q+aL8jAiMXy9hbwj2mr5GziHiwhAIQpFmmtT5hitRs= -github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= -github.com/onsi/gomega v1.20.1/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= -github.com/onsi/gomega v1.21.1/go.mod h1:iYAIXgPSaDHak0LCMA+AWBpIKBr8WZicMxnE8luStNc= -github.com/onsi/gomega v1.22.1/go.mod h1:x6n7VNe4hw0vkyYUM4mjIXx3JbLiPaBPNgB7PRQ1tuM= -github.com/onsi/gomega v1.24.0/go.mod h1:Z/NWtiqwBrwUt4/2loMmHL63EDLnYHmVbuBpDr2vQAg= -github.com/onsi/gomega v1.24.1/go.mod h1:3AOiACssS3/MajrniINInwbfOOtfZvplPzuRSmvt1jM= -github.com/onsi/gomega v1.26.0/go.mod h1:r+zV744Re+DiYCIPRlYOTxn0YkOLcAnW8k1xXdMPGhM= -github.com/onsi/gomega v1.27.1 h1:rfztXRbg6nv/5f+Raen9RcGoSecHIFgBBLQK3Wdj754= -github.com/onsi/gomega v1.27.1/go.mod h1:aHX5xOykVYzWOV4WqQy0sy8BQptgukenXpCXfadcIAw= -github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= -github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= -github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM= -github.com/opencontainers/runc v1.1.14 h1:rgSuzbmgz5DUJjeSnw337TxDbRuqjs6iqQck/2weR6w= -github.com/opencontainers/runc v1.1.14/go.mod h1:E4C2z+7BxR7GHXp0hAY53mek+x49X1LjPNeMTfRGvOA= -github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= -github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= -github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= -github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= -github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4Emza6EbVUUGA= -github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs= -github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= -github.com/parquet-go/parquet-go v0.25.1 h1:l7jJwNM0xrk0cnIIptWMtnSnuxRkwq53S+Po3KG8Xgo= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= -github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= -github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= -github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= -github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaFVNZzmWyNfXas= -github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= -github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= -github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= -github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= -github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 h1:hDSdbBuw3Lefr6R18ax0tZ2BJeNB3NehB3trOwYBsdU= -github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= -github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= -github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= -github.com/phpdave11/gofpdi v1.0.13/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= -github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= -github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= -github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU= -github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= -github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8= -github.com/pion/dtls/v2 v2.2.7 h1:cSUBsETxepsCSFSxC3mc/aDo14qQLMSL+O6IjG28yV8= -github.com/pion/dtls/v2 v2.2.7/go.mod h1:8WiMkebSHFD0T+dIU+UeBaoV7kDhOW5oDCzZ7WZ/F9s= -github.com/pion/logging v0.2.2 h1:M9+AIj/+pxNsDfAT64+MAVgJO0rsyLnoJKCqf//DoeY= -github.com/pion/logging v0.2.2/go.mod h1:k0/tDVsRCX2Mb2ZEmTqNa7CWsQPc+YYCB7Q+5pahoms= -github.com/pion/stun/v2 v2.0.0 h1:A5+wXKLAypxQri59+tmQKVs7+l6mMM+3d+eER9ifRU0= -github.com/pion/stun/v2 v2.0.0/go.mod h1:22qRSh08fSEttYUmJZGlriq9+03jtVmXNODgLccj8GQ= -github.com/pion/transport/v2 v2.2.1 h1:7qYnCBlpgSJNYMbLCKuSY9KbQdBFoETvPNETv0y4N7c= -github.com/pion/transport/v2 v2.2.1/go.mod h1:cXXWavvCnFF6McHTft3DWS9iic2Mftcz1Aq29pGcU5g= -github.com/pion/transport/v3 v3.0.1 h1:gDTlPJwROfSfz6QfSi0ZmeCSkFcnWWiiR9ES0ouANiM= -github.com/pion/transport/v3 v3.0.1/go.mod h1:UY7kiITrlMv7/IKgd5eTUcaahZx5oUN3l9SzK5f5xE0= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= -github.com/pkg/diff v0.0.0-20200914180035-5b29258ca4f7/go.mod h1:zO8QMzTeZd5cpnIkz/Gn6iK0jDfGicM1nynOkkPIl28= -github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= -github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= -github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= -github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= -github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= -github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= -github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= -github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.12.0/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= -github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h0RJWRi/o0o= -github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.1-0.20210607210712-147c58e9608a/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= -github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk= -github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= -github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= -github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.66.1 h1:h5E0h5/Y8niHc5DlaLlWLArTQI7tMrsfQjHV+d9ZoGs= -github.com/prometheus/common v0.66.1/go.mod h1:gcaUsgf3KfRSwHY4dIMXLPV0K/Wg1oZ8+SbZk/HH/dA= -github.com/prometheus/otlptranslator v0.0.2 h1:+1CdeLVrRQ6Psmhnobldo0kTp96Rj80DRXRd5OSnMEQ= -github.com/prometheus/otlptranslator v0.0.2/go.mod h1:P8AwMgdD7XEr6QRUJ2QWLpiAZTgTE2UYgjlu3svompI= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= -github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.3.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.17.0 h1:FuLQ+05u4ZI+SS/w9+BWEM2TXiHKsUQ9TADiRH7DuK0= -github.com/prometheus/procfs v0.17.0/go.mod h1:oPQLaDAMRbA+u8H5Pbfq+dl3VDAvHxMUOVhe0wYB2zw= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/protolambda/bls12-381-util v0.1.0/go.mod h1:cdkysJTRpeFeuUVx/TXGDQNMTiRAalk1vQw3TYTHcE4= -github.com/protolambda/messagediff v1.4.0/go.mod h1:LboJp0EwIbJsePYpzh5Op/9G1/4mIztMRYzzwR0dR2M= -github.com/protolambda/zrnt v0.34.1/go.mod h1:A0fezkp9Tt3GBLATSPIbuY4ywYESyAuc/FFmPKg8Lqs= -github.com/protolambda/ztyp v0.2.2/go.mod h1:9bYgKGqg3wJqT9ac1gI2hnVb0STQq7p/1lapqrqY1dU= -github.com/prysmaticlabs/gohashtree v0.0.1-alpha.0.20220714111606-acbb2962fb48/go.mod h1:4pWaT30XoEx1j8KNJf3TV+E3mQkaufn7mf+jRNb/Fuk= -github.com/rakyll/statik v0.1.7 h1:OF3QCZUuyPxuGEP7B4ypUa7sB/iHtqOTDYZXGM8KOdQ= -github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Unghqrcc= -github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/regen-network/cosmos-proto v0.3.1 h1:rV7iM4SSFAagvy8RiyhiACbWEGotmqzywPxOvwMdxcg= -github.com/regen-network/cosmos-proto v0.3.1/go.mod h1:jO0sVX6a1B36nmE8C9xBFXpNwWejXC7QqCOnH3O0+YM= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1 h1:OHEc+q5iIAXpqiqFKeLpu5NwTIkVXUs48vFMwzqpqY4= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1/go.mod h1:2DjTFR1HhMQhiWC5sZ4OhQ3+NtdbZ6oBDKQwq5Ou+FI= -github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= -github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= -github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= -github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= -github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= -github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= -github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= -github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= -github.com/rs/cors v1.11.1 h1:eU3gRzXLRK57F5rKMGMZURNdIG4EoAmX8k94r9wXWHA= -github.com/rs/cors v1.11.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= -github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= -github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8= -github.com/rs/zerolog v1.33.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= -github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= -github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= -github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w= -github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk= -github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/sagikazarmark/locafero v0.9.0 h1:GbgQGNtTrEmddYDSAH9QLRyfAHY12md+8YFTqyMTC9k= -github.com/sagikazarmark/locafero v0.9.0/go.mod h1:UBUyz37V+EdMS3hDF3QWIiVr/2dPrx49OMO0Bn0hJqk= -github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= -github.com/sanity-io/litter v1.5.5/go.mod h1:9gzJgR2i4ZpjZHsKvUXIRQVk7P+yM3e+jAF7bU2UI5U= -github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0= -github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= -github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/segmentio/fasthash v1.0.3/go.mod h1:waKX8l2N8yckOgmSsXJi7x1ZfdKZ4x7KRMzBtS3oedY= -github.com/sei-protocol/go-ethereum v1.15.7-sei-16 h1:MUvhmn5acNwS/9smQ19gdl6Qh3cNjukTQzz4u8GiUHs= -github.com/sei-protocol/go-ethereum v1.15.7-sei-16/go.mod h1:+S9k+jFzlyVTNcYGvqFhzN/SFhI6vA+aOY4T5tLSPL0= -github.com/sei-protocol/goutils v0.0.2 h1:Bfa7Sv+4CVLNM20QcpvGb81B8C5HkQC/kW1CQpIbXDA= -github.com/sei-protocol/goutils v0.0.2/go.mod h1:iYE2DuJfEnM+APPehr2gOUXfuLuPsVxorcDO+Tzq9q8= -github.com/sei-protocol/sei-load v0.0.0-20251007135253-78fbdc141082 h1:f2sY8OcN60UL1/6POx+HDMZ4w04FTZtSScnrFSnGZHg= -github.com/sei-protocol/sei-load v0.0.0-20251007135253-78fbdc141082/go.mod h1:V0fNURAjS6A8+sA1VllegjNeSobay3oRUW5VFZd04bA= -github.com/sei-protocol/sei-tm-db v0.0.5 h1:3WONKdSXEqdZZeLuWYfK5hP37TJpfaUa13vAyAlvaQY= -github.com/sei-protocol/sei-tm-db v0.0.5/go.mod h1:Cpa6rGyczgthq7/0pI31jys2Fw0Nfrc+/jKdP1prVqY= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= -github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= -github.com/shirou/gopsutil v3.21.11+incompatible h1:+1+c1VGhc88SSonWP6foOcLhvnKlUeu/erjjvaPEYiI= -github.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= -github.com/shirou/gopsutil/v3 v3.23.2/go.mod h1:gv0aQw33GLo3pG8SiWKiQrbDzbRY1K80RyZJ7V4Th1M= -github.com/shurcooL/go v0.0.0-20200502201357-93f07166e636/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= -github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= -github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= -github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/smarty/assertions v1.15.0/go.mod h1:yABtdzeQs6l1brC900WlRNwj6ZR55d7B+E8C6HtKdec= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/smartystreets/goconvey v1.8.1/go.mod h1:+/u4qLyY6x1jReYOp7GOM2FSt8aP9CzCZL03bI28W60= -github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= -github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= -github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= -github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= -github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= -github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= -github.com/spf13/afero v1.14.0 h1:9tH6MapGnn/j0eb0yIXiLjERO8RB6xIVZRDCX7PtqWA= -github.com/spf13/afero v1.14.0/go.mod h1:acJQ8t0ohCGuMN3O+Pv0V0hgMxNYDlvdk+VTfyZmbYo= -github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.9.2 h1:SsGfm7M8QOFtEzumm7UZrZdLLquNdzFYfIbEXntcFbE= -github.com/spf13/cast v1.9.2/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo= -github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= -github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= -github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= -github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM= -github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= -github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= -github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4= -github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= -github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= -github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= -github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= -github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= -github.com/spf13/viper v1.20.1 h1:ZMi+z/lvLyPSCoNtFCpqjy0S4kPbirhpTMwl8BkW9X4= -github.com/spf13/viper v1.20.1/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4= -github.com/status-im/keycard-go v0.2.0/go.mod h1:wlp8ZLbsmrF6g6WjugPAx+IzoLrkdf9+mHxBEeo3Hbg= -github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= -github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= -github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= -github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= -github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= -github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= -github.com/supranational/blst v0.3.11/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= -github.com/supranational/blst v0.3.14/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= -github.com/supranational/blst v0.3.16-0.20250831170142-f48500c1fdbe h1:nbdqkIGOGfUAD54q1s2YBcBz/WcsxCO9HUQ4aGV5hUw= -github.com/supranational/blst v0.3.16-0.20250831170142-f48500c1fdbe/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= -github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= -github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= -github.com/tailscale/depaware v0.0.0-20210622194025-720c4b409502/go.mod h1:p9lPsd+cx33L3H9nNoecRRxPssFKUwwI50I3pZ0yT+8= -github.com/tdewolff/minify/v2 v2.12.4/go.mod h1:h+SRvSIX3kwgwTFOpSckvSxgax3uy8kZTSF1Ojrr3bk= -github.com/tdewolff/parse/v2 v2.6.4/go.mod h1:woz0cgbLwFdtbjJu8PIKxhW05KplTFQkOdX78o+Jgrs= -github.com/tdewolff/test v1.0.7/go.mod h1:6DAvZliBAAnD7rhVgwaM7DE5/d9NMOAJ09SqYqeK4QE= -github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RMWx1aInLzndwxKalgi5rTqgfXxOxbEI= -github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= -github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= -github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tendermint/tm-db v0.6.8-0.20220519162814-e24b96538a12 h1:unOeFDC/TV4Oh371XZGmZyfeIzeGfK/JINb0T+6C+QY= -github.com/tendermint/tm-db v0.6.8-0.20220519162814-e24b96538a12/go.mod h1:PWsIWOTwdwC7Ow/GUvx8HgUJTO691pBuorIQD8JvwAs= -github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg= -github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= -github.com/tidwall/gjson v1.6.7/go.mod h1:zeFuBCIqD4sN/gmqBzZ4j7Jd6UcA2Fc56x7QFsv+8fI= -github.com/tidwall/gjson v1.10.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= -github.com/tidwall/gjson v1.14.2 h1:6BBkirS0rAHjumnjHF6qgy5d2YAJ1TLIaFE2lzfOLqo= -github.com/tidwall/match v1.0.3/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= -github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= -github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= -github.com/tidwall/pretty v1.0.2/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= -github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= -github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= -github.com/tidwall/sjson v1.1.4/go.mod h1:wXpKXu8CtDjKAZ+3DrKY5ROCorDFahq8l0tey/Lx1fg= -github.com/tidwall/tinylru v1.1.0 h1:XY6IUfzVTU9rpwdhKUF6nQdChgCdGjkMfLzbWyiau6I= -github.com/tidwall/tinylru v1.1.0/go.mod h1:3+bX+TJ2baOLMWTnlyNWHh4QMnFyARg2TLTQ6OFbzw8= -github.com/tidwall/wal v1.2.1 h1:xQvwnRF3e+xBC4NvFvl1mPGJHU0aH5zNzlUKnKGIImA= -github.com/tidwall/wal v1.2.1/go.mod h1:r6lR1j27W9EPalgHiB7zLJDYu3mzW5BQP5KrzBpYY/E= -github.com/tklauser/go-sysconf v0.3.11/go.mod h1:GqXfhXY3kiPa0nAXPDIQIWzJbMCB7AmcWpGR8lSZfqI= -github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI= -github.com/tklauser/go-sysconf v0.3.15 h1:VE89k0criAymJ/Os65CSn1IXaol+1wrsFHEB8Ol49K4= -github.com/tklauser/go-sysconf v0.3.15/go.mod h1:Dmjwr6tYFIseJw7a3dRLJfsHAMXZ3nEnL/aZY+0IuI4= -github.com/tklauser/numcpus v0.6.0/go.mod h1:FEZLMke0lhOUG6w2JadTzp0a+Nl8PF/GFkQ5UVIcaL4= -github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY= -github.com/tklauser/numcpus v0.10.0 h1:18njr6LDBk1zuna922MgdjQuJFjrdppsZG60sHGfjso= -github.com/tklauser/numcpus v0.10.0/go.mod h1:BiTKazU708GQTYF4mB+cmlpT2Is1gLk7XVuEeem8LsQ= -github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= -github.com/tyler-smith/go-bip39 v1.0.2/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= -github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= -github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= -github.com/ugorji/go v1.2.7 h1:qYhyWUUd6WbiM+C6JZAUkIJt/1WrjzNHY9+KCIjVqTo= -github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M= -github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= -github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= -github.com/ugorji/go/codec v1.2.7 h1:YPXUKf7fYbp/y8xloBqZOw2qaVggbfwMlI8WM3wZUJ0= -github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY= -github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= -github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/urfave/cli/v2 v2.24.1/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc= -github.com/urfave/cli/v2 v2.27.5 h1:WoHEJLdsXr6dDWoJgMq/CboDmyY/8HMMH1fTECbih+w= -github.com/urfave/cli/v2 v2.27.5/go.mod h1:3Sevf16NykTbInEnD0yKkjDAeZDS0A6bzhBH5hrMvTQ= -github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.40.0/go.mod h1:t/G+3rLek+CyY9bnIE+YlMRddxVAAGjhxndDB4i4C0I= -github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= -github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc= -github.com/vmihailenco/msgpack/v5 v5.1.4/go.mod h1:C5gboKD0TJPqWDTVTtrQNfRbiBwHZGo8UTqP/9/XvLI= -github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= -github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= -github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= -github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= -github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= -github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= -github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8= -github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4= -github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM= -github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU= -github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0/go.mod h1:/LWChgwKmvncFJFHJ7Gvn9wZArjbV5/FppcK2fKk/tI= -github.com/ybbus/jsonrpc v2.1.2+incompatible/go.mod h1:XJrh1eMSzdIYFbM08flv0wp5G35eRniyeGut1z+LSiE= -github.com/yosssi/ace v0.0.5/go.mod h1:ALfIzm2vT7t5ZE7uoIZqF3TQ7SAOyupFZnkrF5id+K0= -github.com/yudai/gojsondiff v1.0.0/go.mod h1:AY32+k2cwILAkW1fbgxQ5mUmMiZFgLIV+FBNExI05xg= -github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82/go.mod h1:lgjkn3NuSvDfVJdfcVVdX+jpBxNmX4rDAzaS45IcYoM= -github.com/yudai/pp v2.0.1+incompatible/go.mod h1:PuxR/8QJ7cyCkFp/aUDS+JY727OFEZkTdatxwunjIkc= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= -github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= -github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= -github.com/zbiljic/go-filelock v0.0.0-20170914061330-1dbf7103ab7d h1:XQyeLr7N9iY9mi+TGgsBFkj54+j3fdoo8e2u6zrGP5A= -github.com/zbiljic/go-filelock v0.0.0-20170914061330-1dbf7103ab7d/go.mod h1:hoMeDjlNXTNqVwrCk8YDyaBS2g5vFfEX2ezMi4vb6CY= -github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ= -github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= -github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0= -github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= -github.com/zondax/golem v0.27.0 h1:IbBjGIXF3SoGOZHsILJvIM/F/ylwJzMcHAcggiqniPw= -github.com/zondax/golem v0.27.0/go.mod h1:AmorCgJPt00L8xN1VrMBe13PSifoZksnQ1Ge906bu4A= -github.com/zondax/hid v0.9.2 h1:WCJFnEDMiqGF64nlZz28E9qLVZ0KSJ7xpc5DLEyma2U= -github.com/zondax/hid v0.9.2/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= -github.com/zondax/ledger-go v1.0.1 h1:Ks/2tz/dOF+dbRynfZ0dEhcdL1lqw43Sa0zMXHpQ3aQ= -github.com/zondax/ledger-go v1.0.1/go.mod h1:j7IgMY39f30apthJYMd1YsHZRqdyu4KbVmUp0nU78X0= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.7 h1:j+zJOnnEjF/kyHlDDgGnVL/AIqIJPq8UoB2GSNfkUfQ= -go.etcd.io/bbolt v1.3.7/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= -go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= -go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= -go.etcd.io/gofail v0.1.0/go.mod h1:VZBCXYGZhHAinaBiiqYvuDynvahNsAyLFwB3kEHKz1M= -go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= -go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= -go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= -go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/otel v1.39.0 h1:8yPrr/S0ND9QEfTfdP9V+SiwT4E0G7Y5MO7p85nis48= -go.opentelemetry.io/otel v1.39.0/go.mod h1:kLlFTywNWrFyEdH0oj2xK0bFYZtHRYUdv1NklR/tgc8= -go.opentelemetry.io/otel/exporters/jaeger v1.9.0 h1:gAEgEVGDWwFjcis9jJTOJqZNxDzoZfR12WNIxr7g9Ww= -go.opentelemetry.io/otel/exporters/jaeger v1.9.0/go.mod h1:hquezOLVAybNW6vanIxkdLXTXvzlj2Vn3wevSP15RYs= -go.opentelemetry.io/otel/exporters/prometheus v0.60.0 h1:cGtQxGvZbnrWdC2GyjZi0PDKVSLWP/Jocix3QWfXtbo= -go.opentelemetry.io/otel/exporters/prometheus v0.60.0/go.mod h1:hkd1EekxNo69PTV4OWFGZcKQiIqg0RfuWExcPKFvepk= -go.opentelemetry.io/otel/metric v1.39.0 h1:d1UzonvEZriVfpNKEVmHXbdf909uGTOQjA0HF0Ls5Q0= -go.opentelemetry.io/otel/metric v1.39.0/go.mod h1:jrZSWL33sD7bBxg1xjrqyDjnuzTUB0x1nBERXd7Ftcs= -go.opentelemetry.io/otel/sdk v1.39.0 h1:nMLYcjVsvdui1B/4FRkwjzoRVsMK8uL/cj0OyhKzt18= -go.opentelemetry.io/otel/sdk v1.39.0/go.mod h1:vDojkC4/jsTJsE+kh+LXYQlbL8CgrEcwmt1ENZszdJE= -go.opentelemetry.io/otel/sdk/metric v1.39.0 h1:cXMVVFVgsIf2YL6QkRF4Urbr/aMInf+2WKg+sEJTtB8= -go.opentelemetry.io/otel/sdk/metric v1.39.0/go.mod h1:xq9HEVH7qeX69/JnwEfp6fVq5wosJsY1mt4lLfYdVew= -go.opentelemetry.io/otel/trace v1.39.0 h1:2d2vfpEDmCJ5zVYz7ijaJdOF59xLomrvj7bjt6/qCJI= -go.opentelemetry.io/otel/trace v1.39.0/go.mod h1:88w4/PnZSazkGzz/w84VHpQafiU4EtqqlVdxWy+rNOA= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= -go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/automaxprocs v1.5.1/go.mod h1:BF4eumQw0P9GtnuxxovUd06vwm1o18oMzFtK66vU6XU= -go.uber.org/automaxprocs v1.5.2/go.mod h1:eRbA25aqJrxAbsLO0xy5jVwPt7FQnRgjW+efnwa1WM0= -go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= -go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= -go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= -go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= -go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= -go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= -go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0= -go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8= -go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= -golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= -golang.org/x/crypto v0.2.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= -golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE= -golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= -golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I= -golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= -golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= -golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= -golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= -golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= -golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= -golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc= -golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ= -golang.org/x/crypto v0.47.0 h1:V6e3FRj+n4dbpw86FJ8Fv7XVOql7TEwpHapKoMJ/GO8= -golang.org/x/crypto v0.47.0/go.mod h1:ff3Y9VzzKbwSSEzWqJsJVBnWmRwRSHt/6Op5n9bQc4A= -golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3/go.mod h1:NOZ3BPKG0ec/BKJQgnvsSFpcKLM5xXVWnvZS97DWHgE= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20220426173459-3bcf042a4bf5/go.mod h1:lgLbSvA5ygNOMpwM/9anMpWVlVJ7Z+cHWq/eFuinpGE= -golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= -golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= -golang.org/x/exp v0.0.0-20260112195511-716be5621a96 h1:Z/6YuSHTLOHfNFdb8zVZomZr7cqNgTJvA8+Qz75D8gU= -golang.org/x/exp v0.0.0-20260112195511-716be5621a96/go.mod h1:nzimsREAkjBCIEFtHiYkrJyT+2uy9YZJB7H1k68CXZU= -golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20190910094157-69e4b8554b2a/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20200119044424-58c23975cae1/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20200430140353-33d19683fad8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20200618115811-c13761719519/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20201208152932-35266b937fa6/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20210216034530-4410531fe030/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20210607152325-775e3b0c77b9/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/image v0.0.0-20211028202545-6944b10bf410/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/image v0.0.0-20220302094943-723b81ca9867/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= -golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= -golang.org/x/mod v0.6.0-dev.0.20211013180041-c96bc1413d57/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= -golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= -golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= -golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= -golang.org/x/mod v0.32.0 h1:9F4d3PHLljb6x//jOyokMv3eX+YDeepZSEo3mFJy93c= -golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190327091125-710a502c58a2/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200904194848-62affa334b73/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= -golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= -golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= -golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= -golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= -golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= -golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= -golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= -golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k= -golang.org/x/net v0.36.0/go.mod h1:bFmbeoIPfrw4sMHNhb4J9f6+tPziuGjq7Jk/38fxi1I= -golang.org/x/net v0.49.0 h1:eeHFmOGUTtaaPSGNmjBKpbng9MulQsJURQUAfUwY++o= -golang.org/x/net v0.49.0/go.mod h1:/ysNB2EvaqvesRkuLAyjI1ycPZlQHM3q01F02UY/MV8= -golang.org/x/oauth2 v0.0.0-20170207211851-4464e7848382/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= -golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= -golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= -golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= -golang.org/x/perf v0.0.0-20230113213139-801c7ef9e5c5/go.mod h1:UBKtEnL8aqnd+0JHqZ+2qoMDwtuy6cYhhKNoHLBiTQc= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4= -golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= -golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190130150945-aca44879d564/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200826173525-f9321e4c35a6/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201101102859-da207088b7d1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210304124612-50617c2ba197/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220919091848-fb04ddd9f9c8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ= -golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= -golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= -golang.org/x/telemetry v0.0.0-20240521205824-bda55230c457/go.mod h1:pRgIJT+bRLFKnoM1ldnzKoxTIn14Yxz928LQRYYgIN0= -golang.org/x/telemetry v0.0.0-20260109210033-bd525da824e2 h1:O1cMQHRfwNpDfDJerqRoE2oD+AFlyid87D40L/OkkJo= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= -golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= -golang.org/x/term v0.9.0/go.mod h1:M6DEAAIenWoTxdKrOltXcmDY3rSplQUkrvaDU5FcQyo= -golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= -golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU= -golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= -golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= -golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= -golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= -golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= -golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek= -golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s= -golang.org/x/term v0.39.0 h1:RclSuaJf32jOqZz74CkPA9qFuVTX7vhLlpfj/IGWlqY= -golang.org/x/term v0.39.0/go.mod h1:yxzUCTP/U+FzoxfdKmLaA0RV1WgE0VY7hXBwKtY/4ww= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= -golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= -golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= -golang.org/x/text v0.33.0 h1:B3njUFyqtHDUI5jMn1YIr5B0IE2U0qck04r6d4KPAxE= -golang.org/x/text v0.33.0/go.mod h1:LuMebE6+rBincTi9+xWTY8TztLzKHc/9C1uBCG27+q8= -golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.2.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.9.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= -golang.org/x/time v0.13.0 h1:eUlYslOIt32DgYD6utsuUeHs4d7AsEYLuIAdg7FlYgI= -golang.org/x/time v0.13.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4= -golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190927191325-030b2cf1153e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201211185031-d93e913c1a58/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.8-0.20211029000441-d6a9af8af023/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= -golang.org/x/tools v0.1.8/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= -golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= -golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= -golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= -golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= -golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= -golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= -golang.org/x/tools v0.11.0/go.mod h1:anzJrxPjNtfgiYQYirP2CPGzGLxrH2u2QBhn6Bf3qY8= -golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= -golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= -golang.org/x/tools v0.29.0/go.mod h1:KMQVMRsVxU6nHCFXrBPhDB8XncLNLM0lIy/F14RP588= -golang.org/x/tools v0.41.0 h1:a9b8iMweWG+S0OBnlU36rzLp20z1Rp10w+IY2czHTQc= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhSt0ABwskkZKjD3bXGnZGpNY= -gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= -gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= -gonum.org/v1/gonum v0.9.3/go.mod h1:TZumC3NeyVQskjXqmyWt4S3bINhy7B4eYwW69EbyX+0= -gonum.org/v1/gonum v0.11.0/go.mod h1:fSG4YDCxxUZQJ7rKsQrj0gMOg00Il0Z96/qMA4bVQhA= -gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk= -gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= -gonum.org/v1/plot v0.9.0/go.mod h1:3Pcqqmp6RHvJI72kgb8fThyUnav364FOsdDo2aGW5lY= -gonum.org/v1/plot v0.10.0/go.mod h1:JWIHJ7U20drSQb/aDpTetJzfC1KlAPldJLpkSy88dvQ= -gonum.org/v1/plot v0.10.1/go.mod h1:VZW5OlhkL1mysU9vaqNHnsy86inf6Ot+jB3r+BczCEo= -google.golang.org/api v0.0.0-20170206182103-3d017632ea10/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= -google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= -google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= -google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= -google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8= -google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= -google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= -google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= -google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= -google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= -google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= -google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= -google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= -google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= -google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= -google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= -google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= -google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8= -google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs= -google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= -google.golang.org/api v0.77.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= -google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw= -google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg= -google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o= -google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6FO2g= -google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= -google.golang.org/api v0.93.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= -google.golang.org/api v0.95.0/go.mod h1:eADj+UBuxkh5zlrSntJghuNeg8HwQ1w5lTKkuqaETEI= -google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= -google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= -google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= -google.golang.org/api v0.99.0/go.mod h1:1YOf74vkVndF7pG6hIHuINsM7eWwpVTAfNMNiL91A08= -google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= -google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo= -google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4qU9w0= -google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= -google.golang.org/api v0.107.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= -google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= -google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= -google.golang.org/api v0.111.0/go.mod h1:qtFHvU9mhgTJegR31csQ+rwxyUTHOKFqCKWp1J0fdw0= -google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= -google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180518175338-11a468237815/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200324203455-a04cca1dde73/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210329143202-679c6ae281ee/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= -google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220329172620-7be39ac1afc7/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220628213854-d9e0b6570c03/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220722212130-b98a9ff5e252/go.mod h1:GkXuJDJ6aQ7lnJcRF+SJVgFdQhypqgl3LB1C9vabdRE= -google.golang.org/genproto v0.0.0-20220801145646-83ce21fca29f/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= -google.golang.org/genproto v0.0.0-20220815135757-37a418bb8959/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= -google.golang.org/genproto v0.0.0-20220817144833-d7fd3f11b9b1/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= -google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= -google.golang.org/genproto v0.0.0-20220829144015-23454907ede3/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= -google.golang.org/genproto v0.0.0-20220829175752-36a9c930ecbf/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= -google.golang.org/genproto v0.0.0-20220913154956-18f8339a66a5/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= -google.golang.org/genproto v0.0.0-20220914142337-ca0e39ece12f/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= -google.golang.org/genproto v0.0.0-20220915135415-7fd63a7952de/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= -google.golang.org/genproto v0.0.0-20220916172020-2692e8806bfa/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= -google.golang.org/genproto v0.0.0-20220919141832-68c03719ef51/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= -google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006/go.mod h1:ht8XFiar2npT/g4vkk7O0WYS1sHOHbdujxbEp7CJWbw= -google.golang.org/genproto v0.0.0-20220926165614-551eb538f295/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= -google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= -google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U= -google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= -google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= -google.golang.org/genproto v0.0.0-20221024153911-1573dae28c9c/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo= -google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221114212237-e4508ebdbee1/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221117204609-8f9c96812029/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221201204527-e3fa12d562f3/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd/go.mod h1:cTsE614GARnxrLsqKREzmNYJACSWWpAWdNMwnD7c2BE= -google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230112194545-e10362b5ecf9/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230113154510-dbe35b8444a5/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230124163310-31e0e69b6fc2/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230216225411-c8e22ba71e44/go.mod h1:8B0gmkoRebU8ukX6HP+4wrVQUY1+6PkQ44BSyIlflHA= -google.golang.org/genproto v0.0.0-20230222225845-10f96fb3dbec/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= -google.golang.org/genproto v0.0.0-20230223222841-637eb2293923/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= -google.golang.org/genproto v0.0.0-20230303212802-e74f57abe488/go.mod h1:TvhZT5f700eVlTNwND1xoEZQeWTB2RY/65kplwl/bFA= -google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= -google.golang.org/genproto v0.0.0-20230320184635-7606e756e683/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= -google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= -google.golang.org/genproto v0.0.0-20250603155806-513f23925822 h1:rHWScKit0gvAPuOnu87KpaYtjK5zBMLcULh7gxkCXu4= -google.golang.org/genproto v0.0.0-20250603155806-513f23925822/go.mod h1:HubltRL7rMh0LfnQPkMH4NPDFEWp0jw3vixw7jEM53s= -google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 h1:oWVWY3NzT7KJppx2UKhKmzPq4SRe0LdCijVRwvGeikY= -google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822/go.mod h1:h3c4v36UTKzUiuaOKQ6gr3S+0hovBtUrXzTG/i3+XEc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250818200422-3122310a409c h1:qXWI/sQtv5UKboZ/zUk7h+mrf/lXORyI+n9DKDAusdg= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250818200422-3122310a409c/go.mod h1:gw1tLEfykwDz2ET4a12jcXt4couGAm7IwsVaTy0Sflo= -google.golang.org/grpc v1.46.2 h1:u+MLGgVf7vRdjEYZ8wDFhAVNmhkbJ5hmrA1LMWK1CAQ= -google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.29.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= -google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE= -google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= -gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc= -gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYskCTPBJVb9jqSc= -gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= -gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= -k8s.io/component-base v0.35.0 h1:+yBrOhzri2S1BVqyVSvcM3PtPyx5GUxCK2tinZz1G94= -k8s.io/component-base v0.35.0/go.mod h1:85SCX4UCa6SCFt6p3IKAPej7jSnF3L8EbfSyMZayJR0= -lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= -lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= -modernc.org/cc/v3 v3.36.0/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= -modernc.org/cc/v3 v3.36.2/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= -modernc.org/cc/v3 v3.36.3/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= -modernc.org/ccgo/v3 v3.0.0-20220428102840-41399a37e894/go.mod h1:eI31LL8EwEBKPpNpA4bU1/i+sKOwOrQy8D87zWUcRZc= -modernc.org/ccgo/v3 v3.0.0-20220430103911-bc99d88307be/go.mod h1:bwdAnOoaIt8Ax9YdWGjxWsdkPcZyRPHqrOvJxaKAKGw= -modernc.org/ccgo/v3 v3.16.4/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= -modernc.org/ccgo/v3 v3.16.6/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= -modernc.org/ccgo/v3 v3.16.8/go.mod h1:zNjwkizS+fIFDrDjIAgBSCLkWbJuHF+ar3QRn+Z9aws= -modernc.org/ccgo/v3 v3.16.9/go.mod h1:zNMzC9A9xeNUepy6KuZBbugn3c0Mc9TeiJO4lgvkJDo= -modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= -modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= -modernc.org/libc v0.0.0-20220428101251-2d5f3daf273b/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= -modernc.org/libc v1.16.0/go.mod h1:N4LD6DBE9cf+Dzf9buBlzVJndKr/iJHG97vGLHYnb5A= -modernc.org/libc v1.16.1/go.mod h1:JjJE0eu4yeK7tab2n4S1w8tlWd9MxXLRzheaRnAKymU= -modernc.org/libc v1.16.17/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU= -modernc.org/libc v1.16.19/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= -modernc.org/libc v1.17.0/go.mod h1:XsgLldpP4aWlPlsjqKRdHPqCxCjISdHfM/yeWC5GyW0= -modernc.org/libc v1.17.1/go.mod h1:FZ23b+8LjxZs7XtFMbSzL/EhPxNbfZbErxEHc7cbD9s= -modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/memory v1.1.1/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= -modernc.org/memory v1.2.0/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= -modernc.org/memory v1.2.1/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= -modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= -modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= -modernc.org/sqlite v1.18.1/go.mod h1:6ho+Gow7oX5V+OiOQ6Tr4xeqbx13UZ6t+Fw9IRUG4d4= -modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw= -modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw= -modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw= -modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= -modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= -moul.io/http2curl/v2 v2.3.0/go.mod h1:RW4hyBjTWSYDOxapodpNEtX0g5Eb16sxklBqmd2RHcE= -nhooyr.io/websocket v1.8.6 h1:s+C3xAMLwGmlI31Nyn/eAehUlZPwfYZu2JXM621Q5/k= -nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= -pgregory.net/rapid v1.2.0 h1:keKAYRcjm+e1F0oAuU5F5+YPAWcyxNNRK2wud503Gnk= -pgregory.net/rapid v1.2.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -rsc.io/tmplfunc v0.0.3/go.mod h1:AG3sTPzElb1Io3Yg4voV9AGZJuleGAwaVRxL9M49PhA= -sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= -sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/sei-cosmos/internal/conv/string.go b/sei-cosmos/internal/conv/string.go index ab2b7f44b3..30a285ad1d 100644 --- a/sei-cosmos/internal/conv/string.go +++ b/sei-cosmos/internal/conv/string.go @@ -1,20 +1,13 @@ package conv import ( - "reflect" "unsafe" ) // UnsafeStrToBytes uses unsafe to convert string into byte array. Returned bytes // must not be altered after this function is called as it will cause a segmentation fault. func UnsafeStrToBytes(s string) []byte { - var buf []byte - sHdr := (*reflect.StringHeader)(unsafe.Pointer(&s)) - bufHdr := (*reflect.SliceHeader)(unsafe.Pointer(&buf)) - bufHdr.Data = sHdr.Data - bufHdr.Cap = sHdr.Len - bufHdr.Len = sHdr.Len - return buf + return unsafe.Slice(unsafe.StringData(s), len(s)) //nolint:gosec // intentional unsafe usage for zero-alloc conversion, well-documented constraint } // UnsafeBytesToStr is meant to make a zero allocation conversion @@ -22,5 +15,5 @@ func UnsafeStrToBytes(s string) []byte { // to be used generally, but for a specific pattern to delete keys // from a map. func UnsafeBytesToStr(b []byte) string { - return *(*string)(unsafe.Pointer(&b)) + return unsafe.String(unsafe.SliceData(b), len(b)) //nolint:gosec // intentional unsafe usage for zero-alloc conversion } diff --git a/sei-cosmos/proto/cosmos/auth/v1beta1/auth.proto b/sei-cosmos/proto/cosmos/auth/v1beta1/auth.proto index 1a09821976..f0f51eddb5 100644 --- a/sei-cosmos/proto/cosmos/auth/v1beta1/auth.proto +++ b/sei-cosmos/proto/cosmos/auth/v1beta1/auth.proto @@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types"; // BaseAccount defines a base account type. It contains all the necessary fields // for basic account functionality. Any custom account type should extend this diff --git a/sei-cosmos/proto/cosmos/auth/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/auth/v1beta1/genesis.proto index 1135529251..80d23e3ca7 100644 --- a/sei-cosmos/proto/cosmos/auth/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/auth/v1beta1/genesis.proto @@ -5,7 +5,7 @@ import "cosmos/auth/v1beta1/auth.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types"; // GenesisState defines the auth module's genesis state. message GenesisState { diff --git a/sei-cosmos/proto/cosmos/auth/v1beta1/query.proto b/sei-cosmos/proto/cosmos/auth/v1beta1/query.proto index 8806ba661f..4496f99f0b 100644 --- a/sei-cosmos/proto/cosmos/auth/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/auth/v1beta1/query.proto @@ -8,7 +8,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types"; // Query defines the gRPC querier service. service Query { diff --git a/sei-cosmos/proto/cosmos/authz/v1beta1/authz.proto b/sei-cosmos/proto/cosmos/authz/v1beta1/authz.proto index 23692e3b38..e3719f0b12 100644 --- a/sei-cosmos/proto/cosmos/authz/v1beta1/authz.proto +++ b/sei-cosmos/proto/cosmos/authz/v1beta1/authz.proto @@ -7,7 +7,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz"; option (gogoproto.goproto_getters_all) = false; // GenericAuthorization gives the grantee unrestricted permissions to execute diff --git a/sei-cosmos/proto/cosmos/authz/v1beta1/event.proto b/sei-cosmos/proto/cosmos/authz/v1beta1/event.proto index 7a3cf7c8cf..c94f682dc3 100644 --- a/sei-cosmos/proto/cosmos/authz/v1beta1/event.proto +++ b/sei-cosmos/proto/cosmos/authz/v1beta1/event.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package cosmos.authz.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz"; // EventGrant is emitted on Msg/Grant message EventGrant { diff --git a/sei-cosmos/proto/cosmos/authz/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/authz/v1beta1/genesis.proto index 1fdc96d290..85c5c54630 100644 --- a/sei-cosmos/proto/cosmos/authz/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/authz/v1beta1/genesis.proto @@ -5,7 +5,7 @@ package cosmos.authz.v1beta1; import "cosmos/authz/v1beta1/authz.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz"; // GenesisState defines the authz module's genesis state. message GenesisState { diff --git a/sei-cosmos/proto/cosmos/authz/v1beta1/query.proto b/sei-cosmos/proto/cosmos/authz/v1beta1/query.proto index cbf71ff94c..5570b25dcd 100644 --- a/sei-cosmos/proto/cosmos/authz/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/authz/v1beta1/query.proto @@ -6,7 +6,7 @@ import "cosmos/authz/v1beta1/authz.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz"; // Query defines the gRPC querier service. service Query { diff --git a/sei-cosmos/proto/cosmos/authz/v1beta1/tx.proto b/sei-cosmos/proto/cosmos/authz/v1beta1/tx.proto index f0d0e18e0f..3da5aed20c 100644 --- a/sei-cosmos/proto/cosmos/authz/v1beta1/tx.proto +++ b/sei-cosmos/proto/cosmos/authz/v1beta1/tx.proto @@ -7,7 +7,7 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz"; option (gogoproto.goproto_getters_all) = false; // Msg defines the authz Msg service. diff --git a/sei-cosmos/proto/cosmos/bank/v1beta1/authz.proto b/sei-cosmos/proto/cosmos/bank/v1beta1/authz.proto index 03381cc98d..22f04ede8c 100644 --- a/sei-cosmos/proto/cosmos/bank/v1beta1/authz.proto +++ b/sei-cosmos/proto/cosmos/bank/v1beta1/authz.proto @@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types"; // SendAuthorization allows the grantee to spend up to spend_limit coins from // the granter's account. @@ -16,6 +16,6 @@ message SendAuthorization { repeated cosmos.base.v1beta1.Coin spend_limit = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } diff --git a/sei-cosmos/proto/cosmos/bank/v1beta1/bank.proto b/sei-cosmos/proto/cosmos/bank/v1beta1/bank.proto index 8efd3638bf..f9565793d4 100644 --- a/sei-cosmos/proto/cosmos/bank/v1beta1/bank.proto +++ b/sei-cosmos/proto/cosmos/bank/v1beta1/bank.proto @@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types"; // Params defines the parameters for the bank module. message Params { @@ -31,7 +31,7 @@ message Input { string address = 1; repeated cosmos.base.v1beta1.Coin coins = 2 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } @@ -43,7 +43,7 @@ message Output { string address = 1; repeated cosmos.base.v1beta1.Coin coins = 2 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } @@ -56,11 +56,11 @@ message Supply { option (gogoproto.equal) = true; option (gogoproto.goproto_getters) = false; - option (cosmos_proto.implements_interface) = "*github.com/cosmos/cosmos-sdk/x/bank/legacy/v040.SupplyI"; + option (cosmos_proto.implements_interface) = "*github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/legacy/v040.SupplyI"; repeated cosmos.base.v1beta1.Coin total = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } diff --git a/sei-cosmos/proto/cosmos/bank/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/bank/v1beta1/genesis.proto index 9bb99e0239..e78cb52abb 100644 --- a/sei-cosmos/proto/cosmos/bank/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/bank/v1beta1/genesis.proto @@ -5,7 +5,7 @@ import "cosmos/bank/v1beta1/bank.proto"; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types"; // GenesisState defines the bank module's genesis state. message GenesisState { @@ -18,7 +18,7 @@ message GenesisState { // supply represents the total supply. If it is left empty, then supply will be calculated based on the provided // balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. repeated cosmos.base.v1beta1.Coin supply = 3 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins", (gogoproto.nullable) = false ]; @@ -43,7 +43,7 @@ message Balance { // coins defines the different coins this balance holds. repeated cosmos.base.v1beta1.Coin coins = 2 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins", (gogoproto.nullable) = false ]; } @@ -57,7 +57,7 @@ message WeiBalance { // wei balance amount. string amount = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false ]; } diff --git a/sei-cosmos/proto/cosmos/bank/v1beta1/query.proto b/sei-cosmos/proto/cosmos/bank/v1beta1/query.proto index 19c70df908..ea320ae91d 100644 --- a/sei-cosmos/proto/cosmos/bank/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/bank/v1beta1/query.proto @@ -7,7 +7,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types"; // Query defines the gRPC querier service. service Query { @@ -89,7 +89,7 @@ message QueryAllBalancesResponse { // balances is the balances of all the coins. repeated cosmos.base.v1beta1.Coin balances = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; // pagination defines the pagination in the response. @@ -115,7 +115,7 @@ message QuerySpendableBalancesResponse { // balances is the spendable balances of all the coins. repeated cosmos.base.v1beta1.Coin balances = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; // pagination defines the pagination in the response. @@ -140,7 +140,7 @@ message QueryTotalSupplyResponse { // supply is the supply of the coins repeated cosmos.base.v1beta1.Coin supply = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; // pagination defines the pagination in the response. diff --git a/sei-cosmos/proto/cosmos/bank/v1beta1/tx.proto b/sei-cosmos/proto/cosmos/bank/v1beta1/tx.proto index 8c01ac3b1b..c10b860673 100644 --- a/sei-cosmos/proto/cosmos/bank/v1beta1/tx.proto +++ b/sei-cosmos/proto/cosmos/bank/v1beta1/tx.proto @@ -5,7 +5,7 @@ import "cosmos/bank/v1beta1/bank.proto"; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types"; // Msg defines the bank Msg service. service Msg { @@ -25,7 +25,7 @@ message MsgSend { string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; repeated cosmos.base.v1beta1.Coin amount = 3 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } diff --git a/sei-cosmos/proto/cosmos/base/abci/v1beta1/abci.proto b/sei-cosmos/proto/cosmos/base/abci/v1beta1/abci.proto index 3e068db17e..4ec4b8d4b5 100644 --- a/sei-cosmos/proto/cosmos/base/abci/v1beta1/abci.proto +++ b/sei-cosmos/proto/cosmos/base/abci/v1beta1/abci.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; import "tendermint/abci/types.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/types"; option (gogoproto.goproto_stringer_all) = false; // TxResponse defines a structure containing relevant tx data and metadata. The diff --git a/sei-cosmos/proto/cosmos/base/kv/v1beta1/kv.proto b/sei-cosmos/proto/cosmos/base/kv/v1beta1/kv.proto index 768654e5e1..57f3180ce2 100644 --- a/sei-cosmos/proto/cosmos/base/kv/v1beta1/kv.proto +++ b/sei-cosmos/proto/cosmos/base/kv/v1beta1/kv.proto @@ -3,7 +3,7 @@ package cosmos.base.kv.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types/kv"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv"; // Pairs defines a repeated slice of Pair objects. message Pairs { diff --git a/sei-cosmos/proto/cosmos/base/query/v1beta1/pagination.proto b/sei-cosmos/proto/cosmos/base/query/v1beta1/pagination.proto index cd5eb066d3..9c4a5d2076 100644 --- a/sei-cosmos/proto/cosmos/base/query/v1beta1/pagination.proto +++ b/sei-cosmos/proto/cosmos/base/query/v1beta1/pagination.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.base.query.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/types/query"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/types/query"; // PageRequest is to be embedded in gRPC request messages for efficient // pagination. Ex: diff --git a/sei-cosmos/proto/cosmos/base/reflection/v1beta1/reflection.proto b/sei-cosmos/proto/cosmos/base/reflection/v1beta1/reflection.proto index c20e364513..d99cb55595 100644 --- a/sei-cosmos/proto/cosmos/base/reflection/v1beta1/reflection.proto +++ b/sei-cosmos/proto/cosmos/base/reflection/v1beta1/reflection.proto @@ -3,7 +3,7 @@ package cosmos.base.reflection.v1beta1; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/reflection"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/reflection"; // ReflectionService defines a service for interface reflection. service ReflectionService { diff --git a/sei-cosmos/proto/cosmos/base/reflection/v2alpha1/reflection.proto b/sei-cosmos/proto/cosmos/base/reflection/v2alpha1/reflection.proto index f9b25ec731..5b4d605f45 100644 --- a/sei-cosmos/proto/cosmos/base/reflection/v2alpha1/reflection.proto +++ b/sei-cosmos/proto/cosmos/base/reflection/v2alpha1/reflection.proto @@ -4,7 +4,7 @@ package cosmos.base.reflection.v2alpha1; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/server/grpc/reflection/v2alpha1"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/server/grpc/reflection/v2alpha1"; // AppDescriptor describes a cosmos-sdk based application message AppDescriptor { diff --git a/sei-cosmos/proto/cosmos/base/snapshots/v1beta1/snapshot.proto b/sei-cosmos/proto/cosmos/base/snapshots/v1beta1/snapshot.proto index 2195cfe6d3..8089ebee82 100644 --- a/sei-cosmos/proto/cosmos/base/snapshots/v1beta1/snapshot.proto +++ b/sei-cosmos/proto/cosmos/base/snapshots/v1beta1/snapshot.proto @@ -3,7 +3,7 @@ package cosmos.base.snapshots.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/snapshots/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types"; // Snapshot contains Tendermint state sync snapshot info. message Snapshot { diff --git a/sei-cosmos/proto/cosmos/base/store/v1beta1/commit_info.proto b/sei-cosmos/proto/cosmos/base/store/v1beta1/commit_info.proto index a0779d3320..a96e3bd1a5 100644 --- a/sei-cosmos/proto/cosmos/base/store/v1beta1/commit_info.proto +++ b/sei-cosmos/proto/cosmos/base/store/v1beta1/commit_info.proto @@ -3,7 +3,7 @@ package cosmos.base.store.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/store/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/store/types"; // CommitInfo defines commit information used by the multi-store when committing // a version/height. diff --git a/sei-cosmos/proto/cosmos/base/store/v1beta1/listening.proto b/sei-cosmos/proto/cosmos/base/store/v1beta1/listening.proto index 842894e71f..00f3ef2ef4 100644 --- a/sei-cosmos/proto/cosmos/base/store/v1beta1/listening.proto +++ b/sei-cosmos/proto/cosmos/base/store/v1beta1/listening.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.base.store.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/store/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/store/types"; // StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) // It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and diff --git a/sei-cosmos/proto/cosmos/base/tendermint/v1beta1/query.proto b/sei-cosmos/proto/cosmos/base/tendermint/v1beta1/query.proto index a0ce44fcbe..b162ff4e33 100644 --- a/sei-cosmos/proto/cosmos/base/tendermint/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/base/tendermint/v1beta1/query.proto @@ -8,7 +8,7 @@ import "tendermint/p2p/types.proto"; import "tendermint/types/block.proto"; import "tendermint/types/types.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/tmservice"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/tmservice"; // Service defines the gRPC querier service for tendermint queries. service Service { diff --git a/sei-cosmos/proto/cosmos/base/v1beta1/coin.proto b/sei-cosmos/proto/cosmos/base/v1beta1/coin.proto index e06837ccac..0ca764ed64 100644 --- a/sei-cosmos/proto/cosmos/base/v1beta1/coin.proto +++ b/sei-cosmos/proto/cosmos/base/v1beta1/coin.proto @@ -3,7 +3,7 @@ package cosmos.base.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/types"; option (gogoproto.goproto_stringer_all) = false; option (gogoproto.stringer_all) = false; diff --git a/sei-cosmos/proto/cosmos/capability/v1beta1/capability.proto b/sei-cosmos/proto/cosmos/capability/v1beta1/capability.proto index d1b47c8a63..918bdbac12 100644 --- a/sei-cosmos/proto/cosmos/capability/v1beta1/capability.proto +++ b/sei-cosmos/proto/cosmos/capability/v1beta1/capability.proto @@ -3,7 +3,7 @@ package cosmos.capability.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types"; // Capability defines an implementation of an object capability. The index // provided to a Capability must be globally unique. diff --git a/sei-cosmos/proto/cosmos/capability/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/capability/v1beta1/genesis.proto index 179f331961..6b94e7b643 100644 --- a/sei-cosmos/proto/cosmos/capability/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/capability/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package cosmos.capability.v1beta1; import "cosmos/capability/v1beta1/capability.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types"; // GenesisOwners defines the capability owners with their corresponding index. message GenesisOwners { diff --git a/sei-cosmos/proto/cosmos/crisis/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/crisis/v1beta1/genesis.proto index 71413be742..e84ff408a9 100644 --- a/sei-cosmos/proto/cosmos/crisis/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/crisis/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package cosmos.crisis.v1beta1; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types"; // GenesisState defines the crisis module's genesis state. message GenesisState { diff --git a/sei-cosmos/proto/cosmos/crisis/v1beta1/tx.proto b/sei-cosmos/proto/cosmos/crisis/v1beta1/tx.proto index 7906325fb8..86ee93fad2 100644 --- a/sei-cosmos/proto/cosmos/crisis/v1beta1/tx.proto +++ b/sei-cosmos/proto/cosmos/crisis/v1beta1/tx.proto @@ -3,7 +3,7 @@ package cosmos.crisis.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types"; // Msg defines the bank Msg service. service Msg { diff --git a/sei-cosmos/proto/cosmos/crypto/ed25519/keys.proto b/sei-cosmos/proto/cosmos/crypto/ed25519/keys.proto index 6ffec34483..e11bb74ffb 100644 --- a/sei-cosmos/proto/cosmos/crypto/ed25519/keys.proto +++ b/sei-cosmos/proto/cosmos/crypto/ed25519/keys.proto @@ -3,7 +3,7 @@ package cosmos.crypto.ed25519; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519"; // PubKey is an ed25519 public key for handling Tendermint keys in SDK. // It's needed for Any serialization and SDK compatibility. diff --git a/sei-cosmos/proto/cosmos/crypto/multisig/keys.proto b/sei-cosmos/proto/cosmos/crypto/multisig/keys.proto index bf34de097f..11543e68a1 100644 --- a/sei-cosmos/proto/cosmos/crypto/multisig/keys.proto +++ b/sei-cosmos/proto/cosmos/crypto/multisig/keys.proto @@ -4,7 +4,7 @@ package cosmos.crypto.multisig; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/multisig"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig"; // LegacyAminoPubKey specifies a public key type // which nests multiple public keys and a threshold, diff --git a/sei-cosmos/proto/cosmos/crypto/multisig/v1beta1/multisig.proto b/sei-cosmos/proto/cosmos/crypto/multisig/v1beta1/multisig.proto index db77485598..ba00b7ea43 100644 --- a/sei-cosmos/proto/cosmos/crypto/multisig/v1beta1/multisig.proto +++ b/sei-cosmos/proto/cosmos/crypto/multisig/v1beta1/multisig.proto @@ -3,7 +3,7 @@ package cosmos.crypto.multisig.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/crypto/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types"; // MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. // See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers diff --git a/sei-cosmos/proto/cosmos/crypto/secp256k1/keys.proto b/sei-cosmos/proto/cosmos/crypto/secp256k1/keys.proto index a22725713a..acbe3502a8 100644 --- a/sei-cosmos/proto/cosmos/crypto/secp256k1/keys.proto +++ b/sei-cosmos/proto/cosmos/crypto/secp256k1/keys.proto @@ -3,7 +3,7 @@ package cosmos.crypto.secp256k1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1"; // PubKey defines a secp256k1 public key // Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte diff --git a/sei-cosmos/proto/cosmos/crypto/secp256r1/keys.proto b/sei-cosmos/proto/cosmos/crypto/secp256r1/keys.proto index b3c8821142..abeae5453f 100644 --- a/sei-cosmos/proto/cosmos/crypto/secp256r1/keys.proto +++ b/sei-cosmos/proto/cosmos/crypto/secp256r1/keys.proto @@ -4,7 +4,7 @@ package cosmos.crypto.secp256r1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256r1"; option (gogoproto.goproto_getters_all) = false; option (gogoproto.goproto_stringer_all) = false; option (gogoproto.messagename_all) = true; diff --git a/sei-cosmos/proto/cosmos/crypto/sr25519/keys.proto b/sei-cosmos/proto/cosmos/crypto/sr25519/keys.proto index 54e1d98b9d..0d4614e086 100644 --- a/sei-cosmos/proto/cosmos/crypto/sr25519/keys.proto +++ b/sei-cosmos/proto/cosmos/crypto/sr25519/keys.proto @@ -3,7 +3,7 @@ package cosmos.crypto.sr25519; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519"; option (gogoproto.goproto_getters_all) = false; option (gogoproto.goproto_stringer_all) = false; option (gogoproto.messagename_all) = true; @@ -12,5 +12,5 @@ option (gogoproto.messagename_all) = true; message PubKey { option (gogoproto.goproto_stringer) = false; - bytes key = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519/internal.PubKey"]; + bytes key = 1 [(gogoproto.casttype) = "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519/internal.PubKey"]; } diff --git a/sei-cosmos/proto/cosmos/distribution/v1beta1/distribution.proto b/sei-cosmos/proto/cosmos/distribution/v1beta1/distribution.proto index 8792b38712..57146003a1 100644 --- a/sei-cosmos/proto/cosmos/distribution/v1beta1/distribution.proto +++ b/sei-cosmos/proto/cosmos/distribution/v1beta1/distribution.proto @@ -4,7 +4,7 @@ package cosmos.distribution.v1beta1; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types"; option (gogoproto.equal_all) = true; // Params defines the set of params for the distribution module. @@ -12,17 +12,17 @@ message Params { option (gogoproto.goproto_stringer) = false; string community_tax = 1 [ (gogoproto.moretags) = "yaml:\"community_tax\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; string base_proposer_reward = 2 [ (gogoproto.moretags) = "yaml:\"base_proposer_reward\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; string bonus_proposer_reward = 3 [ (gogoproto.moretags) = "yaml:\"bonus_proposer_reward\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; bool withdraw_addr_enabled = 4 [(gogoproto.moretags) = "yaml:\"withdraw_addr_enabled\""]; @@ -43,7 +43,7 @@ message Params { message ValidatorHistoricalRewards { repeated cosmos.base.v1beta1.DecCoin cumulative_reward_ratio = 1 [ (gogoproto.moretags) = "yaml:\"cumulative_reward_ratio\"", - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins", (gogoproto.nullable) = false ]; uint32 reference_count = 2 [(gogoproto.moretags) = "yaml:\"reference_count\""]; @@ -54,7 +54,7 @@ message ValidatorHistoricalRewards { // each block as long as the validator's tokens remain constant. message ValidatorCurrentRewards { repeated cosmos.base.v1beta1.DecCoin rewards = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins", (gogoproto.nullable) = false ]; uint64 period = 2; @@ -64,7 +64,7 @@ message ValidatorCurrentRewards { // for a validator kept as a running counter, can be withdrawn at any time. message ValidatorAccumulatedCommission { repeated cosmos.base.v1beta1.DecCoin commission = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins", (gogoproto.nullable) = false ]; } @@ -74,7 +74,7 @@ message ValidatorAccumulatedCommission { message ValidatorOutstandingRewards { repeated cosmos.base.v1beta1.DecCoin rewards = 1 [ (gogoproto.moretags) = "yaml:\"rewards\"", - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins", (gogoproto.nullable) = false ]; } @@ -86,7 +86,7 @@ message ValidatorOutstandingRewards { message ValidatorSlashEvent { uint64 validator_period = 1 [(gogoproto.moretags) = "yaml:\"validator_period\""]; string fraction = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; } @@ -104,7 +104,7 @@ message ValidatorSlashEvents { message FeePool { repeated cosmos.base.v1beta1.DecCoin community_pool = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins", (gogoproto.moretags) = "yaml:\"community_pool\"" ]; } @@ -122,7 +122,7 @@ message CommunityPoolSpendProposal { string recipient = 3; repeated cosmos.base.v1beta1.Coin amount = 4 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } @@ -136,7 +136,7 @@ message DelegatorStartingInfo { uint64 previous_period = 1 [(gogoproto.moretags) = "yaml:\"previous_period\""]; string stake = 2 [ (gogoproto.moretags) = "yaml:\"stake\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; uint64 height = 3 [ @@ -154,7 +154,7 @@ message DelegationDelegatorReward { string validator_address = 1 [(gogoproto.moretags) = "yaml:\"validator_address\""]; repeated cosmos.base.v1beta1.DecCoin reward = 2 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins", (gogoproto.nullable) = false ]; } diff --git a/sei-cosmos/proto/cosmos/distribution/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/distribution/v1beta1/genesis.proto index 2ccdd6d0fe..2c792a1651 100644 --- a/sei-cosmos/proto/cosmos/distribution/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/distribution/v1beta1/genesis.proto @@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos/distribution/v1beta1/distribution.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types"; option (gogoproto.equal_all) = true; // DelegatorWithdrawInfo is the address for where distributions rewards are @@ -32,7 +32,7 @@ message ValidatorOutstandingRewardsRecord { // outstanding_rewards represents the oustanding rewards of a validator. repeated cosmos.base.v1beta1.DecCoin outstanding_rewards = 2 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins", (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"outstanding_rewards\"" ]; diff --git a/sei-cosmos/proto/cosmos/distribution/v1beta1/query.proto b/sei-cosmos/proto/cosmos/distribution/v1beta1/query.proto index 5fb57cb192..b74a55bf04 100644 --- a/sei-cosmos/proto/cosmos/distribution/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/distribution/v1beta1/query.proto @@ -7,7 +7,7 @@ import "cosmos/distribution/v1beta1/distribution.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types"; // Query defines the gRPC querier service for distribution module. service Query { @@ -148,7 +148,7 @@ message QueryDelegationRewardsResponse { // rewards defines the rewards accrued by a delegation. repeated cosmos.base.v1beta1.DecCoin rewards = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" ]; } @@ -169,7 +169,7 @@ message QueryDelegationTotalRewardsResponse { // total defines the sum of all the rewards. repeated cosmos.base.v1beta1.DecCoin total = 2 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" ]; } @@ -222,7 +222,7 @@ message QueryCommunityPoolRequest {} message QueryCommunityPoolResponse { // pool defines community pool's coins. repeated cosmos.base.v1beta1.DecCoin pool = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins", (gogoproto.nullable) = false ]; } diff --git a/sei-cosmos/proto/cosmos/distribution/v1beta1/tx.proto b/sei-cosmos/proto/cosmos/distribution/v1beta1/tx.proto index 9913fc3bbb..8744d90773 100644 --- a/sei-cosmos/proto/cosmos/distribution/v1beta1/tx.proto +++ b/sei-cosmos/proto/cosmos/distribution/v1beta1/tx.proto @@ -4,7 +4,7 @@ package cosmos.distribution.v1beta1; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types"; option (gogoproto.equal_all) = true; // Msg defines the distribution Msg service. @@ -72,7 +72,7 @@ message MsgFundCommunityPool { repeated cosmos.base.v1beta1.Coin amount = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; string depositor = 2; } diff --git a/sei-cosmos/proto/cosmos/evidence/v1beta1/evidence.proto b/sei-cosmos/proto/cosmos/evidence/v1beta1/evidence.proto index 6934d87ce6..a208e562e6 100644 --- a/sei-cosmos/proto/cosmos/evidence/v1beta1/evidence.proto +++ b/sei-cosmos/proto/cosmos/evidence/v1beta1/evidence.proto @@ -4,7 +4,7 @@ package cosmos.evidence.v1beta1; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types"; option (gogoproto.equal_all) = true; // Equivocation implements the Evidence interface and defines evidence of double diff --git a/sei-cosmos/proto/cosmos/evidence/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/evidence/v1beta1/genesis.proto index 3799177d66..52b5d83071 100644 --- a/sei-cosmos/proto/cosmos/evidence/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/evidence/v1beta1/genesis.proto @@ -3,7 +3,7 @@ package cosmos.evidence.v1beta1; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types"; // GenesisState defines the evidence module's genesis state. message GenesisState { diff --git a/sei-cosmos/proto/cosmos/evidence/v1beta1/query.proto b/sei-cosmos/proto/cosmos/evidence/v1beta1/query.proto index f4f867d544..575a620c28 100644 --- a/sei-cosmos/proto/cosmos/evidence/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/evidence/v1beta1/query.proto @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types"; // Query defines the gRPC querier service. service Query { diff --git a/sei-cosmos/proto/cosmos/evidence/v1beta1/tx.proto b/sei-cosmos/proto/cosmos/evidence/v1beta1/tx.proto index ef4406b51e..a91ad1ec47 100644 --- a/sei-cosmos/proto/cosmos/evidence/v1beta1/tx.proto +++ b/sei-cosmos/proto/cosmos/evidence/v1beta1/tx.proto @@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types"; option (gogoproto.equal_all) = true; // Msg defines the evidence Msg service. diff --git a/sei-cosmos/proto/cosmos/feegrant/v1beta1/feegrant.proto b/sei-cosmos/proto/cosmos/feegrant/v1beta1/feegrant.proto index 3a702f286f..d9b2b11b2f 100644 --- a/sei-cosmos/proto/cosmos/feegrant/v1beta1/feegrant.proto +++ b/sei-cosmos/proto/cosmos/feegrant/v1beta1/feegrant.proto @@ -9,7 +9,7 @@ import "google/protobuf/any.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant"; // BasicAllowance implements Allowance with a one-time grant of tokens // that optionally expires. The grantee can use up to SpendLimit to cover fees. @@ -21,7 +21,7 @@ message BasicAllowance { // empty, there is no spend limit and any amount of coins can be spent. repeated cosmos.base.v1beta1.Coin spend_limit = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; // expiration specifies an optional time when this allowance expires @@ -47,13 +47,13 @@ message PeriodicAllowance { // in the period repeated cosmos.base.v1beta1.Coin period_spend_limit = 3 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; // period_can_spend is the number of coins left to be spent before the period_reset time repeated cosmos.base.v1beta1.Coin period_can_spend = 4 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; // period_reset is the time at which this period resets and a new one begins, diff --git a/sei-cosmos/proto/cosmos/feegrant/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/feegrant/v1beta1/genesis.proto index a582566779..a918ef96e5 100644 --- a/sei-cosmos/proto/cosmos/feegrant/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/feegrant/v1beta1/genesis.proto @@ -5,7 +5,7 @@ package cosmos.feegrant.v1beta1; import "cosmos/feegrant/v1beta1/feegrant.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant"; // GenesisState contains a set of fee allowances, persisted from the store message GenesisState { diff --git a/sei-cosmos/proto/cosmos/feegrant/v1beta1/query.proto b/sei-cosmos/proto/cosmos/feegrant/v1beta1/query.proto index 840ee8029b..3274e69e99 100644 --- a/sei-cosmos/proto/cosmos/feegrant/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/feegrant/v1beta1/query.proto @@ -6,7 +6,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "cosmos/feegrant/v1beta1/feegrant.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant"; // Query defines the gRPC querier service. service Query { diff --git a/sei-cosmos/proto/cosmos/feegrant/v1beta1/tx.proto b/sei-cosmos/proto/cosmos/feegrant/v1beta1/tx.proto index 0f8ae50a0b..c8731d78e0 100644 --- a/sei-cosmos/proto/cosmos/feegrant/v1beta1/tx.proto +++ b/sei-cosmos/proto/cosmos/feegrant/v1beta1/tx.proto @@ -5,7 +5,7 @@ package cosmos.feegrant.v1beta1; import "cosmos_proto/cosmos.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant"; // Msg defines the feegrant msg service. service Msg { diff --git a/sei-cosmos/proto/cosmos/genutil/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/genutil/v1beta1/genesis.proto index 1dfb5c372c..b33cd1b2a1 100644 --- a/sei-cosmos/proto/cosmos/genutil/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/genutil/v1beta1/genesis.proto @@ -3,7 +3,7 @@ package cosmos.genutil.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/genutil/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types"; // GenesisState defines the raw genesis transaction in JSON. message GenesisState { diff --git a/sei-cosmos/proto/cosmos/gov/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/gov/v1beta1/genesis.proto index f746f9b1f3..8229d3c0b4 100644 --- a/sei-cosmos/proto/cosmos/gov/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/gov/v1beta1/genesis.proto @@ -5,7 +5,7 @@ package cosmos.gov.v1beta1; import "cosmos/gov/v1beta1/gov.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types"; // GenesisState defines the gov module's genesis state. message GenesisState { diff --git a/sei-cosmos/proto/cosmos/gov/v1beta1/gov.proto b/sei-cosmos/proto/cosmos/gov/v1beta1/gov.proto index fb1cf18990..b55f5b466c 100644 --- a/sei-cosmos/proto/cosmos/gov/v1beta1/gov.proto +++ b/sei-cosmos/proto/cosmos/gov/v1beta1/gov.proto @@ -8,7 +8,7 @@ import "google/protobuf/any.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types"; option (gogoproto.goproto_getters_all) = false; option (gogoproto.goproto_stringer_all) = false; option (gogoproto.stringer_all) = false; @@ -35,7 +35,7 @@ enum VoteOption { message WeightedVoteOption { VoteOption option = 1; string weight = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"weight\"" ]; @@ -63,7 +63,7 @@ message Deposit { string depositor = 2; repeated cosmos.base.v1beta1.Coin amount = 3 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } @@ -93,7 +93,7 @@ message Proposal { ]; repeated cosmos.base.v1beta1.Coin total_deposit = 7 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins", (gogoproto.moretags) = "yaml:\"total_deposit\"" ]; google.protobuf.Timestamp voting_start_time = 8 [ @@ -137,19 +137,19 @@ message TallyResult { option (gogoproto.equal) = true; string yes = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false ]; string abstain = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false ]; string no = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false ]; string no_with_veto = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"no_with_veto\"" ]; @@ -176,7 +176,7 @@ message DepositParams { // Minimum deposit for a proposal to enter voting period. repeated cosmos.base.v1beta1.Coin min_deposit = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins", (gogoproto.moretags) = "yaml:\"min_deposit\"", (gogoproto.jsontag) = "min_deposit,omitempty" ]; @@ -193,7 +193,7 @@ message DepositParams { // Minimum deposit for a expedited proposal to enter voting period. repeated cosmos.base.v1beta1.Coin min_expedited_deposit = 3 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins", (gogoproto.moretags) = "yaml:\"min_expedited_deposit\"", (gogoproto.jsontag) = "min_expedited_deposit,omitempty" ]; @@ -223,14 +223,14 @@ message TallyParams { // Minimum percentage of total stake needed to vote for a result to be // considered valid. bytes quorum = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "quorum,omitempty" ]; // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. bytes threshold = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "threshold,omitempty" ]; @@ -238,7 +238,7 @@ message TallyParams { // Minimum value of Veto votes to Total votes ratio for proposal to be // vetoed. Default value: 1/3. bytes veto_threshold = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "veto_threshold,omitempty", (gogoproto.moretags) = "yaml:\"veto_threshold\"" @@ -246,14 +246,14 @@ message TallyParams { // Minimum percentage of total stake needed to vote for expedited proposal to be valid bytes expedited_quorum = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "expedited_quorum,omitempty" ]; // Minimum proportion of Yes votes for an expedited proposal to pass. Default value: 0.67. bytes expedited_threshold = 5 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "expedited_threshold,omitempty" ]; diff --git a/sei-cosmos/proto/cosmos/gov/v1beta1/query.proto b/sei-cosmos/proto/cosmos/gov/v1beta1/query.proto index 149dc565f6..e8280ccfd7 100644 --- a/sei-cosmos/proto/cosmos/gov/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/gov/v1beta1/query.proto @@ -6,7 +6,7 @@ import "cosmos/gov/v1beta1/gov.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types"; // Query defines the gRPC querier service for gov module service Query { diff --git a/sei-cosmos/proto/cosmos/gov/v1beta1/tx.proto b/sei-cosmos/proto/cosmos/gov/v1beta1/tx.proto index 86b0ec68b9..9a88d3c2d2 100644 --- a/sei-cosmos/proto/cosmos/gov/v1beta1/tx.proto +++ b/sei-cosmos/proto/cosmos/gov/v1beta1/tx.proto @@ -7,7 +7,7 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types"; // Msg defines the bank Msg service. service Msg { @@ -37,7 +37,7 @@ message MsgSubmitProposal { google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; repeated cosmos.base.v1beta1.Coin initial_deposit = 2 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins", (gogoproto.moretags) = "yaml:\"initial_deposit\"" ]; string proposer = 3; @@ -103,7 +103,7 @@ message MsgDeposit { string depositor = 2; repeated cosmos.base.v1beta1.Coin amount = 3 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } diff --git a/sei-cosmos/proto/cosmos/params/types/types.proto b/sei-cosmos/proto/cosmos/params/types/types.proto index abf4b952ff..5e05544aea 100644 --- a/sei-cosmos/proto/cosmos/params/types/types.proto +++ b/sei-cosmos/proto/cosmos/params/types/types.proto @@ -4,14 +4,14 @@ package cosmos.params.v1beta1; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/params/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types"; option (gogoproto.equal_all) = true; // Defines fee params that are controlled through governance message FeesParams { repeated cosmos.base.v1beta1.DecCoin global_minimum_gas_prices = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" ]; repeated string allowed_fee_denoms = 2; } diff --git a/sei-cosmos/proto/cosmos/params/v1beta1/params.proto b/sei-cosmos/proto/cosmos/params/v1beta1/params.proto index 6178cd4ece..d6100052f4 100644 --- a/sei-cosmos/proto/cosmos/params/v1beta1/params.proto +++ b/sei-cosmos/proto/cosmos/params/v1beta1/params.proto @@ -3,7 +3,7 @@ package cosmos.params.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal"; option (gogoproto.equal_all) = true; // ParameterChangeProposal defines a proposal to change one or more parameters. diff --git a/sei-cosmos/proto/cosmos/params/v1beta1/query.proto b/sei-cosmos/proto/cosmos/params/v1beta1/query.proto index 3495e021bb..72902e6217 100644 --- a/sei-cosmos/proto/cosmos/params/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/params/v1beta1/query.proto @@ -5,7 +5,7 @@ import "cosmos/params/v1beta1/params.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal"; // Query defines the gRPC querier service. service Query { diff --git a/sei-cosmos/proto/cosmos/slashing/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/slashing/v1beta1/genesis.proto index ed40f605b3..1a3494c61c 100644 --- a/sei-cosmos/proto/cosmos/slashing/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/slashing/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package cosmos.slashing.v1beta1; import "cosmos/slashing/v1beta1/slashing.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types"; // GenesisState defines the slashing module's genesis state. message GenesisState { diff --git a/sei-cosmos/proto/cosmos/slashing/v1beta1/query.proto b/sei-cosmos/proto/cosmos/slashing/v1beta1/query.proto index 4eda26c2bd..cb2066defa 100644 --- a/sei-cosmos/proto/cosmos/slashing/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/slashing/v1beta1/query.proto @@ -6,7 +6,7 @@ import "cosmos/slashing/v1beta1/slashing.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types"; // Query provides defines the gRPC querier service service Query { diff --git a/sei-cosmos/proto/cosmos/slashing/v1beta1/slashing.proto b/sei-cosmos/proto/cosmos/slashing/v1beta1/slashing.proto index eb87c5f16a..bd8dcc394f 100644 --- a/sei-cosmos/proto/cosmos/slashing/v1beta1/slashing.proto +++ b/sei-cosmos/proto/cosmos/slashing/v1beta1/slashing.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types"; option (gogoproto.equal_all) = true; message ValidatorSigningInfoLegacyMissedHeights { @@ -76,7 +76,7 @@ message Params { int64 signed_blocks_window = 1 [(gogoproto.moretags) = "yaml:\"signed_blocks_window\""]; bytes min_signed_per_window = 2 [ (gogoproto.moretags) = "yaml:\"min_signed_per_window\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; google.protobuf.Duration downtime_jail_duration = 3 [ @@ -86,12 +86,12 @@ message Params { ]; bytes slash_fraction_double_sign = 4 [ (gogoproto.moretags) = "yaml:\"slash_fraction_double_sign\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; bytes slash_fraction_downtime = 5 [ (gogoproto.moretags) = "yaml:\"slash_fraction_downtime\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; } diff --git a/sei-cosmos/proto/cosmos/slashing/v1beta1/tx.proto b/sei-cosmos/proto/cosmos/slashing/v1beta1/tx.proto index c2d51b1aef..1dfdb37123 100644 --- a/sei-cosmos/proto/cosmos/slashing/v1beta1/tx.proto +++ b/sei-cosmos/proto/cosmos/slashing/v1beta1/tx.proto @@ -3,7 +3,7 @@ package cosmos.slashing.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types"; option (gogoproto.equal_all) = true; // Msg defines the slashing Msg service. diff --git a/sei-cosmos/proto/cosmos/staking/v1beta1/authz.proto b/sei-cosmos/proto/cosmos/staking/v1beta1/authz.proto index c8b6821c1d..6706bac96a 100644 --- a/sei-cosmos/proto/cosmos/staking/v1beta1/authz.proto +++ b/sei-cosmos/proto/cosmos/staking/v1beta1/authz.proto @@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types"; // StakeAuthorization defines authorization for delegate/undelegate/redelegate. // @@ -15,7 +15,7 @@ message StakeAuthorization { // max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is // empty, there is no spend limit and any amount of coins can be delegated. - cosmos.base.v1beta1.Coin max_tokens = 1 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin"]; + cosmos.base.v1beta1.Coin max_tokens = 1 [(gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coin"]; // validators is the oneof that represents either allow_list or deny_list oneof validators { // allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's diff --git a/sei-cosmos/proto/cosmos/staking/v1beta1/genesis.proto b/sei-cosmos/proto/cosmos/staking/v1beta1/genesis.proto index 0a92ee747b..b3bc61da97 100644 --- a/sei-cosmos/proto/cosmos/staking/v1beta1/genesis.proto +++ b/sei-cosmos/proto/cosmos/staking/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package cosmos.staking.v1beta1; import "cosmos/staking/v1beta1/staking.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types"; // GenesisState defines the staking module's genesis state. message GenesisState { @@ -14,7 +14,7 @@ message GenesisState { // last_total_power tracks the total amounts of bonded tokens recorded during // the previous end block. bytes last_total_power = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.moretags) = "yaml:\"last_total_power\"", (gogoproto.nullable) = false ]; diff --git a/sei-cosmos/proto/cosmos/staking/v1beta1/query.proto b/sei-cosmos/proto/cosmos/staking/v1beta1/query.proto index 797035faa1..8c956b2649 100644 --- a/sei-cosmos/proto/cosmos/staking/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/staking/v1beta1/query.proto @@ -6,7 +6,7 @@ import "cosmos/staking/v1beta1/staking.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types"; // Query defines the gRPC querier service. service Query { diff --git a/sei-cosmos/proto/cosmos/staking/v1beta1/staking.proto b/sei-cosmos/proto/cosmos/staking/v1beta1/staking.proto index 56fc374d33..de2d86e121 100644 --- a/sei-cosmos/proto/cosmos/staking/v1beta1/staking.proto +++ b/sei-cosmos/proto/cosmos/staking/v1beta1/staking.proto @@ -9,7 +9,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "tendermint/types/types.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types"; // HistoricalInfo contains header and validator information for a given block. // It is stored as part of staking module's state, which persists the `n` most @@ -28,19 +28,19 @@ message CommissionRates { // rate is the commission rate charged to delegators, as a fraction. string rate = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; // max_rate defines the maximum commission rate which validator can ever charge, as a fraction. string max_rate = 2 [ (gogoproto.moretags) = "yaml:\"max_rate\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; // max_change_rate defines the maximum daily increase of the validator commission, as a fraction. string max_change_rate = 3 [ (gogoproto.moretags) = "yaml:\"max_change_rate\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; } @@ -106,13 +106,13 @@ message Validator { BondStatus status = 4; // tokens define the delegated tokens (incl. self-delegation). string tokens = 5 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false ]; // delegator_shares defines total shares issued to a validator's delegators. string delegator_shares = 6 [ (gogoproto.moretags) = "yaml:\"delegator_shares\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; // description defines the description terms for the validator. @@ -130,7 +130,7 @@ message Validator { // min_self_delegation is the validator's self declared minimum self delegation. string min_self_delegation = 11 [ (gogoproto.moretags) = "yaml:\"min_self_delegation\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false ]; } @@ -207,7 +207,7 @@ message Delegation { string validator_address = 2 [(gogoproto.moretags) = "yaml:\"validator_address\""]; // shares define the delegation shares received. string shares = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; } @@ -242,13 +242,13 @@ message UnbondingDelegationEntry { ]; // initial_balance defines the tokens initially scheduled to receive at completion. string initial_balance = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"initial_balance\"" ]; // balance defines the tokens to receive at completion. string balance = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false ]; } @@ -268,13 +268,13 @@ message RedelegationEntry { ]; // initial_balance defines the initial balance when redelegation started. string initial_balance = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"initial_balance\"" ]; // shares_dst is the amount of destination-validator shares created by redelegation. string shares_dst = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; } @@ -318,20 +318,20 @@ message Params { // min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators string min_commission_rate = 6 [ (gogoproto.moretags) = "yaml:\"min_commission_rate\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false ]; // max_voting_power_ratio defines the maximal allowable voting power ratio delegated to a validator. string max_voting_power_ratio = 7 [ (gogoproto.moretags) = "yaml:\"max_voting_power_ratio\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.nullable) = false, (gogoproto.jsontag) = "max_voting_power_ratio" ]; // max_voting_power_enforcement_threshold defines the minimal bonded voting power of the max voting power ratio enforcement string max_voting_power_enforcement_threshold = 8 [ (gogoproto.moretags) = "yaml:\"max_voting_power_enforcement_threshold\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false, (gogoproto.jsontag) = "max_voting_power_enforcement_threshold" ]; @@ -356,7 +356,7 @@ message RedelegationEntryResponse { RedelegationEntry redelegation_entry = 1 [(gogoproto.nullable) = false]; string balance = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false ]; } @@ -377,13 +377,13 @@ message Pool { option (gogoproto.description) = true; option (gogoproto.equal) = true; string not_bonded_tokens = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.jsontag) = "not_bonded_tokens", (gogoproto.nullable) = false ]; string bonded_tokens = 2 [ (gogoproto.jsontag) = "bonded_tokens", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"bonded_tokens\"" ]; diff --git a/sei-cosmos/proto/cosmos/staking/v1beta1/tx.proto b/sei-cosmos/proto/cosmos/staking/v1beta1/tx.proto index 48590565f6..3163d7ae75 100644 --- a/sei-cosmos/proto/cosmos/staking/v1beta1/tx.proto +++ b/sei-cosmos/proto/cosmos/staking/v1beta1/tx.proto @@ -8,7 +8,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types"; // Msg defines the staking Msg service. service Msg { @@ -39,7 +39,7 @@ message MsgCreateValidator { Description description = 1 [(gogoproto.nullable) = false]; CommissionRates commission = 2 [(gogoproto.nullable) = false]; string min_self_delegation = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.moretags) = "yaml:\"min_self_delegation\"", (gogoproto.nullable) = false ]; @@ -65,11 +65,11 @@ message MsgEditValidator { // zero with no way to distinguish if an update was intended. // REF: #2373 string commission_rate = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec", (gogoproto.moretags) = "yaml:\"commission_rate\"" ]; string min_self_delegation = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", (gogoproto.moretags) = "yaml:\"min_self_delegation\"" ]; } diff --git a/sei-cosmos/proto/cosmos/tx/signing/v1beta1/signing.proto b/sei-cosmos/proto/cosmos/tx/signing/v1beta1/signing.proto index 50de89c8fc..286b62852c 100644 --- a/sei-cosmos/proto/cosmos/tx/signing/v1beta1/signing.proto +++ b/sei-cosmos/proto/cosmos/tx/signing/v1beta1/signing.proto @@ -4,7 +4,7 @@ package cosmos.tx.signing.v1beta1; import "cosmos/crypto/multisig/v1beta1/multisig.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types/tx/signing"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing"; // SignMode represents a signing mode with its own security guarantees. enum SignMode { diff --git a/sei-cosmos/proto/cosmos/tx/v1beta1/service.proto b/sei-cosmos/proto/cosmos/tx/v1beta1/service.proto index 91c4676270..957e90127d 100644 --- a/sei-cosmos/proto/cosmos/tx/v1beta1/service.proto +++ b/sei-cosmos/proto/cosmos/tx/v1beta1/service.proto @@ -9,7 +9,7 @@ import "google/api/annotations.proto"; import "tendermint/types/block.proto"; import "tendermint/types/types.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx"; option (gogoproto.goproto_registration) = true; // Service defines a gRPC service for interacting with transactions. diff --git a/sei-cosmos/proto/cosmos/tx/v1beta1/tx.proto b/sei-cosmos/proto/cosmos/tx/v1beta1/tx.proto index 212fd279f1..1b25b5f89f 100644 --- a/sei-cosmos/proto/cosmos/tx/v1beta1/tx.proto +++ b/sei-cosmos/proto/cosmos/tx/v1beta1/tx.proto @@ -7,7 +7,7 @@ import "cosmos/tx/signing/v1beta1/signing.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx"; // Tx is the standard type used for broadcasting transactions. message Tx { @@ -166,7 +166,7 @@ message Fee { // amount is the amount of coins to be paid as a fee repeated cosmos.base.v1beta1.Coin amount = 1 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; // gas_limit is the maximum gas that can be used in transaction processing diff --git a/sei-cosmos/proto/cosmos/upgrade/v1beta1/query.proto b/sei-cosmos/proto/cosmos/upgrade/v1beta1/query.proto index c1356ddc04..313069bec0 100644 --- a/sei-cosmos/proto/cosmos/upgrade/v1beta1/query.proto +++ b/sei-cosmos/proto/cosmos/upgrade/v1beta1/query.proto @@ -4,7 +4,7 @@ package cosmos.upgrade.v1beta1; import "cosmos/upgrade/v1beta1/upgrade.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types"; // Query defines the gRPC upgrade querier service. service Query { diff --git a/sei-cosmos/proto/cosmos/upgrade/v1beta1/upgrade.proto b/sei-cosmos/proto/cosmos/upgrade/v1beta1/upgrade.proto index 724e1b4317..7015a5c14f 100644 --- a/sei-cosmos/proto/cosmos/upgrade/v1beta1/upgrade.proto +++ b/sei-cosmos/proto/cosmos/upgrade/v1beta1/upgrade.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types"; option (gogoproto.goproto_getters_all) = false; // Plan specifies information about a planned upgrade and when it should occur. diff --git a/sei-cosmos/proto/cosmos/vesting/v1beta1/tx.proto b/sei-cosmos/proto/cosmos/vesting/v1beta1/tx.proto index 7bdc7a26c7..b71bd33397 100644 --- a/sei-cosmos/proto/cosmos/vesting/v1beta1/tx.proto +++ b/sei-cosmos/proto/cosmos/vesting/v1beta1/tx.proto @@ -4,7 +4,7 @@ package cosmos.vesting.v1beta1; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types"; // Msg defines the bank Msg service. service Msg { @@ -22,7 +22,7 @@ message MsgCreateVestingAccount { string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; repeated cosmos.base.v1beta1.Coin amount = 3 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; int64 end_time = 4 [(gogoproto.moretags) = "yaml:\"end_time\""]; diff --git a/sei-cosmos/proto/cosmos/vesting/v1beta1/vesting.proto b/sei-cosmos/proto/cosmos/vesting/v1beta1/vesting.proto index 5a856f2648..b4de2b0a5c 100644 --- a/sei-cosmos/proto/cosmos/vesting/v1beta1/vesting.proto +++ b/sei-cosmos/proto/cosmos/vesting/v1beta1/vesting.proto @@ -5,7 +5,7 @@ import "cosmos/auth/v1beta1/auth.proto"; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types"; // BaseVestingAccount implements the VestingAccount interface. It contains all // the necessary fields needed for any vesting account implementation. @@ -16,17 +16,17 @@ message BaseVestingAccount { cosmos.auth.v1beta1.BaseAccount base_account = 1 [(gogoproto.embed) = true]; repeated cosmos.base.v1beta1.Coin original_vesting = 2 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins", (gogoproto.moretags) = "yaml:\"original_vesting\"" ]; repeated cosmos.base.v1beta1.Coin delegated_free = 3 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins", (gogoproto.moretags) = "yaml:\"delegated_free\"" ]; repeated cosmos.base.v1beta1.Coin delegated_vesting = 4 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins", (gogoproto.moretags) = "yaml:\"delegated_vesting\"" ]; int64 end_time = 5 [(gogoproto.moretags) = "yaml:\"end_time\""]; @@ -63,7 +63,7 @@ message Period { int64 length = 1; repeated cosmos.base.v1beta1.Coin amount = 2 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } diff --git a/sei-cosmos/server/api/server.go b/sei-cosmos/server/api/server.go index 0d99ef94bf..ab5cf74fad 100644 --- a/sei-cosmos/server/api/server.go +++ b/sei-cosmos/server/api/server.go @@ -16,14 +16,14 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmrpcserver "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/jsonrpc/server" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/server/config" - "github.com/cosmos/cosmos-sdk/telemetry" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" // unnamed import of statik for swagger UI support - _ "github.com/cosmos/cosmos-sdk/client/docs/statik" + _ "github.com/sei-protocol/sei-chain/sei-cosmos/client/docs/statik" ) // Server defines the server's API interface. @@ -97,10 +97,10 @@ func (s *Server) Start(cfg config.Config, apiMetrics *telemetry.Metrics) error { } tmCfg := tmrpcserver.DefaultConfig() - tmCfg.MaxOpenConnections = int(cfg.API.MaxOpenConnections) - tmCfg.ReadTimeout = time.Duration(cfg.API.RPCReadTimeout) * time.Second - tmCfg.WriteTimeout = time.Duration(cfg.API.RPCWriteTimeout) * time.Second - tmCfg.MaxBodyBytes = int64(cfg.API.RPCMaxBodyBytes) + tmCfg.MaxOpenConnections = int(cfg.API.MaxOpenConnections) //nolint:gosec // config value, validated at startup + tmCfg.ReadTimeout = time.Duration(cfg.API.RPCReadTimeout) * time.Second //nolint:gosec // config value, validated at startup + tmCfg.WriteTimeout = time.Duration(cfg.API.RPCWriteTimeout) * time.Second //nolint:gosec // config value, validated at startup + tmCfg.MaxBodyBytes = int64(cfg.API.RPCMaxBodyBytes) //nolint:gosec // config value, validated at startup listener, err := tmrpcserver.Listen(cfg.API.Address, tmCfg.MaxOpenConnections) if err != nil { diff --git a/sei-cosmos/server/cmd/execute.go b/sei-cosmos/server/cmd/execute.go index 2ce1cc38b9..4cbdbd9b69 100644 --- a/sei-cosmos/server/cmd/execute.go +++ b/sei-cosmos/server/cmd/execute.go @@ -6,9 +6,9 @@ import ( tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" ) // Execute executes the root command of an application. It handles creating a diff --git a/sei-cosmos/server/config/config.go b/sei-cosmos/server/config/config.go index e0513c14e9..7e9b2e383a 100644 --- a/sei-cosmos/server/config/config.go +++ b/sei-cosmos/server/config/config.go @@ -5,10 +5,10 @@ import ( "runtime" "strings" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-db/config" "github.com/sei-protocol/sei-chain/sei-db/state_db/sc/memiavl" tmcfg "github.com/sei-protocol/sei-chain/sei-tendermint/config" @@ -203,7 +203,7 @@ type StateSyncConfig struct { SnapshotKeepRecent uint32 `mapstructure:"snapshot-keep-recent"` // SnapshotDirectory sets the parent directory for where state sync snapshots are persisted. - // Default is emtpy which will then store under the app home directory. + // Default is empty which will then store under the app home directory. SnapshotDirectory string `mapstructure:"snapshot-directory"` } @@ -437,7 +437,7 @@ func GetConfig(v *viper.Viper) (Config, error) { // ValidateBasic returns an error if min-gas-prices field is empty in BaseConfig. Otherwise, it returns nil. func (c Config) ValidateBasic(tendermintConfig *tmcfg.Config) error { - if c.BaseConfig.MinGasPrices == "" { + if c.MinGasPrices == "" { return sdkerrors.ErrAppConfig.Wrap("set min gas price in app.toml or flag or env variable") } if c.Pruning == storetypes.PruningOptionEverything && c.StateSync.SnapshotInterval > 0 { diff --git a/sei-cosmos/server/config/config_test.go b/sei-cosmos/server/config/config_test.go index 4969cd0d09..0b7fad8c20 100644 --- a/sei-cosmos/server/config/config_test.go +++ b/sei-cosmos/server/config/config_test.go @@ -8,8 +8,8 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" seidbconfig "github.com/sei-protocol/sei-chain/sei-db/config" ) diff --git a/sei-cosmos/server/config/toml.go b/sei-cosmos/server/config/toml.go index e6f68e30dd..8b82ed2837 100644 --- a/sei-cosmos/server/config/toml.go +++ b/sei-cosmos/server/config/toml.go @@ -3,8 +3,8 @@ package config import ( "bytes" "fmt" - "io/ioutil" "os" + "path/filepath" "text/template" "github.com/spf13/viper" @@ -99,7 +99,7 @@ snapshot-interval = {{ .StateSync.SnapshotInterval }} snapshot-keep-recent = {{ .StateSync.SnapshotKeepRecent }} # snapshot-directory sets the directory for where state sync snapshots are persisted. -# default is emtpy which will then store under the app home directory same as before. +# default is empty which will then store under the app home directory same as before. snapshot-directory = "{{ .StateSync.SnapshotDirectory }}" ` @@ -303,7 +303,7 @@ func WriteConfigFile(configFilePath string, config interface{}) { panic(err) } - if err := ioutil.WriteFile(configFilePath, buffer.Bytes(), 0644); err != nil { + if err := os.WriteFile(filepath.Clean(configFilePath), buffer.Bytes(), 0600); err != nil { fmt.Printf("MustWriteFile failed: %v\n", err) os.Exit(1) } diff --git a/sei-cosmos/server/export.go b/sei-cosmos/server/export.go index 8c0cabf4b5..51b5fd1c59 100644 --- a/sei-cosmos/server/export.go +++ b/sei-cosmos/server/export.go @@ -5,17 +5,17 @@ package server import ( "encoding/json" "fmt" - "io/ioutil" "os" + "path/filepath" "time" tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( @@ -75,7 +75,7 @@ func ExportCmd(appExporter types.AppExporter, defaultNodeHome string) *cobra.Com return err } - genesis, err := ioutil.ReadFile(config.GenesisFile()) + genesis, err := os.ReadFile(config.GenesisFile()) if err != nil { return err } @@ -95,10 +95,12 @@ func ExportCmd(appExporter types.AppExporter, defaultNodeHome string) *cobra.Com jailAllowedAddrs, _ := cmd.Flags().GetStringSlice(FlagJailAllowedAddrs) if isStreaming { + streamingFile = filepath.Clean(streamingFile) file, err := os.Create(streamingFile) if err != nil { return err } + defer func() { _ = file.Close() }() exported, err := appExporter(serverCtx.Logger, db, traceWriter, height, forZeroHeight, jailAllowedAddrs, serverCtx.Viper, file) if err != nil { return fmt.Errorf("error exporting state: %v", err) @@ -141,8 +143,8 @@ func ExportCmd(appExporter types.AppExporter, defaultNodeHome string) *cobra.Com return err } - file.Write([]byte(fmt.Sprintf("%s", string(sdk.MustSortJSON(encoded))))) - return nil + _, err = fmt.Fprintf(file, "%s", string(sdk.MustSortJSON(encoded))) + return fmt.Errorf("error writing genesis state to file: %v", err) } exported, err := appExporter(serverCtx.Logger, db, traceWriter, height, forZeroHeight, jailAllowedAddrs, serverCtx.Viper, nil) diff --git a/sei-cosmos/server/grpc/gogoreflection/fix_registration.go b/sei-cosmos/server/grpc/gogoreflection/fix_registration.go index ab77505748..36087698ef 100644 --- a/sei-cosmos/server/grpc/gogoreflection/fix_registration.go +++ b/sei-cosmos/server/grpc/gogoreflection/fix_registration.go @@ -60,7 +60,7 @@ func init() { } // compress compresses the given file descriptor -// nolint: interfacer + func compress(fd *dpb.FileDescriptorProto) ([]byte, error) { fdBytes, err := proto.Marshal(fd) if err != nil { diff --git a/sei-cosmos/server/grpc/gogoreflection/serverreflection.go b/sei-cosmos/server/grpc/gogoreflection/serverreflection.go index 9b54b4019c..44c512c70b 100644 --- a/sei-cosmos/server/grpc/gogoreflection/serverreflection.go +++ b/sei-cosmos/server/grpc/gogoreflection/serverreflection.go @@ -41,7 +41,6 @@ import ( "compress/gzip" "fmt" "io" - "io/ioutil" "log" "reflect" "sort" @@ -52,7 +51,7 @@ import ( dpb "github.com/golang/protobuf/protoc-gen-go/descriptor" "google.golang.org/grpc" "google.golang.org/grpc/codes" - rpb "google.golang.org/grpc/reflection/grpc_reflection_v1alpha" + rpb "google.golang.org/grpc/reflection/grpc_reflection_v1" "google.golang.org/grpc/status" ) @@ -189,7 +188,7 @@ func fqn(prefix, name string) string { // fileDescForType gets the file descriptor for the given type. // The given type should be a proto message. func (s *serverReflectionServer) fileDescForType(st reflect.Type) (*dpb.FileDescriptorProto, error) { - m, ok := reflect.Zero(reflect.PtrTo(st)).Interface().(protoMessage) + m, ok := reflect.Zero(reflect.PointerTo(st)).Interface().(protoMessage) if !ok { return nil, fmt.Errorf("failed to create message from type: %v", st) } @@ -219,7 +218,7 @@ func decompress(b []byte) ([]byte, error) { if err != nil { return nil, fmt.Errorf("bad gzipped descriptor: %v", err) } - out, err := ioutil.ReadAll(r) + out, err := io.ReadAll(r) if err != nil { return nil, fmt.Errorf("bad gzipped descriptor: %v", err) } @@ -237,7 +236,7 @@ func typeForName(name string) (reflect.Type, error) { } func fileDescContainingExtension(st reflect.Type, ext int32) (*dpb.FileDescriptorProto, error) { - m, ok := reflect.Zero(reflect.PtrTo(st)).Interface().(proto.Message) + m, ok := reflect.Zero(reflect.PointerTo(st)).Interface().(proto.Message) if !ok { return nil, fmt.Errorf("failed to create message from type: %v", st) } @@ -252,7 +251,7 @@ func fileDescContainingExtension(st reflect.Type, ext int32) (*dpb.FileDescripto } func (s *serverReflectionServer) allExtensionNumbersForType(st reflect.Type) ([]int32, error) { - m, ok := reflect.Zero(reflect.PtrTo(st)).Interface().(proto.Message) + m, ok := reflect.Zero(reflect.PointerTo(st)).Interface().(proto.Message) if !ok { return nil, fmt.Errorf("failed to create message from type: %v", st) } diff --git a/sei-cosmos/server/grpc/grpc_web.go b/sei-cosmos/server/grpc/grpc_web.go index e08f007c73..ab951bb528 100644 --- a/sei-cosmos/server/grpc/grpc_web.go +++ b/sei-cosmos/server/grpc/grpc_web.go @@ -8,8 +8,8 @@ import ( "github.com/improbable-eng/grpc-web/go/grpcweb" "google.golang.org/grpc" - "github.com/cosmos/cosmos-sdk/server/config" - "github.com/cosmos/cosmos-sdk/server/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" ) // StartGRPCWeb starts a gRPC-Web server on the given address. @@ -25,8 +25,9 @@ func StartGRPCWeb(grpcSrv *grpc.Server, config config.Config) (*http.Server, err wrappedServer := grpcweb.WrapServer(grpcSrv, options...) grpcWebSrv := &http.Server{ - Addr: config.GRPCWeb.Address, - Handler: wrappedServer, + Addr: config.GRPCWeb.Address, + Handler: wrappedServer, + ReadHeaderTimeout: 10 * time.Second, } errCh := make(chan error) diff --git a/sei-cosmos/server/grpc/grpc_web_test.go b/sei-cosmos/server/grpc/grpc_web_test.go index 2afee09465..683e7e001c 100644 --- a/sei-cosmos/server/grpc/grpc_web_test.go +++ b/sei-cosmos/server/grpc/grpc_web_test.go @@ -7,7 +7,6 @@ import ( "encoding/binary" "fmt" "io" - "io/ioutil" "net/http" "net/textproto" "strconv" @@ -19,11 +18,11 @@ import ( "github.com/stretchr/testify/suite" "google.golang.org/grpc/codes" - "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/network" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/tmservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // https://github.com/improbable-eng/grpc-web/blob/master/go/grpcweb/wrapper_test.go used as a reference @@ -195,7 +194,7 @@ func (s *GRPCWebTestSuite) makeGrpcRequest( return nil, Trailer{}, nil, err } defer resp.Body.Close() - contents, err := ioutil.ReadAll(resp.Body) + contents, err := io.ReadAll(resp.Body) if err != nil { return nil, Trailer{}, nil, err } diff --git a/sei-cosmos/server/grpc/reflection/v2alpha1/reflection.go b/sei-cosmos/server/grpc/reflection/v2alpha1/reflection.go index 789f9e35ff..1e7ea975b3 100644 --- a/sei-cosmos/server/grpc/reflection/v2alpha1/reflection.go +++ b/sei-cosmos/server/grpc/reflection/v2alpha1/reflection.go @@ -7,9 +7,9 @@ import ( "github.com/gogo/protobuf/proto" "google.golang.org/grpc" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" ) type Config struct { diff --git a/sei-cosmos/server/grpc/reflection/v2alpha1/reflection.pb.go b/sei-cosmos/server/grpc/reflection/v2alpha1/reflection.pb.go index c75e6958ce..e4584177ef 100644 --- a/sei-cosmos/server/grpc/reflection/v2alpha1/reflection.pb.go +++ b/sei-cosmos/server/grpc/reflection/v2alpha1/reflection.pb.go @@ -1358,80 +1358,80 @@ func init() { } var fileDescriptor_15c91f0b8d6bf3d0 = []byte{ - // 1155 bytes of a gzipped FileDescriptorProto + // 1161 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcf, 0x6f, 0x1b, 0x45, 0x14, 0xce, 0x3a, 0xbf, 0x5f, 0x9b, 0x46, 0x0c, 0x24, 0x71, 0xdd, 0xe2, 0xa6, 0x1b, 0x09, 0xf5, - 0x52, 0xbb, 0x49, 0xa3, 0xb4, 0x82, 0x94, 0xca, 0x69, 0x68, 0x15, 0x89, 0xa0, 0xe0, 0xa4, 0x80, - 0x10, 0xea, 0x6a, 0xbd, 0x3b, 0x5e, 0x8f, 0xf0, 0xee, 0x6c, 0x76, 0xc6, 0xc1, 0xb9, 0x72, 0xe0, - 0x0c, 0xe2, 0x4f, 0xe0, 0xc0, 0x9d, 0xbf, 0x02, 0xc1, 0xa5, 0x12, 0x17, 0x8e, 0x28, 0x41, 0xe2, - 0x00, 0x7f, 0x04, 0x9a, 0x1f, 0x76, 0xc6, 0xce, 0xda, 0xde, 0x24, 0x3d, 0x25, 0x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0xaf, 0xab, 0xcc, 0x0d, 0x0e, 0xcd, 0x00, 0x7a, 0x02, 0x39, 0xde, - 0xce, 0x4f, 0x49, 0xd0, 0xfb, 0x23, 0x41, 0x0f, 0xda, 0x06, 0x52, 0x8e, 0xb7, 0xed, 0x08, 0xae, - 0x9b, 0xcf, 0x50, 0x01, 0x66, 0xea, 0xad, 0x66, 0x33, 0x72, 0x43, 0x2c, 0x5f, 0xf5, 0x6c, 0xb5, - 0xbb, 0x46, 0x5b, 0x30, 0x11, 0xb2, 0x80, 0xe5, 0x73, 0xcb, 0xe3, 0xf7, 0xae, 0xad, 0x95, 0x46, - 0x6e, 0xb6, 0xcb, 0x02, 0x63, 0x37, 0x59, 0x6b, 0x37, 0x60, 0xbe, 0xef, 0x64, 0xa0, 0x97, 0x00, - 0x8c, 0x04, 0x91, 0x13, 0x52, 0x1f, 0xb3, 0xbc, 0x25, 0xc1, 0x37, 0x46, 0x82, 0xef, 0x93, 0x20, - 0x22, 0x51, 0xb0, 0x4b, 0x7d, 0x6c, 0x6c, 0x32, 0x2b, 0x90, 0xc4, 0x33, 0x66, 0xff, 0x60, 0xc1, - 0x42, 0x6a, 0x12, 0x42, 0x30, 0x61, 0xe8, 0x93, 0xff, 0xa3, 0x45, 0x98, 0x8a, 0x5a, 0x61, 0x0d, - 0x27, 0xf2, 0x60, 0x4e, 0x56, 0xf5, 0x0a, 0x7d, 0x0c, 0x2b, 0xf2, 0xe0, 0x3a, 0x24, 0xaa, 0x53, - 0x27, 0x4e, 0xe8, 0x11, 0xf1, 0x71, 0xe2, 0x84, 0x98, 0x37, 0xa8, 0xef, 0x74, 0x5b, 0x35, 0x2e, - 0xa1, 0xee, 0xc8, 0xd4, 0x9d, 0xa8, 0x4e, 0xf7, 0x74, 0xe2, 0xae, 0xcc, 0x7b, 0xae, 0xd3, 0xec, - 0xbb, 0x30, 0xdf, 0x77, 0x9e, 0xd1, 0x0d, 0xc8, 0x11, 0x5f, 0x53, 0xc9, 0x11, 0xdf, 0x0e, 0x60, - 0xbe, 0xef, 0xa8, 0xa2, 0x03, 0x00, 0x12, 0x71, 0x9c, 0xd4, 0x5d, 0xaf, 0xdb, 0xa0, 0xf5, 0x91, - 0x0d, 0xda, 0xe9, 0x94, 0x18, 0xed, 0x31, 0x70, 0xec, 0x5f, 0x72, 0xf0, 0x76, 0x4a, 0xce, 0xd0, - 0x13, 0xf0, 0x9d, 0x05, 0xb7, 0xbb, 0x10, 0x8e, 0xeb, 0x79, 0x38, 0xe6, 0x24, 0x0a, 0x9c, 0x10, - 0x33, 0xe6, 0x06, 0xb8, 0x73, 0x34, 0xb6, 0xb3, 0x93, 0xab, 0x74, 0x30, 0x76, 0x15, 0x84, 0x41, - 0xb6, 0x40, 0x06, 0x25, 0x31, 0x74, 0x04, 0x8b, 0x67, 0x3c, 0x48, 0x18, 0x37, 0x71, 0x88, 0xc5, - 0x9a, 0xe5, 0xc7, 0x25, 0x83, 0xa7, 0xd9, 0x19, 0xec, 0x9c, 0x55, 0x1b, 0x9b, 0x2f, 0x90, 0x94, - 0x38, 0xb3, 0x3f, 0x87, 0xe2, 0xf0, 0xc2, 0xa1, 0xed, 0xbb, 0x09, 0x33, 0xfc, 0x38, 0xc6, 0x4e, - 0x2b, 0x69, 0xca, 0x63, 0x36, 0x5b, 0x9d, 0x16, 0xeb, 0x97, 0x49, 0xd3, 0xfe, 0x06, 0x56, 0x32, - 0xf4, 0x64, 0x28, 0xfa, 0x3a, 0x2c, 0xd6, 0x09, 0x6e, 0xfa, 0x8e, 0xdf, 0xcd, 0x77, 0x44, 0x40, - 0xbd, 0x95, 0xd9, 0xea, 0x3b, 0x32, 0x7a, 0x06, 0xf6, 0x89, 0x88, 0xd9, 0x5f, 0xc1, 0xd2, 0x80, - 0x51, 0x86, 0x2a, 0xf0, 0x6e, 0x0d, 0x7b, 0x8d, 0x87, 0x6b, 0xe2, 0x4d, 0xd3, 0x56, 0xc4, 0x1d, - 0xd7, 0xf7, 0x13, 0xcc, 0x98, 0x13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 0x70, 0xfb, 0xe1, + 0x90, 0x05, 0x37, 0x8e, 0xda, 0x38, 0x3e, 0xb1, 0x18, 0x8e, 0x8f, 0x89, 0x83, 0x59, 0x71, 0x3a, + 0xe7, 0x06, 0x9f, 0xf1, 0xb2, 0x03, 0x55, 0xa5, 0x6f, 0x70, 0xa4, 0x07, 0xd0, 0x53, 0x28, 0x24, + 0x9d, 0xe2, 0x8c, 0x00, 0xbd, 0x3f, 0x12, 0xf4, 0xb0, 0xa3, 0x21, 0x15, 0x92, 0x8e, 0x19, 0xc2, + 0x75, 0xfd, 0x19, 0x2a, 0xc1, 0x5c, 0xb3, 0xed, 0xfb, 0xa1, 0x1d, 0x60, 0xf1, 0xaa, 0xe7, 0xeb, + 0xbd, 0x35, 0xda, 0x86, 0xa9, 0x80, 0x79, 0xac, 0x58, 0x58, 0x9d, 0xbc, 0x77, 0x6d, 0xa3, 0x32, + 0x72, 0xb3, 0x3d, 0xe6, 0x69, 0xbb, 0x89, 0x5a, 0xb3, 0x05, 0x8b, 0x03, 0x27, 0x03, 0xbd, 0x06, + 0x60, 0xc4, 0x0b, 0xad, 0x80, 0xba, 0x98, 0x15, 0x0d, 0x01, 0xbe, 0x35, 0x12, 0xfc, 0x80, 0x78, + 0x21, 0x09, 0xbd, 0x3d, 0xea, 0x62, 0x6d, 0x93, 0x79, 0x8e, 0xc4, 0x9f, 0x31, 0xf3, 0x7b, 0x03, + 0x96, 0x52, 0x93, 0x10, 0x82, 0x29, 0x4d, 0x9f, 0xf8, 0x1b, 0x2d, 0xc3, 0x4c, 0xd8, 0x0e, 0x1a, + 0x38, 0x16, 0x07, 0x73, 0xba, 0xae, 0x56, 0xe8, 0x15, 0xac, 0x89, 0x83, 0x6b, 0x91, 0xb0, 0x49, + 0xad, 0x28, 0xa6, 0xc7, 0xc4, 0xc5, 0xb1, 0x15, 0xe0, 0xa4, 0x45, 0x5d, 0xab, 0xd7, 0xaa, 0x49, + 0x01, 0x75, 0x47, 0xa4, 0xee, 0x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 0xf2, 0xa9, 0x49, 0x1d, 0xc8, 0x39, 0xd5, 0xa4, + 0xcf, 0xeb, 0xab, 0xab, 0x11, 0x1f, 0x30, 0xff, 0x18, 0xca, 0x0c, 0xd2, 0x3d, 0x7c, 0x3b, 0x1f, + 0xb3, 0x61, 0x33, 0xbe, 0xf4, 0x7c, 0x2c, 0x0c, 0xa5, 0x72, 0x47, 0xa8, 0xfc, 0x18, 0x3d, 0xb9, + 0xb4, 0x4a, 0xfd, 0x73, 0xea, 0x5f, 0xa9, 0x36, 0x6b, 0xce, 0xe5, 0x52, 0x3b, 0xdc, 0x34, 0xf2, + 0xa9, 0x1d, 0xe1, 0x29, 0xe6, 0x27, 0x42, 0xed, 0x33, 0xf4, 0xf4, 0x92, 0x6a, 0xfb, 0xa7, 0x34, + 0xfa, 0xd5, 0x80, 0xc5, 0x01, 0xb7, 0x40, 0x8f, 0xf2, 0xf0, 0x4b, 0x71, 0x9e, 0xd2, 0xe3, 0xcb, + 0x17, 0x8e, 0xf9, 0xee, 0x92, 0x8e, 0xb6, 0xda, 0x6e, 0xfe, 0x72, 0x5a, 0x36, 0xde, 0x9e, 0x96, + 0x8d, 0x3f, 0x4f, 0xcb, 0xc6, 0x77, 0x67, 0xe5, 0x89, 0xb7, 0x67, 0xe5, 0x89, 0x3f, 0xce, 0xca, + 0x13, 0x5f, 0xbe, 0xf2, 0x48, 0xd2, 0x6a, 0x37, 0x2a, 0x0e, 0x0d, 0xaa, 0x0c, 0x93, 0xfb, 0xe2, + 0x47, 0x08, 0x87, 0xfa, 0x62, 0x21, 0xfe, 0x69, 0xe5, 0x5f, 0x72, 0x73, 0xde, 0x1d, 0x1c, 0x57, + 0xbd, 0x38, 0x72, 0xd2, 0x7e, 0x0c, 0x69, 0xcc, 0x88, 0xf2, 0x87, 0xff, 0x05, 0x00, 0x00, 0xff, + 0xff, 0x8c, 0x6c, 0xdb, 0x77, 0x36, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/server/grpc/server.go b/sei-cosmos/server/grpc/server.go index 0b41a57cd3..cdb4517071 100644 --- a/sei-cosmos/server/grpc/server.go +++ b/sei-cosmos/server/grpc/server.go @@ -7,16 +7,16 @@ import ( "google.golang.org/grpc" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/server/grpc/gogoreflection" - reflection "github.com/cosmos/cosmos-sdk/server/grpc/reflection/v2alpha1" - "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/grpc/gogoreflection" + reflection "github.com/sei-protocol/sei-chain/sei-cosmos/server/grpc/reflection/v2alpha1" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // StartGRPCServer starts a gRPC server on the given address. func StartGRPCServer(clientCtx client.Context, app types.Application, address string) (*grpc.Server, error) { - grpcSrv := grpc.NewServer() + grpcSrv := grpc.NewServer(grpc.MaxConcurrentStreams(100)) app.RegisterGRPCServer(grpcSrv) // reflection allows consumers to build dynamic clients that can write // to any cosmos-sdk application without relying on application packages at compile time diff --git a/sei-cosmos/server/grpc/server_test.go b/sei-cosmos/server/grpc/server_test.go index bcca43ad65..126ba68a26 100644 --- a/sei-cosmos/server/grpc/server_test.go +++ b/sei-cosmos/server/grpc/server_test.go @@ -16,23 +16,23 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - rpb "google.golang.org/grpc/reflection/grpc_reflection_v1alpha" - - "github.com/cosmos/cosmos-sdk/client" - reflectionv1 "github.com/cosmos/cosmos-sdk/client/grpc/reflection" - clienttx "github.com/cosmos/cosmos-sdk/client/tx" - reflectionv2 "github.com/cosmos/cosmos-sdk/server/grpc/reflection/v2alpha1" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/tx" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + rpb "google.golang.org/grpc/reflection/grpc_reflection_v1" + seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + reflectionv1 "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/reflection" + clienttx "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + reflectionv2 "github.com/sei-protocol/sei-chain/sei-cosmos/server/grpc/reflection/v2alpha1" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) type IntegrationTestSuite struct { diff --git a/sei-cosmos/server/init.go b/sei-cosmos/server/init.go index 331b1b8786..d625fcc997 100644 --- a/sei-cosmos/server/init.go +++ b/sei-cosmos/server/init.go @@ -3,8 +3,8 @@ package server import ( "fmt" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Deprecated: GenerateCoinKey generates a new key mnemonic along with its addrress. diff --git a/sei-cosmos/server/mock/app.go b/sei-cosmos/server/mock/app.go index 7b176037b8..11c644fa4a 100644 --- a/sei-cosmos/server/mock/app.go +++ b/sei-cosmos/server/mock/app.go @@ -12,11 +12,11 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/sei-tendermint/types" - bam "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" + bam "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // NewApp creates a simple mock kvstore app for testing. It should work diff --git a/sei-cosmos/server/mock/store.go b/sei-cosmos/server/mock/store.go index 3d13f35b13..012cb3cadc 100644 --- a/sei-cosmos/server/mock/store.go +++ b/sei-cosmos/server/mock/store.go @@ -3,10 +3,10 @@ package mock import ( "io" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - store "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" protoio "github.com/gogo/protobuf/io" + snapshottypes "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + store "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" dbm "github.com/tendermint/tm-db" ) diff --git a/sei-cosmos/server/mock/store_test.go b/sei-cosmos/server/mock/store_test.go index b945cd3059..d684e01eb6 100644 --- a/sei-cosmos/server/mock/store_test.go +++ b/sei-cosmos/server/mock/store_test.go @@ -7,7 +7,7 @@ import ( dbm "github.com/tendermint/tm-db" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestStore(t *testing.T) { diff --git a/sei-cosmos/server/mock/tx.go b/sei-cosmos/server/mock/tx.go index 30db5f6465..31ee64972c 100644 --- a/sei-cosmos/server/mock/tx.go +++ b/sei-cosmos/server/mock/tx.go @@ -5,8 +5,8 @@ import ( "bytes" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // An sdk.Tx which is its own sdk.Msg. diff --git a/sei-cosmos/server/pruning.go b/sei-cosmos/server/pruning.go index c93bce8474..91c3e674e3 100644 --- a/sei-cosmos/server/pruning.go +++ b/sei-cosmos/server/pruning.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cast" - "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/store" - storetypes "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) // GetPruningOptionsFromFlags parses command flags and returns the correct diff --git a/sei-cosmos/server/pruning_test.go b/sei-cosmos/server/pruning_test.go index c2aa342f6b..cd50d26d06 100644 --- a/sei-cosmos/server/pruning_test.go +++ b/sei-cosmos/server/pruning_test.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) func TestGetPruningOptionsFromFlags(t *testing.T) { diff --git a/sei-cosmos/server/rollback.go b/sei-cosmos/server/rollback.go index 2d646209a4..1ef8709f50 100644 --- a/sei-cosmos/server/rollback.go +++ b/sei-cosmos/server/rollback.go @@ -2,8 +2,9 @@ package server import ( "fmt" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server/types" + + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" tmcmd "github.com/sei-protocol/sei-chain/sei-tendermint/cmd/tendermint/commands" tmcfg "github.com/sei-protocol/sei-chain/sei-tendermint/config" "github.com/spf13/cobra" diff --git a/sei-cosmos/server/rollback_test.go b/sei-cosmos/server/rollback_test.go index 4e17508570..f16940ef89 100644 --- a/sei-cosmos/server/rollback_test.go +++ b/sei-cosmos/server/rollback_test.go @@ -9,17 +9,17 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/client" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/server/api" - serverconfig "github.com/cosmos/cosmos-sdk/server/config" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gogo/protobuf/grpc" "github.com/golang/protobuf/proto" "github.com/google/orderedcode" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/api" + serverconfig "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmcmd "github.com/sei-protocol/sei-chain/sei-tendermint/cmd/tendermint/commands" tmconfig "github.com/sei-protocol/sei-chain/sei-tendermint/config" diff --git a/sei-cosmos/server/rosetta.go b/sei-cosmos/server/rosetta.go index fe8d5ec6df..80f00f3953 100644 --- a/sei-cosmos/server/rosetta.go +++ b/sei-cosmos/server/rosetta.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/server/rosetta" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta" ) // RosettaCommand builds the rosetta root command given diff --git a/sei-cosmos/server/rosetta/client_offline.go b/sei-cosmos/server/rosetta/client_offline.go index 1dca56de22..7957ddcf3f 100644 --- a/sei-cosmos/server/rosetta/client_offline.go +++ b/sei-cosmos/server/rosetta/client_offline.go @@ -6,9 +6,9 @@ import ( "github.com/coinbase/rosetta-sdk-go/types" - crgerrs "github.com/cosmos/cosmos-sdk/server/rosetta/lib/errors" + crgerrs "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/errors" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // ---------- cosmos-rosetta-gateway.types.NetworkInformationProvider implementation ------------ // diff --git a/sei-cosmos/server/rosetta/client_online.go b/sei-cosmos/server/rosetta/client_online.go index b604165270..8afe40cc85 100644 --- a/sei-cosmos/server/rosetta/client_online.go +++ b/sei-cosmos/server/rosetta/client_online.go @@ -11,7 +11,7 @@ import ( "strconv" "time" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" "google.golang.org/grpc/credentials/insecure" abcitypes "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" @@ -22,14 +22,14 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client/http" "google.golang.org/grpc" - crgerrs "github.com/cosmos/cosmos-sdk/server/rosetta/lib/errors" - crgtypes "github.com/cosmos/cosmos-sdk/server/rosetta/lib/types" + crgerrs "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/errors" + crgtypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/types" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - auth "github.com/cosmos/cosmos-sdk/x/auth/types" - bank "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" + authtx "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + auth "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + bank "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" tmrpc "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" ) diff --git a/sei-cosmos/server/rosetta/codec.go b/sei-cosmos/server/rosetta/codec.go index 96242a9e04..11d35673f6 100644 --- a/sei-cosmos/server/rosetta/codec.go +++ b/sei-cosmos/server/rosetta/codec.go @@ -1,11 +1,11 @@ package rosetta import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - authcodec "github.com/cosmos/cosmos-sdk/x/auth/types" - bankcodec "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + authcodec "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + bankcodec "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // MakeCodec generates the codec required to interact diff --git a/sei-cosmos/server/rosetta/config.go b/sei-cosmos/server/rosetta/config.go index dac86e25de..742ec8c712 100644 --- a/sei-cosmos/server/rosetta/config.go +++ b/sei-cosmos/server/rosetta/config.go @@ -8,10 +8,10 @@ import ( "github.com/coinbase/rosetta-sdk-go/types" "github.com/spf13/pflag" - crg "github.com/cosmos/cosmos-sdk/server/rosetta/lib/server" + crg "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/server" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) // configuration defaults constants diff --git a/sei-cosmos/server/rosetta/converter.go b/sei-cosmos/server/rosetta/converter.go index 057ec1b81b..afd0fcff19 100644 --- a/sei-cosmos/server/rosetta/converter.go +++ b/sei-cosmos/server/rosetta/converter.go @@ -6,30 +6,30 @@ import ( "fmt" "reflect" - cosmoscrypto "github.com/cosmos/cosmos-sdk/crypto/utils" - auth "github.com/cosmos/cosmos-sdk/x/auth/types" + cosmoscrypto "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/utils" + auth "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" "github.com/btcsuite/btcd/btcec/v2" tmcoretypes "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" - crgtypes "github.com/cosmos/cosmos-sdk/server/rosetta/lib/types" + crgtypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" rosettatypes "github.com/coinbase/rosetta-sdk-go/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - crgerrs "github.com/cosmos/cosmos-sdk/server/rosetta/lib/errors" + crgerrs "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/errors" - sdkclient "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdkclient "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // Converter is a utility that can be used to convert @@ -219,11 +219,11 @@ func (c converter) Msg(meta map[string]interface{}, msg sdk.Msg) error { if err != nil { return err } - return c.cdc.UnmarshalJSON(metaBytes, msg) + return c.cdc.UnmarshalAsJSON(metaBytes, msg) } func (c converter) Meta(msg sdk.Msg) (meta map[string]interface{}, err error) { - b, err := c.cdc.MarshalJSON(msg) + b, err := c.cdc.MarshalAsJSON(msg) if err != nil { return nil, crgerrs.WrapError(crgerrs.ErrCodec, err.Error()) } diff --git a/sei-cosmos/server/rosetta/converter_test.go b/sei-cosmos/server/rosetta/converter_test.go index 724b004ed5..1a8fd75264 100644 --- a/sei-cosmos/server/rosetta/converter_test.go +++ b/sei-cosmos/server/rosetta/converter_test.go @@ -7,21 +7,21 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" rosettatypes "github.com/coinbase/rosetta-sdk-go/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/server/rosetta" - crgerrs "github.com/cosmos/cosmos-sdk/server/rosetta/lib/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta" + crgerrs "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/errors" - sdk "github.com/cosmos/cosmos-sdk/types" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - bank "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtx "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + bank "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) type ConverterTestSuite struct { diff --git a/sei-cosmos/server/rosetta/lib/internal/service/construction.go b/sei-cosmos/server/rosetta/lib/internal/service/construction.go index 4be6e94612..aa23b15ffa 100644 --- a/sei-cosmos/server/rosetta/lib/internal/service/construction.go +++ b/sei-cosmos/server/rosetta/lib/internal/service/construction.go @@ -8,7 +8,7 @@ import ( "github.com/coinbase/rosetta-sdk-go/types" - "github.com/cosmos/cosmos-sdk/server/rosetta/lib/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/errors" ) // ConstructionCombine Combine creates a network-specific transaction from an unsigned transaction diff --git a/sei-cosmos/server/rosetta/lib/internal/service/data.go b/sei-cosmos/server/rosetta/lib/internal/service/data.go index cda4204872..566afa2402 100644 --- a/sei-cosmos/server/rosetta/lib/internal/service/data.go +++ b/sei-cosmos/server/rosetta/lib/internal/service/data.go @@ -5,8 +5,8 @@ import ( "github.com/coinbase/rosetta-sdk-go/types" - "github.com/cosmos/cosmos-sdk/server/rosetta/lib/errors" - crgtypes "github.com/cosmos/cosmos-sdk/server/rosetta/lib/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/errors" + crgtypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/types" ) // AccountBalance retrieves the account balance of an address diff --git a/sei-cosmos/server/rosetta/lib/internal/service/offline.go b/sei-cosmos/server/rosetta/lib/internal/service/offline.go index 0d0f4eb1b4..e5a9afafe2 100644 --- a/sei-cosmos/server/rosetta/lib/internal/service/offline.go +++ b/sei-cosmos/server/rosetta/lib/internal/service/offline.go @@ -5,8 +5,8 @@ import ( "github.com/coinbase/rosetta-sdk-go/types" - crgerrs "github.com/cosmos/cosmos-sdk/server/rosetta/lib/errors" - crgtypes "github.com/cosmos/cosmos-sdk/server/rosetta/lib/types" + crgerrs "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/errors" + crgtypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/types" ) // NewOffline instantiates the instance of an offline network diff --git a/sei-cosmos/server/rosetta/lib/internal/service/online.go b/sei-cosmos/server/rosetta/lib/internal/service/online.go index 5cf3331273..cd2608cacb 100644 --- a/sei-cosmos/server/rosetta/lib/internal/service/online.go +++ b/sei-cosmos/server/rosetta/lib/internal/service/online.go @@ -6,8 +6,8 @@ import ( "github.com/coinbase/rosetta-sdk-go/types" - crgerrs "github.com/cosmos/cosmos-sdk/server/rosetta/lib/errors" - crgtypes "github.com/cosmos/cosmos-sdk/server/rosetta/lib/types" + crgerrs "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/errors" + crgtypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/types" ) // genesisBlockFetchTimeout defines a timeout to fetch the genesis block diff --git a/sei-cosmos/server/rosetta/lib/server/server.go b/sei-cosmos/server/rosetta/lib/server/server.go index 1d82ce8a6f..8d13713b4b 100644 --- a/sei-cosmos/server/rosetta/lib/server/server.go +++ b/sei-cosmos/server/rosetta/lib/server/server.go @@ -1,6 +1,7 @@ package server import ( + "errors" "fmt" "net/http" "time" @@ -9,8 +10,8 @@ import ( "github.com/coinbase/rosetta-sdk-go/server" "github.com/coinbase/rosetta-sdk-go/types" - "github.com/cosmos/cosmos-sdk/server/rosetta/lib/internal/service" - crgtypes "github.com/cosmos/cosmos-sdk/server/rosetta/lib/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/internal/service" + crgtypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/types" ) const DefaultRetries = 5 @@ -39,7 +40,15 @@ type Server struct { } func (h Server) Start() error { - return http.ListenAndServe(h.addr, h.h) + srvr := &http.Server{ + Addr: h.addr, + Handler: h.h, + ReadHeaderTimeout: 10 * time.Second, + } + if err := srvr.ListenAndServe(); err != nil && !errors.Is(err, http.ErrServerClosed) { + return err + } + return nil } func NewServer(settings Settings) (Server, error) { diff --git a/sei-cosmos/server/rosetta/util.go b/sei-cosmos/server/rosetta/util.go index 6aa3d94a64..4aa7addbe2 100644 --- a/sei-cosmos/server/rosetta/util.go +++ b/sei-cosmos/server/rosetta/util.go @@ -4,7 +4,7 @@ import ( "encoding/json" "time" - crgerrs "github.com/cosmos/cosmos-sdk/server/rosetta/lib/errors" + crgerrs "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/errors" ) // timeToMilliseconds converts time to milliseconds timestamp diff --git a/sei-cosmos/server/start.go b/sei-cosmos/server/start.go index c4b2f93bc9..3cead9e78d 100644 --- a/sei-cosmos/server/start.go +++ b/sei-cosmos/server/start.go @@ -7,16 +7,28 @@ import ( "errors" "fmt" "net/http" - "sync" - //nolint:gosec,G108 - _ "net/http/pprof" + _ "net/http/pprof" //nolint:gosec "os" "path" + "path/filepath" "runtime/pprof" + "sync" "time" - clientconfig "github.com/cosmos/cosmos-sdk/client/config" - genesistypes "github.com/cosmos/cosmos-sdk/types/genesis" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clientconfig "github.com/sei-protocol/sei-chain/sei-cosmos/client/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/api" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + servergrpc "github.com/sei-protocol/sei-chain/sei-cosmos/server/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta" + crgserver "github.com/sei-protocol/sei-chain/sei-cosmos/server/rosetta/lib/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + genesistypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/genesis" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils/tracing" tcmd "github.com/sei-protocol/sei-chain/sei-tendermint/cmd/tendermint/commands" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/service" "github.com/sei-protocol/sei-chain/sei-tendermint/node" @@ -25,19 +37,6 @@ import ( "github.com/spf13/cobra" "go.opentelemetry.io/otel/sdk/trace" "google.golang.org/grpc" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/server/api" - "github.com/cosmos/cosmos-sdk/server/config" - servergrpc "github.com/cosmos/cosmos-sdk/server/grpc" - "github.com/cosmos/cosmos-sdk/server/rosetta" - crgserver "github.com/cosmos/cosmos-sdk/server/rosetta/lib/server" - "github.com/cosmos/cosmos-sdk/server/types" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/telemetry" - "github.com/cosmos/cosmos-sdk/utils/tracing" ) const ( @@ -133,7 +132,9 @@ is performed. Note, when enabled, gRPC will also be automatically enabled. // Bind flags to the Context's Viper so the app construction can set // options accordingly. - serverCtx.Viper.BindPFlags(cmd.Flags()) + if err := serverCtx.Viper.BindPFlags(cmd.Flags()); err != nil { + return err + } _, err := GetPruningOptionsFromFlags(serverCtx.Viper) return err @@ -144,7 +145,13 @@ is performed. Note, when enabled, gRPC will also be automatically enabled. if enableProfile, _ := cmd.Flags().GetBool(FlagProfile); enableProfile { go func() { serverCtx.Logger.Info("Listening for profiling at http://localhost:6060/debug/pprof/") - err := http.ListenAndServe(":6060", nil) + // TODO: Should this be bound to all interfaces? + server := &http.Server{ + Addr: "localhost:6060", + ReadHeaderTimeout: 10 * time.Second, + //nolint:gosec // no read/write timeout to allow long running pprofs for debugging + } + err := server.ListenAndServe() if err != nil { serverCtx.Logger.Error("Error from profiling server", "error", err) } @@ -276,7 +283,7 @@ func startInProcess( defer cancel() var cpuProfileCleanup func() if cpuProfile := ctx.Viper.GetString(flagCPUProfile); cpuProfile != "" { - f, err := os.Create(cpuProfile) + f, err := os.Create(filepath.Clean(cpuProfile)) if err != nil { return fmt.Errorf("failed to create cpuProfile file %w", err) } @@ -288,7 +295,7 @@ func startInProcess( cpuProfileCleanup = func() { ctx.Logger.Info("stopping CPU profiler", "profile", cpuProfile) pprof.StopCPUProfile() - f.Close() + _ = f.Close() } } @@ -488,7 +495,7 @@ func startInProcess( if grpcSrv != nil { grpcSrv.Stop() if grpcWebSrv != nil { - grpcWebSrv.Close() + _ = grpcWebSrv.Close() } } diff --git a/sei-cosmos/server/test_helpers.go b/sei-cosmos/server/test_helpers.go index 68d87aa08d..e6756c8a49 100644 --- a/sei-cosmos/server/test_helpers.go +++ b/sei-cosmos/server/test_helpers.go @@ -4,7 +4,7 @@ import ( "fmt" "net" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Get a free address for a test tendermint server diff --git a/sei-cosmos/server/tm_cmds.go b/sei-cosmos/server/tm_cmds.go index 56be7fade1..7eb1b21038 100644 --- a/sei-cosmos/server/tm_cmds.go +++ b/sei-cosmos/server/tm_cmds.go @@ -12,9 +12,9 @@ import ( "github.com/spf13/cobra" yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/client" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // ShowNodeIDCmd - ported from Tendermint, dump node ID to stdout diff --git a/sei-cosmos/server/types/app.go b/sei-cosmos/server/types/app.go index 0d6c07b875..d9beece423 100644 --- a/sei-cosmos/server/types/app.go +++ b/sei-cosmos/server/types/app.go @@ -6,9 +6,9 @@ import ( "os" "time" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gogo/protobuf/grpc" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmcfg "github.com/sei-protocol/sei-chain/sei-tendermint/config" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" @@ -17,9 +17,9 @@ import ( "github.com/spf13/cobra" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/server/api" - "github.com/cosmos/cosmos-sdk/server/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/api" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" ) // ServerStartTime defines the time duration that the server need to stay running after startup diff --git a/sei-cosmos/server/util.go b/sei-cosmos/server/util.go index 4f763f522f..9343ca1794 100644 --- a/sei-cosmos/server/util.go +++ b/sei-cosmos/server/util.go @@ -27,11 +27,11 @@ import ( dbm "github.com/tendermint/tm-db" "go.opentelemetry.io/otel/sdk/trace" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server/config" - "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" ) // DONTCOVER @@ -72,7 +72,7 @@ func NewContext(v *viper.Viper, config *tmcfg.Config, logger tmlog.Logger) *Cont func bindFlags(basename string, cmd *cobra.Command, v *viper.Viper) (err error) { defer func() { - recover() + _ = recover() //handled by named return value. }() cmd.Flags().VisitAll(func(f *pflag.Flag) { @@ -115,8 +115,12 @@ func InterceptConfigs(cmd *cobra.Command) (*tmcfg.Config, error) { basename := path.Base(executableName) // Configure the viper instance - serverCtx.Viper.BindPFlags(cmd.Flags()) - serverCtx.Viper.BindPFlags(cmd.PersistentFlags()) + if err := serverCtx.Viper.BindPFlags(cmd.Flags()); err != nil { + return nil, err + } + if err := serverCtx.Viper.BindPFlags(cmd.PersistentFlags()); err != nil { + return nil, err + } serverCtx.Viper.SetEnvPrefix(basename) serverCtx.Viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_", "-", "_")) serverCtx.Viper.AutomaticEnv() @@ -149,8 +153,13 @@ func InterceptConfigsPreRunHandler(cmd *cobra.Command, customAppConfigTemplate s basename := path.Base(executableName) // Configure the viper instance - serverCtx.Viper.BindPFlags(cmd.Flags()) - serverCtx.Viper.BindPFlags(cmd.PersistentFlags()) + + if err := serverCtx.Viper.BindPFlags(cmd.Flags()); err != nil { + return err + } + if err := serverCtx.Viper.BindPFlags(cmd.PersistentFlags()); err != nil { + return err + } serverCtx.Viper.SetEnvPrefix(basename) serverCtx.Viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_", "-", "_")) serverCtx.Viper.AutomaticEnv() @@ -456,9 +465,10 @@ func openTraceWriter(traceWriterFile string) (w io.Writer, err error) { if traceWriterFile == "" { return } + traceWriterFile = filepath.Clean(traceWriterFile) return os.OpenFile( traceWriterFile, os.O_WRONLY|os.O_APPEND|os.O_CREATE, - 0666, + 0600, ) } diff --git a/sei-cosmos/server/util_test.go b/sei-cosmos/server/util_test.go index 86eb076048..cde5c9fc3a 100644 --- a/sei-cosmos/server/util_test.go +++ b/sei-cosmos/server/util_test.go @@ -15,8 +15,8 @@ import ( "github.com/spf13/cobra" "go.opentelemetry.io/otel/sdk/trace" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" ) var cancelledInPreRun = errors.New("Cancelled in prerun") diff --git a/sei-cosmos/server/version.go b/sei-cosmos/server/version.go index 88f97bbe64..fc83bf29fb 100644 --- a/sei-cosmos/server/version.go +++ b/sei-cosmos/server/version.go @@ -8,8 +8,8 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/store/rootmulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" ) // LatestVersionCmd returns the latest version of the application DB diff --git a/sei-cosmos/snapshots/chunk.go b/sei-cosmos/snapshots/chunk.go index 119ff49fe2..e813348611 100644 --- a/sei-cosmos/snapshots/chunk.go +++ b/sei-cosmos/snapshots/chunk.go @@ -3,7 +3,7 @@ package snapshots import ( "io" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // ChunkWriter reads an input stream, splits it into fixed-size chunks, and writes them to a @@ -83,17 +83,18 @@ func (w *ChunkWriter) Write(data []byte) (int, error) { } var writeSize uint64 + lenAsUint64 := uint64(len(data)) //nolint:gosec if w.chunkSize == 0 { - writeSize = uint64(len(data)) + writeSize = lenAsUint64 } else { writeSize = w.chunkSize - w.written } - if writeSize > uint64(len(data)) { - writeSize = uint64(len(data)) + if writeSize > lenAsUint64 { + writeSize = lenAsUint64 } n, err := w.pipe.Write(data[:writeSize]) - w.written += uint64(n) + w.written += uint64(n) //nolint:gosec nTotal += n if err != nil { return nTotal, err diff --git a/sei-cosmos/snapshots/chunk_test.go b/sei-cosmos/snapshots/chunk_test.go index 78c870b90a..aa2801429b 100644 --- a/sei-cosmos/snapshots/chunk_test.go +++ b/sei-cosmos/snapshots/chunk_test.go @@ -4,13 +4,12 @@ import ( "bytes" "errors" "io" - "io/ioutil" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/snapshots" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" ) func TestChunkWriter(t *testing.T) { @@ -66,10 +65,10 @@ func TestChunkWriter(t *testing.T) { require.NoError(t, err) chunkWriter.CloseWithError(theErr) }() - chunk, err := ioutil.ReadAll(<-ch) + chunk, err := io.ReadAll(<-ch) require.NoError(t, err) assert.Equal(t, []byte{1, 2}, chunk) - _, err = ioutil.ReadAll(<-ch) + _, err = io.ReadAll(<-ch) require.Error(t, err) assert.Equal(t, theErr, err) assert.Empty(t, ch) @@ -144,7 +143,7 @@ func TestChunkReader(t *testing.T) { // Closing the reader should close the writer pr, pw = io.Pipe() pch = make(chan io.ReadCloser, 2) - pch <- ioutil.NopCloser(bytes.NewBuffer([]byte{1, 2, 3})) + pch <- io.NopCloser(bytes.NewBuffer([]byte{1, 2, 3})) pch <- pr close(pch) diff --git a/sei-cosmos/snapshots/helpers_test.go b/sei-cosmos/snapshots/helpers_test.go index bbf5b8dcd2..69b69db1a6 100644 --- a/sei-cosmos/snapshots/helpers_test.go +++ b/sei-cosmos/snapshots/helpers_test.go @@ -6,18 +6,18 @@ import ( "compress/zlib" "crypto/sha256" "errors" - "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "io" - "io/ioutil" - "os" + "sync" "testing" - "time" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/snapshots/types" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" + "golang.org/x/sync/errgroup" + protoio "github.com/gogo/protobuf/io" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + snapshottypes "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/stretchr/testify/require" db "github.com/tendermint/tm-db" ) @@ -44,7 +44,7 @@ func hash(chunks [][]byte) []byte { func makeChunks(chunks [][]byte) <-chan io.ReadCloser { ch := make(chan io.ReadCloser, len(chunks)) for _, chunk := range chunks { - ch <- ioutil.NopCloser(bytes.NewReader(chunk)) + ch <- io.NopCloser(bytes.NewReader(chunk)) } close(ch) return ch @@ -53,7 +53,7 @@ func makeChunks(chunks [][]byte) <-chan io.ReadCloser { func readChunks(chunks <-chan io.ReadCloser) [][]byte { bodies := [][]byte{} for chunk := range chunks { - body, err := ioutil.ReadAll(chunk) + body, err := io.ReadAll(chunk) if err != nil { panic(err) } @@ -77,10 +77,10 @@ func snapshotItems(items [][]byte) [][]byte { for _, item := range items { types.WriteExtensionItem(protoWriter, item) } - protoWriter.Close() - zWriter.Close() - bufWriter.Flush() - chunkWriter.Close() + _ = protoWriter.Close() + _ = zWriter.Close() + _ = bufWriter.Flush() + _ = chunkWriter.Close() }() var chunks [][]byte @@ -139,57 +139,72 @@ func (m *mockSnapshotter) Snapshot(height uint64, protoWriter protoio.Writer) er func (m *mockSnapshotter) SnapshotFormat() uint32 { return 1 } + func (m *mockSnapshotter) SupportedFormats() []uint32 { return []uint32{1} } // setupBusyManager creates a manager with an empty store that is busy creating a snapshot at height 1. -// The snapshot will complete when the returned closer is called. +// The snapshot will complete when cleanup runs. func setupBusyManager(t *testing.T) *snapshots.Manager { - // ioutil.TempDir() is used instead of testing.T.TempDir() - // see https://github.com/cosmos/cosmos-sdk/pull/8475 for - // this change's rationale. - tempdir, err := ioutil.TempDir("", "") - require.NoError(t, err) - t.Cleanup(func() { _ = os.RemoveAll(tempdir) }) + t.Helper() + tempdir := t.TempDir() store, err := snapshots.NewStore(db.NewMemDB(), tempdir) require.NoError(t, err) - hung := newHungSnapshotter() + + started := make(chan struct{}) + hung := newHungSnapshotter(started) mgr := snapshots.NewManager(store, hung, log.NewNopLogger()) - go func() { + var eg errgroup.Group + eg.Go(func() error { _, err := mgr.Create(1) - require.NoError(t, err) - }() - time.Sleep(10 * time.Millisecond) - t.Cleanup(hung.Close) + return err + }) + + <-started // ensure snapshot op is actually in progress before returning + + t.Cleanup(func() { + hung.Close() // unblock Snapshot/Create + require.NoError(t, eg.Wait()) + require.NoError(t, mgr.Close()) + }) return mgr } // hungSnapshotter can be used to test operations in progress. Call close to end the snapshot. type hungSnapshotter struct { - ch chan struct{} + ch chan struct{} + started chan struct{} + + startedOnce sync.Once + closeOnce sync.Once } -func newHungSnapshotter() *hungSnapshotter { +func newHungSnapshotter(started chan struct{}) *hungSnapshotter { return &hungSnapshotter{ - ch: make(chan struct{}), + ch: make(chan struct{}), + started: started, } } func (m *hungSnapshotter) Close() { - close(m.ch) + m.closeOnce.Do(func() { + close(m.ch) + }) } func (m *hungSnapshotter) Snapshot(height uint64, protoWriter protoio.Writer) error { + m.startedOnce.Do(func() { + close(m.started) + }) + <-m.ch return nil } -func (m *hungSnapshotter) Restore( - height uint64, format uint32, protoReader protoio.Reader, -) (snapshottypes.SnapshotItem, error) { +func (m *hungSnapshotter) Restore(uint64, uint32, protoio.Reader) (snapshottypes.SnapshotItem, error) { panic("not implemented") } diff --git a/sei-cosmos/snapshots/manager.go b/sei-cosmos/snapshots/manager.go index 2638e8db76..62186264b0 100644 --- a/sei-cosmos/snapshots/manager.go +++ b/sei-cosmos/snapshots/manager.go @@ -5,14 +5,13 @@ import ( "crypto/sha256" "fmt" "io" - "io/ioutil" "math" "sort" "sync" "time" - "github.com/cosmos/cosmos-sdk/snapshots/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" ) @@ -188,7 +187,7 @@ func (m *Manager) createSnapshot(height uint64, ch chan<- io.ReadCloser) { if streamWriter == nil { return } - defer streamWriter.Close() + defer func() { _ = streamWriter.Close() }() if err := m.multistore.Snapshot(height, streamWriter); err != nil { m.logger.Error("Snapshot creation failed", "err", err) streamWriter.CloseWithError(err) @@ -231,9 +230,9 @@ func (m *Manager) LoadChunk(height uint64, format uint32, chunk uint32) ([]byte, if reader == nil { return nil, nil } - defer reader.Close() + defer func() { _ = reader.Close() }() - return ioutil.ReadAll(reader) + return io.ReadAll(reader) } // Prune prunes snapshots, if no other operations are in progress. @@ -252,9 +251,10 @@ func (m *Manager) Restore(snapshot types.Snapshot) error { if snapshot.Chunks == 0 { return sdkerrors.Wrap(types.ErrInvalidMetadata, "no chunks") } - if uint32(len(snapshot.Metadata.ChunkHashes)) != snapshot.Chunks { + uLen := uint32(len(snapshot.Metadata.ChunkHashes)) //nolint:gosec // ChunkHashes length is bounded by Chunks which is uint32 + if uLen != snapshot.Chunks { return sdkerrors.Wrapf(types.ErrInvalidMetadata, "snapshot has %v chunk hashes, but %v chunks", - uint32(len(snapshot.Metadata.ChunkHashes)), + uLen, snapshot.Chunks) } m.mtx.Lock() @@ -305,17 +305,14 @@ func (m *Manager) restoreSnapshot(snapshot types.Snapshot, chChunks <-chan io.Re if err != nil { return err } - defer streamReader.Close() + defer func() { _ = streamReader.Close() }() next, err := m.multistore.Restore(snapshot.Height, snapshot.Format, streamReader) if err != nil { return sdkerrors.Wrap(err, "multistore restore") } - for { - if next.Item == nil { - // end of stream - break - } + for next.Item != nil { + metadata := next.GetExtension() if metadata == nil { return sdkerrors.Wrapf(sdkerrors.ErrLogic, "unknown snapshot item %T", next.Item) @@ -368,7 +365,7 @@ func (m *Manager) RestoreChunk(chunk []byte) (bool, error) { } // Pass the chunk to the restore, and wait for completion if it was the final one. - m.chRestore <- ioutil.NopCloser(bytes.NewReader(chunk)) + m.chRestore <- io.NopCloser(bytes.NewReader(chunk)) m.restoreChunkIndex++ if int(m.restoreChunkIndex) >= len(m.restoreChunkHashes) { diff --git a/sei-cosmos/snapshots/manager_test.go b/sei-cosmos/snapshots/manager_test.go index 4dcae0ce94..45cbc11856 100644 --- a/sei-cosmos/snapshots/manager_test.go +++ b/sei-cosmos/snapshots/manager_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/snapshots/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/sei-cosmos/snapshots/store.go b/sei-cosmos/snapshots/store.go index 21f0c9816d..f37317f0fe 100644 --- a/sei-cosmos/snapshots/store.go +++ b/sei-cosmos/snapshots/store.go @@ -10,9 +10,9 @@ import ( "strconv" "sync" - "github.com/cosmos/cosmos-sdk/snapshots/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/gogo/protobuf/proto" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" db "github.com/tendermint/tm-db" ) @@ -35,7 +35,7 @@ func NewStore(db db.DB, dir string) (*Store, error) { if dir == "" { return nil, sdkerrors.Wrap(sdkerrors.ErrLogic, "snapshot directory not given") } - err := os.MkdirAll(dir, 0755) + err := os.MkdirAll(dir, 0750) if err != nil { return nil, sdkerrors.Wrapf(err, "failed to create snapshot directory %q", dir) } @@ -94,7 +94,7 @@ func (s *Store) GetLatest() (*types.Snapshot, error) { if err != nil { return nil, sdkerrors.Wrap(err, "failed to find latest snapshot") } - defer iter.Close() + defer func() { _ = iter.Close() }() var snapshot *types.Snapshot if iter.Valid() { @@ -114,7 +114,7 @@ func (s *Store) List() ([]*types.Snapshot, error) { if err != nil { return nil, sdkerrors.Wrap(err, "failed to list snapshots") } - defer iter.Close() + defer func() { _ = iter.Close() }() snapshots := make([]*types.Snapshot, 0) for ; iter.Valid(); iter.Next() { @@ -144,17 +144,16 @@ func (s *Store) Load(height uint64, format uint32) (*types.Snapshot, <-chan io.R ch <- pr chunk, err := s.loadChunkFile(height, format, i) if err != nil { - pw.CloseWithError(err) + _ = pw.CloseWithError(err) return } - defer chunk.Close() _, err = io.Copy(pw, chunk) + _ = chunk.Close() if err != nil { - pw.CloseWithError(err) + _ = pw.CloseWithError(err) return } - chunk.Close() - pw.Close() + _ = pw.Close() } }() @@ -165,7 +164,7 @@ func (s *Store) Load(height uint64, format uint32) (*types.Snapshot, <-chan io.R // Close() on it when done. func (s *Store) LoadChunk(height uint64, format uint32, chunk uint32) (io.ReadCloser, error) { path := s.pathChunk(height, format, chunk) - file, err := os.Open(path) + file, err := os.Open(filepath.Clean(path)) if os.IsNotExist(err) { return nil, nil } @@ -175,7 +174,7 @@ func (s *Store) LoadChunk(height uint64, format uint32, chunk uint32) (io.ReadCl // loadChunkFile loads a chunk from disk, and errors if it does not exist. func (s *Store) loadChunkFile(height uint64, format uint32, chunk uint32) (io.ReadCloser, error) { path := s.pathChunk(height, format, chunk) - return os.Open(path) + return os.Open(filepath.Clean(path)) } // Prune removes old snapshots. The given number of most recent heights (regardless of format) are retained. @@ -184,7 +183,7 @@ func (s *Store) Prune(retain uint32) (uint64, error) { if err != nil { return 0, sdkerrors.Wrap(err, "failed to prune snapshots") } - defer iter.Close() + defer func() { _ = iter.Close() }() pruned := uint64(0) prunedHeights := make(map[uint64]bool) @@ -194,7 +193,7 @@ func (s *Store) Prune(retain uint32) (uint64, error) { if err != nil { return 0, sdkerrors.Wrap(err, "failed to prune snapshots") } - if skip[height] || uint32(len(skip)) < retain { + if skip[height] || uint32(len(skip)) < retain { //nolint:gosec // len(skip) is bounded by number of distinct snapshot heights, practically small skip[height] = true continue } @@ -258,28 +257,30 @@ func (s *Store) Save( snapshotHasher := sha256.New() chunkHasher := sha256.New() for chunkBody := range chunks { - defer chunkBody.Close() // nolint: staticcheck dir := s.pathSnapshot(height, format) - err = os.MkdirAll(dir, 0755) + err = os.MkdirAll(dir, 0750) if err != nil { + _ = chunkBody.Close() return nil, sdkerrors.Wrapf(err, "failed to create snapshot directory %q", dir) } - path := s.pathChunk(height, format, index) + path := filepath.Clean(s.pathChunk(height, format, index)) file, err := os.Create(path) if err != nil { + _ = chunkBody.Close() return nil, sdkerrors.Wrapf(err, "failed to create snapshot chunk file %q", path) } - defer file.Close() // nolint: staticcheck - chunkHasher.Reset() _, err = io.Copy(io.MultiWriter(file, chunkHasher, snapshotHasher), chunkBody) if err != nil { _ = os.RemoveAll(s.pathHeight(height)) + _ = file.Close() + _ = chunkBody.Close() return nil, sdkerrors.Wrapf(err, "failed to generate snapshot chunk %v", index) } err = file.Close() if err != nil { _ = os.RemoveAll(s.pathHeight(height)) + _ = chunkBody.Close() return nil, sdkerrors.Wrapf(err, "failed to close snapshot chunk %v", index) } err = chunkBody.Close() diff --git a/sei-cosmos/snapshots/store_test.go b/sei-cosmos/snapshots/store_test.go index 333031bc44..f0bfdc8c7d 100644 --- a/sei-cosmos/snapshots/store_test.go +++ b/sei-cosmos/snapshots/store_test.go @@ -4,8 +4,6 @@ import ( "bytes" "errors" "io" - "io/ioutil" - "os" "path/filepath" "testing" "time" @@ -14,18 +12,14 @@ import ( "github.com/stretchr/testify/require" db "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" ) func setupStore(t *testing.T) *snapshots.Store { - // ioutil.TempDir() is used instead of testing.T.TempDir() - // see https://github.com/cosmos/cosmos-sdk/pull/8475 for - // this change's rationale. - tempdir, err := ioutil.TempDir("", "") - require.NoError(t, err) - t.Cleanup(func() { _ = os.RemoveAll(tempdir) }) + t.Helper() + tempdir := t.TempDir() store, err := snapshots.NewStore(db.NewMemDB(), tempdir) require.NoError(t, err) @@ -195,7 +189,7 @@ func TestStore_Load(t *testing.T) { for i := uint32(0); i < snapshot.Chunks; i++ { reader, ok := <-chunks require.True(t, ok) - chunk, err := ioutil.ReadAll(reader) + chunk, err := io.ReadAll(reader) require.NoError(t, err) err = reader.Close() require.NoError(t, err) @@ -220,7 +214,7 @@ func TestStore_LoadChunk(t *testing.T) { chunk, err = store.LoadChunk(2, 1, 0) require.NoError(t, err) require.NotNil(t, chunk) - body, err := ioutil.ReadAll(chunk) + body, err := io.ReadAll(chunk) require.NoError(t, err) assert.Equal(t, []byte{2, 1, 0}, body) err = chunk.Close() @@ -314,7 +308,7 @@ func TestStore_Save(t *testing.T) { ch := make(chan io.ReadCloser, 2) ch <- pr - ch <- ioutil.NopCloser(bytes.NewBuffer([]byte{0xff})) + ch <- io.NopCloser(bytes.NewBuffer([]byte{0xff})) close(ch) _, err = store.Save(6, 1, ch) diff --git a/sei-cosmos/snapshots/stream.go b/sei-cosmos/snapshots/stream.go index 80cd5c3dfd..1572b9dfe9 100644 --- a/sei-cosmos/snapshots/stream.go +++ b/sei-cosmos/snapshots/stream.go @@ -8,7 +8,7 @@ import ( protoio "github.com/gogo/protobuf/io" "github.com/gogo/protobuf/proto" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const ( @@ -103,7 +103,7 @@ func (sr *StreamReader) ReadMsg(msg proto.Message) error { // Close implements io.Closer interface func (sr *StreamReader) Close() error { - sr.protoReader.Close() - sr.zReader.Close() + _ = sr.protoReader.Close() + _ = sr.zReader.Close() return sr.chunkReader.Close() } diff --git a/sei-cosmos/snapshots/types/convert.go b/sei-cosmos/snapshots/types/convert.go index cee7a5c0d4..4c7b1fafd1 100644 --- a/sei-cosmos/snapshots/types/convert.go +++ b/sei-cosmos/snapshots/types/convert.go @@ -4,7 +4,7 @@ import ( proto "github.com/gogo/protobuf/proto" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Converts an ABCI snapshot to a snapshot. Mainly to decode the SDK metadata. diff --git a/sei-cosmos/snapshots/types/snapshot.pb.go b/sei-cosmos/snapshots/types/snapshot.pb.go index 801a38262c..7f6cccc235 100644 --- a/sei-cosmos/snapshots/types/snapshot.pb.go +++ b/sei-cosmos/snapshots/types/snapshot.pb.go @@ -489,40 +489,40 @@ func init() { } var fileDescriptor_dd7a3c9b0a19e1ee = []byte{ - // 513 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x8d, 0xd7, 0xb4, 0x74, 0x37, 0x41, 0xea, 0xac, 0x81, 0x22, 0x24, 0xb2, 0x92, 0x97, 0xf5, - 0x61, 0x4b, 0x58, 0x99, 0xc4, 0x33, 0x45, 0xa0, 0x54, 0x02, 0x81, 0x3c, 0xc4, 0x03, 0x2f, 0x93, - 0xdb, 0x7a, 0x4d, 0xd4, 0x26, 0xae, 0x6a, 0xb7, 0xa2, 0x7f, 0xc1, 0xaf, 0xf0, 0x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, 0xd7, 0xf0, 0xe8, 0xc6, 0xb0, 0x6e, 0x1a, 0xed, - 0xb6, 0x9d, 0x0f, 0x8e, 0xc1, 0xbb, 0x2d, 0x13, 0x35, 0x52, 0x99, 0xae, 0x19, 0xbf, 0x84, 0xbd, - 0xb7, 0xe7, 0x6b, 0x1f, 0x5d, 0xac, 0x7d, 0xf4, 0x73, 0xed, 0xa3, 0x6f, 0x1b, 0xdf, 0xba, 0xd8, - 0xf8, 0xd6, 0x8f, 0x8d, 0x6f, 0x7d, 0x39, 0x18, 0xa7, 0x32, 0x59, 0x0c, 0xc2, 0x21, 0xcf, 0xa2, - 0xe2, 0xb9, 0x9b, 0x9f, 0x43, 0x31, 0x9a, 0x5c, 0x79, 0xf4, 0x72, 0x35, 0x63, 0x62, 0xd0, 0xd0, - 0xaf, 0xf6, 0xc5, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6c, 0x90, 0xf8, 0x1f, 0x1a, 0x04, 0x00, - 0x00, + // 522 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x41, 0x6e, 0xd3, 0x40, + 0x14, 0xf5, 0x34, 0x4e, 0x48, 0xbf, 0x8d, 0x94, 0x8e, 0x0a, 0xb2, 0x90, 0x70, 0x83, 0x37, 0xcd, + 0x82, 0xda, 0x34, 0x54, 0x62, 0xc3, 0x86, 0x20, 0x24, 0x47, 0x02, 0x81, 0xa6, 0xa8, 0x0b, 0x36, + 0xd5, 0x24, 0x9d, 0xc6, 0x56, 0x6d, 0x4f, 0x94, 0x99, 0x44, 0xe4, 0x16, 0x5c, 0x85, 0x5b, 0x74, + 0xd9, 0x25, 0xab, 0x0a, 0x25, 0x07, 0xe0, 0x0a, 0x68, 0x66, 0x6c, 0x17, 0x95, 0x16, 0xda, 0xdd, + 0x7f, 0x2f, 0xef, 0xbf, 0xf9, 0xf3, 0xf2, 0x3d, 0xf0, 0x7c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xf2, 0xd1, 0xcf, 0x95, 0x8f, 0xbe, 0xad, 0x7d, 0xeb, + 0x62, 0xed, 0x5b, 0x3f, 0xd6, 0xbe, 0xf5, 0xe5, 0xf5, 0x24, 0x95, 0xc9, 0x7c, 0x14, 0x8e, 0x79, + 0x1e, 0x09, 0x96, 0xee, 0xe9, 0xcf, 0x72, 0xcc, 0x33, 0x0d, 0xc6, 0x09, 0x4d, 0x0b, 0x53, 0x99, + 0x97, 0xe0, 0xea, 0x11, 0x90, 0xcb, 0x29, 0x13, 0xa3, 0x96, 0x96, 0xbf, 0xfc, 0x1d, 0x00, 0x00, + 0xff, 0xff, 0xba, 0xc1, 0x4f, 0x62, 0x2a, 0x04, 0x00, 0x00, } func (m *Snapshot) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/snapshots/types/util.go b/sei-cosmos/snapshots/types/util.go index 125ea6fb46..348b505768 100644 --- a/sei-cosmos/snapshots/types/util.go +++ b/sei-cosmos/snapshots/types/util.go @@ -4,7 +4,7 @@ import ( protoio "github.com/gogo/protobuf/io" ) -// WriteExtensionItem writes an item payload for current extention snapshotter. +// WriteExtensionItem writes an item payload for current extension snapshotter. func WriteExtensionItem(protoWriter protoio.Writer, item []byte) error { return protoWriter.WriteMsg(&SnapshotItem{ Item: &SnapshotItem_ExtensionPayload{ diff --git a/sei-cosmos/std/codec.go b/sei-cosmos/std/codec.go index 9a5b6a7467..f17f9e499e 100644 --- a/sei-cosmos/std/codec.go +++ b/sei-cosmos/std/codec.go @@ -1,11 +1,11 @@ package std import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" ) // RegisterLegacyAminoCodec registers types with the Amino codec. diff --git a/sei-cosmos/store/cache/benchmark_test.go b/sei-cosmos/store/cache/benchmark_test.go index 10b5da2bfb..e0e48e7edf 100644 --- a/sei-cosmos/store/cache/benchmark_test.go +++ b/sei-cosmos/store/cache/benchmark_test.go @@ -3,7 +3,7 @@ package cache import ( "testing" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) func freshMgr() *CommitKVStoreCacheManager { diff --git a/sei-cosmos/store/cache/cache.go b/sei-cosmos/store/cache/cache.go index 1d40546531..a2b788cdc9 100644 --- a/sei-cosmos/store/cache/cache.go +++ b/sei-cosmos/store/cache/cache.go @@ -2,10 +2,11 @@ package cache import ( "fmt" + "math" "sync" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" lru "github.com/hashicorp/golang-lru/v2" ) @@ -48,7 +49,10 @@ type ( ) func NewCommitKVStoreCache(store types.CommitKVStore, size uint, cacheKVSize int) *CommitKVStoreCache { - cache, err := lru.New2Q[string, []byte](int(size)) + if size > uint(math.MaxInt32) { + panic(fmt.Sprintf("cache size %d exceeds max int", size)) + } + cache, err := lru.New2Q[string, []byte](int(size)) //#nosec G115 -- bounds checked above if err != nil { panic(fmt.Errorf("failed to create KVStore cache: %s", err)) } diff --git a/sei-cosmos/store/cache/cache_test.go b/sei-cosmos/store/cache/cache_test.go index cdbf2fce08..99a468b4ce 100644 --- a/sei-cosmos/store/cache/cache_test.go +++ b/sei-cosmos/store/cache/cache_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cache" - iavlstore "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cache" + iavlstore "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) func TestGetOrSetStoreCache(t *testing.T) { diff --git a/sei-cosmos/store/cachekv/memiterator.go b/sei-cosmos/store/cachekv/memiterator.go index 1c8d12d9db..4433a27064 100644 --- a/sei-cosmos/store/cachekv/memiterator.go +++ b/sei-cosmos/store/cachekv/memiterator.go @@ -6,7 +6,7 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) // Iterates over iterKVCache items. @@ -36,7 +36,7 @@ func newMemIterator( if err != nil { if iter != nil { - iter.Close() + _ = iter.Close() } panic(err) } @@ -49,7 +49,7 @@ func newMemIterator( } func (mi *memIterator) Value() []byte { - key := mi.Iterator.Key() + key := mi.Key() // We need to handle the case where deleted is modified and includes our current key // We handle this by maintaining a lastKey object in the iterator. // If the current key is the same as the last key (and last key is not nil / the start) diff --git a/sei-cosmos/store/cachekv/mergeiterator.go b/sei-cosmos/store/cachekv/mergeiterator.go index a32dfb3465..5d5f81f470 100644 --- a/sei-cosmos/store/cachekv/mergeiterator.go +++ b/sei-cosmos/store/cachekv/mergeiterator.go @@ -4,8 +4,8 @@ import ( "bytes" "errors" - "github.com/cosmos/cosmos-sdk/store/types" - sdktypes "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdktypes "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // cacheMergeIterator merges a parent Iterator and a cache Iterator. @@ -164,7 +164,7 @@ func (iter *cacheMergeIterator) Value() []byte { func (iter *cacheMergeIterator) Close() error { if err := iter.parent.Close(); err != nil { // still want to close cache iterator regardless - iter.cache.Close() + _ = iter.cache.Close() return err } diff --git a/sei-cosmos/store/cachekv/mergeiterator_test.go b/sei-cosmos/store/cachekv/mergeiterator_test.go index b2648a8653..b67d3f1ec8 100644 --- a/sei-cosmos/store/cachekv/mergeiterator_test.go +++ b/sei-cosmos/store/cachekv/mergeiterator_test.go @@ -3,9 +3,9 @@ package cachekv_test import ( "testing" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" ) diff --git a/sei-cosmos/store/cachekv/store.go b/sei-cosmos/store/cachekv/store.go index 51d583d2e6..ef1417f345 100644 --- a/sei-cosmos/store/cachekv/store.go +++ b/sei-cosmos/store/cachekv/store.go @@ -6,10 +6,10 @@ import ( "sort" "sync" - "github.com/cosmos/cosmos-sdk/internal/conv" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/internal/conv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/tracekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" dbm "github.com/tendermint/tm-db" ) @@ -169,7 +169,7 @@ func (store *Store) iterator(start, end []byte, ascending bool) types.Iterator { if err := recover(); err != nil { // close out parent iterator, then reraise panic if parent != nil { - parent.Close() + _ = parent.Close() } panic(err) } @@ -292,7 +292,6 @@ func (store *Store) dirtyItems(start, end []byte) { return true }) store.clearUnsortedCacheSubset(unsorted, stateUnsorted) - return } func (store *Store) clearUnsortedCacheSubset(unsorted []*kv.Pair, sortState sortState) { diff --git a/sei-cosmos/store/cachekv/store_bench_test.go b/sei-cosmos/store/cachekv/store_bench_test.go index 31b659ec2f..a4d734d90f 100644 --- a/sei-cosmos/store/cachekv/store_bench_test.go +++ b/sei-cosmos/store/cachekv/store_bench_test.go @@ -5,9 +5,9 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) var sink interface{} @@ -34,7 +34,7 @@ func benchmarkBlankParentIteratorNext(b *testing.B, keysize int) { b.ResetTimer() iter := kvstore.Iterator(keys[0], keys[b.N]) - defer iter.Close() + defer func() { _ = iter.Close() }() for _ = iter.Key(); iter.Valid(); iter.Next() { // deadcode elimination stub @@ -81,7 +81,7 @@ func benchmarkRandomSet(b *testing.B, keysize int) { } iter := kvstore.Iterator(nil, nil) - defer iter.Close() + defer func() { _ = iter.Close() }() for _ = iter.Key(); iter.Valid(); iter.Next() { // deadcode elimination stub @@ -120,7 +120,7 @@ func benchmarkIteratorOnParentWithManyDeletes(b *testing.B, numDeletes int) { b.ResetTimer() iter := kvstore.Iterator(keys[0], keys[b.N]) - defer iter.Close() + defer func() { _ = iter.Close() }() for _ = iter.Key(); iter.Valid(); iter.Next() { // deadcode elimination stub diff --git a/sei-cosmos/store/cachekv/store_test.go b/sei-cosmos/store/cachekv/store_test.go index d174ec4c4a..f5e0f3ec26 100644 --- a/sei-cosmos/store/cachekv/store_test.go +++ b/sei-cosmos/store/cachekv/store_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils" ) func newCacheKVStore() types.CacheKVStore { diff --git a/sei-cosmos/store/cachemulti/store.go b/sei-cosmos/store/cachemulti/store.go index eb4f8bce05..d6f0e8f93c 100644 --- a/sei-cosmos/store/cachemulti/store.go +++ b/sei-cosmos/store/cachemulti/store.go @@ -7,11 +7,11 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" gigacachekv "github.com/sei-protocol/sei-chain/giga/deps/store" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/tracekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) //---------------------------------------- @@ -106,7 +106,7 @@ func newCacheMultiStoreFromCMS(cms Store) Store { for k := range cms.parents { // Inline the creation here — we already hold the write lock. parent := cms.parents[k] - var cw types.CacheWrapper = parent + var cw = parent if cms.TracingEnabled() { cw = tracekv.NewStore(parent.(types.KVStore), cms.traceWriter, cms.traceContext) } @@ -156,7 +156,7 @@ func (cms Store) getOrCreateStore(key types.StoreKey) types.CacheWrap { if !ok { return nil } - var cw types.CacheWrapper = parent + var cw = parent if cms.TracingEnabled() { cw = tracekv.NewStore(parent.(types.KVStore), cms.traceWriter, cms.traceContext) } @@ -310,7 +310,7 @@ func (cms *Store) AddCloser(closer io.Closer) { func (cms Store) Close() { for _, closer := range cms.closers { - closer.Close() + _ = closer.Close() } } diff --git a/sei-cosmos/store/cachemulti/store_test.go b/sei-cosmos/store/cachemulti/store_test.go index c449f0b5d1..e8caa65432 100644 --- a/sei-cosmos/store/cachemulti/store_test.go +++ b/sei-cosmos/store/cachemulti/store_test.go @@ -5,8 +5,8 @@ import ( "sync" "testing" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" ) diff --git a/sei-cosmos/store/dbadapter/store.go b/sei-cosmos/store/dbadapter/store.go index 2874aae64b..236f27cc1a 100644 --- a/sei-cosmos/store/dbadapter/store.go +++ b/sei-cosmos/store/dbadapter/store.go @@ -5,9 +5,9 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/tracekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) // Wrapper type for dbm.Db with implementation of KVStore @@ -99,7 +99,9 @@ func (dsa Store) DeleteAll(start, end []byte) error { for ; iter.Valid(); iter.Next() { keys = append(keys, iter.Key()) } - iter.Close() + if err := iter.Close(); err != nil { + return err + } for _, key := range keys { dsa.Delete(key) } @@ -108,7 +110,7 @@ func (dsa Store) DeleteAll(start, end []byte) error { func (dsa Store) GetAllKeyStrsInRange(start, end []byte) (res []string) { iter := dsa.Iterator(start, end) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { res = append(res, string(iter.Key())) } diff --git a/sei-cosmos/store/dbadapter/store_test.go b/sei-cosmos/store/dbadapter/store_test.go index eddba39912..1c0d9e53e9 100644 --- a/sei-cosmos/store/dbadapter/store_test.go +++ b/sei-cosmos/store/dbadapter/store_test.go @@ -5,14 +5,14 @@ import ( "errors" "testing" - "github.com/cosmos/cosmos-sdk/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/tests/mocks" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/tests/mocks" dbm "github.com/tendermint/tm-db" ) diff --git a/sei-cosmos/store/firstlast.go b/sei-cosmos/store/firstlast.go index da492b9992..28fd172f68 100644 --- a/sei-cosmos/store/firstlast.go +++ b/sei-cosmos/store/firstlast.go @@ -3,14 +3,14 @@ package store import ( "bytes" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkkv "github.com/cosmos/cosmos-sdk/types/kv" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkkv "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) // Gets the first item. func First(st KVStore, start, end []byte) (kv sdkkv.Pair, ok bool) { iter := st.Iterator(start, end) - defer iter.Close() + defer func() { _ = iter.Close() }() if !iter.Valid() { return kv, false } @@ -27,7 +27,7 @@ func Last(st KVStore, start, end []byte) (kv sdkkv.Pair, ok bool) { } return kv, false } - defer iter.Close() + defer func() { _ = iter.Close() }() if bytes.Equal(iter.Key(), end) { // Skip this one, end is exclusive. diff --git a/sei-cosmos/store/gaskv/store.go b/sei-cosmos/store/gaskv/store.go index c8ce6f6647..ef4e21fba1 100644 --- a/sei-cosmos/store/gaskv/store.go +++ b/sei-cosmos/store/gaskv/store.go @@ -4,8 +4,8 @@ import ( "io" "time" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/telemetry" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" ) type IStoreTracer interface { @@ -138,7 +138,7 @@ func (gs *Store) iterator(start, end []byte, ascending bool) types.Iterator { defer func() { if err := recover(); err != nil { // if there is a panic, we close the iterator then reraise - gi.Close() + _ = gi.Close() panic(err) } }() diff --git a/sei-cosmos/store/gaskv/store_test.go b/sei-cosmos/store/gaskv/store_test.go index 331bc0c993..e4c867d6f0 100644 --- a/sei-cosmos/store/gaskv/store_test.go +++ b/sei-cosmos/store/gaskv/store_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/gaskv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/gaskv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) func bz(s string) []byte { return []byte(s) } diff --git a/sei-cosmos/store/iavl/store.go b/sei-cosmos/store/iavl/store.go index 9424bb0a56..f0f77cbc7f 100644 --- a/sei-cosmos/store/iavl/store.go +++ b/sei-cosmos/store/iavl/store.go @@ -14,12 +14,12 @@ import ( tmcrypto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/tracekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) const ( @@ -226,7 +226,7 @@ func (st *Store) CacheWrapWithTrace(storeKey types.StoreKey, w io.Writer, tc typ func (st *Store) Set(key, value []byte) { types.AssertValidKey(key) types.AssertValidValue(value) - st.tree.Set(key, value) + _, _ = st.tree.Set(key, value) } // Implements types.KVStore. @@ -252,7 +252,7 @@ func (st *Store) Has(key []byte) (exists bool) { // Implements types.KVStore. func (st *Store) Delete(key []byte) { defer telemetry.MeasureSince(time.Now(), "store", "iavl", "delete") - st.tree.Remove(key) + _, _, _ = st.tree.Remove(key) //nolint:dogsled } // DeleteVersions deletes a series of versions from the MutableTree. An error @@ -273,7 +273,7 @@ func (st *Store) Iterator(start, end []byte) types.Iterator { iterator, err := st.tree.Iterator(start, end, true) if err != nil { if iterator != nil { - iterator.Close() + _ = iterator.Close() } panic(err) } @@ -285,7 +285,7 @@ func (st *Store) ReverseIterator(start, end []byte) types.Iterator { iterator, err := st.tree.Iterator(start, end, false) if err != nil { if iterator != nil { - iterator.Close() + _ = iterator.Close() } panic(err) } @@ -295,7 +295,10 @@ func (st *Store) ReverseIterator(start, end []byte) types.Iterator { // SetInitialVersion sets the initial version of the IAVL tree. It is used when // starting a new chain at an arbitrary height. func (st *Store) SetInitialVersion(version int64) { - st.tree.SetInitialVersion(uint64(version)) + if version < 0 { + panic(fmt.Sprintf("negative initial version not allowed: %d", version)) + } + st.tree.SetInitialVersion(uint64(version)) //#nosec G115 -- bounds checked above } // Exports the IAVL store at the given version, returning an iavl.Exporter for the tree. @@ -401,7 +404,7 @@ func (st *Store) Query(req abci.RequestQuery) (res abci.ResponseQuery) { for ; iterator.Valid(); iterator.Next() { pairs.Pairs = append(pairs.Pairs, kv.Pair{Key: iterator.Key(), Value: iterator.Value()}) } - iterator.Close() + _ = iterator.Close() bz, err := pairs.Marshal() if err != nil { @@ -423,7 +426,10 @@ func (st *Store) DeleteAll(start, end []byte) error { for ; iter.Valid(); iter.Next() { keys = append(keys, iter.Key()) } - iter.Close() + + if err := iter.Close(); err != nil { + return err + } for _, key := range keys { st.Delete(key) } @@ -432,7 +438,7 @@ func (st *Store) DeleteAll(start, end []byte) error { func (st *Store) GetAllKeyStrsInRange(start, end []byte) (res []string) { iter := st.Iterator(start, end) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { res = append(res, string(iter.Key())) } diff --git a/sei-cosmos/store/iavl/store_test.go b/sei-cosmos/store/iavl/store_test.go index 18a4301fa3..848032b058 100644 --- a/sei-cosmos/store/iavl/store_test.go +++ b/sei-cosmos/store/iavl/store_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" iavl "github.com/sei-protocol/sei-chain/sei-iavl" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" @@ -13,8 +13,8 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) var ( diff --git a/sei-cosmos/store/iavl/tree.go b/sei-cosmos/store/iavl/tree.go index 98253f5245..608986115d 100644 --- a/sei-cosmos/store/iavl/tree.go +++ b/sei-cosmos/store/iavl/tree.go @@ -3,7 +3,7 @@ package iavl import ( "fmt" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" iavl "github.com/sei-protocol/sei-chain/sei-iavl" ) diff --git a/sei-cosmos/store/internal/maps/maps.go b/sei-cosmos/store/internal/maps/maps.go index b5d43301c1..457ab59415 100644 --- a/sei-cosmos/store/internal/maps/maps.go +++ b/sei-cosmos/store/internal/maps/maps.go @@ -7,7 +7,7 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/crypto/merkle" tmcrypto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) // merkleMap defines a merkle-ized tree from a map. Leave values are treated as diff --git a/sei-cosmos/store/internal/proofs/convert.go b/sei-cosmos/store/internal/proofs/convert.go index 97d340b398..d57e9036ba 100644 --- a/sei-cosmos/store/internal/proofs/convert.go +++ b/sei-cosmos/store/internal/proofs/convert.go @@ -88,9 +88,9 @@ func getSplitPoint(length int64) int64 { if length < 1 { panic("Trying to split a tree with size < 1") } - uLength := uint(length) + uLength := uint(length) //#nosec G115 -- length is validated positive above bitlen := bits.Len(uLength) - k := int64(1 << uint(bitlen-1)) + k := int64(1 << uint(bitlen-1)) //#nosec G115 -- bitlen derived from a positive int64, shift result fits in int64 if k == length { k >>= 1 } diff --git a/sei-cosmos/store/internal/proofs/create.go b/sei-cosmos/store/internal/proofs/create.go index 63b6bf69b1..14702be1d1 100644 --- a/sei-cosmos/store/internal/proofs/create.go +++ b/sei-cosmos/store/internal/proofs/create.go @@ -7,7 +7,7 @@ import ( ics23 "github.com/confio/ics23/go" - sdkmaps "github.com/cosmos/cosmos-sdk/store/internal/maps" + sdkmaps "github.com/sei-protocol/sei-chain/sei-cosmos/store/internal/maps" ) var ( diff --git a/sei-cosmos/store/internal/proofs/helpers.go b/sei-cosmos/store/internal/proofs/helpers.go index 4d8b3f0d34..8f391aa417 100644 --- a/sei-cosmos/store/internal/proofs/helpers.go +++ b/sei-cosmos/store/internal/proofs/helpers.go @@ -6,8 +6,8 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/rand" tmcrypto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" - sdkmaps "github.com/cosmos/cosmos-sdk/store/internal/maps" - "github.com/cosmos/cosmos-sdk/utils" + sdkmaps "github.com/sei-protocol/sei-chain/sei-cosmos/store/internal/maps" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils" ) // SimpleResult contains a merkle.SimpleProof along with all data needed to build the confio/proof diff --git a/sei-cosmos/store/mem/mem_test.go b/sei-cosmos/store/mem/mem_test.go index 3423927b12..c952795e68 100644 --- a/sei-cosmos/store/mem/mem_test.go +++ b/sei-cosmos/store/mem/mem_test.go @@ -3,12 +3,12 @@ package mem_test import ( "testing" - "github.com/cosmos/cosmos-sdk/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/store/mem" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/mem" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) func TestStore(t *testing.T) { diff --git a/sei-cosmos/store/mem/store.go b/sei-cosmos/store/mem/store.go index 0638f2af44..ae21236377 100644 --- a/sei-cosmos/store/mem/store.go +++ b/sei-cosmos/store/mem/store.go @@ -5,10 +5,10 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/tracekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) var ( @@ -26,7 +26,7 @@ func NewStore() *Store { return NewStoreWithDB(dbm.NewMemDB()) } -func NewStoreWithDB(db *dbm.MemDB) *Store { // nolint: interfacer +func NewStoreWithDB(db *dbm.MemDB) *Store { return &Store{Store: dbadapter.Store{DB: db}} } diff --git a/sei-cosmos/store/multiversion/data_structures.go b/sei-cosmos/store/multiversion/data_structures.go index 867d56d3f6..76cef488f0 100644 --- a/sei-cosmos/store/multiversion/data_structures.go +++ b/sei-cosmos/store/multiversion/data_structures.go @@ -3,8 +3,8 @@ package multiversion import ( "sync" - "github.com/cosmos/cosmos-sdk/store/types" "github.com/google/btree" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) const ( diff --git a/sei-cosmos/store/multiversion/data_structures_test.go b/sei-cosmos/store/multiversion/data_structures_test.go index fccc26a8bd..526c217497 100644 --- a/sei-cosmos/store/multiversion/data_structures_test.go +++ b/sei-cosmos/store/multiversion/data_structures_test.go @@ -3,7 +3,7 @@ package multiversion_test import ( "testing" - mv "github.com/cosmos/cosmos-sdk/store/multiversion" + mv "github.com/sei-protocol/sei-chain/sei-cosmos/store/multiversion" "github.com/stretchr/testify/require" ) diff --git a/sei-cosmos/store/multiversion/memiterator.go b/sei-cosmos/store/multiversion/memiterator.go index 5fd9e3341d..8dfc0bee3f 100644 --- a/sei-cosmos/store/multiversion/memiterator.go +++ b/sei-cosmos/store/multiversion/memiterator.go @@ -3,8 +3,8 @@ package multiversion import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/types" - occtypes "github.com/cosmos/cosmos-sdk/types/occ" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + occtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" ) // Iterates over iterKVCache items. @@ -31,7 +31,7 @@ func (store *VersionIndexedStore) newMemIterator( if err != nil { if iter != nil { - iter.Close() + _ = iter.Close() } panic(err) } @@ -44,7 +44,7 @@ func (store *VersionIndexedStore) newMemIterator( // try to get value from the writeset, otherwise try to get from multiversion store, otherwise try to get from parent func (mi *memIterator) Value() []byte { - key := mi.Iterator.Key() + key := mi.Key() // TODO: verify that this is correct return mi.mvkv.Get(key) } @@ -80,7 +80,7 @@ func (store *Store) newMVSValidationIterator( if err != nil { if iter != nil { - iter.Close() + _ = iter.Close() } panic(err) } @@ -97,7 +97,7 @@ func (store *Store) newMVSValidationIterator( // try to get value from the writeset, otherwise try to get from multiversion store, otherwise try to get from parent iterator func (vi *validationIterator) Value() []byte { - key := vi.Iterator.Key() + key := vi.Key() // try fetch from writeset - return if exists if val, ok := vi.writeset[string(key)]; ok { diff --git a/sei-cosmos/store/multiversion/mergeiterator.go b/sei-cosmos/store/multiversion/mergeiterator.go index 1e398cf947..372471432d 100644 --- a/sei-cosmos/store/multiversion/mergeiterator.go +++ b/sei-cosmos/store/multiversion/mergeiterator.go @@ -4,7 +4,7 @@ import ( "bytes" "errors" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) // mvsMergeIterator merges a parent Iterator and a cache Iterator. @@ -139,7 +139,7 @@ func (iter *mvsMergeIterator) Value() []byte { if !iter.cache.Valid() { value := iter.parent.Value() // add values read from parent to readset - iter.ReadsetHandler.UpdateReadSet(iter.parent.Key(), value) + iter.UpdateReadSet(iter.parent.Key(), value) return value } @@ -151,7 +151,7 @@ func (iter *mvsMergeIterator) Value() []byte { case -1: // parent < cache value := iter.parent.Value() // add values read from parent to readset - iter.ReadsetHandler.UpdateReadSet(iter.parent.Key(), value) + iter.UpdateReadSet(iter.parent.Key(), value) return value case 0, 1: // parent >= cache value := iter.cache.Value() @@ -165,7 +165,7 @@ func (iter *mvsMergeIterator) Value() []byte { func (iter *mvsMergeIterator) Close() error { if err := iter.parent.Close(); err != nil { // still want to close cache iterator regardless - iter.cache.Close() + _ = iter.cache.Close() return err } diff --git a/sei-cosmos/store/multiversion/mvkv.go b/sei-cosmos/store/multiversion/mvkv.go index 2a45ab21ab..fdcf7832a9 100644 --- a/sei-cosmos/store/multiversion/mvkv.go +++ b/sei-cosmos/store/multiversion/mvkv.go @@ -8,8 +8,8 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/store/types" - scheduler "github.com/cosmos/cosmos-sdk/types/occ" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + scheduler "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" dbm "github.com/tendermint/tm-db" ) @@ -288,11 +288,11 @@ func (store *VersionIndexedStore) iterator(start []byte, end []byte, ascending b // TODO: ideally we persist writeset keys into a sorted btree for later use // make a set of total keys across mvkv and mvs to iterate for key := range store.writeset { - memDB.Set([]byte(key), []byte{}) + _ = memDB.Set([]byte(key), []byte{}) } // also add readset elements such that they fetch from readset instead of parent for key := range store.readset { - memDB.Set([]byte(key), []byte{}) + _ = memDB.Set([]byte(key), []byte{}) } var parent, memIterator types.Iterator @@ -330,7 +330,7 @@ func (v *VersionIndexedStore) DeleteAll(start, end []byte) error { func (v *VersionIndexedStore) GetAllKeyStrsInRange(start, end []byte) (res []string) { iter := v.Iterator(start, end) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { res = append(res, string(iter.Key())) } diff --git a/sei-cosmos/store/multiversion/mvkv_test.go b/sei-cosmos/store/multiversion/mvkv_test.go index a84aaa2e2a..5dc467b4a7 100644 --- a/sei-cosmos/store/multiversion/mvkv_test.go +++ b/sei-cosmos/store/multiversion/mvkv_test.go @@ -3,11 +3,11 @@ package multiversion_test import ( "testing" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/multiversion" - "github.com/cosmos/cosmos-sdk/store/types" - scheduler "github.com/cosmos/cosmos-sdk/types/occ" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/multiversion" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + scheduler "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" ) @@ -327,7 +327,7 @@ func TestIterator(t *testing.T) { require.Equal(t, []byte("key5"), end) vals := []string{} - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { vals = append(vals, string(iter.Value())) } @@ -424,7 +424,7 @@ func TestIteratorReadsetRace(t *testing.T) { require.Equal(t, []byte("value4NEW"), val) vals := []string{} - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { vals = append(vals, string(iter.Value())) } diff --git a/sei-cosmos/store/multiversion/store.go b/sei-cosmos/store/multiversion/store.go index 693be21ec5..86aafa94f6 100644 --- a/sei-cosmos/store/multiversion/store.go +++ b/sei-cosmos/store/multiversion/store.go @@ -5,9 +5,8 @@ import ( "sort" "sync" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/types/occ" - occtypes "github.com/cosmos/cosmos-sdk/types/occ" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" db "github.com/tendermint/tm-db" ) @@ -253,7 +252,7 @@ func (s *Store) CollectIteratorItems(index int) *db.MemDB { // TODO: do we want to exclude keys out of the range or just let the iterator handle it? for _, key := range indexedWriteset { // TODO: inefficient because (logn) for each key + rebalancing? maybe theres a better way to add to a tree to reduce rebalancing overhead - sortedItems.Set([]byte(key), []byte{}) + _ = sortedItems.Set([]byte(key), []byte{}) } } return sortedItems @@ -264,13 +263,13 @@ func (s *Store) validateIterator(index int, tracker iterationTracker) bool { sortedItems := s.CollectIteratorItems(index) // add the iterationtracker writeset keys to the sorted items for key := range tracker.writeset { - sortedItems.Set([]byte(key), []byte{}) + _ = sortedItems.Set([]byte(key), []byte{}) } validChannel := make(chan bool, 1) - abortChannel := make(chan occtypes.Abort, 1) + abortChannel := make(chan occ.Abort, 1) // listen for abort while iterating - go func(iterationTracker iterationTracker, items *db.MemDB, returnChan chan bool, abortChan chan occtypes.Abort) { + go func(iterationTracker iterationTracker, items *db.MemDB, returnChan chan bool, abortChan chan occ.Abort) { var parentIter types.Iterator expectedKeys := iterationTracker.iteratedKeys foundKeys := 0 @@ -282,7 +281,7 @@ func (s *Store) validateIterator(index int, tracker iterationTracker) bool { } // create a new MVSMergeiterator mergeIterator := NewMVSMergeIterator(parentIter, iter, iterationTracker.ascending, NoOpHandler{}) - defer mergeIterator.Close() + defer func() { _ = mergeIterator.Close() }() for ; mergeIterator.Valid(); mergeIterator.Next() { if (len(expectedKeys) - foundKeys) == 0 { // if we have no more expected keys, then the iterator is invalid @@ -306,7 +305,7 @@ func (s *Store) validateIterator(index int, tracker iterationTracker) bool { } } // return whether we found the exact number of expected keys - returnChan <- !((len(expectedKeys) - foundKeys) > 0) + returnChan <- foundKeys >= len(expectedKeys) }(tracker, sortedItems, validChannel, abortChannel) select { case <-abortChannel: diff --git a/sei-cosmos/store/multiversion/store_test.go b/sei-cosmos/store/multiversion/store_test.go index 8b989b37c5..77951708d5 100644 --- a/sei-cosmos/store/multiversion/store_test.go +++ b/sei-cosmos/store/multiversion/store_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/multiversion" - "github.com/cosmos/cosmos-sdk/types/occ" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/multiversion" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" ) diff --git a/sei-cosmos/store/multiversion/trackediterator.go b/sei-cosmos/store/multiversion/trackediterator.go index 17611b56dc..f8b47c16a3 100644 --- a/sei-cosmos/store/multiversion/trackediterator.go +++ b/sei-cosmos/store/multiversion/trackediterator.go @@ -1,7 +1,7 @@ package multiversion import ( - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) // tracked iterator is a wrapper around an existing iterator to track the iterator progress and monitor which keys are iterated. diff --git a/sei-cosmos/store/prefix/store.go b/sei-cosmos/store/prefix/store.go index b9cd7091bc..aa55585f1c 100644 --- a/sei-cosmos/store/prefix/store.go +++ b/sei-cosmos/store/prefix/store.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/tracekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) var _ types.KVStore = Store{} diff --git a/sei-cosmos/store/prefix/store_test.go b/sei-cosmos/store/prefix/store_test.go index 301fc903e7..af912796d6 100644 --- a/sei-cosmos/store/prefix/store_test.go +++ b/sei-cosmos/store/prefix/store_test.go @@ -4,18 +4,18 @@ import ( "crypto/rand" "testing" - "github.com/cosmos/cosmos-sdk/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" tiavl "github.com/sei-protocol/sei-chain/sei-iavl" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/gaskv" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/gaskv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // copied from iavl/store_test.go diff --git a/sei-cosmos/store/reexport.go b/sei-cosmos/store/reexport.go index 8a365ab758..3bd15aee24 100644 --- a/sei-cosmos/store/reexport.go +++ b/sei-cosmos/store/reexport.go @@ -1,7 +1,7 @@ package store import ( - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) // Import cosmos-sdk/types/store.go for convenience. diff --git a/sei-cosmos/store/rootmulti/dbadapter.go b/sei-cosmos/store/rootmulti/dbadapter.go index fad3d9f103..759e3c7feb 100644 --- a/sei-cosmos/store/rootmulti/dbadapter.go +++ b/sei-cosmos/store/rootmulti/dbadapter.go @@ -1,8 +1,8 @@ package rootmulti import ( - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) var commithash = []byte("FAKE_HASH") diff --git a/sei-cosmos/store/rootmulti/proof.go b/sei-cosmos/store/rootmulti/proof.go index fb71e285bc..341355f669 100644 --- a/sei-cosmos/store/rootmulti/proof.go +++ b/sei-cosmos/store/rootmulti/proof.go @@ -3,7 +3,7 @@ package rootmulti import ( "github.com/sei-protocol/sei-chain/sei-tendermint/crypto/merkle" - storetypes "github.com/cosmos/cosmos-sdk/store/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) // RequireProof returns whether proof is required for the subpath. diff --git a/sei-cosmos/store/rootmulti/proof_test.go b/sei-cosmos/store/rootmulti/proof_test.go index a44711d145..275104be3b 100644 --- a/sei-cosmos/store/rootmulti/proof_test.go +++ b/sei-cosmos/store/rootmulti/proof_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) func TestVerifyIAVLStoreQueryProof(t *testing.T) { diff --git a/sei-cosmos/store/rootmulti/rollback_test.go b/sei-cosmos/store/rootmulti/rollback_test.go index 43f24a51a1..3780e1dce7 100644 --- a/sei-cosmos/store/rootmulti/rollback_test.go +++ b/sei-cosmos/store/rootmulti/rollback_test.go @@ -6,9 +6,9 @@ import ( "fmt" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/legacyabci" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" diff --git a/sei-cosmos/store/rootmulti/snapshot_test.go b/sei-cosmos/store/rootmulti/snapshot_test.go index 87e951815e..ba419675ab 100644 --- a/sei-cosmos/store/rootmulti/snapshot_test.go +++ b/sei-cosmos/store/rootmulti/snapshot_test.go @@ -14,11 +14,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/snapshots" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + snapshottypes "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" dbm "github.com/tendermint/tm-db" ) diff --git a/sei-cosmos/store/rootmulti/store.go b/sei-cosmos/store/rootmulti/store.go index 0899dd7435..09e2fc1394 100644 --- a/sei-cosmos/store/rootmulti/store.go +++ b/sei-cosmos/store/rootmulti/store.go @@ -10,25 +10,25 @@ import ( "sync" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" protoio "github.com/gogo/protobuf/io" gogotypes "github.com/gogo/protobuf/types" "github.com/pkg/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" iavltree "github.com/sei-protocol/sei-chain/sei-iavl" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" dbm "github.com/tendermint/tm-db" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/store/cachemulti" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/mem" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/transient" - "github.com/cosmos/cosmos-sdk/store/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + snapshottypes "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachemulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/mem" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/tracekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/transient" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const ( @@ -275,7 +275,10 @@ func (rs *Store) loadVersion(ver int64, upgrades *types.StoreUpgrades) error { // If it has been added, set the initial version if upgrades.IsAdded(key.Name()) { - storeParams.initialVersion = uint64(ver) + 1 + if ver < 0 { + return fmt.Errorf("negative version not allowed: %d", ver) + } + storeParams.initialVersion = uint64(ver) + 1 //nolint:gosec // bounds checked above } store, err := rs.loadCommitStoreFromParams(key, commitID, storeParams) @@ -335,7 +338,7 @@ func deleteKVStore(kv types.KVStore) { // Note that we cannot write while iterating, so load all keys here, delete below var keys [][]byte itr := kv.Iterator(nil, nil) - defer itr.Close() + defer func() { _ = itr.Close() }() for itr.Valid() { keys = append(keys, itr.Key()) itr.Next() @@ -350,7 +353,7 @@ func deleteKVStore(kv types.KVStore) { func moveKVStoreData(oldDB types.KVStore, newDB types.KVStore) { // we read from one and write to another itr := oldDB.Iterator(nil, nil) - defer itr.Close() + defer func() { _ = itr.Close() }() for itr.Valid() { newDB.Set(itr.Key(), itr.Value()) itr.Next() @@ -425,7 +428,7 @@ func (rs *Store) LastCommitID() types.CommitID { } func (rs *Store) GetWorkingHash() ([]byte, error) { - storeInfos := []types.StoreInfo{} + var storeInfos []types.StoreInfo for key, store := range rs.stores { if store.GetStoreType() == types.StoreTypeTransient { continue @@ -469,22 +472,19 @@ func (rs *Store) Commit(bumpVersion bool) types.CommitID { rs.SetLastCommitInfo(commitStores(version, rs.stores, bumpVersion)) defer rs.flushMetadata(rs.db, version, rs.LastCommitInfo()) - // Determine if pruneHeight height needs to be added to the list of heights to - // be pruned, where pruneHeight = (commitHeight - 1) - KeepRecent. - if rs.pruningOpts.Interval > 0 && int64(rs.pruningOpts.KeepRecent) < previousHeight { - pruneHeight := previousHeight - int64(rs.pruningOpts.KeepRecent) - // We consider this height to be pruned iff: - // - // - KeepEvery is zero as that means that all heights should be pruned. - // - KeepEvery % (height - KeepRecent) != 0 as that means the height is not - // a 'snapshot' height. - if rs.pruningOpts.KeepEvery == 0 || pruneHeight%int64(rs.pruningOpts.KeepEvery) != 0 { + keepRecent := int64(rs.pruningOpts.KeepRecent) //nolint:gosec // pruning config values are small, won't overflow int64 + keepEvery := int64(rs.pruningOpts.KeepEvery) //nolint:gosec // pruning config values are small, won't overflow int64 + interval := int64(rs.pruningOpts.Interval) //nolint:gosec // pruning config values are small, won't overflow int64 + + if interval > 0 && keepRecent < previousHeight { + pruneHeight := previousHeight - keepRecent + if keepEvery == 0 || pruneHeight%keepEvery != 0 { rs.pruneHeights = append(rs.pruneHeights, pruneHeight) } } // batch prune if the current height is a pruning interval height - if rs.pruningOpts.Interval > 0 && version%int64(rs.pruningOpts.Interval) == 0 { + if interval > 0 && version%interval == 0 { rs.PruneStores(true, nil) } @@ -738,7 +738,10 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error { if height == 0 { return sdkerrors.Wrap(sdkerrors.ErrLogic, "cannot snapshot height 0") } - if height > uint64(rs.LastCommitID().Version) { + if height > uint64(math.MaxInt64) { + return sdkerrors.Wrapf(sdkerrors.ErrLogic, "snapshot height %d exceeds max int64", height) + } + if rs.LastCommitID().Version < 0 || height > uint64(rs.LastCommitID().Version) { //nolint:gosec // Version validated non-negative return sdkerrors.Wrapf(sdkerrors.ErrLogic, "cannot snapshot future height %v", height) } @@ -747,7 +750,7 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error { *iavl.Store name string } - stores := []namedStore{} + var stores []namedStore for key := range rs.stores { switch store := rs.GetCommitKVStore(key).(type) { case *iavl.Store: @@ -772,7 +775,7 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error { totalKeyBytes := int64(0) totalValueBytes := int64(0) totalNumKeys := int64(0) - exporter, err := store.Export(int64(height)) + exporter, err := store.Export(int64(height)) //nolint:gosec // bounds checked at function entry if err != nil { return err } @@ -790,7 +793,7 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error { rs.logger.Info(fmt.Sprintf("Exporting snapshot for store %s", store.name)) for { node, err := exporter.Next() - if err == iavltree.ExportDone { + if errors.Is(err, iavltree.ExportDone) { break } else if err != nil { return err @@ -800,7 +803,7 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error { IAVL: &snapshottypes.SnapshotIAVLItem{ Key: node.Key, Value: node.Value, - Height: int32(node.Height), + Height: int32(node.Height), //nolint:gosec // IAVL tree heights are small, well within int32 range Version: node.Version, }, }, @@ -840,6 +843,10 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error { func (rs *Store) Restore( height uint64, format uint32, protoReader protoio.Reader, ) (snapshottypes.SnapshotItem, error) { + if height > uint64(math.MaxInt64) { + return snapshottypes.SnapshotItem{}, sdkerrors.Wrapf(sdkerrors.ErrLogic, "snapshot height %d exceeds max int64", height) + } + // Import nodes into stores. The first item is expected to be a SnapshotItem containing // a SnapshotStoreItem, telling us which store to import into. The following items will contain // SnapshotNodeItem (i.e. ExportNode) until we reach the next SnapshotStoreItem or EOF. @@ -868,7 +875,7 @@ loop: if !ok || store == nil { return snapshottypes.SnapshotItem{}, sdkerrors.Wrapf(sdkerrors.ErrLogic, "cannot import into non-IAVL store %q", item.Store.Name) } - importer, err = store.Import(int64(height)) + importer, err = store.Import(int64(height)) //nolint:gosec // bounds checked at function entry if err != nil { return snapshottypes.SnapshotItem{}, sdkerrors.Wrap(err, "import failed") } @@ -885,11 +892,9 @@ loop: node := &iavltree.ExportNode{ Key: item.IAVL.Key, Value: item.IAVL.Value, - Height: int8(item.IAVL.Height), + Height: int8(item.IAVL.Height), //nolint:gosec // bounds checked above against MaxInt8 Version: item.IAVL.Version, } - // Protobuf does not differentiate between []byte{} as nil, but fortunately IAVL does - // not allow nil keys nor nil values for leaf nodes, so we can always set them to empty. if node.Key == nil { node.Key = []byte{} } @@ -914,18 +919,29 @@ loop: importer.Close() } - rs.flushMetadata(rs.db, int64(height), rs.buildCommitInfo(int64(height))) + rs.flushMetadata(rs.db, int64(height), rs.buildCommitInfo(int64(height))) //nolint:gosec // bounds checked at function entry return snapshotItem, rs.LoadLatestVersion() } -func (rs *Store) loadCommitStoreFromParams(key types.StoreKey, id types.CommitID, params storeParams) (types.CommitKVStore, error) { +func (rs *Store) loadCommitStoreFromParams(key types.StoreKey, id types.CommitID, params storeParams) (_ types.CommitKVStore, _err error) { var db dbm.DB + + defer func() { + if db != nil && _err != nil { + _ = db.Close() + } + }() + if params.db != nil { db = dbm.NewPrefixDB(params.db, []byte("s/_/")) } else if rs.shouldUseArchivalDb(id.Version) { - prefix := make([]byte, 8) - binary.BigEndian.PutUint64(prefix, uint64(id.Version)) - prefix = append(prefix, []byte("s/k:"+params.key.Name()+"/")...) + tag := []byte("s/k:" + params.key.Name() + "/") + prefix := make([]byte, 8, 8+len(tag)) + if id.Version < 0 { + return nil, fmt.Errorf("negative version not allowed: %d", id.Version) + } + binary.BigEndian.PutUint64(prefix, uint64(id.Version)) //nolint:gosec // bounds checked above + prefix = append(prefix, tag...) db = dbm.NewPrefixDB(rs.archivalDb, prefix) params.typ = types.StoreTypeDB } else { @@ -952,9 +968,6 @@ func (rs *Store) loadCommitStoreFromParams(key types.StoreKey, id types.CommitID } if rs.interBlockCache != nil { - // Wrap and get a CommitKVStore with inter-block caching. Note, this should - // only wrap the primary CommitKVStore, not any store that is already - // branched as that will create unexpected behavior. store = rs.interBlockCache.GetStoreCache(key, store) } @@ -985,7 +998,7 @@ func (rs *Store) loadCommitStoreFromParams(key types.StoreKey, id types.CommitID func (rs *Store) buildCommitInfo(version int64) *types.CommitInfo { keys := keysForStoreKeyMap(rs.stores) - storeInfos := []types.StoreInfo{} + storeInfos := make([]types.StoreInfo, 0, len(keys)) for _, key := range keys { store := rs.stores[key] if store.GetStoreType() == types.StoreTypeTransient { @@ -1028,7 +1041,7 @@ func (rs *Store) RollbackToVersion(target int64) error { func (rs *Store) flushMetadata(db dbm.DB, version int64, cInfo *types.CommitInfo) { batch := db.NewBatch() - defer batch.Close() + defer func() { _ = batch.Close() }() if cInfo != nil { flushCommitInfo(batch, version, cInfo) } @@ -1037,7 +1050,9 @@ func (rs *Store) flushMetadata(db dbm.DB, version int64, cInfo *types.CommitInfo if err := batch.WriteSync(); err != nil { panic(fmt.Errorf("error on batch write %w", err)) } - rs.logger.Info("App State Saved height=%d hash=%X\n", cInfo.CommitID().Version, cInfo.CommitID().Hash) + if cInfo != nil { + rs.logger.Info("App State Saved height=%d hash=%X\n", cInfo.CommitID().Version, cInfo.CommitID().Hash) + } } func (rs *Store) SetOrphanConfig(opts *iavltree.Options) { @@ -1152,7 +1167,7 @@ func getPruningHeights(db dbm.DB) ([]int64, error) { prunedHeights := make([]int64, len(bz)/8) i, offset := 0, 0 for offset < len(bz) { - prunedHeights[i] = int64(binary.BigEndian.Uint64(bz[offset : offset+8])) + prunedHeights[i] = int64(binary.BigEndian.Uint64(bz[offset : offset+8])) //nolint:gosec // deserialized block heights stored by flushPruningHeights, always non-negative i++ offset += 8 } @@ -1167,7 +1182,7 @@ func flushCommitInfo(batch dbm.Batch, version int64, cInfo *types.CommitInfo) { } cInfoKey := fmt.Sprintf(commitInfoKeyFmt, version) - batch.Set([]byte(cInfoKey), bz) + _ = batch.Set([]byte(cInfoKey), bz) } func flushLatestVersion(batch dbm.Batch, version int64) { @@ -1176,18 +1191,18 @@ func flushLatestVersion(batch dbm.Batch, version int64) { panic(err) } - batch.Set([]byte(latestVersionKey), bz) + _ = batch.Set([]byte(latestVersionKey), bz) } func flushPruningHeights(batch dbm.Batch, pruneHeights []int64) { - bz := make([]byte, 0) + bz := make([]byte, 0, len(pruneHeights)*8) for _, ph := range pruneHeights { buf := make([]byte, 8) - binary.BigEndian.PutUint64(buf, uint64(ph)) + binary.BigEndian.PutUint64(buf, uint64(ph)) //nolint:gosec // pruning heights are always non-negative block heights bz = append(bz, buf...) } - batch.Set([]byte(pruneHeightsKey), bz) + _ = batch.Set([]byte(pruneHeightsKey), bz) } func (rs *Store) Close() error { @@ -1199,7 +1214,7 @@ func (rs *Store) SetKVStores(handler func(key types.StoreKey, s types.KVStore) t } func (rs *Store) StoreKeys() []types.StoreKey { - res := make([]types.StoreKey, len(rs.keysByName)) + res := make([]types.StoreKey, 0, len(rs.keysByName)) for _, sk := range rs.keysByName { res = append(res, sk) } diff --git a/sei-cosmos/store/rootmulti/store_test.go b/sei-cosmos/store/rootmulti/store_test.go index c9cd00b0c5..22f0ca302c 100644 --- a/sei-cosmos/store/rootmulti/store_test.go +++ b/sei-cosmos/store/rootmulti/store_test.go @@ -11,13 +11,13 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec" - codecTypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/store/cachemulti" - "github.com/cosmos/cosmos-sdk/store/iavl" - sdkmaps "github.com/cosmos/cosmos-sdk/store/internal/maps" - "github.com/cosmos/cosmos-sdk/store/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codecTypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachemulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" + sdkmaps "github.com/sei-protocol/sei-chain/sei-cosmos/store/internal/maps" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) func TestStoreType(t *testing.T) { diff --git a/sei-cosmos/store/store.go b/sei-cosmos/store/store.go index d5fa9f0354..fb2a904a34 100644 --- a/sei-cosmos/store/store.go +++ b/sei-cosmos/store/store.go @@ -4,9 +4,9 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/cache" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cache" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) func NewCommitMultiStore(db dbm.DB) types.CommitMultiStore { diff --git a/sei-cosmos/store/tracekv/store.go b/sei-cosmos/store/tracekv/store.go index 127a1d3aa0..1cc6aeee06 100644 --- a/sei-cosmos/store/tracekv/store.go +++ b/sei-cosmos/store/tracekv/store.go @@ -5,8 +5,8 @@ import ( "encoding/json" "io" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const ( @@ -211,5 +211,5 @@ func writeOperation(w io.Writer, op operation, tc types.TraceContext, key, value panic(errors.Wrap(err, "failed to write trace operation")) } - io.WriteString(w, "\n") + _, _ = io.WriteString(w, "\n") } diff --git a/sei-cosmos/store/tracekv/store_test.go b/sei-cosmos/store/tracekv/store_test.go index 442a4798d3..a18fe89d9f 100644 --- a/sei-cosmos/store/tracekv/store_test.go +++ b/sei-cosmos/store/tracekv/store_test.go @@ -10,10 +10,10 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/prefix" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/tracekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) func bz(s string) []byte { return []byte(s) } diff --git a/sei-cosmos/store/transient/store.go b/sei-cosmos/store/transient/store.go index fb6a206de4..a395b170c1 100644 --- a/sei-cosmos/store/transient/store.go +++ b/sei-cosmos/store/transient/store.go @@ -3,8 +3,8 @@ package transient import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) var _ types.Committer = (*Store)(nil) diff --git a/sei-cosmos/store/transient/store_test.go b/sei-cosmos/store/transient/store_test.go index 693eb3f0d4..be49d2908f 100644 --- a/sei-cosmos/store/transient/store_test.go +++ b/sei-cosmos/store/transient/store_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/store/transient" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/transient" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) var k, v = []byte("hello"), []byte("world") diff --git a/sei-cosmos/store/types/cache.go b/sei-cosmos/store/types/cache.go index b00335a763..5af9ff2b9f 100644 --- a/sei-cosmos/store/types/cache.go +++ b/sei-cosmos/store/types/cache.go @@ -4,7 +4,7 @@ import ( "sync" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" ) const DefaultCacheSizeLimit = 4000000 // TODO: revert back to 1000000 after paritioning r/w caches diff --git a/sei-cosmos/store/types/commit_info.go b/sei-cosmos/store/types/commit_info.go index abeeabfbf4..bb37ebed3c 100644 --- a/sei-cosmos/store/types/commit_info.go +++ b/sei-cosmos/store/types/commit_info.go @@ -6,8 +6,8 @@ import ( ics23 "github.com/confio/ics23/go" tmcrypto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" - sdkmaps "github.com/cosmos/cosmos-sdk/store/internal/maps" - sdkproofs "github.com/cosmos/cosmos-sdk/store/internal/proofs" + sdkmaps "github.com/sei-protocol/sei-chain/sei-cosmos/store/internal/maps" + sdkproofs "github.com/sei-protocol/sei-chain/sei-cosmos/store/internal/proofs" ) // GetHash returns the GetHash from the CommitID. diff --git a/sei-cosmos/store/types/commit_info.pb.go b/sei-cosmos/store/types/commit_info.pb.go index 988804d2f3..08a1d95140 100644 --- a/sei-cosmos/store/types/commit_info.pb.go +++ b/sei-cosmos/store/types/commit_info.pb.go @@ -195,26 +195,27 @@ func init() { } var fileDescriptor_83f4097f6265b52f = []byte{ - // 301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4e, 0xce, 0x2f, 0xce, - 0xcd, 0x2f, 0xd6, 0x4f, 0x4a, 0x2c, 0x4e, 0xd5, 0x2f, 0x2e, 0xc9, 0x2f, 0x4a, 0xd5, 0x2f, 0x33, - 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0x2c, 0x89, 0xcf, 0xcc, 0x4b, - 0xcb, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x84, 0x28, 0xd6, 0x03, 0x29, 0xd6, 0x03, - 0x2b, 0xd6, 0x83, 0x2a, 0x96, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xab, 0xd2, 0x07, 0xb1, 0x20, - 0x1a, 0x94, 0x8a, 0xb9, 0xb8, 0x9c, 0xc1, 0xa6, 0x78, 0xe6, 0xa5, 0xe5, 0x0b, 0x49, 0x70, 0xb1, - 0x97, 0xa5, 0x16, 0x15, 0x67, 0xe6, 0xe7, 0x49, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, - 0x42, 0xde, 0x5c, 0xdc, 0x60, 0xe3, 0xc0, 0x96, 0x15, 0x4b, 0x30, 0x29, 0x30, 0x6b, 0x70, 0x1b, - 0xa9, 0xe8, 0xe1, 0xb4, 0x4e, 0x2f, 0x18, 0xc4, 0x03, 0x19, 0xea, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, - 0x43, 0x10, 0x57, 0x31, 0x4c, 0xa0, 0x58, 0x29, 0x9d, 0x8b, 0x13, 0x2e, 0x2d, 0x24, 0xc4, 0xc5, - 0x92, 0x97, 0x98, 0x9b, 0x0a, 0xb6, 0x90, 0x33, 0x08, 0xcc, 0x16, 0x72, 0xe3, 0xe2, 0x84, 0xf9, - 0x2d, 0x45, 0x82, 0x49, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x19, 0x8f, 0x5d, 0x50, 0x1f, 0xb8, 0x40, - 0xad, 0xe2, 0x80, 0xe8, 0xf5, 0x4c, 0x51, 0xb2, 0xe3, 0xe2, 0x80, 0xc9, 0xe1, 0xf1, 0x9b, 0x10, - 0x17, 0x4b, 0x46, 0x62, 0x71, 0x06, 0xd8, 0x22, 0x9e, 0x20, 0x30, 0xdb, 0x8a, 0x65, 0xc6, 0x02, - 0x79, 0x06, 0x27, 0xa7, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, - 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0xd2, 0x48, - 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x46, 0x10, 0x84, 0xd2, 0x2d, - 0x4e, 0xc9, 0x86, 0x46, 0x53, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0xa0, 0x8d, 0x01, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x00, 0xc0, 0xc7, 0x12, 0xc8, 0x01, 0x00, 0x00, + // 312 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xb1, 0x4e, 0xfb, 0x30, + 0x10, 0xc6, 0x93, 0x36, 0xfa, 0xff, 0x5b, 0x97, 0xc9, 0x62, 0x08, 0x0c, 0x6e, 0x55, 0x18, 0x2a, + 0x21, 0x6c, 0xb5, 0x2c, 0x88, 0x81, 0xa1, 0x20, 0xa4, 0x8a, 0x2d, 0x6c, 0x2c, 0x28, 0x49, 0xdd, + 0xc4, 0x12, 0xc9, 0x55, 0x3d, 0x53, 0x89, 0xb7, 0x60, 0x64, 0xe4, 0x71, 0x3a, 0x76, 0x64, 0x42, + 0xa8, 0x7d, 0x11, 0x94, 0x73, 0xc3, 0x46, 0xb7, 0xef, 0x7c, 0xdf, 0xdd, 0x4f, 0x9f, 0x8f, 0x9d, + 0xa5, 0x80, 0x05, 0xa0, 0x4a, 0x62, 0xd4, 0x0a, 0x2d, 0x2c, 0xb4, 0x5a, 0x0e, 0x13, 0x6d, 0xe3, + 0xa1, 0x4a, 0xa1, 0x28, 0x8c, 0x7d, 0x32, 0xe5, 0x0c, 0xe4, 0x7c, 0x01, 0x16, 0xf8, 0x91, 0x33, + 0xcb, 0xca, 0x2c, 0xc9, 0x2c, 0x77, 0xe6, 0xe3, 0xc3, 0x0c, 0x32,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, 0x7e, 0x02, 0xd8, 0x01, 0x00, 0x00, } func (m *CommitInfo) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/store/types/errors.go b/sei-cosmos/store/types/errors.go index 780fcdef37..c85cfcc9f2 100644 --- a/sei-cosmos/store/types/errors.go +++ b/sei-cosmos/store/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const StoreCodespace = "store" diff --git a/sei-cosmos/store/types/gas.go b/sei-cosmos/store/types/gas.go index 20f16083b6..27f82d53a1 100644 --- a/sei-cosmos/store/types/gas.go +++ b/sei-cosmos/store/types/gas.go @@ -6,7 +6,7 @@ import ( "sync" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" ) // Gas consumption descriptors. diff --git a/sei-cosmos/store/types/iterator_test.go b/sei-cosmos/store/types/iterator_test.go index 27f5d2d466..8a190b5487 100644 --- a/sei-cosmos/store/types/iterator_test.go +++ b/sei-cosmos/store/types/iterator_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) func newMemTestKVStore(t *testing.T) types.KVStore { @@ -91,7 +91,7 @@ func TestPaginatedIterator(t *testing.T) { } else { iter = types.KVStorePrefixIteratorPaginated(kvs, nil, tc.page, tc.limit) } - defer iter.Close() + defer func() { _ = iter.Close() }() result := [][]byte{} for ; iter.Valid(); iter.Next() { @@ -108,14 +108,14 @@ func TestPaginatedIteratorPanicIfInvalid(t *testing.T) { kvs := newMemTestKVStore(t) iter := types.KVStorePrefixIteratorPaginated(kvs, nil, 1, 1) - defer iter.Close() + defer func() { _ = iter.Close() }() require.False(t, iter.Valid()) require.Panics(t, func() { iter.Next() }) // "iterator is empty" kvs.Set([]byte{1}, []byte{}) iter = types.KVStorePrefixIteratorPaginated(kvs, nil, 1, 0) - defer iter.Close() + defer func() { _ = iter.Close() }() require.False(t, iter.Valid()) require.Panics(t, func() { iter.Next() }) // "not empty but limit is zero" } diff --git a/sei-cosmos/store/types/listening.pb.go b/sei-cosmos/store/types/listening.pb.go index 47d5a23a83..4a5f8d5279 100644 --- a/sei-cosmos/store/types/listening.pb.go +++ b/sei-cosmos/store/types/listening.pb.go @@ -104,7 +104,7 @@ func init() { } var fileDescriptor_a5d350879fe4fecd = []byte{ - // 224 bytes of a gzipped FileDescriptorProto + // 236 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x4a, 0x2c, 0x4e, 0xd5, 0x2f, 0x2e, 0xc9, 0x2f, 0x4a, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0xcf, 0xc9, 0x2c, 0x2e, 0x49, 0xcd, 0xcb, 0xcc, 0x4b, 0xd7, @@ -114,11 +114,12 @@ var fileDescriptor_a5d350879fe4fecd = []byte{ 0x38, 0xc0, 0x02, 0xde, 0xa9, 0x95, 0x42, 0x62, 0x5c, 0x6c, 0x29, 0xa9, 0x39, 0xa9, 0x25, 0xa9, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0x1c, 0x41, 0x50, 0x9e, 0x90, 0x00, 0x17, 0x33, 0x48, 0x39, 0xb3, 0x02, 0xa3, 0x06, 0x4f, 0x10, 0x88, 0x29, 0x24, 0xc2, 0xc5, 0x5a, 0x96, 0x98, 0x53, 0x9a, 0x2a, - 0xc1, 0x02, 0x16, 0x83, 0x70, 0x9c, 0x9c, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, + 0xc1, 0x02, 0x16, 0x83, 0x70, 0x9c, 0x82, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, - 0x21, 0x4a, 0x23, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0xea, 0x2d, - 0x08, 0xa5, 0x5b, 0x9c, 0x92, 0x0d, 0xf5, 0x5c, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, - 0x47, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2b, 0xe0, 0xb3, 0x51, 0xfe, 0x00, 0x00, 0x00, + 0x21, 0xca, 0x22, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xbf, 0x38, 0x35, + 0x53, 0x17, 0xec, 0xec, 0xe4, 0xfc, 0x1c, 0x30, 0x27, 0x39, 0x23, 0x31, 0x33, 0x0f, 0xc2, 0x82, + 0xf8, 0x18, 0xe2, 0xd9, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0x52, 0x63, 0x40, 0x00, + 0x00, 0x00, 0xff, 0xff, 0xc4, 0xfc, 0xdb, 0x34, 0x0e, 0x01, 0x00, 0x00, } func (m *StoreKVPair) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/store/types/proof.go b/sei-cosmos/store/types/proof.go index c15d1822a1..fc582d1373 100644 --- a/sei-cosmos/store/types/proof.go +++ b/sei-cosmos/store/types/proof.go @@ -5,7 +5,7 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/crypto/merkle" tmmerkle "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const ( diff --git a/sei-cosmos/store/types/store.go b/sei-cosmos/store/types/store.go index c898ed07ef..21dadbc758 100644 --- a/sei-cosmos/store/types/store.go +++ b/sei-cosmos/store/types/store.go @@ -7,9 +7,9 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" dbm "github.com/tendermint/tm-db" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/utils" + snapshottypes "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils" ) type Store interface { diff --git a/sei-cosmos/store/types/utils.go b/sei-cosmos/store/types/utils.go index 22c8ca0761..4a3071e624 100644 --- a/sei-cosmos/store/types/utils.go +++ b/sei-cosmos/store/types/utils.go @@ -3,7 +3,7 @@ package types import ( "bytes" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) // Iterator over all the keys with a certain prefix in ascending order @@ -21,11 +21,11 @@ func KVStoreReversePrefixIterator(kvs KVStore, prefix []byte) Iterator { func DiffKVStores(a KVStore, b KVStore, prefixesToSkip [][]byte) (kvAs, kvBs []kv.Pair) { iterA := a.Iterator(nil, nil) - defer iterA.Close() + defer func() { _ = iterA.Close() }() iterB := b.Iterator(nil, nil) - defer iterB.Close() + defer func() { _ = iterB.Close() }() for { if !iterA.Valid() && !iterB.Valid() { diff --git a/sei-cosmos/store/types/utils_test.go b/sei-cosmos/store/types/utils_test.go index 87cfd82f7b..2b72d1a007 100644 --- a/sei-cosmos/store/types/utils_test.go +++ b/sei-cosmos/store/types/utils_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) func initTestStores(t *testing.T) (types.KVStore, types.KVStore) { diff --git a/sei-cosmos/store/types/validity_test.go b/sei-cosmos/store/types/validity_test.go index 0f5d0466a3..626b997d2e 100644 --- a/sei-cosmos/store/types/validity_test.go +++ b/sei-cosmos/store/types/validity_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) func TestAssertValidKey(t *testing.T) { diff --git a/sei-cosmos/storev2/commitment/store.go b/sei-cosmos/storev2/commitment/store.go index d78af85927..72c418b4b9 100644 --- a/sei-cosmos/storev2/commitment/store.go +++ b/sei-cosmos/storev2/commitment/store.go @@ -6,11 +6,11 @@ import ( "io" "cosmossdk.io/errors" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/tracekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" sctypes "github.com/sei-protocol/sei-chain/sei-db/state_db/sc/types" iavl "github.com/sei-protocol/sei-chain/sei-iavl" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" @@ -159,7 +159,7 @@ func (st *Store) Query(req abci.RequestQuery) (res abci.ResponseQuery) { for ; iterator.Valid(); iterator.Next() { pairs.Pairs = append(pairs.Pairs, kv.Pair{Key: iterator.Key(), Value: iterator.Value()}) } - iterator.Close() + _ = iterator.Close() bz, err := pairs.Marshal() if err != nil { @@ -181,11 +181,13 @@ func (st *Store) VersionExists(version int64) bool { func (st *Store) DeleteAll(start, end []byte) error { iter := st.Iterator(start, end) - keys := [][]byte{} + var keys [][]byte for ; iter.Valid(); iter.Next() { keys = append(keys, iter.Key()) } - iter.Close() + if err := iter.Close(); err != nil { + return err + } for _, key := range keys { st.Delete(key) } @@ -194,7 +196,7 @@ func (st *Store) DeleteAll(start, end []byte) error { func (st *Store) GetAllKeyStrsInRange(start, end []byte) (res []string) { iter := st.Iterator(start, end) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { res = append(res, string(iter.Key())) } diff --git a/sei-cosmos/storev2/commitment/store_test.go b/sei-cosmos/storev2/commitment/store_test.go index 96a3c2b9e0..aedf658c24 100644 --- a/sei-cosmos/storev2/commitment/store_test.go +++ b/sei-cosmos/storev2/commitment/store_test.go @@ -3,7 +3,7 @@ package commitment import ( "testing" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" "github.com/sei-protocol/sei-chain/sei-db/state_db/sc/memiavl" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/stretchr/testify/require" diff --git a/sei-cosmos/storev2/rootmulti/store.go b/sei-cosmos/storev2/rootmulti/store.go index e10d1191df..ed7229f9f9 100644 --- a/sei-cosmos/storev2/rootmulti/store.go +++ b/sei-cosmos/storev2/rootmulti/store.go @@ -12,17 +12,17 @@ import ( "cosmossdk.io/errors" "github.com/armon/go-metrics" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/store/cachemulti" - "github.com/cosmos/cosmos-sdk/store/mem" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - "github.com/cosmos/cosmos-sdk/store/transient" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/storev2/commitment" - "github.com/cosmos/cosmos-sdk/storev2/state" - "github.com/cosmos/cosmos-sdk/telemetry" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" protoio "github.com/gogo/protobuf/io" + snapshottypes "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachemulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/mem" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/transient" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/storev2/commitment" + "github.com/sei-protocol/sei-chain/sei-cosmos/storev2/state" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" commonerrors "github.com/sei-protocol/sei-chain/sei-db/common/errors" "github.com/sei-protocol/sei-chain/sei-db/config" "github.com/sei-protocol/sei-chain/sei-db/proto" @@ -155,7 +155,7 @@ func (rs *Store) flush() error { } } } - if changeSets != nil && len(changeSets) > 0 { + if len(changeSets) > 0 { sort.SliceStable(changeSets, func(i, j int) bool { return changeSets[i].Name < changeSets[j].Name }) @@ -565,7 +565,7 @@ func (rs *Store) Query(req abci.RequestQuery) abci.ResponseQuery { if err != nil { return sdkerrors.QueryResult(err) } - defer scStore.Close() + defer func() { _ = scStore.Close() }() store = types.Queryable(commitment.NewStore(scStore.GetChildStoreByName(storeName), rs.logger)) commitInfo = convertCommitInfo(scStore.LastCommitInfo()) commitInfo = amendCommitInfo(commitInfo, rs.storesParams) @@ -685,12 +685,15 @@ func (rs *Store) ResetEvents() { func (rs *Store) Restore( height uint64, format uint32, protoReader protoio.Reader, ) (snapshottypes.SnapshotItem, error) { + if height > uint64(math.MaxInt64) { + return snapshottypes.SnapshotItem{}, fmt.Errorf("snapshot height %d exceeds max int64", height) + } if rs.scStore != nil { if err := rs.scStore.Close(); err != nil { return snapshottypes.SnapshotItem{}, fmt.Errorf("failed to close db: %w", err) } } - item, err := rs.restore(int64(height), protoReader) + item, err := rs.restore(int64(height), protoReader) //nolint:gosec // bounds checked above if err != nil { return snapshottypes.SnapshotItem{}, err } @@ -746,7 +749,7 @@ loop: node := &sctypes.SnapshotNode{ Key: item.IAVL.Key, Value: item.IAVL.Value, - Height: int8(item.IAVL.Height), + Height: int8(item.IAVL.Height), //nolint:gosec // bounds checked above against math.MaxInt8 Version: item.IAVL.Version, } // Protobuf does not differentiate between []byte{} as nil, but fortunately IAVL does @@ -802,7 +805,7 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error { if err != nil { return err } - defer exporter.Close() + defer func() { _ = exporter.Close() }() keySizePerStore := map[string]int64{} valueSizePerStore := map[string]int64{} numKeysPerStore := map[string]int64{} @@ -879,7 +882,7 @@ func (*Store) SetKVStores(handler func(key types.StoreKey, s types.KVStore) type // StoreKeys implements types.CommitMultiStore. func (rs *Store) StoreKeys() []types.StoreKey { - res := make([]types.StoreKey, len(rs.storeKeys)) + res := make([]types.StoreKey, 0, len(rs.storeKeys)) for _, sk := range rs.storeKeys { res = append(res, sk) } diff --git a/sei-cosmos/storev2/rootmulti/store_test.go b/sei-cosmos/storev2/rootmulti/store_test.go index 200511138f..d458642c8b 100644 --- a/sei-cosmos/storev2/rootmulti/store_test.go +++ b/sei-cosmos/storev2/rootmulti/store_test.go @@ -6,8 +6,8 @@ import ( "time" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/storev2/state" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/storev2/state" "github.com/sei-protocol/sei-chain/sei-db/config" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" diff --git a/sei-cosmos/storev2/state/store.go b/sei-cosmos/storev2/state/store.go index bc9139e0fa..ff259cee16 100644 --- a/sei-cosmos/storev2/state/store.go +++ b/sei-cosmos/storev2/state/store.go @@ -6,11 +6,11 @@ import ( "cosmossdk.io/errors" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/tracekv" - "github.com/cosmos/cosmos-sdk/store/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/tracekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" sstypes "github.com/sei-protocol/sei-chain/sei-db/state_db/ss/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) @@ -108,7 +108,7 @@ func (st *Store) Query(req abci.RequestQuery) (res abci.ResponseQuery) { for ; iterator.Valid(); iterator.Next() { pairs.Pairs = append(pairs.Pairs, kv.Pair{Key: iterator.Key(), Value: iterator.Value()}) } - iterator.Close() + _ = iterator.Close() bz, err := pairs.Marshal() if err != nil { @@ -129,11 +129,11 @@ func (st *Store) VersionExists(version int64) bool { func (st *Store) DeleteAll(start, end []byte) error { iter := st.Iterator(start, end) - keys := [][]byte{} + var keys [][]byte for ; iter.Valid(); iter.Next() { keys = append(keys, iter.Key()) } - iter.Close() + _ = iter.Close() for _, key := range keys { st.Delete(key) } @@ -142,7 +142,7 @@ func (st *Store) DeleteAll(start, end []byte) error { func (st *Store) GetAllKeyStrsInRange(start, end []byte) (res []string) { iter := st.Iterator(start, end) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { res = append(res, string(iter.Key())) } diff --git a/sei-cosmos/tasks/scheduler.go b/sei-cosmos/tasks/scheduler.go index 99243f7b9c..18f34e7079 100644 --- a/sei-cosmos/tasks/scheduler.go +++ b/sei-cosmos/tasks/scheduler.go @@ -8,12 +8,12 @@ import ( "sync" "time" - "github.com/cosmos/cosmos-sdk/store/multiversion" - store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/occ" - "github.com/cosmos/cosmos-sdk/utils/tracing" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/multiversion" + store "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils/tracing" "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" @@ -378,10 +378,7 @@ func (s *scheduler) validateTask(ctx sdk.Context, task *deliverTxTask) bool { _, span := s.traceSpan(ctx, "SchedulerValidate", task) defer span.End() - if s.shouldRerun(task) { - return false - } - return true + return !s.shouldRerun(task) } func (s *scheduler) findFirstNonValidated() (int, bool) { @@ -522,7 +519,7 @@ func (s *scheduler) executeTask(task *deliverTxTask) { // in the synchronous case, we only want to re-execute tasks that need re-executing if s.synchronous { - // even if already validated, it could become invalid again due to preceeding + // even if already validated, it could become invalid again due to preceding // reruns. Make sure previous writes are invalidated before rerunning. if task.IsStatus(statusValidated) { s.invalidateTask(task) diff --git a/sei-cosmos/tasks/scheduler_test.go b/sei-cosmos/tasks/scheduler_test.go index 1df40addfd..ea72a33f22 100644 --- a/sei-cosmos/tasks/scheduler_test.go +++ b/sei-cosmos/tasks/scheduler_test.go @@ -18,12 +18,12 @@ import ( "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/trace" - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/cachemulti" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/occ" - "github.com/cosmos/cosmos-sdk/utils/tracing" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachemulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils/tracing" ) type mockDeliverTxFunc func(ctx sdk.Context, req types.RequestDeliverTxV2, tx sdk.Tx, checksum [32]byte) (res types.ResponseDeliverTx) @@ -133,7 +133,7 @@ func TestProcessAll(t *testing.T) { // just write so we have more writes going on kv.Set(req.Tx, req.Tx) iterator := kv.Iterator(nil, nil) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { // Do nothing, just iterate } diff --git a/sei-cosmos/telemetry/metrics.go b/sei-cosmos/telemetry/metrics.go index 7e13f8796c..9c08b9ba90 100644 --- a/sei-cosmos/telemetry/metrics.go +++ b/sei-cosmos/telemetry/metrics.go @@ -171,14 +171,14 @@ func (m *Metrics) gatherPrometheus() (GatherResponse, error) { buf := &bytes.Buffer{} defer buf.Reset() - e := expfmt.NewEncoder(buf, expfmt.FmtText) + e := expfmt.NewEncoder(buf, expfmt.NewFormat(expfmt.TypeTextPlain)) for _, mf := range metricsFamilies { if err := e.Encode(mf); err != nil { return GatherResponse{}, fmt.Errorf("failed to encode prometheus metrics: %w", err) } } - return GatherResponse{ContentType: string(expfmt.FmtText), Metrics: buf.Bytes()}, nil + return GatherResponse{ContentType: string(expfmt.NewFormat(expfmt.TypeTextPlain)), Metrics: buf.Bytes()}, nil } func (m *Metrics) gatherGeneric() (GatherResponse, error) { diff --git a/sei-cosmos/telemetry/metrics_test.go b/sei-cosmos/telemetry/metrics_test.go index 39ffd85b90..45104d7ab6 100644 --- a/sei-cosmos/telemetry/metrics_test.go +++ b/sei-cosmos/telemetry/metrics_test.go @@ -56,7 +56,7 @@ func TestMetrics_Prom(t *testing.T) { gr, err := m.Gather(FormatPrometheus) require.NoError(t, err) - require.Equal(t, gr.ContentType, string(expfmt.FmtText)) + require.Equal(t, gr.ContentType, string(expfmt.NewFormat(expfmt.TypeTextPlain))) require.True(t, strings.Contains(string(gr.Metrics), "test_dummy_counter 30")) } diff --git a/sei-cosmos/tests/mocks/account_retriever.go b/sei-cosmos/tests/mocks/account_retriever.go index c75e1d059b..00e1f8a456 100644 --- a/sei-cosmos/tests/mocks/account_retriever.go +++ b/sei-cosmos/tests/mocks/account_retriever.go @@ -7,10 +7,10 @@ package mocks import ( reflect "reflect" - client "github.com/cosmos/cosmos-sdk/client" - types "github.com/cosmos/cosmos-sdk/crypto/types" - types0 "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" + client "github.com/sei-protocol/sei-chain/sei-cosmos/client" + types "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + types0 "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // MockAccount is a mock of Account interface. diff --git a/sei-cosmos/tests/mocks/types_handler.go b/sei-cosmos/tests/mocks/types_handler.go index 1be212dcf2..90bbd28be7 100644 --- a/sei-cosmos/tests/mocks/types_handler.go +++ b/sei-cosmos/tests/mocks/types_handler.go @@ -9,8 +9,8 @@ package mocks import ( reflect "reflect" - types "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // MockAnteDecorator is a mock of AnteDecorator interface. diff --git a/sei-cosmos/tests/mocks/types_invariant.go b/sei-cosmos/tests/mocks/types_invariant.go index c6b9fe94d1..4bf3993e00 100644 --- a/sei-cosmos/tests/mocks/types_invariant.go +++ b/sei-cosmos/tests/mocks/types_invariant.go @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" - types "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // MockInvariantRegistry is a mock of InvariantRegistry interface. diff --git a/sei-cosmos/tests/mocks/types_module_module.go b/sei-cosmos/tests/mocks/types_module_module.go index e9bca1fa11..b7980825c5 100644 --- a/sei-cosmos/tests/mocks/types_module_module.go +++ b/sei-cosmos/tests/mocks/types_module_module.go @@ -8,14 +8,14 @@ import ( json "encoding/json" reflect "reflect" - client "github.com/cosmos/cosmos-sdk/client" - codec "github.com/cosmos/cosmos-sdk/codec" - types "github.com/cosmos/cosmos-sdk/codec/types" - types0 "github.com/cosmos/cosmos-sdk/types" - module "github.com/cosmos/cosmos-sdk/types/module" gomock "github.com/golang/mock/gomock" mux "github.com/gorilla/mux" runtime "github.com/grpc-ecosystem/grpc-gateway/runtime" + client "github.com/sei-protocol/sei-chain/sei-cosmos/client" + codec "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + types0 "github.com/sei-protocol/sei-chain/sei-cosmos/types" + module "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" types1 "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" cobra "github.com/spf13/cobra" diff --git a/sei-cosmos/tests/mocks/types_router.go b/sei-cosmos/tests/mocks/types_router.go index 27f8fe56b8..782db2cc55 100644 --- a/sei-cosmos/tests/mocks/types_router.go +++ b/sei-cosmos/tests/mocks/types_router.go @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" - types "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // MockRouter is a mock of Router interface. diff --git a/sei-cosmos/testutil/account.go b/sei-cosmos/testutil/account.go index 4fac5d39cf..f1d2b36584 100644 --- a/sei-cosmos/testutil/account.go +++ b/sei-cosmos/testutil/account.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type TestAccount struct { diff --git a/sei-cosmos/testutil/cli/cmd.go b/sei-cosmos/testutil/cli/cmd.go index 0d27571f2e..738f82d493 100644 --- a/sei-cosmos/testutil/cli/cmd.go +++ b/sei-cosmos/testutil/cli/cmd.go @@ -2,10 +2,11 @@ package cli import ( "context" + "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" ) // ExecTestCLICmd builds the client context, mocks the output and executes the command. diff --git a/sei-cosmos/testutil/cli/tm_mocks.go b/sei-cosmos/testutil/cli/tm_mocks.go index 2647e33a0b..e3fcf2de43 100644 --- a/sei-cosmos/testutil/cli/tm_mocks.go +++ b/sei-cosmos/testutil/cli/tm_mocks.go @@ -2,6 +2,7 @@ package cli import ( "context" + abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" rpcclient "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client" @@ -9,7 +10,7 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" ) var _ client.TendermintRPC = (*MockTendermintRPC)(nil) diff --git a/sei-cosmos/testutil/context.go b/sei-cosmos/testutil/context.go index 379bad05d4..b07c9cb033 100644 --- a/sei-cosmos/testutil/context.go +++ b/sei-cosmos/testutil/context.go @@ -5,8 +5,8 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // DefaultContext creates a sdk.Context with a fresh MemDB that can be used in tests. diff --git a/sei-cosmos/testutil/ioutil.go b/sei-cosmos/testutil/ioutil.go index ac6a62a9ac..327eb936c9 100644 --- a/sei-cosmos/testutil/ioutil.go +++ b/sei-cosmos/testutil/ioutil.go @@ -4,7 +4,6 @@ import ( "bytes" "fmt" "io" - "io/ioutil" "os" "path/filepath" "strings" @@ -48,8 +47,8 @@ func ApplyMockIODiscardOutErr(c *cobra.Command) BufferReader { mockIn := strings.NewReader("") c.SetIn(mockIn) - c.SetOut(ioutil.Discard) - c.SetErr(ioutil.Discard) + c.SetOut(io.Discard) + c.SetErr(io.Discard) return mockIn } @@ -75,6 +74,6 @@ func TempFile(t testing.TB) *os.File { fp, err := os.Create(filepath.Join(t.TempDir(), fmt.Sprintf("tmpfile-%d", tmpFileCounter.Add(1)))) require.NoError(t, err) - + t.Cleanup(func() { _ = fp.Close() }) return fp } diff --git a/sei-cosmos/testutil/ioutil_test.go b/sei-cosmos/testutil/ioutil_test.go index 415e7842c1..65853bf342 100644 --- a/sei-cosmos/testutil/ioutil_test.go +++ b/sei-cosmos/testutil/ioutil_test.go @@ -1,13 +1,14 @@ package testutil_test import ( - "io/ioutil" + "io" + "os" "testing" "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" ) func TestApplyMockIO(t *testing.T) { @@ -28,7 +29,7 @@ func TestWriteToNewTempFile(t *testing.T) { tempfile := testutil.WriteToNewTempFile(t, "test string") tempfile.Close() - bs, err := ioutil.ReadFile(tempfile.Name()) + bs, err := os.ReadFile(tempfile.Name()) require.NoError(t, err) require.Equal(t, "test string", string(bs)) } @@ -39,6 +40,6 @@ func TestApplyMockIODiscardOutErr(t *testing.T) { testutil.ApplyMockIODiscardOutErr(cmd) require.NotEqual(t, cmd.InOrStdin(), oldStdin) - require.Equal(t, cmd.OutOrStdout(), ioutil.Discard) - require.Equal(t, cmd.ErrOrStderr(), ioutil.Discard) + require.Equal(t, cmd.OutOrStdout(), io.Discard) + require.Equal(t, cmd.ErrOrStderr(), io.Discard) } diff --git a/sei-cosmos/testutil/key.go b/sei-cosmos/testutil/key.go index bb8e179e79..bb8d6fb9fd 100644 --- a/sei-cosmos/testutil/key.go +++ b/sei-cosmos/testutil/key.go @@ -3,8 +3,8 @@ package testutil import ( "fmt" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // GenerateCoinKey generates a new key mnemonic along with its addrress. @@ -78,5 +78,5 @@ func GenerateSaveCoinKey( return sdk.AccAddress{}, "", err } - return sdk.AccAddress(info.GetAddress()), secret, nil + return info.GetAddress(), secret, nil } diff --git a/sei-cosmos/testutil/key_test.go b/sei-cosmos/testutil/key_test.go index d3fec6ef50..0647208f44 100644 --- a/sei-cosmos/testutil/key_test.go +++ b/sei-cosmos/testutil/key_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestGenerateCoinKey(t *testing.T) { diff --git a/sei-cosmos/testutil/network/network.go b/sei-cosmos/testutil/network/network.go index b4dde7c2e0..63a8cdd6cf 100644 --- a/sei-cosmos/testutil/network/network.go +++ b/sei-cosmos/testutil/network/network.go @@ -23,25 +23,25 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/server/api" - srvconfig "github.com/cosmos/cosmos-sdk/server/config" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/utils" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/api" + srvconfig "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // package-wide network lock to only allow one test network at a time @@ -166,7 +166,7 @@ func New(t *testing.T, cfg Config) *Network { lock.Lock() baseDir := filepath.Join(t.TempDir(), cfg.ChainID) - require.NoError(t, os.MkdirAll(baseDir, os.ModePerm)) + require.NoError(t, os.MkdirAll(baseDir, 0750)) t.Logf("created temporary directory: %s", baseDir) network := &Network{ @@ -201,7 +201,7 @@ func New(t *testing.T, cfg Config) *Network { ctx := server.NewDefaultContext() tmCfg := ctx.Config - tmCfg.BaseConfig.Mode = config.ModeValidator + tmCfg.Mode = config.ModeValidator tmCfg.Consensus.UnsafeCommitTimeoutOverride = cfg.TimeoutCommit tmCfg.TxIndex = config.TestTxIndexConfig() @@ -218,7 +218,12 @@ func New(t *testing.T, cfg Config) *Network { apiURL, err := url.Parse(apiListenAddr) require.NoError(t, err) - apiAddr = fmt.Sprintf("http://%s:%s", apiURL.Hostname(), apiURL.Port()) + + host := apiURL.Hostname() + if host == "" || host == "0.0.0.0" || host == "::" { + host = "127.0.0.1" + } + apiAddr = fmt.Sprintf("http://%s:%s", host, apiURL.Port()) rpcAddr, _, err := server.FreeTCPAddr() require.NoError(t, err) @@ -226,12 +231,12 @@ func New(t *testing.T, cfg Config) *Network { _, grpcPort, err := server.FreeTCPAddr() require.NoError(t, err) - appCfg.GRPC.Address = fmt.Sprintf("0.0.0.0:%s", grpcPort) + appCfg.GRPC.Address = fmt.Sprintf("127.0.0.1:%s", grpcPort) appCfg.GRPC.Enable = true _, grpcWebPort, err := server.FreeTCPAddr() require.NoError(t, err) - appCfg.GRPCWeb.Address = fmt.Sprintf("0.0.0.0:%s", grpcWebPort) + appCfg.GRPCWeb.Address = fmt.Sprintf("127.0.0.1:%s", grpcWebPort) appCfg.GRPCWeb.Enable = true } @@ -247,8 +252,8 @@ func New(t *testing.T, cfg Config) *Network { clientDir := filepath.Join(network.BaseDir, nodeDirName, "simcli") gentxsDir := filepath.Join(network.BaseDir, "gentxs") - require.NoError(t, os.MkdirAll(filepath.Join(nodeDir, "config"), 0755)) - require.NoError(t, os.MkdirAll(clientDir, 0755)) + require.NoError(t, os.MkdirAll(filepath.Join(nodeDir, "config"), 0750)) + require.NoError(t, os.MkdirAll(clientDir, 0750)) tmCfg.SetRoot(nodeDir) tmCfg.Moniker = nodeDirName diff --git a/sei-cosmos/testutil/network/network_test.go b/sei-cosmos/testutil/network/network_test.go index e53fc743f7..dec853c649 100644 --- a/sei-cosmos/testutil/network/network_test.go +++ b/sei-cosmos/testutil/network/network_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" ) type IntegrationTestSuite struct { diff --git a/sei-cosmos/testutil/network/util.go b/sei-cosmos/testutil/network/util.go index 4a570caa82..adda08d42e 100644 --- a/sei-cosmos/testutil/network/util.go +++ b/sei-cosmos/testutil/network/util.go @@ -6,22 +6,22 @@ import ( "path/filepath" "time" - "github.com/cosmos/cosmos-sdk/crypto/codec" - tmtime "github.com/cosmos/cosmos-sdk/std" - "github.com/cosmos/cosmos-sdk/telemetry" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + tmtime "github.com/sei-protocol/sei-chain/sei-cosmos/std" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" tmos "github.com/sei-protocol/sei-chain/sei-tendermint/libs/os" "github.com/sei-protocol/sei-chain/sei-tendermint/node" "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client/local" "github.com/sei-protocol/sei-chain/sei-tendermint/types" "go.opentelemetry.io/otel/sdk/trace" - "github.com/cosmos/cosmos-sdk/server/api" - servergrpc "github.com/cosmos/cosmos-sdk/server/grpc" - srvtypes "github.com/cosmos/cosmos-sdk/server/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/api" + servergrpc "github.com/sei-protocol/sei-chain/sei-cosmos/server/grpc" + srvtypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + genutiltypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" ) func startInProcess(cfg Config, val *Validator) error { @@ -210,9 +210,9 @@ func writeFile(name string, dir string, contents []byte) error { writePath := filepath.Join(dir) file := filepath.Join(writePath, name) - if err := tmos.EnsureDir(writePath, 0755); err != nil { + if err := tmos.EnsureDir(writePath, 0750); err != nil { return err } - return os.WriteFile(file, contents, 0644) + return os.WriteFile(file, contents, 0600) } diff --git a/sei-cosmos/testutil/rest.go b/sei-cosmos/testutil/rest.go index b468b16bed..58e6c39b19 100644 --- a/sei-cosmos/testutil/rest.go +++ b/sei-cosmos/testutil/rest.go @@ -1,7 +1,7 @@ package testutil import ( - "io/ioutil" + "io" "net/http" ) @@ -25,7 +25,7 @@ func GetRequestWithHeaders(url string, headers map[string]string) ([]byte, error return nil, err } - body, err := ioutil.ReadAll(res.Body) + body, err := io.ReadAll(res.Body) if err != nil { return nil, err } diff --git a/sei-cosmos/testutil/testdata/animal.go b/sei-cosmos/testutil/testdata/animal.go index 96981a40b9..926ad8dfdc 100644 --- a/sei-cosmos/testutil/testdata/animal.go +++ b/sei-cosmos/testutil/testdata/animal.go @@ -8,7 +8,7 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) type Animal interface { diff --git a/sei-cosmos/testutil/testdata/codec.go b/sei-cosmos/testutil/testdata/codec.go index d5c6e8abd2..5161fe34e2 100644 --- a/sei-cosmos/testutil/testdata/codec.go +++ b/sei-cosmos/testutil/testdata/codec.go @@ -3,9 +3,9 @@ package testdata import ( amino "github.com/tendermint/go-amino" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" ) func NewTestInterfaceRegistry() types.InterfaceRegistry { diff --git a/sei-cosmos/testutil/testdata/grpc_query.go b/sei-cosmos/testutil/testdata/grpc_query.go index 6e2b641529..f78d116670 100644 --- a/sei-cosmos/testutil/testdata/grpc_query.go +++ b/sei-cosmos/testutil/testdata/grpc_query.go @@ -6,7 +6,7 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) type QueryImpl struct{} diff --git a/sei-cosmos/testutil/testdata/query.pb.go b/sei-cosmos/testutil/testdata/query.pb.go index e7d38dc7ce..f287200c10 100644 --- a/sei-cosmos/testutil/testdata/query.pb.go +++ b/sei-cosmos/testutil/testdata/query.pb.go @@ -6,15 +6,16 @@ package testdata import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" + io "io" + math "math" + math_bits "math/bits" + grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/testutil/testdata/query.proto b/sei-cosmos/testutil/testdata/query.proto index 3a60acaad1..ff38e6e074 100644 --- a/sei-cosmos/testutil/testdata/query.proto +++ b/sei-cosmos/testutil/testdata/query.proto @@ -4,7 +4,7 @@ package testdata; import "google/protobuf/any.proto"; import "testdata.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata"; // Query tests the protobuf Query service as defined in // https://github.com/cosmos/cosmos-sdk/issues/5921. diff --git a/sei-cosmos/testutil/testdata/testdata.pb.go b/sei-cosmos/testutil/testdata/testdata.pb.go index 400e649368..c3426a28a9 100644 --- a/sei-cosmos/testutil/testdata/testdata.pb.go +++ b/sei-cosmos/testutil/testdata/testdata.pb.go @@ -5,12 +5,13 @@ package testdata import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" io "io" math "math" math_bits "math/bits" + + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/testutil/testdata/testdata.proto b/sei-cosmos/testutil/testdata/testdata.proto index 585c2303c1..d5f08a3ef7 100644 --- a/sei-cosmos/testutil/testdata/testdata.proto +++ b/sei-cosmos/testutil/testdata/testdata.proto @@ -4,7 +4,7 @@ package testdata; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata"; message Dog { string size = 1; diff --git a/sei-cosmos/testutil/testdata/tx.go b/sei-cosmos/testutil/testdata/tx.go index 5305b418af..59fb42eae3 100644 --- a/sei-cosmos/testutil/testdata/tx.go +++ b/sei-cosmos/testutil/testdata/tx.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256r1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // KeyTestPubAddr generates a new secp256k1 keypair. diff --git a/sei-cosmos/testutil/testdata/tx.proto b/sei-cosmos/testutil/testdata/tx.proto index eaeb9580e5..853eb324e5 100644 --- a/sei-cosmos/testutil/testdata/tx.proto +++ b/sei-cosmos/testutil/testdata/tx.proto @@ -4,7 +4,7 @@ package testdata; import "gogoproto/gogo.proto"; import "testdata.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata"; // Msg tests the Protobuf message service as defined in // https://github.com/cosmos/cosmos-sdk/issues/7500. diff --git a/sei-cosmos/testutil/testdata/unknonwnproto.pb.go b/sei-cosmos/testutil/testdata/unknonwnproto.pb.go index eb4abf1fff..f48e00cdf6 100644 --- a/sei-cosmos/testutil/testdata/unknonwnproto.pb.go +++ b/sei-cosmos/testutil/testdata/unknonwnproto.pb.go @@ -6,13 +6,14 @@ package testdata import ( encoding_binary "encoding/binary" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - tx "github.com/cosmos/cosmos-sdk/types/tx" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" io "io" math "math" math_bits "math/bits" + + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + tx "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/testutil/testdata/unknonwnproto.proto b/sei-cosmos/testutil/testdata/unknonwnproto.proto index 7bf1ce6bba..d346bec9b5 100644 --- a/sei-cosmos/testutil/testdata/unknonwnproto.proto +++ b/sei-cosmos/testutil/testdata/unknonwnproto.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; import "cosmos/tx/v1beta1/tx.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata"; +option go_package = "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata"; message Customer1 { int32 id = 1; diff --git a/sei-cosmos/types/abci.go b/sei-cosmos/types/abci.go index d724ddd128..e642f83e67 100644 --- a/sei-cosmos/types/abci.go +++ b/sei-cosmos/types/abci.go @@ -1,7 +1,7 @@ package types import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-cosmos/types/abci.pb.go b/sei-cosmos/types/abci.pb.go index d9bda8634c..a116745522 100644 --- a/sei-cosmos/types/abci.pb.go +++ b/sei-cosmos/types/abci.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" types1 "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" io "io" math "math" @@ -628,69 +628,69 @@ func init() { } var fileDescriptor_4e37629bc7eb0df8 = []byte{ - // 977 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xcf, 0x6f, 0x1b, 0x45, - 0x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1, 0xa2, 0x59, - 0x3a, 0xbb, 0x68, 0x96, 0x5e, 0x5d, 0x34, 0x4b, 0xdf, 0x06, 0x2c, 0x96, 0xa3, 0x69, 0x3f, 0x1c, - 0xf0, 0xa4, 0x63, 0x3f, 0xbb, 0xe6, 0xe7, 0x63, 0x31, 0x7c, 0x61, 0x3e, 0x84, 0xfd, 0x9a, 0xfe, - 0x7f, 0xbe, 0xff, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x30, 0x58, 0x16, 0x15, 0x98, 0x07, 0x00, - 0x00, + // 985 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x41, 0x6f, 0x1b, 0x45, + 0x14, 0xf6, 0xda, 0xee, 0x3a, 0x3b, 0x4e, 0x09, 0x4c, 0x43, 0xb3, 0x49, 0xc1, 0x6b, 0x36, 0xad, + 0xe4, 0x0b, 0x6b, 0x35, 0x0d, 0x08, 0xe5, 0x80, 0xd4, 0x2d, 0x29, 0x8d, 0xd4, 0x22, 0x34, 0x71, + 0x85, 0xc4, 0xc5, 0x1a, 0xdb, 0xd3, 0xf1, 0x8a, 0xdd, 0x1d, 0x6b, 0x67, 0x9c, 0x38, 0x37, 0x4e, + 0x88, 0x23, 0x27, 0x0e, 0x9c, 0x38, 0xc3, 0x1f, 0xe9, 0x01, 0x89, 0x1c, 0x7b, 0x40, 0x06, 0x92, + 0x5b, 0x8f, 0xf9, 0x05, 0x68, 0xde, 0xac, 0xbd, 0x1b, 0x90, 0x2b, 0x6e, 0xef, 0x7b, 0xef, 0xcd, + 0x9b, 0xf7, 0xbe, 0xf7, 0xcd, 0x2e, 0xda, 0x1d, 0x0a, 0x99, 0x08, 0xd9, 0x1d, 0x50, 0xc9, 0xba, + 0x74, 0x30, 0x8c, 0xba, 0x27, 0xf7, 0x07, 0x4c, 0xd1, 0xfb, 0x00, 0x82, 0x49, 0x26, 0x94, 0xc0,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2, 0x68, 0xee, + 0xdb, 0x3f, 0xda, 0x96, 0x9f, 0xa1, 0x66, 0x29, 0xaa, 0x99, 0xd7, 0x4a, 0x84, 0x9e, 0x1c, 0x02, + 0x36, 0x3e, 0x42, 0x88, 0x2a, 0x95, 0x45, 0x83, 0xa9, 0x62, 0xd2, 0xad, 0x42, 0x07, 0xbb, 0x6f, + 0x58, 0xf5, 0x22, 0x37, 0x27, 0xa3, 0x74, 0x38, 0xbf, 0xf3, 0x01, 0x72, 0x96, 0x49, 0x7a, 0xda, + 0x6f, 0xd8, 0x59, 0x7e, 0xa1, 0x36, 0xf1, 0x26, 0xba, 0x71, 0x42, 0xe3, 0x29, 0xcb, 0x19, 0x30, + 0xc0, 0xff, 0xd5, 0x42, 0x8d, 0xcf, 0xa9, 0x3c, 0xd2, 0x5a, 0xd8, 0xbf, 0xa6, 0x05, 0x7d, 0xb4, + 0x1e, 0xbe, 0x7b, 0x35, 0xf7, 0xde, 0x39, 0xa3, 0x49, 0x7c, 0xe0, 0x17, 0x31, 0xbf, 0x2c, 0x91, + 0xa0, 0x24, 0x91, 0x2a, 0x9c, 0xb9, 0x75, 0x35, 0xf7, 0x36, 0x8a, 0x33, 0x3a, 0xe2, 0x17, 0xba, + 0x39, 0x40, 0xeb, 0xda, 0xcb, 0xa4, 0x8a, 0x12, 0xaa, 0xcc, 0xf3, 0xa9, 0x87, 0x5b, 0x57, 0x73, + 0xef, 0x56, 0x71, 0x66, 0x11, 0xf5, 0x49, 0x93, 0x53, 0x79, 0xb8, 0x40, 0xdf, 0x59, 0xc8, 0x26, + 0x4c, 0x4e, 0x63, 0xb5, 0x7c, 0x50, 0xba, 0xcd, 0xf5, 0xfc, 0x41, 0xfd, 0x77, 0xc5, 0xfb, 0xff, + 0x5a, 0xf1, 0xff, 0x12, 0x18, 0xde, 0x41, 0x6b, 0xec, 0x24, 0x39, 0xcc, 0x32, 0x91, 0xc1, 0x23, + 0x76, 0xc8, 0x12, 0xe7, 0xe2, 0xfb, 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x20, 0x80, 0x7a, 0xb8, 0xfb, + 0x7a, 0xee, 0x95, 0xbc, 0xc5, 0xab, 0x28, 0x7c, 0x3e, 0x71, 0x34, 0xe8, 0x69, 0x5b, 0x77, 0x18, + 0x47, 0x49, 0xa4, 0xe0, 0x83, 0x5f, 0x27, 0x06, 0xe0, 0x8f, 0x51, 0x4d, 0xcd, 0xa4, 0x6b, 0x03, + 0x9f, 0x77, 0x57, 0xf3, 0x59, 0xfc, 0xa6, 0x88, 0x3e, 0x60, 0x18, 0x0d, 0xbf, 0x7c, 0xf5, 0x77, + 0xab, 0xf2, 0xf2, 0xa2, 0x65, 0x9d, 0x5f, 0xb4, 0xac, 0xbf, 0x2e, 0x5a, 0xd6, 0x0f, 0x97, 0xad, + 0xca, 0xf9, 0x65, 0xab, 0xf2, 0xea, 0xb2, 0x55, 0xf9, 0x7a, 0x8f, 0x47, 0x6a, 0x3c, 0x1d, 0x04, + 0x43, 0x91, 0x74, 0x25, 0x8b, 0x3e, 0x84, 0x4f, 0xf1, 0x50, 0xc4, 0x00, 0x86, 0x63, 0x1a, 0xa5, + 0xc6, 0x32, 0x7f, 0x64, 0xf8, 0x31, 0x0e, 0x6c, 0x48, 0x7a, 0xf0, 0x4f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x1a, 0x30, 0x19, 0xba, 0xa8, 0x07, 0x00, 0x00, } func (m *TxResponse) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/types/address.go b/sei-cosmos/types/address.go index 2761eb68d8..a9faf2937c 100644 --- a/sei-cosmos/types/address.go +++ b/sei-cosmos/types/address.go @@ -12,11 +12,11 @@ import ( simplelru "github.com/hashicorp/golang-lru/v2/simplelru" yaml "gopkg.in/yaml.v2" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/internal/conv" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/types/bech32" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/internal/conv" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/bech32" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const ( @@ -196,7 +196,7 @@ func (aa AccAddress) Equals(aa2 Address) bool { // Returns boolean for whether an AccAddress is empty func (aa AccAddress) Empty() bool { - return aa == nil || len(aa) == 0 + return len(aa) == 0 } // Marshal returns the raw address bytes. It is needed for protobuf @@ -291,11 +291,11 @@ func (aa AccAddress) String() string { func (aa AccAddress) Format(s fmt.State, verb rune) { switch verb { case 's': - s.Write([]byte(aa.String())) + _, _ = s.Write([]byte(aa.String())) case 'p': - s.Write([]byte(fmt.Sprintf("%p", aa))) + _, _ = fmt.Fprintf(s, "%p", aa) default: - s.Write([]byte(fmt.Sprintf("%X", []byte(aa)))) + _, _ = fmt.Fprintf(s, "%X", []byte(aa)) } } @@ -345,7 +345,7 @@ func (va ValAddress) Equals(va2 Address) bool { // Returns boolean for whether an AccAddress is empty func (va ValAddress) Empty() bool { - return va == nil || len(va) == 0 + return len(va) == 0 } // Marshal returns the raw address bytes. It is needed for protobuf @@ -441,11 +441,11 @@ func (va ValAddress) String() string { func (va ValAddress) Format(s fmt.State, verb rune) { switch verb { case 's': - s.Write([]byte(va.String())) + _, _ = s.Write([]byte(va.String())) case 'p': - s.Write([]byte(fmt.Sprintf("%p", va))) + _, _ = fmt.Fprintf(s, "%p", va) default: - s.Write([]byte(fmt.Sprintf("%X", []byte(va)))) + _, _ = fmt.Fprintf(s, "%X", []byte(va)) } } @@ -500,7 +500,7 @@ func (ca ConsAddress) Equals(ca2 Address) bool { // Returns boolean for whether an ConsAddress is empty func (ca ConsAddress) Empty() bool { - return ca == nil || len(ca) == 0 + return len(ca) == 0 } // Marshal returns the raw address bytes. It is needed for protobuf @@ -620,11 +620,11 @@ func MustBech32ifyAddressBytes(prefix string, bs []byte) string { func (ca ConsAddress) Format(s fmt.State, verb rune) { switch verb { case 's': - s.Write([]byte(ca.String())) + _, _ = s.Write([]byte(ca.String())) case 'p': - s.Write([]byte(fmt.Sprintf("%p", ca))) + _, _ = fmt.Fprintf(s, "%p", ca) default: - s.Write([]byte(fmt.Sprintf("%X", []byte(ca)))) + _, _ = fmt.Fprintf(s, "%X", []byte(ca)) } } diff --git a/sei-cosmos/types/address/hash.go b/sei-cosmos/types/address/hash.go index 2e5496897a..83475103fd 100644 --- a/sei-cosmos/types/address/hash.go +++ b/sei-cosmos/types/address/hash.go @@ -6,8 +6,8 @@ import ( "fmt" "sort" - "github.com/cosmos/cosmos-sdk/internal/conv" - "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/internal/conv" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Len is the length of base addresses diff --git a/sei-cosmos/types/address/store_key.go b/sei-cosmos/types/address/store_key.go index 9484919729..93d25978fd 100644 --- a/sei-cosmos/types/address/store_key.go +++ b/sei-cosmos/types/address/store_key.go @@ -1,7 +1,7 @@ package address import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // MaxAddrLen is the maximum allowed length (in bytes) for an address. diff --git a/sei-cosmos/types/address/store_key_test.go b/sei-cosmos/types/address/store_key_test.go index ac28f814cc..db60f6dc2d 100644 --- a/sei-cosmos/types/address/store_key_test.go +++ b/sei-cosmos/types/address/store_key_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" ) func TestStoreKeySuite(t *testing.T) { diff --git a/sei-cosmos/types/address_race_test.go b/sei-cosmos/types/address_race_test.go index c603df9762..6d7f3f38b3 100644 --- a/sei-cosmos/types/address_race_test.go +++ b/sei-cosmos/types/address_race_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // generates AccAddress with `prefix` and calls String method diff --git a/sei-cosmos/types/address_test.go b/sei-cosmos/types/address_test.go index e872812660..91f82d87a6 100644 --- a/sei-cosmos/types/address_test.go +++ b/sei-cosmos/types/address_test.go @@ -12,11 +12,11 @@ import ( "github.com/stretchr/testify/suite" "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/bech32/legacybech32" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/bech32/legacybech32" ) type addressTestSuite struct { diff --git a/sei-cosmos/types/bech32/bech32_test.go b/sei-cosmos/types/bech32/bech32_test.go index ba2beb7832..8de4ccd1cb 100644 --- a/sei-cosmos/types/bech32/bech32_test.go +++ b/sei-cosmos/types/bech32/bech32_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/types/bech32" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/bech32" ) func TestEncodeAndDecode(t *testing.T) { diff --git a/sei-cosmos/types/bech32/legacybech32/pk.go b/sei-cosmos/types/bech32/legacybech32/pk.go index 114e05944f..ff4aeb9634 100644 --- a/sei-cosmos/types/bech32/legacybech32/pk.go +++ b/sei-cosmos/types/bech32/legacybech32/pk.go @@ -3,10 +3,10 @@ package legacybech32 import ( - "github.com/cosmos/cosmos-sdk/codec/legacy" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/bech32" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/bech32" ) // TODO: when removing this package remove: diff --git a/sei-cosmos/types/bech32/legacybech32/pk_bench_test.go b/sei-cosmos/types/bech32/legacybech32/pk_bench_test.go index 087b2da3d3..f66286940e 100644 --- a/sei-cosmos/types/bech32/legacybech32/pk_bench_test.go +++ b/sei-cosmos/types/bech32/legacybech32/pk_bench_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" ) func BenchmarkAccAddressString(b *testing.B) { diff --git a/sei-cosmos/types/bech32/legacybech32/pk_test.go b/sei-cosmos/types/bech32/legacybech32/pk_test.go index 3126eff158..065be58a57 100644 --- a/sei-cosmos/types/bech32/legacybech32/pk_test.go +++ b/sei-cosmos/types/bech32/legacybech32/pk_test.go @@ -1,3 +1,5 @@ +//go:build ledger || test_ledger_mock + package legacybech32 import ( @@ -5,10 +7,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/ledger" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/ledger" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestBeach32ifPbKey(t *testing.T) { diff --git a/sei-cosmos/types/bench_test.go b/sei-cosmos/types/bench_test.go index e9ed9fa12b..c7fd14e11c 100644 --- a/sei-cosmos/types/bench_test.go +++ b/sei-cosmos/types/bench_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var coinStrs = []string{ diff --git a/sei-cosmos/types/codec.go b/sei-cosmos/types/codec.go index 69202d488f..a214f57032 100644 --- a/sei-cosmos/types/codec.go +++ b/sei-cosmos/types/codec.go @@ -1,8 +1,8 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) const ( diff --git a/sei-cosmos/types/coin.pb.go b/sei-cosmos/types/coin.pb.go index df8d34d4f9..fa8135ee35 100644 --- a/sei-cosmos/types/coin.pb.go +++ b/sei-cosmos/types/coin.pb.go @@ -203,7 +203,7 @@ func init() { func init() { proto.RegisterFile("cosmos/base/v1beta1/coin.proto", fileDescriptor_189a96714eafc2df) } var fileDescriptor_189a96714eafc2df = []byte{ - // 261 bytes of a gzipped FileDescriptorProto + // 272 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x4a, 0x2c, 0x4e, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0xce, 0xcf, 0xcc, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0xc8, 0xeb, 0x81, @@ -215,12 +215,12 @@ var fileDescriptor_189a96714eafc2df = []byte{ 0x2f, 0x2e, 0x76, 0x97, 0xd4, 0x64, 0x72, 0xcc, 0x72, 0x49, 0x4d, 0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x62, 0x03, + 0x2b, 0x32, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x12, 0xc7, 0x8e, 0xe3, 0x94, 0x01, 0x00, 0x00, } func (this *Coin) Equal(that interface{}) bool { diff --git a/sei-cosmos/types/coin_test.go b/sei-cosmos/types/coin_test.go index 8d77a08e92..f1e55b41c3 100644 --- a/sei-cosmos/types/coin_test.go +++ b/sei-cosmos/types/coin_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( @@ -1015,12 +1015,12 @@ func (s *coinTestSuite) TestMarshalJSONCoins() { } for _, tc := range testCases { - bz, err := cdc.MarshalJSON(tc.input) + bz, err := cdc.MarshalAsJSON(tc.input) s.Require().NoError(err) s.Require().Equal(tc.strOutput, string(bz)) var newCoins sdk.Coins - s.Require().NoError(cdc.UnmarshalJSON(bz, &newCoins)) + s.Require().NoError(cdc.UnmarshalAsJSON(bz, &newCoins)) if tc.input.Empty() { s.Require().Nil(newCoins) diff --git a/sei-cosmos/types/config.go b/sei-cosmos/types/config.go index 20dda66a4b..a1860460ac 100644 --- a/sei-cosmos/types/config.go +++ b/sei-cosmos/types/config.go @@ -5,7 +5,7 @@ import ( "fmt" "sync" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" ) // DefaultKeyringServiceName defines a default service name for the keyring. diff --git a/sei-cosmos/types/config_test.go b/sei-cosmos/types/config_test.go index df281b1f85..ce5c7ac13f 100644 --- a/sei-cosmos/types/config_test.go +++ b/sei-cosmos/types/config_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type configTestSuite struct { diff --git a/sei-cosmos/types/context.go b/sei-cosmos/types/context.go index 907d16eb50..883cf22680 100644 --- a/sei-cosmos/types/context.go +++ b/sei-cosmos/types/context.go @@ -11,8 +11,8 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/store/gaskv" - stypes "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/gaskv" + stypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) /* diff --git a/sei-cosmos/types/context_test.go b/sei-cosmos/types/context_test.go index 4a22bcf195..3b850d00e0 100644 --- a/sei-cosmos/types/context_test.go +++ b/sei-cosmos/types/context_test.go @@ -12,10 +12,10 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/tests/mocks" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/tests/mocks" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type contextTestSuite struct { diff --git a/sei-cosmos/types/dec_coin_test.go b/sei-cosmos/types/dec_coin_test.go index 49d29b451d..ade744d5f7 100644 --- a/sei-cosmos/types/dec_coin_test.go +++ b/sei-cosmos/types/dec_coin_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type decCoinTestSuite struct { diff --git a/sei-cosmos/types/decimal_internal_test.go b/sei-cosmos/types/decimal_internal_test.go index 6127267853..43968d8071 100644 --- a/sei-cosmos/types/decimal_internal_test.go +++ b/sei-cosmos/types/decimal_internal_test.go @@ -23,20 +23,20 @@ func (s *decimalInternalTestSuite) TestPrecisionMultiplier() { func (s *decimalInternalTestSuite) TestZeroDeserializationJSON() { d := Dec{new(big.Int)} - err := cdc.UnmarshalJSON([]byte(`"0"`), &d) + err := cdc.UnmarshalAsJSON([]byte(`"0"`), &d) s.Require().Nil(err) - err = cdc.UnmarshalJSON([]byte(`"{}"`), &d) + err = cdc.UnmarshalAsJSON([]byte(`"{}"`), &d) s.Require().NotNil(err) } func (s *decimalInternalTestSuite) TestSerializationGocodecJSON() { d := MustNewDecFromStr("0.333") - bz, err := cdc.MarshalJSON(d) + bz, err := cdc.MarshalAsJSON(d) s.Require().NoError(err) d2 := Dec{new(big.Int)} - err = cdc.UnmarshalJSON(bz, &d2) + err = cdc.UnmarshalAsJSON(bz, &d2) s.Require().NoError(err) s.Require().True(d.Equal(d2), "original: %v, unmarshalled: %v", d, d2) } diff --git a/sei-cosmos/types/decimal_test.go b/sei-cosmos/types/decimal_test.go index 4ef65b4c2d..e374463bda 100644 --- a/sei-cosmos/types/decimal_test.go +++ b/sei-cosmos/types/decimal_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/suite" "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type decimalTestSuite struct { diff --git a/sei-cosmos/types/errors/abci.go b/sei-cosmos/types/errors/abci.go index 5230adb321..b39eccc8f3 100644 --- a/sei-cosmos/types/errors/abci.go +++ b/sei-cosmos/types/errors/abci.go @@ -2,6 +2,7 @@ package errors import ( "fmt" + "math" "reflect" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" @@ -19,6 +20,14 @@ const ( internalABCICode uint32 = 1 ) +// safeIntFromUint64 converts uint64 to int64, capping at math.MaxInt64 to prevent overflow. +func safeIntFromUint64(v uint64) int64 { + if v > math.MaxInt64 { + return math.MaxInt64 + } + return int64(v) +} + // ABCIInfo returns the ABCI error information as consumed by the tendermint // client. Returned codespace, code, and log message should be used as a ABCI response. // Any error that does not provide ABCICode information is categorized as error @@ -46,7 +55,7 @@ func ResponseCheckTx(err error, gw, gu uint64, debug bool) abci.ResponseCheckTx return abci.ResponseCheckTx{ Codespace: space, Code: code, - GasWanted: int64(gw), + GasWanted: safeIntFromUint64(gw), } } @@ -58,8 +67,8 @@ func ResponseDeliverTx(err error, gw, gu uint64, debug bool) abci.ResponseDelive Codespace: space, Code: code, Log: log, - GasWanted: int64(gw), - GasUsed: int64(gu), + GasWanted: safeIntFromUint64(gw), + GasUsed: safeIntFromUint64(gu), } } @@ -71,8 +80,8 @@ func ResponseDeliverTxWithEvents(err error, gw, gu uint64, events []abci.Event, Codespace: space, Code: code, Log: log, - GasWanted: int64(gw), - GasUsed: int64(gu), + GasWanted: safeIntFromUint64(gw), + GasUsed: safeIntFromUint64(gu), Events: events, } } diff --git a/sei-cosmos/types/errors/abci_test.go b/sei-cosmos/types/errors/abci_test.go index 141974843e..797401dc81 100644 --- a/sei-cosmos/types/errors/abci_test.go +++ b/sei-cosmos/types/errors/abci_test.go @@ -125,7 +125,7 @@ func (s *abciTestSuite) TestABCIInfoStacktrace() { }, } - const thisTestSrc = "github.com/cosmos/cosmos-sdk/types/errors.(*abciTestSuite).TestABCIInfoStacktrace" + const thisTestSrc = "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors.(*abciTestSuite).TestABCIInfoStacktrace" for testName, tc := range cases { s.T().Run(testName, func(t *testing.T) { diff --git a/sei-cosmos/types/errors/stacktrace.go b/sei-cosmos/types/errors/stacktrace.go index 8b2edc5f4d..85c2ea3393 100644 --- a/sei-cosmos/types/errors/stacktrace.go +++ b/sei-cosmos/types/errors/stacktrace.go @@ -48,9 +48,9 @@ func trimInternal(st errors.StackTrace) errors.StackTrace { // manual error creation, or runtime for caught panics for matchesFunc(st[0], // where we create errors - "github.com/cosmos/cosmos-sdk/types/errors.Wrap", - "github.com/cosmos/cosmos-sdk/types/errors.Wrapf", - "github.com/cosmos/cosmos-sdk/types/errors.WithType", + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors.Wrap", + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors.Wrapf", + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors.WithType", // runtime are added on panics "runtime.", // _test is defined in coverage tests, causing failure @@ -73,7 +73,7 @@ func writeSimpleFrame(s io.Writer, f errors.Frame) { if len(chunks) == 2 { file = chunks[1] } - fmt.Fprintf(s, " [%s:%d]", file, line) + _, _ = fmt.Fprintf(s, " [%s:%d]", file, line) } // Format works like pkg/errors, with additions. @@ -87,16 +87,16 @@ func writeSimpleFrame(s io.Writer, f errors.Frame) { func (e *wrappedError) Format(s fmt.State, verb rune) { // normal output here.... if verb != 'v' { - fmt.Fprint(s, e.Error()) + _, _ = fmt.Fprint(s, e.Error()) return } // work with the stack trace... whole or part stack := trimInternal(stackTrace(e)) if s.Flag('+') { - fmt.Fprintf(s, "%+v\n", stack) - fmt.Fprint(s, e.Error()) + _, _ = fmt.Fprintf(s, "%+v\n", stack) + _, _ = fmt.Fprint(s, e.Error()) } else { - fmt.Fprint(s, e.Error()) + _, _ = fmt.Fprint(s, e.Error()) writeSimpleFrame(s, stack[0]) } } diff --git a/sei-cosmos/types/errors/stacktrace_test.go b/sei-cosmos/types/errors/stacktrace_test.go index 06eb829f0f..2380cfed72 100644 --- a/sei-cosmos/types/errors/stacktrace_test.go +++ b/sei-cosmos/types/errors/stacktrace_test.go @@ -32,8 +32,8 @@ func (s *errorsTestSuite) TestStackTrace() { // Wrapping code is unwanted in the errors stack trace. unwantedSrc := []string{ - "github.com/cosmos/cosmos-sdk/types/errors.Wrap\n", - "github.com/cosmos/cosmos-sdk/types/errors.Wrapf\n", + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors.Wrap\n", + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors.Wrapf\n", "runtime.goexit\n", } const thisTestSrc = "types/errors/stacktrace_test.go" diff --git a/sei-cosmos/types/events.go b/sei-cosmos/types/events.go index 2317720a9c..f93d57be3f 100644 --- a/sei-cosmos/types/events.go +++ b/sei-cosmos/types/events.go @@ -16,7 +16,7 @@ import ( proto "github.com/gogo/protobuf/proto" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" ) // ---------------------------------------------------------------------------- @@ -160,7 +160,7 @@ func ParseTypedEvent(event abci.Event) (proto.Message, error) { attrMap := make(map[string]json.RawMessage) for _, attr := range event.Attributes { - attrMap[string(attr.Key)] = []byte(attr.Value) + attrMap[string(attr.Key)] = attr.Value } attrBytes, err := json.Marshal(attrMap) diff --git a/sei-cosmos/types/events_test.go b/sei-cosmos/types/events_test.go index e2fa6b2e1b..3551b26a1c 100644 --- a/sei-cosmos/types/events_test.go +++ b/sei-cosmos/types/events_test.go @@ -8,9 +8,9 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/stretchr/testify/suite" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - testdata "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + testdata "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type eventsTestSuite struct { diff --git a/sei-cosmos/types/genesis/genesis.go b/sei-cosmos/types/genesis/genesis.go index d7bc04f1cf..787128908d 100644 --- a/sei-cosmos/types/genesis/genesis.go +++ b/sei-cosmos/types/genesis/genesis.go @@ -6,6 +6,7 @@ import ( "fmt" "io" "os" + "path/filepath" "strings" ) @@ -22,12 +23,12 @@ func IngestGenesisFileLineByLine(filename string) <-chan string { go func() { defer close(lines) - file, err := os.Open(filename) + file, err := os.Open(filepath.Clean(filename)) if err != nil { fmt.Println("Error opening file:", err) return } - defer file.Close() + defer func() { _ = file.Close() }() reader := bufio.NewReader(file) diff --git a/sei-cosmos/types/handler_test.go b/sei-cosmos/types/handler_test.go index 14803d292f..0da0f8d2c4 100644 --- a/sei-cosmos/types/handler_test.go +++ b/sei-cosmos/types/handler_test.go @@ -6,8 +6,8 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/tests/mocks" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/tests/mocks" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type handlerTestSuite struct { diff --git a/sei-cosmos/types/int_test.go b/sei-cosmos/types/int_test.go index a6ec8c6d48..699d7d5615 100644 --- a/sei-cosmos/types/int_test.go +++ b/sei-cosmos/types/int_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type intTestSuite struct { diff --git a/sei-cosmos/types/invariant_test.go b/sei-cosmos/types/invariant_test.go index dc6fbcf6a9..28e7800ceb 100644 --- a/sei-cosmos/types/invariant_test.go +++ b/sei-cosmos/types/invariant_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type invariantTestSuite struct { diff --git a/sei-cosmos/types/kv/kv.pb.go b/sei-cosmos/types/kv/kv.pb.go index eedb948bf5..7d1882dca1 100644 --- a/sei-cosmos/types/kv/kv.pb.go +++ b/sei-cosmos/types/kv/kv.pb.go @@ -129,7 +129,7 @@ func init() { func init() { proto.RegisterFile("cosmos/base/kv/v1beta1/kv.proto", fileDescriptor_a44e87fe7182bb73) } var fileDescriptor_a44e87fe7182bb73 = []byte{ - // 221 bytes of a gzipped FileDescriptorProto + // 232 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x4a, 0x2c, 0x4e, 0xd5, 0xcf, 0x2e, 0xd3, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0xcf, 0x2e, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x83, 0x28, 0xd0, @@ -139,11 +139,12 @@ var fileDescriptor_a44e87fe7182bb73 = []byte{ 0xe8, 0x81, 0x54, 0x3b, 0xb1, 0x9c, 0xb8, 0x27, 0xcf, 0x10, 0x04, 0xd1, 0xa0, 0xa4, 0xc7, 0xc5, 0x02, 0x12, 0x14, 0x12, 0xe0, 0x62, 0xce, 0x4e, 0xad, 0x94, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x09, 0x02, 0x31, 0x85, 0x44, 0xb8, 0x58, 0xcb, 0x12, 0x73, 0x4a, 0x53, 0x25, 0x98, 0xc0, 0x62, 0x10, - 0x8e, 0x93, 0xfd, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, - 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xa9, 0xa6, 0x67, - 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0xbd, 0x09, 0xa1, 0x74, 0x8b, 0x53, - 0xb2, 0xf5, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0xf5, 0xb3, 0xcb, 0x92, 0xd8, 0xc0, 0x4e, 0x37, 0x06, - 0x04, 0x00, 0x00, 0xff, 0xff, 0x15, 0x18, 0x16, 0xcf, 0x0b, 0x01, 0x00, 0x00, + 0x8e, 0x93, 0xff, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, + 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x99, 0xa6, 0x67, + 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x17, 0xa7, 0x66, 0xea, 0x82, 0x9d, 0x98, + 0x9c, 0x9f, 0x03, 0xe6, 0x24, 0x67, 0x24, 0x66, 0xe6, 0x41, 0x58, 0x90, 0x10, 0x28, 0xa9, 0x2c, + 0x48, 0x2d, 0xd6, 0xcf, 0x2e, 0x4b, 0x62, 0x03, 0xab, 0x33, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, + 0xf1, 0x07, 0xdb, 0xfc, 0x1b, 0x01, 0x00, 0x00, } func (m *Pairs) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/types/module/configurator.go b/sei-cosmos/types/module/configurator.go index 5d2a6d30e2..4ab668f165 100644 --- a/sei-cosmos/types/module/configurator.go +++ b/sei-cosmos/types/module/configurator.go @@ -5,9 +5,9 @@ import ( "github.com/gogo/protobuf/grpc" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Configurator provides the hooks to allow modules to configure and register diff --git a/sei-cosmos/types/module/module.go b/sei-cosmos/types/module/module.go index 27f3a3887f..c4967c628a 100644 --- a/sei-cosmos/types/module/module.go +++ b/sei-cosmos/types/module/module.go @@ -34,18 +34,18 @@ import ( "sort" "time" - "github.com/cosmos/cosmos-sdk/telemetry" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - genesistypes "github.com/cosmos/cosmos-sdk/types/genesis" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + genesistypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/genesis" ) // AppModuleBasic is the standard form for basic non-dependant elements of an application module. diff --git a/sei-cosmos/types/module/module_int_test.go b/sei-cosmos/types/module/module_int_test.go index 3301a9926d..5c3a8dee64 100644 --- a/sei-cosmos/types/module/module_int_test.go +++ b/sei-cosmos/types/module/module_int_test.go @@ -15,7 +15,7 @@ type TestSuite struct { suite.Suite } -func (s TestSuite) TestAssertNoForgottenModules() { +func (s *TestSuite) TestAssertNoForgottenModules() { m := Manager{ Modules: map[string]AppModule{"a": nil, "b": nil}, } @@ -37,7 +37,7 @@ func (s TestSuite) TestAssertNoForgottenModules() { } } -func (s TestSuite) TestModuleNames() { +func (s *TestSuite) TestModuleNames() { m := Manager{ Modules: map[string]AppModule{"a": nil, "b": nil}, } @@ -46,7 +46,7 @@ func (s TestSuite) TestModuleNames() { s.Require().Equal([]string{"a", "b"}, ms) } -func (s TestSuite) TestDefaultMigrationsOrder() { +func (s *TestSuite) TestDefaultMigrationsOrder() { require := s.Require() require.Equal( []string{"auth2", "d", "z", "auth"}, diff --git a/sei-cosmos/types/module/module_test.go b/sei-cosmos/types/module/module_test.go index 1e2bff8006..c74b07a00e 100644 --- a/sei-cosmos/types/module/module_test.go +++ b/sei-cosmos/types/module/module_test.go @@ -7,7 +7,7 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" "github.com/golang/mock/gomock" "github.com/gorilla/mux" @@ -15,12 +15,12 @@ import ( "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/tests/mocks" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/genesis" - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/tests/mocks" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/genesis" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" ) var errFoo = errors.New("dummy") diff --git a/sei-cosmos/types/module/simulation.go b/sei-cosmos/types/module/simulation.go index 7edc90cde3..2a694f892b 100644 --- a/sei-cosmos/types/module/simulation.go +++ b/sei-cosmos/types/module/simulation.go @@ -7,9 +7,9 @@ import ( "sort" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" ) // AppModuleSimulation defines the standard functions that every module should expose diff --git a/sei-cosmos/types/module/testutil/codec.go b/sei-cosmos/types/module/testutil/codec.go index 3011efdae9..3a23285ed2 100644 --- a/sei-cosmos/types/module/testutil/codec.go +++ b/sei-cosmos/types/module/testutil/codec.go @@ -1,12 +1,12 @@ package testutil import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/std" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/std" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" ) // TestEncodingConfig defines an encoding configuration that is used for testing diff --git a/sei-cosmos/types/msgservice/msg_service.go b/sei-cosmos/types/msgservice/msg_service.go index 382913590c..c3f2012fb4 100644 --- a/sei-cosmos/types/msgservice/msg_service.go +++ b/sei-cosmos/types/msgservice/msg_service.go @@ -6,8 +6,8 @@ import ( "google.golang.org/grpc" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // RegisterMsgServiceDesc registers all type_urls from Msg services described diff --git a/sei-cosmos/types/query/filtered_pagination.go b/sei-cosmos/types/query/filtered_pagination.go index 200d1493f4..950733d552 100644 --- a/sei-cosmos/types/query/filtered_pagination.go +++ b/sei-cosmos/types/query/filtered_pagination.go @@ -3,8 +3,8 @@ package query import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) // FilteredPaginate does pagination of all the results in the PrefixStore based on the @@ -45,7 +45,7 @@ func FilteredPaginate( if len(key) != 0 { iterator := getIterator(prefixStore, key, reverse) - defer iterator.Close() + defer func() { _ = iterator.Close() }() var ( numHits uint64 @@ -78,7 +78,7 @@ func FilteredPaginate( } iterator := getIterator(prefixStore, nil, reverse) - defer iterator.Close() + defer func() { _ = iterator.Close() }() end := offset + limit @@ -144,7 +144,7 @@ func GenericFilteredPaginate[T codec.ProtoMarshaler, F codec.ProtoMarshaler]( limit := pageRequest.Limit countTotal := pageRequest.CountTotal reverse := pageRequest.Reverse - results := []F{} + var results []F if offset > 0 && key != nil { return results, nil, fmt.Errorf("invalid request, either offset or key is expected, got both") @@ -159,7 +159,7 @@ func GenericFilteredPaginate[T codec.ProtoMarshaler, F codec.ProtoMarshaler]( if len(key) != 0 { iterator := getIterator(prefixStore, key, reverse) - defer iterator.Close() + defer func() { _ = iterator.Close() }() var ( numHits uint64 @@ -200,7 +200,7 @@ func GenericFilteredPaginate[T codec.ProtoMarshaler, F codec.ProtoMarshaler]( } iterator := getIterator(prefixStore, nil, reverse) - defer iterator.Close() + defer func() { _ = iterator.Close() }() end := offset + limit diff --git a/sei-cosmos/types/query/filtered_pagination_test.go b/sei-cosmos/types/query/filtered_pagination_test.go index cfe1e8dc9d..7104e4416b 100644 --- a/sei-cosmos/types/query/filtered_pagination_test.go +++ b/sei-cosmos/types/query/filtered_pagination_test.go @@ -3,13 +3,13 @@ package query_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/sei-protocol/sei-chain/app/apptesting" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) var addr1 = sdk.AccAddress([]byte("addr1")) diff --git a/sei-cosmos/types/query/pagination.go b/sei-cosmos/types/query/pagination.go index 3244e28325..3492fb05a8 100644 --- a/sei-cosmos/types/query/pagination.go +++ b/sei-cosmos/types/query/pagination.go @@ -4,11 +4,10 @@ import ( "fmt" "math" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" db "github.com/tendermint/tm-db" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - - "github.com/cosmos/cosmos-sdk/store/types" ) // DefaultLimit is the default `limit` for queries @@ -25,8 +24,8 @@ func ParsePagination(pageReq *PageRequest) (page, limit int, err error) { limit = DefaultLimit if pageReq != nil { - offset = int(pageReq.Offset) - limit = int(pageReq.Limit) + offset = int(pageReq.Offset) // #nosec G115 -- overflow checked below + limit = int(pageReq.Limit) // #nosec G115 -- overflow checked below } if offset < 0 { return 1, 0, status.Error(codes.InvalidArgument, "offset must greater than 0") @@ -75,7 +74,7 @@ func Paginate( if len(key) != 0 { iterator := getIterator(prefixStore, key, reverse) - defer iterator.Close() + defer func() { _ = iterator.Close() }() var count uint64 var nextKey []byte @@ -103,7 +102,7 @@ func Paginate( } iterator := getIterator(prefixStore, nil, reverse) - defer iterator.Close() + defer func() { _ = iterator.Close() }() end := offset + limit @@ -146,7 +145,7 @@ func getIterator(prefixStore types.KVStore, start []byte, reverse bool) db.Itera var end []byte if start != nil { itr := prefixStore.Iterator(start, nil) - defer itr.Close() + defer func() { _ = itr.Close() }() if itr.Valid() { itr.Next() end = itr.Key() diff --git a/sei-cosmos/types/query/pagination.pb.go b/sei-cosmos/types/query/pagination.pb.go index 742c760fba..5062b0f105 100644 --- a/sei-cosmos/types/query/pagination.pb.go +++ b/sei-cosmos/types/query/pagination.pb.go @@ -193,25 +193,26 @@ func init() { } var fileDescriptor_53d6d609fe6828af = []byte{ - // 282 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0xbd, 0x4e, 0xc3, 0x30, - 0x14, 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0xb0, 0x25, 0x9d, 0xe5, 0xf0, 0x8e, 0xdb, - 0xff, 0x3c, 0xd3, 0x8e, 0x1f, 0xa1, 0xee, 0x6e, 0xbb, 0xfd, 0x2e, 0x92, 0x83, 0xcd, 0xe6, 0xab, - 0x11, 0xe4, 0xdc, 0x08, 0xf2, 0xd3, 0x08, 0xf2, 0xd9, 0x8a, 0xc1, 0xb9, 0x15, 0x83, 0xef, 0x56, - 0x0c, 0x5e, 0xfc, 0x24, 0xc5, 0xb7, 0x2a, 0x0a, 0x62, 0x9d, 0xc9, 0xbe, 0x37, 0xf7, 0xdc, 0x99, - 0xd7, 0xbd, 0xc4, 0xba, 0x00, 0xe3, 0x3a, 0x8c, 0x26, 0xb6, 0xb1, 0xfb, 0xdf, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x3d, 0x43, 0x85, 0xf7, 0x5f, 0x01, 0x00, 0x00, + // 289 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0xbf, 0x6a, 0xf3, 0x30, + 0x14, 0xc5, 0xa3, 0x2f, 0x7f, 0x51, 0x32, 0x7c, 0x88, 0x52, 0x94, 0x45, 0x0d, 0x99, 0x4c, 0xa1, + 0x36, 0xa1, 0x4b, 0xb7, 0x42, 0xd7, 0x2e, 0xc5, 0x74, 0xea, 0x12, 0x64, 0x73, 0xe3, 0x88, 0xda, + 0x92, 0x63, 0x5d, 0x87, 0xfa, 0x0d, 0x3a, 0xf6, 0xb1, 0x3a, 0x66, 0xec, 0x58, 0xec, 0x17, 0x29, + 0x96, 0x52, 0xba, 0xdd, 0xdf, 0xf1, 0x0f, 0xeb, 0x70, 0xe8, 0x75, 0x6a, 0x6c, 0x61, 0x6c, 0x94, + 0x48, 0x0b, 0xd1, 0xa1, 0x86, 0xaa, 0x89, 0x8e, 0x9b, 0x04, 0x50, 0x6e, 0xa2, 0x52, 0x66, 0x4a, + 0x4b, 0x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 0x00, 0xff, 0xff, 0x85, 0xb9, 0x8b, 0x86, 0x6f, 0x01, 0x00, + 0x00, } func (m *PageRequest) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/types/query/pagination_test.go b/sei-cosmos/types/query/pagination_test.go index 0e254007e7..7bb5023810 100644 --- a/sei-cosmos/types/query/pagination_test.go +++ b/sei-cosmos/types/query/pagination_test.go @@ -11,13 +11,13 @@ import ( "github.com/stretchr/testify/suite" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) const ( diff --git a/sei-cosmos/types/rest/rest.go b/sei-cosmos/types/rest/rest.go index dd92e90082..04184376bb 100644 --- a/sei-cosmos/types/rest/rest.go +++ b/sei-cosmos/types/rest/rest.go @@ -7,18 +7,17 @@ import ( "encoding/json" "errors" "fmt" - "io/ioutil" + "io" "net/http" "net/url" "strconv" "strings" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/types" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - sdk "github.com/cosmos/cosmos-sdk/types" ) const ( @@ -47,7 +46,7 @@ func NewResponseWithHeight(height int64, result json.RawMessage) ResponseWithHei // ResponseWithHeight object. func ParseResponseWithHeight(cdc *codec.LegacyAmino, bz []byte) ([]byte, error) { r := ResponseWithHeight{} - if err := cdc.UnmarshalJSON(bz, &r); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &r); err != nil { return nil, err } @@ -135,12 +134,12 @@ func (br BaseReq) ValidateBasic(w http.ResponseWriter) bool { // ReadRESTReq reads and unmarshals a Request's body to the the BaseReq struct. // Writes an error response to ResponseWriter and returns false if errors occurred. func ReadRESTReq(w http.ResponseWriter, r *http.Request, cdc *codec.LegacyAmino, req interface{}) bool { - body, err := ioutil.ReadAll(r.Body) + body, err := io.ReadAll(r.Body) if CheckBadRequestError(w, err) { return false } - err = cdc.UnmarshalJSON(body, req) + err = cdc.UnmarshalAsJSON(body, req) if err != nil { WriteErrorResponse(w, http.StatusBadRequest, fmt.Sprintf("failed to decode JSON payload: %s", err)) return false @@ -202,7 +201,7 @@ func WriteErrorResponse(w http.ResponseWriter, status int, err string) { func WriteSimulationResponse(w http.ResponseWriter, cdc *codec.LegacyAmino, gas uint64) { gasEst := GasEstimateResponse{GasEstimate: gas} - resp, err := cdc.MarshalJSON(gasEst) + resp, err := cdc.MarshalAsJSON(gasEst) if CheckInternalServerError(w, err) { return } @@ -279,7 +278,7 @@ func PostProcessResponseBare(w http.ResponseWriter, ctx client.Context, body int resp = b default: - resp, err = ctx.LegacyAmino.MarshalJSON(body) + resp, err = ctx.LegacyAmino.MarshalAsJSON(body) if CheckInternalServerError(w, err) { return } @@ -311,7 +310,7 @@ func PostProcessResponse(w http.ResponseWriter, ctx client.Context, resp interfa result = res default: - result, err = marshaler.MarshalJSON(resp) + result, err = marshaler.MarshalAsJSON(resp) if CheckInternalServerError(w, err) { return } @@ -319,7 +318,7 @@ func PostProcessResponse(w http.ResponseWriter, ctx client.Context, resp interfa wrappedResp := NewResponseWithHeight(ctx.Height, result) - output, err := marshaler.MarshalJSON(wrappedResp) + output, err := marshaler.MarshalAsJSON(wrappedResp) if CheckInternalServerError(w, err) { return } @@ -417,7 +416,7 @@ func GetRequest(url string) ([]byte, error) { return nil, err } - body, err := ioutil.ReadAll(res.Body) + body, err := io.ReadAll(res.Body) if err != nil { return nil, err } @@ -437,7 +436,7 @@ func PostRequest(url string, contentType string, data []byte) ([]byte, error) { return nil, fmt.Errorf("error while sending post request: %w", err) } - bz, err := ioutil.ReadAll(res.Body) + bz, err := io.ReadAll(res.Body) if err != nil { return nil, fmt.Errorf("error reading response body: %w", err) } diff --git a/sei-cosmos/types/rest/rest_test.go b/sei-cosmos/types/rest/rest_test.go index b91076abf8..dc424bb54e 100644 --- a/sei-cosmos/types/rest/rest_test.go +++ b/sei-cosmos/types/rest/rest_test.go @@ -3,7 +3,6 @@ package rest_test import ( "errors" "io" - "io/ioutil" "net/http" "net/http/httptest" "sort" @@ -14,14 +13,14 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" ) func TestBaseReq_Sanitize(t *testing.T) { @@ -206,11 +205,11 @@ func TestProcessPostResponse(t *testing.T) { ctx = ctx.WithLegacyAmino(cdc) // setup expected results - jsonNoIndent, err := ctx.LegacyAmino.MarshalJSON(acc) + jsonNoIndent, err := ctx.LegacyAmino.MarshalAsJSON(acc) require.Nil(t, err) respNoIndent := rest.NewResponseWithHeight(height, jsonNoIndent) - expectedNoIndent, err := ctx.LegacyAmino.MarshalJSON(respNoIndent) + expectedNoIndent, err := ctx.LegacyAmino.MarshalAsJSON(respNoIndent) require.Nil(t, err) // check that negative height writes an error @@ -226,7 +225,7 @@ func TestProcessPostResponse(t *testing.T) { func TestReadRESTReq(t *testing.T) { t.Parallel() - reqBody := ioutil.NopCloser(strings.NewReader(`{"chain_id":"alessio","memo":"text"}`)) + reqBody := io.NopCloser(strings.NewReader(`{"chain_id":"alessio","memo":"text"}`)) req := &http.Request{Body: reqBody} w := httptest.NewRecorder() var br rest.BaseReq @@ -239,7 +238,7 @@ func TestReadRESTReq(t *testing.T) { require.Equal(t, http.StatusOK, res.StatusCode) // test non valid JSON - reqBody = ioutil.NopCloser(strings.NewReader(`MALFORMED`)) + reqBody = io.NopCloser(strings.NewReader(`MALFORMED`)) req = &http.Request{Body: reqBody} br = rest.BaseReq{} w = httptest.NewRecorder() @@ -257,7 +256,7 @@ func TestWriteSimulationResponse(t *testing.T) { res := w.Result() //nolint:bodyclose t.Cleanup(func() { res.Body.Close() }) require.Equal(t, http.StatusOK, res.StatusCode) - bs, err := ioutil.ReadAll(res.Body) + bs, err := io.ReadAll(res.Body) require.NoError(t, err) t.Cleanup(func() { res.Body.Close() }) require.Equal(t, `{"gas_estimate":"10"}`, string(bs)) @@ -320,7 +319,7 @@ func TestPostProcessResponseBare(t *testing.T) { res := w.Result() //nolint:bodyclose require.Equal(t, http.StatusOK, res.StatusCode) - got, err := ioutil.ReadAll(res.Body) + got, err := io.ReadAll(res.Body) require.NoError(t, err) t.Cleanup(func() { res.Body.Close() }) @@ -338,7 +337,7 @@ func TestPostProcessResponseBare(t *testing.T) { res = w.Result() //nolint:bodyclose require.Equal(t, http.StatusOK, res.StatusCode) - got, err = ioutil.ReadAll(res.Body) + got, err = io.ReadAll(res.Body) require.NoError(t, err) t.Cleanup(func() { res.Body.Close() }) @@ -356,7 +355,7 @@ func TestPostProcessResponseBare(t *testing.T) { res = w.Result() //nolint:bodyclose require.Equal(t, http.StatusOK, res.StatusCode) - got, err = ioutil.ReadAll(res.Body) + got, err = io.ReadAll(res.Body) require.NoError(t, err) t.Cleanup(func() { res.Body.Close() }) @@ -371,7 +370,7 @@ func TestPostProcessResponseBare(t *testing.T) { res = w.Result() //nolint:bodyclose require.Equal(t, http.StatusInternalServerError, res.StatusCode) - got, err = ioutil.ReadAll(res.Body) + got, err = io.ReadAll(res.Body) require.NoError(t, err) t.Cleanup(func() { res.Body.Close() }) @@ -398,11 +397,11 @@ func runPostProcessResponse(t *testing.T, ctx client.Context, obj interface{}, e resp := w.Result() //nolint:bodyclose t.Cleanup(func() { resp.Body.Close() }) - body, err := ioutil.ReadAll(resp.Body) + body, err := io.ReadAll(resp.Body) require.Nil(t, err) require.Equal(t, expectedBody, body) - marshalled, err := ctx.LegacyAmino.MarshalJSON(obj) + marshalled, err := ctx.LegacyAmino.MarshalAsJSON(obj) require.NoError(t, err) // test using marshalled struct @@ -413,7 +412,7 @@ func runPostProcessResponse(t *testing.T, ctx client.Context, obj interface{}, e resp = w.Result() //nolint:bodyclose t.Cleanup(func() { resp.Body.Close() }) - body, err = ioutil.ReadAll(resp.Body) + body, err = io.ReadAll(resp.Body) require.Nil(t, err) require.Equal(t, string(expectedBody), string(body)) diff --git a/sei-cosmos/types/result.go b/sei-cosmos/types/result.go index 4831de4488..13e43f0492 100644 --- a/sei-cosmos/types/result.go +++ b/sei-cosmos/types/result.go @@ -10,8 +10,8 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ctypes "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) var cdc = codec.NewLegacyAmino() @@ -49,7 +49,7 @@ func NewABCIMessageLog(i uint32, log string, events Events) ABCIMessageLog { // String implements the fmt.Stringer interface for the ABCIMessageLogs type. func (logs ABCIMessageLogs) String() (str string) { if logs != nil { - raw, err := cdc.MarshalJSON(logs) + raw, err := cdc.MarshalAsJSON(logs) if err == nil { str = string(raw) } diff --git a/sei-cosmos/types/result_test.go b/sei-cosmos/types/result_test.go index 439f30865b..3195c0a7f8 100644 --- a/sei-cosmos/types/result_test.go +++ b/sei-cosmos/types/result_test.go @@ -14,9 +14,9 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type resultTestSuite struct { @@ -46,7 +46,7 @@ func (s *resultTestSuite) TestABCIMessageLog() { events := sdk.Events{sdk.NewEvent("transfer", sdk.NewAttribute("sender", "foo"))} msgLog := sdk.NewABCIMessageLog(0, "", events) msgLogs := sdk.ABCIMessageLogs{msgLog} - bz, err := cdc.MarshalJSON(msgLogs) + bz, err := cdc.MarshalAsJSON(msgLogs) s.Require().NoError(err) s.Require().Equal(string(bz), msgLogs.String()) diff --git a/sei-cosmos/types/router_test.go b/sei-cosmos/types/router_test.go index 7387e9b945..d8a8c478db 100644 --- a/sei-cosmos/types/router_test.go +++ b/sei-cosmos/types/router_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type routeTestSuite struct { diff --git a/sei-cosmos/types/simulation/account.go b/sei-cosmos/types/simulation/account.go index 5bc5bfe14d..8698cad1dc 100644 --- a/sei-cosmos/types/simulation/account.go +++ b/sei-cosmos/types/simulation/account.go @@ -4,10 +4,10 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Account contains a privkey, pubkey, address tuple @@ -39,7 +39,7 @@ func RandomAccounts(r *rand.Rand, n int) []Account { for i := 0; i < n; i++ { // don't need that much entropy for simulation privkeySeed := make([]byte, 15) - r.Read(privkeySeed) + _, _ = r.Read(privkeySeed) accs[i].PrivKey = secp256k1.GenPrivKeyFromSecret(privkeySeed) accs[i].PubKey = accs[i].PrivKey.PubKey() diff --git a/sei-cosmos/types/simulation/account_test.go b/sei-cosmos/types/simulation/account_test.go index 85034a0d24..fe2cb7e922 100644 --- a/sei-cosmos/types/simulation/account_test.go +++ b/sei-cosmos/types/simulation/account_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" ) func TestRandomAccounts(t *testing.T) { diff --git a/sei-cosmos/types/simulation/rand_util.go b/sei-cosmos/types/simulation/rand_util.go index 84cd4492c8..39f871b6fe 100644 --- a/sei-cosmos/types/simulation/rand_util.go +++ b/sei-cosmos/types/simulation/rand_util.go @@ -7,7 +7,7 @@ import ( "time" "unsafe" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( @@ -28,7 +28,7 @@ func RandStringOfLength(r *rand.Rand, n int) string { if remain == 0 { cache, remain = r.Int63(), letterIdxMax } - if idx := int(cache & letterIdxMask); idx < len(letterBytes) { + if idx := int(cache & letterIdxMask); idx < len(letterBytes) { //nolint:gosec // letterIdxMask ensures idx is small and non-negative b[i] = letterBytes[idx] i-- } @@ -36,7 +36,7 @@ func RandStringOfLength(r *rand.Rand, n int) string { remain-- } - return *(*string)(unsafe.Pointer(&b)) + return unsafe.String(unsafe.SliceData(b), len(b)) //nolint:gosec // intentional zero-alloc []byte to string conversion, b is not modified after } // RandPositiveInt get a rand positive sdk.Int diff --git a/sei-cosmos/types/simulation/rand_util_test.go b/sei-cosmos/types/simulation/rand_util_test.go index c487625ed0..c54516fd68 100644 --- a/sei-cosmos/types/simulation/rand_util_test.go +++ b/sei-cosmos/types/simulation/rand_util_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" ) func TestRandSubsetCoins(t *testing.T) { diff --git a/sei-cosmos/types/simulation/types.go b/sei-cosmos/types/simulation/types.go index 89e5c81377..d2b99a3833 100644 --- a/sei-cosmos/types/simulation/types.go +++ b/sei-cosmos/types/simulation/types.go @@ -5,10 +5,10 @@ import ( "math/rand" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" ) type WeightedProposalContent interface { diff --git a/sei-cosmos/types/staking_test.go b/sei-cosmos/types/staking_test.go index fe6c36bd99..f8a14ae2cc 100644 --- a/sei-cosmos/types/staking_test.go +++ b/sei-cosmos/types/staking_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type stakingTestSuite struct { diff --git a/sei-cosmos/types/store.go b/sei-cosmos/types/store.go index 5b8d9065fd..f260ce9cb0 100644 --- a/sei-cosmos/types/store.go +++ b/sei-cosmos/types/store.go @@ -5,8 +5,8 @@ import ( "sort" "strings" - "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) type ( diff --git a/sei-cosmos/types/store_test.go b/sei-cosmos/types/store_test.go index 2a70e33d09..68e0485932 100644 --- a/sei-cosmos/types/store_test.go +++ b/sei-cosmos/types/store_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/suite" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type storeTestSuite struct { diff --git a/sei-cosmos/types/tx/service.pb.go b/sei-cosmos/types/tx/service.pb.go index 8193b4d3db..f13c6ba530 100644 --- a/sei-cosmos/types/tx/service.pb.go +++ b/sei-cosmos/types/tx/service.pb.go @@ -6,12 +6,12 @@ package tx import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" golang_proto "github.com/golang/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" types1 "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -718,68 +718,69 @@ func init() { } var fileDescriptor_e0b00a618705eca7 = []byte{ - // 974 bytes of a gzipped FileDescriptorProto + // 983 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xdb, 0x46, - 0x10, 0x36, 0x29, 0xdb, 0x52, 0x46, 0x76, 0xa2, 0xac, 0x5d, 0x5b, 0x51, 0x5a, 0x59, 0x61, 0x2a, - 0xdb, 0x11, 0x60, 0x12, 0x51, 0x53, 0xa0, 0x28, 0x7a, 0xb1, 0x7e, 0xe2, 0x0a, 0x6d, 0xa2, 0x60, - 0xe5, 0x22, 0x48, 0x51, 0x40, 0xa0, 0xa4, 0x0d, 0x45, 0xc4, 0xe2, 0xca, 0xdc, 0x95, 0x41, 0xc1, - 0x31, 0x0a, 0xf4, 0xd8, 0x53, 0xd1, 0x1e, 0xfa, 0x10, 0x7d, 0x89, 0x1e, 0x7b, 0x34, 0xd0, 0x4b, - 0x8f, 0x85, 0xdd, 0x07, 0xe8, 0x23, 0x14, 0x5c, 0xae, 0x24, 0x4a, 0xa6, 0xe2, 0x34, 0xc8, 0x45, - 0xda, 0xe5, 0x7c, 0x33, 0xf3, 0xcd, 0x2c, 0xbf, 0x59, 0xc2, 0x56, 0x9b, 0xb2, 0x1e, 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93, 0x24, 0xee, 0x09, 0x12, 0x77, 0xfd, 0xc2, 0x37, 0xa2, 0x79, - 0xa0, 0xd7, 0x90, 0x0c, 0xdd, 0x68, 0x91, 0x04, 0xae, 0xde, 0xcf, 0x91, 0x04, 0x22, 0x2e, 0x46, - 0x2d, 0x2b, 0x08, 0xa4, 0xd1, 0xbc, 0xec, 0xbf, 0x2a, 0x70, 0x6b, 0x46, 0xb5, 0xe8, 0x41, 0x74, - 0xec, 0x88, 0xa1, 0x92, 0x29, 0xbc, 0x0d, 0x54, 0x52, 0xd9, 0x13, 0x54, 0x76, 0x50, 0x7e, 0xce, - 0x81, 0x08, 0x71, 0x1a, 0xa7, 0xc1, 0x58, 0x3a, 0x2b, 0x95, 0xff, 0xb8, 0xc8, 0x2a, 0xe7, 0x17, - 0x59, 0xe5, 0xef, 0x8b, 0xac, 0xf2, 0xd3, 0x65, 0x76, 0xe1, 0xf7, 0xcb, 0xac, 0x72, 0x7e, 0x99, - 0x5d, 0xf8, 0xeb, 0x32, 0xbb, 0xf0, 0x6d, 0xde, 0xb2, 0x79, 0x77, 0xd0, 0xd2, 0xdb, 0xb4, 0x37, - 0x0a, 0x17, 0xfc, 0xed, 0xb1, 0xce, 0xab, 0xd1, 0x67, 0x8e, 0xd7, 0x5a, 0x16, 0x1f, 0x39, 0x9f, - 0xfc, 0x17, 0x00, 0x00, 0xff, 0xff, 0x72, 0x18, 0x08, 0xc5, 0xf7, 0x09, 0x00, 0x00, + 0x10, 0x36, 0x29, 0xdb, 0x52, 0x46, 0x76, 0xa2, 0xac, 0x5d, 0x5b, 0x51, 0x5a, 0x59, 0x61, 0xea, + 0x9f, 0x08, 0x30, 0x89, 0xa8, 0x09, 0x50, 0x14, 0xbd, 0x58, 0x3f, 0x71, 0x85, 0x36, 0x51, 0xb0, + 0x72, 0x11, 0xa4, 0x28, 0x20, 0x50, 0xd2, 0x86, 0x22, 0x2a, 0x71, 0x65, 0xee, 0xca, 0xa0, 0xe0, + 0x18, 0x05, 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, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/types/tx/signing/signature.go b/sei-cosmos/types/tx/signing/signature.go index 1323543f02..74cb883dbc 100644 --- a/sei-cosmos/types/tx/signing/signature.go +++ b/sei-cosmos/types/tx/signing/signature.go @@ -3,8 +3,8 @@ package signing import ( "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // SignatureV2 is a convenience type that is easier to use in application logic diff --git a/sei-cosmos/types/tx/signing/signature_data.go b/sei-cosmos/types/tx/signing/signature_data.go index 0dd61fe634..935c61e567 100644 --- a/sei-cosmos/types/tx/signing/signature_data.go +++ b/sei-cosmos/types/tx/signing/signature_data.go @@ -1,7 +1,7 @@ package signing import ( - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // SignatureData represents either a *SingleSignatureData or *MultiSignatureData. diff --git a/sei-cosmos/types/tx/signing/signing.pb.go b/sei-cosmos/types/tx/signing/signing.pb.go index 4bbdccabd5..fef918a983 100644 --- a/sei-cosmos/types/tx/signing/signing.pb.go +++ b/sei-cosmos/types/tx/signing/signing.pb.go @@ -5,9 +5,9 @@ package signing import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - types1 "github.com/cosmos/cosmos-sdk/crypto/types" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" io "io" math "math" math_bits "math/bits" @@ -405,43 +405,43 @@ func init() { } var fileDescriptor_9a54958ff3d0b1b9 = []byte{ - // 562 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 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58, 0x4d, 0x04, - 0x00, 0x00, + // 572 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xcf, 0x6e, 0xd3, 0x4e, + 0x10, 0xc7, 0xed, 0x26, 0xad, 0xda, 0xed, 0x4f, 0x3f, 0x99, 0xa5, 0x45, 0xa9, 0x41, 0xa6, 0x2a, + 0x07, 0x2a, 0xa4, 0xae, 0x95, 0xf6, 0x80, 0x8a, 0xc4, 0x21, 0x4d, 0x4c, 0x6a, 0xda, 0x24, 0xc5, + 0x4e, 0xc5, 0x9f, 0x8b, 0x65, 0x3b, 0x5b, 0x77, 0x45, 0xec, 0x35, 0xde, 0x35, 0xaa, 0x4f, 0x3c, + 0x00, 0x17, 0x5e, 0x83, 0xa7, 0xe0, 0xc0, 0x85, 0x63, 0x8f, 0x1c, 0x51, 0xf2, 0x0c, 0xdc, 0x51, + 0xd6, 0x76, 0x12, 0xa4, 0x22, 0x44, 0x6e, 0x9e, 0x99, 0xef, 0x7c, 0xe6, 0x6b, 0xcd, 0x68, 0xc1, + 0x43, 0x9f, 0xb2, 0x90, 0x32, 0x9d, 0x5f, 0xe9, 0x8c, 0x04, 0x11, 0x89, 0x02, 0xfd, 0x7d, 0xdd, + 0xc3, 0xdc, 0xad, 0x97, 0x31, 0x8a, 0x13, 0xca, 0x29, 0xdc, 0xca, 0x85, 0x88, 0x5f, 0xa1, 0xb2, + 0x50, 0x08, 0xd5, 0xbd, 0x82, 0xe1, 0x27, 0x59, 0xcc, 0xa9, 0x1e, 0xa6, 0x43, 0x4e, 0x18, 0x99, + 0x81, 0xca, 0x44, 0x4e, 0x52, 0xb7, 0x02, 0x4a, 0x83, 0x21, 0xd6, 0x45, 0xe4, 0xa5, 0x17, 0xba, + 0x1b, 0x65, 0x79, 0x69, 0xe7, 0x02, 0x6c, 0xd8, 0x24, 0x88, 0x5c, 0x9e, 0x26, 0xb8, 0x85, 0x99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x4f, 0x87, 0x22, 0xf0, 0x2f, 0x5d, 0x12, + 0xe5, 0x5f, 0xc5, 0xdb, 0x91, 0xc5, 0x78, 0xfe, 0x05, 0xf1, 0x56, 0x84, 0xfe, 0xe0, 0x57, 0x00, + 0x00, 0x00, 0xff, 0xff, 0xd8, 0x27, 0xad, 0x3b, 0x5d, 0x04, 0x00, 0x00, } func (m *SignatureDescriptors) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/types/tx/tx.pb.go b/sei-cosmos/types/tx/tx.pb.go index 6d4e8471cf..1ac0e019d4 100644 --- a/sei-cosmos/types/tx/tx.pb.go +++ b/sei-cosmos/types/tx/tx.pb.go @@ -5,13 +5,13 @@ package tx import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - types1 "github.com/cosmos/cosmos-sdk/crypto/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types2 "github.com/cosmos/cosmos-sdk/types" - signing "github.com/cosmos/cosmos-sdk/types/tx/signing" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types2 "github.com/sei-protocol/sei-chain/sei-cosmos/types" + signing "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" io "io" math "math" math_bits "math/bits" @@ -669,7 +669,7 @@ func (m *ModeInfo_Multi) GetModeInfos() []*ModeInfo { // which must be above some miminum to be accepted into the mempool. type Fee struct { // amount is the amount of coins to be paid as a fee - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Amount github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"amount"` // gas_limit is the maximum gas that can be used in transaction processing // before an out of gas error occurs GasLimit uint64 `protobuf:"varint,2,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` @@ -719,7 +719,7 @@ func (m *Fee) XXX_DiscardUnknown() { var xxx_messageInfo_Fee proto.InternalMessageInfo -func (m *Fee) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *Fee) GetAmount() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.Amount } @@ -770,61 +770,62 @@ func init() { func init() { proto.RegisterFile("cosmos/tx/v1beta1/tx.proto", fileDescriptor_96d1575ffde80842) } var fileDescriptor_96d1575ffde80842 = []byte{ - // 861 bytes of a gzipped FileDescriptorProto + // 868 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xcd, 0x6e, 0xdc, 0x36, - 0x10, 0x5e, 0xed, 0x9f, 0x77, 0xc7, 0x76, 0xd2, 0x10, 0x46, 0xb1, 0x5e, 0x23, 0x8a, 0xa3, 0x22, - 0xed, 0x5e, 0x2c, 0x25, 0xce, 0xa1, 0x3f, 0x28, 0xd0, 0x7a, 0xd3, 0x04, 0x0e, 0xd2, 0xb4, 0x00, - 0xed, 0x53, 0x2e, 0x02, 0xa5, 0xa5, 0xb5, 0x44, 0x56, 0xe4, 0x56, 0xa4, 0x52, 0xe9, 0x21, 0x0a, - 0x04, 0x05, 0x8a, 0xbe, 0x43, 0x9f, 0x24, 0xc7, 0x1c, 0x8b, 0x1e, 0x5a, 0xc3, 0x7e, 0x90, 0x16, - 0xa4, 0x28, 0xd9, 0x68, 0x17, 0xde, 0x4b, 0x4f, 0xe2, 0x0c, 0xbf, 0xef, 0x9b, 0x11, 0xe7, 0x07, - 0xc6, 0xb1, 0x90, 0xa9, 0x90, 0x81, 0x2a, 0x82, 0x37, 0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xfd, 0xd2, 0x6d, 0xbd, 0x7a, 0xb0, 0x3e, 0xf7, 0x40, 0x15, 0x51, 0xdf, 0xf4, 0xfb, 0xe3, 0x7f, - 0x02, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x94, 0x0e, 0xfd, 0x20, 0x07, 0x00, 0x00, + 0x10, 0x5e, 0xed, 0x9f, 0x77, 0xc7, 0x76, 0xd2, 0x10, 0x46, 0xb1, 0x5e, 0x23, 0x8a, 0xa3, 0xa2, + 0xed, 0x5e, 0x2c, 0x35, 0x0e, 0x8a, 0xa6, 0x45, 0x0f, 0xf1, 0xa6, 0x09, 0x1c, 0xa4, 0x69, 0x00, + 0xda, 0xa7, 0x5c, 0x04, 0x4a, 0x4b, 0x6b, 0x89, 0xae, 0xc8, 0xad, 0x48, 0xa5, 0xd2, 0x43, 0x14, + 0x08, 0x0a, 0x14, 0x7d, 0x87, 0x3e, 0x49, 0x8e, 0x39, 0xf6, 0xd4, 0x06, 0xf6, 0xad, 0x2f, 0xd1, + 0x82, 0x14, 0x25, 0x1b, 0xed, 0x62, 0x8d, 0x02, 0xb9, 0xcd, 0x0c, 0xbf, 0xef, 0x9b, 0x21, 0x87, + 0x33, 0x30, 0x8e, 0x85, 0x4c, 0x85, 0x0c, 0x54, 0x11, 0xbc, 0xba, 0x17, 0x51, 0x45, 0xee, 0x05, + 0xaa, 0xf0, 0x97, 0x99, 0x50, 0x02, 0xdd, 0xaa, 0xce, 0x7c, 0x55, 0xf8, 0xf6, 0x6c, 0xec, 0x5a, + 0x78, 0x44, 0x24, 0x6d, 0x08, 0xb1, 0x60, 0xbc, 0xa2, 0x8c, 0x0f, 0xec, 0x79, 0x9c, 0x95, 0x4b, + 0x25, 0x82, 0x34, 0x5f, 0x28, 0x26, 0x59, 0xd2, 0x40, 0xeb, 0x80, 0x85, 0x7f, 0x7a, 0x99, 0x5d, + 0xb2, 0x84, 0x33, 0x7e, 0x89, 0xb4, 0xbe, 0x05, 0xee, 0x24, 0x22, 0x11,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b, 0x46, 0xbf, 0x33, 0x41, 0xef, 0x97, 0x36, 0xf4, 0xab, 0xf7, 0x46, 0x9f, 0xc1, + 0x20, 0xa5, 0x52, 0x92, 0xc4, 0x54, 0xd4, 0x99, 0x6c, 0x1e, 0xee, 0xf8, 0x55, 0x37, 0xfd, 0xba, + 0x9b, 0xfe, 0x11, 0x2f, 0x71, 0x83, 0x42, 0x08, 0xba, 0x29, 0x4d, 0xab, 0xb6, 0x0c, 0xb1, 0xb1, + 0x75, 0x5e, 0xc5, 0x52, 0x2a, 0x72, 0x15, 0xce, 0x29, 0x4b, 0xe6, 0xca, 0x14, 0xd6, 0xc5, 0xdb, + 0x36, 0x7a, 0x6c, 0x82, 0x68, 0x0a, 0xb7, 0x68, 0xa1, 0x28, 0x97, 0x4c, 0xf0, 0x50, 0x2c, 0x15, + 0x13, 0x5c, 0x8e, 0xfe, 0xde, 0x58, 0x93, 0xf6, 0x83, 0x06, 0xff, 0xa2, 0x82, 0xa3, 0x97, 0xe0, + 0x72, 0xc1, 0xc3, 0x38, 0x63, 0x8a, 0xc5, 0x64, 0x11, 0xae, 0x10, 0xbc, 0xb9, 0x46, 0x70, 0x8f, + 0x0b, 0xfe, 0xc8, 0x72, 0x1f, 0xff, 0x4b, 0xdb, 0x7b, 0x05, 0x83, 0xfa, 0x4b, 0xa1, 0x87, 0xb0, + 0xa5, 0xdb, 0x48, 0x33, 0xd3, 0x8f, 0xfa, 0x71, 0x6e, 0xaf, 0xf8, 0x85, 0x27, 0x06, 0x66, 0xfe, + 0xe1, 0xa6, 0x6c, 0x6c, 0x89, 0x26, 0xd0, 0x39, 0xa3, 0xd4, 0x7e, 0xdf, 0x0f, 0x57, 0x10, 0x9f, + 0x50, 0x8a, 0x35, 0xc4, 0xfb, 0xd5, 0x01, 0xb8, 0x54, 0x41, 0xf7, 0x01, 0x96, 0x79, 0xb4, 0x60, + 0x71, 0xf8, 0x3d, 0xad, 0x47, 0x66, 0xf5, 0x6d, 0x86, 0x15, 0xee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, 0x8f, 0x3b, 0xad, 0xdf, 0xfe, 0xbc, 0xf3, 0x20, 0x61, 0x6a, 0x9e, 0x47, 0x7e, 0x2c, 0xd2, + 0x40, 0x52, 0x76, 0x60, 0xfe, 0x46, 0x2c, 0x16, 0xc6, 0x31, 0x3b, 0xa1, 0xb2, 0xec, 0x72, 0x2f, + 0x97, 0x54, 0x1a, 0x01, 0x89, 0x6d, 0x2a, 0xb4, 0x07, 0xc3, 0x84, 0xc8, 0x70, 0xc1, 0x52, 0xa6, + 0x4c, 0x63, 0xba, 0x78, 0x90, 0x10, 0xf9, 0xad, 0xf6, 0xd1, 0x0e, 0xf4, 0x96, 0xa4, 0xa4, 0x99, + 0xdd, 0x32, 0x95, 0x83, 0x46, 0xb0, 0x91, 0x64, 0x84, 0x2b, 0xbb, 0x5c, 0x86, 0xb8, 0x76, 0xd1, + 0x5d, 0xd8, 0xd2, 0x62, 0x54, 0x2a, 0x96, 0x12, 0x45, 0x47, 0x3d, 0xa3, 0xb7, 0x99, 0x10, 0xf9, + 0xd8, 0x86, 0xa6, 0x2f, 0xde, 0x9c, 0xbb, 0xce, 0xdb, 0x73, 0xd7, 0x79, 0x77, 0xee, 0x3a, 0xaf, + 0x2f, 0xdc, 0xd6, 0xdb, 0x0b, 0xb7, 0xf5, 0xfb, 0x85, 0xdb, 0x7a, 0xf9, 0xf9, 0xff, 0xbf, 0x4b, + 0xa0, 0x8a, 0xa8, 0x6f, 0x70, 0xf7, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x08, 0xf1, 0x74, 0x98, + 0x40, 0x07, 0x00, 0x00, } func (m *Tx) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/types/tx/types.go b/sei-cosmos/types/tx/types.go index 2e7057c94d..db4120017f 100644 --- a/sei-cosmos/types/tx/types.go +++ b/sei-cosmos/types/tx/types.go @@ -3,10 +3,10 @@ package tx import ( "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // MaxGasWanted defines the max gas allowed. diff --git a/sei-cosmos/types/tx_msg.go b/sei-cosmos/types/tx_msg.go index bec846f5df..7337dadf7f 100644 --- a/sei-cosmos/types/tx_msg.go +++ b/sei-cosmos/types/tx_msg.go @@ -3,7 +3,7 @@ package types import ( "github.com/gogo/protobuf/proto" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) type ( diff --git a/sei-cosmos/types/tx_msg_test.go b/sei-cosmos/types/tx_msg_test.go index bf7763b029..709453aa2b 100644 --- a/sei-cosmos/types/tx_msg_test.go +++ b/sei-cosmos/types/tx_msg_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type testMsgSuite struct { diff --git a/sei-cosmos/types/uint_test.go b/sei-cosmos/types/uint_test.go index b91f9ab4a9..6cd04da9d7 100644 --- a/sei-cosmos/types/uint_test.go +++ b/sei-cosmos/types/uint_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type uintTestSuite struct { diff --git a/sei-cosmos/types/utils_test.go b/sei-cosmos/types/utils_test.go index 64d0e50714..cdf3151f78 100644 --- a/sei-cosmos/types/utils_test.go +++ b/sei-cosmos/types/utils_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type utilsTestSuite struct { diff --git a/sei-cosmos/utils/random.go b/sei-cosmos/utils/random.go index 3adc5ed42c..9bc53b1b4c 100644 --- a/sei-cosmos/utils/random.go +++ b/sei-cosmos/utils/random.go @@ -35,11 +35,11 @@ func (r *Rand) init() { seed |= uint64(bz[i]) seed <<= 8 } - r.reset(int64(seed)) + r.reset(int64(seed)) //#nosec G115 -- intentional conversion; full uint64 entropy is desired, sign bit is irrelevant for seeding } func (r *Rand) reset(seed int64) { - r.rand = mrand.New(mrand.NewSource(seed)) // nolint:gosec // G404: Use of weak random number generator + r.rand = mrand.New(mrand.NewSource(seed)) //nolint:gosec // G404: seeded from crypto/rand, used for non-security purposes } func (r *Rand) Int() int { @@ -61,7 +61,7 @@ func (r *Rand) Str(length int) string { return "" } - chars := []byte{} + chars := make([]byte, 0, length) MAIN_LOOP: for { val := r.Int63() diff --git a/sei-cosmos/version/version.go b/sei-cosmos/version/version.go index a41834e336..af8cf8a018 100644 --- a/sei-cosmos/version/version.go +++ b/sei-cosmos/version/version.go @@ -13,7 +13,7 @@ // -X github.com/cosmos/cosmos-sdk/version.AppName=gaiad \ // -X github.com/cosmos/cosmos-sdk/version.Version=1.0 \ // -X github.com/cosmos/cosmos-sdk/version.Commit=f0f7b7dab7e36c20b757cebce0e8f4fc5b95de60 \ -// -X "github.com/cosmos/cosmos-sdk/version.BuildTags=linux darwin amd64" +// -X "github.com/sei-protocol/sei-chain/sei-cosmos/version.BuildTags=linux darwin amd64" package version import ( @@ -43,7 +43,7 @@ func getSDKVersion() string { } var sdkVersion string for _, dep := range deps.Deps { - if dep.Path == "github.com/cosmos/cosmos-sdk" { + if dep.Path == "github.com/sei-protocol/sei-chain/sei-cosmos" { sdkVersion = dep.Version } } diff --git a/sei-cosmos/version/version_test.go b/sei-cosmos/version/version_test.go index 04d835ef1a..8f7d3a9466 100644 --- a/sei-cosmos/version/version_test.go +++ b/sei-cosmos/version/version_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" ) func TestNewInfo(t *testing.T) { diff --git a/sei-cosmos/x/auth/ante/ante.go b/sei-cosmos/x/auth/ante/ante.go index 48fb59d79a..ec781da9b3 100644 --- a/sei-cosmos/x/auth/ante/ante.go +++ b/sei-cosmos/x/auth/ante/ante.go @@ -1,12 +1,12 @@ package ante import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/types" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" ) // HandlerOptions are the options required for constructing a default SDK AnteHandler. diff --git a/sei-cosmos/x/auth/ante/ante_test.go b/sei-cosmos/x/auth/ante/ante_test.go index d4016d6156..1fd8c973de 100644 --- a/sei-cosmos/x/auth/ante/ante_test.go +++ b/sei-cosmos/x/auth/ante/ante_test.go @@ -12,16 +12,16 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // Test that simulate transaction accurately estimates gas cost diff --git a/sei-cosmos/x/auth/ante/basic.go b/sei-cosmos/x/auth/ante/basic.go index 355363eff5..1111b4fa72 100644 --- a/sei-cosmos/x/auth/ante/basic.go +++ b/sei-cosmos/x/auth/ante/basic.go @@ -1,14 +1,14 @@ package ante import ( - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) // ValidateBasicDecorator will call tx.ValidateBasic and return any non-nil error. @@ -90,7 +90,7 @@ func (cgts ConsumeTxSizeGasDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, sim } params := cgts.ak.GetParams(ctx) - ctx.GasMeter().ConsumeGas(params.TxSizeCostPerByte*sdk.Gas(len(ctx.TxBytes())), "txSize") + ctx.GasMeter().ConsumeGas(params.TxSizeCostPerByte*sdk.Gas(len(ctx.TxBytes())), "txSize") //nolint:gosec // len() is always non-negative // simulate gas cost for signatures in simulate mode if simulate { @@ -125,7 +125,7 @@ func (cgts ConsumeTxSizeGasDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, sim } sigBz := legacy.Cdc.MustMarshal(simSig) - cost := sdk.Gas(len(sigBz) + 6) + cost := sdk.Gas(len(sigBz) + 6) //nolint:gosec // len() + 6 is always non-negative and small // If the pubkey is a multi-signature pubkey, then we estimate for the maximum // number of signers. @@ -194,7 +194,7 @@ func (txh TxTimeoutHeightDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simul } timeoutHeight := timeoutTx.GetTimeoutHeight() - if timeoutHeight > 0 && uint64(ctx.BlockHeight()) > timeoutHeight { + if timeoutHeight > 0 && uint64(ctx.BlockHeight()) > timeoutHeight { //nolint:gosec // block height is always non-negative return ctx, sdkerrors.Wrapf( sdkerrors.ErrTxTimeoutHeight, "block height: %d, timeout height: %d", ctx.BlockHeight(), timeoutHeight, ) diff --git a/sei-cosmos/x/auth/ante/basic_test.go b/sei-cosmos/x/auth/ante/basic_test.go index 4a8cb830fd..107ef0a341 100644 --- a/sei-cosmos/x/auth/ante/basic_test.go +++ b/sei-cosmos/x/auth/ante/basic_test.go @@ -3,12 +3,12 @@ package ante_test import ( "strings" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" ) func (suite *AnteTestSuite) TestValidateBasic() { diff --git a/sei-cosmos/x/auth/ante/expected_keepers.go b/sei-cosmos/x/auth/ante/expected_keepers.go index 79af95e0a8..973522c9d7 100644 --- a/sei-cosmos/x/auth/ante/expected_keepers.go +++ b/sei-cosmos/x/auth/ante/expected_keepers.go @@ -1,9 +1,9 @@ package ante import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // AccountKeeper defines the contract needed for AccountKeeper related APIs. diff --git a/sei-cosmos/x/auth/ante/ext.go b/sei-cosmos/x/auth/ante/ext.go index 362b8d32a9..dfd9ba054e 100644 --- a/sei-cosmos/x/auth/ante/ext.go +++ b/sei-cosmos/x/auth/ante/ext.go @@ -1,9 +1,9 @@ package ante import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) type HasExtensionOptionsTx interface { diff --git a/sei-cosmos/x/auth/ante/ext_test.go b/sei-cosmos/x/auth/ante/ext_test.go index 89ce6a7d64..9cf93fff40 100644 --- a/sei-cosmos/x/auth/ante/ext_test.go +++ b/sei-cosmos/x/auth/ante/ext_test.go @@ -1,11 +1,11 @@ package ante_test import ( - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" ) func (suite *AnteTestSuite) TestRejectExtensionOptionsDecorator() { diff --git a/sei-cosmos/x/auth/ante/fee.go b/sei-cosmos/x/auth/ante/fee.go index 5c2cbb9023..14739b28de 100644 --- a/sei-cosmos/x/auth/ante/fee.go +++ b/sei-cosmos/x/auth/ante/fee.go @@ -3,10 +3,10 @@ package ante import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/types" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" ) // TxFeeChecker check if the provided fee is enough and returns the effective fee and tx priority, diff --git a/sei-cosmos/x/auth/ante/fee_test.go b/sei-cosmos/x/auth/ante/fee_test.go index 582f1655ce..c2695f9c2d 100644 --- a/sei-cosmos/x/auth/ante/fee_test.go +++ b/sei-cosmos/x/auth/ante/fee_test.go @@ -3,13 +3,13 @@ package ante_test import ( "fmt" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/auth/types" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/sei-protocol/sei-chain/app/apptesting" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) type BadAnteDecoratorOne struct{} diff --git a/sei-cosmos/x/auth/ante/feegrant_test.go b/sei-cosmos/x/auth/ante/feegrant_test.go index f9ec8cf026..566954c559 100644 --- a/sei-cosmos/x/auth/ante/feegrant_test.go +++ b/sei-cosmos/x/auth/ante/feegrant_test.go @@ -9,19 +9,19 @@ import ( "github.com/sei-protocol/sei-chain/app/apptesting" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - authsign "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/tx" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + authsign "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) func (suite *AnteTestSuite) TestDeductFeesNoDelegation() { diff --git a/sei-cosmos/x/auth/ante/setup.go b/sei-cosmos/x/auth/ante/setup.go index deaa6da61c..ddd59c9c43 100644 --- a/sei-cosmos/x/auth/ante/setup.go +++ b/sei-cosmos/x/auth/ante/setup.go @@ -3,9 +3,9 @@ package ante import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" ) var ( @@ -54,7 +54,7 @@ func (sud SetUpContextDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate if cp := ctx.ConsensusParams(); cp != nil && cp.Block != nil { // If there exists a maximum block gas limit, we must ensure that the tx // does not exceed it. - if cp.Block.MaxGas > 0 && gasTx.GetGas() > uint64(cp.Block.MaxGas) { + if cp.Block.MaxGas > 0 && gasTx.GetGas() > uint64(cp.Block.MaxGas) { //nolint:gosec // MaxGas is validated positive by the condition return newCtx, sdkerrors.Wrapf(sdkerrors.ErrOutOfGas, "tx gas wanted %d exceeds block max gas limit %d", gasTx.GetGas(), cp.Block.MaxGas) } } diff --git a/sei-cosmos/x/auth/ante/setup_test.go b/sei-cosmos/x/auth/ante/setup_test.go index e5e66775b7..fead4e061d 100644 --- a/sei-cosmos/x/auth/ante/setup_test.go +++ b/sei-cosmos/x/auth/ante/setup_test.go @@ -1,11 +1,11 @@ package ante_test import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/ante" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" ) func (suite *AnteTestSuite) TestSetup() { diff --git a/sei-cosmos/x/auth/ante/sigverify.go b/sei-cosmos/x/auth/ante/sigverify.go index e7352be4ed..ed619a6fb7 100644 --- a/sei-cosmos/x/auth/ante/sigverify.go +++ b/sei-cosmos/x/auth/ante/sigverify.go @@ -6,19 +6,19 @@ import ( "encoding/hex" "fmt" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1" - "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256r1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) var ( @@ -377,7 +377,7 @@ func (vscd ValidateSigCountDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, sim sigCount := 0 for _, pk := range pubKeys { sigCount += CountSubKeys(pk) - if uint64(sigCount) > params.TxSigLimit { + if uint64(sigCount) > params.TxSigLimit { //nolint:gosec // sigCount is incremented from 0 and checked each iteration, always non-negative return ctx, sdkerrors.Wrapf(sdkerrors.ErrTooManySignatures, "signatures: %d, limit: %d", sigCount, params.TxSigLimit) } diff --git a/sei-cosmos/x/auth/ante/sigverify_benchmark_test.go b/sei-cosmos/x/auth/ante/sigverify_benchmark_test.go index 9a851efb58..46d7675d5e 100644 --- a/sei-cosmos/x/auth/ante/sigverify_benchmark_test.go +++ b/sei-cosmos/x/auth/ante/sigverify_benchmark_test.go @@ -6,8 +6,8 @@ import ( tmcrypto "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256r1" ) // This benchmark is used to asses the ante.Secp256k1ToR1GasFactor value diff --git a/sei-cosmos/x/auth/ante/sigverify_test.go b/sei-cosmos/x/auth/ante/sigverify_test.go index 9f623617eb..19d4366077 100644 --- a/sei-cosmos/x/auth/ante/sigverify_test.go +++ b/sei-cosmos/x/auth/ante/sigverify_test.go @@ -3,21 +3,21 @@ package ante_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256r1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) func (suite *AnteTestSuite) TestSetPubKey() { diff --git a/sei-cosmos/x/auth/ante/testutil_test.go b/sei-cosmos/x/auth/ante/testutil_test.go index b2a749c79c..1fa0834ece 100644 --- a/sei-cosmos/x/auth/ante/testutil_test.go +++ b/sei-cosmos/x/auth/ante/testutil_test.go @@ -10,16 +10,16 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + xauthsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // TestAccount represents an account used in the tests in x/auth/ante. diff --git a/sei-cosmos/x/auth/ante/validator_tx_fee.go b/sei-cosmos/x/auth/ante/validator_tx_fee.go index 6da5d0e532..cbd9248ba5 100644 --- a/sei-cosmos/x/auth/ante/validator_tx_fee.go +++ b/sei-cosmos/x/auth/ante/validator_tx_fee.go @@ -3,9 +3,9 @@ package ante import ( "math" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" ) var BaseDenomGasPriceAmplfier = sdk.NewInt(1_000_000_000_000) @@ -23,6 +23,10 @@ func CheckTxFeeWithValidatorMinGasPrices(ctx sdk.Context, tx sdk.Tx, simulate bo feeCoins = feeCoins.NonZeroAmountsOf(append([]string{sdk.DefaultBondDenom}, feeParams.GetAllowedFeeDenoms()...)) gas := feeTx.GetGas() + if gas > uint64(math.MaxInt64) { + return nil, 0, sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "gas %d exceeds max int64", gas) + } + // Ensure that the provided fees meet a minimum threshold for the validator, // if this is a CheckTx. This is only for local mempool purposes, and thus // is only ran on check tx. @@ -33,7 +37,7 @@ func CheckTxFeeWithValidatorMinGasPrices(ctx sdk.Context, tx sdk.Tx, simulate bo // Determine the required fees by multiplying each required minimum gas // price by the gas limit, where fee = ceil(minGasPrice * gasLimit). - glDec := sdk.NewDec(int64(gas)) + glDec := sdk.NewDec(int64(gas)) //nolint:gosec // bounds checked above for i, gp := range minGasPrices { fee := gp.Amount.Mul(glDec) requiredFees[i] = sdk.NewCoin(gp.Denom, fee.Ceil().RoundInt()) @@ -49,7 +53,7 @@ func CheckTxFeeWithValidatorMinGasPrices(ctx sdk.Context, tx sdk.Tx, simulate bo // realistically, if the gas limit IS set to 0, the tx will run out of gas anyways. priority := int64(0) if gas > 0 { - priority = GetTxPriority(feeCoins, int64(gas)) + priority = GetTxPriority(feeCoins, int64(gas)) //nolint:gosec // bounds checked above } return feeCoins, priority, nil } diff --git a/sei-cosmos/x/auth/ante/validator_tx_fee_test.go b/sei-cosmos/x/auth/ante/validator_tx_fee_test.go index 037af1c5e0..45773e6010 100644 --- a/sei-cosmos/x/auth/ante/validator_tx_fee_test.go +++ b/sei-cosmos/x/auth/ante/validator_tx_fee_test.go @@ -3,8 +3,8 @@ package ante_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/ante" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" "github.com/stretchr/testify/require" ) diff --git a/sei-cosmos/x/auth/client/cli/broadcast.go b/sei-cosmos/x/auth/client/cli/broadcast.go index ef5eefc410..894b4581b0 100644 --- a/sei-cosmos/x/auth/client/cli/broadcast.go +++ b/sei-cosmos/x/auth/client/cli/broadcast.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + authclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client" ) // GetBroadcastCommand returns the tx broadcast command. diff --git a/sei-cosmos/x/auth/client/cli/decode.go b/sei-cosmos/x/auth/client/cli/decode.go index 6af5bb5c38..936b9e7775 100644 --- a/sei-cosmos/x/auth/client/cli/decode.go +++ b/sei-cosmos/x/auth/client/cli/decode.go @@ -6,8 +6,8 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" ) const flagHex = "hex" diff --git a/sei-cosmos/x/auth/client/cli/encode.go b/sei-cosmos/x/auth/client/cli/encode.go index c883980de9..7424cfe344 100644 --- a/sei-cosmos/x/auth/client/cli/encode.go +++ b/sei-cosmos/x/auth/client/cli/encode.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + authclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client" ) // GetEncodeCommand returns the encode command to take a JSONified transaction and turn it into diff --git a/sei-cosmos/x/auth/client/cli/encode_test.go b/sei-cosmos/x/auth/client/cli/encode_test.go index 985c1092fd..55300296eb 100644 --- a/sei-cosmos/x/auth/client/cli/encode_test.go +++ b/sei-cosmos/x/auth/client/cli/encode_test.go @@ -8,10 +8,10 @@ import ( "github.com/sei-protocol/sei-chain/app" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/cli" ) func TestGetCommandEncode(t *testing.T) { diff --git a/sei-cosmos/x/auth/client/cli/query.go b/sei-cosmos/x/auth/client/cli/query.go index 06b9bd65da..79a332655a 100644 --- a/sei-cosmos/x/auth/client/cli/query.go +++ b/sei-cosmos/x/auth/client/cli/query.go @@ -7,15 +7,15 @@ import ( tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/version" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + authtx "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) const ( @@ -242,7 +242,7 @@ $ %s query txs --%s 'message.sender=cosmos1...&message.action=withdraw_delegator cmd.Flags().Int(flags.FlagPage, rest.DefaultPage, "Query a specific page of paginated results") cmd.Flags().Int(flags.FlagLimit, rest.DefaultLimit, "Query number of transactions results per page returned") cmd.Flags().String(flagEvents, "", fmt.Sprintf("list of transaction events in the form of %s", eventFormat)) - cmd.MarkFlagRequired(flagEvents) + _ = cmd.MarkFlagRequired(flagEvents) return cmd } diff --git a/sei-cosmos/x/auth/client/cli/query_test.go b/sei-cosmos/x/auth/client/cli/query_test.go index 6258beed2e..e5a06ea750 100644 --- a/sei-cosmos/x/auth/client/cli/query_test.go +++ b/sei-cosmos/x/auth/client/cli/query_test.go @@ -3,7 +3,7 @@ package cli_test import ( "testing" - "github.com/cosmos/cosmos-sdk/x/auth/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/cli" "github.com/stretchr/testify/require" ) diff --git a/sei-cosmos/x/auth/client/cli/tx_multisign.go b/sei-cosmos/x/auth/client/cli/tx_multisign.go index 67d7030250..c65e929af7 100644 --- a/sei-cosmos/x/auth/client/cli/tx_multisign.go +++ b/sei-cosmos/x/auth/client/cli/tx_multisign.go @@ -2,26 +2,26 @@ package cli import ( "fmt" - "io/ioutil" "os" + "path/filepath" "strings" "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/version" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + authclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) // BroadcastReq defines a tx broadcasting request. @@ -149,9 +149,15 @@ func makeMultiSignCmd() func(cmd *cobra.Command, args []string) (err error) { return err } - sigOnly, _ := cmd.Flags().GetBool(flagSigOnly) + sigOnly, err := cmd.Flags().GetBool(flagSigOnly) + if err != nil { + return err + } - aminoJSON, _ := cmd.Flags().GetBool(flagAmino) + aminoJSON, err := cmd.Flags().GetBool(flagAmino) + if err != nil { + return err + } var json []byte @@ -166,7 +172,10 @@ func makeMultiSignCmd() func(cmd *cobra.Command, args []string) (err error) { Mode: "block|sync|async", } - json, _ = clientCtx.LegacyAmino.MarshalJSON(req) + json, err = clientCtx.LegacyAmino.MarshalAsJSON(req) + if err != nil { + return err + } } else { json, err = marshalSignatureJSON(txCfg, txBuilder, sigOnly) @@ -175,13 +184,18 @@ func makeMultiSignCmd() func(cmd *cobra.Command, args []string) (err error) { } } - outputDoc, _ := cmd.Flags().GetString(flags.FlagOutputDocument) + outputDoc, err := cmd.Flags().GetString(flags.FlagOutputDocument) + if err != nil { + return err + } + if outputDoc == "" { cmd.Printf("%s\n", json) return } - fp, err := os.OpenFile(outputDoc, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0644) + outputDoc = filepath.Clean(outputDoc) + fp, err := os.OpenFile(outputDoc, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0600) if err != nil { return err } @@ -349,7 +363,7 @@ func makeBatchMultisignCmd() func(cmd *cobra.Command, args []string) error { Mode: "block|sync|async", } - json, _ = clientCtx.LegacyAmino.MarshalJSON(req) + json, _ = clientCtx.LegacyAmino.MarshalAsJSON(req) } else { json, err = marshalSignatureJSON(txCfg, txBldr, sigOnly) @@ -376,14 +390,16 @@ func makeBatchMultisignCmd() func(cmd *cobra.Command, args []string) error { func unmarshalSignatureJSON(clientCtx client.Context, filename string) (sigs []signingtypes.SignatureV2, err error) { var bytes []byte - if bytes, err = ioutil.ReadFile(filename); err != nil { + filename = filepath.Clean(filename) + if bytes, err = os.ReadFile(filename); err != nil { return } return clientCtx.TxConfig.UnmarshalSignatureJSON(bytes) } func readSignaturesFromFile(ctx client.Context, filename string) (sigs []signingtypes.SignatureV2, err error) { - bz, err := ioutil.ReadFile(filename) + filename = filepath.Clean(filename) + bz, err := os.ReadFile(filename) if err != nil { return nil, err } diff --git a/sei-cosmos/x/auth/client/cli/tx_sign.go b/sei-cosmos/x/auth/client/cli/tx_sign.go index dab0be61d7..87d92359e5 100644 --- a/sei-cosmos/x/auth/client/cli/tx_sign.go +++ b/sei-cosmos/x/auth/client/cli/tx_sign.go @@ -3,16 +3,17 @@ package cli import ( "fmt" "os" + "path/filepath" - "github.com/cosmos/cosmos-sdk/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/types/errors" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client" ) const ( @@ -53,7 +54,7 @@ account key. It implies --signature-only. cmd.Flags().String(flags.FlagOutputDocument, "", "The document will be written to the given file instead of STDOUT") cmd.Flags().Bool(flagSigOnly, true, "Print only the generated signature, then exit") cmd.Flags().String(flags.FlagChainID, "", "network chain ID") - cmd.MarkFlagRequired(flags.FlagFrom) + _ = cmd.MarkFlagRequired(flags.FlagFrom) flags.AddTxFlagsToCmd(cmd) return cmd @@ -147,14 +148,15 @@ func setOutputFile(cmd *cobra.Command) (func(), error) { return func() {}, nil } - fp, err := os.OpenFile(outputDoc, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0644) + outputDoc = filepath.Clean(outputDoc) + fp, err := os.OpenFile(outputDoc, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0600) if err != nil { return func() {}, err } cmd.SetOut(fp) - return func() { fp.Close() }, nil + return func() { _ = fp.Close() }, nil } // GetSignCommand returns the transaction sign command. @@ -187,7 +189,7 @@ be generated via the 'multisign' command. cmd.Flags().String(flags.FlagOutputDocument, "", "The document will be written to the given file instead of STDOUT") cmd.Flags().String(flags.FlagChainID, "", "The network chain ID") cmd.Flags().Bool(flagAmino, false, "Generate Amino encoded JSON suitable for submiting to the txs REST endpoint") - cmd.MarkFlagRequired(flags.FlagFrom) + _ = cmd.MarkFlagRequired(flags.FlagFrom) flags.AddTxFlagsToCmd(cmd) return cmd @@ -197,8 +199,8 @@ func preSignCmd(cmd *cobra.Command, _ []string) { // Conditionally mark the account and sequence numbers required as no RPC // query will be done. if offline, _ := cmd.Flags().GetBool(flags.FlagOffline); offline { - cmd.MarkFlagRequired(flags.FlagAccountNumber) - cmd.MarkFlagRequired(flags.FlagSequence) + _ = cmd.MarkFlagRequired(flags.FlagAccountNumber) + _ = cmd.MarkFlagRequired(flags.FlagSequence) } } @@ -291,7 +293,7 @@ func makeSignCmd() func(cmd *cobra.Command, args []string) error { Tx: stdTx, Mode: "block|sync|async", } - json, err = clientCtx.LegacyAmino.MarshalJSON(req) + json, err = clientCtx.LegacyAmino.MarshalAsJSON(req) if err != nil { return err } @@ -307,8 +309,8 @@ func makeSignCmd() func(cmd *cobra.Command, args []string) error { cmd.Printf("%s\n", json) return nil } - - fp, err := os.OpenFile(outputDoc, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0644) + outputDoc = filepath.Clean(outputDoc) + fp, err := os.OpenFile(outputDoc, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0600) if err != nil { return err } diff --git a/sei-cosmos/x/auth/client/cli/validate_sigs.go b/sei-cosmos/x/auth/client/cli/validate_sigs.go index 03acf833f1..06fd6dfe1b 100644 --- a/sei-cosmos/x/auth/client/cli/validate_sigs.go +++ b/sei-cosmos/x/auth/client/cli/validate_sigs.go @@ -5,12 +5,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) func GetValidateSignaturesCommand() *cobra.Command { diff --git a/sei-cosmos/x/auth/client/rest/decode.go b/sei-cosmos/x/auth/client/rest/decode.go index 5b732fa0a1..ba83dcb087 100644 --- a/sei-cosmos/x/auth/client/rest/decode.go +++ b/sei-cosmos/x/auth/client/rest/decode.go @@ -3,15 +3,15 @@ package rest import ( "encoding/base64" "fmt" - "io/ioutil" + "io" "net/http" - "github.com/cosmos/cosmos-sdk/client" - clienttx "github.com/cosmos/cosmos-sdk/client/tx" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clienttx "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) type ( @@ -31,13 +31,13 @@ func DecodeTxRequestHandlerFn(clientCtx client.Context) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { var req DecodeReq - body, err := ioutil.ReadAll(r.Body) + body, err := io.ReadAll(r.Body) if rest.CheckBadRequestError(w, err) { return } // NOTE: amino is used intentionally here, don't migrate it - err = clientCtx.LegacyAmino.UnmarshalJSON(body, &req) + err = clientCtx.LegacyAmino.UnmarshalAsJSON(body, &req) if rest.CheckBadRequestError(w, err) { return } diff --git a/sei-cosmos/x/auth/client/rest/query.go b/sei-cosmos/x/auth/client/rest/query.go index cf292fd7f7..a058b67007 100644 --- a/sei-cosmos/x/auth/client/rest/query.go +++ b/sei-cosmos/x/auth/client/rest/query.go @@ -8,14 +8,14 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - "github.com/cosmos/cosmos-sdk/x/auth/types" - genutilrest "github.com/cosmos/cosmos-sdk/x/genutil/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clientrest "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + authtx "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + genutilrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/rest" ) // QueryAccountRequestHandlerFn is the query accountREST Handler. @@ -105,7 +105,14 @@ func QueryTxsRequestHandlerFn(clientCtx client.Context) http.HandlerFunc { } for _, txRes := range searchResult.Txs { - packStdTxResponse(w, clientCtx, txRes) + err := packStdTxResponse(w, clientCtx, txRes) + if err != nil { + rest.WriteErrorResponse( + w, http.StatusBadRequest, + fmt.Sprintf("failed to convert to standard tx: %s", err), + ) + return + } } err = checkAminoMarshalError(clientCtx, searchResult, "/cosmos/tx/v1beta1/txs") @@ -204,7 +211,7 @@ func checkAminoMarshalError(ctx client.Context, resp interface{}, grpcEndPoint s // LegacyAmino used intentionally here to handle the SignMode errors marshaler := ctx.LegacyAmino - _, err := marshaler.MarshalJSON(resp) + _, err := marshaler.MarshalAsJSON(resp) if err != nil { // If there's an unmarshalling error, we assume that it's because we're diff --git a/sei-cosmos/x/auth/client/rest/rest.go b/sei-cosmos/x/auth/client/rest/rest.go index 03b7564ace..fe44ffe4d2 100644 --- a/sei-cosmos/x/auth/client/rest/rest.go +++ b/sei-cosmos/x/auth/client/rest/rest.go @@ -3,8 +3,8 @@ package rest import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" ) // REST query and parameter values diff --git a/sei-cosmos/x/auth/client/testutil/cli_test.go b/sei-cosmos/x/auth/client/testutil/cli_test.go index f23e88847c..0ccd3e77ad 100644 --- a/sei-cosmos/x/auth/client/testutil/cli_test.go +++ b/sei-cosmos/x/auth/client/testutil/cli_test.go @@ -6,7 +6,7 @@ package testutil import ( "testing" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/sei-cosmos/x/auth/client/testutil/helpers.go b/sei-cosmos/x/auth/client/testutil/helpers.go index 101aa6aabb..9d06607e79 100644 --- a/sei-cosmos/x/auth/client/testutil/helpers.go +++ b/sei-cosmos/x/auth/client/testutil/helpers.go @@ -6,12 +6,12 @@ import ( tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/x/auth/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/cli" ) func TxSignExec(clientCtx client.Context, from fmt.Stringer, filename string, extraArgs ...string) (testutil.BufferWriter, error) { @@ -93,13 +93,14 @@ func QueryAccountExec(clientCtx client.Context, address fmt.Stringer, extraArgs } func TxMultiSignBatchExec(clientCtx client.Context, filename string, from string, sigFile1 string, sigFile2 string, extraArgs ...string) (testutil.BufferWriter, error) { - args := []string{ + args := make([]string, 0, 5+len(extraArgs)) + args = append(args, fmt.Sprintf("--%s=%s", flags.FlagKeyringBackend, keyring.BackendTest), filename, from, sigFile1, sigFile2, - } + ) args = append(args, extraArgs...) diff --git a/sei-cosmos/x/auth/client/testutil/suite.go b/sei-cosmos/x/auth/client/testutil/suite.go index 16476ad666..c6463d0a51 100644 --- a/sei-cosmos/x/auth/client/testutil/suite.go +++ b/sei-cosmos/x/auth/client/testutil/suite.go @@ -5,7 +5,7 @@ import ( "encoding/base64" "encoding/json" "fmt" - "io/ioutil" + "os" "path/filepath" "strings" "testing" @@ -15,23 +15,23 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authcli "github.com/cosmos/cosmos-sdk/x/auth/client/cli" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - bankcli "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/cli" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + bankcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/client/testutil" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) type IntegrationTestSuite struct { @@ -200,10 +200,11 @@ func (s *IntegrationTestSuite) TestCLISignAminoJSON() { /**** test file output ****/ filenameSigned := filepath.Join(s.T().TempDir(), "test_sign_out.json") + filenameSigned = filepath.Clean(filenameSigned) fileFlag := fmt.Sprintf("--%s=%s", flags.FlagOutputDocument, filenameSigned) _, err = TxSignExec(val1.ClientCtx, val1.Address, fileUnsigned.Name(), chainFlag, fileFlag, signModeAminoFlag) require.NoError(err) - fContent, err := ioutil.ReadFile(filenameSigned) + fContent, err := os.ReadFile(filenameSigned) require.NoError(err) require.Equal(res.String(), string(fContent)) @@ -230,7 +231,7 @@ func (s *IntegrationTestSuite) TestCLISignAminoJSON() { require.NoError(err) var txAmino authcli.BroadcastReq - err = val1.ClientCtx.LegacyAmino.UnmarshalJSON(res.Bytes(), &txAmino) + err = val1.ClientCtx.LegacyAmino.UnmarshalAsJSON(res.Bytes(), &txAmino) require.NoError(err) require.Len(txAmino.Tx.Signatures, 2) require.Equal(txAmino.Tx.Signatures[0].PubKey, valInfo.GetPubKey()) @@ -262,7 +263,7 @@ func (s *IntegrationTestSuite) TestCLIQueryTxCmdByHash() { ) s.Require().NoError(err) var txRes sdk.TxResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &txRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &txRes)) s.Require().NoError(s.network.WaitForNextBlock()) testCases := []struct { @@ -307,7 +308,7 @@ func (s *IntegrationTestSuite) TestCLIQueryTxCmdByHash() { s.Require().NotEqual("internal", err.Error()) } else { var result sdk.TxResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &result)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &result)) s.Require().NotNil(result.Height) s.Require().Contains(result.RawLog, tc.rawLogContains) } @@ -330,13 +331,13 @@ func (s *IntegrationTestSuite) TestCLIQueryTxCmdByEvents() { ) s.Require().NoError(err) var txRes sdk.TxResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &txRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &txRes)) s.Require().NoError(s.network.WaitForNextBlock()) // Query the tx by hash to get the inner tx. out, err = clitestutil.ExecTestCLICmd(val.ClientCtx, authcli.QueryTxCmd(), []string{txRes.TxHash, fmt.Sprintf("--%s=json", tmcli.OutputFlag)}) s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &txRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &txRes)) protoTx := txRes.GetTx().(*tx.Tx) testCases := []struct { @@ -422,7 +423,7 @@ func (s *IntegrationTestSuite) TestCLIQueryTxCmdByEvents() { s.Require().Contains(err.Error(), tc.expectErrStr) } else { var result sdk.TxResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &result)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &result)) s.Require().NotNil(result.Height) } }) @@ -444,13 +445,13 @@ func (s *IntegrationTestSuite) TestCLIQueryTxsCmdByEvents() { ) s.Require().NoError(err) var txRes sdk.TxResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &txRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &txRes)) s.Require().NoError(s.network.WaitForNextBlock()) // Query the tx by hash to get the inner tx. out, err = clitestutil.ExecTestCLICmd(val.ClientCtx, authcli.QueryTxCmd(), []string{txRes.TxHash, fmt.Sprintf("--%s=json", tmcli.OutputFlag)}) s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &txRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &txRes)) testCases := []struct { name string @@ -487,7 +488,7 @@ func (s *IntegrationTestSuite) TestCLIQueryTxsCmdByEvents() { s.Require().NoError(err) var result sdk.SearchTxsResult - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &result)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &result)) if tc.expectEmpty { s.Require().Equal(0, len(result.Txs)) @@ -544,7 +545,7 @@ func (s *IntegrationTestSuite) TestCLISendGenerateSignAndBroadcast() { s.Require().NoError(err) var balRes banktypes.QueryAllBalancesResponse - err = val1.ClientCtx.Codec.UnmarshalJSON(resp.Bytes(), &balRes) + err = val1.ClientCtx.Codec.UnmarshalAsJSON(resp.Bytes(), &balRes) s.Require().NoError(err) startTokens := balRes.Balances.AmountOf(s.cfg.BondDenom) @@ -605,7 +606,7 @@ func (s *IntegrationTestSuite) TestCLISendGenerateSignAndBroadcast() { resp, err = bankcli.QueryBalancesExec(val1.ClientCtx, val1.Address) s.Require().NoError(err) - err = val1.ClientCtx.Codec.UnmarshalJSON(resp.Bytes(), &balRes) + err = val1.ClientCtx.Codec.UnmarshalAsJSON(resp.Bytes(), &balRes) s.Require().NoError(err) s.Require().Equal(startTokens, balRes.Balances.AmountOf(s.cfg.BondDenom)) @@ -628,7 +629,7 @@ func (s *IntegrationTestSuite) TestCLISendGenerateSignAndBroadcast() { resp, err = bankcli.QueryBalancesExec(val1.ClientCtx, account.GetAddress()) s.Require().NoError(err) - err = val1.ClientCtx.Codec.UnmarshalJSON(resp.Bytes(), &balRes) + err = val1.ClientCtx.Codec.UnmarshalAsJSON(resp.Bytes(), &balRes) s.Require().NoError(err) s.Require().Equal(sendTokens.Amount, balRes.Balances.AmountOf(s.cfg.BondDenom)) @@ -636,7 +637,7 @@ func (s *IntegrationTestSuite) TestCLISendGenerateSignAndBroadcast() { resp, err = bankcli.QueryBalancesExec(val1.ClientCtx, val1.Address) s.Require().NoError(err) - err = val1.ClientCtx.Codec.UnmarshalJSON(resp.Bytes(), &balRes) + err = val1.ClientCtx.Codec.UnmarshalAsJSON(resp.Bytes(), &balRes) s.Require().NoError(err) } @@ -749,7 +750,7 @@ func (s *IntegrationTestSuite) TestCLIMultisignSortSignatures() { s.Require().NoError(err) var balRes banktypes.QueryAllBalancesResponse - err = val1.ClientCtx.Codec.UnmarshalJSON(resp.Bytes(), &balRes) + err = val1.ClientCtx.Codec.UnmarshalAsJSON(resp.Bytes(), &balRes) s.Require().NoError(err) intialCoins := balRes.Balances @@ -767,7 +768,7 @@ func (s *IntegrationTestSuite) TestCLIMultisignSortSignatures() { resp, err = bankcli.QueryBalancesExec(val1.ClientCtx, multisigInfo.GetAddress()) s.Require().NoError(err) - err = val1.ClientCtx.Codec.UnmarshalJSON(resp.Bytes(), &balRes) + err = val1.ClientCtx.Codec.UnmarshalAsJSON(resp.Bytes(), &balRes) s.Require().NoError(err) diff, _ := balRes.Balances.SafeSub(intialCoins) s.Require().Equal(sendTokens.Amount, diff.AmountOf(s.cfg.BondDenom)) @@ -893,7 +894,7 @@ func (s *IntegrationTestSuite) TestCLIMultisign() { s.Require().NoError(err) var balRes banktypes.QueryAllBalancesResponse - err = val1.ClientCtx.Codec.UnmarshalJSON(resp.Bytes(), &balRes) + err = val1.ClientCtx.Codec.UnmarshalAsJSON(resp.Bytes(), &balRes) s.Require().NoError(err) s.Require().Equal(sendTokens.Amount, balRes.Balances.AmountOf(s.cfg.BondDenom)) @@ -1143,7 +1144,7 @@ func (s *IntegrationTestSuite) TestGetAccountsCmd() { s.Require().NoError(err) var res authtypes.QueryAccountsResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &res)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &res)) s.Require().NotEmpty(res.Accounts) } @@ -1218,7 +1219,7 @@ func (s *IntegrationTestSuite) TestQueryParamsCmd() { s.Require().NotEqual("internal", err.Error()) } else { var authParams authtypes.Params - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &authParams)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &authParams)) s.Require().NotNil(authParams.MaxMemoCharacters) } }) @@ -1265,11 +1266,11 @@ func (s *IntegrationTestSuite) TestTxWithoutPublicKey() { // Note: this method is only used for test purposes! In general, one should // use txBuilder and TxEncoder/TxDecoder to manipulate txs. var tx tx.Tx - err = val1.ClientCtx.Codec.UnmarshalJSON(signedTx.Bytes(), &tx) + err = val1.ClientCtx.Codec.UnmarshalAsJSON(signedTx.Bytes(), &tx) s.Require().NoError(err) tx.AuthInfo.SignerInfos[0].PublicKey = nil // Re-encode the tx again, to another file. - txJSON, err = val1.ClientCtx.Codec.MarshalJSON(&tx) + txJSON, err = val1.ClientCtx.Codec.MarshalAsJSON(&tx) s.Require().NoError(err) signedTxFile := testutil.WriteToNewTempFile(s.T(), string(txJSON)) s.Require().True(strings.Contains(string(txJSON), "\"public_key\":null")) @@ -1279,7 +1280,7 @@ func (s *IntegrationTestSuite) TestTxWithoutPublicKey() { out, err := TxBroadcastExec(val1.ClientCtx, signedTxFile.Name()) s.Require().NoError(err) var res sdk.TxResponse - s.Require().NoError(val1.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &res)) + s.Require().NoError(val1.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &res)) s.Require().NotEqual(0, res.Code) } @@ -1300,7 +1301,7 @@ func (s *IntegrationTestSuite) TestSignWithMultiSignersAminoJSON() { // because DIRECT doesn't support multi signers via the CLI. // Since we use amino, we don't need to pre-populate signer_infos. txBuilder := val0.ClientCtx.TxConfig.NewTxBuilder() - txBuilder.SetMsgs( + _ = txBuilder.SetMsgs( banktypes.NewMsgSend(val0.Address, addr1, sdk.NewCoins(val0Coin)), banktypes.NewMsgSend(val1.Address, addr1, sdk.NewCoins(val1Coin)), ) @@ -1337,25 +1338,27 @@ func (s *IntegrationTestSuite) TestSignWithMultiSignersAminoJSON() { require.NoError(err) var txRes sdk.TxResponse - require.NoError(val0.ClientCtx.Codec.UnmarshalJSON(res.Bytes(), &txRes)) + require.NoError(val0.ClientCtx.Codec.UnmarshalAsJSON(res.Bytes(), &txRes)) require.Equal(uint32(0), txRes.Code) // Make sure the addr1's balance got funded. queryResJSON, err := bankcli.QueryBalancesExec(val0.ClientCtx, addr1) require.NoError(err) var queryRes banktypes.QueryAllBalancesResponse - err = val0.ClientCtx.Codec.UnmarshalJSON(queryResJSON.Bytes(), &queryRes) + err = val0.ClientCtx.Codec.UnmarshalAsJSON(queryResJSON.Bytes(), &queryRes) require.NoError(err) require.Equal(sdk.NewCoins(val0Coin, val1Coin), queryRes.Balances) } func (s *IntegrationTestSuite) createBankMsg(val *network.Validator, toAddr sdk.AccAddress, amount sdk.Coins, extraFlags ...string) (testutil.BufferWriter, error) { - flags := []string{fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation), + flagArgs := make([]string, 0, 3+len(extraFlags)) + flagArgs = append(flagArgs, + fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation), fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastBlock), fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()), - } + ) - flags = append(flags, extraFlags...) - return bankcli.MsgSendExec(val.ClientCtx, val.Address, toAddr, amount, flags...) + flagArgs = append(flagArgs, extraFlags...) + return bankcli.MsgSendExec(val.ClientCtx, val.Address, toAddr, amount, flagArgs...) } diff --git a/sei-cosmos/x/auth/client/tx.go b/sei-cosmos/x/auth/client/tx.go index 80debcc1de..63ccfbcbb9 100644 --- a/sei-cosmos/x/auth/client/tx.go +++ b/sei-cosmos/x/auth/client/tx.go @@ -5,20 +5,20 @@ import ( "bytes" "fmt" "io" - "io/ioutil" "os" + "path/filepath" "strings" "github.com/gogo/protobuf/jsonpb" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" ) // GasEstimateResponse defines a response definition for tx gas estimation. @@ -97,9 +97,9 @@ func ReadTxFromFile(ctx client.Context, filename string) (tx sdk.Tx, err error) var bytes []byte if filename == "-" { - bytes, err = ioutil.ReadAll(os.Stdin) + bytes, err = io.ReadAll(os.Stdin) } else { - bytes, err = ioutil.ReadFile(filename) + bytes, err = os.ReadFile(filepath.Clean(filename)) } if err != nil { diff --git a/sei-cosmos/x/auth/client/tx_test.go b/sei-cosmos/x/auth/client/tx_test.go index 21f405876c..2d964691a3 100644 --- a/sei-cosmos/x/auth/client/tx_test.go +++ b/sei-cosmos/x/auth/client/tx_test.go @@ -8,16 +8,16 @@ import ( "github.com/sei-protocol/sei-chain/app" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) var ( diff --git a/sei-cosmos/x/auth/genesis.go b/sei-cosmos/x/auth/genesis.go index 851b588083..b9f244894d 100644 --- a/sei-cosmos/x/auth/genesis.go +++ b/sei-cosmos/x/auth/genesis.go @@ -1,9 +1,9 @@ package auth import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // InitGenesis - Init store state from genesis data diff --git a/sei-cosmos/x/auth/keeper/account.go b/sei-cosmos/x/auth/keeper/account.go index 7474e93a54..5ac79f0f3c 100644 --- a/sei-cosmos/x/auth/keeper/account.go +++ b/sei-cosmos/x/auth/keeper/account.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // NewAccountWithAddress implements AccountKeeperI. @@ -79,7 +79,7 @@ func (ak AccountKeeper) IterateAccounts(ctx sdk.Context, cb func(account types.A store := ctx.KVStore(ak.key) iterator := sdk.KVStorePrefixIterator(store, types.AddressStoreKeyPrefix) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { account := ak.decodeAccount(iterator.Value()) diff --git a/sei-cosmos/x/auth/keeper/grpc_query.go b/sei-cosmos/x/auth/keeper/grpc_query.go index 1e89a3cebe..c1d06d21ea 100644 --- a/sei-cosmos/x/auth/keeper/grpc_query.go +++ b/sei-cosmos/x/auth/keeper/grpc_query.go @@ -3,15 +3,15 @@ package keeper import ( "context" - "github.com/cosmos/cosmos-sdk/store/prefix" - "github.com/cosmos/cosmos-sdk/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) var _ types.QueryServer = AccountKeeper{} diff --git a/sei-cosmos/x/auth/keeper/grpc_query_test.go b/sei-cosmos/x/auth/keeper/grpc_query_test.go index e593829a71..940dfcb081 100644 --- a/sei-cosmos/x/auth/keeper/grpc_query_test.go +++ b/sei-cosmos/x/auth/keeper/grpc_query_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) func (suite *KeeperTestSuite) TestGRPCQueryAccounts() { diff --git a/sei-cosmos/x/auth/keeper/integration_test.go b/sei-cosmos/x/auth/keeper/integration_test.go index 257709da3d..0d6543e0e1 100644 --- a/sei-cosmos/x/auth/keeper/integration_test.go +++ b/sei-cosmos/x/auth/keeper/integration_test.go @@ -4,8 +4,8 @@ import ( "github.com/sei-protocol/sei-chain/app" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // returns context and app with params set on account keeper diff --git a/sei-cosmos/x/auth/keeper/keeper.go b/sei-cosmos/x/auth/keeper/keeper.go index 18a7be2400..f50e13b50f 100644 --- a/sei-cosmos/x/auth/keeper/keeper.go +++ b/sei-cosmos/x/auth/keeper/keeper.go @@ -6,12 +6,12 @@ import ( gogotypes "github.com/gogo/protobuf/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // AccountKeeperI is the interface contract that x/auth's keeper implements. @@ -223,7 +223,7 @@ func (ak AccountKeeper) decodeAccount(bz []byte) types.AccountI { } // MarshalAccount protobuf serializes an Account interface -func (ak AccountKeeper) MarshalAccount(accountI types.AccountI) ([]byte, error) { // nolint:interfacer +func (ak AccountKeeper) MarshalAccount(accountI types.AccountI) ([]byte, error) { return ak.cdc.MarshalInterface(accountI) } diff --git a/sei-cosmos/x/auth/keeper/keeper_bench_test.go b/sei-cosmos/x/auth/keeper/keeper_bench_test.go index 3e15783d96..70bd93cd26 100644 --- a/sei-cosmos/x/auth/keeper/keeper_bench_test.go +++ b/sei-cosmos/x/auth/keeper/keeper_bench_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func BenchmarkAccountMapperGetAccountFound(b *testing.B) { diff --git a/sei-cosmos/x/auth/keeper/keeper_test.go b/sei-cosmos/x/auth/keeper/keeper_test.go index d856a6a0af..d734fab81b 100644 --- a/sei-cosmos/x/auth/keeper/keeper_test.go +++ b/sei-cosmos/x/auth/keeper/keeper_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) const ( diff --git a/sei-cosmos/x/auth/keeper/migrations.go b/sei-cosmos/x/auth/keeper/migrations.go index 18ce349206..2d4c91cfd5 100644 --- a/sei-cosmos/x/auth/keeper/migrations.go +++ b/sei-cosmos/x/auth/keeper/migrations.go @@ -3,9 +3,9 @@ package keeper import ( "github.com/gogo/protobuf/grpc" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Migrator is a struct for handling in-place store migrations. diff --git a/sei-cosmos/x/auth/keeper/params.go b/sei-cosmos/x/auth/keeper/params.go index 0236c7ae16..c574f42b49 100644 --- a/sei-cosmos/x/auth/keeper/params.go +++ b/sei-cosmos/x/auth/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // SetParams sets the auth module's parameters. diff --git a/sei-cosmos/x/auth/keeper/querier.go b/sei-cosmos/x/auth/keeper/querier.go index 438a40fc14..61dd64af8d 100644 --- a/sei-cosmos/x/auth/keeper/querier.go +++ b/sei-cosmos/x/auth/keeper/querier.go @@ -3,10 +3,10 @@ package keeper import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // NewQuerier creates a querier for auth REST endpoints @@ -27,7 +27,7 @@ func NewQuerier(k AccountKeeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querie func queryAccount(ctx sdk.Context, req abci.RequestQuery, k AccountKeeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryAccountRequest - if err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms); err != nil { + if err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms); err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } diff --git a/sei-cosmos/x/auth/keeper/querier_test.go b/sei-cosmos/x/auth/keeper/querier_test.go index 8d542ba3b3..4f734587f8 100644 --- a/sei-cosmos/x/auth/keeper/querier_test.go +++ b/sei-cosmos/x/auth/keeper/querier_test.go @@ -4,15 +4,15 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" "github.com/stretchr/testify/require" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - keep "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + keep "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) func TestQueryAccount(t *testing.T) { @@ -60,6 +60,6 @@ func TestQueryAccount(t *testing.T) { require.NotNil(t, res) var account types.AccountI - err2 := legacyQuerierCdc.LegacyAmino.UnmarshalJSON(res, &account) + err2 := legacyQuerierCdc.LegacyAmino.UnmarshalAsJSON(res, &account) require.Nil(t, err2) } diff --git a/sei-cosmos/x/auth/keeper/v2_to_v3_test.go b/sei-cosmos/x/auth/keeper/v2_to_v3_test.go index 92b3e631bf..c087bd3946 100644 --- a/sei-cosmos/x/auth/keeper/v2_to_v3_test.go +++ b/sei-cosmos/x/auth/keeper/v2_to_v3_test.go @@ -1,8 +1,8 @@ package keeper_test import ( - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" "github.com/stretchr/testify/require" "testing" ) diff --git a/sei-cosmos/x/auth/legacy/legacytx/amino_signing.go b/sei-cosmos/x/auth/legacy/legacytx/amino_signing.go index 2f5b1d4a42..ee9a6fffd3 100644 --- a/sei-cosmos/x/auth/legacy/legacytx/amino_signing.go +++ b/sei-cosmos/x/auth/legacy/legacytx/amino_signing.go @@ -3,12 +3,12 @@ package legacytx import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) // stdTxSignModeHandler is a SignModeHandler that handles SIGN_MODE_LEGACY_AMINO_JSON diff --git a/sei-cosmos/x/auth/legacy/legacytx/amino_signing_test.go b/sei-cosmos/x/auth/legacy/legacytx/amino_signing_test.go index 7abccbfd82..6d586e2c16 100644 --- a/sei-cosmos/x/auth/legacy/legacytx/amino_signing_test.go +++ b/sei-cosmos/x/auth/legacy/legacytx/amino_signing_test.go @@ -5,11 +5,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) func TestLegacyAminoJSONHandler_GetSignBytes(t *testing.T) { diff --git a/sei-cosmos/x/auth/legacy/legacytx/codec.go b/sei-cosmos/x/auth/legacy/legacytx/codec.go index 2bad4718e1..40b355e951 100644 --- a/sei-cosmos/x/auth/legacy/legacytx/codec.go +++ b/sei-cosmos/x/auth/legacy/legacytx/codec.go @@ -1,7 +1,7 @@ package legacytx import ( - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" ) func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { diff --git a/sei-cosmos/x/auth/legacy/legacytx/config_test.go b/sei-cosmos/x/auth/legacy/legacytx/config_test.go index 95a37b1e4d..27c9a64eb4 100644 --- a/sei-cosmos/x/auth/legacy/legacytx/config_test.go +++ b/sei-cosmos/x/auth/legacy/legacytx/config_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/codec" - cryptoAmino "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptoAmino "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/testutil" ) func testCodec() *codec.LegacyAmino { diff --git a/sei-cosmos/x/auth/legacy/legacytx/stdsig_test.go b/sei-cosmos/x/auth/legacy/legacytx/stdsig_test.go index 3e1662ba99..e36df857e8 100644 --- a/sei-cosmos/x/auth/legacy/legacytx/stdsig_test.go +++ b/sei-cosmos/x/auth/legacy/legacytx/stdsig_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" ) func TestStdSignatureMarshalYAML(t *testing.T) { diff --git a/sei-cosmos/x/auth/legacy/legacytx/stdsign.go b/sei-cosmos/x/auth/legacy/legacytx/stdsign.go index 06e44aacef..ce4da1f8a0 100644 --- a/sei-cosmos/x/auth/legacy/legacytx/stdsign.go +++ b/sei-cosmos/x/auth/legacy/legacytx/stdsign.go @@ -6,14 +6,14 @@ import ( "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) // LegacyMsg defines the old interface a message must fulfill, containing @@ -61,7 +61,7 @@ func StdSignBytes(chainID string, accnum, sequence, timeout uint64, fee StdFee, msgsBytes = append(msgsBytes, json.RawMessage(legacyMsg.GetSignBytes())) } - bz, err := legacy.Cdc.MarshalJSON(StdSignDoc{ + bz, err := legacy.Cdc.MarshalAsJSON(StdSignDoc{ AccountNumber: accnum, ChainID: chainID, Fee: json.RawMessage(fee.Bytes()), @@ -103,7 +103,7 @@ func (ss StdSignature) GetPubKey() cryptotypes.PubKey { func (ss StdSignature) MarshalYAML() (interface{}, error) { pk := "" if ss.PubKey != nil { - pk = ss.PubKey.String() + pk = ss.String() } bz, err := yaml.Marshal(struct { diff --git a/sei-cosmos/x/auth/legacy/legacytx/stdsignmsg.go b/sei-cosmos/x/auth/legacy/legacytx/stdsignmsg.go index 07ee29a063..f6e0630c0d 100644 --- a/sei-cosmos/x/auth/legacy/legacytx/stdsignmsg.go +++ b/sei-cosmos/x/auth/legacy/legacytx/stdsignmsg.go @@ -1,8 +1,8 @@ package legacytx import ( - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var _ types.UnpackInterfacesMessage = StdSignMsg{} diff --git a/sei-cosmos/x/auth/legacy/legacytx/stdtx.go b/sei-cosmos/x/auth/legacy/legacytx/stdtx.go index cfe1ffd476..3798017e7a 100644 --- a/sei-cosmos/x/auth/legacy/legacytx/stdtx.go +++ b/sei-cosmos/x/auth/legacy/legacytx/stdtx.go @@ -1,13 +1,16 @@ package legacytx import ( - "github.com/cosmos/cosmos-sdk/codec/legacy" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "fmt" + "math" + + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) // Interface implementation checks @@ -53,7 +56,7 @@ func (fee StdFee) Bytes() []byte { fee.Amount = sdk.NewCoins() } - bz, err := legacy.Cdc.MarshalJSON(fee) + bz, err := legacy.Cdc.MarshalAsJSON(fee) if err != nil { panic(err) } @@ -67,7 +70,10 @@ func (fee StdFee) Bytes() []byte { // originally part of the submitted transaction because the fee is computed // as fee = ceil(gasWanted * gasPrices). func (fee StdFee) GasPrices() sdk.DecCoins { - return sdk.NewDecCoinsFromCoins(fee.Amount...).QuoDec(sdk.NewDec(int64(fee.Gas))) + if fee.Gas > uint64(math.MaxInt64) { + panic(fmt.Sprintf("gas %d exceeds max int64", fee.Gas)) + } + return sdk.NewDecCoinsFromCoins(fee.Amount...).QuoDec(sdk.NewDec(int64(fee.Gas))) //nolint:gosec G115 -- bounds checked above } // StdTx is the legacy transaction format for wrapping a Msg with Fee and Signatures. diff --git a/sei-cosmos/x/auth/legacy/legacytx/stdtx_builder.go b/sei-cosmos/x/auth/legacy/legacytx/stdtx_builder.go index 31852456fe..43298d41f4 100644 --- a/sei-cosmos/x/auth/legacy/legacytx/stdtx_builder.go +++ b/sei-cosmos/x/auth/legacy/legacytx/stdtx_builder.go @@ -3,12 +3,12 @@ package legacytx import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) // StdTxBuilder wraps StdTx to implement to the context.TxBuilder interface. @@ -49,15 +49,15 @@ func (s *StdTxBuilder) SetSignatures(signatures ...signing.SignatureV2) error { } func (s *StdTxBuilder) SetFeeAmount(amount sdk.Coins) { - s.StdTx.Fee.Amount = amount + s.Fee.Amount = amount } func (s *StdTxBuilder) SetGasLimit(limit uint64) { - s.StdTx.Fee.Gas = limit + s.Fee.Gas = limit } func (s *StdTxBuilder) SetGasEstimate(estimate uint64) { - s.StdTx.GasEstimate = estimate + s.GasEstimate = estimate } // SetMemo implements TxBuilder.SetMemo @@ -108,12 +108,12 @@ func (s StdTxConfig) TxDecoder() sdk.TxDecoder { func (s StdTxConfig) TxJSONEncoder() sdk.TxEncoder { return func(tx sdk.Tx) ([]byte, error) { - return s.Cdc.MarshalJSON(tx) + return s.Cdc.MarshalAsJSON(tx) } } func (s StdTxConfig) TxJSONDecoder() sdk.TxDecoder { - return mkDecoder(s.Cdc.UnmarshalJSON) + return mkDecoder(s.Cdc.UnmarshalAsJSON) } func (s StdTxConfig) MarshalSignatureJSON(sigs []signing.SignatureV2) ([]byte, error) { @@ -126,12 +126,12 @@ func (s StdTxConfig) MarshalSignatureJSON(sigs []signing.SignatureV2) ([]byte, e stdSigs[i] = stdSig } - return s.Cdc.MarshalJSON(stdSigs) + return s.Cdc.MarshalAsJSON(stdSigs) } func (s StdTxConfig) UnmarshalSignatureJSON(bz []byte) ([]signing.SignatureV2, error) { var stdSigs []StdSignature - err := s.Cdc.UnmarshalJSON(bz, &stdSigs) + err := s.Cdc.UnmarshalAsJSON(bz, &stdSigs) if err != nil { return nil, err } diff --git a/sei-cosmos/x/auth/legacy/legacytx/stdtx_test.go b/sei-cosmos/x/auth/legacy/legacytx/stdtx_test.go index 6d3871612a..8c319bdcd7 100644 --- a/sei-cosmos/x/auth/legacy/legacytx/stdtx_test.go +++ b/sei-cosmos/x/auth/legacy/legacytx/stdtx_test.go @@ -8,16 +8,16 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) var ( diff --git a/sei-cosmos/x/auth/module.go b/sei-cosmos/x/auth/module.go index 97977cf2c5..0c8a9bd379 100644 --- a/sei-cosmos/x/auth/module.go +++ b/sei-cosmos/x/auth/module.go @@ -12,17 +12,17 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/client/cli" - "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) var ( @@ -53,7 +53,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the auth module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var data types.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } diff --git a/sei-cosmos/x/auth/module_test.go b/sei-cosmos/x/auth/module_test.go index 3ba609b400..8b87dae880 100644 --- a/sei-cosmos/x/auth/module_test.go +++ b/sei-cosmos/x/auth/module_test.go @@ -9,7 +9,7 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) func TestItCreatesModuleAccountOnInitBlock(t *testing.T) { diff --git a/sei-cosmos/x/auth/signing/handler_map.go b/sei-cosmos/x/auth/signing/handler_map.go index 936de47da5..ab61ba29e3 100644 --- a/sei-cosmos/x/auth/signing/handler_map.go +++ b/sei-cosmos/x/auth/signing/handler_map.go @@ -3,9 +3,9 @@ package signing import ( "fmt" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // SignModeHandlerMap is SignModeHandler that aggregates multiple SignModeHandler's into @@ -21,7 +21,7 @@ var _ SignModeHandler = SignModeHandlerMap{} // NewSignModeHandlerMap returns a new SignModeHandlerMap with the provided defaultMode and handlers func NewSignModeHandlerMap(defaultMode signing.SignMode, handlers []SignModeHandler) SignModeHandlerMap { handlerMap := make(map[signing.SignMode]SignModeHandler) - var modes []signing.SignMode + var modes []signing.SignMode //nolint:prealloc // Not worth pre-allocation, considering the nested loop for _, h := range handlers { for _, m := range h.Modes() { diff --git a/sei-cosmos/x/auth/signing/handler_map_test.go b/sei-cosmos/x/auth/signing/handler_map_test.go index 041b8182e9..74f051d71c 100644 --- a/sei-cosmos/x/auth/signing/handler_map_test.go +++ b/sei-cosmos/x/auth/signing/handler_map_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func MakeTestHandlerMap() signing.SignModeHandler { diff --git a/sei-cosmos/x/auth/signing/sig_verifiable_tx.go b/sei-cosmos/x/auth/signing/sig_verifiable_tx.go index 2d8aeb49db..c3758f649c 100644 --- a/sei-cosmos/x/auth/signing/sig_verifiable_tx.go +++ b/sei-cosmos/x/auth/signing/sig_verifiable_tx.go @@ -1,9 +1,9 @@ package signing import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) // SigVerifiableTx defines a transaction interface for all signature verification diff --git a/sei-cosmos/x/auth/signing/sign_mode_handler.go b/sei-cosmos/x/auth/signing/sign_mode_handler.go index e70246ee27..d0457a9349 100644 --- a/sei-cosmos/x/auth/signing/sign_mode_handler.go +++ b/sei-cosmos/x/auth/signing/sign_mode_handler.go @@ -1,8 +1,8 @@ package signing import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) // SignModeHandler defines a interface to be implemented by types which will handle diff --git a/sei-cosmos/x/auth/signing/verify.go b/sei-cosmos/x/auth/signing/verify.go index 5a5395de69..2670a9e2d9 100644 --- a/sei-cosmos/x/auth/signing/verify.go +++ b/sei-cosmos/x/auth/signing/verify.go @@ -3,10 +3,10 @@ package signing import ( "fmt" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) // VerifySignature verifies a transaction signature contained in SignatureData abstracting over different signing modes diff --git a/sei-cosmos/x/auth/signing/verify_test.go b/sei-cosmos/x/auth/signing/verify_test.go index c42ca5e9f8..a0f7aeef75 100644 --- a/sei-cosmos/x/auth/signing/verify_test.go +++ b/sei-cosmos/x/auth/signing/verify_test.go @@ -8,16 +8,16 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) func TestVerifySignature(t *testing.T) { diff --git a/sei-cosmos/x/auth/simulation/decoder.go b/sei-cosmos/x/auth/simulation/decoder.go index 61a551ba52..52614a1d52 100644 --- a/sei-cosmos/x/auth/simulation/decoder.go +++ b/sei-cosmos/x/auth/simulation/decoder.go @@ -6,9 +6,9 @@ import ( gogotypes "github.com/gogo/protobuf/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) type AuthUnmarshaler interface { diff --git a/sei-cosmos/x/auth/simulation/genesis.go b/sei-cosmos/x/auth/simulation/genesis.go index 5a0c884848..be53e83836 100644 --- a/sei-cosmos/x/auth/simulation/genesis.go +++ b/sei-cosmos/x/auth/simulation/genesis.go @@ -5,11 +5,11 @@ import ( "fmt" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/types" - vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + vestingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" ) // Simulation parameter constants @@ -30,7 +30,7 @@ func RandomGenesisAccounts(simState *module.SimulationState) types.GenesisAccoun // Only consider making a vesting account once the initial bonded validator // set is exhausted due to needing to track DelegatedVesting. - if !(int64(i) > simState.NumBonded && simState.Rand.Intn(100) < 50) { + if int64(i) <= simState.NumBonded || simState.Rand.Intn(100) >= 50 { genesisAccs[i] = bacc continue } @@ -61,7 +61,7 @@ func RandomGenesisAccounts(simState *module.SimulationState) types.GenesisAccoun // GenMaxMemoChars randomized MaxMemoChars func GenMaxMemoChars(r *rand.Rand) uint64 { - return uint64(simulation.RandIntBetween(r, 100, 200)) + return uint64(simulation.RandIntBetween(r, 100, 200)) //nolint:gosec // always returns a positive value } // GenTxSigLimit randomized TxSigLimit @@ -69,22 +69,22 @@ func GenMaxMemoChars(r *rand.Rand) uint64 { // so that arbitrarily simulated messages from other // modules can still create valid transactions func GenTxSigLimit(r *rand.Rand) uint64 { - return uint64(r.Intn(7) + 5) + return uint64(r.Intn(7) + 5) //nolint:gosec // always returns a positive value } // GenTxSizeCostPerByte randomized TxSizeCostPerByte func GenTxSizeCostPerByte(r *rand.Rand) uint64 { - return uint64(simulation.RandIntBetween(r, 5, 15)) + return uint64(simulation.RandIntBetween(r, 5, 15)) //nolint:gosec // always returns a positive value } // GenSigVerifyCostED25519 randomized SigVerifyCostED25519 func GenSigVerifyCostED25519(r *rand.Rand) uint64 { - return uint64(simulation.RandIntBetween(r, 500, 1000)) + return uint64(simulation.RandIntBetween(r, 500, 1000)) //nolint:gosec // always returns a positive value } // GenSigVerifyCostSECP256K1 randomized SigVerifyCostSECP256K1 func GenSigVerifyCostSECP256K1(r *rand.Rand) uint64 { - return uint64(simulation.RandIntBetween(r, 500, 1000)) + return uint64(simulation.RandIntBetween(r, 500, 1000)) //nolint:gosec // always returns a positive value } // RandomizedGenState generates a random GenesisState for auth diff --git a/sei-cosmos/x/auth/simulation/params.go b/sei-cosmos/x/auth/simulation/params.go index 5ce9ac95fc..4c4165c1ff 100644 --- a/sei-cosmos/x/auth/simulation/params.go +++ b/sei-cosmos/x/auth/simulation/params.go @@ -6,9 +6,9 @@ import ( "fmt" "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/simulation" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" ) const ( diff --git a/sei-cosmos/x/auth/testutil/suite.go b/sei-cosmos/x/auth/testutil/suite.go index 253ce3409c..49d872e4da 100644 --- a/sei-cosmos/x/auth/testutil/suite.go +++ b/sei-cosmos/x/auth/testutil/suite.go @@ -5,14 +5,14 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) // TxConfigTestSuite provides a test suite that can be used to test that a TxConfig implementation is correct. diff --git a/sei-cosmos/x/auth/tx/builder.go b/sei-cosmos/x/auth/tx/builder.go index 0ebfba0dd7..7229d85209 100644 --- a/sei-cosmos/x/auth/tx/builder.go +++ b/sei-cosmos/x/auth/tx/builder.go @@ -3,15 +3,15 @@ package tx import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) // wrapper is a wrapper around the tx.Tx proto.Message which retain the raw diff --git a/sei-cosmos/x/auth/tx/builder_test.go b/sei-cosmos/x/auth/tx/builder_test.go index e45a671163..3ca6d482f0 100644 --- a/sei-cosmos/x/auth/tx/builder_test.go +++ b/sei-cosmos/x/auth/tx/builder_test.go @@ -5,14 +5,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/legacy" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) func TestTxBuilder(t *testing.T) { diff --git a/sei-cosmos/x/auth/tx/config.go b/sei-cosmos/x/auth/tx/config.go index b80e8dde08..d16dd5b7ff 100644 --- a/sei-cosmos/x/auth/tx/config.go +++ b/sei-cosmos/x/auth/tx/config.go @@ -3,13 +3,13 @@ package tx import ( "fmt" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) type config struct { diff --git a/sei-cosmos/x/auth/tx/config_test.go b/sei-cosmos/x/auth/tx/config_test.go index b20cf1ce4e..c502a32331 100644 --- a/sei-cosmos/x/auth/tx/config_test.go +++ b/sei-cosmos/x/auth/tx/config_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/std" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/std" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/testutil" ) func TestGenerator(t *testing.T) { diff --git a/sei-cosmos/x/auth/tx/decoder.go b/sei-cosmos/x/auth/tx/decoder.go index 2fef6312b9..d2dbe6068a 100644 --- a/sei-cosmos/x/auth/tx/decoder.go +++ b/sei-cosmos/x/auth/tx/decoder.go @@ -5,11 +5,11 @@ import ( "google.golang.org/protobuf/encoding/protowire" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/unknownproto" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/unknownproto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" ) // DefaultTxDecoder returns a default protobuf TxDecoder using the provided Marshaler. @@ -79,7 +79,7 @@ func DefaultTxDecoder(cdc codec.ProtoCodecMarshaler) sdk.TxDecoder { func DefaultJSONTxDecoder(cdc codec.ProtoCodecMarshaler) sdk.TxDecoder { return func(txBytes []byte) (sdk.Tx, error) { var theTx tx.Tx - err := cdc.UnmarshalJSON(txBytes, &theTx) + err := cdc.UnmarshalAsJSON(txBytes, &theTx) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrTxDecode, err.Error()) } diff --git a/sei-cosmos/x/auth/tx/direct.go b/sei-cosmos/x/auth/tx/direct.go index 4acc52a08d..150bed3528 100644 --- a/sei-cosmos/x/auth/tx/direct.go +++ b/sei-cosmos/x/auth/tx/direct.go @@ -3,11 +3,11 @@ package tx import ( "fmt" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" - sdk "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) // signModeDirectHandler defines the SIGN_MODE_DIRECT SignModeHandler diff --git a/sei-cosmos/x/auth/tx/direct_test.go b/sei-cosmos/x/auth/tx/direct_test.go index f4838baa3a..59e50540a5 100644 --- a/sei-cosmos/x/auth/tx/direct_test.go +++ b/sei-cosmos/x/auth/tx/direct_test.go @@ -6,13 +6,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) func TestDirectModeHandler(t *testing.T) { diff --git a/sei-cosmos/x/auth/tx/encode_decode_test.go b/sei-cosmos/x/auth/tx/encode_decode_test.go index d4d5ad7554..40f76325dc 100644 --- a/sei-cosmos/x/auth/tx/encode_decode_test.go +++ b/sei-cosmos/x/auth/tx/encode_decode_test.go @@ -9,13 +9,13 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/encoding/protowire" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) func TestDefaultTxDecoderError(t *testing.T) { diff --git a/sei-cosmos/x/auth/tx/encoder.go b/sei-cosmos/x/auth/tx/encoder.go index 35cecac556..d8af923728 100644 --- a/sei-cosmos/x/auth/tx/encoder.go +++ b/sei-cosmos/x/auth/tx/encoder.go @@ -5,9 +5,9 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" ) // DefaultTxEncoder returns a default protobuf TxEncoder using the provided Marshaler @@ -33,12 +33,12 @@ func DefaultJSONTxEncoder(cdc codec.ProtoCodecMarshaler) sdk.TxEncoder { return func(tx sdk.Tx) ([]byte, error) { txWrapper, ok := tx.(*wrapper) if ok { - return cdc.MarshalJSON(txWrapper.tx) + return cdc.MarshalAsJSON(txWrapper.tx) } protoTx, ok := tx.(*txtypes.Tx) if ok { - return cdc.MarshalJSON(protoTx) + return cdc.MarshalAsJSON(protoTx) } return nil, fmt.Errorf("expected %T, got %T", &wrapper{}, tx) diff --git a/sei-cosmos/x/auth/tx/legacy_amino_json.go b/sei-cosmos/x/auth/tx/legacy_amino_json.go index 090e3d864e..44e914fb72 100644 --- a/sei-cosmos/x/auth/tx/legacy_amino_json.go +++ b/sei-cosmos/x/auth/tx/legacy_amino_json.go @@ -3,11 +3,11 @@ package tx import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) const aminoNonCriticalFieldsError = "protobuf transaction contains unknown non-critical fields. This is a transaction malleability issue and SIGN_MODE_LEGACY_AMINO_JSON cannot be used." diff --git a/sei-cosmos/x/auth/tx/legacy_amino_json_test.go b/sei-cosmos/x/auth/tx/legacy_amino_json_test.go index 3db3352869..325d933ffd 100644 --- a/sei-cosmos/x/auth/tx/legacy_amino_json_test.go +++ b/sei-cosmos/x/auth/tx/legacy_amino_json_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/require" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) var ( diff --git a/sei-cosmos/x/auth/tx/mode_handler.go b/sei-cosmos/x/auth/tx/mode_handler.go index f49ee16198..e0de50487c 100644 --- a/sei-cosmos/x/auth/tx/mode_handler.go +++ b/sei-cosmos/x/auth/tx/mode_handler.go @@ -3,8 +3,8 @@ package tx import ( "fmt" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + signingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) // DefaultSignModes are the default sign modes enabled for protobuf transactions. diff --git a/sei-cosmos/x/auth/tx/query.go b/sei-cosmos/x/auth/tx/query.go index c8b48a0354..9076df6bee 100644 --- a/sei-cosmos/x/auth/tx/query.go +++ b/sei-cosmos/x/auth/tx/query.go @@ -10,9 +10,9 @@ import ( ctypes "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/coretypes" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // QueryTxsByEvents performs a search for transactions for a given set of events @@ -59,7 +59,13 @@ func QueryTxsByEvents(clientCtx client.Context, events []string, page, limit int return nil, err } - result := sdk.NewSearchTxsResult(uint64(resTxs.TotalCount), uint64(len(txs)), uint64(page), uint64(limit), txs) + result := sdk.NewSearchTxsResult( + uint64(resTxs.TotalCount), //nolint:gosec // TotalCount from Tendermint is non-negative + uint64(len(txs)), //nolint:gosec // len() is always non-negative + uint64(page), //nolint:gosec // validated positive above + uint64(limit), //nolint:gosec // validated positive above + txs, + ) return result, nil } diff --git a/sei-cosmos/x/auth/tx/service.go b/sei-cosmos/x/auth/tx/service.go index f5b7484d1f..84fa7327a7 100644 --- a/sei-cosmos/x/auth/tx/service.go +++ b/sei-cosmos/x/auth/tx/service.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/tmservice" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" gogogrpc "github.com/gogo/protobuf/grpc" "github.com/golang/protobuf/proto" // nolint: staticcheck @@ -14,11 +14,11 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - pagination "github.com/cosmos/cosmos-sdk/types/query" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + pagination "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" ) // baseAppSimulateFn is the signature of the Baseapp#Simulate function. @@ -259,7 +259,7 @@ func RegisterTxService( // RegisterGRPCGatewayRoutes mounts the tx service's GRPC-gateway routes on the // given Mux. func RegisterGRPCGatewayRoutes(clientConn gogogrpc.ClientConn, mux *runtime.ServeMux) { - txtypes.RegisterServiceHandlerClient(context.Background(), mux, txtypes.NewServiceClient(clientConn)) + _ = txtypes.RegisterServiceHandlerClient(context.Background(), mux, txtypes.NewServiceClient(clientConn)) } func parseOrderBy(orderBy txtypes.OrderBy) string { diff --git a/sei-cosmos/x/auth/tx/sigs.go b/sei-cosmos/x/auth/tx/sigs.go index e2d5d63a60..8c133b5ba1 100644 --- a/sei-cosmos/x/auth/tx/sigs.go +++ b/sei-cosmos/x/auth/tx/sigs.go @@ -3,11 +3,11 @@ package tx import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) // SignatureDataToModeInfoAndSig converts a SignatureData to a ModeInfo and raw bytes signature @@ -129,7 +129,7 @@ func (g config) MarshalSignatureJSON(sigs []signing.SignatureV2) ([]byte, error) func (g config) UnmarshalSignatureJSON(bz []byte) ([]signing.SignatureV2, error) { var sigDescs signing.SignatureDescriptors - err := g.protoCodec.UnmarshalJSON(bz, &sigDescs) + err := g.protoCodec.UnmarshalAsJSON(bz, &sigDescs) if err != nil { return nil, err } diff --git a/sei-cosmos/x/auth/tx/sigs_test.go b/sei-cosmos/x/auth/tx/sigs_test.go index ab868db1cd..619f727572 100644 --- a/sei-cosmos/x/auth/tx/sigs_test.go +++ b/sei-cosmos/x/auth/tx/sigs_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" ) func TestDecodeMultisignatures(t *testing.T) { diff --git a/sei-cosmos/x/auth/types/account.go b/sei-cosmos/x/auth/types/account.go index e801d5b52a..cb6e7cd971 100644 --- a/sei-cosmos/x/auth/types/account.go +++ b/sei-cosmos/x/auth/types/account.go @@ -11,10 +11,10 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( @@ -26,8 +26,6 @@ var ( ) // NewBaseAccount creates a new BaseAccount object -// -//nolint:interfacer func NewBaseAccount(address sdk.AccAddress, pubKey cryptotypes.PubKey, accountNumber, sequence uint64) *BaseAccount { acc := &BaseAccount{ Address: address.String(), diff --git a/sei-cosmos/x/auth/types/account_retriever.go b/sei-cosmos/x/auth/types/account_retriever.go index 792524fff0..3a5fed8f48 100644 --- a/sei-cosmos/x/auth/types/account_retriever.go +++ b/sei-cosmos/x/auth/types/account_retriever.go @@ -8,9 +8,9 @@ import ( grpc "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" ) var ( diff --git a/sei-cosmos/x/auth/types/account_retriever_test.go b/sei-cosmos/x/auth/types/account_retriever_test.go index f47ebfa3c5..33f172b8b7 100644 --- a/sei-cosmos/x/auth/types/account_retriever_test.go +++ b/sei-cosmos/x/auth/types/account_retriever_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) func TestAccountRetriever(t *testing.T) { diff --git a/sei-cosmos/x/auth/types/account_test.go b/sei-cosmos/x/auth/types/account_test.go index 32c1c7917a..b2e8e13376 100644 --- a/sei-cosmos/x/auth/types/account_test.go +++ b/sei-cosmos/x/auth/types/account_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) func TestBaseAddressPubKey(t *testing.T) { diff --git a/sei-cosmos/x/auth/types/auth.pb.go b/sei-cosmos/x/auth/types/auth.pb.go index c13ed7a466..5560e01a95 100644 --- a/sei-cosmos/x/auth/types/auth.pb.go +++ b/sei-cosmos/x/auth/types/auth.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" io "io" math "math" math_bits "math/bits" @@ -199,51 +199,52 @@ func init() { func init() { proto.RegisterFile("cosmos/auth/v1beta1/auth.proto", fileDescriptor_7e1f7e915d020d2d) } var fileDescriptor_7e1f7e915d020d2d = []byte{ - // 704 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0xc1, 0x6e, 0xda, 0x4a, - 0x14, 0xc5, 0x2f, 0x3c, 0x42, 0x86, 0x24, 0x12, 0x86, 0x24, 0x86, 0xf7, 0x64, 0x5b, 0x5e, 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, 0x77, 0x5a, 0xf4, 0xd9, 0x24, 0x96, 0x76, 0x97, 0x8a, 0xf6, 0x67, 0x8a, 0x69, 0x2c, - 0xc9, 0xab, 0xcb, 0xce, 0x4d, 0x14, 0x7d, 0x97, 0xac, 0xcc, 0xe5, 0x55, 0x50, 0x19, 0x38, 0x04, - 0x9a, 0x23, 0x64, 0x10, 0x74, 0xe1, 0x25, 0xcb, 0x42, 0xd6, 0x50, 0x28, 0xc8, 0x5c, 0xa3, 0xa8, - 0x97, 0x33, 0xaa, 0x9f, 0x30, 0xbd, 0x84, 0xe8, 0x16, 0xb3, 0xff, 0x38, 0xa7, 0xf5, 0xbe, 0x4e, - 0x44, 0xee, 0x76, 0x22, 0x72, 0xdf, 0x27, 0x22, 0xf7, 0xe9, 0x5e, 0xcc, 0xdd, 0xde, 0x8b, 0xb9, - 0x6f, 0xf7, 0x62, 0xee, 0xed, 0x7f, 0xb6, 0x43, 0xcf, 0x43, 0x53, 0xb5, 0xb0, 0x9b, 0xbd, 0x1d, - 0xd9, 0x4f, 0x93, 0x0c, 0x86, 0xad, 0x31, 0x7b, 0x8a, 0x68, 0xe4, 0x23, 0x62, 0x16, 0xd2, 0x2f, - 0xfb, 0xc9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xbd, 0x76, 0x46, 0xa6, 0x04, 0x00, 0x00, + // 712 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0x31, 0x6f, 0xdb, 0x46, + 0x14, 0x16, 0x6b, 0x55, 0x96, 0x4f, 0xb6, 0x01, 0x51, 0xb2, 0x4d, 0xa9, 0x05, 0x49, 0x70, 0xd2, + 0x50, 0x51, 0x90, 0x0a, 0x17, 0xb0, 0x86, 0xa2, 0xa6, 0xdb, 0xc1, 0x68, 0x6d, 0x18, 0x14, 0xd0, + 0xa1, 0x28, 0xc0, 0x1c, 0xa9, 0x33, 0x45,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 0xda, 0xd0, 0x23, + 0xd0, 0x1e, 0x23, 0x8b, 0xa0, 0xeb, 0x20, 0x5b, 0x16, 0x72, 0xae, 0xa4, 0x92, 0x2a, 0xb4, 0xca, + 0x66, 0x35, 0xa7, 0x06, 0x19, 0x73, 0x92, 0x11, 0xfd, 0x72, 0xfe, 0x8d, 0x0b, 0xc6, 0xe0, 0xc3, + 0x54, 0x16, 0x1e, 0xa6, 0xb2, 0xf0, 0x69, 0x2a, 0x0b, 0x6f, 0x9f, 0xe4, 0xc2, 0xc3, 0x93, 0x5c, + 0xf8, 0xf8, 0x24, 0x17, 0xfe, 0x3b, 0x72, 0x3d, 0x3a, 0x8a, 0x6d, 0xdd, 0xc1, 0x7e, 0x87, 0x20, + 0xaf, 0xcd, 0xfe, 0x5e, 0x07, 0x8f, 0x59, 0xe0, 0x8c, 0xa0, 0x17, 0xf0, 0x13, 0x7f, 0x98, 0x26, + 0xfc, 0x69, 0xa2, 0x49, 0x88, 0x88, 0x5d, 0x62, 0xda, 0x5f, 0xbf, 0x05, 0x00, 0x00, 0xff, 0xff, + 0x16, 0x31, 0xea, 0x6f, 0xb6, 0x04, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { diff --git a/sei-cosmos/x/auth/types/codec.go b/sei-cosmos/x/auth/types/codec.go index 629e2919d2..5d44c4f5fd 100644 --- a/sei-cosmos/x/auth/types/codec.go +++ b/sei-cosmos/x/auth/types/codec.go @@ -1,10 +1,10 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" ) // RegisterLegacyAminoCodec registers the account interfaces and concrete types on the diff --git a/sei-cosmos/x/auth/types/expected_keepers.go b/sei-cosmos/x/auth/types/expected_keepers.go index 13620c2153..0430fbd3e1 100644 --- a/sei-cosmos/x/auth/types/expected_keepers.go +++ b/sei-cosmos/x/auth/types/expected_keepers.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // BankKeeper defines the contract needed for supply related APIs (noalias) diff --git a/sei-cosmos/x/auth/types/genesis.go b/sei-cosmos/x/auth/types/genesis.go index 380d85fc6b..773a40e898 100644 --- a/sei-cosmos/x/auth/types/genesis.go +++ b/sei-cosmos/x/auth/types/genesis.go @@ -7,9 +7,9 @@ import ( proto "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" ) var _ types.UnpackInterfacesMessage = GenesisState{} diff --git a/sei-cosmos/x/auth/types/genesis.pb.go b/sei-cosmos/x/auth/types/genesis.pb.go index b84cba2ed8..1327038176 100644 --- a/sei-cosmos/x/auth/types/genesis.pb.go +++ b/sei-cosmos/x/auth/types/genesis.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" io "io" math "math" math_bits "math/bits" @@ -86,23 +86,24 @@ func init() { func init() { proto.RegisterFile("cosmos/auth/v1beta1/genesis.proto", fileDescriptor_d897ccbce9822332) } var fileDescriptor_d897ccbce9822332 = []byte{ - // 251 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 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0x24, 0xc7, 0x38, 0xe1, 0xb1, - 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x69, 0xa6, 0x67, 0x96, 0x64, - 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0xbd, 0x0c, 0xa1, 0x74, 0x8b, 0x53, 0xb2, 0xf5, - 0x2b, 0x20, 0xfe, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x1b, 0x6e, 0x0c, 0x08, 0x00, - 0x00, 0xff, 0xff, 0x8b, 0x3b, 0x47, 0x83, 0x53, 0x01, 0x00, 0x00, + // 260 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xb1, 0x4e, 0xc3, 0x30, + 0x18, 0x84, 0x63, 0x40, 0x15, 0x4a, 0x99, 0x42, 0x87, 0x52, 0x24, 0x53, 0x98, 0xba, 0xf0, 0x9b, + 0x96, 0xa9, 0x23, 0x5d, 0x58, 0x51, 0xbb, 0xb1, 0x39, 0x96, 0x71, 0x22, 0x35, 0xfe, 0xa3, 0xda, + 0x41, 0x44, 0xbc, 0x04, 0x8f, 0xd5, 0xb1, 0x23, 0x13, 0x42, 0xc9, 0x8b, 0xa0, 0xfe, 0x0e, 0x9d, + 0xba, 0xdd, 0xd9, 0xdf, 0xf9, 0xac, 0x8b, 0x6f, 0x15, 0xba, 0x02, 0x9d, 0x90, 0x95, 0xcf, 0xc4, + 0xfb, 0x34, 0xd5, 0x5e, 0x4e, 0x85, 0xd1, 0x56, 0xbb, 0xdc, 0x41, 0xb9, 0x41, 0x8f, 0xc9, 0x65, + 0x40, 0x60, 0x8f, 0x40, 0x87, 0x8c, 0xf8, 0xb1, 0x1c, 0x11, 0x14, 0x1a, 0x0d, 0x0c, 0x1a, 0x24, + 0x29, 0xf6, 0xaa, 0x3b, 0xbd, 0x32, 0x88, 0x66, 0xad, 0x05, 0xb9, 0xb4, 0x7a, 0x13, 0xd2, 0xd6, + 0xe1, 0xea, 0xee, 0x33, 0xbe, 0x78, 0x0e, 0xb5, 0x2b, 0x2f, 0xbd, 0x4e, 0xe6, 0x71, 0xaf, 0x94, + 0x1b, 0x59, 0xb8, 0x21, 0x1b, 0xb3, 0x49, 0x7f, 0x76, 0x0d, 0x47, 0xbe, 0x01, 0x2f, 0x84, 0x2c, + 0xce, 0xb6, 0x3f, 0x37, 0xd1, 0xb2, 0x0b, 0x24, 0x0f, 0xf1, 0xb9, 0x54, 0x0a, 0x2b, 0xeb, 0xdd, + 0xf0, 0x64, 0x7c, 0x3a, 0xe9, 0xcf, 0x06, 0x10, 0x8a, 0xe1, 0xbf, 0x18, 0x9e, 0x6c, 0xbd, 0x3c, + 0x50, 0x8b, 0xd5, 0xb6, 0xe1, 0x6c, 0xd7, 0x70, 0xf6, 0xdb, 0x70, 0xf6, 0xd5, 0xf2, 0x68, 0xd7, + 0xf2, 0xe8, 0xbb, 0xe5, 0xd1, 0xeb, 0xdc, 0xe4, 0x3e, 0xab, 0x52, 0x50, 0x58, 0x08, 0xa7, 0xf3, + 0x7b, 0x7a, 0x40, 0xe1, 0x9a, 0x8c, 0xca, 0x64, 0x6e, 0x83, 0x0a, 0x6b, 0x7c, 0x84, 0x3d, 0x7c, + 0x5d, 0x6a, 0x97, 0xf6, 0x88, 0x7d, 0xfc, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x58, 0x64, 0x5c, 0x8f, + 0x63, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/auth/types/genesis_test.go b/sei-cosmos/x/auth/types/genesis_test.go index 1030885e79..cc5e088088 100644 --- a/sei-cosmos/x/auth/types/genesis_test.go +++ b/sei-cosmos/x/auth/types/genesis_test.go @@ -7,10 +7,10 @@ import ( proto "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/require" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) func TestSanitize(t *testing.T) { @@ -62,7 +62,7 @@ func TestGenesisAccountIterator(t *testing.T) { authGenState.Accounts = accounts appGenesis := make(map[string]json.RawMessage) - authGenStateBz, err := appCodec.MarshalJSON(authGenState) + authGenStateBz, err := appCodec.MarshalAsJSON(authGenState) require.NoError(t, err) appGenesis[types.ModuleName] = authGenStateBz diff --git a/sei-cosmos/x/auth/types/keys.go b/sei-cosmos/x/auth/types/keys.go index 4d2940e777..d61e2de525 100644 --- a/sei-cosmos/x/auth/types/keys.go +++ b/sei-cosmos/x/auth/types/keys.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/sei-cosmos/x/auth/types/params.go b/sei-cosmos/x/auth/types/params.go index 865f8bf3c9..c7f08a1b1f 100644 --- a/sei-cosmos/x/auth/types/params.go +++ b/sei-cosmos/x/auth/types/params.go @@ -5,7 +5,7 @@ import ( yaml "gopkg.in/yaml.v2" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // Default parameter values diff --git a/sei-cosmos/x/auth/types/params_test.go b/sei-cosmos/x/auth/types/params_test.go index fcec36cb83..a291535014 100644 --- a/sei-cosmos/x/auth/types/params_test.go +++ b/sei-cosmos/x/auth/types/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) func TestParamsEqual(t *testing.T) { diff --git a/sei-cosmos/x/auth/types/permissions.go b/sei-cosmos/x/auth/types/permissions.go index 8547235003..1b41e2224a 100644 --- a/sei-cosmos/x/auth/types/permissions.go +++ b/sei-cosmos/x/auth/types/permissions.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // permissions diff --git a/sei-cosmos/x/auth/types/query.go b/sei-cosmos/x/auth/types/query.go index ce0fa7fe2c..e89c7b10c1 100644 --- a/sei-cosmos/x/auth/types/query.go +++ b/sei-cosmos/x/auth/types/query.go @@ -1,6 +1,6 @@ package types -import codectypes "github.com/cosmos/cosmos-sdk/codec/types" +import codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" func (m *QueryAccountResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error { var account AccountI diff --git a/sei-cosmos/x/auth/types/query.pb.go b/sei-cosmos/x/auth/types/query.pb.go index d9a1211f8b..45e4e2967f 100644 --- a/sei-cosmos/x/auth/types/query.pb.go +++ b/sei-cosmos/x/auth/types/query.pb.go @@ -6,12 +6,12 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -402,45 +402,46 @@ func init() { func init() { proto.RegisterFile("cosmos/auth/v1beta1/query.proto", fileDescriptor_c451370b3929a27c) } var fileDescriptor_c451370b3929a27c = []byte{ - // 604 bytes of a gzipped FileDescriptorProto + // 613 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x41, 0x6b, 0x13, 0x4f, - 0x18, 0xc6, 0x77, 0xfb, 0x6f, 0x93, 0xfc, 0xa7, 0x5e, 0x9c, 0x46, 0x48, 0x53, 0xb3, 0x5b, 0x56, - 0x6c, 0x92, 0x42, 0x67, 0x69, 0x0a, 0x42, 0x45, 0x84, 0x46, 0x50, 0xbc, 0x94, 0xb8, 0x78, 0xf2, - 0xa0, 0xcc, 0x26, 0xe3, 0x36, 0x68, 0x76, 0xb6, 0x99, 0x5d, 0x49, 0x10, 0x41, 0x3c, 0xf5, 0xa6, - 0xe0, 0x17, 0xc8, 0x07, 0xf0, 0xe8, 0x87, 0x28, 0x9e, 0x0a, 0x82, 0x78, 0x12, 0x49, 0x3c, 0xf8, - 0x31, 0x24, 0x33, 0xef, 0xa4, 0x8d, 0x6e, 0x4c, 0x3c, 0x25, 0x33, 0xf3, 0x3c, 0xef, 0xf3, 0x7b, - 0x67, 0xde, 0x45, 0x76, 0x93, 0x8b, 0x0e, 0x17, 0x2e, 0x4d, 0xe2, 0x23, 0xf7, 0xc5, 0xae, 0xcf, - 0x62, 0xba, 0xeb, 0x1e, 0x27, 0xac, 0xdb, 0x27, 0x51, 0x97, 0xc7, 0x1c, 0xaf, 0x29, 0x01, 0x19, - 0x0b, 0x08, 0x08, 0x8a, 0x56, 0x9a, 0x4b, 0x2a, 0xa4, 0xa9, 0xb8, 0x0d, 0xe7, 0x3e, 0x15, 0x4c, - 0x55, 0x9b, 0xa8, 0x22, 0x1a, 0xb4, 0x43, 0x1a, 0xb7, 0x79, 0x08, 0xda, 0x75, 0xa5, 0x7d, 0x22, - 0x57, 0x2e, 0xa4, 0xa9, 0xa3, 0x7c, 0xc0, 0x03, 0xae, 0xf6, 0xc7, 0xff, 0x60, 0xf7, 0x6a, 0xc0, -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xbf, 0x93, + 0x2e, 0x6f, 0xe7, 0x4f, 0x07, 0xa6, 0xf6, 0x73, 0x60, 0x6a, 0xd6, 0xe3, 0xe9, 0xee, 0x4d, 0x6a, + 0xbb, 0x83, 0x72, 0xc0, 0x09, 0xad, 0x5b, 0xa4, 0xb4, 0xd4, 0x62, 0x15, 0x10, 0x96, 0xb7, 0xb6, + 0x68, 0x97, 0x76, 0xd2, 0x17, 0xb1, 0x5a, 0x80, 0x99, 0xee, 0x42, 0x54, 0x03, 0xad, 0x46, 0x72, + 0x07, 0x92, 0x36, 0x49, 0xc6, 0x70, 0x12, 0x65, 0x6a, 0x2e, 0x9f, 0x7d, 0x33, 0x35, 0x07, 0x0c, + 0x96, 0x89, 0xca, 0xf2, 0xc6, 0x43, 0xd6, 0x8b, 0x81, 0xe2, 0x30, 0xe9, 0xb8, 0xac, 0x9b, 0x46, + 0xde, 0x42, 0xc6, 0x2c, 0x01, 0xa4, 0x17, 0xd0, 0xca, 0x45, 0x99, 0xcb, 0x8e, 0x5a, 0xd4, 0xbf, + 0x2c, 0xa3, 0x15, 0x69, 0xc4, 0xa7, 0x3a, 0x4a, 0x0b, 0x14, 0xb8, 0x96, 0x89, 0x96, 0x35, 0x7e, + 0xa5, 0x9d, 0x45, 0xa4, 0x8a, 0xc1, 0xba, 0xf9, 0xe6, 0xf3, 0x8f, 0xf7, 0x4b, 0x26, 0x2e, 0xdb, + 0x99, 0x7f, 0x60, 0x9a, 0xfe, 0x56, 0x47, 0x39, 0xf0, 0xe2, 0xea, 0xdc, 0xeb, 0x53, 0x90, 0xda, + 0x02, 0x4a, 0xe0, 0xb0, 0x25, 0x47, 0x0d, 0x57, 0xfe, 0xca, 0x61, 0xbf, 0x84, 0x31, 0x7a, 0x85, + 0x5f, 0xeb, 0x68, 0x55, 0x3d, 0x0c, 0xae, 0xcc, 0x8e, 0x99, 0x9a, 0x82, 0x52, 0x75, 0xbe, 0x10, + 0x70, 0x6e, 0x48, 0x9c, 0x32, 0xde, 0xcc, 0xc4, 0x51, 0x23, 0x80, 0x3f, 0xe8, 0xe8, 0xea, 0x1f, + 0xaf, 0x8b, 0xeb, 0xb3, 0x43, 0x66, 0xcd, 0x4a, 0x69, 0xff, 0x9f, 0x3c, 0xc0, 0x48, 0x24, 0x63, + 0x15, 0x6f, 0x67, 0x32, 0x86, 0xac, 0x17, 0x43, 0xdb, 0x42, 0xe9, 0x6b, 0x3e, 0x3a, 0x1b, 0x1a, + 0xfa, 0xf9, 0xd0, 0xd0, 0xbf, 0x0f, 0x0d, 0xfd, 0xdd, 0xc8, 0xd0, 0xce, 0x47, 0x86, 0xf6, 0x75, + 0x64, 0x68, 0x4f, 0x1a, 0x7e, 0x10, 0xb7, 0x13, 0x97, 0x78, 0xbc, 0x63, 0x0b, 0x16, 0xec, 0xca, + 0xff, 0xcc, 0xe3, 0xc7, 0x72, 0xe1, 0xb5, 0x69, 0x10, 0xaa, 0x2f, 0x15, 0xd3, 0x53, 0x41, 0x71, + 0x3f, 0x62, 0xc2, 0x5d, 0x95, 0xda, 0xfd, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x9a, 0xd1, 0x8a, + 0x29, 0xf7, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/auth/vesting/client/cli/tx.go b/sei-cosmos/x/auth/vesting/client/cli/tx.go index e7b2023515..e0aefe028d 100644 --- a/sei-cosmos/x/auth/vesting/client/cli/tx.go +++ b/sei-cosmos/x/auth/vesting/client/cli/tx.go @@ -5,11 +5,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" ) // Transaction command flags diff --git a/sei-cosmos/x/auth/vesting/client/testutil/cli_test.go b/sei-cosmos/x/auth/vesting/client/testutil/cli_test.go index 1035ca7502..9126c139f8 100644 --- a/sei-cosmos/x/auth/vesting/client/testutil/cli_test.go +++ b/sei-cosmos/x/auth/vesting/client/testutil/cli_test.go @@ -6,7 +6,7 @@ package testutil import ( "testing" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/sei-cosmos/x/auth/vesting/client/testutil/suite.go b/sei-cosmos/x/auth/vesting/client/testutil/suite.go index f619f31165..08d2d26e96 100644 --- a/sei-cosmos/x/auth/vesting/client/testutil/suite.go +++ b/sei-cosmos/x/auth/vesting/client/testutil/suite.go @@ -6,11 +6,11 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/client/cli" ) type IntegrationTestSuite struct { @@ -122,7 +122,7 @@ func (s *IntegrationTestSuite) TestNewMsgCreateVestingAccountCmd() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(bw.Bytes(), tc.respType), bw.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(bw.Bytes(), tc.respType), bw.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code) diff --git a/sei-cosmos/x/auth/vesting/exported/exported.go b/sei-cosmos/x/auth/vesting/exported/exported.go index 858e53ed4f..b29469355f 100644 --- a/sei-cosmos/x/auth/vesting/exported/exported.go +++ b/sei-cosmos/x/auth/vesting/exported/exported.go @@ -3,9 +3,9 @@ package exported import ( "time" - "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // VestingAccount defines an account type that vests coins via a vesting schedule. diff --git a/sei-cosmos/x/auth/vesting/handler.go b/sei-cosmos/x/auth/vesting/handler.go index 1d32e9969b..18033be66a 100644 --- a/sei-cosmos/x/auth/vesting/handler.go +++ b/sei-cosmos/x/auth/vesting/handler.go @@ -1,10 +1,10 @@ package vesting import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" ) // NewHandler returns a handler for x/auth message types. diff --git a/sei-cosmos/x/auth/vesting/handler_test.go b/sei-cosmos/x/auth/vesting/handler_test.go index c55543a37c..f0694c8a0f 100644 --- a/sei-cosmos/x/auth/vesting/handler_test.go +++ b/sei-cosmos/x/auth/vesting/handler_test.go @@ -8,9 +8,9 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" ) type HandlerTestSuite struct { diff --git a/sei-cosmos/x/auth/vesting/module.go b/sei-cosmos/x/auth/vesting/module.go index 787b1dfcd1..a9e8dea87f 100644 --- a/sei-cosmos/x/auth/vesting/module.go +++ b/sei-cosmos/x/auth/vesting/module.go @@ -8,14 +8,14 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/client/cli" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" ) var ( diff --git a/sei-cosmos/x/auth/vesting/msg_server.go b/sei-cosmos/x/auth/vesting/msg_server.go index 94228c274e..b4c5022f8f 100644 --- a/sei-cosmos/x/auth/vesting/msg_server.go +++ b/sei-cosmos/x/auth/vesting/msg_server.go @@ -3,15 +3,15 @@ package vesting import ( "context" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" ) type msgServer struct { diff --git a/sei-cosmos/x/auth/vesting/types/codec.go b/sei-cosmos/x/auth/vesting/types/codec.go index 6a4b795107..b29d64649e 100644 --- a/sei-cosmos/x/auth/vesting/types/codec.go +++ b/sei-cosmos/x/auth/vesting/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/exported" ) // RegisterLegacyAminoCodec registers the vesting interfaces and concrete types on the diff --git a/sei-cosmos/x/auth/vesting/types/expected_keepers.go b/sei-cosmos/x/auth/vesting/types/expected_keepers.go index 5705eea30b..ee77cd747d 100644 --- a/sei-cosmos/x/auth/vesting/types/expected_keepers.go +++ b/sei-cosmos/x/auth/vesting/types/expected_keepers.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // BankKeeper defines the expected interface contract the vesting module requires diff --git a/sei-cosmos/x/auth/vesting/types/genesis_test.go b/sei-cosmos/x/auth/vesting/types/genesis_test.go index 16065e2a5e..8d70f64b36 100644 --- a/sei-cosmos/x/auth/vesting/types/genesis_test.go +++ b/sei-cosmos/x/auth/vesting/types/genesis_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) var ( diff --git a/sei-cosmos/x/auth/vesting/types/msgs.go b/sei-cosmos/x/auth/vesting/types/msgs.go index fee9a7b9df..7082d2fa05 100644 --- a/sei-cosmos/x/auth/vesting/types/msgs.go +++ b/sei-cosmos/x/auth/vesting/types/msgs.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // TypeMsgCreateVestingAccount defines the type value for a MsgCreateVestingAccount. @@ -11,8 +11,6 @@ const TypeMsgCreateVestingAccount = "msg_create_vesting_account" var _ sdk.Msg = &MsgCreateVestingAccount{} // NewMsgCreateVestingAccount returns a reference to a new MsgCreateVestingAccount. -// -//nolint:interfacer func NewMsgCreateVestingAccount(fromAddr, toAddr sdk.AccAddress, amount sdk.Coins, endTime int64, delayed bool, admin sdk.AccAddress) *MsgCreateVestingAccount { return &MsgCreateVestingAccount{ FromAddress: fromAddr.String(), diff --git a/sei-cosmos/x/auth/vesting/types/period.go b/sei-cosmos/x/auth/vesting/types/period.go index 045c142a3c..ce33fbf11f 100644 --- a/sei-cosmos/x/auth/vesting/types/period.go +++ b/sei-cosmos/x/auth/vesting/types/period.go @@ -7,7 +7,7 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Periods stores all vesting periods passed as part of a PeriodicVestingAccount @@ -50,7 +50,7 @@ func (p Periods) TotalAmount() sdk.Coins { // String implements the fmt.Stringer interface func (p Periods) String() string { - periodsListString := make([]string, len(p)) + periodsListString := make([]string, 0, len(p)) for _, period := range p { periodsListString = append(periodsListString, period.String()) } diff --git a/sei-cosmos/x/auth/vesting/types/test_common.go b/sei-cosmos/x/auth/vesting/types/test_common.go index 0e22ea2352..28ee0fffd4 100644 --- a/sei-cosmos/x/auth/vesting/types/test_common.go +++ b/sei-cosmos/x/auth/vesting/types/test_common.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // NewTestMsg generates a test message diff --git a/sei-cosmos/x/auth/vesting/types/tx.pb.go b/sei-cosmos/x/auth/vesting/types/tx.pb.go index 047fbde819..b63969e312 100644 --- a/sei-cosmos/x/auth/vesting/types/tx.pb.go +++ b/sei-cosmos/x/auth/vesting/types/tx.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -33,12 +33,12 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // MsgCreateVestingAccount defines a message that enables creating a vesting // account. type MsgCreateVestingAccount struct { - FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" yaml:"from_address"` - ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" yaml:"to_address"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` - EndTime int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" yaml:"end_time"` - Delayed bool `protobuf:"varint,5,opt,name=delayed,proto3" json:"delayed,omitempty"` - Admin string `protobuf:"bytes,6,opt,name=admin,proto3" json:"admin,omitempty"` + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" yaml:"from_address"` + ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" yaml:"to_address"` + Amount github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"amount"` + EndTime int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" yaml:"end_time"` + Delayed bool `protobuf:"varint,5,opt,name=delayed,proto3" json:"delayed,omitempty"` + Admin string `protobuf:"bytes,6,opt,name=admin,proto3" json:"admin,omitempty"` } func (m *MsgCreateVestingAccount) Reset() { *m = MsgCreateVestingAccount{} } @@ -88,7 +88,7 @@ func (m *MsgCreateVestingAccount) GetToAddress() string { return "" } -func (m *MsgCreateVestingAccount) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *MsgCreateVestingAccount) GetAmount() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.Amount } @@ -161,34 +161,35 @@ func init() { func init() { proto.RegisterFile("cosmos/vesting/v1beta1/tx.proto", fileDescriptor_5338ca97811f9792) } var fileDescriptor_5338ca97811f9792 = []byte{ - // 425 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x31, 0x6f, 0xd4, 0x30, - 0x18, 0x86, 0xe3, 0xa6, 0xbd, 0xb6, 0x2e, 0x12, 0x22, 0x3d, 0x68, 0xb8, 0x21, 0x0e, 0x99, 0xb2, - 0x60, 0x73, 0x05, 0x09, 0xe9, 0xb6, 0xa6, 0x23, 0xea, 0x12, 0x21, 0x06, 0x96, 0xca, 0x89, 0x4d, - 0x1a, 0x51, 0xdb, 0xa7, 0xd8, 0x57, 0xf5, 0x36, 0x46, 0x46, 0x7e, 0x02, 0x33, 0xbf, 0xa4, 0x63, - 0x27, 0xc4, 0x14, 0xd0, 0xdd, 0xc2, 0x7c, 0xbf, 0x00, 0x25, 0x4e, 0x0e, 0x86, 0x1e, 0x52, 0xa7, - 0xf8, 0xcd, 0xf7, 0x3d, 0x9f, 0xfd, 0xbe, 0x36, 0x44, 0xb9, 0xd2, 0x42, 0x69, 0x72, 0xc5, 0xb5, - 0x29, 0x65, 0x41, 0xae, 0xc6, 0x19, 0x37, 0x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 0x55, 0x8d, - 0x1e, 0xda, 0x83, 0xf5, 0x95, 0x28, 0xdd, 0xe5, 0x92, 0xbd, 0x2d, 0x05, 0xf7, 0x7c, 0xb8, 0xcb, - 0xf8, 0x25, 0x9d, 0x73, 0xe6, 0xef, 0x84, 0x20, 0xde, 0x4b, 0x7b, 0xe9, 0x0d, 0xe1, 0x0e, 0x65, - 0xa2, 0x94, 0xfe, 0xa0, 0xf1, 0x97, 0x5a, 0x31, 0xd9, 0xfe, 0xfd, 0x15, 0x81, 0xe8, 0x19, 0x44, - 0x1b, 0x72, 0x4d, 0xb9, 0x9e, 0x2a, 0xa9, 0xf9, 0xf1, 0x67, 0x00, 0xdd, 0x33, 0x5d, 0x78, 0x9f, - 0x00, 0x1c, 0xde, 0x79, 0x01, 0x04, 0xdf, 0x7d, 0xd7, 0x78, 0xc3, 0xe4, 0xd1, 0xeb, 0x7b, 0x02, - 0xfd, 0x51, 0x92, 0x37, 0x37, 0x8b, 0x00, 0xdc, 0x2e, 0x02, 0xf0, 0x6b, 0x11, 0x80, 0x2f, 0xcb, - 0xc0, 0xb9, 0x5d, 0x06, 0xce, 0x8f, 0x65, 0xe0, 0xbc, 0x1f, 0xff, 0x37, 0xdf, 0x6b, 0x42, 0x67, - 0xe6, 0x62, 0xfd, 0x58, 0xdb, 0xb8, 0xb3, 0x41, 0xfb, 0xb4, 0x5e, 0xfe, 0x09, 0x00, 0x00, 0xff, - 0xff, 0x3c, 0xb6, 0x81, 0x61, 0xcb, 0x02, 0x00, 0x00, + // 433 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x31, 0x6f, 0xd3, 0x40, + 0x14, 0xc7, 0x73, 0x4d, 0x9b, 0xb6, 0x57, 0x24, 0x84, 0x1b, 0xa8, 0xc9, 0xe0, 0x0b, 0x9e, 0xbc, + 0x70, 0x56, 0x0b, 0x12, 0x28, 0x13, 0x71, 0xe7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 0xab, 0xbc, 0xaf, 0x43, 0x36, 0x37, 0x93, 0xcd, 0xcf, 0x5c, 0xc7, 0x9f, 0xf4, + 0x6a, 0xe6, 0xd5, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xb9, 0xbd, 0xc4, 0xeb, 0x02, 0x00, + 0x00, } func (this *MsgCreateVestingAccount) Equal(that interface{}) bool { diff --git a/sei-cosmos/x/auth/vesting/types/vesting.pb.go b/sei-cosmos/x/auth/vesting/types/vesting.pb.go index 2f3ff5f8d8..02ba88af6c 100644 --- a/sei-cosmos/x/auth/vesting/types/vesting.pb.go +++ b/sei-cosmos/x/auth/vesting/types/vesting.pb.go @@ -5,11 +5,11 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types1 "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/x/auth/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" io "io" math "math" math_bits "math/bits" @@ -30,10 +30,10 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // the necessary fields needed for any vesting account implementation. type BaseVestingAccount struct { *types.BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3,embedded=base_account" json:"base_account,omitempty"` - OriginalVesting github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=original_vesting,json=originalVesting,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"original_vesting" yaml:"original_vesting"` - DelegatedFree github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=delegated_free,json=delegatedFree,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"delegated_free" yaml:"delegated_free"` - DelegatedVesting github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=delegated_vesting,json=delegatedVesting,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"delegated_vesting" yaml:"delegated_vesting"` - EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" yaml:"end_time"` + OriginalVesting github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,2,rep,name=original_vesting,json=originalVesting,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"original_vesting" yaml:"original_vesting"` + DelegatedFree github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,3,rep,name=delegated_free,json=delegatedFree,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"delegated_free" yaml:"delegated_free"` + DelegatedVesting github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,4,rep,name=delegated_vesting,json=delegatedVesting,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"delegated_vesting" yaml:"delegated_vesting"` + EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" yaml:"end_time"` // admin field (optional), an address who has oversight powers for the vesting account such as cancelling Admin string `protobuf:"bytes,6,opt,name=admin,proto3" json:"admin,omitempty" yaml:"admin"` // this field (default nil) indicates whether the vesting for the account has been cancelled (and what time it was cancelled) @@ -152,8 +152,8 @@ var xxx_messageInfo_DelayedVestingAccount proto.InternalMessageInfo // Period defines a length of time and amount of coins that will vest. type Period struct { - Length int64 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Length int64 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` + Amount github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"amount"` } func (m *Period) Reset() { *m = Period{} } @@ -195,7 +195,7 @@ func (m *Period) GetLength() int64 { return 0 } -func (m *Period) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *Period) GetAmount() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.Amount } @@ -297,49 +297,49 @@ func init() { } var fileDescriptor_89e80273ca606d6e = []byte{ - // 659 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x55, 0x4f, 0x4f, 0xd4, 0x40, - 0x14, 0xdf, 0x61, 0x61, 0x81, 0xe1, 0xff, 0x08, 0x6b, 0xf1, 0xd0, 0x6e, 0x1a, 0x63, 0x36, 0x26, - 0x76, 0x05, 0x3d, 0x71, 0xd2, 0x62, 0x4c, 0x08, 0x1c, 0x4c, 0x63, 0x3c, 0x78, 0xd9, 0x4c, 0xdb, - 0xb1, 0x4c, 0x68, 0x67, 0xc8, 0xce, 0x2c, 0x91, 0x0f, 0xa0, 0x31, 0xe1, 0xa2, 0x89, 0x07, 0x8f, - 0x5c, 0xbc, 0xf8, 0x19, 0x8c, 0x67, 0x8e, 0x1c, 0x3d, 0xad, 0x06, 0xbe, 0xc1, 0x7e, 0x02, 0xd3, - 0x99, 0x69, 0x17, 0x16, 0x95, 0xe0, 0x41, 0xe3, 0x69, 0xfb, 0xfe, 0xfd, 0xde, 0xef, 0xbd, 0xfe, - 0xde, 0x16, 0xde, 0x8c, 0xb8, 0xc8, 0xb8, 0x68, 0xed, 0x11, 0x21, 0x29, 0x4b, 0x5a, 0x7b, 0x2b, - 0x21, 0x91, 0x78, 0xa5, 0xb0, 0xbd, 0xdd, 0x0e, 0x97, 0x1c, 0xd5, 0x75, 0x96,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 0x34, 0xc0, 0x2b, 0x00, 0x97, 0x1e, 0x91, - 0x14, 0xef, 0x97, 0x7b, 0xff, 0x8b, 0xec, 0xcf, 0xf0, 0x38, 0x00, 0xb0, 0xf6, 0x84, 0x74, 0x28, - 0x8f, 0x51, 0x1d, 0xd6, 0x52, 0xc2, 0x12, 0xb9, 0xad, 0x5a, 0x55, 0x03, 0x63, 0xa1, 0x08, 0xd6, - 0x70, 0xa6, 0x28, 0x5c, 0x7a, 0xbd, 0x77, 0x73, 0x69, 0x5e, 0x49, 0x7e, 0x06, 0x7a, 0x6d, 0x54, - 0xb1, 0xf9, 0x38, 0x02, 0xeb, 0x9a, 0x0d, 0x8d, 0xfe, 0x97, 0x97, 0x8a, 0x12, 0x38, 0x57, 0x90, - 0xda, 0x55, 0xdc, 0x85, 0xf9, 0x53, 0xb1, 0x7f, 0x45, 0x4a, 0x8f, 0xe8, 0xdb, 0xe6, 0x90, 0xeb, - 0x1a, 0x7e, 0x08, 0xc4, 0x0d, 0x66, 0x8d, 0x47, 0xa7, 0x8b, 0x33, 0x6f, 0xed, 0x35, 0x50, 0x7b, - 0xca, 0x30, 0x23, 0x4c, 0x6e, 0xf1, 0x68, 0x87, 0xc4, 0xff, 0x44, 0x3e, 0xfe, 0xe6, 0xd1, 0x89, - 0x0d, 0x8e, 0x4f, 0x6c, 0xf0, 0xfd, 0xc4, 0x06, 0x6f, 0x4f, 0xed, 0xca, 0xf1, 0xa9, 0x5d, 0xf9, - 0x7a, 0x6a, 0x57, 0x9e, 0xaf, 0xfc, 0x56, 0x02, 0x2f, 0xcd, 0xe7, 0xcc, 0x7c, 0x11, 0x95, 0x22, - 0xc2, 0x9a, 0xfa, 0x34, 0xdd, 0xfb, 0x11, 0x00, 0x00, 0xff, 0xff, 0x49, 0xa4, 0x0f, 0x8e, 0x30, - 0x07, 0x00, 0x00, + // 668 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 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, 0xf7, 0x61, 0x0c, 0xd6, 0x15, 0x3b, + 0x12, 0xfe, 0x2b, 0x3f, 0xb2, 0x11, 0xc3, 0x85, 0x9c, 0xd4, 0xae, 0xe4, 0xce, 0xf5, 0x9f, 0x90, + 0xf5, 0x33, 0x52, 0x6a, 0x44, 0xcf, 0xd2, 0x87, 0x5e, 0x57, 0xf0, 0x25, 0x10, 0xc7, 0x9f, 0xd7, + 0x1e, 0x95, 0xce, 0xcf, 0xfc, 0x8a, 0xaf, 0x80, 0xdc, 0x53, 0x8a, 0x28, 0xa6, 0xe2, 0x3e, 0x0b, + 0x9f, 0xe3, 0xe8, 0xaf, 0xc8, 0xc9, 0xdb, 0x39, 0x3a, 0xb1, 0xc0, 0xf1, 0x89, 0x05, 0xbe, 0x9e, + 0x58, 0xe0, 0xcd, 0xa9, 0x55, 0x39, 0x3e, 0xb5, 0x2a, 0x9f, 0x4f, 0xad, 0xca, 0x93, 0xad, 0x5f, + 0x92, 0xc4, 0x0b, 0xfd, 0x79, 0xd4, 0x5f, 0x58, 0xa9, 0x90, 0xa0, 0x26, 0x6b, 0x6e, 0x7e, 0x0f, + 0x00, 0x00, 0xff, 0xff, 0x5b, 0xe0, 0xe5, 0x65, 0x80, 0x07, 0x00, 0x00, } func (m *BaseVestingAccount) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/auth/vesting/types/vesting_account.go b/sei-cosmos/x/auth/vesting/types/vesting_account.go index ed2158b60c..ef6c01b6d8 100644 --- a/sei-cosmos/x/auth/vesting/types/vesting_account.go +++ b/sei-cosmos/x/auth/vesting/types/vesting_account.go @@ -7,11 +7,11 @@ import ( yaml "gopkg.in/yaml.v2" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - vestexported "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + vestexported "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/exported" ) // Compile-time type assertions @@ -259,7 +259,7 @@ func (cva ContinuousVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coi // LockedCoins returns the set of coins that are not spendable (i.e. locked), // defined as the vesting coins that are not delegated. func (cva ContinuousVestingAccount) LockedCoins(blockTime time.Time) sdk.Coins { - return cva.BaseVestingAccount.LockedCoinsFromVesting(cva.GetVestingCoins(blockTime)) + return cva.LockedCoinsFromVesting(cva.GetVestingCoins(blockTime)) } // TrackDelegation tracks a desired delegation amount by setting the appropriate @@ -386,7 +386,7 @@ func (pva PeriodicVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coins // LockedCoins returns the set of coins that are not spendable (i.e. locked), // defined as the vesting coins that are not delegated. func (pva PeriodicVestingAccount) LockedCoins(blockTime time.Time) sdk.Coins { - return pva.BaseVestingAccount.LockedCoinsFromVesting(pva.GetVestingCoins(blockTime)) + return pva.LockedCoinsFromVesting(pva.GetVestingCoins(blockTime)) } // TrackDelegation tracks a desired delegation amount by setting the appropriate @@ -512,7 +512,7 @@ func (dva DelayedVestingAccount) GetVestingCoins(blockTime time.Time) sdk.Coins // LockedCoins returns the set of coins that are not spendable (i.e. locked), // defined as the vesting coins that are not delegated. func (dva DelayedVestingAccount) LockedCoins(blockTime time.Time) sdk.Coins { - return dva.BaseVestingAccount.LockedCoinsFromVesting(dva.GetVestingCoins(blockTime)) + return dva.LockedCoinsFromVesting(dva.GetVestingCoins(blockTime)) } // TrackDelegation tracks a desired delegation amount by setting the appropriate @@ -570,7 +570,7 @@ func (plva PermanentLockedAccount) GetVestingCoins(_ time.Time) sdk.Coins { // LockedCoins returns the set of coins that are not spendable (i.e. locked), // defined as the vesting coins that are not delegated. func (plva PermanentLockedAccount) LockedCoins(_ time.Time) sdk.Coins { - return plva.BaseVestingAccount.LockedCoinsFromVesting(plva.OriginalVesting) + return plva.LockedCoinsFromVesting(plva.OriginalVesting) } // TrackDelegation tracks a desired delegation amount by setting the appropriate diff --git a/sei-cosmos/x/auth/vesting/types/vesting_account_test.go b/sei-cosmos/x/auth/vesting/types/vesting_account_test.go index 7cdb0f4123..a706b7d50a 100644 --- a/sei-cosmos/x/auth/vesting/types/vesting_account_test.go +++ b/sei-cosmos/x/auth/vesting/types/vesting_account_test.go @@ -4,14 +4,14 @@ import ( "testing" "time" - tmtime "github.com/cosmos/cosmos-sdk/std" + tmtime "github.com/sei-protocol/sei-chain/sei-cosmos/std" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" ) var ( diff --git a/sei-cosmos/x/authz/authorization_grant.go b/sei-cosmos/x/authz/authorization_grant.go index a873499b62..dbde3d21bf 100644 --- a/sei-cosmos/x/authz/authorization_grant.go +++ b/sei-cosmos/x/authz/authorization_grant.go @@ -5,8 +5,8 @@ import ( proto "github.com/gogo/protobuf/proto" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // NewGrant returns new Grant diff --git a/sei-cosmos/x/authz/authorization_grant_test.go b/sei-cosmos/x/authz/authorization_grant_test.go index 9f9f00108c..f59fb96bf1 100644 --- a/sei-cosmos/x/authz/authorization_grant_test.go +++ b/sei-cosmos/x/authz/authorization_grant_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - // banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + // banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/stretchr/testify/require" ) diff --git a/sei-cosmos/x/authz/authorizations.go b/sei-cosmos/x/authz/authorizations.go index b0412ad4b3..c327ff3f28 100644 --- a/sei-cosmos/x/authz/authorizations.go +++ b/sei-cosmos/x/authz/authorizations.go @@ -3,7 +3,7 @@ package authz import ( "github.com/gogo/protobuf/proto" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Authorization represents the interface of various Authorization types implemented diff --git a/sei-cosmos/x/authz/authz.pb.go b/sei-cosmos/x/authz/authz.pb.go index bf07e2f84c..a60ac4beb9 100644 --- a/sei-cosmos/x/authz/authz.pb.go +++ b/sei-cosmos/x/authz/authz.pb.go @@ -5,12 +5,12 @@ package authz import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/gogo/protobuf/types" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" io "io" math "math" math_bits "math/bits" @@ -162,29 +162,29 @@ func init() { func init() { proto.RegisterFile("cosmos/authz/v1beta1/authz.proto", fileDescriptor_544dc2e84b61c637) } var fileDescriptor_544dc2e84b61c637 = []byte{ - // 343 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce, - 0xcd, 0x2f, 0xd6, 0x4f, 0x2c, 0x2d, 0xc9, 0xa8, 0xd2, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, - 0x84, 0xf0, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x44, 0x20, 0x2a, 0xf4, 0x20, 0x62, 0x50, - 0x15, 0x52, 0x92, 0x10, 0xd1, 0x78, 0xb0, 0x1a, 0x7d, 0xa8, 0x12, 0x30, 0x47, 0x4a, 0x24, 0x3d, - 0x3f, 0x3d, 0x1f, 0x22, 0x0e, 0x62, 0x41, 0x45, 0x25, 0xd3, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, - 0xc1, 0xbc, 0xa4, 0xd2, 0x34, 0xfd, 0xc4, 0xbc, 0x4a, 0xa8, 0x94, 0x3c, 0xba, 0x54, 0x49, 0x66, - 0x6e, 0x6a, 0x71, 0x49, 0x62, 0x6e, 0x01, 0x44, 0x81, 0x92, 0x35, 0x97, 0x88, 0x7b, 0x6a, 0x5e, - 0x6a, 0x51, 0x66, 0xb2, 0x63, 0x69, 0x49, 0x46, 0x7e, 0x51, 0x66, 0x55, 0x62, 0x49, 0x66, 0x7e, - 0x9e, 0x90, 0x00, 0x17, 0x73, 0x6e, 0x71, 0xba, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x88, - 0x69, 0x25, 0x78, 0x69, 0x8b, 0x2e, 0x2f, 0x8a, 0x22, 0xa5, 0x39, 0x8c, 0x5c, 0xac, 0xee, 0x45, - 0x89, 0x79, 0x25, 0x42, 0xbe, 0x5c, 0xbc, 0x89, 0xc8, 0x52, 0x60, 0x8d, 0xdc, 0x46, 0x22, 0x7a, - 0x10, 0xfb, 0xf5, 0x60, 0xf6, 0xeb, 0x39, 0xe6, 0x55, 0x3a, 0x09, 0x9e, 0x42, 0x37, 0x29, 0x08, - 0x55, 0xb7, 0x90, 0x0b, 0x17, 0x57, 0x6a, 0x45, 0x41, 0x66, 0x11, 0xc4, 0x2c, 0x26, 0xb0, 0x59, - 0x52, 0x18, 0x66, 0x85, 0xc0, 0xfc, 0xe2, 0xc4, 0x71, 0xe2, 0x9e, 0x3c, 0xc3, 0x84, 0xfb, 0xf2, - 0x8c, 0x41, 0x48, 0xfa, 0x94, 0xee, 0x32, 0x72, 0x09, 0x81, 0x9d, 0x87, 0xea, 0x35, 0x09, 0x2e, - 0xf6, 0x74, 0x90, 0x68, 0x6a, 0x11, 0xd4, 0x7b, 0x30, 0x2e, 0x42, 0x26, 0x15, 0x6c, 0x27, 0x5c, - 0x26, 0x15, 0xd3, 0x7f, 0xcc, 0x54, 0xf4, 0x1f, 0x0b, 0x79, 0xfe, 0x73, 0x72, 0x3a, 0xf1, 0x50, - 0x8e, 0xe1, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, - 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x54, 0xd2, 0x33, 0x4b, - 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xa1, 0x89, 0x08, 0x4a, 0xe9, 0x16, 0xa7, 0x64, 0xeb, - 0x57, 0x40, 0x12, 0x62, 0x12, 0x1b, 0xd8, 0x36, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xef, - 0x91, 0xff, 0x6b, 0xad, 0x02, 0x00, 0x00, + // 352 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x52, 0xbb, 0x4e, 0x32, 0x41, + 0x14, 0xde, 0xf9, 0xf9, 0xbd, 0x8d, 0x21, 0x91, 0xcd, 0x16, 0x40, 0x31, 0x10, 0x2a, 0x1b, 0x76, + 0x83, 0x5a, 0x69, 0x05,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 0xc9, 0x5f, 0xdf, 0xb6, 0x2f, 0x31, + 0x66, 0x83, 0xbe, 0x90, 0x26, 0xeb, 0x9f, 0xce, 0xaa, 0x6e, 0x65, 0x5d, 0x2f, 0xbb, 0x74, 0xf6, + 0x27, 0x6f, 0x35, 0x6b, 0xfc, 0x5e, 0x43, 0xfe, 0xca, 0x5e, 0xe3, 0x15, 0x61, 0x5b, 0x3f, 0x6f, + 0xbd, 0x5a, 0x19, 0xef, 0xf1, 0x05, 0xcb, 0x64, 0x5e, 0x6f, 0x09, 0x7f, 0x14, 0xa6, 0x6f, 0x7e, + 0x2b, 0x6c, 0xbb, 0x5f, 0xe1, 0x0f, 0xfb, 0xfd, 0xff, 0x5d, 0xbf, 0x8e, 0x3f, 0xf9, 0x24, 0xd6, + 0x64, 0x46, 0xd0, 0x74, 0x46, 0xd0, 0xc7, 0x8c, 0xa0, 0xf1, 0x9c, 0x58, 0xd3, 0x39, 0xb1, 0x5e, + 0xe6, 0xc4, 0xba, 0x39, 0xe3, 0x42, 0x45, 0x59, 0xe0, 0x86, 0x10, 0x7b, 0x29, 0x13, 0x4d, 0x1d, + 0x1b, 0x42, 0x4f, 0x83, 0x30, 0xa2, 0x22, 0x31, 0x93, 0xf9, 0xa4, 0x03, 0xf3, 0x31, 0x83, 0x5d, + 0x6d, 0x3b, 0xfd, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x63, 0x3b, 0x44, 0x71, 0xbd, 0x02, 0x00, 0x00, } func (m *GenericAuthorization) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/authz/client/cli/query.go b/sei-cosmos/x/authz/client/cli/query.go index c26b229f2d..4ef0a8c3ec 100644 --- a/sei-cosmos/x/authz/client/cli/query.go +++ b/sei-cosmos/x/authz/client/cli/query.go @@ -6,12 +6,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/authz" - bank "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + bank "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/sei-cosmos/x/authz/client/cli/tx.go b/sei-cosmos/x/authz/client/cli/tx.go index f4117ee1c7..807558460a 100644 --- a/sei-cosmos/x/authz/client/cli/tx.go +++ b/sei-cosmos/x/authz/client/cli/tx.go @@ -8,15 +8,15 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/authz" - bank "github.com/cosmos/cosmos-sdk/x/bank/types" - staking "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + authclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + bank "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + staking "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // Flag names and values diff --git a/sei-cosmos/x/authz/client/rest/grpc_query_test.go b/sei-cosmos/x/authz/client/rest/grpc_query_test.go index a99259d953..70fe740fe9 100644 --- a/sei-cosmos/x/authz/client/rest/grpc_query_test.go +++ b/sei-cosmos/x/authz/client/rest/grpc_query_test.go @@ -9,18 +9,18 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/authz" - "github.com/cosmos/cosmos-sdk/x/authz/client/cli" - authztestutil "github.com/cosmos/cosmos-sdk/x/authz/client/testutil" - banktestutil "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/client/cli" + authztestutil "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/client/testutil" + banktestutil "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/client/testutil" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) type IntegrationTestSuite struct { diff --git a/sei-cosmos/x/authz/client/testutil/cli_test.go b/sei-cosmos/x/authz/client/testutil/cli_test.go index 5b3ef61c5a..679ae015cc 100644 --- a/sei-cosmos/x/authz/client/testutil/cli_test.go +++ b/sei-cosmos/x/authz/client/testutil/cli_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" ) func TestIntegrationTestSuite(t *testing.T) { diff --git a/sei-cosmos/x/authz/client/testutil/query.go b/sei-cosmos/x/authz/client/testutil/query.go index f0a37fa250..0a74bc62c1 100644 --- a/sei-cosmos/x/authz/client/testutil/query.go +++ b/sei-cosmos/x/authz/client/testutil/query.go @@ -7,11 +7,11 @@ import ( tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/authz" - "github.com/cosmos/cosmos-sdk/x/authz/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/client/cli" ) func (s *IntegrationTestSuite) TestQueryAuthorizations() { @@ -85,7 +85,7 @@ func (s *IntegrationTestSuite) TestQueryAuthorizations() { } else { s.Require().NoError(err) var grants authz.QueryGrantsResponse - err = val.ClientCtx.Codec.UnmarshalJSON(resp.Bytes(), &grants) + err = val.ClientCtx.Codec.UnmarshalAsJSON(resp.Bytes(), &grants) s.Require().NoError(err) } }) diff --git a/sei-cosmos/x/authz/client/testutil/test_helpers.go b/sei-cosmos/x/authz/client/testutil/test_helpers.go index 1a1cd4830f..2302c958cc 100644 --- a/sei-cosmos/x/authz/client/testutil/test_helpers.go +++ b/sei-cosmos/x/authz/client/testutil/test_helpers.go @@ -1,10 +1,10 @@ package testutil import ( - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/x/authz/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/client/cli" ) func ExecGrant(val *network.Validator, args []string) (testutil.BufferWriter, error) { diff --git a/sei-cosmos/x/authz/client/testutil/tx.go b/sei-cosmos/x/authz/client/testutil/tx.go index 78e6a7f513..b1a363471b 100644 --- a/sei-cosmos/x/authz/client/testutil/tx.go +++ b/sei-cosmos/x/authz/client/testutil/tx.go @@ -7,20 +7,20 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/authz/client/cli" - banktestutil "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - bank "github.com/cosmos/cosmos-sdk/x/bank/types" - govcli "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - govtestutil "github.com/cosmos/cosmos-sdk/x/gov/client/testutil" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingcli "github.com/cosmos/cosmos-sdk/x/staking/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/client/cli" + banktestutil "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/client/testutil" + bank "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + govcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" + govtestutil "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/testutil" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + stakingcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/client/cli" ) type IntegrationTestSuite struct { @@ -290,7 +290,7 @@ func (s *IntegrationTestSuite) TestCLITxGrantAuthorization() { } else { var txResp sdk.TxResponse s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &txResp), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &txResp), out.String()) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) } }) @@ -441,7 +441,7 @@ func (s *IntegrationTestSuite) TestCmdRevokeAuthorizations() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) @@ -584,7 +584,7 @@ func (s *IntegrationTestSuite) TestNewExecGenericAuthorized() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) } @@ -670,7 +670,7 @@ func (s *IntegrationTestSuite) TestNewExecGrantAuthorized() { } else { var response sdk.TxResponse s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &response), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &response), out.String()) s.Require().Equal(tc.expectedCode, response.Code, out.String()) } }) @@ -767,7 +767,7 @@ func (s *IntegrationTestSuite) TestExecDelegateAuthorization() { } else { var response sdk.TxResponse s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &response), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &response), out.String()) s.Require().Equal(tc.expectedCode, response.Code, out.String()) } }) @@ -844,7 +844,7 @@ func (s *IntegrationTestSuite) TestExecDelegateAuthorization() { } else { var response sdk.TxResponse s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &response), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &response), out.String()) s.Require().Equal(tc.expectedCode, response.Code, out.String()) } }) @@ -988,7 +988,7 @@ func (s *IntegrationTestSuite) TestExecUndelegateAuthorization() { } else { var response sdk.TxResponse s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &response), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &response), out.String()) s.Require().Equal(tc.expectedCode, response.Code, out.String()) } }) @@ -1067,7 +1067,7 @@ func (s *IntegrationTestSuite) TestExecUndelegateAuthorization() { } else { var response sdk.TxResponse s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &response), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &response), out.String()) s.Require().Equal(tc.expectedCode, response.Code, out.String()) } }) diff --git a/sei-cosmos/x/authz/codec.go b/sei-cosmos/x/authz/codec.go index e9a490cea3..d1c10e0268 100644 --- a/sei-cosmos/x/authz/codec.go +++ b/sei-cosmos/x/authz/codec.go @@ -1,9 +1,9 @@ package authz import ( - types "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" ) // RegisterInterfaces registers the interfaces types with the interface registry diff --git a/sei-cosmos/x/authz/errors.go b/sei-cosmos/x/authz/errors.go index 02251c8d6f..498b7d7325 100644 --- a/sei-cosmos/x/authz/errors.go +++ b/sei-cosmos/x/authz/errors.go @@ -1,7 +1,7 @@ package authz import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/authz module sentinel errors diff --git a/sei-cosmos/x/authz/event.pb.go b/sei-cosmos/x/authz/event.pb.go index 4737782814..1dc006d785 100644 --- a/sei-cosmos/x/authz/event.pb.go +++ b/sei-cosmos/x/authz/event.pb.go @@ -158,7 +158,7 @@ func init() { func init() { proto.RegisterFile("cosmos/authz/v1beta1/event.proto", fileDescriptor_1f88cbc71a8baf1f) } var fileDescriptor_1f88cbc71a8baf1f = []byte{ - // 210 bytes of a gzipped FileDescriptorProto + // 220 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x2c, 0x2d, 0xc9, 0xa8, 0xd2, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x2d, 0x4b, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0xa8, @@ -167,12 +167,12 @@ var fileDescriptor_1f88cbc71a8baf1f = []byte{ 0x2d, 0xca, 0x91, 0x60, 0x52, 0x60, 0xd4, 0xe0, 0x0c, 0xe2, 0xca, 0x2d, 0x4e, 0x0f, 0xa9, 0x2c, 0x48, 0x0d, 0x2d, 0xca, 0x11, 0x92, 0xe0, 0x62, 0x4f, 0x07, 0x29, 0x4d, 0x2d, 0x92, 0x60, 0x06, 0x4b, 0xc2, 0xb8, 0x08, 0x99, 0x54, 0x09, 0x16, 0x64, 0x99, 0x54, 0xa5, 0x64, 0x2e, 0x6e, 0xb0, - 0x1d, 0x41, 0xa9, 0x65, 0xf9, 0xd9, 0xa9, 0xb4, 0xb1, 0xc4, 0xc9, 0xee, 0xc4, 0x23, 0x39, 0xc6, + 0x1d, 0x41, 0xa9, 0x65, 0xf9, 0xd9, 0xa9, 0xb4, 0xb1, 0xc4, 0xc9, 0xef, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, - 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x54, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, - 0x73, 0xf5, 0xa1, 0xa1, 0x04, 0xa1, 0x74, 0x8b, 0x53, 0xb2, 0xf5, 0x2b, 0x20, 0x41, 0x96, 0xc4, - 0x06, 0x0e, 0x25, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x98, 0xf0, 0x6c, 0x35, 0x49, 0x01, - 0x00, 0x00, + 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x4c, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, + 0x73, 0xf5, 0x8b, 0x53, 0x33, 0x75, 0xc1, 0xc1, 0x91, 0x9c, 0x9f, 0x03, 0xe6, 0x24, 0x67, 0x24, + 0x66, 0xe6, 0x41, 0x58, 0x90, 0x00, 0xac, 0x80, 0x04, 0x61, 0x12, 0x1b, 0x58, 0x99, 0x31, 0x20, + 0x00, 0x00, 0xff, 0xff, 0x52, 0x0a, 0xbd, 0x00, 0x59, 0x01, 0x00, 0x00, } func (m *EventGrant) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/authz/expected_keepers.go b/sei-cosmos/x/authz/expected_keepers.go index 1d00ed19aa..f13b9c4b7e 100644 --- a/sei-cosmos/x/authz/expected_keepers.go +++ b/sei-cosmos/x/authz/expected_keepers.go @@ -1,8 +1,8 @@ package authz import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // AccountKeeper defines the expected account keeper (noalias) diff --git a/sei-cosmos/x/authz/generic_authorization.go b/sei-cosmos/x/authz/generic_authorization.go index d6249b137a..82bb4c1a58 100644 --- a/sei-cosmos/x/authz/generic_authorization.go +++ b/sei-cosmos/x/authz/generic_authorization.go @@ -1,7 +1,7 @@ package authz import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/sei-cosmos/x/authz/generic_authorization_test.go b/sei-cosmos/x/authz/generic_authorization_test.go index 8d0ff8a122..e28ac81106 100644 --- a/sei-cosmos/x/authz/generic_authorization_test.go +++ b/sei-cosmos/x/authz/generic_authorization_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/authz" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func TestGenericAuthorization(t *testing.T) { diff --git a/sei-cosmos/x/authz/genesis.go b/sei-cosmos/x/authz/genesis.go index d14bbbb18a..73d6e8d1fe 100644 --- a/sei-cosmos/x/authz/genesis.go +++ b/sei-cosmos/x/authz/genesis.go @@ -1,7 +1,7 @@ package authz import ( - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) // NewGenesisState creates new GenesisState object diff --git a/sei-cosmos/x/authz/genesis.pb.go b/sei-cosmos/x/authz/genesis.pb.go index 0db3bf6f2a..cb4607b878 100644 --- a/sei-cosmos/x/authz/genesis.pb.go +++ b/sei-cosmos/x/authz/genesis.pb.go @@ -77,7 +77,7 @@ func init() { } var fileDescriptor_4c2fbb971da7c892 = []byte{ - // 206 bytes of a gzipped FileDescriptorProto + // 217 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4a, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x2c, 0x2d, 0xc9, 0xa8, 0xd2, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, @@ -86,11 +86,12 @@ var fileDescriptor_4c2fbb971da7c892 = []byte{ 0x3c, 0xee, 0x10, 0xe3, 0x83, 0x4b, 0x12, 0x4b, 0x52, 0x85, 0x42, 0xb8, 0x78, 0x41, 0x9a, 0xf2, 0x8b, 0x32, 0xab, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x24, 0x18, 0x15, 0x98, 0x35, 0xb8, 0x8d, 0x34, 0xf4, 0xb0, 0xd9, 0xaa, 0xe7, 0x5e, 0x94, 0x98, 0x57, 0xe2, 0x88, 0xac, 0xde, 0x89, 0xe5, 0xc4, - 0x3d, 0x79, 0x86, 0x20, 0x54, 0x43, 0x9c, 0xec, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, + 0x3d, 0x79, 0x86, 0x20, 0x54, 0x43, 0x9c, 0xfc, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, - 0x8e, 0x21, 0x4a, 0x25, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0xea, - 0x05, 0x08, 0xa5, 0x5b, 0x9c, 0x92, 0xad, 0x5f, 0x01, 0xf1, 0x41, 0x12, 0x1b, 0xd8, 0xb1, 0xc6, - 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x3a, 0x01, 0x18, 0x20, 0x01, 0x00, 0x00, + 0x8e, 0x21, 0xca, 0x24, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xbf, 0x38, + 0x35, 0x53, 0x17, 0xec, 0xaa, 0xe4, 0xfc, 0x1c, 0x30, 0x27, 0x39, 0x23, 0x31, 0x33, 0x0f, 0xc2, + 0x82, 0xf8, 0xae, 0x02, 0xe2, 0xa3, 0x24, 0x36, 0xb0, 0x32, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x25, 0x46, 0x78, 0x87, 0x30, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/authz/keeper/genesis_test.go b/sei-cosmos/x/authz/keeper/genesis_test.go index 460a00d34d..25d2c9c2c0 100644 --- a/sei-cosmos/x/authz/keeper/genesis_test.go +++ b/sei-cosmos/x/authz/keeper/genesis_test.go @@ -8,10 +8,10 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/authz/keeper" - bank "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/keeper" + bank "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) type GenesisTestSuite struct { diff --git a/sei-cosmos/x/authz/keeper/grpc_query.go b/sei-cosmos/x/authz/keeper/grpc_query.go index b012a8db28..7b8670b89d 100644 --- a/sei-cosmos/x/authz/keeper/grpc_query.go +++ b/sei-cosmos/x/authz/keeper/grpc_query.go @@ -6,11 +6,11 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/authz" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" ) var _ authz.QueryServer = Keeper{} diff --git a/sei-cosmos/x/authz/keeper/grpc_query_test.go b/sei-cosmos/x/authz/keeper/grpc_query_test.go index 92bc17be81..9f377086ef 100644 --- a/sei-cosmos/x/authz/keeper/grpc_query_test.go +++ b/sei-cosmos/x/authz/keeper/grpc_query_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/authz" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func (suite *TestSuite) TestGRPCQueryAuthorization() { diff --git a/sei-cosmos/x/authz/keeper/keeper.go b/sei-cosmos/x/authz/keeper/keeper.go index 6d976e86eb..0d06a41f82 100644 --- a/sei-cosmos/x/authz/keeper/keeper.go +++ b/sei-cosmos/x/authz/keeper/keeper.go @@ -9,12 +9,12 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/authz" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" ) type Keeper struct { @@ -57,7 +57,7 @@ func (k Keeper) update(ctx sdk.Context, grantee sdk.AccAddress, granter sdk.AccA msg, ok := updated.(proto.Message) if !ok { - sdkerrors.ErrPackAny.Wrapf("cannot proto marshal %T", updated) + return sdkerrors.ErrPackAny.Wrapf("cannot proto marshal %T", updated) } any, err := codectypes.NewAnyWithValue(msg) @@ -181,7 +181,7 @@ func (k Keeper) GetAuthorizations(ctx sdk.Context, grantee sdk.AccAddress, grant store := ctx.KVStore(k.storeKey) key := grantStoreKey(grantee, granter, "") iter := sdk.KVStorePrefixIterator(store, key) - defer iter.Close() + defer func() { _ = iter.Close() }() var authorization authz.Grant for ; iter.Valid(); iter.Next() { k.cdc.MustUnmarshal(iter.Value(), &authorization) @@ -199,7 +199,7 @@ func (k Keeper) GetCleanAuthorization(ctx sdk.Context, grantee sdk.AccAddress, g return nil, time.Time{} } if grant.Expiration.Before(ctx.BlockHeader().Time) { - k.DeleteGrant(ctx, grantee, granter, msgType) + _ = k.DeleteGrant(ctx, grantee, granter, msgType) return nil, time.Time{} } @@ -214,7 +214,7 @@ func (k Keeper) IterateGrants(ctx sdk.Context, ) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, GrantKey) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { var grant authz.Grant granterAddr, granteeAddr := addressesFromGrantStoreKey(iter.Key()) diff --git a/sei-cosmos/x/authz/keeper/keeper_test.go b/sei-cosmos/x/authz/keeper/keeper_test.go index 81a1d698b7..f526f5993d 100644 --- a/sei-cosmos/x/authz/keeper/keeper_test.go +++ b/sei-cosmos/x/authz/keeper/keeper_test.go @@ -4,16 +4,16 @@ import ( "testing" "time" - tmtime "github.com/cosmos/cosmos-sdk/std" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + tmtime "github.com/sei-protocol/sei-chain/sei-cosmos/std" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/authz" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) var bankSendAuthMsgType = banktypes.SendAuthorization{}.MsgTypeURL() diff --git a/sei-cosmos/x/authz/keeper/keys.go b/sei-cosmos/x/authz/keeper/keys.go index e9b627113a..21674fb686 100644 --- a/sei-cosmos/x/authz/keeper/keys.go +++ b/sei-cosmos/x/authz/keeper/keys.go @@ -1,11 +1,11 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/internal/conv" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/authz" + "github.com/sei-protocol/sei-chain/sei-cosmos/internal/conv" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" ) // Keys for store prefixes diff --git a/sei-cosmos/x/authz/keeper/keys_test.go b/sei-cosmos/x/authz/keeper/keys_test.go index a643278d11..5a4ae7bd12 100644 --- a/sei-cosmos/x/authz/keeper/keys_test.go +++ b/sei-cosmos/x/authz/keeper/keys_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - bank "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + bank "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) var granter = sdk.AccAddress(ed25519.GenPrivKey().PubKey().Address()) diff --git a/sei-cosmos/x/authz/keeper/msg_server.go b/sei-cosmos/x/authz/keeper/msg_server.go index 192ac72d22..a79736a840 100644 --- a/sei-cosmos/x/authz/keeper/msg_server.go +++ b/sei-cosmos/x/authz/keeper/msg_server.go @@ -3,9 +3,9 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/authz" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" ) var _ authz.MsgServer = Keeper{} diff --git a/sei-cosmos/x/authz/module/module.go b/sei-cosmos/x/authz/module/module.go index ee18d505dc..0b1a715ff4 100644 --- a/sei-cosmos/x/authz/module/module.go +++ b/sei-cosmos/x/authz/module/module.go @@ -10,17 +10,17 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - sdkclient "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/authz" - "github.com/cosmos/cosmos-sdk/x/authz/client/cli" - "github.com/cosmos/cosmos-sdk/x/authz/keeper" - "github.com/cosmos/cosmos-sdk/x/authz/simulation" + sdkclient "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/simulation" ) var ( @@ -63,7 +63,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the authz module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config sdkclient.TxEncodingConfig, bz json.RawMessage) error { var data authz.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return sdkerrors.Wrapf(err, "failed to unmarshal %s genesis state", authz.ModuleName) } @@ -86,7 +86,7 @@ func (AppModuleBasic) RegisterRESTRoutes(clientCtx sdkclient.Context, r *mux.Rou // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the authz module. func (a AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx sdkclient.Context, mux *runtime.ServeMux) { - authz.RegisterQueryHandlerClient(context.Background(), mux, authz.NewQueryClient(clientCtx)) + _ = authz.RegisterQueryHandlerClient(context.Background(), mux, authz.NewQueryClient(clientCtx)) } // GetQueryCmd returns the cli query commands for the authz module diff --git a/sei-cosmos/x/authz/msgs.go b/sei-cosmos/x/authz/msgs.go index 0cf0a31275..8f90eeeb8f 100644 --- a/sei-cosmos/x/authz/msgs.go +++ b/sei-cosmos/x/authz/msgs.go @@ -5,11 +5,11 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/legacy" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" ) var ( @@ -27,8 +27,6 @@ var ( ) // NewMsgGrant creates a new MsgGrant -// -//nolint:interfacer func NewMsgGrant(granter sdk.AccAddress, grantee sdk.AccAddress, a Authorization, expiration time.Time) (*MsgGrant, error) { m := &MsgGrant{ Granter: granter.String(), @@ -121,8 +119,6 @@ func (msg MsgGrant) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error { } // NewMsgRevoke creates a new MsgRevoke -// -//nolint:interfacer func NewMsgRevoke(granter sdk.AccAddress, grantee sdk.AccAddress, msgTypeURL string) MsgRevoke { return MsgRevoke{ Granter: granter.String(), @@ -178,8 +174,6 @@ func (msg MsgRevoke) GetSignBytes() []byte { } // NewMsgExec creates a new MsgExecAuthorized -// -//nolint:interfacer func NewMsgExec(grantee sdk.AccAddress, msgs []sdk.Msg) MsgExec { msgsAny := make([]*cdctypes.Any, len(msgs)) for i, msg := range msgs { diff --git a/sei-cosmos/x/authz/msgs_test.go b/sei-cosmos/x/authz/msgs_test.go index c7b4192d37..9b1c974e26 100644 --- a/sei-cosmos/x/authz/msgs_test.go +++ b/sei-cosmos/x/authz/msgs_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/authz" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) var ( diff --git a/sei-cosmos/x/authz/query.pb.go b/sei-cosmos/x/authz/query.pb.go index b99d96fd1d..06e3c41f14 100644 --- a/sei-cosmos/x/authz/query.pb.go +++ b/sei-cosmos/x/authz/query.pb.go @@ -6,9 +6,9 @@ package authz import ( context "context" fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -385,38 +385,39 @@ func init() { func init() { proto.RegisterFile("cosmos/authz/v1beta1/query.proto", fileDescriptor_376d714ffdeb1545) } var fileDescriptor_376d714ffdeb1545 = []byte{ - // 495 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0x4f, 0x6b, 0x13, 0x41, - 0x18, 0x87, 0x33, 0x89, 0x46, 0x9c, 0xea, 0x65, 0xf4, 0xb0, 0xae, 0x65, 0x59, 0x42, 0xd1, 0x28, - 0x38, 0xd3, 0xa6, 0xe0, 0x51, 0xd4, 0x43, 0x7b, 0xd5, 0xa0, 0x17, 0x2f, 0x65, 0x52, 0x5f, 0x26, - 0x8b, 0xc9, 0xce, 0x76, 0x66, 0x56, 0x4c, 0x25, 0x17, 0xfd, 0x02, 0x42, 0x3f, 0x84, 0xe0, 0xd1, - 0x4f, 0xe1, 0xb1, 0xe0, 0xc5, 0xa3, 0x24, 0x82, 0x5f, 0x43, 0x32, 0x33, 0x31, 0xd9, 0xba, 0x6d, - 0x57, 0xa5, 0xd0, 0x53, 0xfe, 0xbc, 0xbf, 0xf7, 0x7d, 0x9f, 0x79, 0xd8, 0x59, 0x1c, 0xef, 0x4a, - 0x3d, 0x94, 0x9a, 0xf1, 0xdc, 0xf4, 0xf7, 0xd9, 0xeb, 0x8d, 0x1e, 0x18, 0xbe, 0xc1, 0xf6, 0x72, - 0x50, 0x23, 0x9a, 0x29, 0x69, 0x24, 0xb9, 0xee, 0x12, 0xd4, 0x26, 0xa8, 0x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 0x37, 0x31, 0x71, 0x73, 0x06, 0x00, 0x00, + // 502 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0xc1, 0x8a, 0x13, 0x31, + 0x18, 0xc7, 0x9b, 0x56, 0x2b, 0x66, 0xf5, 0x12, 0x3d, 0x8c, 0xe3, 0x32, 0x0c, 0x45, 0xb4, 0x0a, + 0x26, 0xbb, 0x5d, 0xf1, 0xac, 0x1e, 0x76, 0x6f, 0xa2, 0x45, 0x2f, 0x5e, 0x96, 0xb4, 0x7c, 0xa4, + 0x03, 0xed, 0x64, 0x36, 0xc9, 0x88, 0x5d, 0xe9, 0x45, 0x5f, 0x40, 0xd8, 0x87, 0x10, 0x3c, 0xfa, + 0x14, 0x1e, 0x17, 0xbc, 0x78, 0x94, 0x56, 0xf0, 0x35, 0xa4, 0x49, 0xd6, 0x76, 0xd6, 0xd9, 0xdd, + 0x51, 0x29, 0xec, 0x2d, 0x99, 0xef, 0xff, 0xe5, 0xff, 0xcb, 0x9f, 0xf9, 0x82, 0xe3, 0xbe, 0xd4, + 0x23, 0xa9, 0x19, 0xcf, 0xcd, 0x60, 0x9f, 0xbd, 0xde, 0xec, 0x81, 0xe1, 0x9b, 0x6c, 0x2f, 0x07, + 0x35, 0xa6, 0x99, 0x92, 0x46, 0x92, 0xeb, 0x4e, 0x41, 0xad, 0x82, 0x7a, 0x45, 0x58, 0xde, 0xe7, + 0x34, 0xb6, 0x2f, 0xbc, 0xe7, 0x15, 0x3d, 0xae, 0xc1, 0x1d, 0xf8, 0x5b, 0x96, 0x71, 0x91, 0xa4, + 0xdc, 0x24, 0x32, 0xf5, 0xda, 0x75, 0x21, 0xa5, 0x18, 0x02, 0xe3, 0x59, 0xc2, 0x78, 0x9a, 0x4a, + 0x63, 0x8b, 0xda, 0x55, 0x5b, 0x9f, 0x11, 0x26, 0xcf, 0xe7, 0x07, 0xec, 0x28, 0x9e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0xe9, 0x38, 0xc9, 0x09, 0x3c, 0x7f, 0x0e, 0x71, 0x78, 0xb7, 0x82, + 0xd2, 0xb9, 0xb6, 0x6e, 0xbd, 0xfb, 0xfa, 0xe3, 0xa0, 0x1e, 0x91, 0x75, 0x56, 0xfa, 0xf6, 0xf8, + 0x8b, 0x7d, 0x42, 0xf8, 0x6a, 0xe1, 0xef, 0x22, 0xec, 0x2c, 0x8b, 0x63, 0x73, 0x10, 0x6e, 0x54, + 0x6f, 0xf0, 0x68, 0x0f, 0x2d, 0xda, 0x06, 0xa1, 0xa7, 0xa1, 0x31, 0x3f, 0x4d, 0xec, 0xad, 0x5f, + 0x4c, 0x96, 0x60, 0xa1, 0x32, 0x2c, 0xfc, 0x2d, 0x2c, 0xfc, 0x07, 0x2c, 0x1c, 0xc1, 0xc2, 0xe4, + 0xc9, 0xd3, 0x2f, 0xd3, 0x08, 0x1d, 0x4e, 0x23, 0xf4, 0x7d, 0x1a, 0xa1, 0x0f, 0xb3, 0xa8, 0x76, + 0x38, 0x8b, 0x6a, 0xdf, 0x66, 0x51, 0xed, 0xd5, 0x03, 0x91, 0x98, 0x41, 0xde, 0xa3, 0x7d, 0x39, + 0x62, 0x1a, 0x92, 0xfb, 0xf6, 0xd9, 0xee, 0xcb, 0xa1, 0xdd, 0xf4, 0x07, 0x3c, 0x49, 0xdd, 0xca, + 0xd9, 0xbd, 0x71, 0x86, 0xbd, 0xa6, 0x95, 0x6d, 0xfd, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x01, 0x82, + 0x30, 0x35, 0x83, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/authz/simulation/decoder.go b/sei-cosmos/x/authz/simulation/decoder.go index 908a90abf5..0d5b00c93b 100644 --- a/sei-cosmos/x/authz/simulation/decoder.go +++ b/sei-cosmos/x/authz/simulation/decoder.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/authz" - "github.com/cosmos/cosmos-sdk/x/authz/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/keeper" ) // NewDecodeStore returns a decoder function closure that umarshals the KVPair's diff --git a/sei-cosmos/x/authz/simulation/genesis.go b/sei-cosmos/x/authz/simulation/genesis.go index 2f80524544..62c463d96e 100644 --- a/sei-cosmos/x/authz/simulation/genesis.go +++ b/sei-cosmos/x/authz/simulation/genesis.go @@ -3,13 +3,13 @@ package simulation import ( "math/rand" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/authz" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // genGrant returns a slice of authorization grants. diff --git a/sei-cosmos/x/authz/simulation/operations.go b/sei-cosmos/x/authz/simulation/operations.go index 22be11da27..f37b2fb182 100644 --- a/sei-cosmos/x/authz/simulation/operations.go +++ b/sei-cosmos/x/authz/simulation/operations.go @@ -3,19 +3,19 @@ package simulation import ( "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/authz" seiappparams "github.com/sei-protocol/sei-chain/app/params" - - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/authz/keeper" - - banktype "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/keeper" + + banktype "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" ) // authz message types @@ -27,9 +27,9 @@ var ( // Simulation operation weights constants const ( - OpWeightMsgGrant = "op_weight_msg_grant" - OpWeightRevoke = "op_weight_msg_revoke" - OpWeightExec = "op_weight_msg_execute" + OpWeightMsgGrant = "op_weight_msg_grant" //nolint:gosec + OpWeightRevoke = "op_weight_msg_revoke" //nolint:gosec + OpWeightExec = "op_weight_msg_execute" //nolint:gosec ) // authz operations weights diff --git a/sei-cosmos/x/authz/tx.pb.go b/sei-cosmos/x/authz/tx.pb.go index 8a193cc4af..cdba22d3b2 100644 --- a/sei-cosmos/x/authz/tx.pb.go +++ b/sei-cosmos/x/authz/tx.pb.go @@ -6,11 +6,11 @@ package authz import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -280,36 +280,37 @@ func init() { func init() { proto.RegisterFile("cosmos/authz/v1beta1/tx.proto", fileDescriptor_3ceddab7d8589ad1) } var fileDescriptor_3ceddab7d8589ad1 = []byte{ - // 460 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xcb, 0x6e, 0xd3, 0x40, - 0x14, 0x86, 0x3d, 0x4d, 0xda, 0x92, 0xd3, 0x4a, 0x80, 0xc9, 0xc2, 0x18, 0xea, 0x5a, 0x16, 0x97, - 0x48, 0xd0, 0xb1, 0x1a, 0x16, 0xac, 0x1b, 0x09, 0x21, 0x21, 0x2c, 0xa4, 0x11, 0x6c, 0xd8, 0x44, - 0x4e, 0x3a, 0x4c, 0xa2, 0xc4, 0x9e, 0xc8, 0x67, 0x5c, 0x92, 0x3e, 0x05, 0x0f, 0xc3, 0x43, 0x44, - 0xac, 0xba, 0x64, 0x85, 0x20, 0x79, 0x09, 0x96, 0x28, 0x33, 0x9e, 0x50, 0xa4, 0xb4, 0x48, 0x5d, - 0x79, 0x8e, 0xbf, 0xff, 0xdc, 0x7e, 0x7b, 0xe0, 0xa0, 0x2f, 0x31, 0x93, 0x18, 0xa7, 0xa5, 0x1a, - 0x9c, 0xc7, 0x67, 0xc7, 0x3d, 0xae, 0xd2, 0xe3, 0x58, 0x4d, 0xe9, 0xa4, 0x90, 0x4a, 0xba, 0x4d, - 0x83, 0xa9, 0xc6, 0xb4, 0xc2, 0x7e, 0xb8, 0x31, 0xc9, 0x68, 0x74, 0x9e, 0x7f, 0xdf, 0x28, 0xba, - 0x3a, 0x8a, 0xab, 0x22, 0x06, 0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xe8, 0xaa, 0xd9, 0x84, - 0x77, 0xcb, 0x62, 0xac, 0x2d, 0x6b, 0x30, 0xc8, 0x50, 0xbc, 0x9f, 0x4d, 0xf8, 0x87, 0x62, 0x1c, - 0xdd, 0x83, 0xbb, 0xeb, 0x16, 0xb6, 0x6f, 0xfb, 0x37, 0x81, 0x5a, 0x82, 0xc2, 0x7d, 0x07, 0xdb, - 0xe6, 0x3b, 0x05, 0x9b, 0x4d, 0xb6, 0x03, 0xfb, 0x4f, 0xae, 0xe7, 0x6b, 0xbf, 0xdf, 0x42, 0x5d, - 0x5b, 0x7a, 0x70, 0xa5, 0x7e, 0x85, 0xfd, 0xc7, 0xd7, 0xe2, 0x75, 0x35, 0x06, 0x3b, 0x95, 0x37, - 0x87, 0x57, 0x26, 0x18, 0x81, 0xff, 0xf4, 0x3f, 0x02, 0x5b, 0xb3, 0xd3, 0x99, 0xff, 0x0a, 0x9c, - 0xf9, 0x22, 0x20, 0x17, 0x8b, 0x80, 0xfc, 0x5c, 0x04, 0xe4, 0xcb, 0x32, 0x70, 0x2e, 0x96, 0x81, - 0xf3, 0x7d, 0x19, 0x38, 0x1f, 0x1f, 0x89, 0xa1, 0x1a, 0x94, 0x3d, 0xda, 0x97, 0x59, 0x75, 0x0b, - 0xaa, 0xc7, 0x11, 0x9e, 0x8e, 0xe2, 0xa9, 0xb9, 0x33, 0xbd, 0x1d, 0xfd, 0x03, 0xbc, 0xf8, 0x13, - 0x00, 0x00, 0xff, 0xff, 0xf7, 0xfc, 0xdf, 0x67, 0x8d, 0x03, 0x00, 0x00, + // 467 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x4f, 0x8b, 0xd3, 0x40, + 0x18, 0xc6, 0x33, 0xdb, 0xee, 0xae, 0x9d, 0x5d, 0x50, 0x63, 0x0f, 0x31, 0xba, 0xd9, 0x21, 0xa0, + 0x16, 0x74, 0x27, 0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33, 0x70, 0xe6, + 0x8b, 0x00, 0x5d, 0x2c, 0x02, 0xf4, 0x63, 0x11, 0xa0, 0xcf, 0xcb, 0xc0, 0xb9, 0x58, 0x06, 0xce, + 0xb7, 0x65, 0xe0, 0xbc, 0x7f, 0x26, 0x32, 0x35, 0xae, 0x47, 0x34, 0x95, 0x45, 0x04, 0x3c, 0x3b, + 0xd2, 0x7f, 0x3a, 0x95, 0xb9, 0x4e, 0xd2, 0x71, 0x92, 0x95, 0x26, 0x32, 0xef, 0x69, 0x6a, 0xde, + 0xd0, 0x68, 0x47, 0xcb, 0x9e, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x6c, 0x9e, 0x0d, 0x9d, + 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/bank/app_test.go b/sei-cosmos/x/bank/app_test.go index 61d5fd872c..93fad4842a 100644 --- a/sei-cosmos/x/bank/app_test.go +++ b/sei-cosmos/x/bank/app_test.go @@ -10,11 +10,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) type ( diff --git a/sei-cosmos/x/bank/client/cli/query.go b/sei-cosmos/x/bank/client/cli/query.go index a9cdadb975..0d67ad9c5c 100644 --- a/sei-cosmos/x/bank/client/cli/query.go +++ b/sei-cosmos/x/bank/client/cli/query.go @@ -6,11 +6,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) const ( diff --git a/sei-cosmos/x/bank/client/cli/tx.go b/sei-cosmos/x/bank/client/cli/tx.go index 20c5244114..1ef804f999 100644 --- a/sei-cosmos/x/bank/client/cli/tx.go +++ b/sei-cosmos/x/bank/client/cli/tx.go @@ -3,11 +3,11 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // NewTxCmd returns a root CLI command handler for all x/bank transaction commands. @@ -34,7 +34,9 @@ func NewSendTxCmd() *cobra.Command { When using '--dry-run' a key name cannot be used, only a bech32 address.`, Args: cobra.ExactArgs(3), RunE: func(cmd *cobra.Command, args []string) error { - cmd.Flags().Set(flags.FlagFrom, args[0]) + if err := cmd.Flags().Set(flags.FlagFrom, args[0]); err != nil { + return err + } clientCtx, err := client.GetClientTxContext(cmd) if err != nil { return err diff --git a/sei-cosmos/x/bank/client/rest/grpc_query_test.go b/sei-cosmos/x/bank/client/rest/grpc_query_test.go index c5d3d74dad..71ab95d7a0 100644 --- a/sei-cosmos/x/bank/client/rest/grpc_query_test.go +++ b/sei-cosmos/x/bank/client/rest/grpc_query_test.go @@ -8,12 +8,12 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func (s *IntegrationTestSuite) TestTotalSupplyGRPCHandler() { diff --git a/sei-cosmos/x/bank/client/rest/query.go b/sei-cosmos/x/bank/client/rest/query.go index 7c88c790f8..838716a5ae 100644 --- a/sei-cosmos/x/bank/client/rest/query.go +++ b/sei-cosmos/x/bank/client/rest/query.go @@ -6,10 +6,10 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // QueryBalancesRequestHandlerFn returns a REST handler that queries for all @@ -45,7 +45,7 @@ func QueryBalancesRequestHandlerFn(clientCtx client.Context) http.HandlerFunc { route = fmt.Sprintf("custom/%s/%s", types.QuerierRoute, types.QueryBalance) } - bz, err := ctx.LegacyAmino.MarshalJSON(params) + bz, err := ctx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -74,7 +74,7 @@ func totalSupplyHandlerFn(clientCtx client.Context) http.HandlerFunc { } params := types.NewQueryTotalSupplyParams(page, limit) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return @@ -101,7 +101,7 @@ func supplyOfHandlerFn(clientCtx client.Context) http.HandlerFunc { } params := types.NewQuerySupplyOfParams(denom) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return diff --git a/sei-cosmos/x/bank/client/rest/query_test.go b/sei-cosmos/x/bank/client/rest/query_test.go index 4dd304396c..cc7bb4f032 100644 --- a/sei-cosmos/x/bank/client/rest/query_test.go +++ b/sei-cosmos/x/bank/client/rest/query_test.go @@ -9,11 +9,11 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) type IntegrationTestSuite struct { @@ -31,7 +31,7 @@ func (s *IntegrationTestSuite) SetupSuite() { cfg.NumValidators = 1 var bankGenesis types.GenesisState - s.Require().NoError(cfg.Codec.UnmarshalJSON(genesisState[types.ModuleName], &bankGenesis)) + s.Require().NoError(cfg.Codec.UnmarshalAsJSON(genesisState[types.ModuleName], &bankGenesis)) bankGenesis.DenomMetadata = []types.Metadata{ { @@ -55,7 +55,7 @@ func (s *IntegrationTestSuite) SetupSuite() { }, } - bankGenesisBz, err := cfg.Codec.MarshalJSON(&bankGenesis) + bankGenesisBz, err := cfg.Codec.MarshalAsJSON(&bankGenesis) s.Require().NoError(err) genesisState[types.ModuleName] = bankGenesisBz cfg.GenesisState = genesisState diff --git a/sei-cosmos/x/bank/client/rest/rest.go b/sei-cosmos/x/bank/client/rest/rest.go index db4909c532..14e0819006 100644 --- a/sei-cosmos/x/bank/client/rest/rest.go +++ b/sei-cosmos/x/bank/client/rest/rest.go @@ -3,9 +3,9 @@ package rest import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" ) // RegisterHandlers registers all x/bank transaction and query HTTP REST handlers diff --git a/sei-cosmos/x/bank/client/rest/tx.go b/sei-cosmos/x/bank/client/rest/tx.go index e630710dff..a6e28b9a76 100644 --- a/sei-cosmos/x/bank/client/rest/tx.go +++ b/sei-cosmos/x/bank/client/rest/tx.go @@ -5,11 +5,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // SendReq defines the properties of a send request's body. diff --git a/sei-cosmos/x/bank/client/rest/tx_test.go b/sei-cosmos/x/bank/client/rest/tx_test.go index faeda7a0d4..0f84e70ad4 100644 --- a/sei-cosmos/x/bank/client/rest/tx_test.go +++ b/sei-cosmos/x/bank/client/rest/tx_test.go @@ -6,15 +6,15 @@ package rest_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - bankrest "github.com/cosmos/cosmos-sdk/x/bank/client/rest" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + bankrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/client/rest" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func (s *IntegrationTestSuite) TestCoinSend() { @@ -45,7 +45,7 @@ func submitSendReq(val *network.Validator, req bankrest.SendReq) (legacytx.StdTx url := fmt.Sprintf("%s/bank/accounts/%s/transfers", val.APIAddress, val.Address) // NOTE: this uses amino explicitly, don't migrate it! - bz, err := val.ClientCtx.LegacyAmino.MarshalJSON(req) + bz, err := val.ClientCtx.LegacyAmino.MarshalAsJSON(req) if err != nil { return legacytx.StdTx{}, errors.Wrap(err, "error encoding SendReq to json") } @@ -57,7 +57,7 @@ func submitSendReq(val *network.Validator, req bankrest.SendReq) (legacytx.StdTx var tx legacytx.StdTx // NOTE: this uses amino explicitly, don't migrate it! - err = val.ClientCtx.LegacyAmino.UnmarshalJSON(res, &tx) + err = val.ClientCtx.LegacyAmino.UnmarshalAsJSON(res, &tx) if err != nil { return legacytx.StdTx{}, errors.Wrap(err, "error unmarshaling to StdTx SendReq response") } @@ -99,7 +99,7 @@ func getAccountInfo(val *network.Validator) (authtypes.AccountI, error) { } var acc authtypes.AccountI - err = val.ClientCtx.LegacyAmino.UnmarshalJSON(bz, &acc) + err = val.ClientCtx.LegacyAmino.UnmarshalAsJSON(bz, &acc) if err != nil { return nil, err } diff --git a/sei-cosmos/x/bank/client/testutil/cli_helpers.go b/sei-cosmos/x/bank/client/testutil/cli_helpers.go index 50462914bf..2d37e8d158 100644 --- a/sei-cosmos/x/bank/client/testutil/cli_helpers.go +++ b/sei-cosmos/x/bank/client/testutil/cli_helpers.go @@ -5,21 +5,23 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - bankcli "github.com/cosmos/cosmos-sdk/x/bank/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + bankcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/client/cli" ) func MsgSendExec(clientCtx client.Context, from, to, amount fmt.Stringer, extraArgs ...string) (testutil.BufferWriter, error) { - args := []string{from.String(), to.String(), amount.String()} + args := make([]string, 0, 3+len(extraArgs)) + args = append(args, from.String(), to.String(), amount.String()) args = append(args, extraArgs...) return clitestutil.ExecTestCLICmd(clientCtx, bankcli.NewSendTxCmd(), args) } func QueryBalancesExec(clientCtx client.Context, address fmt.Stringer, extraArgs ...string) (testutil.BufferWriter, error) { - args := []string{address.String(), fmt.Sprintf("--%s=json", cli.OutputFlag)} + args := make([]string, 0, 2+len(extraArgs)) + args = append(args, address.String(), fmt.Sprintf("--%s=json", cli.OutputFlag)) args = append(args, extraArgs...) return clitestutil.ExecTestCLICmd(clientCtx, bankcli.GetBalancesCmd(), args) diff --git a/sei-cosmos/x/bank/client/testutil/cli_test.go b/sei-cosmos/x/bank/client/testutil/cli_test.go index 1035ca7502..9126c139f8 100644 --- a/sei-cosmos/x/bank/client/testutil/cli_test.go +++ b/sei-cosmos/x/bank/client/testutil/cli_test.go @@ -6,7 +6,7 @@ package testutil import ( "testing" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/sei-cosmos/x/bank/client/testutil/suite.go b/sei-cosmos/x/bank/client/testutil/suite.go index 68ec305fec..4796a9ab22 100644 --- a/sei-cosmos/x/bank/client/testutil/suite.go +++ b/sei-cosmos/x/bank/client/testutil/suite.go @@ -7,14 +7,14 @@ import ( tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/bank/client/cli" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) type IntegrationTestSuite struct { @@ -33,7 +33,7 @@ func (s *IntegrationTestSuite) SetupSuite() { genesisState := s.cfg.GenesisState var bankGenesis types.GenesisState - s.Require().NoError(s.cfg.Codec.UnmarshalJSON(genesisState[types.ModuleName], &bankGenesis)) + s.Require().NoError(s.cfg.Codec.UnmarshalAsJSON(genesisState[types.ModuleName], &bankGenesis)) bankGenesis.DenomMetadata = []types.Metadata{ { @@ -75,7 +75,7 @@ func (s *IntegrationTestSuite) SetupSuite() { }, } - bankGenesisBz, err := s.cfg.Codec.MarshalJSON(&bankGenesis) + bankGenesisBz, err := s.cfg.Codec.MarshalAsJSON(&bankGenesis) s.Require().NoError(err) genesisState[types.ModuleName] = bankGenesisBz s.cfg.GenesisState = genesisState @@ -155,7 +155,7 @@ func (s *IntegrationTestSuite) TestGetBalancesCmd() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType)) s.Require().Equal(tc.expected.String(), tc.respType.String()) } }) @@ -227,7 +227,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryTotalSupply() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType)) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType)) s.Require().Equal(tc.expected, tc.respType) } }) @@ -354,7 +354,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryDenomsMetadata() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType)) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType)) s.Require().Equal(tc.expected, tc.respType) } }) @@ -462,7 +462,7 @@ func (s *IntegrationTestSuite) TestNewSendTxCmd() { } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(bz.Bytes(), tc.respType), bz.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(bz.Bytes(), tc.respType), bz.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code) } diff --git a/sei-cosmos/x/bank/exported/exported.go b/sei-cosmos/x/bank/exported/exported.go index c4f2e9f6da..b2d07a8bb8 100644 --- a/sei-cosmos/x/bank/exported/exported.go +++ b/sei-cosmos/x/bank/exported/exported.go @@ -1,7 +1,7 @@ package exported import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // GenesisBalance defines a genesis balance interface that allows for account diff --git a/sei-cosmos/x/bank/handler.go b/sei-cosmos/x/bank/handler.go index 0fb0f53a4c..533f93d4a4 100644 --- a/sei-cosmos/x/bank/handler.go +++ b/sei-cosmos/x/bank/handler.go @@ -1,10 +1,10 @@ package bank import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // NewHandler returns a handler for "bank" type messages. diff --git a/sei-cosmos/x/bank/handler_test.go b/sei-cosmos/x/bank/handler_test.go index 93cf29cc10..6ee6a50c75 100644 --- a/sei-cosmos/x/bank/handler_test.go +++ b/sei-cosmos/x/bank/handler_test.go @@ -7,16 +7,16 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/bank" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestInvalidMsg(t *testing.T) { diff --git a/sei-cosmos/x/bank/keeper/deferred_cache.go b/sei-cosmos/x/bank/keeper/deferred_cache.go index 3a6c649f70..6956235cca 100644 --- a/sei-cosmos/x/bank/keeper/deferred_cache.go +++ b/sei-cosmos/x/bank/keeper/deferred_cache.go @@ -1,11 +1,11 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) type DeferredCache struct { @@ -96,7 +96,7 @@ func (d *DeferredCache) IterateDeferredBalances(ctx sdk.Context, cb func(moduleA deferredStore := prefix.NewStore(ctx.KVStore(d.storeKey), types.DeferredCachePrefix) iterator := deferredStore.Iterator(nil, nil) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { var balance sdk.Coin @@ -118,7 +118,7 @@ func (d *DeferredCache) Clear(ctx sdk.Context) { store := prefix.NewStore(ctx.KVStore(d.storeKey), types.DeferredCachePrefix) iterator := store.Iterator(nil, nil) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { store.Delete(iterator.Key()) diff --git a/sei-cosmos/x/bank/keeper/deferred_cache_test.go b/sei-cosmos/x/bank/keeper/deferred_cache_test.go index fbbdbc9935..36a99edc52 100644 --- a/sei-cosmos/x/bank/keeper/deferred_cache_test.go +++ b/sei-cosmos/x/bank/keeper/deferred_cache_test.go @@ -1,10 +1,10 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/sei-protocol/sei-chain/app/apptesting" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func (suite *IntegrationTestSuite) TestDeferredCacheUpsertBalances() { diff --git a/sei-cosmos/x/bank/keeper/genesis.go b/sei-cosmos/x/bank/keeper/genesis.go index f95ae3193a..01c0b04c7b 100644 --- a/sei-cosmos/x/bank/keeper/genesis.go +++ b/sei-cosmos/x/bank/keeper/genesis.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // InitGenesis initializes the bank module's state from a given genesis state. diff --git a/sei-cosmos/x/bank/keeper/genesis_test.go b/sei-cosmos/x/bank/keeper/genesis_test.go index c171909867..98338b5789 100644 --- a/sei-cosmos/x/bank/keeper/genesis_test.go +++ b/sei-cosmos/x/bank/keeper/genesis_test.go @@ -1,10 +1,10 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/sei-cosmos/x/bank/keeper/grpc_query.go b/sei-cosmos/x/bank/keeper/grpc_query.go index e8576d12d6..1685c636bc 100644 --- a/sei-cosmos/x/bank/keeper/grpc_query.go +++ b/sei-cosmos/x/bank/keeper/grpc_query.go @@ -6,10 +6,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) var _ types.QueryServer = BaseKeeper{} diff --git a/sei-cosmos/x/bank/keeper/grpc_query_test.go b/sei-cosmos/x/bank/keeper/grpc_query_test.go index 25815cb9b7..d673bc1b70 100644 --- a/sei-cosmos/x/bank/keeper/grpc_query_test.go +++ b/sei-cosmos/x/bank/keeper/grpc_query_test.go @@ -5,14 +5,14 @@ import ( "fmt" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/sei-protocol/sei-chain/app/apptesting" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + vestingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/sei-cosmos/x/bank/keeper/invariants.go b/sei-cosmos/x/bank/keeper/invariants.go index 3cb88efad5..fde86feeb0 100644 --- a/sei-cosmos/x/bank/keeper/invariants.go +++ b/sei-cosmos/x/bank/keeper/invariants.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // TotalSupply checks that the total supply reflects all the coins held in accounts diff --git a/sei-cosmos/x/bank/keeper/keeper.go b/sei-cosmos/x/bank/keeper/keeper.go index 8ae610e995..36d35271ee 100644 --- a/sei-cosmos/x/bank/keeper/keeper.go +++ b/sei-cosmos/x/bank/keeper/keeper.go @@ -1,19 +1,18 @@ package keeper import ( - "errors" "fmt" "sort" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - vestexported "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" - "github.com/cosmos/cosmos-sdk/x/bank/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + vestexported "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) @@ -324,7 +323,7 @@ func (k BaseKeeper) IterateAllDenomMetaData(ctx sdk.Context, cb func(types.Metad denomMetaDataStore := prefix.NewStore(store, types.DenomMetadataPrefix) iterator := denomMetaDataStore.Iterator(nil, nil) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { var metadata types.Metadata @@ -423,7 +422,10 @@ func (k BaseKeeper) DeferredSendCoinsFromAccountToModule( } // get txIndex txIndex := ctx.TxIndex() - err = k.deferredCache.UpsertBalances(ctx, moduleAcc.GetAddress(), uint64(txIndex), amount) + if txIndex < 0 { + return fmt.Errorf("negative tx index: %d", txIndex) + } + err = k.deferredCache.UpsertBalances(ctx, moduleAcc.GetAddress(), uint64(txIndex), amount) //nolint:gosec // bounds checked above if err != nil { return err } @@ -441,7 +443,7 @@ func (k BaseKeeper) WriteDeferredBalances(ctx sdk.Context) []abci.Event { // maps between bech32 stringified module account address and balance moduleAddrBalanceMap := make(map[string]sdk.Coins) // slice of modules to be sorted for consistent write order later - moduleList := []string{} + var moduleList []string // iterate over deferred cache and accumulate totals per module k.deferredCache.IterateDeferredBalances(ctx, func(moduleAddr sdk.AccAddress, amount sdk.Coin) bool { @@ -466,7 +468,7 @@ func (k BaseKeeper) WriteDeferredBalances(ctx sdk.Context) []abci.Event { for _, moduleBech32Addr := range moduleList { amount, ok := moduleAddrBalanceMap[moduleBech32Addr] if !ok { - err := fmt.Errorf("Failed to get module balance for writing deferred balances for address=%s", moduleBech32Addr) + err := fmt.Errorf("failed to get module balance for writing deferred balances for address=%s", moduleBech32Addr) ctx.Logger().Error(err.Error()) panic(err) } @@ -570,7 +572,7 @@ func (k BaseKeeper) MintCoins(ctx sdk.Context, moduleName string, amounts sdk.Co addFn := func(ctx sdk.Context, moduleName string, amounts sdk.Coins) error { acc := k.ak.GetModuleAccount(ctx, moduleName) if acc == nil { - return errors.New(fmt.Sprintf("module account for %s not found", moduleName)) + return fmt.Errorf("module account for %s not found", moduleName) } return k.AddCoins(ctx, acc.GetAddress(), amounts, true) } @@ -698,7 +700,7 @@ func (k BaseViewKeeper) IterateTotalSupply(ctx sdk.Context, cb func(sdk.Coin) bo supplyStore := prefix.NewStore(store, types.SupplyKey) iterator := supplyStore.Iterator(nil, nil) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { var amount sdk.Int diff --git a/sei-cosmos/x/bank/keeper/keeper_test.go b/sei-cosmos/x/bank/keeper/keeper_test.go index 1ae2f4ff50..2d4363d912 100644 --- a/sei-cosmos/x/bank/keeper/keeper_test.go +++ b/sei-cosmos/x/bank/keeper/keeper_test.go @@ -5,18 +5,18 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - tmtime "github.com/cosmos/cosmos-sdk/std" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" - vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + tmtime "github.com/sei-protocol/sei-chain/sei-cosmos/std" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/exported" + vesting "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" @@ -57,7 +57,6 @@ func newBarCoin(amt int64) sdk.Coin { return sdk.NewInt64Coin(barDenom, amt) } -// nolint: interfacer func getCoinsByName(ctx sdk.Context, bk keeper.Keeper, ak types.AccountKeeper, moduleName string) sdk.Coins { moduleAddress := ak.GetModuleAddress(moduleName) macc := ak.GetAccount(ctx, moduleAddress) @@ -1848,9 +1847,9 @@ func (suite *IntegrationTestSuite) getTestMetadata() []types.Metadata { Symbol: "ATOM", Description: "The native staking token of the Cosmos Hub.", DenomUnits: []*types.DenomUnit{ - {"uatom", uint32(0), []string{"microatom"}}, - {"matom", uint32(3), []string{"milliatom"}}, - {"atom", uint32(6), nil}, + {Denom: "uatom", Exponent: uint32(0), Aliases: []string{"microatom"}}, + {Denom: "matom", Exponent: uint32(3), Aliases: []string{"milliatom"}}, + {Denom: "atom", Exponent: uint32(6)}, }, Base: "uatom", Display: "atom", @@ -1860,9 +1859,9 @@ func (suite *IntegrationTestSuite) getTestMetadata() []types.Metadata { Symbol: "TOKEN", Description: "The native staking token of the Token Hub.", DenomUnits: []*types.DenomUnit{ - {"1token", uint32(5), []string{"decitoken"}}, - {"2token", uint32(4), []string{"centitoken"}}, - {"3token", uint32(7), []string{"dekatoken"}}, + {Denom: "1token", Exponent: uint32(5), Aliases: []string{"decitoken"}}, + {Denom: "2token", Exponent: uint32(4), Aliases: []string{"centitoken"}}, + {Denom: "3token", Exponent: uint32(7), Aliases: []string{"dekatoken"}}, }, Base: "utoken", Display: "token", diff --git a/sei-cosmos/x/bank/keeper/migrations.go b/sei-cosmos/x/bank/keeper/migrations.go index 35fa547dee..d1c2437eef 100644 --- a/sei-cosmos/x/bank/keeper/migrations.go +++ b/sei-cosmos/x/bank/keeper/migrations.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Migrator is a struct for handling in-place store migrations. diff --git a/sei-cosmos/x/bank/keeper/msg_server.go b/sei-cosmos/x/bank/keeper/msg_server.go index 946d4e0c4c..32148376ba 100644 --- a/sei-cosmos/x/bank/keeper/msg_server.go +++ b/sei-cosmos/x/bank/keeper/msg_server.go @@ -5,10 +5,10 @@ import ( "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) type msgServer struct { diff --git a/sei-cosmos/x/bank/keeper/querier.go b/sei-cosmos/x/bank/keeper/querier.go index ed5d26ffb9..1cc19c4cda 100644 --- a/sei-cosmos/x/bank/keeper/querier.go +++ b/sei-cosmos/x/bank/keeper/querier.go @@ -3,10 +3,10 @@ package keeper import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // NewQuerier returns a new sdk.Keeper instance. @@ -34,7 +34,7 @@ func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { func queryBalance(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryBalanceRequest - if err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms); err != nil { + if err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms); err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -56,7 +56,7 @@ func queryBalance(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerie func queryAllBalance(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryAllBalancesRequest - if err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms); err != nil { + if err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms); err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -78,7 +78,7 @@ func queryAllBalance(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQue func queryTotalSupply(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryTotalSupplyRequest - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -104,7 +104,7 @@ func queryTotalSupply(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQu func querySupplyOf(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QuerySupplyOfParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } diff --git a/sei-cosmos/x/bank/keeper/querier_test.go b/sei-cosmos/x/bank/keeper/querier_test.go index 679e16072b..9a5116ea22 100644 --- a/sei-cosmos/x/bank/keeper/querier_test.go +++ b/sei-cosmos/x/bank/keeper/querier_test.go @@ -6,11 +6,11 @@ import ( "github.com/sei-protocol/sei-chain/app/apptesting" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" ) @@ -35,7 +35,7 @@ func (suite *IntegrationTestSuite) TestQuerier_QueryBalance() { suite.Require().NotNil(res) var balance sdk.Coin - suite.Require().NoError(legacyAmino.UnmarshalJSON(res, &balance)) + suite.Require().NoError(legacyAmino.UnmarshalAsJSON(res, &balance)) suite.True(balance.IsZero()) origCoins := sdk.NewCoins(newFooCoin(50), newBarCoin(30)) @@ -47,7 +47,7 @@ func (suite *IntegrationTestSuite) TestQuerier_QueryBalance() { res, err = querier(ctx, []string{types.QueryBalance}, req) suite.Require().NoError(err) suite.Require().NotNil(res) - suite.Require().NoError(legacyAmino.UnmarshalJSON(res, &balance)) + suite.Require().NoError(legacyAmino.UnmarshalAsJSON(res, &balance)) suite.True(balance.IsEqual(newFooCoin(50))) } @@ -72,7 +72,7 @@ func (suite *IntegrationTestSuite) TestQuerier_QueryAllBalances() { suite.Require().NotNil(res) var balances sdk.Coins - suite.Require().NoError(legacyAmino.UnmarshalJSON(res, &balances)) + suite.Require().NoError(legacyAmino.UnmarshalAsJSON(res, &balances)) suite.True(balances.IsZero()) origCoins := sdk.NewCoins(newFooCoin(50), newBarCoin(30)) @@ -83,7 +83,7 @@ func (suite *IntegrationTestSuite) TestQuerier_QueryAllBalances() { res, err = querier(ctx, []string{types.QueryAllBalances}, req) suite.Require().NoError(err) suite.Require().NotNil(res) - suite.Require().NoError(legacyAmino.UnmarshalJSON(res, &balances)) + suite.Require().NoError(legacyAmino.UnmarshalAsJSON(res, &balances)) suite.True(balances.IsEqual(origCoins)) } @@ -114,7 +114,7 @@ func (suite *IntegrationTestSuite) TestQuerier_QueryTotalSupply() { suite.Require().NotNil(res) var resp types.QueryTotalSupplyResponse - suite.Require().NoError(legacyAmino.UnmarshalJSON(res, &resp)) + suite.Require().NoError(legacyAmino.UnmarshalAsJSON(res, &resp)) suite.Require().Equal(expectedTotalSupply, resp.Supply) } @@ -145,7 +145,7 @@ func (suite *IntegrationTestSuite) TestQuerier_QueryTotalSupplyOf() { suite.Require().NotNil(res) var resp sdk.Coin - suite.Require().NoError(legacyAmino.UnmarshalJSON(res, &resp)) + suite.Require().NoError(legacyAmino.UnmarshalAsJSON(res, &resp)) suite.Require().Equal(test1Supply, resp) } diff --git a/sei-cosmos/x/bank/keeper/send.go b/sei-cosmos/x/bank/keeper/send.go index 8fa25269a0..b630dee27e 100644 --- a/sei-cosmos/x/bank/keeper/send.go +++ b/sei-cosmos/x/bank/keeper/send.go @@ -4,13 +4,13 @@ import ( "bytes" "strings" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/bank/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) const ( @@ -519,7 +519,7 @@ func (a AllowedAddresses) contains(address sdk.AccAddress) bool { func (k BaseSendKeeper) buildAllowedAddressesMap(allowList types.AllowList) AllowedAddresses { allowedAddressesMap := make(map[string]struct{}) - if allowList.Addresses != nil && len(allowList.Addresses) > 0 { + if len(allowList.Addresses) > 0 { for _, addr := range allowList.Addresses { allowedAddressesMap[addr] = struct{}{} } diff --git a/sei-cosmos/x/bank/keeper/send_test.go b/sei-cosmos/x/bank/keeper/send_test.go index 25c188eb61..ff6128452b 100644 --- a/sei-cosmos/x/bank/keeper/send_test.go +++ b/sei-cosmos/x/bank/keeper/send_test.go @@ -4,9 +4,9 @@ import ( "encoding/binary" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/stretchr/testify/require" ) diff --git a/sei-cosmos/x/bank/keeper/view.go b/sei-cosmos/x/bank/keeper/view.go index 00df8e6c5b..ef5e774050 100644 --- a/sei-cosmos/x/bank/keeper/view.go +++ b/sei-cosmos/x/bank/keeper/view.go @@ -5,12 +5,12 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - vestexported "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + vestexported "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) var _ ViewKeeper = (*BaseViewKeeper)(nil) @@ -120,7 +120,7 @@ func (k BaseViewKeeper) IterateAccountBalances(ctx sdk.Context, addr sdk.AccAddr accountStore := k.getAccountStore(ctx, addr) iterator := accountStore.Iterator(nil, nil) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { var balance sdk.Coin @@ -140,7 +140,7 @@ func (k BaseViewKeeper) IterateAllBalances(ctx sdk.Context, cb func(sdk.AccAddre balancesStore := prefix.NewStore(store, types.BalancesPrefix) iterator := balancesStore.Iterator(nil, nil) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { address, err := types.AddressFromBalancesStore(iterator.Key()) @@ -253,7 +253,7 @@ func (k BaseViewKeeper) IterateAllWeiBalances(ctx sdk.Context, cb func(sdk.AccAd store := prefix.NewStore(ctx.KVStore(k.storeKey), types.WeiBalancesPrefix) iterator := store.Iterator(nil, nil) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { val := new(sdk.Int) diff --git a/sei-cosmos/x/bank/keeper/view_test.go b/sei-cosmos/x/bank/keeper/view_test.go index 8f33e80c25..46964a25e4 100644 --- a/sei-cosmos/x/bank/keeper/view_test.go +++ b/sei-cosmos/x/bank/keeper/view_test.go @@ -4,10 +4,10 @@ import ( "encoding/hex" "encoding/json" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/sei-protocol/sei-chain/app/apptesting" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func (suite *IntegrationTestSuite) TestViewKeeperStoreTrace() { diff --git a/sei-cosmos/x/bank/module.go b/sei-cosmos/x/bank/module.go index acdab13e5f..8214ef69d2 100644 --- a/sei-cosmos/x/bank/module.go +++ b/sei-cosmos/x/bank/module.go @@ -12,18 +12,18 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/client/cli" - "github.com/cosmos/cosmos-sdk/x/bank/client/rest" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) var ( @@ -58,7 +58,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the bank module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var data types.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } @@ -82,7 +82,7 @@ func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Rout // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the bank module. func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { - types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) + _ = types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) } // GetTxCmd returns the root tx command for the bank module. @@ -114,7 +114,7 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { types.RegisterQueryServer(cfg.QueryServer(), am.keeper) m := keeper.NewMigrator(am.keeper.(keeper.BaseKeeper)) - cfg.RegisterMigration(types.ModuleName, 1, m.Migrate1to2) + _ = cfg.RegisterMigration(types.ModuleName, 1, m.Migrate1to2) } // NewAppModule creates a new AppModule object diff --git a/sei-cosmos/x/bank/simulation/genesis.go b/sei-cosmos/x/bank/simulation/genesis.go index 9031d03364..8139126a3d 100644 --- a/sei-cosmos/x/bank/simulation/genesis.go +++ b/sei-cosmos/x/bank/simulation/genesis.go @@ -7,9 +7,9 @@ import ( "fmt" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // RandomGenesisDefaultSendParam computes randomized allow all send transfers param for the bank module @@ -38,7 +38,7 @@ func RandomGenesisSendParams(r *rand.Rand) types.SendEnabledParams { // RandomGenesisBalances returns a slice of account balances. Each account has // a balance of simState.InitialStake for sdk.DefaultBondDenom. func RandomGenesisBalances(simState *module.SimulationState) []types.Balance { - genesisBalances := []types.Balance{} + genesisBalances := make([]types.Balance, 0, len(simState.Accounts)) for _, acc := range simState.Accounts { genesisBalances = append(genesisBalances, types.Balance{ diff --git a/sei-cosmos/x/bank/simulation/operations.go b/sei-cosmos/x/bank/simulation/operations.go index 6b11aaf9a8..ec5d2eab1d 100644 --- a/sei-cosmos/x/bank/simulation/operations.go +++ b/sei-cosmos/x/bank/simulation/operations.go @@ -3,22 +3,22 @@ package simulation import ( "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/cosmos/cosmos-sdk/x/bank/types" - distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/simulation" seiappparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + distributiontypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" ) // Simulation operation weights constants const ( - OpWeightMsgSend = "op_weight_msg_send" - OpWeightMsgMultiSend = "op_weight_msg_multisend" + OpWeightMsgSend = "op_weight_msg_send" //nolint:gosec + OpWeightMsgMultiSend = "op_weight_msg_multisend" //nolint:gosec ) // WeightedOperations returns all the operations from the module with their respective weights diff --git a/sei-cosmos/x/bank/simulation/params.go b/sei-cosmos/x/bank/simulation/params.go index 222f88acab..3585f3dd42 100644 --- a/sei-cosmos/x/bank/simulation/params.go +++ b/sei-cosmos/x/bank/simulation/params.go @@ -7,10 +7,10 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/bank/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // ParamChanges defines the parameters that can be modified by param change proposals diff --git a/sei-cosmos/x/bank/types/authz.pb.go b/sei-cosmos/x/bank/types/authz.pb.go index f6fbb9bc9b..7757edccfa 100644 --- a/sei-cosmos/x/bank/types/authz.pb.go +++ b/sei-cosmos/x/bank/types/authz.pb.go @@ -5,11 +5,11 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -31,7 +31,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // // Since: cosmos-sdk 0.43 type SendAuthorization struct { - SpendLimit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=spend_limit,json=spendLimit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"spend_limit"` + SpendLimit github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,1,rep,name=spend_limit,json=spendLimit,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"spend_limit"` } func (m *SendAuthorization) Reset() { *m = SendAuthorization{} } @@ -67,7 +67,7 @@ func (m *SendAuthorization) XXX_DiscardUnknown() { var xxx_messageInfo_SendAuthorization proto.InternalMessageInfo -func (m *SendAuthorization) GetSpendLimit() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *SendAuthorization) GetSpendLimit() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.SpendLimit } @@ -81,24 +81,24 @@ func init() { func init() { proto.RegisterFile("cosmos/bank/v1beta1/authz.proto", fileDescriptor_a4d2a37888ea779f) } var fileDescriptor_a4d2a37888ea779f = []byte{ - // 257 bytes of a gzipped FileDescriptorProto + // 269 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x4a, 0xcc, 0xcb, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x2c, 0x2d, 0xc9, 0xa8, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0x28, 0xd0, 0x03, 0x29, 0xd0, 0x83, 0x2a, 0x90, 0x92, 0x83, 0xeb, 0x2a, 0x4e, 0x85, 0xeb, 0x4a, 0xce, 0xcf, 0xcc, 0x83, 0x68, 0x92, 0x92, 0x84, 0xc8, 0xc7, 0x83, 0x79, 0xfa, 0x50, 0x13, 0x20, 0x52, 0x22, - 0xe9, 0xf9, 0xe9, 0xf9, 0x10, 0x71, 0x10, 0x0b, 0x22, 0xaa, 0x34, 0x85, 0x91, 0x4b, 0x30, 0x38, + 0xe9, 0xf9, 0xe9, 0xf9, 0x10, 0x71, 0x10, 0x0b, 0x22, 0xaa, 0xb4, 0x84, 0x91, 0x4b, 0x30, 0x38, 0x35, 0x2f, 0xc5, 0xb1, 0xb4, 0x24, 0x23, 0xbf, 0x28, 0xb3, 0x2a, 0xb1, 0x24, 0x33, 0x3f, 0x4f, - 0x28, 0x87, 0x8b, 0xbb, 0xb8, 0x20, 0x35, 0x2f, 0x25, 0x3e, 0x27, 0x33, 0x37, 0xb3, 0x44, 0x82, + 0xa8, 0x86, 0x8b, 0xbb, 0xb8, 0x20, 0x35, 0x2f, 0x25, 0x3e, 0x27, 0x33, 0x37, 0xb3, 0x44, 0x82, 0x51, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x52, 0x0f, 0xee, 0xa2, 0xe2, 0x54, 0x98, 0x8b, 0xf4, 0x9c, - 0xf3, 0x33, 0xf3, 0x9c, 0x0c, 0x4e, 0xdc, 0x93, 0x67, 0x58, 0x75, 0x5f, 0x5e, 0x23, 0x3d, 0xb3, - 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x17, 0x6a, 0x39, 0x94, 0xd2, 0x2d, 0x4e, 0xc9, 0xd6, - 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0x06, 0x6b, 0x28, 0x0e, 0xe2, 0x02, 0x9b, 0xef, 0x03, 0x32, 0xde, - 0x4a, 0xf0, 0xd2, 0x16, 0x5d, 0x5e, 0x14, 0x07, 0x38, 0x39, 0x9f, 0x78, 0x24, 0xc7, 0x78, 0xe1, - 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, - 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x26, 0x5e, 0x2b, 0x2a, 0x20, 0xe1, 0x09, 0xb6, 0x29, 0x89, 0x0d, - 0xec, 0x45, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x06, 0xf1, 0xcc, 0xfe, 0x6b, 0x01, 0x00, - 0x00, + 0xf3, 0x33, 0xf3, 0x9c, 0x1c, 0x4e, 0xdc, 0x93, 0x67, 0x58, 0x75, 0x5f, 0xde, 0x22, 0x3d, 0xb3, + 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xbf, 0x38, 0x35, 0x53, 0x17, 0x6c, 0x47, 0x72, + 0x7e, 0x0e, 0x98, 0x93, 0x9c, 0x91, 0x98, 0x99, 0x07, 0x61, 0x41, 0x3c, 0x51, 0x52, 0x59, 0x90, + 0x5a, 0x0c, 0x36, 0xa0, 0x38, 0x88, 0x0b, 0x6c, 0x9f, 0x0f, 0xc8, 0x3a, 0x2b, 0xc1, 0x4b, 0x5b, + 0x74, 0x79, 0x51, 0x1c, 0xe4, 0x14, 0x7c, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, + 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, + 0x51, 0x96, 0x24, 0x59, 0x59, 0x01, 0x09, 0x6f, 0xb0, 0xcd, 0x49, 0x6c, 0x60, 0xb5, 0xc6, 0x80, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x1d, 0xc8, 0x6d, 0x8b, 0x01, 0x00, 0x00, } func (m *SendAuthorization) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/bank/types/balance.go b/sei-cosmos/x/bank/types/balance.go index 94c4228264..7dc39ee7e6 100644 --- a/sei-cosmos/x/bank/types/balance.go +++ b/sei-cosmos/x/bank/types/balance.go @@ -5,9 +5,9 @@ import ( "encoding/json" "sort" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/exported" ) var _ exported.GenesisBalance = (*Balance)(nil) diff --git a/sei-cosmos/x/bank/types/balance_test.go b/sei-cosmos/x/bank/types/balance_test.go index f3a68ec9c5..fdb18d3369 100644 --- a/sei-cosmos/x/bank/types/balance_test.go +++ b/sei-cosmos/x/bank/types/balance_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - bank "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + bank "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func TestBalanceValidate(t *testing.T) { diff --git a/sei-cosmos/x/bank/types/bank.pb.go b/sei-cosmos/x/bank/types/bank.pb.go index 28c40b9cb4..3164f4a8d4 100644 --- a/sei-cosmos/x/bank/types/bank.pb.go +++ b/sei-cosmos/x/bank/types/bank.pb.go @@ -5,11 +5,11 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -133,8 +133,8 @@ func (m *SendEnabled) GetEnabled() bool { // Input models transaction input. type Input struct { - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Coins github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"coins"` } func (m *Input) Reset() { *m = Input{} } @@ -172,8 +172,8 @@ var xxx_messageInfo_Input proto.InternalMessageInfo // Output models transaction outputs. type Output struct { - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Coins github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"coins"` } func (m *Output) Reset() { *m = Output{} } @@ -215,7 +215,7 @@ var xxx_messageInfo_Output proto.InternalMessageInfo // // Deprecated: Do not use. type Supply struct { - 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"` + Total github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,1,rep,name=total,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"total"` } func (m *Supply) Reset() { *m = Supply{} } @@ -476,47 +476,47 @@ func init() { func init() { proto.RegisterFile("cosmos/bank/v1beta1/bank.proto", fileDescriptor_dd052eee12edf988) } var fileDescriptor_dd052eee12edf988 = []byte{ - // 630 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x54, 0xbd, 0x6e, 0x13, 0x41, - 0x10, 0xf6, 0xc6, 0x3f, 0xd8, 0x6b, 0x90, 0xd0, 0x62, 0xa1, 0x4b, 0x24, 0xee, 0xcc, 0x49, 0x48, - 0x0e, 0x22, 0x76, 0x12, 0x28, 0x90, 0x1b, 0x84, 0x43, 0x40, 0x91, 0x40, 0xa0, 0x8b, 0x10, 0x12, - 0x14, 0xd6, 0xda, 0xbb, 0x31, 0xa7, 0xdc, 0xed, 0x9e, 0xbc, 0x7b, 0x21, 0xf7, 0x06, 0x54, 0x40, - 0x49,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x17, 0xde, 0x1f, 0x78, 0x39, 0xff, 0x01, 0xac, 0xce, - 0x38, 0x51, 0x0d, 0x16, 0x09, 0x65, 0x3c, 0x76, 0x40, 0x1d, 0x34, 0x2a, 0x81, 0x01, 0xc8, 0x81, - 0xe7, 0xce, 0x94, 0x0e, 0xc6, 0xb0, 0x5d, 0x56, 0x22, 0x3f, 0x0f, 0x3c, 0xe0, 0xbf, 0x01, 0xb0, - 0xb8, 0xc5, 0x92, 0x54, 0x2a, 0x36, 0x26, 0x64, 0x48, 0x85, 0xb0, 0x2a, 0x63, 0x88, 0x30, 0x2c, - 0xaa, 0x0d, 0x08, 0x67, 0x41, 0x0f, 0x6c, 0x71, 0x3a, 0x30, 0x41, 0x27, 0x03, 0xdb, 0xe0, 0x21, - 0xeb, 0xac, 0x1e, 0x8e, 0xbc, 0xdc, 0x87, 0xef, 0x5e, 0x63, 0x10, 0xca, 0x97, 0x69, 0xaf, 0xd9, - 0xe7, 0xb1, 0xdd, 0x91, 0xfd, 0xac, 0x08, 0xb2, 0xdb, 0x92, 0x59, 0x42, 0x85, 0x4e, 0x10, 0x81, - 0x51, 0x6e, 0x97, 0x5f, 0x9b, 0x86, 0x72, 0xfe, 0x5b, 0x00, 0x4b, 0x8f, 0x53, 0xf9, 0x1f, 0x75, - 0xf4, 0x11, 0xc0, 0xd2, 0x76, 0x9a, 0x24, 0x51, 0xa6, 0xea, 0x4a, 0x2e, 0x71, 0x64, 0x4f, 0xe7, - 0xdf, 0xd6, 0xd5, 0xca, 0xed, 0xfb, 0xb6, 0x2e, 0xf8, 0xf2, 0x69, 0xe5, 0xf6, 0xf5, 0x3f, 0x66, - 0xef, 0x9b, 0xa7, 0x15, 0xd1, 0x01, 0xee, 0x67, 0xad, 0xbd, 0xd5, 0x5b, 0xab, 0x4d, 0xd3, 0xe7, - 0x96, 0x03, 0xfc, 0x67, 0xb0, 0x72, 0x4f, 0x5d, 0xc1, 0x53, 0x16, 0xca, 0xdf, 0xdc, 0xc7, 0x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, 0xea, 0xe6, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xac, 0x38, - 0xd0, 0x94, 0x35, 0x05, 0x00, 0x00, + // 638 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x53, 0xcd, 0x6e, 0x13, 0x3d, + 0x14, 0x8d, 0x9b, 0x9f, 0x2f, 0x71, 0x3e, 0x24, 0x64, 0x22, 0x34, 0xad, 0xc4, 0x4c, 0x18, 0x09, + 0xa9, 0x20, 0x9a, 0xb4, 0x85, 0x05, 0x64, 0x03, 0x04, 0x2a, 0xa8, 0x04, 0x02, 0x4d, 0x05, 0x48, + 0xb0, 0x88, 0x9c, 0x19, 0x37, 0xb5, 0xf0, 0xd8, 0x43, 0xec, 0x29, 0x9d, 0x37, 0x60, 0xc9, 0x92, + 0x15, 0x74, 0xcd, 0x9a, 0x77, 0xa0, 0xcb, 0x0a, 0x36, 0xac, 0x02, 0x6a, 0x37, 0xac, 0xfb, 0x04, + 0xc8, 0xf6, 0xe4, 0xa7, 0x52, 0x59, 0x80, 0x84, 0xc4, 0xee, 0x9e, 0x7b, 0x8f, 0x8f, 0xcf, 0xf8, + 0xdc, 0x81, 0x6e, 0x28, 0x64, 0x2c, 0x64, 0xbb, 0x8f, 0xf9, 0x8b, 0xf6, 0xf6, 0x4a, 0x9f, 0x28, + 0xbc, 0x62, 0x40, 0x2b, 0x19, 0x0a, 0x25, 0xd0, 0x19, 0x3b, 0x6f, 0x99, 0x56, 0x3e, 0x5f, 0x98, + 0x1e, 0x92, 0x64, 0x72, 0x28, 0x14, 0x94, 0xdb, 0x43, 0x0b, 0xf3, 0x76, 0xde, 0x33, 0xa8, 0x9d, + 0x2b, 0xd8, 0x51, 0x63, 0x20, 0x06, 0xc2, 0xf6, 0x75, 0x65, 0xbb, 0xfe, 0x17, 0x00, 0x2b, 0x8f, + 0xf0, 0x10, 0xc7, 0x12, 0x6d, 0xc2, 0xff, 0x25, 0xe1, 0x51, 0x8f, 0x70, 0xdc, 0x67, 0x24, 0x72, + 0x40, 0xb3, 0xb8, 0x58, 0x5f, 0x6d, 0xb6, 0x4e, 0xf0, 0xd1, 0xda, 0x20, 0x3c, 0x5a, 0xb3, 0xbc, + 0xee, 0xf9, 0xa3, 0x91, 0x77, 0x2e, 0xc3, 0x31, 0xeb, 0xf8, 0xb3, 0xe7, 0x2f, 0x8b, 0x98, 0x2a, + 0x12, 0x27, 0x2a, 0xf3, 0x83, 0xba, 0x9c, 0xf2, 0xd1, 0x73, 0xd8, 0x88, 0xc8, 0x26, 0x4e, 0x99, + 0xea, 0x1d, 0xbb, 0x6f, 0xae, 0x09, 0x16, 0xab, 0xdd, 0x8b, 0x47, 0x23, 0xef, 0x82, 0x55, 0x3b, + 0x89, 0x35, 0xab, 0x8a, 0x72, 0xc2, 0x8c, 0x99, 0x4e, 0xe9, 0xed, 0xae, 0x57, 0xf0, 0xef, 0xc2, + 0xfa, 0x4c, 0x13, 0x35, 0x60, 0x39, 0x22, 0x5c, 0xc4, 0x0e, 0x68, 0x82, 0xc5, 0x5a, 0x60, 0x01, + 0x72, 0xe0, 0x7f, 0xc7, 0xae, 0x0e, 0xc6, 0xb0, 0x53, 0xd5, 0x22, 0x3f, 0x76, 0x3d, 0xe0, 0xbf, + 0x03, 0xb0, 0xbc, 0xce, 0x93, 0x54, 0x69, 0x36, 0x8e, 0xa2, 0x21, 0x91, 0x32, 0x57, 0x19, 0x43, + 0xf4, 0x12, 0x96, 0x75, 0x02, 0xd2, 0x99, 0x33, 0x0f, 0x36, 0x3f, 0x7d, 0x30, 0x49, 0x26, 0x0f, + 0x76, 0x5b, 0x50, 0xde, 0xbd, 0xb9, 0x37, 0xf2, 0x0a, 0x1f, 0xbe, 0x79, 0xd7, 0x06, 0x54, 0x6d, + 0xa5, 0xfd, 0x56, 0x28, 0xe2, 0xb6, 0x24, 0x74, 0xc9, 0x44, 0x11, 0x0a, 0x66, 0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4d, 0xca, 0xa1, 0x66, 0x73, 0x1c, 0x13, 0xa7, 0x6c, 0xd9, 0xba, 0x46, 0x67, 0x61, + 0x45, 0x66, 0x71, 0x5f, 0x30, 0xa7, 0x62, 0xba, 0x39, 0xf2, 0xd7, 0x60, 0xed, 0x16, 0x63, 0xe2, + 0xd5, 0x7d, 0x2a, 0x15, 0x5a, 0x85, 0xb5, 0x7c, 0x1b, 0x89, 0x34, 0xf1, 0xd7, 0xba, 0x8d, 0xa3, + 0x91, 0x77, 0xda, 0xfe, 0xe9, 0x93, 0x91, 0x1f, 0x4c, 0x69, 0x9d, 0x92, 0xce, 0xad, 0xbb, 0xb1, + 0x77, 0xe0, 0x82, 0xfd, 0x03, 0x17, 0x7c, 0x3f, 0x70, 0xc1, 0x9b, 0x43, 0xb7, 0xb0, 0x7f, 0xe8, + 0x16, 0xbe, 0x1e, 0xba, 0x85, 0x67, 0xd7, 0xff, 0x24, 0x4e, 0xb3, 0x23, 0xfd, 0x8a, 0xe1, 0x5e, + 0xf9, 0x19, 0x00, 0x00, 0xff, 0xff, 0x84, 0xcb, 0x17, 0x3b, 0x85, 0x05, 0x00, 0x00, } func (this *SendEnabled) Equal(that interface{}) bool { diff --git a/sei-cosmos/x/bank/types/codec.go b/sei-cosmos/x/bank/types/codec.go index 07859ceab6..691ef7a825 100644 --- a/sei-cosmos/x/bank/types/codec.go +++ b/sei-cosmos/x/bank/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - "github.com/cosmos/cosmos-sdk/x/authz" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" ) // RegisterLegacyAminoCodec registers the necessary x/bank interfaces and concrete types diff --git a/sei-cosmos/x/bank/types/errors.go b/sei-cosmos/x/bank/types/errors.go index 8446d957b6..9db93c8209 100644 --- a/sei-cosmos/x/bank/types/errors.go +++ b/sei-cosmos/x/bank/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/bank module sentinel errors diff --git a/sei-cosmos/x/bank/types/events.go b/sei-cosmos/x/bank/types/events.go index 93eca61394..ddb039508b 100644 --- a/sei-cosmos/x/bank/types/events.go +++ b/sei-cosmos/x/bank/types/events.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // bank module event types @@ -29,7 +29,7 @@ const ( ) // NewCoinSpentEvent constructs a new coin spent sdk.Event -// nolint: interfacer + func NewCoinSpentEvent(spender sdk.AccAddress, amount sdk.Coins) sdk.Event { return sdk.NewEvent( EventTypeCoinSpent, @@ -39,7 +39,7 @@ func NewCoinSpentEvent(spender sdk.AccAddress, amount sdk.Coins) sdk.Event { } // NewCoinReceivedEvent constructs a new coin received sdk.Event -// nolint: interfacer + func NewCoinReceivedEvent(receiver sdk.AccAddress, amount sdk.Coins) sdk.Event { return sdk.NewEvent( EventTypeCoinReceived, @@ -49,7 +49,7 @@ func NewCoinReceivedEvent(receiver sdk.AccAddress, amount sdk.Coins) sdk.Event { } // NewWeiSpentEvent constructs a new wei spent sdk.Event -// nolint: interfacer + func NewWeiSpentEvent(spender sdk.AccAddress, amount sdk.Int) sdk.Event { return sdk.NewEvent( EventTypeWeiSpent, @@ -59,7 +59,7 @@ func NewWeiSpentEvent(spender sdk.AccAddress, amount sdk.Int) sdk.Event { } // NewWeiReceivedEvent constructs a new wei received sdk.Event -// nolint: interfacer + func NewWeiReceivedEvent(receiver sdk.AccAddress, amount sdk.Int) sdk.Event { return sdk.NewEvent( EventTypeWeiReceived, @@ -69,7 +69,7 @@ func NewWeiReceivedEvent(receiver sdk.AccAddress, amount sdk.Int) sdk.Event { } // NewCoinMintEvent construct a new coin minted sdk.Event -// nolint: interfacer + func NewCoinMintEvent(minter sdk.AccAddress, amount sdk.Coins) sdk.Event { return sdk.NewEvent( EventTypeCoinMint, @@ -79,7 +79,7 @@ func NewCoinMintEvent(minter sdk.AccAddress, amount sdk.Coins) sdk.Event { } // NewCoinBurnEvent constructs a new coin burned sdk.Event -// nolint: interfacer + func NewCoinBurnEvent(burner sdk.AccAddress, amount sdk.Coins) sdk.Event { return sdk.NewEvent( EventTypeCoinBurn, diff --git a/sei-cosmos/x/bank/types/expected_keepers.go b/sei-cosmos/x/bank/types/expected_keepers.go index 23ca020a34..82c2c918ae 100644 --- a/sei-cosmos/x/bank/types/expected_keepers.go +++ b/sei-cosmos/x/bank/types/expected_keepers.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // AccountKeeper defines the account contract that must be fulfilled when diff --git a/sei-cosmos/x/bank/types/genesis.go b/sei-cosmos/x/bank/types/genesis.go index 5a4b981f55..c23ec097c4 100644 --- a/sei-cosmos/x/bank/types/genesis.go +++ b/sei-cosmos/x/bank/types/genesis.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Validate performs basic validation of supply genesis data returning an diff --git a/sei-cosmos/x/bank/types/genesis.pb.go b/sei-cosmos/x/bank/types/genesis.pb.go index 58d6456740..3f58d439e9 100644 --- a/sei-cosmos/x/bank/types/genesis.pb.go +++ b/sei-cosmos/x/bank/types/genesis.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -33,7 +33,7 @@ type GenesisState struct { Balances []Balance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances"` // supply represents the total supply. If it is left empty, then supply will be calculated based on the provided // balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - Supply github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=supply,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"supply"` + Supply github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,3,rep,name=supply,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"supply"` // denom_metadata defines the metadata of the differents coins. DenomMetadata []Metadata `protobuf:"bytes,4,rep,name=denom_metadata,json=denomMetadata,proto3" json:"denom_metadata" yaml:"denom_metadata"` // wei balances @@ -87,7 +87,7 @@ func (m *GenesisState) GetBalances() []Balance { return nil } -func (m *GenesisState) GetSupply() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *GenesisState) GetSupply() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.Supply } @@ -114,7 +114,7 @@ type Balance struct { // address is the address of the balance holder. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // coins defines the different coins this balance holds. - Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` + Coins github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"coins"` } func (m *Balance) Reset() { *m = Balance{} } @@ -154,7 +154,7 @@ type WeiBalance struct { // address is the address of the balance holder. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // wei balance amount. - Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` + Amount github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"amount"` } func (m *WeiBalance) Reset() { *m = WeiBalance{} } @@ -199,36 +199,36 @@ func init() { func init() { proto.RegisterFile("cosmos/bank/v1beta1/genesis.proto", fileDescriptor_8f007de11b420c6e) } var fileDescriptor_8f007de11b420c6e = []byte{ - // 449 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xbf, 0xae, 0xd3, 0x30, - 0x14, 0xc6, 0x93, 0xdb, 0x7b, 0x73, 0x2f, 0x6e, 0x61, 0x30, 0x20, 0x85, 0x3f, 0x4d, 0x4a, 0x06, - 0x54, 0x06, 0x12, 0x5a, 0x26, 0x3a, 0x30, 0xa4, 0x12, 0x7f, 0x06, 0x24, 0x14, 0x06, 0x24, 0x96, - 0xca, 0x49, 0xac, 0x10, 0xb5, 0xb1, 0xa3, 0xda, 0xa5, 0xed, 0x1b, 0x30, 0xf6, 0x05, 0x90, 0x3a, - 0xf3, 0x24, 0x1d, 0x3b, 0x22, 0x86, 0x82, 0xda, 0x85, 0x99, 0x27, 0x40, 0xb1, 0xdd, 0x94, 0x4a, - 0x51, 0xc5, 0xc0, 0x14, 0xdb, 0xe7, 0xfb, 0x7d, 0xdf, 0xc9, 0x71, 0x02, 0x1e, 0x44, 0x94, 0x65, - 0x94, 0x79, 0x21, 0x22, 0x43, 0xef, 0x53, 0x27, 0xc4, 0x1c, 0x75, 0xbc, 0x04, 0x13, 0xcc, 0x52, - 0xe6, 0xe6, 0x63, 0xca, 0x29, 0xbc, 0x29, 0x25, 0x6e, 0x21, 0x71, 0x95, 0xe4, 0xae, 0x55, 0xc5, - 0x09, 0x85, 0x80, 0xfe, 0xaa, 0x33, 0x5c, 0xd6, 0x23, 0x9a, 0x12, 0x55, 0xbf, 0x95, 0xd0, 0x84, - 0x8a, 0xa5, 0x57, 0xac, 0xe4, 0xa9, 0xf3, 0xa5, 0x06, 0x1a, 0x2f, 0x65, 0xf8, 0x3b, 0x8e, 0x38, - 0x86, 0xcf, 0x80, 0x91, 0xa3, 0x31, 0xca, 0x98, 0xa9, 0xb7, 0xf4, 0x76, 0xbd, 0x7b, 0xcf, 0xad, - 0x68, 0xc6, 0x7d, 0x2b, 0x24, 0xfe, 0xf9, 0x6a, 0x63, 0x6b, 0x81, 0x02, 0xe0, 0x73, 0x70, 0x15, - 0xa2, 0x11, 0x22, 0x11, 0x66, 0xe6, 0x59, 0xab, 0xd6, 0xae, 0x77, 0xef, 0x57, 0xc2, 0xbe, 0x14, - 0x29, 0xba, 0x64, 0x60, 0x04, 0x0c, 0x36, 0xc9, 0xf3, 0xd1, 0xdc, 0xac, 0x09, 0xfa, 0xce, 0x81, - 0x66, 0xb8, 0xa4, 0xfb, 0x34, 0x25, 0xfe, 0x93, 0x02, 0xfd, 0xfa, 0xc3, 0x6e, 0x27, 0x29, 0xff, - 0x38, 0x09, 0xdd, 0x88, 0x66, 0x9e, 0x7a, 0x7f, 0xf9, 0x78, 0xcc, 0xe2, 0xa1, 0xc7, 0xe7, 0x39, - 0x66, 0x02, 0x60, 0x81, 0xb2, 0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74, 0xe4, 0x42, 0xbd, 0x88, 0x03, 0x00, - 0x00, + // 459 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0x4d, 0x8b, 0xd3, 0x40, + 0x18, 0x4e, 0xb6, 0xbb, 0xd9, 0x75, 0xba, 0x7a, 0x18, 0x15, 0xe2, 0xc7, 0x26, 0x6b, 0x4e, 0x7b, + 0x31, 0x61, 0x57, 0x10, 0xb7, 0x87, 0x22, 0xf1, 0xa0, 0x1e, 0x04, 0x49, 0x41, 0xc1, 0x4b, 0x99, + 0x24, 0x43, 0x3a, 0x98, 0xcc, 0xc4, 0xce, 0xd4, 0xda, 0x7f, 0xd0, 0xa3, 0x3f, 0xa1, 0x67, 0xc1, + 0xff, 0xd1, 0x63, 0x8f, 0xe2, 0xa1, 0x4a, 0x7b, 0xf1, 0xec, 0x2f, 0x90, 0xcc, 0x4c, 0x53, 0x0b, + 0x41, 0x50, 0xf0, 0xf6, 0x7e, 0x3c, 0xcf, 0xfb, 0x3c, 0xf3, 0xbe, 0x0c, 0xb8, 0x97, 0x30, 0x5e, + 0x30, 0x1e, 0xc4, 0x88, 0xbe, 0x0d, 0xde, 0x9f, 0xc7, 0x58, 0xa0, 0xf3, 0x20, 0xc3, 0x14, 0x73, + 0xc2, 0xfd, 0x72, 0xc8, 0x04, 0x83, 0xd7, 0x15, 0xc4, 0xaf, 0x20, 0xbe, 0x86, 0xdc, 0x76, 0x9a, + 0x78, 0x12, 0x21, 0x49, 0xbf, 0xf5, 0x39, 0xae, 0xfb, 0x09, 0x23, 0x54, 0xf7, 0x6f, 0x64, 0x2c, + 0x63, 0x32, 0x0c, 0xaa, 0x48, 0x55, 0xbd, 0xcf, 0x2d, 0x70, 0xfc, 0x54, 0x89, 0xf7, 0x04, 0x12, + 0x18, 0x5e, 0x02, 0xab, 0x44, 0x43, 0x54, 0x70, 0xdb, 0x3c, 0x35, 0xcf, 0xda, 0x17, 0x77, 0xfc, + 0x06, 0x33, 0xfe, 0x4b, 0x09, 0x09, 0xf7, 0xe7, 0x4b, 0xd7, 0x88, 0x34, 0x01, 0x76, 0xc1, 0x51, + 0x8c, 0x72, 0x44, 0x13, 0xcc, 0xed, 0xbd, 0xd3, 0xd6, 0x59, 0xfb, 0xe2, 0x6e, 0x23, 0x39, 0x54, + 0x20, 0xcd, 0xae, 0x39, 0x90, 0x03, 0x8b, 0x8f, 0xca, 0x32, 0x9f, 0xd8, 0x2d, 0xc9, 0xbe, 0xb5, + 0x65, 0x73, 0x5c, 0xb3, 0x9f, 0x30, 0x42, 0xc3, 0xc7, 0x15, 0xf5, 0xd3, 0x37, 0xf7, 0x51, 0x46, + 0xc4, 0x60, 0x14, 0xfb, 0x09, 0x2b, 0x02, 0x8e, 0xc9, 0x7d, 0xf9, 0xa8, 0x84, 0xe5, 0x32, 0x49, + 0x06, 0x88, 0x50, 0x15, 0xa9, 0xd5, 0x88, 0x49, 0x89, 0xb9, 0x1c, 0xc0, 0x23, 0x2d, 0x05, 0x13, + 0x70, 0x2d, 0xc5, 0x94, 0x15, 0xfd, 0x02, 0x0b, 0x94, 0x22, 0x81, 0xec, 0x7d, 0x29, 0x7e, 0xd2, + 0x68, 0xfd, 0x85, 0x06, 0x85, 0x27, 0x95, 0x81, 0x9f, 0x4b, 0xf7, 0xe6, 0x04, 0x15, 0x79, 0xc7, + 0xdb, 0x1d, 0xe1, 0x45, 0x57, 0x65, 0x61, 0x83, 0x86, 0xcf, 0xc0, 0xf1, 0x18, 0x93, 0x7e, 0xbd, + 0x9d, 0x03, 0x29, 0xe1, 0x36, 0x4a, 0xbc, 0xc6, 0x64, 0x77, 0x41, 0xed, 0x71, 0x5d, 0xe1, 0xde, + 0xcc, 0x04, 0x87, 0x3a, 0x81, 0x36, 0x38, 0x44, 0x69, 0x3a, 0xc4, 0x5c, 0xdd, 0xea, 0x4a, 0xb4, + 0x49, 0xe1, 0x3b, 0x70, 0x50, 0x5d, 0x7e, 0x73, 0x86, 0xff, 0xba, 0x48, 0xa5, 0xd4, 0x39, 0x9a, + 0xce, 0x5c, 0xe3, 0xc7, 0xcc, 0x35, 0xbc, 0xa9, 0x09, 0xc0, 0xf6, 0x11, 0x7f, 0x70, 0xf9, 0x0a, + 0x58, 0xa8, 0x60, 0x23, 0x2a, 0xec, 0xbd, 0xaa, 0x11, 0x76, 0x2b, 0x2f, 0x5f, 0x97, 0xee, 0xc3, + 0x7f, 0xf0, 0xf2, 0x9c, 0x8a, 0x48, 0x4f, 0xdb, 0x5a, 0x09, 0x7b, 0xf3, 0x95, 0x63, 0x2e, 0x56, + 0x8e, 0xf9, 0x7d, 0xe5, 0x98, 0x1f, 0xd7, 0x8e, 0xb1, 0x58, 0x3b, 0xc6, 0x97, 0xb5, 0x63, 0xbc, + 0xb9, 0xfc, 0x2b, 0x8d, 0x0f, 0xea, 0xd7, 0x49, 0xa9, 0xd8, 0x92, 0xd8, 0x07, 0xbf, 0x02, 0x00, + 0x00, 0xff, 0xff, 0x75, 0xfa, 0x2f, 0xbf, 0xc9, 0x03, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/bank/types/genesis_test.go b/sei-cosmos/x/bank/types/genesis_test.go index 6b25bb0e88..a4c0278b40 100644 --- a/sei-cosmos/x/bank/types/genesis_test.go +++ b/sei-cosmos/x/bank/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestGenesisStateValidate(t *testing.T) { diff --git a/sei-cosmos/x/bank/types/key.go b/sei-cosmos/x/bank/types/key.go index 4ead5e1661..bc55c3bdb8 100644 --- a/sei-cosmos/x/bank/types/key.go +++ b/sei-cosmos/x/bank/types/key.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/types/kv" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) const ( diff --git a/sei-cosmos/x/bank/types/key_test.go b/sei-cosmos/x/bank/types/key_test.go index 49f92183c6..1ec2f7658e 100644 --- a/sei-cosmos/x/bank/types/key_test.go +++ b/sei-cosmos/x/bank/types/key_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func cloneAppend(bz []byte, tail []byte) (res []byte) { diff --git a/sei-cosmos/x/bank/types/metadata.go b/sei-cosmos/x/bank/types/metadata.go index a6df1bf426..80e48e4251 100644 --- a/sei-cosmos/x/bank/types/metadata.go +++ b/sei-cosmos/x/bank/types/metadata.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Validate performs a basic validation of the coin metadata fields. It checks: diff --git a/sei-cosmos/x/bank/types/metadata_test.go b/sei-cosmos/x/bank/types/metadata_test.go index 3d4fe0a0e6..1929ac5cd2 100644 --- a/sei-cosmos/x/bank/types/metadata_test.go +++ b/sei-cosmos/x/bank/types/metadata_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func TestMetadataValidate(t *testing.T) { @@ -257,12 +257,12 @@ func TestMarshalJSONMetaData(t *testing.T) { for _, tc := range testCases { tc := tc t.Run(tc.name, func(t *testing.T) { - bz, err := cdc.MarshalJSON(tc.input) + bz, err := cdc.MarshalAsJSON(tc.input) require.NoError(t, err) require.Equal(t, tc.strOutput, string(bz)) var newMetadata []types.Metadata - require.NoError(t, cdc.UnmarshalJSON(bz, &newMetadata)) + require.NoError(t, cdc.UnmarshalAsJSON(bz, &newMetadata)) if len(tc.input) == 0 { require.Nil(t, newMetadata) diff --git a/sei-cosmos/x/bank/types/msgs.go b/sei-cosmos/x/bank/types/msgs.go index f5ce141724..868a66a1ad 100644 --- a/sei-cosmos/x/bank/types/msgs.go +++ b/sei-cosmos/x/bank/types/msgs.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // bank message types @@ -14,8 +14,6 @@ const ( var _ sdk.Msg = &MsgSend{} // NewMsgSend - construct a msg to send coins from one account to another. -// -//nolint:interfacer func NewMsgSend(fromAddr, toAddr sdk.AccAddress, amount sdk.Coins) *MsgSend { return &MsgSend{FromAddress: fromAddr.String(), ToAddress: toAddr.String(), Amount: amount} } @@ -126,8 +124,6 @@ func (in Input) ValidateBasic() error { } // NewInput - create a transaction input, used with MsgMultiSend -// -//nolint:interfacer func NewInput(addr sdk.AccAddress, coins sdk.Coins) Input { return Input{ Address: addr.String(), @@ -154,8 +150,6 @@ func (out Output) ValidateBasic() error { } // NewOutput - create a transaction output, used with MsgMultiSend -// -//nolint:interfacer func NewOutput(addr sdk.AccAddress, coins sdk.Coins) Output { return Output{ Address: addr.String(), diff --git a/sei-cosmos/x/bank/types/msgs_test.go b/sei-cosmos/x/bank/types/msgs_test.go index 9d3052b35f..b07aada932 100644 --- a/sei-cosmos/x/bank/types/msgs_test.go +++ b/sei-cosmos/x/bank/types/msgs_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestMsgSendRoute(t *testing.T) { diff --git a/sei-cosmos/x/bank/types/params.go b/sei-cosmos/x/bank/types/params.go index ed94ead347..62bcdeda49 100644 --- a/sei-cosmos/x/bank/types/params.go +++ b/sei-cosmos/x/bank/types/params.go @@ -5,8 +5,8 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) const ( diff --git a/sei-cosmos/x/bank/types/params_test.go b/sei-cosmos/x/bank/types/params_test.go index f6f95d7373..7e28d9aab6 100644 --- a/sei-cosmos/x/bank/types/params_test.go +++ b/sei-cosmos/x/bank/types/params_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func Test_validateSendEnabledParam(t *testing.T) { diff --git a/sei-cosmos/x/bank/types/querier.go b/sei-cosmos/x/bank/types/querier.go index e144a64d79..a1ddacafc5 100644 --- a/sei-cosmos/x/bank/types/querier.go +++ b/sei-cosmos/x/bank/types/querier.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" ) // Querier path constants @@ -14,22 +14,17 @@ const ( ) // NewQueryBalanceRequest creates a new instance of QueryBalanceRequest. -// -//nolint:interfacer func NewQueryBalanceRequest(addr sdk.AccAddress, denom string) *QueryBalanceRequest { return &QueryBalanceRequest{Address: addr.String(), Denom: denom} } // NewQueryAllBalancesRequest creates a new instance of QueryAllBalancesRequest. -// -//nolint:interfacer func NewQueryAllBalancesRequest(addr sdk.AccAddress, req *query.PageRequest) *QueryAllBalancesRequest { return &QueryAllBalancesRequest{Address: addr.String(), Pagination: req} } // NewQuerySpendableBalancesRequest creates a new instance of a // QuerySpendableBalancesRequest. -// nolint:interfacer func NewQuerySpendableBalancesRequest(addr sdk.AccAddress, req *query.PageRequest) *QuerySpendableBalancesRequest { return &QuerySpendableBalancesRequest{Address: addr.String(), Pagination: req} } diff --git a/sei-cosmos/x/bank/types/query.pb.go b/sei-cosmos/x/bank/types/query.pb.go index 78924a0324..a06e974bd4 100644 --- a/sei-cosmos/x/bank/types/query.pb.go +++ b/sei-cosmos/x/bank/types/query.pb.go @@ -6,12 +6,12 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -164,7 +164,7 @@ var xxx_messageInfo_QueryAllBalancesRequest proto.InternalMessageInfo // method. type QueryAllBalancesResponse struct { // balances is the balances of all the coins. - Balances github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=balances,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balances"` + Balances github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,1,rep,name=balances,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"balances"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } @@ -202,7 +202,7 @@ func (m *QueryAllBalancesResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAllBalancesResponse proto.InternalMessageInfo -func (m *QueryAllBalancesResponse) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *QueryAllBalancesResponse) GetBalances() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.Balances } @@ -262,7 +262,7 @@ var xxx_messageInfo_QuerySpendableBalancesRequest proto.InternalMessageInfo // an account's spendable balances. type QuerySpendableBalancesResponse struct { // balances is the spendable balances of all the coins. - Balances github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=balances,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balances"` + Balances github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,1,rep,name=balances,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"balances"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } @@ -300,7 +300,7 @@ func (m *QuerySpendableBalancesResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QuerySpendableBalancesResponse proto.InternalMessageInfo -func (m *QuerySpendableBalancesResponse) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *QuerySpendableBalancesResponse) GetBalances() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.Balances } @@ -360,7 +360,7 @@ var xxx_messageInfo_QueryTotalSupplyRequest proto.InternalMessageInfo // method type QueryTotalSupplyResponse struct { // supply is the supply of the coins - Supply github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=supply,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"supply"` + Supply github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,1,rep,name=supply,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"supply"` // pagination defines the pagination in the response. // // Since: cosmos-sdk 0.43 @@ -400,7 +400,7 @@ func (m *QueryTotalSupplyResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryTotalSupplyResponse proto.InternalMessageInfo -func (m *QueryTotalSupplyResponse) GetSupply() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *QueryTotalSupplyResponse) GetSupply() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.Supply } @@ -805,63 +805,64 @@ func init() { func init() { proto.RegisterFile("cosmos/bank/v1beta1/query.proto", fileDescriptor_9c6fc1939682df13) } var fileDescriptor_9c6fc1939682df13 = []byte{ - // 895 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0xdf, 0x6b, 0x23, 0x55, - 0x18, 0xcd, 0xad, 0x36, 0x4d, 0xbf, 0xa0, 0xe0, 0x6d, 0xc4, 0x74, 0x6a, 0x27, 0x32, 0xd5, 0x36, - 0xad, 0xe9, 0x4c, 0x93, 0x08, 0x5a, 0x5f, 0xa4, 0xa9, 0xe8, 0x83, 0x48, 0x63, 0xea, 0x93, 0x20, - 0xe5, 0x26, 0x19, 0xc7, 0xd0, 0x64, 0xee, 0x34, 0x77, 0x22, 0x86, 0x52, 0x10, 0x41, 0x10, 0x04, - 0x15, 0x7c, 0x11, 0x7c, 0xa9, 0x2f, 0x82, 0xfe, 0x03, 0xfe, 0x0b, 0x7d, 0xd8, 0x87, 0xb2, 0xfb, - 0xb2, 0x4f, 0xbb, 0x4b, 0xbb, 0x0f, 0xfb, 0xb2, 0xff, 0xc3, 0x92, 0xfb, 0x23, 0x9d, 0x24, 0x93, - 0x64, 0x16, 0xb2, 0x2c, 0xfb, 0xd4, 0x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, - 0x24, 0xd7, 0x1c, 0xe7, 0xba, 0x8e, 0xdf, 0x8e, 0xc2, 0xb5, 0xb4, 0x7f, 0x71, 0xa5, 0xa3, 0xcb, - 0x2b, 0x1d, 0x3d, 0xb8, 0xd2, 0xd1, 0xef, 0xd7, 0x7a, 0xec, 0xf2, 0x5a, 0x8f, 0xdd, 0xbd, 0xd6, - 0x63, 0x5f, 0x6d, 0x4e, 0xfc, 0x20, 0xf8, 0x5e, 0xb4, 0xe5, 0xdf, 0x05, 0xd5, 0x38, 0xff, 0xbf, - 0xa2, 0xf8, 0x24, 0x00, 0x00, 0xff, 0xff, 0x95, 0x0e, 0x02, 0x11, 0x2f, 0x0d, 0x00, 0x00, + // 901 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x56, 0xcf, 0x6b, 0x2b, 0x55, + 0x18, 0xcd, 0x7d, 0xfa, 0xd2, 0xf4, 0x0b, 0x0a, 0xde, 0x17, 0x31, 0x6f, 0x6a, 0x27, 0x32, 0x4f, + 0x5f, 0xfb, 0x9e, 0x79, 0x33, 0x2f, 0x89, 0x60, 0xeb, 0x46, 0x1b, 0x45, 0x17, 0x22, 0x8d, 0xa9, + 0x2b, 0x41, 0xca, 0x4d, 0x72, 0x4d, 0x87, 0x4e, 0xe6, 0x4e, 0x73, 0x27, 0x6a, 0x28, 0x05, 0x11, + 0x04, 0x41, 0x50, 0xc1, 0x8d, 0xe0, 0xa6, 0x6e, 0x04, 0xfd, 0x07, 0xfc, 0x17, 0xba, 0x2c, 0xb8, + 0xe9, 0x42, 0x54, 0x52, 0x17, 0x6e, 0xfc, 0x1f, 0x24, 0xf7, 0x47, 0x3a, 0x49, 0x26, 0xc9, 0x14, + 0x82, 0xc2, 0xdb, 0xcd, 0xdc, 0x39, 0xdf, 0x77, 0xce, 0x77, 0xe6, 0xce, 0xb9, 0x03, 0x85, 0x26, + 0xe3, 0x1d, 0xc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26, 0x2f, 0x50, 0x5a, 0x8b, 0x42, 0xeb, 0x5d, 0xfc, 0x7c, 0x12, + 0xad, 0xd5, 0xbd, 0xb3, 0x81, 0x89, 0xce, 0x07, 0x26, 0xfa, 0x73, 0x60, 0xa2, 0x6f, 0x2e, 0xcd, + 0xd4, 0xf9, 0xa5, 0x99, 0xba, 0xb8, 0x34, 0x53, 0xef, 0x6f, 0x5f, 0xeb, 0x07, 0xe1, 0x13, 0x49, + 0x23, 0xfe, 0x13, 0x1a, 0x69, 0x81, 0xad, 0xfc, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x75, 0x21, 0xfd, + 0xbb, 0x6f, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/bank/types/send_authorization.go b/sei-cosmos/x/bank/types/send_authorization.go index 75a47cdf0d..3f943f9c43 100644 --- a/sei-cosmos/x/bank/types/send_authorization.go +++ b/sei-cosmos/x/bank/types/send_authorization.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/authz" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" ) var ( diff --git a/sei-cosmos/x/bank/types/send_authorization_test.go b/sei-cosmos/x/bank/types/send_authorization_test.go index 06bf523018..3e6e0b1d61 100644 --- a/sei-cosmos/x/bank/types/send_authorization_test.go +++ b/sei-cosmos/x/bank/types/send_authorization_test.go @@ -7,8 +7,8 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) var ( diff --git a/sei-cosmos/x/bank/types/tx.pb.go b/sei-cosmos/x/bank/types/tx.pb.go index 58ddb9d4fd..346a38b2c3 100644 --- a/sei-cosmos/x/bank/types/tx.pb.go +++ b/sei-cosmos/x/bank/types/tx.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -32,9 +32,9 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // MsgSend represents a message to send coins from one account to another. type MsgSend struct { - FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" yaml:"from_address"` - ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" yaml:"to_address"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" yaml:"from_address"` + ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" yaml:"to_address"` + Amount github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"amount"` } func (m *MsgSend) Reset() { *m = MsgSend{} } @@ -207,35 +207,35 @@ func init() { func init() { proto.RegisterFile("cosmos/bank/v1beta1/tx.proto", fileDescriptor_1d8cb1613481f5b7) } var fileDescriptor_1d8cb1613481f5b7 = []byte{ - // 437 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0x8f, 0xd2, 0x40, - 0x18, 0xc6, 0x3b, 0x0b, 0x61, 0x65, 0x76, 0x13, 0xb3, 0xdd, 0x55, 0xd7, 0x4a, 0x5a, 0x6c, 0x3c, - 0xc0, 0xc1, 0xa9, 0xa0, 0x07, 0x53, 0x4f, 0x96, 0x93, 0x26, 0x8d, 0x49, 0x3d, 0xe9, 0xc5, 0xf4, - 0xcf, 0x58, 0x1b, 0x68, 0xa7, 0x61, 0xa6, 0x06, 0xbe, 0x81, 0x89, 0x17, 0x3f, 0x02, 0x67, 0xe3, - 0x07, 0xe1, 0xc8, 0xd1, 0x13, 0x1a, 0xb8, 0x18, 0x8f, 0x7c, 0x02, 0xd3, 0xe9, 0xb4, 0x70, 0xa8, - 0xec, 0x89, 0x19, 0x9e, 0xe7, 0xf7, 0xe6, 0x79, 0xfa, 0x0e, 0xec, 0xf8, 0x84, 0xc6, 0x84, 0x1a, - 0x9e, 0x9b, 0x8c, 0x8d, 0xcf, 0x03, 0x0f, 0x33, 0x77, 0x60, 0xb0, 0x19, 0x4a, 0xa7, 0x84, 0x11, - 0xf9, 0xb2, 0x50, 0x51, 0xae, 0x22, 0xa1, 0x2a, 0x6a, 0x1d, 0xc2, 0x1d, 0x1c, 0x3a, 0xd0, 0x29, - 0xae, 0x74, 0x9f, 0x44, 0x89, 0xd0, 0xaf, 0x42, 0x12, 0x12, 0x7e, 0x34, 0xf2, 0x53, 0xf1, 0xaf, - 0xfe, 0x17, 0xc0, 0x53, 0x9b, 0x86, 0x6f, 0x71, 0x12, 0xc8, 0x26, 0x3c, 0xff, 0x38, 0x25, 0xf1, - 0x07, 0x37, 0x08, 0xa6, 0x98, 0xd2, 0x6b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 0x87, 0x3f, 0x00, - 0x6c, 0xd8, 0x34, 0x94, 0x5f, 0xc3, 0x26, 0x0f, 0xd9, 0xa9, 0x9d, 0x2c, 0xba, 0x29, 0x8f, 0x8e, - 0xa9, 0xe5, 0x4c, 0xf9, 0x1d, 0x6c, 0xef, 0x5b, 0x3f, 0xfc, 0x1f, 0x52, 0x59, 0x94, 0xfe, 0x8d, - 0x96, 0x72, 0xb4, 0x35, 0x5a, 0x6e, 0x54, 0xb0, 0xda, 0xa8, 0xe0, 0xf7, 0x46, 0x05, 0xdf, 0xb6, - 0xaa, 0xb4, 0xda, 0xaa, 0xd2, 0xcf, 0xad, 0x2a, 0xbd, 0xef, 0x1f, 0xdd, 0xde, 0xac, 0x78, 0xdc, - 0x7c, 0x89, 0x5e, 0x8b, 0x3f, 0xd0, 0xa7, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x14, 0x10, 0x3f, - 0x9e, 0x2b, 0x03, 0x00, 0x00, + // 447 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x3f, 0x6f, 0xd3, 0x40, + 0x18, 0xc6, 0x7d, 0x4d, 0x94, 0x92, 0x6b, 0x25, 0x54, 0xb7, 0x40, 0x31, 0x95, 0x5d, 0x2c, 0x86, + 0x32, 0x70, 0x56, 0x0b, 0x43, 0x30, 0x0b, 0x98, 0x09, 0x24, 0x0b, 0xc9, 0x99, 0x60, 0x41, 0xb6, + 0x73, 0x38, 0x16, 0xf1, 0xbd, 0x56, 0xee, 0x8c, 0x92, 0x6f, 0x80, 0xc4, 0xc2, 0x47, 0xc8, 0x8c, + 0xf8, 0x20, 0x19, 0x33, 0x32, 0x05, 0x94, 0x2c, 0xcc, 0x19, 0x99, 0x90, 0xcf, 0x7f, 0x92, 0xc1, + 0x80, 0xd8, 0xee, 0xf2, 0x3c, 0xbf, 0x37, 0xcf, 0x73, 0xaf, 0xf1, 0x59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x57, 0xfe, 0x95, 0x7d, 0xed, 0xe3, 0xcc, 0x50, 0x7e, 0xce, 0x0c, 0xc5, 0x3c, 0xc2, 0xd7, + 0xcb, 0xee, 0x1e, 0xe5, 0x29, 0x30, 0x4e, 0xcd, 0x4f, 0x08, 0x1f, 0xba, 0x3c, 0x72, 0xb3, 0x91, + 0x88, 0xe5, 0xa3, 0xf4, 0x70, 0x27, 0x66, 0x69, 0x26, 0xf2, 0xe7, 0xc8, 0x23, 0x6a, 0xa4, 0x61, + 0x39, 0xe4, 0x45, 0x6e, 0x71, 0xda, 0x79, 0x46, 0xaf, 0xf4, 0xab, 0x4f, 0xf0, 0x3e, 0x64, 0x42, + 0xa2, 0x7b, 0x12, 0xbd, 0xd3, 0x88, 0xbe, 0x92, 0x9e, 0x92, 0xad, 0x08, 0xbb, 0x2d, 0x03, 0xde, + 0xc4, 0x27, 0xbb, 0x61, 0xaa, 0x94, 0x57, 0x5f, 0x11, 0x6e, 0xb9, 0x3c, 0x52, 0x5f, 0xe2, 0xb6, + 0x0c, 0x79, 0xd6, 0x38, 0xb9, 0xec, 0xa6, 0xdd, 0xfb, 0x9b, 0x5a, 0xcd, 0x54, 0x5f, 0xe3, 0xee, + 0xb6, 0xf5, 0xdd, 0x3f, 0x21, 0xb5, 0x45, 0xbb, 0xff, 0x4f, 0x4b, 0x35, 0xda, 0xe9, 0xcf, 0x57, + 0x3a, 0x5a, 0xac, 0x74, 0xf4, 0x63, 0xa5, 0xa3, 0xcf, 0x6b, 0x5d, 0x59, 0xac, 0x75, 0xe5, 0xdb, + 0x5a, 0x57, 0xde, 0x3c, 0xfe, 0xaf, 0x6d, 0x4e, 0x8a, 0x8f, 0x5f, 0x2e, 0x35, 0xe8, 0x48, 0xef, + 0xc3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x63, 0x0b, 0xa1, 0xa0, 0x4b, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/capability/abci.go b/sei-cosmos/x/capability/abci.go index 9d1c94b5b9..d0351e7b14 100644 --- a/sei-cosmos/x/capability/abci.go +++ b/sei-cosmos/x/capability/abci.go @@ -3,10 +3,10 @@ package capability import ( "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/capability/keeper" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" ) // BeginBlocker will call InitMemStore to initialize the memory stores in the case diff --git a/sei-cosmos/x/capability/capability_test.go b/sei-cosmos/x/capability/capability_test.go index 362a77c595..b81b2b98f2 100644 --- a/sei-cosmos/x/capability/capability_test.go +++ b/sei-cosmos/x/capability/capability_test.go @@ -6,14 +6,14 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/capability" - "github.com/cosmos/cosmos-sdk/x/capability/keeper" - "github.com/cosmos/cosmos-sdk/x/capability/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" ) type CapabilityTestSuite struct { diff --git a/sei-cosmos/x/capability/genesis.go b/sei-cosmos/x/capability/genesis.go index 2e9a11b994..f4f96aca75 100644 --- a/sei-cosmos/x/capability/genesis.go +++ b/sei-cosmos/x/capability/genesis.go @@ -1,9 +1,9 @@ package capability import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/capability/keeper" - "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/sei-cosmos/x/capability/genesis_test.go b/sei-cosmos/x/capability/genesis_test.go index 52ceeff5b7..f63b01dbcd 100644 --- a/sei-cosmos/x/capability/genesis_test.go +++ b/sei-cosmos/x/capability/genesis_test.go @@ -4,12 +4,12 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/capability" - "github.com/cosmos/cosmos-sdk/x/capability/keeper" - "github.com/cosmos/cosmos-sdk/x/capability/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func (suite *CapabilityTestSuite) TestGenesis() { diff --git a/sei-cosmos/x/capability/keeper/keeper.go b/sei-cosmos/x/capability/keeper/keeper.go index 74cc874c72..417a593981 100644 --- a/sei-cosmos/x/capability/keeper/keeper.go +++ b/sei-cosmos/x/capability/keeper/keeper.go @@ -6,11 +6,11 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" ) type ( @@ -117,7 +117,7 @@ func (k *Keeper) InitMemStore(ctx sdk.Context) { iterator := sdk.KVStorePrefixIterator(prefixStore, nil) // initialize the in-memory store for all persisted capabilities - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { index := types.IndexFromKey(iterator.Key()) diff --git a/sei-cosmos/x/capability/keeper/keeper_test.go b/sei-cosmos/x/capability/keeper/keeper_test.go index 5b10f1a83c..acb4c67463 100644 --- a/sei-cosmos/x/capability/keeper/keeper_test.go +++ b/sei-cosmos/x/capability/keeper/keeper_test.go @@ -8,11 +8,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/capability/keeper" - "github.com/cosmos/cosmos-sdk/x/capability/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) type KeeperTestSuite struct { @@ -274,7 +274,7 @@ func (suite *KeeperTestSuite) TestReleaseCapability() { suite.Require().Error(sk1.ReleaseCapability(suite.ctx, nil)) } -func (suite KeeperTestSuite) TestRevertCapability() { +func (suite *KeeperTestSuite) TestRevertCapability() { sk := suite.keeper.ScopeToModule(banktypes.ModuleName) ms := suite.ctx.MultiStore() diff --git a/sei-cosmos/x/capability/module.go b/sei-cosmos/x/capability/module.go index a398fa817e..557b73234f 100644 --- a/sei-cosmos/x/capability/module.go +++ b/sei-cosmos/x/capability/module.go @@ -11,15 +11,15 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/capability/keeper" - "github.com/cosmos/cosmos-sdk/x/capability/simulation" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" ) var ( @@ -60,7 +60,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the capability module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState - if err := cdc.UnmarshalJSON(bz, &genState); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } return genState.Validate() diff --git a/sei-cosmos/x/capability/simulation/decoder.go b/sei-cosmos/x/capability/simulation/decoder.go index 96e2c41c0a..000951d788 100644 --- a/sei-cosmos/x/capability/simulation/decoder.go +++ b/sei-cosmos/x/capability/simulation/decoder.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/sei-cosmos/x/capability/simulation/genesis.go b/sei-cosmos/x/capability/simulation/genesis.go index ab1d11fb3d..f8065bae08 100644 --- a/sei-cosmos/x/capability/simulation/genesis.go +++ b/sei-cosmos/x/capability/simulation/genesis.go @@ -7,8 +7,8 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" ) // Simulation parameter constants @@ -16,7 +16,7 @@ const index = "index" // GenIndex returns a random global index between 1-1000 func GenIndex(r *rand.Rand) uint64 { - return uint64(r.Int63n(1000)) + 1 + return uint64(r.Int63n(1000)) + 1 //nolint:gosec // Int63n returns non-negative values } // RandomizedGenState generates a random GenesisState for capability diff --git a/sei-cosmos/x/capability/types/capability.pb.go b/sei-cosmos/x/capability/types/capability.pb.go index 785742bd33..a4b10775e0 100644 --- a/sei-cosmos/x/capability/types/capability.pb.go +++ b/sei-cosmos/x/capability/types/capability.pb.go @@ -164,7 +164,7 @@ func init() { } var fileDescriptor_6308261edd8470a9 = []byte{ - // 299 bytes of a gzipped FileDescriptorProto + // 310 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4a, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x4e, 0x2c, 0x48, 0x4c, 0xca, 0xcc, 0xc9, 0x2c, 0xa9, 0xd4, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0x44, 0x12, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x84, @@ -178,12 +178,13 @@ var fileDescriptor_6308261edd8470a9 = []byte{ 0x56, 0xc8, 0xff, 0xe9, 0x9e, 0x3c, 0x37, 0x44, 0x21, 0x48, 0x54, 0x29, 0x08, 0x2c, 0x69, 0xc5, 0xd1, 0xb1, 0x40, 0x9e, 0x01, 0x6c, 0x45, 0x10, 0x97, 0x00, 0xc2, 0x79, 0x60, 0xcb, 0x8a, 0x85, 0xec, 0xb8, 0xd8, 0xf2, 0xc1, 0x2c, 0x09, 0x46, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x05, 0x3d, 0x9c, - 0x9e, 0xd6, 0x03, 0x6b, 0x71, 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08, 0xaa, 0xcb, 0xc9, 0xf3, + 0x9e, 0xd6, 0x03, 0x6b, 0x71, 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08, 0xaa, 0xcb, 0x29, 0xf2, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, - 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0xf4, 0xd3, 0x33, 0x4b, 0x32, 0x4a, - 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x61, 0x81, 0x0e, 0xa6, 0x74, 0x8b, 0x53, 0xb2, 0xf5, 0x2b, - 0x90, 0x63, 0xa0, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0x88, 0xc6, 0x80, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x1d, 0xc9, 0xe6, 0xa8, 0xa3, 0x01, 0x00, 0x00, + 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0xec, 0xd3, 0x33, 0x4b, 0x32, 0x4a, + 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x8b, 0x53, 0x33, 0x75, 0xc1, 0x41, 0x94, 0x9c, 0x9f, 0x03, + 0xe6, 0x24, 0x67, 0x24, 0x66, 0xe6, 0x41, 0x58, 0x90, 0xf8, 0xa8, 0x40, 0x8e, 0x91, 0x92, 0xca, + 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0x0e, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd6, 0x95, + 0xc9, 0x81, 0xb3, 0x01, 0x00, 0x00, } func (m *Capability) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/capability/types/errors.go b/sei-cosmos/x/capability/types/errors.go index 7c582ccbb0..09baed0e9f 100644 --- a/sei-cosmos/x/capability/types/errors.go +++ b/sei-cosmos/x/capability/types/errors.go @@ -3,7 +3,7 @@ package types // DONTCOVER import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/capability module sentinel errors diff --git a/sei-cosmos/x/capability/types/genesis.pb.go b/sei-cosmos/x/capability/types/genesis.pb.go index 2cbd0d4655..18a946c78f 100644 --- a/sei-cosmos/x/capability/types/genesis.pb.go +++ b/sei-cosmos/x/capability/types/genesis.pb.go @@ -144,7 +144,7 @@ func init() { } var fileDescriptor_94922dd16a11c23e = []byte{ - // 280 bytes of a gzipped FileDescriptorProto + // 291 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x4e, 0x2c, 0x48, 0x4c, 0xca, 0xcc, 0xc9, 0x2c, 0xa9, 0xd4, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, @@ -157,12 +157,13 @@ var fileDescriptor_94922dd16a11c23e = []byte{ 0xc4, 0x3d, 0x79, 0x86, 0x4f, 0xf7, 0xe4, 0x85, 0x2b, 0x13, 0x73, 0x73, 0xac, 0x94, 0x90, 0x8d, 0x53, 0x0a, 0xe2, 0x06, 0x73, 0x21, 0x2a, 0x95, 0x72, 0xb8, 0x78, 0xa0, 0x6e, 0x0a, 0x2e, 0x49, 0x2c, 0x49, 0xc5, 0xe1, 0x24, 0x37, 0x2e, 0x36, 0xb8, 0x63, 0x98, 0x35, 0xb8, 0x8d, 0x34, 0xf0, - 0x38, 0x06, 0xc5, 0x8b, 0x4e, 0x2c, 0x20, 0x97, 0x04, 0x41, 0x75, 0x3b, 0x79, 0x9e, 0x78, 0x24, + 0x38, 0x06, 0xc5, 0x8b, 0x4e, 0x2c, 0x20, 0x97, 0x04, 0x41, 0x75, 0x3b, 0x45, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, - 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x7e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, - 0x72, 0x7e, 0xae, 0x3e, 0x2c, 0xa4, 0xc1, 0x94, 0x6e, 0x71, 0x4a, 0xb6, 0x7e, 0x05, 0x72, 0xb0, - 0x97, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x03, 0xd5, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, - 0xaf, 0xed, 0xbb, 0x08, 0xdc, 0x01, 0x00, 0x00, + 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x7d, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, + 0x72, 0x7e, 0xae, 0x7e, 0x71, 0x6a, 0xa6, 0x2e, 0x38, 0xc8, 0x92, 0xf3, 0x73, 0xc0, 0x9c, 0xe4, + 0x8c, 0xc4, 0xcc, 0x3c, 0x08, 0x0b, 0x12, 0x09, 0x15, 0xc8, 0xd1, 0x50, 0x52, 0x59, 0x90, 0x5a, + 0x9c, 0xc4, 0x06, 0xd6, 0x61, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x96, 0xd0, 0x2a, 0xec, + 0x01, 0x00, 0x00, } func (m *GenesisOwners) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/capability/types/keys.go b/sei-cosmos/x/capability/types/keys.go index fadce73d39..698a783082 100644 --- a/sei-cosmos/x/capability/types/keys.go +++ b/sei-cosmos/x/capability/types/keys.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/sei-cosmos/x/capability/types/keys_test.go b/sei-cosmos/x/capability/types/keys_test.go index 8f1fca269a..bdb670fbd6 100644 --- a/sei-cosmos/x/capability/types/keys_test.go +++ b/sei-cosmos/x/capability/types/keys_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" ) func TestRevCapabilityKey(t *testing.T) { @@ -43,11 +43,9 @@ func TestFwdCapabilityKeyCompatibility(t *testing.T) { cap := types.NewCapability(24) new := types.FwdCapabilityKey("bank", cap) old := legacyFwdCapabilityKey("bank", cap) - if runtime.GOOS == "darwin" && runtime.GOARCH == "arm" { - // the legacy version has 1 more byte on mac m1 + if runtime.GOOS == "darwin" && runtime.GOARCH == "arm64" { require.Equal(t, len(old), len(new)+1) } else { - // otherwise, the new version is identical require.Equal(t, new, old) } } diff --git a/sei-cosmos/x/capability/types/types.go b/sei-cosmos/x/capability/types/types.go index 053f178074..b713077921 100644 --- a/sei-cosmos/x/capability/types/types.go +++ b/sei-cosmos/x/capability/types/types.go @@ -6,7 +6,7 @@ import ( yaml "gopkg.in/yaml.v2" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // NewCapability returns a reference to a new Capability to be used as an diff --git a/sei-cosmos/x/capability/types/types_test.go b/sei-cosmos/x/capability/types/types_test.go index 8cec569d2f..ea8f4e90e2 100644 --- a/sei-cosmos/x/capability/types/types_test.go +++ b/sei-cosmos/x/capability/types/types_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" ) func TestCapabilityKey(t *testing.T) { diff --git a/sei-cosmos/x/crisis/abci.go b/sei-cosmos/x/crisis/abci.go index fa1b932b8f..f16af5c277 100644 --- a/sei-cosmos/x/crisis/abci.go +++ b/sei-cosmos/x/crisis/abci.go @@ -3,17 +3,17 @@ package crisis import ( "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/keeper" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" ) // check all registered invariants func EndBlocker(ctx sdk.Context, k keeper.Keeper) { defer telemetry.ModuleMeasureSince(types.ModuleName, time.Now(), telemetry.MetricKeyEndBlocker) - if k.InvCheckPeriod() == 0 || ctx.BlockHeight()%int64(k.InvCheckPeriod()) != 0 { + if k.InvCheckPeriod() == 0 || ctx.BlockHeight()%int64(k.InvCheckPeriod()) != 0 { //nolint:gosec // InvCheckPeriod is a small config value, won't overflow int64 // skip running the invariant check return } diff --git a/sei-cosmos/x/crisis/client/cli/tx.go b/sei-cosmos/x/crisis/client/cli/tx.go index 50b7e16a34..5466a2526e 100644 --- a/sei-cosmos/x/crisis/client/cli/tx.go +++ b/sei-cosmos/x/crisis/client/cli/tx.go @@ -5,10 +5,10 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" ) // NewTxCmd returns a root CLI command handler for all x/crisis transaction commands. diff --git a/sei-cosmos/x/crisis/client/testsuite/cli_test.go b/sei-cosmos/x/crisis/client/testsuite/cli_test.go index 5b3ef61c5a..679ae015cc 100644 --- a/sei-cosmos/x/crisis/client/testsuite/cli_test.go +++ b/sei-cosmos/x/crisis/client/testsuite/cli_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" ) func TestIntegrationTestSuite(t *testing.T) { diff --git a/sei-cosmos/x/crisis/client/testsuite/suite.go b/sei-cosmos/x/crisis/client/testsuite/suite.go index d0d82f6212..f5312d5c15 100644 --- a/sei-cosmos/x/crisis/client/testsuite/suite.go +++ b/sei-cosmos/x/crisis/client/testsuite/suite.go @@ -6,11 +6,11 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/client/cli" ) type IntegrationTestSuite struct { @@ -94,7 +94,7 @@ func (s *IntegrationTestSuite) TestNewMsgVerifyInvariantTxCmd() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code) diff --git a/sei-cosmos/x/crisis/handler.go b/sei-cosmos/x/crisis/handler.go index 0e6cf985f8..0e32d1f274 100644 --- a/sei-cosmos/x/crisis/handler.go +++ b/sei-cosmos/x/crisis/handler.go @@ -1,9 +1,9 @@ package crisis import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" ) // RouterKey diff --git a/sei-cosmos/x/crisis/handler_test.go b/sei-cosmos/x/crisis/handler_test.go index 2e60d43da5..23dd64629d 100644 --- a/sei-cosmos/x/crisis/handler_test.go +++ b/sei-cosmos/x/crisis/handler_test.go @@ -5,11 +5,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var ( diff --git a/sei-cosmos/x/crisis/keeper/genesis.go b/sei-cosmos/x/crisis/keeper/genesis.go index 8420201d4e..d7993d9474 100644 --- a/sei-cosmos/x/crisis/keeper/genesis.go +++ b/sei-cosmos/x/crisis/keeper/genesis.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" ) // new crisis genesis diff --git a/sei-cosmos/x/crisis/keeper/keeper.go b/sei-cosmos/x/crisis/keeper/keeper.go index e7fe713f39..9480347daa 100644 --- a/sei-cosmos/x/crisis/keeper/keeper.go +++ b/sei-cosmos/x/crisis/keeper/keeper.go @@ -6,9 +6,9 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // Keeper - crisis keeper diff --git a/sei-cosmos/x/crisis/keeper/keeper_test.go b/sei-cosmos/x/crisis/keeper/keeper_test.go index 1e3578d9d2..caf68c6964 100644 --- a/sei-cosmos/x/crisis/keeper/keeper_test.go +++ b/sei-cosmos/x/crisis/keeper/keeper_test.go @@ -8,9 +8,9 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" ) func TestLogger(t *testing.T) { diff --git a/sei-cosmos/x/crisis/keeper/msg_server.go b/sei-cosmos/x/crisis/keeper/msg_server.go index 61246ffa60..a6750264d2 100644 --- a/sei-cosmos/x/crisis/keeper/msg_server.go +++ b/sei-cosmos/x/crisis/keeper/msg_server.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + // sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" ) var _ types.MsgServer = Keeper{} diff --git a/sei-cosmos/x/crisis/keeper/params.go b/sei-cosmos/x/crisis/keeper/params.go index d44efa4ebf..bd405f8a9c 100644 --- a/sei-cosmos/x/crisis/keeper/params.go +++ b/sei-cosmos/x/crisis/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" ) // GetConstantFee get's the constant fee from the paramSpace diff --git a/sei-cosmos/x/crisis/legacy/v039/types.go b/sei-cosmos/x/crisis/legacy/v039/types.go index 44903e3491..207b57441b 100644 --- a/sei-cosmos/x/crisis/legacy/v039/types.go +++ b/sei-cosmos/x/crisis/legacy/v039/types.go @@ -1,6 +1,6 @@ package v039 -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" const ( ModuleName = "crisis" diff --git a/sei-cosmos/x/crisis/legacy/v040/migrate.go b/sei-cosmos/x/crisis/legacy/v040/migrate.go index eb97ba9ee6..2356fc67c4 100644 --- a/sei-cosmos/x/crisis/legacy/v040/migrate.go +++ b/sei-cosmos/x/crisis/legacy/v040/migrate.go @@ -1,8 +1,8 @@ package v040 import ( - v039crisis "github.com/cosmos/cosmos-sdk/x/crisis/legacy/v039" - v040crisis "github.com/cosmos/cosmos-sdk/x/crisis/types" + v039crisis "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/legacy/v039" + v040crisis "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" ) // Migrate accepts exported v0.39 x/crisis genesis state and diff --git a/sei-cosmos/x/crisis/module.go b/sei-cosmos/x/crisis/module.go index a610b3677b..99e171054c 100644 --- a/sei-cosmos/x/crisis/module.go +++ b/sei-cosmos/x/crisis/module.go @@ -10,15 +10,15 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/crisis/client/cli" - "github.com/cosmos/cosmos-sdk/x/crisis/keeper" - "github.com/cosmos/cosmos-sdk/x/crisis/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" ) var ( @@ -53,7 +53,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the crisis module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var data types.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } diff --git a/sei-cosmos/x/crisis/types/codec.go b/sei-cosmos/x/crisis/types/codec.go index ac02c54630..cf7d733001 100644 --- a/sei-cosmos/x/crisis/types/codec.go +++ b/sei-cosmos/x/crisis/types/codec.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" ) // RegisterLegacyAminoCodec registers the necessary x/crisis interfaces and concrete types diff --git a/sei-cosmos/x/crisis/types/errors.go b/sei-cosmos/x/crisis/types/errors.go index cf8c4901b3..2a70a70a4d 100644 --- a/sei-cosmos/x/crisis/types/errors.go +++ b/sei-cosmos/x/crisis/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/crisis module sentinel errors diff --git a/sei-cosmos/x/crisis/types/expected_keepers.go b/sei-cosmos/x/crisis/types/expected_keepers.go index 3cd0e9e7f5..130a28f894 100644 --- a/sei-cosmos/x/crisis/types/expected_keepers.go +++ b/sei-cosmos/x/crisis/types/expected_keepers.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // SupplyKeeper defines the expected supply keeper (noalias) diff --git a/sei-cosmos/x/crisis/types/genesis.go b/sei-cosmos/x/crisis/types/genesis.go index f530991302..f3802d0d38 100644 --- a/sei-cosmos/x/crisis/types/genesis.go +++ b/sei-cosmos/x/crisis/types/genesis.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // NewGenesisState creates a new GenesisState object diff --git a/sei-cosmos/x/crisis/types/genesis.pb.go b/sei-cosmos/x/crisis/types/genesis.pb.go index 9c445a7d4f..fa7c2b2e10 100644 --- a/sei-cosmos/x/crisis/types/genesis.pb.go +++ b/sei-cosmos/x/crisis/types/genesis.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -80,7 +80,7 @@ func init() { } var fileDescriptor_7a9c2781aa8a27ae = []byte{ - // 237 bytes of a gzipped FileDescriptorProto + // 248 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x2e, 0xca, 0x2c, 0xce, 0x2c, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, @@ -91,11 +91,12 @@ var fileDescriptor_7a9c2781aa8a27ae = []byte{ 0xd4, 0x54, 0x09, 0x66, 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x49, 0x3d, 0xa8, 0x9d, 0x20, 0xc3, 0x61, 0x36, 0xea, 0x39, 0xe7, 0x67, 0xe6, 0x39, 0x49, 0x9f, 0xb8, 0x27, 0xcf, 0xf0, 0xe9, 0x9e, 0xbc, 0x70, 0x65, 0x62, 0x6e, 0x8e, 0x95, 0x12, 0xb2, 0x66, 0xa5, 0x20, 0x6e, 0x18, 0xd7, 0x2d, 0x35, - 0xd5, 0xc9, 0xf5, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, - 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0xb4, 0xd3, 0x33, - 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x61, 0x21, 0x00, 0xa6, 0x74, 0x8b, 0x53, - 0xb2, 0xf5, 0x2b, 0x60, 0xc1, 0x51, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x76, 0xb8, 0x31, - 0x20, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x5a, 0xc9, 0xf9, 0x2c, 0x01, 0x00, 0x00, + 0xd5, 0x29, 0xf4, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, + 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0xac, 0xd3, 0x33, + 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x8b, 0x53, 0x33, 0x75, 0xc1, 0x4e, 0x4b, + 0xce, 0xcf, 0x01, 0x73, 0x92, 0x33, 0x12, 0x33, 0xf3, 0x20, 0x2c, 0x88, 0x07, 0x2b, 0x60, 0xc1, + 0x53, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x56, 0x6d, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, + 0x36, 0x14, 0x8a, 0x75, 0x3c, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/crisis/types/msgs.go b/sei-cosmos/x/crisis/types/msgs.go index fcb7dadd11..5d06973c90 100644 --- a/sei-cosmos/x/crisis/types/msgs.go +++ b/sei-cosmos/x/crisis/types/msgs.go @@ -1,15 +1,13 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // ensure Msg interface compliance at compile time var _ sdk.Msg = &MsgVerifyInvariant{} // NewMsgVerifyInvariant creates a new MsgVerifyInvariant object -// -//nolint:interfacer func NewMsgVerifyInvariant(sender sdk.AccAddress, invModeName, invRoute string) *MsgVerifyInvariant { return &MsgVerifyInvariant{ Sender: sender.String(), diff --git a/sei-cosmos/x/crisis/types/params.go b/sei-cosmos/x/crisis/types/params.go index 880f350f11..dbb7744082 100644 --- a/sei-cosmos/x/crisis/types/params.go +++ b/sei-cosmos/x/crisis/types/params.go @@ -3,8 +3,8 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) var ( diff --git a/sei-cosmos/x/crisis/types/route.go b/sei-cosmos/x/crisis/types/route.go index 1096798e8c..1dc4111971 100644 --- a/sei-cosmos/x/crisis/types/route.go +++ b/sei-cosmos/x/crisis/types/route.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // invariant route diff --git a/sei-cosmos/x/crisis/types/tx.pb.go b/sei-cosmos/x/crisis/types/tx.pb.go index f84c4adbf1..b2377202c1 100644 --- a/sei-cosmos/x/crisis/types/tx.pb.go +++ b/sei-cosmos/x/crisis/types/tx.pb.go @@ -113,7 +113,7 @@ func init() { func init() { proto.RegisterFile("cosmos/crisis/v1beta1/tx.proto", fileDescriptor_61276163172fe867) } var fileDescriptor_61276163172fe867 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto + // 329 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x2e, 0xca, 0x2c, 0xce, 0x2c, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x85, 0xc8, 0xeb, 0x41, @@ -129,11 +129,12 @@ var fileDescriptor_61276163172fe867 = []byte{ 0x90, 0x67, 0x78, 0xb1, 0x40, 0x9e, 0x41, 0x49, 0x86, 0x4b, 0x0a, 0xd3, 0x4b, 0x41, 0xa9, 0xc5, 0x05, 0xf9, 0x79, 0xc5, 0xa9, 0x46, 0x65, 0x5c, 0xcc, 0xbe, 0xc5, 0xe9, 0x42, 0xf9, 0x5c, 0xfc, 0xe8, 0x9e, 0xd6, 0xd4, 0xc3, 0x1a, 0x72, 0x7a, 0x98, 0x86, 0x49, 0x19, 0x12, 0xad, 0x14, 0x66, - 0xaf, 0x93, 0xeb, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, - 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x69, 0xa7, 0x67, - 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xc3, 0xe2, 0x16, 0x4c, 0xe9, 0x16, 0xa7, - 0x64, 0xeb, 0x57, 0xc0, 0x22, 0xba, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0x6f, 0xc6, - 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9c, 0x60, 0x68, 0x5a, 0x06, 0x02, 0x00, 0x00, + 0xaf, 0x53, 0xe8, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, + 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x59, 0xa7, 0x67, + 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x17, 0xa7, 0x66, 0xea, 0x82, 0x63, 0x26, + 0x39, 0x3f, 0x07, 0xcc, 0x49, 0xce, 0x48, 0xcc, 0xcc, 0x83, 0xb0, 0x20, 0xd1, 0x5e, 0x01, 0x8b, + 0xf8, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0x6a, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x87, 0xa0, 0xcd, 0x34, 0x16, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/distribution/abci.go b/sei-cosmos/x/distribution/abci.go index c801989f9b..170b8ef0f9 100644 --- a/sei-cosmos/x/distribution/abci.go +++ b/sei-cosmos/x/distribution/abci.go @@ -3,10 +3,10 @@ package distribution import ( "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-cosmos/x/distribution/client/cli/query.go b/sei-cosmos/x/distribution/client/cli/query.go index aa087f5f8b..17966edbb7 100644 --- a/sei-cosmos/x/distribution/client/cli/query.go +++ b/sei-cosmos/x/distribution/client/cli/query.go @@ -7,11 +7,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/sei-cosmos/x/distribution/client/cli/tx.go b/sei-cosmos/x/distribution/client/cli/tx.go index 7c32bd3692..9c00f54172 100644 --- a/sei-cosmos/x/distribution/client/cli/tx.go +++ b/sei-cosmos/x/distribution/client/cli/tx.go @@ -7,13 +7,13 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // Transaction flags for the x/distribution module diff --git a/sei-cosmos/x/distribution/client/cli/tx_test.go b/sei-cosmos/x/distribution/client/cli/tx_test.go index 4df4e95e73..e58ec12ca5 100644 --- a/sei-cosmos/x/distribution/client/cli/tx_test.go +++ b/sei-cosmos/x/distribution/client/cli/tx_test.go @@ -6,17 +6,17 @@ import ( "github.com/sei-protocol/sei-chain/app" "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - "github.com/cosmos/cosmos-sdk/x/distribution/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client/cli" "github.com/stretchr/testify/require" "github.com/stretchr/testify/assert" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func Test_splitAndCall_NoMessages(t *testing.T) { diff --git a/sei-cosmos/x/distribution/client/cli/utils.go b/sei-cosmos/x/distribution/client/cli/utils.go index 45f941f089..f0dd2cd90c 100644 --- a/sei-cosmos/x/distribution/client/cli/utils.go +++ b/sei-cosmos/x/distribution/client/cli/utils.go @@ -1,22 +1,23 @@ package cli import ( - "io/ioutil" + "os" + "path/filepath" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) // ParseCommunityPoolSpendProposalWithDeposit reads and parses a CommunityPoolSpendProposalWithDeposit from a file. func ParseCommunityPoolSpendProposalWithDeposit(cdc codec.JSONCodec, proposalFile string) (types.CommunityPoolSpendProposalWithDeposit, error) { proposal := types.CommunityPoolSpendProposalWithDeposit{} - contents, err := ioutil.ReadFile(proposalFile) + contents, err := os.ReadFile(filepath.Clean(proposalFile)) if err != nil { return proposal, err } - if err = cdc.UnmarshalJSON(contents, &proposal); err != nil { + if err = cdc.UnmarshalAsJSON(contents, &proposal); err != nil { return proposal, err } diff --git a/sei-cosmos/x/distribution/client/common/common.go b/sei-cosmos/x/distribution/client/common/common.go index a2d5fceda0..069b88e65b 100644 --- a/sei-cosmos/x/distribution/client/common/common.go +++ b/sei-cosmos/x/distribution/client/common/common.go @@ -3,9 +3,9 @@ package common import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) // QueryDelegationRewards queries a delegation rewards between a delegator and a @@ -22,7 +22,7 @@ func QueryDelegationRewards(clientCtx client.Context, delAddr, valAddr string) ( } params := types.NewQueryDelegationRewardsParams(delegatorAddr, validatorAddr) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if err != nil { return nil, 0, fmt.Errorf("failed to marshal params: %w", err) } @@ -61,7 +61,7 @@ func WithdrawAllDelegatorRewards(clientCtx client.Context, delegatorAddr sdk.Acc } var validators []sdk.ValAddress - if err := clientCtx.LegacyAmino.UnmarshalJSON(bz, &validators); err != nil { + if err := clientCtx.LegacyAmino.UnmarshalAsJSON(bz, &validators); err != nil { return nil, err } diff --git a/sei-cosmos/x/distribution/client/common/common_test.go b/sei-cosmos/x/distribution/client/common/common_test.go index 6b3ecdd5cd..d3cad63c97 100644 --- a/sei-cosmos/x/distribution/client/common/common_test.go +++ b/sei-cosmos/x/distribution/client/common/common_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) func TestQueryDelegationRewardsAddrValidation(t *testing.T) { diff --git a/sei-cosmos/x/distribution/client/proposal_handler.go b/sei-cosmos/x/distribution/client/proposal_handler.go index 517f508bff..20cb633bc3 100644 --- a/sei-cosmos/x/distribution/client/proposal_handler.go +++ b/sei-cosmos/x/distribution/client/proposal_handler.go @@ -1,9 +1,9 @@ package client import ( - "github.com/cosmos/cosmos-sdk/x/distribution/client/cli" - "github.com/cosmos/cosmos-sdk/x/distribution/client/rest" - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client/rest" + govclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client" ) // ProposalHandler is the community spend proposal handler. diff --git a/sei-cosmos/x/distribution/client/rest/grpc_query_test.go b/sei-cosmos/x/distribution/client/rest/grpc_query_test.go index 04de98f2b6..5f5cb795de 100644 --- a/sei-cosmos/x/distribution/client/rest/grpc_query_test.go +++ b/sei-cosmos/x/distribution/client/rest/grpc_query_test.go @@ -7,13 +7,13 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) type IntegrationTestSuite struct { @@ -60,7 +60,7 @@ func (s *IntegrationTestSuite) TestQueryParamsGRPC() { resp, err := rest.GetRequest(tc.url) s.Run(tc.name, func() { s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) s.Require().Equal(tc.expected, tc.respType) }) } @@ -110,10 +110,10 @@ func (s *IntegrationTestSuite) TestQueryOutstandingRewardsGRPC() { resp, err := testutil.GetRequestWithHeaders(tc.url, tc.headers) s.Run(tc.name, func() { if tc.expErr { - s.Require().Error(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().Error(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) } else { s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) s.Require().Equal(tc.expected.String(), tc.respType.String()) } }) @@ -164,10 +164,10 @@ func (s *IntegrationTestSuite) TestQueryValidatorCommissionGRPC() { resp, err := testutil.GetRequestWithHeaders(tc.url, tc.headers) s.Run(tc.name, func() { if tc.expErr { - s.Require().Error(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().Error(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) } else { s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) s.Require().Equal(tc.expected.String(), tc.respType.String()) } }) @@ -223,10 +223,10 @@ func (s *IntegrationTestSuite) TestQuerySlashesGRPC() { s.Run(tc.name, func() { if tc.expErr { - s.Require().Error(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().Error(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) } else { s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) s.Require().Equal(tc.expected.String(), tc.respType.String()) } }) @@ -299,10 +299,10 @@ func (s *IntegrationTestSuite) TestQueryDelegatorRewardsGRPC() { s.Run(tc.name, func() { if tc.expErr { - s.Require().Error(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().Error(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) } else { s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) s.Require().Equal(tc.expected.String(), tc.respType.String()) } }) @@ -351,10 +351,10 @@ func (s *IntegrationTestSuite) TestQueryDelegatorValidatorsGRPC() { s.Run(tc.name, func() { if tc.expErr { - s.Require().Error(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().Error(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) } else { s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) s.Require().Equal(tc.expected.String(), tc.respType.String()) } }) @@ -403,10 +403,10 @@ func (s *IntegrationTestSuite) TestQueryWithdrawAddressGRPC() { s.Run(tc.name, func() { if tc.expErr { - s.Require().Error(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().Error(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) } else { s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) s.Require().Equal(tc.expected.String(), tc.respType.String()) } }) @@ -451,7 +451,7 @@ func (s *IntegrationTestSuite) TestQueryValidatorCommunityPoolGRPC() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType)) s.Require().Equal(tc.expected.String(), tc.respType.String()) } }) diff --git a/sei-cosmos/x/distribution/client/rest/query.go b/sei-cosmos/x/distribution/client/rest/query.go index 0fb923afc9..409471bb91 100644 --- a/sei-cosmos/x/distribution/client/rest/query.go +++ b/sei-cosmos/x/distribution/client/rest/query.go @@ -6,12 +6,12 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/x/distribution/client/common" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" ) func registerQueryRoutes(clientCtx client.Context, r *mux.Router) { @@ -79,7 +79,7 @@ func delegatorRewardsHandlerFn(clientCtx client.Context) http.HandlerFunc { } params := types.NewQueryDelegatorParams(delegatorAddr) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if err != nil { rest.WriteErrorResponse(w, http.StatusBadRequest, fmt.Sprintf("failed to marshal params: %s", err)) return @@ -180,7 +180,7 @@ func validatorInfoHandlerFn(clientCtx client.Context) http.HandlerFunc { } var commission types.ValidatorAccumulatedCommission - if rest.CheckInternalServerError(w, clientCtx.LegacyAmino.UnmarshalJSON(bz, &commission)) { + if rest.CheckInternalServerError(w, clientCtx.LegacyAmino.UnmarshalAsJSON(bz, &commission)) { return } @@ -192,11 +192,11 @@ func validatorInfoHandlerFn(clientCtx client.Context) http.HandlerFunc { } var rewards sdk.DecCoins - if rest.CheckInternalServerError(w, clientCtx.LegacyAmino.UnmarshalJSON(bz, &rewards)) { + if rest.CheckInternalServerError(w, clientCtx.LegacyAmino.UnmarshalAsJSON(bz, &rewards)) { return } - bz, err = clientCtx.LegacyAmino.MarshalJSON(NewValidatorDistInfo(delAddr, rewards, commission)) + bz, err = clientCtx.LegacyAmino.MarshalAsJSON(NewValidatorDistInfo(delAddr, rewards, commission)) if rest.CheckInternalServerError(w, err) { return } @@ -263,7 +263,7 @@ func communityPoolHandler(clientCtx client.Context) http.HandlerFunc { } var result sdk.DecCoins - if rest.CheckInternalServerError(w, clientCtx.LegacyAmino.UnmarshalJSON(res, &result)) { + if rest.CheckInternalServerError(w, clientCtx.LegacyAmino.UnmarshalAsJSON(res, &result)) { return } diff --git a/sei-cosmos/x/distribution/client/rest/rest.go b/sei-cosmos/x/distribution/client/rest/rest.go index 3fdcef89e1..acc5d6276e 100644 --- a/sei-cosmos/x/distribution/client/rest/rest.go +++ b/sei-cosmos/x/distribution/client/rest/rest.go @@ -5,13 +5,13 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clientrest "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/rest" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) func RegisterHandlers(clientCtx client.Context, rtr *mux.Router) { diff --git a/sei-cosmos/x/distribution/client/rest/tx.go b/sei-cosmos/x/distribution/client/rest/tx.go index 675be4af1a..3864551a67 100644 --- a/sei-cosmos/x/distribution/client/rest/tx.go +++ b/sei-cosmos/x/distribution/client/rest/tx.go @@ -5,12 +5,12 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/distribution/client/common" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) type ( diff --git a/sei-cosmos/x/distribution/client/rest/utils.go b/sei-cosmos/x/distribution/client/rest/utils.go index 3f7a3d0020..785013064c 100644 --- a/sei-cosmos/x/distribution/client/rest/utils.go +++ b/sei-cosmos/x/distribution/client/rest/utils.go @@ -1,8 +1,8 @@ package rest import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" ) type ( diff --git a/sei-cosmos/x/distribution/client/testutil/cli_test.go b/sei-cosmos/x/distribution/client/testutil/cli_test.go index 1035ca7502..9126c139f8 100644 --- a/sei-cosmos/x/distribution/client/testutil/cli_test.go +++ b/sei-cosmos/x/distribution/client/testutil/cli_test.go @@ -6,7 +6,7 @@ package testutil import ( "testing" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/sei-cosmos/x/distribution/client/testutil/helpers.go b/sei-cosmos/x/distribution/client/testutil/helpers.go index 19612c23fe..775385a8d7 100644 --- a/sei-cosmos/x/distribution/client/testutil/helpers.go +++ b/sei-cosmos/x/distribution/client/testutil/helpers.go @@ -5,8 +5,8 @@ import ( "context" "fmt" - "github.com/cosmos/cosmos-sdk/client" - distrcli "github.com/cosmos/cosmos-sdk/x/distribution/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + distrcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client/cli" ) func MsgWithdrawDelegatorRewardExec(clientCtx client.Context, valAddr fmt.Stringer, extraArgs ...string) ([]byte, error) { @@ -16,7 +16,8 @@ func MsgWithdrawDelegatorRewardExec(clientCtx client.Context, valAddr fmt.String ctx := context.Background() ctx = context.WithValue(ctx, client.ClientContextKey, &clientCtx) - args := []string{valAddr.String()} + args := make([]string, 0, 1+len(extraArgs)) + args = append(args, valAddr.String()) args = append(args, extraArgs...) cmd := distrcli.NewWithdrawRewardsCmd() diff --git a/sei-cosmos/x/distribution/client/testutil/suite.go b/sei-cosmos/x/distribution/client/testutil/suite.go index 14661971b5..4a0b52b89b 100644 --- a/sei-cosmos/x/distribution/client/testutil/suite.go +++ b/sei-cosmos/x/distribution/client/testutil/suite.go @@ -9,12 +9,12 @@ import ( tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client/cli" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" ) @@ -38,9 +38,9 @@ func (s *IntegrationTestSuite) SetupTest() { genesisState := s.cfg.GenesisState var mintData minttypes.GenesisState - s.Require().NoError(s.cfg.Codec.UnmarshalJSON(genesisState[minttypes.ModuleName], &mintData)) + s.Require().NoError(s.cfg.Codec.UnmarshalAsJSON(genesisState[minttypes.ModuleName], &mintData)) - mintDataBz, err := s.cfg.Codec.MarshalJSON(&mintData) + mintDataBz, err := s.cfg.Codec.MarshalAsJSON(&mintData) s.Require().NoError(err) genesisState[minttypes.ModuleName] = mintDataBz s.cfg.GenesisState = genesisState @@ -497,7 +497,7 @@ func (s *IntegrationTestSuite) TestNewWithdrawRewardsCmd() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(bz, tc.respType), string(bz)) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(bz, tc.respType), string(bz)) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code) @@ -550,7 +550,7 @@ func (s *IntegrationTestSuite) TestNewWithdrawAllRewardsCmd() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code) @@ -605,7 +605,7 @@ func (s *IntegrationTestSuite) TestNewSetWithdrawAddrCmd() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code) @@ -660,7 +660,7 @@ func (s *IntegrationTestSuite) TestNewFundCommunityPoolCmd() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code) @@ -734,7 +734,7 @@ func (s *IntegrationTestSuite) TestGetCmdSubmitProposal() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) diff --git a/sei-cosmos/x/distribution/handler.go b/sei-cosmos/x/distribution/handler.go index 279a6bf726..eef77ca73f 100644 --- a/sei-cosmos/x/distribution/handler.go +++ b/sei-cosmos/x/distribution/handler.go @@ -1,11 +1,11 @@ package distribution import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) func NewHandler(k keeper.Keeper) sdk.Handler { diff --git a/sei-cosmos/x/distribution/keeper/alias_functions.go b/sei-cosmos/x/distribution/keeper/alias_functions.go index 5d7f1b97f2..68207d8fc2 100644 --- a/sei-cosmos/x/distribution/keeper/alias_functions.go +++ b/sei-cosmos/x/distribution/keeper/alias_functions.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) // get outstanding rewards diff --git a/sei-cosmos/x/distribution/keeper/allocation.go b/sei-cosmos/x/distribution/keeper/allocation.go index 61a775c1b8..d1b5db95e3 100644 --- a/sei-cosmos/x/distribution/keeper/allocation.go +++ b/sei-cosmos/x/distribution/keeper/allocation.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-cosmos/x/distribution/keeper/allocation_test.go b/sei-cosmos/x/distribution/keeper/allocation_test.go index 4ceb455ce8..2ef311b299 100644 --- a/sei-cosmos/x/distribution/keeper/allocation_test.go +++ b/sei-cosmos/x/distribution/keeper/allocation_test.go @@ -7,13 +7,13 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" - disttypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + disttypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestAllocateTokensToValidatorWithCommission(t *testing.T) { diff --git a/sei-cosmos/x/distribution/keeper/common_test.go b/sei-cosmos/x/distribution/keeper/common_test.go index 1008a0771a..9be45d3da6 100644 --- a/sei-cosmos/x/distribution/keeper/common_test.go +++ b/sei-cosmos/x/distribution/keeper/common_test.go @@ -1,10 +1,10 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) var ( diff --git a/sei-cosmos/x/distribution/keeper/delegation.go b/sei-cosmos/x/distribution/keeper/delegation.go index ecbd2b50b2..8e34e98925 100644 --- a/sei-cosmos/x/distribution/keeper/delegation.go +++ b/sei-cosmos/x/distribution/keeper/delegation.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // initialize starting info for a new delegation @@ -23,7 +23,7 @@ func (k Keeper) initializeDelegation(ctx sdk.Context, val sdk.ValAddress, del sd // we don't store directly, so multiply delegation shares * (tokens per share) // note: necessary to truncate so we don't allow withdrawing more rewards than owed stake := validator.TokensFromSharesTruncated(delegation.GetShares()) - k.SetDelegatorStartingInfo(ctx, val, del, types.NewDelegatorStartingInfo(previousPeriod, stake, uint64(ctx.BlockHeight()))) + k.SetDelegatorStartingInfo(ctx, val, del, types.NewDelegatorStartingInfo(previousPeriod, stake, uint64(ctx.BlockHeight()))) //nolint:gosec // block heights are always non-negative } // calculate the rewards accrued by a delegation between two periods @@ -56,7 +56,7 @@ func (k Keeper) CalculateDelegationRewards(ctx sdk.Context, val stakingtypes.Val // fetch starting info for delegation startingInfo := k.GetDelegatorStartingInfo(ctx, del.GetValidatorAddr(), del.GetDelegatorAddr()) - if startingInfo.Height == uint64(ctx.BlockHeight()) { + if startingInfo.Height == uint64(ctx.BlockHeight()) { //nolint:gosec // block heights are always non-negative // started this height, no rewards yet return } @@ -74,7 +74,7 @@ func (k Keeper) CalculateDelegationRewards(ctx sdk.Context, val stakingtypes.Val startingHeight := startingInfo.Height // Slashes this block happened after reward allocation, but we have to account // for them for the stake sanity check below. - endingHeight := uint64(ctx.BlockHeight()) + endingHeight := uint64(ctx.BlockHeight()) //nolint:gosec // block heights are always non-negative if endingHeight > startingHeight { k.IterateValidatorSlashEventsBetween(ctx, del.GetValidatorAddr(), startingHeight, endingHeight, func(height uint64, event types.ValidatorSlashEvent) (stop bool) { diff --git a/sei-cosmos/x/distribution/keeper/delegation_test.go b/sei-cosmos/x/distribution/keeper/delegation_test.go index fb229e970a..031c494796 100644 --- a/sei-cosmos/x/distribution/keeper/delegation_test.go +++ b/sei-cosmos/x/distribution/keeper/delegation_test.go @@ -6,12 +6,12 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestCalculateRewardsBasic(t *testing.T) { diff --git a/sei-cosmos/x/distribution/keeper/fee_pool.go b/sei-cosmos/x/distribution/keeper/fee_pool.go index a604750135..292754e915 100644 --- a/sei-cosmos/x/distribution/keeper/fee_pool.go +++ b/sei-cosmos/x/distribution/keeper/fee_pool.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) // DistributeFromFeePool distributes funds from the distribution module account to diff --git a/sei-cosmos/x/distribution/keeper/genesis.go b/sei-cosmos/x/distribution/keeper/genesis.go index 6236e74902..dacaf08d16 100644 --- a/sei-cosmos/x/distribution/keeper/genesis.go +++ b/sei-cosmos/x/distribution/keeper/genesis.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) // InitGenesis sets distribution information for genesis diff --git a/sei-cosmos/x/distribution/keeper/grpc_query.go b/sei-cosmos/x/distribution/keeper/grpc_query.go index 5cf71bbb10..057fb76456 100644 --- a/sei-cosmos/x/distribution/keeper/grpc_query.go +++ b/sei-cosmos/x/distribution/keeper/grpc_query.go @@ -6,12 +6,12 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var _ types.QueryServer = Keeper{} diff --git a/sei-cosmos/x/distribution/keeper/grpc_query_test.go b/sei-cosmos/x/distribution/keeper/grpc_query_test.go index 0038b10abe..1cb6b1718f 100644 --- a/sei-cosmos/x/distribution/keeper/grpc_query_test.go +++ b/sei-cosmos/x/distribution/keeper/grpc_query_test.go @@ -10,13 +10,13 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) type KeeperTestSuite struct { diff --git a/sei-cosmos/x/distribution/keeper/hooks.go b/sei-cosmos/x/distribution/keeper/hooks.go index 1d12fcc555..7b5e3d44f4 100644 --- a/sei-cosmos/x/distribution/keeper/hooks.go +++ b/sei-cosmos/x/distribution/keeper/hooks.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // Wrapper struct diff --git a/sei-cosmos/x/distribution/keeper/keeper.go b/sei-cosmos/x/distribution/keeper/keeper.go index b3fa8deca8..2c4517488f 100644 --- a/sei-cosmos/x/distribution/keeper/keeper.go +++ b/sei-cosmos/x/distribution/keeper/keeper.go @@ -5,11 +5,11 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // Keeper of the distribution store diff --git a/sei-cosmos/x/distribution/keeper/keeper_test.go b/sei-cosmos/x/distribution/keeper/keeper_test.go index 399be90fe3..be3a01fd43 100644 --- a/sei-cosmos/x/distribution/keeper/keeper_test.go +++ b/sei-cosmos/x/distribution/keeper/keeper_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) func TestSetWithdrawAddr(t *testing.T) { diff --git a/sei-cosmos/x/distribution/keeper/migrations.go b/sei-cosmos/x/distribution/keeper/migrations.go index c0558cb487..16802cf36a 100644 --- a/sei-cosmos/x/distribution/keeper/migrations.go +++ b/sei-cosmos/x/distribution/keeper/migrations.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Migrator is a struct for handling in-place store migrations. diff --git a/sei-cosmos/x/distribution/keeper/msg_server.go b/sei-cosmos/x/distribution/keeper/msg_server.go index bff869ee55..44ab91a9db 100644 --- a/sei-cosmos/x/distribution/keeper/msg_server.go +++ b/sei-cosmos/x/distribution/keeper/msg_server.go @@ -5,9 +5,9 @@ import ( "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) type msgServer struct { diff --git a/sei-cosmos/x/distribution/keeper/params.go b/sei-cosmos/x/distribution/keeper/params.go index 23b4bbeb81..d2dceb584d 100644 --- a/sei-cosmos/x/distribution/keeper/params.go +++ b/sei-cosmos/x/distribution/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) // GetParams returns the total set of distribution parameters. diff --git a/sei-cosmos/x/distribution/keeper/proposal_handler.go b/sei-cosmos/x/distribution/keeper/proposal_handler.go index bb88552efe..7fe4692b8c 100644 --- a/sei-cosmos/x/distribution/keeper/proposal_handler.go +++ b/sei-cosmos/x/distribution/keeper/proposal_handler.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) // HandleCommunityPoolSpendProposal is a handler for executing a passed community spend proposal diff --git a/sei-cosmos/x/distribution/keeper/querier.go b/sei-cosmos/x/distribution/keeper/querier.go index 23254a4829..2503448e08 100644 --- a/sei-cosmos/x/distribution/keeper/querier.go +++ b/sei-cosmos/x/distribution/keeper/querier.go @@ -5,11 +5,11 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { @@ -61,7 +61,7 @@ func queryParams(ctx sdk.Context, _ []string, _ abci.RequestQuery, k Keeper, leg func queryValidatorOutstandingRewards(ctx sdk.Context, _ []string, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryValidatorOutstandingRewardsParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -81,7 +81,7 @@ func queryValidatorOutstandingRewards(ctx sdk.Context, _ []string, req abci.Requ func queryValidatorCommission(ctx sdk.Context, _ []string, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryValidatorCommissionParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -101,7 +101,7 @@ func queryValidatorCommission(ctx sdk.Context, _ []string, req abci.RequestQuery func queryValidatorSlashes(ctx sdk.Context, _ []string, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryValidatorSlashesParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -124,7 +124,7 @@ func queryValidatorSlashes(ctx sdk.Context, _ []string, req abci.RequestQuery, k func queryDelegationRewards(ctx sdk.Context, _ []string, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryDelegationRewardsParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -158,7 +158,7 @@ func queryDelegationRewards(ctx sdk.Context, _ []string, req abci.RequestQuery, func queryDelegatorTotalRewards(ctx sdk.Context, _ []string, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryDelegatorParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -196,7 +196,7 @@ func queryDelegatorTotalRewards(ctx sdk.Context, _ []string, req abci.RequestQue func queryDelegatorValidators(ctx sdk.Context, _ []string, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryDelegatorParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -224,7 +224,7 @@ func queryDelegatorValidators(ctx sdk.Context, _ []string, req abci.RequestQuery func queryDelegatorWithdrawAddress(ctx sdk.Context, _ []string, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryDelegatorWithdrawAddrParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -247,7 +247,7 @@ func queryCommunityPool(ctx sdk.Context, _ []string, _ abci.RequestQuery, k Keep pool = sdk.DecCoins{} } - bz, err := legacyQuerierCdc.MarshalJSON(pool) + bz, err := legacyQuerierCdc.MarshalAsJSON(pool) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONMarshal, err.Error()) } diff --git a/sei-cosmos/x/distribution/keeper/querier_test.go b/sei-cosmos/x/distribution/keeper/querier_test.go index d16bf45b9e..e3f26198ed 100644 --- a/sei-cosmos/x/distribution/keeper/querier_test.go +++ b/sei-cosmos/x/distribution/keeper/querier_test.go @@ -8,15 +8,15 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) const custom = "custom" @@ -26,7 +26,7 @@ func getQueriedParams(t *testing.T, ctx sdk.Context, cdc *codec.LegacyAmino, que bz, err := querier(ctx, []string{types.QueryParams}, abci.RequestQuery{}) require.Nil(t, err) - require.Nil(t, cdc.UnmarshalJSON(bz, ¶ms)) + require.Nil(t, cdc.UnmarshalAsJSON(bz, ¶ms)) return params } @@ -40,7 +40,7 @@ func getQueriedValidatorOutstandingRewards(t *testing.T, ctx sdk.Context, cdc *c bz, err := querier(ctx, []string{types.QueryValidatorOutstandingRewards}, query) require.Nil(t, err) outstandingRewards := types.ValidatorOutstandingRewards{} - require.Nil(t, cdc.UnmarshalJSON(bz, &outstandingRewards)) + require.Nil(t, cdc.UnmarshalAsJSON(bz, &outstandingRewards)) return outstandingRewards.GetRewards() } @@ -54,7 +54,7 @@ func getQueriedValidatorCommission(t *testing.T, ctx sdk.Context, cdc *codec.Leg bz, err := querier(ctx, []string{types.QueryValidatorCommission}, query) require.Nil(t, err) validatorCommission := types.ValidatorAccumulatedCommission{} - require.Nil(t, cdc.UnmarshalJSON(bz, &validatorCommission)) + require.Nil(t, cdc.UnmarshalAsJSON(bz, &validatorCommission)) return validatorCommission.GetCommission() } @@ -67,7 +67,7 @@ func getQueriedValidatorSlashes(t *testing.T, ctx sdk.Context, cdc *codec.Legacy bz, err := querier(ctx, []string{types.QueryValidatorSlashes}, query) require.Nil(t, err) - require.Nil(t, cdc.UnmarshalJSON(bz, &slashes)) + require.Nil(t, cdc.UnmarshalAsJSON(bz, &slashes)) return } @@ -80,7 +80,7 @@ func getQueriedDelegationRewards(t *testing.T, ctx sdk.Context, cdc *codec.Legac bz, err := querier(ctx, []string{types.QueryDelegationRewards}, query) require.Nil(t, err) - require.Nil(t, cdc.UnmarshalJSON(bz, &rewards)) + require.Nil(t, cdc.UnmarshalAsJSON(bz, &rewards)) return } @@ -93,7 +93,7 @@ func getQueriedDelegatorTotalRewards(t *testing.T, ctx sdk.Context, cdc *codec.L bz, err := querier(ctx, []string{types.QueryDelegatorTotalRewards}, query) require.Nil(t, err) - require.Nil(t, cdc.UnmarshalJSON(bz, &response)) + require.Nil(t, cdc.UnmarshalAsJSON(bz, &response)) return } @@ -106,7 +106,7 @@ func getQueriedCommunityPool(t *testing.T, ctx sdk.Context, cdc *codec.LegacyAmi cp, err := querier(ctx, []string{types.QueryCommunityPool}, query) require.Nil(t, err) - require.Nil(t, cdc.UnmarshalJSON(cp, &ptr)) + require.Nil(t, cdc.UnmarshalAsJSON(cp, &ptr)) return } diff --git a/sei-cosmos/x/distribution/keeper/store.go b/sei-cosmos/x/distribution/keeper/store.go index 0203ee13f6..5f11374a8d 100644 --- a/sei-cosmos/x/distribution/keeper/store.go +++ b/sei-cosmos/x/distribution/keeper/store.go @@ -3,8 +3,8 @@ package keeper import ( gogotypes "github.com/gogo/protobuf/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) // get the delegator withdraw address, defaulting to the delegator address @@ -33,7 +33,7 @@ func (k Keeper) DeleteDelegatorWithdrawAddr(ctx sdk.Context, delAddr, withdrawAd func (k Keeper) IterateDelegatorWithdrawAddrs(ctx sdk.Context, handler func(del sdk.AccAddress, addr sdk.AccAddress) (stop bool)) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.DelegatorWithdrawAddrPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { addr := sdk.AccAddress(iter.Value()) del := types.GetDelegatorWithdrawInfoAddress(iter.Key()) @@ -113,7 +113,7 @@ func (k Keeper) DeleteDelegatorStartingInfo(ctx sdk.Context, val sdk.ValAddress, func (k Keeper) IterateDelegatorStartingInfos(ctx sdk.Context, handler func(val sdk.ValAddress, del sdk.AccAddress, info types.DelegatorStartingInfo) (stop bool)) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.DelegatorStartingInfoPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { var info types.DelegatorStartingInfo k.cdc.MustUnmarshal(iter.Value(), &info) @@ -143,7 +143,7 @@ func (k Keeper) SetValidatorHistoricalRewards(ctx sdk.Context, val sdk.ValAddres func (k Keeper) IterateValidatorHistoricalRewards(ctx sdk.Context, handler func(val sdk.ValAddress, period uint64, rewards types.ValidatorHistoricalRewards) (stop bool)) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.ValidatorHistoricalRewardsPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { var rewards types.ValidatorHistoricalRewards k.cdc.MustUnmarshal(iter.Value(), &rewards) @@ -164,7 +164,7 @@ func (k Keeper) DeleteValidatorHistoricalReward(ctx sdk.Context, val sdk.ValAddr func (k Keeper) DeleteValidatorHistoricalRewards(ctx sdk.Context, val sdk.ValAddress) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.GetValidatorHistoricalRewardsPrefix(val)) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { store.Delete(iter.Key()) } @@ -174,7 +174,7 @@ func (k Keeper) DeleteValidatorHistoricalRewards(ctx sdk.Context, val sdk.ValAdd func (k Keeper) DeleteAllValidatorHistoricalRewards(ctx sdk.Context) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.ValidatorHistoricalRewardsPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { store.Delete(iter.Key()) } @@ -184,7 +184,7 @@ func (k Keeper) DeleteAllValidatorHistoricalRewards(ctx sdk.Context) { func (k Keeper) GetValidatorHistoricalReferenceCount(ctx sdk.Context) (count uint64) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.ValidatorHistoricalRewardsPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { var rewards types.ValidatorHistoricalRewards k.cdc.MustUnmarshal(iter.Value(), &rewards) @@ -218,7 +218,7 @@ func (k Keeper) DeleteValidatorCurrentRewards(ctx sdk.Context, val sdk.ValAddres func (k Keeper) IterateValidatorCurrentRewards(ctx sdk.Context, handler func(val sdk.ValAddress, rewards types.ValidatorCurrentRewards) (stop bool)) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.ValidatorCurrentRewardsPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { var rewards types.ValidatorCurrentRewards k.cdc.MustUnmarshal(iter.Value(), &rewards) @@ -264,7 +264,7 @@ func (k Keeper) DeleteValidatorAccumulatedCommission(ctx sdk.Context, val sdk.Va func (k Keeper) IterateValidatorAccumulatedCommissions(ctx sdk.Context, handler func(val sdk.ValAddress, commission types.ValidatorAccumulatedCommission) (stop bool)) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.ValidatorAccumulatedCommissionPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { var commission types.ValidatorAccumulatedCommission k.cdc.MustUnmarshal(iter.Value(), &commission) @@ -300,7 +300,7 @@ func (k Keeper) DeleteValidatorOutstandingRewards(ctx sdk.Context, val sdk.ValAd func (k Keeper) IterateValidatorOutstandingRewards(ctx sdk.Context, handler func(val sdk.ValAddress, rewards types.ValidatorOutstandingRewards) (stop bool)) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.ValidatorOutstandingRewardsPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { rewards := types.ValidatorOutstandingRewards{} k.cdc.MustUnmarshal(iter.Value(), &rewards) @@ -337,7 +337,7 @@ func (k Keeper) IterateValidatorSlashEventsBetween(ctx sdk.Context, val sdk.ValA types.GetValidatorSlashEventKeyPrefix(val, startingHeight), types.GetValidatorSlashEventKeyPrefix(val, endingHeight+1), ) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { var event types.ValidatorSlashEvent k.cdc.MustUnmarshal(iter.Value(), &event) @@ -352,7 +352,7 @@ func (k Keeper) IterateValidatorSlashEventsBetween(ctx sdk.Context, val sdk.ValA func (k Keeper) IterateValidatorSlashEvents(ctx sdk.Context, handler func(val sdk.ValAddress, height uint64, event types.ValidatorSlashEvent) (stop bool)) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.ValidatorSlashEventPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { var event types.ValidatorSlashEvent k.cdc.MustUnmarshal(iter.Value(), &event) @@ -367,7 +367,7 @@ func (k Keeper) IterateValidatorSlashEvents(ctx sdk.Context, handler func(val sd func (k Keeper) DeleteValidatorSlashEvents(ctx sdk.Context, val sdk.ValAddress) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.GetValidatorSlashEventPrefix(val)) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { store.Delete(iter.Key()) } @@ -377,7 +377,7 @@ func (k Keeper) DeleteValidatorSlashEvents(ctx sdk.Context, val sdk.ValAddress) func (k Keeper) DeleteAllValidatorSlashEvents(ctx sdk.Context) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.ValidatorSlashEventPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { store.Delete(iter.Key()) } diff --git a/sei-cosmos/x/distribution/keeper/validator.go b/sei-cosmos/x/distribution/keeper/validator.go index 3d1953c3b5..aef5764240 100644 --- a/sei-cosmos/x/distribution/keeper/validator.go +++ b/sei-cosmos/x/distribution/keeper/validator.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // initialize rewards for a new validator @@ -101,7 +101,7 @@ func (k Keeper) updateValidatorSlashFraction(ctx sdk.Context, valAddr sdk.ValAdd k.incrementReferenceCount(ctx, valAddr, newPeriod) slashEvent := types.NewValidatorSlashEvent(newPeriod, fraction) - height := uint64(ctx.BlockHeight()) + height := uint64(ctx.BlockHeight()) //nolint:gosec // block heights are always non-negative k.SetValidatorSlashEvent(ctx, valAddr, height, newPeriod, slashEvent) } diff --git a/sei-cosmos/x/distribution/module.go b/sei-cosmos/x/distribution/module.go index b617fbe3a7..f28d3cac6e 100644 --- a/sei-cosmos/x/distribution/module.go +++ b/sei-cosmos/x/distribution/module.go @@ -12,17 +12,17 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - sdkclient "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/client/cli" - "github.com/cosmos/cosmos-sdk/x/distribution/client/rest" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdkclient "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) var ( @@ -55,7 +55,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the distribution module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config sdkclient.TxEncodingConfig, bz json.RawMessage) error { var data types.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } @@ -79,7 +79,7 @@ func (AppModuleBasic) RegisterRESTRoutes(clientCtx sdkclient.Context, rtr *mux.R // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the distribution module. func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx sdkclient.Context, mux *runtime.ServeMux) { - types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) + _ = types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) } // GetTxCmd returns the root tx command for the distribution module. @@ -150,7 +150,7 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { types.RegisterQueryServer(cfg.QueryServer(), am.keeper) m := keeper.NewMigrator(am.keeper) - cfg.RegisterMigration(types.ModuleName, 1, m.Migrate1to2) + _ = cfg.RegisterMigration(types.ModuleName, 1, m.Migrate1to2) } // InitGenesis performs genesis initialization for the distribution module. It returns diff --git a/sei-cosmos/x/distribution/module_test.go b/sei-cosmos/x/distribution/module_test.go index 77fb17ba9d..1d03215890 100644 --- a/sei-cosmos/x/distribution/module_test.go +++ b/sei-cosmos/x/distribution/module_test.go @@ -8,9 +8,9 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" seiapp "github.com/sei-protocol/sei-chain/app" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) func TestItCreatesModuleAccountOnInitBlock(t *testing.T) { diff --git a/sei-cosmos/x/distribution/proposal_handler_test.go b/sei-cosmos/x/distribution/proposal_handler_test.go index 3098c3f132..24ae0ae9d8 100644 --- a/sei-cosmos/x/distribution/proposal_handler_test.go +++ b/sei-cosmos/x/distribution/proposal_handler_test.go @@ -6,12 +6,12 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution" - "github.com/cosmos/cosmos-sdk/x/distribution/types" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) var ( diff --git a/sei-cosmos/x/distribution/simulation/decoder.go b/sei-cosmos/x/distribution/simulation/decoder.go index a1d64d20dc..2aff35e07a 100644 --- a/sei-cosmos/x/distribution/simulation/decoder.go +++ b/sei-cosmos/x/distribution/simulation/decoder.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/sei-cosmos/x/distribution/simulation/genesis.go b/sei-cosmos/x/distribution/simulation/genesis.go index 3f64d5c01e..daee5359cf 100644 --- a/sei-cosmos/x/distribution/simulation/genesis.go +++ b/sei-cosmos/x/distribution/simulation/genesis.go @@ -7,9 +7,9 @@ import ( "fmt" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) // Simulation parameter constants diff --git a/sei-cosmos/x/distribution/simulation/operations.go b/sei-cosmos/x/distribution/simulation/operations.go index 9e1630439a..02becf7edc 100644 --- a/sei-cosmos/x/distribution/simulation/operations.go +++ b/sei-cosmos/x/distribution/simulation/operations.go @@ -4,23 +4,23 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/simulation" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" seiappparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" ) // Simulation operation weights constants const ( - OpWeightMsgSetWithdrawAddress = "op_weight_msg_set_withdraw_address" - OpWeightMsgWithdrawDelegationReward = "op_weight_msg_withdraw_delegation_reward" - OpWeightMsgWithdrawValidatorCommission = "op_weight_msg_withdraw_validator_commission" - OpWeightMsgFundCommunityPool = "op_weight_msg_fund_community_pool" + OpWeightMsgSetWithdrawAddress = "op_weight_msg_set_withdraw_address" //nolint:gosec + OpWeightMsgWithdrawDelegationReward = "op_weight_msg_withdraw_delegation_reward" //nolint:gosec + OpWeightMsgWithdrawValidatorCommission = "op_weight_msg_withdraw_validator_commission" //nolint:gosec + OpWeightMsgFundCommunityPool = "op_weight_msg_fund_community_pool" //nolint:gosec ) // WeightedOperations returns all the operations from the module with their respective weights diff --git a/sei-cosmos/x/distribution/simulation/params.go b/sei-cosmos/x/distribution/simulation/params.go index 98fcec342f..f549ef09cb 100644 --- a/sei-cosmos/x/distribution/simulation/params.go +++ b/sei-cosmos/x/distribution/simulation/params.go @@ -6,10 +6,10 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) const ( diff --git a/sei-cosmos/x/distribution/simulation/proposals.go b/sei-cosmos/x/distribution/simulation/proposals.go index dd019b29ac..a11c32c9b6 100644 --- a/sei-cosmos/x/distribution/simulation/proposals.go +++ b/sei-cosmos/x/distribution/simulation/proposals.go @@ -3,12 +3,12 @@ package simulation import ( "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/simulation" seiappparams "github.com/sei-protocol/sei-chain/app/params" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" ) // OpWeightSubmitCommunitySpendProposal app params key for community spend proposal diff --git a/sei-cosmos/x/distribution/types/codec.go b/sei-cosmos/x/distribution/types/codec.go index 73aca45060..19a91941f8 100644 --- a/sei-cosmos/x/distribution/types/codec.go +++ b/sei-cosmos/x/distribution/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // RegisterLegacyAminoCodec registers the necessary x/distribution interfaces and concrete types diff --git a/sei-cosmos/x/distribution/types/common_test.go b/sei-cosmos/x/distribution/types/common_test.go index 4e6ef6b012..3d922ed807 100644 --- a/sei-cosmos/x/distribution/types/common_test.go +++ b/sei-cosmos/x/distribution/types/common_test.go @@ -1,9 +1,9 @@ package types import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // nolint:deadcode,unused,varcheck diff --git a/sei-cosmos/x/distribution/types/delegator.go b/sei-cosmos/x/distribution/types/delegator.go index 8508786607..26fbfda219 100644 --- a/sei-cosmos/x/distribution/types/delegator.go +++ b/sei-cosmos/x/distribution/types/delegator.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // create a new DelegatorStartingInfo diff --git a/sei-cosmos/x/distribution/types/distribution.pb.go b/sei-cosmos/x/distribution/types/distribution.pb.go index 971f43233a..2c52a71075 100644 --- a/sei-cosmos/x/distribution/types/distribution.pb.go +++ b/sei-cosmos/x/distribution/types/distribution.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -27,10 +27,10 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Params defines the set of params for the distribution module. type Params struct { - CommunityTax github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=community_tax,json=communityTax,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"community_tax" yaml:"community_tax"` - BaseProposerReward github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=base_proposer_reward,json=baseProposerReward,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_proposer_reward" yaml:"base_proposer_reward"` - BonusProposerReward github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=bonus_proposer_reward,json=bonusProposerReward,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"bonus_proposer_reward" yaml:"bonus_proposer_reward"` - WithdrawAddrEnabled bool `protobuf:"varint,4,opt,name=withdraw_addr_enabled,json=withdrawAddrEnabled,proto3" json:"withdraw_addr_enabled,omitempty" yaml:"withdraw_addr_enabled"` + CommunityTax github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,1,opt,name=community_tax,json=communityTax,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"community_tax" yaml:"community_tax"` + BaseProposerReward github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=base_proposer_reward,json=baseProposerReward,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"base_proposer_reward" yaml:"base_proposer_reward"` + BonusProposerReward github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,3,opt,name=bonus_proposer_reward,json=bonusProposerReward,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"bonus_proposer_reward" yaml:"bonus_proposer_reward"` + WithdrawAddrEnabled bool `protobuf:"varint,4,opt,name=withdraw_addr_enabled,json=withdrawAddrEnabled,proto3" json:"withdraw_addr_enabled,omitempty" yaml:"withdraw_addr_enabled"` } func (m *Params) Reset() { *m = Params{} } @@ -86,8 +86,8 @@ func (m *Params) GetWithdrawAddrEnabled() bool { // read that record) // + one per validator for the zeroeth period, set on initialization type ValidatorHistoricalRewards struct { - CumulativeRewardRatio github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=cumulative_reward_ratio,json=cumulativeRewardRatio,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"cumulative_reward_ratio" yaml:"cumulative_reward_ratio"` - ReferenceCount uint32 `protobuf:"varint,2,opt,name=reference_count,json=referenceCount,proto3" json:"reference_count,omitempty" yaml:"reference_count"` + CumulativeRewardRatio github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins `protobuf:"bytes,1,rep,name=cumulative_reward_ratio,json=cumulativeRewardRatio,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" json:"cumulative_reward_ratio" yaml:"cumulative_reward_ratio"` + ReferenceCount uint32 `protobuf:"varint,2,opt,name=reference_count,json=referenceCount,proto3" json:"reference_count,omitempty" yaml:"reference_count"` } func (m *ValidatorHistoricalRewards) Reset() { *m = ValidatorHistoricalRewards{} } @@ -123,7 +123,7 @@ func (m *ValidatorHistoricalRewards) XXX_DiscardUnknown() { var xxx_messageInfo_ValidatorHistoricalRewards proto.InternalMessageInfo -func (m *ValidatorHistoricalRewards) GetCumulativeRewardRatio() github_com_cosmos_cosmos_sdk_types.DecCoins { +func (m *ValidatorHistoricalRewards) GetCumulativeRewardRatio() github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins { if m != nil { return m.CumulativeRewardRatio } @@ -141,8 +141,8 @@ func (m *ValidatorHistoricalRewards) GetReferenceCount() uint32 { // period for a validator kept as a running counter and incremented // each block as long as the validator's tokens remain constant. type ValidatorCurrentRewards struct { - Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"rewards"` - Period uint64 `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"` + Rewards github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" json:"rewards"` + Period uint64 `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"` } func (m *ValidatorCurrentRewards) Reset() { *m = ValidatorCurrentRewards{} } @@ -178,7 +178,7 @@ func (m *ValidatorCurrentRewards) XXX_DiscardUnknown() { var xxx_messageInfo_ValidatorCurrentRewards proto.InternalMessageInfo -func (m *ValidatorCurrentRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins { +func (m *ValidatorCurrentRewards) GetRewards() github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins { if m != nil { return m.Rewards } @@ -195,7 +195,7 @@ func (m *ValidatorCurrentRewards) GetPeriod() uint64 { // ValidatorAccumulatedCommission represents accumulated commission // for a validator kept as a running counter, can be withdrawn at any time. type ValidatorAccumulatedCommission struct { - Commission github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=commission,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"commission"` + Commission github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins `protobuf:"bytes,1,rep,name=commission,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" json:"commission"` } func (m *ValidatorAccumulatedCommission) Reset() { *m = ValidatorAccumulatedCommission{} } @@ -231,7 +231,7 @@ func (m *ValidatorAccumulatedCommission) XXX_DiscardUnknown() { var xxx_messageInfo_ValidatorAccumulatedCommission proto.InternalMessageInfo -func (m *ValidatorAccumulatedCommission) GetCommission() github_com_cosmos_cosmos_sdk_types.DecCoins { +func (m *ValidatorAccumulatedCommission) GetCommission() github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins { if m != nil { return m.Commission } @@ -241,7 +241,7 @@ func (m *ValidatorAccumulatedCommission) GetCommission() github_com_cosmos_cosmo // ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards // for a validator inexpensive to track, allows simple sanity checks. type ValidatorOutstandingRewards struct { - Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"rewards" yaml:"rewards"` + Rewards github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" json:"rewards" yaml:"rewards"` } func (m *ValidatorOutstandingRewards) Reset() { *m = ValidatorOutstandingRewards{} } @@ -277,7 +277,7 @@ func (m *ValidatorOutstandingRewards) XXX_DiscardUnknown() { var xxx_messageInfo_ValidatorOutstandingRewards proto.InternalMessageInfo -func (m *ValidatorOutstandingRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins { +func (m *ValidatorOutstandingRewards) GetRewards() github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins { if m != nil { return m.Rewards } @@ -289,8 +289,8 @@ func (m *ValidatorOutstandingRewards) GetRewards() github_com_cosmos_cosmos_sdk_ // This is needed to calculate appropriate amount of staking tokens // for delegations which are withdrawn after a slash has occurred. type ValidatorSlashEvent struct { - ValidatorPeriod uint64 `protobuf:"varint,1,opt,name=validator_period,json=validatorPeriod,proto3" json:"validator_period,omitempty" yaml:"validator_period"` - Fraction github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=fraction,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fraction"` + ValidatorPeriod uint64 `protobuf:"varint,1,opt,name=validator_period,json=validatorPeriod,proto3" json:"validator_period,omitempty" yaml:"validator_period"` + Fraction github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=fraction,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"fraction"` } func (m *ValidatorSlashEvent) Reset() { *m = ValidatorSlashEvent{} } @@ -379,7 +379,7 @@ func (m *ValidatorSlashEvents) GetValidatorSlashEvents() []ValidatorSlashEvent { // FeePool is the global fee pool for distribution. type FeePool struct { - CommunityPool github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=community_pool,json=communityPool,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"community_pool" yaml:"community_pool"` + CommunityPool github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins `protobuf:"bytes,1,rep,name=community_pool,json=communityPool,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" json:"community_pool" yaml:"community_pool"` } func (m *FeePool) Reset() { *m = FeePool{} } @@ -415,7 +415,7 @@ func (m *FeePool) XXX_DiscardUnknown() { var xxx_messageInfo_FeePool proto.InternalMessageInfo -func (m *FeePool) GetCommunityPool() github_com_cosmos_cosmos_sdk_types.DecCoins { +func (m *FeePool) GetCommunityPool() github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins { if m != nil { return m.CommunityPool } @@ -426,10 +426,10 @@ func (m *FeePool) GetCommunityPool() github_com_cosmos_cosmos_sdk_types.DecCoins // together with how many coins are proposed to be spent, and to which // recipient account. type CommunityPoolSpendProposal struct { - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` + Amount github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"amount"` } func (m *CommunityPoolSpendProposal) Reset() { *m = CommunityPoolSpendProposal{} } @@ -471,9 +471,9 @@ var xxx_messageInfo_CommunityPoolSpendProposal proto.InternalMessageInfo // the delegators within the validator may be left with less than a full token, // thus sdk.Dec is used. type DelegatorStartingInfo struct { - PreviousPeriod uint64 `protobuf:"varint,1,opt,name=previous_period,json=previousPeriod,proto3" json:"previous_period,omitempty" yaml:"previous_period"` - Stake github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=stake,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"stake" yaml:"stake"` - Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"creation_height" yaml:"creation_height"` + PreviousPeriod uint64 `protobuf:"varint,1,opt,name=previous_period,json=previousPeriod,proto3" json:"previous_period,omitempty" yaml:"previous_period"` + Stake github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=stake,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"stake" yaml:"stake"` + Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"creation_height" yaml:"creation_height"` } func (m *DelegatorStartingInfo) Reset() { *m = DelegatorStartingInfo{} } @@ -526,8 +526,8 @@ func (m *DelegatorStartingInfo) GetHeight() uint64 { // DelegationDelegatorReward represents the properties // of a delegator's delegation reward. type DelegationDelegatorReward struct { - ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"` - Reward github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=reward,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"reward"` + ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"` + Reward github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins `protobuf:"bytes,2,rep,name=reward,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" json:"reward"` } func (m *DelegationDelegatorReward) Reset() { *m = DelegationDelegatorReward{} } @@ -626,76 +626,77 @@ func init() { } var fileDescriptor_cd78a31ea281a992 = []byte{ - // 1102 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xf6, 0x24, 0x8e, 0x93, 0x4e, 0xf3, 0xab, 0x13, 0x27, 0x71, 0x93, 0xe0, 0x8d, 0x46, 0x6a, - 0x15, 0x04, 0x75, 0x9a, 0xf6, 0x82, 0x72, 0x40, 0x8a, 0x9d, 0x44, 0x14, 0x01, 0x8d, 0xb6, 0x01, - 0x24, 0x2e, 0xd6, 0x78, 0x77, 0x62, 0x8f, 0x62, 0xef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, 0xf2, 0x7c, 0x5a, 0xf6, 0x08, 0xc6, 0xb1, 0xbc, 0x5f, - 0x1b, 0x22, 0xef, 0xf2, 0x52, 0x37, 0xb0, 0x90, 0xb6, 0xee, 0x39, 0xc4, 0xfd, 0xb2, 0xbf, 0xf7, - 0x94, 0xec, 0xcb, 0xf9, 0x6e, 0x60, 0xcd, 0xc7, 0x73, 0xda, 0x1c, 0xe1, 0xde, 0x97, 0xe1, 0xe5, - 0x9e, 0x97, 0x21, 0xbc, 0x70, 0xa3, 0x1b, 0x58, 0x33, 0xfa, 0x82, 0xc6, 0x71, 0x2c, 0x69, 0xf4, - 0x2a, 0x9c, 0x74, 0x75, 0x2e, 0x85, 0x89, 0xc8, 0x16, 0xa5, 0x4b, 0xc0, 0x1c, 0x60, 0x3b, 0x36, - 0x49, 0x4b, 0x54, 0x7e, 0xf8, 0xfd, 0x45, 0x11, 0x3c, 0xbe, 0x28, 0x82, 0x27, 0x17, 0x45, 0xf0, - 0xe7, 0x45, 0x11, 0x7c, 0x71, 0x59, 0xcc, 0x3c, 0xb9, 0x2c, 0x66, 0x7e, 0xbd, 0x2c, 0x66, 0x3e, - 0xd8, 0x7a, 0x66, 0xfd, 0x4f, 0xfb, 0x3f, 0xad, 0xa3, 0x76, 0xd4, 0x72, 0xd1, 0x97, 0xef, 0xfd, - 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x88, 0x49, 0x70, 0x7e, 0x0b, 0x00, 0x00, + // 1112 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xf6, 0xa4, 0x8e, 0x93, 0x4e, 0xf3, 0xab, 0x13, 0x27, 0x71, 0x93, 0xe0, 0x8d, 0x46, 0x2a, + 0x0a, 0x12, 0x75, 0x68, 0x91, 0x50, 0x15, 0x24, 0x44, 0xec, 0xa4, 0xa2, 0x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, 0x2f, 0xdc, 0x9e, 0xb6, 0xd1, 0x07, 0xf8, 0x64, + 0x02, 0x5e, 0xfe, 0xef, 0x8c, 0xff, 0x80, 0xa9, 0xc6, 0x2e, 0x6d, 0x71, 0xc9, 0x14, 0x7a, 0x79, + 0x20, 0xf9, 0xcb, 0x0b, 0x69, 0x18, 0x34, 0x8c, 0xe3, 0x72, 0xb8, 0x3e, 0xa2, 0x1c, 0xca, 0xcb, + 0xbd, 0xae, 0x83, 0x8c, 0x75, 0xdf, 0x26, 0x1e, 0x2c, 0x93, 0x6b, 0x8f, 0x95, 0x49, 0x39, 0xdf, + 0xeb, 0x3a, 0x0b, 0xf1, 0x1c, 0xb0, 0x5b, 0xb8, 0xbf, 0x78, 0x5e, 0xe9, 0x2b, 0x9e, 0xe8, 0xc0, + 0xc5, 0x5e, 0xd7, 0x99, 0x35, 0x07, 0x0c, 0x8e, 0xe3, 0x94, 0x47, 0xaf, 0xc2, 0x29, 0xdf, 0xbc, + 0xa5, 0x30, 0xa9, 0x6d, 0x51, 0x3a, 0x64, 0xec, 0x06, 0x76, 0x63, 0x93, 0x54, 0xa2, 0x72, 0xf5, + 0xfb, 0xd3, 0x22, 0x78, 0x78, 0x5a, 0x04, 0x8f, 0x4e, 0x8b, 0xe0, 0x8f, 0xd3, 0x22, 0xf8, 0xf2, + 0xac, 0x98, 0x79, 0x74, 0x56, 0xcc, 0xfc, 0x7a, 0x56, 0xcc, 0xdc, 0xdd, 0x79, 0xaa, 0x78, 0x1c, + 0x0d, 0xfe, 0x5b, 0xd0, 0xe1, 0xa9, 0xe5, 0xf4, 0x99, 0xd7, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, + 0x99, 0xe0, 0xdd, 0x0d, 0x51, 0x0c, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { diff --git a/sei-cosmos/x/distribution/types/errors.go b/sei-cosmos/x/distribution/types/errors.go index 147cfd3203..e3b01aa7f7 100644 --- a/sei-cosmos/x/distribution/types/errors.go +++ b/sei-cosmos/x/distribution/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/distribution module sentinel errors diff --git a/sei-cosmos/x/distribution/types/expected_keepers.go b/sei-cosmos/x/distribution/types/expected_keepers.go index ac9ebc3a4e..e703d18543 100644 --- a/sei-cosmos/x/distribution/types/expected_keepers.go +++ b/sei-cosmos/x/distribution/types/expected_keepers.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // AccountKeeper defines the expected account keeper used for simulations (noalias) diff --git a/sei-cosmos/x/distribution/types/fee_pool.go b/sei-cosmos/x/distribution/types/fee_pool.go index 645afd401a..f4a6932be4 100644 --- a/sei-cosmos/x/distribution/types/fee_pool.go +++ b/sei-cosmos/x/distribution/types/fee_pool.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // zero fee pool diff --git a/sei-cosmos/x/distribution/types/fee_pool_test.go b/sei-cosmos/x/distribution/types/fee_pool_test.go index 472c8e0722..9f3012114f 100644 --- a/sei-cosmos/x/distribution/types/fee_pool_test.go +++ b/sei-cosmos/x/distribution/types/fee_pool_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) func TestValidateGenesis(t *testing.T) { diff --git a/sei-cosmos/x/distribution/types/genesis.go b/sei-cosmos/x/distribution/types/genesis.go index 3aa251bba9..fa5be70281 100644 --- a/sei-cosmos/x/distribution/types/genesis.go +++ b/sei-cosmos/x/distribution/types/genesis.go @@ -1,10 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) -//nolint:interfacer func NewGenesisState( params Params, fp FeePool, dwis []DelegatorWithdrawInfo, pp sdk.ConsAddress, r []ValidatorOutstandingRewardsRecord, acc []ValidatorAccumulatedCommissionRecord, historical []ValidatorHistoricalRewardsRecord, diff --git a/sei-cosmos/x/distribution/types/genesis.pb.go b/sei-cosmos/x/distribution/types/genesis.pb.go index c01fdc6053..ddcfe63f31 100644 --- a/sei-cosmos/x/distribution/types/genesis.pb.go +++ b/sei-cosmos/x/distribution/types/genesis.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -73,7 +73,7 @@ type ValidatorOutstandingRewardsRecord struct { // validator_address is the address of the validator. ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"` // outstanding_rewards represents the oustanding rewards of a validator. - OutstandingRewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=outstanding_rewards,json=outstandingRewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"outstanding_rewards" yaml:"outstanding_rewards"` + OutstandingRewards github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins `protobuf:"bytes,2,rep,name=outstanding_rewards,json=outstandingRewards,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" json:"outstanding_rewards" yaml:"outstanding_rewards"` } func (m *ValidatorOutstandingRewardsRecord) Reset() { *m = ValidatorOutstandingRewardsRecord{} } @@ -397,72 +397,72 @@ func init() { } var fileDescriptor_76eed0f9489db580 = []byte{ - // 1025 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcd, 0x6f, 0x1b, 0x45, - 0x1c, 0xf5, 0x3a, 0x25, 0x49, 0x27, 0x29, 0x0d, 0xdb, 0x7c, 0xb8, 0x4e, 0xea, 0x4d, 0xa7, 0x45, - 0x04, 0x55, 0xac, 0x9b, 0x80, 0x00, 0x05, 0x81, 0x94, 0x4d, 0x29, 0xf4, 0xd4, 0x30, 0x91, 0x00, - 0x71, 0xb1, 0xd6, 0xbb, 0x63, 0x7b, 0x84, 0xbd, 0x63, 0xcd, 0x8c, 0x1d, 0xc2, 0x3f, 0x00, 0x47, - 0x24, 0xc4, 0xa9, 0x1c, 0x72, 0x44, 0x88, 0x63, 0xef, 0x5c, 0x7b, 0xec, 0x91, 0x03, 0x0a, 0x28, - 0xb9, 0x70, 0xce, 0x81, 0x03, 0x27, 0xb4, 0x33, 0xb3, 0x5f, 0xf6, 0xda, 0x38, 0xa1, 0x39, 0xc5, - 0x9e, 0xfc, 0xf6, 0xbd, 0xf7, 0x7b, 0xf3, 0xfb, 0x58, 0x83, 0xd7, 0x3d, 0xca, 0x3b, 0x94, 0x57, - 0x7d, 0xc2, 0x05, 0x23, 0xf5, 0x9e, 0x20, 0x34, 0xa8, 0xf6, 0x37, 0xeb, 0x58, 0xb8, 0x9b, 0xd5, - 0x26, 0x0e, 0x30, 0x27, 0xdc, 0xee, 0x32, 0x2a, 0xa8, 0xb9, 0xaa, 0x42, 0xed, 0x74, 0xa8,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f, 0x09, 0x17, 0xbe, 0x80, 0xdd, 0x4c, 0x9e, 0xf6, - 0xd4, 0x1a, 0x89, 0xb5, 0xce, 0x4a, 0xad, 0xdb, 0x17, 0xd9, 0x41, 0x5a, 0xe8, 0x86, 0x16, 0xba, - 0x3e, 0x28, 0x74, 0x80, 0x0a, 0xa2, 0x95, 0x7e, 0x3e, 0x90, 0xf9, 0x24, 0xd3, 0x8c, 0x99, 0xf9, - 0xcc, 0x4b, 0x57, 0xa5, 0xc2, 0x77, 0xcf, 0x3f, 0xf7, 0xb5, 0xbe, 0x91, 0x2d, 0x99, 0xe5, 0x49, - 0xb7, 0x64, 0x1a, 0x85, 0x87, 0x7d, 0xb4, 0x9c, 0x3b, 0x70, 0x79, 0x09, 0x48, 0x6d, 0x6f, 0x9f, - 0x77, 0xe2, 0x6a, 0x65, 0xaf, 0x6a, 0x65, 0xb7, 0x06, 0x9d, 0x4b, 0x73, 0x40, 0xb4, 0x98, 0x33, - 0x88, 0x53, 0xfb, 0xdd, 0x79, 0xfc, 0xd3, 0x49, 0xc5, 0x78, 0x76, 0x52, 0x31, 0x9e, 0x9f, 0x54, - 0x8c, 0x3f, 0x4f, 0x2a, 0xc6, 0x77, 0xa7, 0x95, 0xc2, 0xf3, 0xd3, 0x4a, 0xe1, 0xb7, 0xd3, 0x4a, - 0xe1, 0x8b, 0xcd, 0xb1, 0x6f, 0xc7, 0x5f, 0x65, 0x7f, 0x05, 0xc9, 0x97, 0xe5, 0xfa, 0xb4, 0xfc, - 0x85, 0xf3, 0xe6, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb2, 0xa7, 0xfd, 0xe4, 0x91, 0x0d, 0x00, - 0x00, + // 1034 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xf6, 0x3a, 0x25, 0x49, 0xc7, 0x29, 0x0d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x74, 0x4b, 0xa6, 0x51, 0x78, 0xd8, 0x47, + 0x2b, 0xb9, 0x17, 0x2e, 0x2f, 0x03, 0xa9, 0xed, 0xad, 0xf3, 0xde, 0xb8, 0x5a, 0xd9, 0xcb, 0x5a, + 0xd9, 0xad, 0x61, 0xe7, 0xd2, 0x1c, 0x10, 0x2d, 0xe5, 0x5c, 0xc4, 0xa9, 0xf9, 0x6e, 0x37, 0x7e, + 0x38, 0xa9, 0x1a, 0x4f, 0x4f, 0xaa, 0xc6, 0xb3, 0x93, 0xaa, 0xf1, 0xe7, 0x49, 0xd5, 0xf8, 0xfa, + 0xb4, 0x5a, 0x78, 0x76, 0x5a, 0x2d, 0xfc, 0x76, 0x5a, 0x2d, 0x7c, 0xb6, 0x73, 0xae, 0xaf, 0xe5, + 0xcf, 0xb3, 0xff, 0x92, 0xe4, 0xc7, 0x73, 0x73, 0x56, 0xee, 0x79, 0xe3, 0xdf, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x8d, 0x9b, 0xc1, 0x7a, 0xb1, 0x0d, 0x00, 0x00, } func (m *DelegatorWithdrawInfo) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/distribution/types/keys.go b/sei-cosmos/x/distribution/types/keys.go index e0458459d0..cd03e1f23f 100644 --- a/sei-cosmos/x/distribution/types/keys.go +++ b/sei-cosmos/x/distribution/types/keys.go @@ -3,9 +3,9 @@ package types import ( "encoding/binary" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/types/kv" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) const ( diff --git a/sei-cosmos/x/distribution/types/msg.go b/sei-cosmos/x/distribution/types/msg.go index 09e9994c16..1e4810dfd7 100644 --- a/sei-cosmos/x/distribution/types/msg.go +++ b/sei-cosmos/x/distribution/types/msg.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // distribution message types diff --git a/sei-cosmos/x/distribution/types/msg_test.go b/sei-cosmos/x/distribution/types/msg_test.go index 324626178d..fa2a4d4f9e 100644 --- a/sei-cosmos/x/distribution/types/msg_test.go +++ b/sei-cosmos/x/distribution/types/msg_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // test ValidateBasic for MsgSetWithdrawAddress diff --git a/sei-cosmos/x/distribution/types/params.go b/sei-cosmos/x/distribution/types/params.go index c83f6f3139..7bf839557f 100644 --- a/sei-cosmos/x/distribution/types/params.go +++ b/sei-cosmos/x/distribution/types/params.go @@ -5,8 +5,8 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // Parameter keys diff --git a/sei-cosmos/x/distribution/types/params_internal_test.go b/sei-cosmos/x/distribution/types/params_internal_test.go index f132df9d5d..b9c636e48a 100644 --- a/sei-cosmos/x/distribution/types/params_internal_test.go +++ b/sei-cosmos/x/distribution/types/params_internal_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func Test_validateAuxFuncs(t *testing.T) { diff --git a/sei-cosmos/x/distribution/types/params_test.go b/sei-cosmos/x/distribution/types/params_test.go index d156df728d..6c3dcd4d09 100644 --- a/sei-cosmos/x/distribution/types/params_test.go +++ b/sei-cosmos/x/distribution/types/params_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" ) func TestParams_ValidateBasic(t *testing.T) { diff --git a/sei-cosmos/x/distribution/types/proposal.go b/sei-cosmos/x/distribution/types/proposal.go index 2eed72a2e4..7ed9adb23f 100644 --- a/sei-cosmos/x/distribution/types/proposal.go +++ b/sei-cosmos/x/distribution/types/proposal.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) const ( @@ -22,8 +22,6 @@ func init() { } // NewCommunityPoolSpendProposal creates a new community pool spned proposal. -// -//nolint:interfacer func NewCommunityPoolSpendProposal(title, description string, recipient sdk.AccAddress, amount sdk.Coins) *CommunityPoolSpendProposal { return &CommunityPoolSpendProposal{title, description, recipient.String(), amount} } diff --git a/sei-cosmos/x/distribution/types/querier.go b/sei-cosmos/x/distribution/types/querier.go index fb9fd4677d..de22bc1a76 100644 --- a/sei-cosmos/x/distribution/types/querier.go +++ b/sei-cosmos/x/distribution/types/querier.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // querier keys diff --git a/sei-cosmos/x/distribution/types/query.go b/sei-cosmos/x/distribution/types/query.go index 76e86d9287..6bb9a6c7c6 100644 --- a/sei-cosmos/x/distribution/types/query.go +++ b/sei-cosmos/x/distribution/types/query.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // QueryDelegatorTotalRewardsResponse defines the properties of @@ -33,8 +33,6 @@ func (res QueryDelegatorTotalRewardsResponse) String() string { } // NewDelegationDelegatorReward constructs a DelegationDelegatorReward. -// -//nolint:interfacer func NewDelegationDelegatorReward(valAddr sdk.ValAddress, reward sdk.DecCoins) DelegationDelegatorReward { return DelegationDelegatorReward{ValidatorAddress: valAddr.String(), Reward: reward} diff --git a/sei-cosmos/x/distribution/types/query.pb.go b/sei-cosmos/x/distribution/types/query.pb.go index c0b499e234..cf6b7e53a1 100644 --- a/sei-cosmos/x/distribution/types/query.pb.go +++ b/sei-cosmos/x/distribution/types/query.pb.go @@ -6,12 +6,12 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -454,7 +454,7 @@ var xxx_messageInfo_QueryDelegationRewardsRequest proto.InternalMessageInfo // Query/DelegationRewards RPC method. type QueryDelegationRewardsResponse struct { // rewards defines the rewards accrued by a delegation. - Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"rewards"` + Rewards github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" json:"rewards"` } func (m *QueryDelegationRewardsResponse) Reset() { *m = QueryDelegationRewardsResponse{} } @@ -490,7 +490,7 @@ func (m *QueryDelegationRewardsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryDelegationRewardsResponse proto.InternalMessageInfo -func (m *QueryDelegationRewardsResponse) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins { +func (m *QueryDelegationRewardsResponse) GetRewards() github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins { if m != nil { return m.Rewards } @@ -543,7 +543,7 @@ type QueryDelegationTotalRewardsResponse struct { // rewards defines all the rewards accrued by a delegator. Rewards []DelegationDelegatorReward `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards"` // total defines the sum of all the rewards. - Total github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=total,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"total"` + Total github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins `protobuf:"bytes,2,rep,name=total,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" json:"total"` } func (m *QueryDelegationTotalRewardsResponse) Reset() { *m = QueryDelegationTotalRewardsResponse{} } @@ -586,7 +586,7 @@ func (m *QueryDelegationTotalRewardsResponse) GetRewards() []DelegationDelegator return nil } -func (m *QueryDelegationTotalRewardsResponse) GetTotal() github_com_cosmos_cosmos_sdk_types.DecCoins { +func (m *QueryDelegationTotalRewardsResponse) GetTotal() github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins { if m != nil { return m.Total } @@ -795,7 +795,7 @@ var xxx_messageInfo_QueryCommunityPoolRequest proto.InternalMessageInfo // RPC method. type QueryCommunityPoolResponse struct { // pool defines community pool's coins. - Pool github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=pool,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"pool"` + Pool github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins `protobuf:"bytes,1,rep,name=pool,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" json:"pool"` } func (m *QueryCommunityPoolResponse) Reset() { *m = QueryCommunityPoolResponse{} } @@ -831,7 +831,7 @@ func (m *QueryCommunityPoolResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryCommunityPoolResponse proto.InternalMessageInfo -func (m *QueryCommunityPoolResponse) GetPool() github_com_cosmos_cosmos_sdk_types.DecCoins { +func (m *QueryCommunityPoolResponse) GetPool() github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins { if m != nil { return m.Pool } @@ -864,76 +864,77 @@ func init() { } var fileDescriptor_5efd02cbc06efdc9 = []byte{ - // 1102 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x98, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xc7, 0x3d, 0x6e, 0xda, 0xd2, 0x57, 0x4a, 0xd2, 0x69, 0x85, 0xcc, 0x26, 0xd8, 0xd1, 0x86, - 0x92, 0x40, 0x54, 0x6f, 0x93, 0x48, 0x05, 0x5a, 0x10, 0xe4, 0x57, 0xa9, 0xd4, 0x2a, 0x4d, 0x4d, - 0x95, 0x84, 0x5f, 0x8a, 0x26, 0xde, 0xd1, 0x7a, 0x55, 0x7b, 0xc7, 0xdd, 0x19, 0x27, 0x44, 0x55, - 0x2f, 0x04, 0x24, 0x2e, 0x48, 0x48, 0x5c, 0x7a, 0xcc, 0x99, 0x3b, 0x17, 0xfe, 0x82, 0x1e, 0x2b, - 0x21, 0xa1, 0x9e, 0x00, 0x25, 0x08, 0x55, 0x42, 0x9c, 0xb9, 0x22, 0xcf, 0xcc, 0xda, 0xbb, 0xf6, - 0x7a, 0xfd, 0x4b, 0x3d, 0xc5, 0x7a, 0x33, 0xef, 0x3b, 0xef, 0xf3, 0x76, 0xde, 0xbc, 0xa7, 0xc0, - 0x74, 0x91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ec, 0xda, 0x26, 0xb6, 0xed, 0x53, 0xae, 0x0e, - 0x3e, 0x53, 0x18, 0x6b, 0x2c, 0x2c, 0x2a, 0xbb, 0xf9, 0x0d, 0x82, 0x99, 0xee, 0xc2, 0x9a, 0x63, - 0x0b, 0x4e, 0xfb, 0xca, 0xa4, 0x41, 0xde, 0x4d, 0x04, 0x49, 0x90, 0xd4, 0x74, 0x81, 0x9c, 0xb9, - 0x06, 0xb9, 0x68, 0x14, 0xcb, 0xac, 0x52, 0x71, 0x39, 0x77, 0x99, 0x37, 0x10, 0xd6, 0xb7, 0x08, - 0x26, 0x3b, 0x0b, 0x6a, 0x1c, 0x02, 0x50, 0x6c, 0x58, 0x35, 0xd1, 0xf5, 0xde, 0x88, 0x16, 0x8b, - 0xc5, 0x5a, 0xa5, 0x56, 0x26, 0x82, 0xda, 0x4d, 0x61, 0x0d, 0x15, 0x12, 0x35, 0xff, 0x41, 0x30, - 0x11, 0x8d, 0xe3, 0x93, 0x32, 0xe1, 0x25, 0x3a, 0xd0, 0xc7, 0xc2, 0xd3, 0x30, 0xca, 0x05, 0xf1, - 0x85, 0xeb, 0x39, 0xdb, 0x25, 0xea, 0x3a, 0x25, 0x91, 0x49, 0x4f, 0xa2, 0x99, 0x91, 0xc2, 0x2b, - 0x81, 0xf9, 0xa6, 0xb4, 0xe2, 0x29, 0x38, 0x47, 0x65, 0xba, 0x83, 0x6d, 0x27, 0xe4, 0xb6, 0x97, - 0x95, 0x51, 0x6f, 0xba, 0x01, 0xd0, 0x2c, 0xad, 0xcc, 0x88, 0xc4, 0x7f, 0x33, 0xc0, 0xaf, 0xd7, - 0x56, 0x5e, 0x55, 0x6f, 0xf3, 0x5e, 0x3a, 0x54, 0x87, 0x5d, 0x08, 0x79, 0x5e, 0x7b, 0xe9, 0xbb, - 0xc3, 0x5c, 0xea, 0xf1, 0x61, 0x0e, 0x99, 0xbf, 0x20, 0x78, 0xbd, 0x03, 0xad, 0x4e, 0xf9, 0x3a, - 0x9c, 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 0x2d, 0xdf, 0x78, 0xa7, 0x6f, 0x3f, 0x0d, 0xb6, 0x20, 0xc1, 0x2e, 0xe3, 0xd9, 0x44, 0xb0, - 0x62, 0xe0, 0xbb, 0x5d, 0x6f, 0xed, 0x4b, 0xb7, 0x9e, 0x1c, 0x65, 0xd1, 0xd3, 0xa3, 0x2c, 0xfa, - 0xf3, 0x28, 0x8b, 0x7e, 0x38, 0xce, 0xa6, 0x9e, 0x1e, 0x67, 0x53, 0xcf, 0x8e, 0xb3, 0xa9, 0xcf, - 0xe6, 0x12, 0xe7, 0x84, 0xaf, 0xa2, 0xea, 0x72, 0x6c, 0xd8, 0x39, 0x25, 0xff, 0xc9, 0xb0, 0xf0, - 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xef, 0x6a, 0x7d, 0xc7, 0x5c, 0x11, 0x00, 0x00, + // 1109 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xcd, 0x6f, 0x1b, 0x45, + 0x14, 0xf7, 0xb8, 0x69, 0x4a, 0x5f, 0x29, 0x49, 0xa7, 0x15, 0x32, 0x9b, 0x60, 0x47, 0x1b, 0x4a, + 0x02, 0x51, 0xbd, 0x6d, 0x2a, 0x15, 0x68, 0x40, 0x90, 0xaf, 0x52, 0x89, 0x2a, 0x4d, 0x4d, 0x95, + 0x04, 0x0a, 0x8a, 0x26, 0xeb, 0xd1, 0x7a, 0x25, 0x7b, 0xc7, 0xdd, 0x19, 0x27, 0x44, 0x51, 0x2f, + 0x14, 0x24, 0x8e, 0x48, 0xbd, 0xf4, 0x82, 0x94, 0x33, 0x77, 0x2e, 0xfc, 0x05, 0x3d, 0x56, 0x42, + 0x42, 0x3d, 0x01, 0x4a, 0x38, 0x54, 0x42, 0x5c, 0xe1, 0x5a, 0x79, 0x66, 0xd6, 0xde, 0xb5, 0xd7, + 0xeb, 0x2f, 0xa9, 0x37, 0xfb, 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 0x11, 0xbf, 0x18, 0x90, + 0xc0, 0x73, 0x70, 0x6e, 0x37, 0xf0, 0xda, 0x26, 0xc5, 0xa2, 0x4f, 0xb9, 0xba, 0xf8, 0x74, 0x61, + 0xbc, 0x71, 0xb0, 0xa8, 0xec, 0xe6, 0x77, 0x08, 0x66, 0xbb, 0x03, 0x6b, 0x1d, 0x5b, 0x70, 0xca, + 0x57, 0x26, 0x2d, 0xe4, 0xfd, 0x44, 0x21, 0x09, 0x90, 0x5a, 0x5d, 0x00, 0x67, 0xae, 0x41, 0x2e, + 0xca, 0x62, 0x99, 0x55, 0x2a, 0x2e, 0xe7, 0x2e, 0xf3, 0x06, 0x92, 0xf5, 0x3d, 0x82, 0xa9, 0xce, + 0x80, 0x5a, 0x0e, 0x01, 0xb0, 0x1b, 0x56, 0xad, 0x68, 0xa1, 0x37, 0x45, 0x8b, 0xb6, 0x5d, 0xab, + 0xd4, 0xca, 0x44, 0xd0, 0x62, 0x13, 0x58, 0x8b, 0x0a, 0x81, 0x9a, 0xff, 0x20, 0x98, 0x8c, 0xf2, + 0xf8, 0xbc, 0x4c, 0x78, 0x89, 0x0e, 0xf4, 0xb1, 0xf0, 0x0c, 0x8c, 0x71, 0x41, 0x7c, 0xe1, 0x7a, + 0xce, 0x76, 0x89, 0xba, 0x4e, 0x49, 0x64, 0xd2, 0x53, 0x68, 0x76, 0xa4, 0xf0, 0x5a, 0x60, 0xbe, + 0x29, 0xad, 0x78, 0x1a, 0xce, 0x52, 0x99, 0xee, 0xc0, 0xed, 0x84, 0x74, 0x7b, 0x55, 0x19, 0xb5, + 0xd3, 0x0d, 0x80, 0x66, 0x69, 0x65, 0x46, 0xa4, 0xfc, 0xb7, 0x03, 0xf9, 0xf5, 0xda, 0xca, 0xab, + 0xea, 0x6d, 0xbe, 0x4b, 0x87, 0x6a, 0xda, 0x85, 0x50, 0xe4, 0xf5, 0x57, 0x7e, 0x38, 0xcc, 0xa5, + 0x1e, 0x1f, 0xe6, 0x90, 0xf9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, 0xf8, 0xd6, 0x30, 0x9a, 0x5b, 0xc7, 0x3e, 0xfe, 0x05, + 0xc1, 0xd9, 0xc8, 0xcc, 0xc6, 0xd7, 0xba, 0x73, 0x8d, 0x5b, 0x01, 0x8c, 0xf7, 0xfa, 0x8e, 0xd3, + 0xc2, 0xae, 0x4a, 0x61, 0x97, 0xf0, 0x5c, 0xa2, 0x30, 0x3b, 0x88, 0xdd, 0xae, 0x8f, 0xf6, 0xa5, + 0x7b, 0x4f, 0x8e, 0xb2, 0xe8, 0xe9, 0x51, 0x16, 0xfd, 0x75, 0x94, 0x45, 0x3f, 0x1e, 0x67, 0x53, + 0x4f, 0x8f, 0xb3, 0xa9, 0x67, 0xc7, 0xd9, 0xd4, 0x97, 0x8b, 0x7d, 0xed, 0x0d, 0xdf, 0x44, 0x6f, + 0x93, 0x6b, 0xc4, 0xce, 0xa8, 0x8c, 0xb9, 0xfa, 0x22, 0x00, 0x00, 0xff, 0xff, 0x88, 0x3f, 0xf6, + 0x95, 0x9c, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/distribution/types/tx.pb.go b/sei-cosmos/x/distribution/types/tx.pb.go index f3b252e85b..0bc69b1b15 100644 --- a/sei-cosmos/x/distribution/types/tx.pb.go +++ b/sei-cosmos/x/distribution/types/tx.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -265,8 +265,8 @@ var xxx_messageInfo_MsgWithdrawValidatorCommissionResponse proto.InternalMessage // MsgFundCommunityPool allows an account to directly // fund the community pool. type MsgFundCommunityPool struct { - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` - Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"` + Amount github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"amount"` + Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"` } func (m *MsgFundCommunityPool) Reset() { *m = MsgFundCommunityPool{} } @@ -355,42 +355,43 @@ func init() { } var fileDescriptor_ed4f433d965e58ca = []byte{ - // 558 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x3f, 0x6f, 0xd3, 0x40, - 0x18, 0xc6, 0x7d, 0x2d, 0xaa, 0xe8, 0x31, 0x90, 0x58, 0x45, 0x0d, 0x4e, 0x38, 0x57, 0x56, 0x85, - 0xb2, 0x60, 0x93, 0x30, 0x20, 0xc2, 0x80, 0x48, 0x50, 0xa5, 0x0e, 0x11, 0xc8, 0x48, 0x20, 0xb1, - 0x20, 0x3b, 0x77, 0x72, 0x4f, 0xc4, 0xbe, 0xc8, 0x77, 0x6e, 0x9a, 0x11, 0x89, 0x81, 0x11, 0x89, - 0x0f, 0x40, 0x25, 0x16, 0xc4, 0xcc, 0xc8, 0x07, 0xc8, 0xd8, 0x91, 0x29, 0xa0, 0x64, 0x61, 0xee, - 0x27, 0x40, 0xf1, 0x3f, 0x92, 0xda, 0x49, 0x29, 0xe9, 0xe4, 0xd3, 0x7b, 0xef, 0xf3, 0xdc, 0xef, - 0x95, 0x9f, 0xb3, 0xe1, 0x6e, 0x87, 0x71, 0x97, 0x71, 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 0xa7, 0x30, 0xa5, 0xfa, 0x04, 0x60, 0x79, 0x59, 0x12, 0x1f, 0xfe, 0xeb, 0x01, - 0x39, 0x62, 0xa5, 0xb5, 0x82, 0x38, 0x25, 0x7c, 0x0b, 0x60, 0x31, 0x9b, 0xc4, 0xda, 0x79, 0xd6, - 0x19, 0x89, 0xf2, 0xe0, 0xc2, 0x92, 0x84, 0xa1, 0xf9, 0xf4, 0xcb, 0x18, 0x81, 0xe1, 0x18, 0x81, - 0x93, 0x31, 0x02, 0xbf, 0xc6, 0x08, 0x7c, 0x98, 0x20, 0xe9, 0x64, 0x82, 0xa4, 0x1f, 0x13, 0x24, - 0xbd, 0xaa, 0x2d, 0x8d, 0xf8, 0xd1, 0xfc, 0xdf, 0x21, 0x4c, 0xbc, 0xbd, 0x11, 0x7e, 0xc6, 0xef, - 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff, 0xec, 0x24, 0x5d, 0xb9, 0x41, 0x06, 0x00, 0x00, + // 565 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x31, 0x6f, 0xd3, 0x40, + 0x14, 0xf6, 0xb5, 0xa8, 0xa2, 0xc7, 0x40, 0x63, 0x15, 0x35, 0x38, 0xe1, 0x5c, 0x59, 0x15, 0xca, + 0x82, 0xa3, 0x84, 0x01, 0x08, 0x03, 0x34, 0x41, 0x95, 0x3a, 0x44, 0x42, 0x46, 0x02, 0x89, 0xa5, + 0xba, 0xc4, 0x27, 0xe7, 0xa4, 0xd8, 0x2f, 0xf2, 0x9d, 0x9b, 0x66, 0x44, 0x62, 0x60, 0x44, 0xe2, + 0x07, 0xd0, 0x11, 0xb1, 0xc2, 0xc8, 0x0f, 0xc8, 0xd8, 0x91, 0x29, 0xa0, 0x64, 0x61, 0xee, 0x2f, + 0x40, 0xb1, 0x63, 0x93, 0x34, 0x4e, 0x4a, 0x28, 0xdb, 0xcb, 0xbb, 0xef, 0xfb, 0xde, 0xf7, 0x94, + 0xef, 0xc9, 0x78, 0xaf, 0x09, 0xc2, 0x05, 0x51, 0xb4, 0xb9, 0x90, 0x3e, 0x6f, 0x04, 0x92, 0x83, + 0x57, 0x3c, 0x2e, 0x35, 0x98, 0xa4, 0xa5, 0xa2, 0x3c, 0x31, 0x3b, 0x3e, 0x48, 0x50, 0x73, 0x11, + 0xca, 0x9c, 0x46, 0x99, 0x13, 0x94, 0x46, 0x26, 0x12, 0x0d, 0x2a, 0x58, 0x42, 0x6d, 0x02, 0xf7, + 0x22, 0xb2, 0xb6, 0xed, 0x80, 0x03, 0x61, 0x59, 0x1c, 0x57, 0x51, 0xd7, 0xf8, 0x8a, 0xf0, 0xad, + 0xba, 0x70, 0x5e, 0x30, 0xf9, 0x8a, 0xcb, 0x96, 0xed, 0xd3, 0xee, 0xbe, 0x6d, 0xfb, 0x4c, 0x08, + 0xf5, 0x10, 0x67, 0x6c, 0xd6, 0x66, 0x0e, 0x95, 0xe0, 0x1f, 0xd1, 0xa8, 0x99, 0x45, 0xbb, 0xa8, + 0xb0, 0x59, 0xcd, 0x9f, 0x0f, 0xf4, 0x6c, 0x8f, 0xba, 0xed, 0x8a, 0x31, 0x07, 0x31, 0xac, 0xad, + 0xa4, 0x17, 0x4b, 0x1d, 0xe0, 0xad, 0xee, 0x44, 0x3d, 0x51, 0x5a, 0x0b, 0x95, 0x72, 0xe7, 0x03, + 0x7d, 0x27, 0x52, 0xba, 0x88, 0x30, 0xac, 0x9b, 0xdd, 0x59, 0x4b, 0x95, 0xeb, 0xef, 0x4e, 0x75, + 0xe5, 0xd7, 0xa9, 0xae, 0x18, 0x3a, 0xbe, 0x93, 0xea, 0xda, 0x62, 0xa2, 0x03, 0x9e, 0x60, 0xc6, + 0x37, 0x84, 0xb5, 0xba, 0x70, 0xe2, 0xe7, 0x67, 0xb1, 0x25, 0x8b, 0x75, 0xa9, 0x6f, 0xff, 0xcf, + 0xe5, 0x0e, 0x71, 0x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x9c, 0xd8, 0x8e, 0xfa, 0x01, 0xe1, 0x9d, + 0x45, 0x39, 0x7f, 0x70, 0x99, 0xee, 0x02, 0xa2, 0xf6, 0xe4, 0x1f, 0x89, 0x89, 0xab, 0x8f, 0x08, + 0xe7, 0x96, 0x25, 0xf3, 0xf1, 0xdf, 0x0e, 0x48, 0x21, 0x6b, 0xb5, 0x2b, 0x90, 0x13, 0x87, 0x6f, + 0x10, 0xce, 0xcc, 0x27, 0xb3, 0x74, 0x99, 0xf4, 0x1c, 0x45, 0x7b, 0xb4, 0x32, 0x25, 0xf6, 0x50, + 0x3d, 0xfa, 0x34, 0x24, 0xa8, 0x3f, 0x24, 0xe8, 0x6c, 0x48, 0xd0, 0xcf, 0x21, 0x41, 0xef, 0x47, + 0x44, 0x39, 0x1b, 0x11, 0xe5, 0xfb, 0x88, 0x28, 0xaf, 0xf7, 0x57, 0x8a, 0xfc, 0xc9, 0xec, 0xd7, + 0x23, 0xbc, 0x80, 0xc6, 0x46, 0xc8, 0xb9, 0xff, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x4d, 0xf2, 0x90, + 0xe0, 0x61, 0x06, 0x00, 0x00, } func (this *MsgSetWithdrawAddressResponse) Equal(that interface{}) bool { diff --git a/sei-cosmos/x/distribution/types/validator.go b/sei-cosmos/x/distribution/types/validator.go index aa64a37030..d7c7f00d5f 100644 --- a/sei-cosmos/x/distribution/types/validator.go +++ b/sei-cosmos/x/distribution/types/validator.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // create a new ValidatorHistoricalRewards diff --git a/sei-cosmos/x/evidence/abci.go b/sei-cosmos/x/evidence/abci.go index 4aef9f1a8a..b8ed39e2d0 100644 --- a/sei-cosmos/x/evidence/abci.go +++ b/sei-cosmos/x/evidence/abci.go @@ -4,10 +4,10 @@ import ( "fmt" "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-cosmos/x/evidence/client/cli/query.go b/sei-cosmos/x/evidence/client/cli/query.go index 9c987fb15e..404a55c6c5 100644 --- a/sei-cosmos/x/evidence/client/cli/query.go +++ b/sei-cosmos/x/evidence/client/cli/query.go @@ -8,11 +8,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) // GetQueryCmd returns the CLI command with all evidence module query commands diff --git a/sei-cosmos/x/evidence/client/cli/tx.go b/sei-cosmos/x/evidence/client/cli/tx.go index f13e3e8e2f..74b221d96d 100644 --- a/sei-cosmos/x/evidence/client/cli/tx.go +++ b/sei-cosmos/x/evidence/client/cli/tx.go @@ -1,8 +1,8 @@ package cli import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" "github.com/spf13/cobra" ) diff --git a/sei-cosmos/x/evidence/client/evidence_handler.go b/sei-cosmos/x/evidence/client/evidence_handler.go index 7cada571cc..2f11c908a7 100644 --- a/sei-cosmos/x/evidence/client/evidence_handler.go +++ b/sei-cosmos/x/evidence/client/evidence_handler.go @@ -3,8 +3,8 @@ package client import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/evidence/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/client/rest" ) type ( diff --git a/sei-cosmos/x/evidence/client/rest/query.go b/sei-cosmos/x/evidence/client/rest/query.go index b8bdcf4813..09e698e5f1 100644 --- a/sei-cosmos/x/evidence/client/rest/query.go +++ b/sei-cosmos/x/evidence/client/rest/query.go @@ -6,9 +6,9 @@ import ( "net/http" "strings" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" "github.com/gorilla/mux" ) @@ -47,7 +47,7 @@ func queryEvidenceHandler(clientCtx client.Context) http.HandlerFunc { } params := types.NewQueryEvidenceRequest(decodedHash) - bz, err := clientCtx.Codec.MarshalJSON(params) + bz, err := clientCtx.Codec.MarshalAsJSON(params) if err != nil { rest.WriteErrorResponse(w, http.StatusBadRequest, fmt.Sprintf("failed to marshal query params: %s", err)) return @@ -77,7 +77,7 @@ func queryAllEvidenceHandler(clientCtx client.Context) http.HandlerFunc { } params := types.NewQueryAllEvidenceParams(page, limit) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if err != nil { rest.WriteErrorResponse(w, http.StatusBadRequest, fmt.Sprintf("failed to marshal query params: %s", err)) return diff --git a/sei-cosmos/x/evidence/client/rest/rest.go b/sei-cosmos/x/evidence/client/rest/rest.go index f2714cc7ba..fe17b55fa6 100644 --- a/sei-cosmos/x/evidence/client/rest/rest.go +++ b/sei-cosmos/x/evidence/client/rest/rest.go @@ -3,8 +3,8 @@ package rest import ( "net/http" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" "github.com/gorilla/mux" ) diff --git a/sei-cosmos/x/evidence/client/rest/tx.go b/sei-cosmos/x/evidence/client/rest/tx.go index 0c3c0966a3..b5be6a6537 100644 --- a/sei-cosmos/x/evidence/client/rest/tx.go +++ b/sei-cosmos/x/evidence/client/rest/tx.go @@ -1,7 +1,7 @@ package rest import ( - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" "github.com/gorilla/mux" ) diff --git a/sei-cosmos/x/evidence/client/testutil/cli_test.go b/sei-cosmos/x/evidence/client/testutil/cli_test.go index 1035ca7502..9126c139f8 100644 --- a/sei-cosmos/x/evidence/client/testutil/cli_test.go +++ b/sei-cosmos/x/evidence/client/testutil/cli_test.go @@ -6,7 +6,7 @@ package testutil import ( "testing" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/sei-cosmos/x/evidence/client/testutil/suite.go b/sei-cosmos/x/evidence/client/testutil/suite.go index d12083b647..e6419a0d31 100644 --- a/sei-cosmos/x/evidence/client/testutil/suite.go +++ b/sei-cosmos/x/evidence/client/testutil/suite.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/x/evidence/client/cli" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/client/cli" ) type IntegrationTestSuite struct { diff --git a/sei-cosmos/x/evidence/exported/evidence.go b/sei-cosmos/x/evidence/exported/evidence.go index 78eef75058..2b6e74e9d4 100644 --- a/sei-cosmos/x/evidence/exported/evidence.go +++ b/sei-cosmos/x/evidence/exported/evidence.go @@ -4,7 +4,7 @@ import ( "github.com/gogo/protobuf/proto" tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Evidence defines the contract which concrete evidence types of misbehavior diff --git a/sei-cosmos/x/evidence/genesis.go b/sei-cosmos/x/evidence/genesis.go index 2be3fee882..bd3c485ebb 100644 --- a/sei-cosmos/x/evidence/genesis.go +++ b/sei-cosmos/x/evidence/genesis.go @@ -5,11 +5,11 @@ import ( "github.com/gogo/protobuf/proto" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) // InitGenesis initializes the evidence module's state from a provided genesis diff --git a/sei-cosmos/x/evidence/genesis_test.go b/sei-cosmos/x/evidence/genesis_test.go index 3bb6391e6b..88bc95150d 100644 --- a/sei-cosmos/x/evidence/genesis_test.go +++ b/sei-cosmos/x/evidence/genesis_test.go @@ -4,17 +4,17 @@ import ( "fmt" "testing" - time "github.com/cosmos/cosmos-sdk/std" + time "github.com/sei-protocol/sei-chain/sei-cosmos/std" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) type GenesisTestSuite struct { diff --git a/sei-cosmos/x/evidence/handler.go b/sei-cosmos/x/evidence/handler.go index 93da4d7bf5..9fb277f6c8 100644 --- a/sei-cosmos/x/evidence/handler.go +++ b/sei-cosmos/x/evidence/handler.go @@ -1,10 +1,10 @@ package evidence import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) // NewHandler returns a handler for evidence messages. diff --git a/sei-cosmos/x/evidence/handler_test.go b/sei-cosmos/x/evidence/handler_test.go index 01617e8afe..a128651720 100644 --- a/sei-cosmos/x/evidence/handler_test.go +++ b/sei-cosmos/x/evidence/handler_test.go @@ -9,13 +9,13 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) type HandlerTestSuite struct { diff --git a/sei-cosmos/x/evidence/keeper/grpc_query.go b/sei-cosmos/x/evidence/keeper/grpc_query.go index d30d6ed6bd..5c64155882 100644 --- a/sei-cosmos/x/evidence/keeper/grpc_query.go +++ b/sei-cosmos/x/evidence/keeper/grpc_query.go @@ -6,14 +6,14 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - "github.com/cosmos/cosmos-sdk/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" proto "github.com/gogo/protobuf/proto" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) var _ types.QueryServer = Keeper{} diff --git a/sei-cosmos/x/evidence/keeper/grpc_query_test.go b/sei-cosmos/x/evidence/keeper/grpc_query_test.go index 1d63e5e2d2..e2de4c7d89 100644 --- a/sei-cosmos/x/evidence/keeper/grpc_query_test.go +++ b/sei-cosmos/x/evidence/keeper/grpc_query_test.go @@ -3,10 +3,10 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" ) diff --git a/sei-cosmos/x/evidence/keeper/infraction.go b/sei-cosmos/x/evidence/keeper/infraction.go index 3ae74bc216..0eeeb7d500 100644 --- a/sei-cosmos/x/evidence/keeper/infraction.go +++ b/sei-cosmos/x/evidence/keeper/infraction.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) // HandleEquivocationEvidence implements an equivocation evidence handler. Assuming the diff --git a/sei-cosmos/x/evidence/keeper/infraction_test.go b/sei-cosmos/x/evidence/keeper/infraction_test.go index a5968ff343..26f57f77a6 100644 --- a/sei-cosmos/x/evidence/keeper/infraction_test.go +++ b/sei-cosmos/x/evidence/keeper/infraction_test.go @@ -3,11 +3,11 @@ package keeper_test import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/types" - "github.com/cosmos/cosmos-sdk/x/slashing" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" abcitypes "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-cosmos/x/evidence/keeper/keeper.go b/sei-cosmos/x/evidence/keeper/keeper.go index 18c37cb576..b57b764002 100644 --- a/sei-cosmos/x/evidence/keeper/keeper.go +++ b/sei-cosmos/x/evidence/keeper/keeper.go @@ -6,12 +6,12 @@ import ( tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) // Keeper defines the evidence module's keeper. The keeper is responsible for @@ -125,7 +125,7 @@ func (k Keeper) IterateEvidence(ctx sdk.Context, cb func(exported.Evidence) bool store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefixEvidence) iterator := sdk.KVStorePrefixIterator(store, nil) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { evidence := k.MustUnmarshalEvidence(iterator.Value()) diff --git a/sei-cosmos/x/evidence/keeper/keeper_test.go b/sei-cosmos/x/evidence/keeper/keeper_test.go index 421c41c0a5..f5f19d973e 100644 --- a/sei-cosmos/x/evidence/keeper/keeper_test.go +++ b/sei-cosmos/x/evidence/keeper/keeper_test.go @@ -10,16 +10,16 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/types" - "github.com/cosmos/cosmos-sdk/x/staking" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" ) var ( diff --git a/sei-cosmos/x/evidence/keeper/msg_server.go b/sei-cosmos/x/evidence/keeper/msg_server.go index df3cabd4fe..16895985b3 100644 --- a/sei-cosmos/x/evidence/keeper/msg_server.go +++ b/sei-cosmos/x/evidence/keeper/msg_server.go @@ -3,8 +3,8 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) type msgServer struct { diff --git a/sei-cosmos/x/evidence/keeper/querier.go b/sei-cosmos/x/evidence/keeper/querier.go index d8ce060163..8e85804520 100644 --- a/sei-cosmos/x/evidence/keeper/querier.go +++ b/sei-cosmos/x/evidence/keeper/querier.go @@ -1,12 +1,12 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) @@ -36,7 +36,7 @@ func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { func queryEvidence(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryEvidenceRequest - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -57,7 +57,7 @@ func queryEvidence(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQueri func queryAllEvidence(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryAllEvidenceParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } diff --git a/sei-cosmos/x/evidence/keeper/querier_test.go b/sei-cosmos/x/evidence/keeper/querier_test.go index 10217a3d7e..c26ab32999 100644 --- a/sei-cosmos/x/evidence/keeper/querier_test.go +++ b/sei-cosmos/x/evidence/keeper/querier_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "strings" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" seiapp "github.com/sei-protocol/sei-chain/app" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" @@ -30,7 +30,7 @@ func (suite *KeeperTestSuite) TestQuerier_QueryEvidence_Existing() { suite.NotNil(bz) var e exported.Evidence - suite.Nil(legacyCdc.UnmarshalJSON(bz, &e)) + suite.Nil(legacyCdc.UnmarshalAsJSON(bz, &e)) suite.Equal(evidence[0], e) } @@ -66,7 +66,7 @@ func (suite *KeeperTestSuite) TestQuerier_QueryAllEvidence() { suite.NotNil(bz) var e []exported.Evidence - suite.Nil(cdc.UnmarshalJSON(bz, &e)) + suite.Nil(cdc.UnmarshalAsJSON(bz, &e)) suite.Len(e, numEvidence) } @@ -86,6 +86,6 @@ func (suite *KeeperTestSuite) TestQuerier_QueryAllEvidence_InvalidPagination() { suite.NotNil(bz) var e []exported.Evidence - suite.Nil(cdc.UnmarshalJSON(bz, &e)) + suite.Nil(cdc.UnmarshalAsJSON(bz, &e)) suite.Len(e, 0) } diff --git a/sei-cosmos/x/evidence/module.go b/sei-cosmos/x/evidence/module.go index 45c5e3f058..1c209a022a 100644 --- a/sei-cosmos/x/evidence/module.go +++ b/sei-cosmos/x/evidence/module.go @@ -13,18 +13,18 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - eviclient "github.com/cosmos/cosmos-sdk/x/evidence/client" - "github.com/cosmos/cosmos-sdk/x/evidence/client/cli" - "github.com/cosmos/cosmos-sdk/x/evidence/client/rest" - "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence/simulation" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + eviclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) var ( @@ -67,7 +67,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the evidence module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var gs types.GenesisState - if err := cdc.UnmarshalJSON(bz, &gs); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &gs); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } @@ -97,7 +97,7 @@ func (a AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Ro // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the evidence module. func (a AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { - types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) + _ = types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) } // GetTxCmd returns the evidence module's root tx command. @@ -171,7 +171,7 @@ func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry) {} // no validator updates. func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, bz json.RawMessage) []abci.ValidatorUpdate { var gs types.GenesisState - err := cdc.UnmarshalJSON(bz, &gs) + err := cdc.UnmarshalAsJSON(bz, &gs) if err != nil { panic(fmt.Sprintf("failed to unmarshal %s genesis state: %s", types.ModuleName, err)) } diff --git a/sei-cosmos/x/evidence/simulation/decoder.go b/sei-cosmos/x/evidence/simulation/decoder.go index d8c185fd04..b9ed0d45e9 100644 --- a/sei-cosmos/x/evidence/simulation/decoder.go +++ b/sei-cosmos/x/evidence/simulation/decoder.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) type EvidenceUnmarshaler interface { diff --git a/sei-cosmos/x/evidence/simulation/genesis.go b/sei-cosmos/x/evidence/simulation/genesis.go index 640670ebe9..6c232602fb 100644 --- a/sei-cosmos/x/evidence/simulation/genesis.go +++ b/sei-cosmos/x/evidence/simulation/genesis.go @@ -7,10 +7,10 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) // Simulation parameter constants diff --git a/sei-cosmos/x/evidence/types/codec.go b/sei-cosmos/x/evidence/types/codec.go index 9de2743e38..6daabb0cc0 100644 --- a/sei-cosmos/x/evidence/types/codec.go +++ b/sei-cosmos/x/evidence/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" ) // RegisterLegacyAminoCodec registers all the necessary types and interfaces for the diff --git a/sei-cosmos/x/evidence/types/errors.go b/sei-cosmos/x/evidence/types/errors.go index f448027091..a407ac9bf9 100644 --- a/sei-cosmos/x/evidence/types/errors.go +++ b/sei-cosmos/x/evidence/types/errors.go @@ -2,7 +2,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/evidence module sentinel errors diff --git a/sei-cosmos/x/evidence/types/evidence.go b/sei-cosmos/x/evidence/types/evidence.go index 2c5e4585d2..9faa2e132b 100644 --- a/sei-cosmos/x/evidence/types/evidence.go +++ b/sei-cosmos/x/evidence/types/evidence.go @@ -9,8 +9,8 @@ import ( tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" ) // Evidence type constants diff --git a/sei-cosmos/x/evidence/types/evidence.pb.go b/sei-cosmos/x/evidence/types/evidence.pb.go index 9ea2a100a9..dc6f48ed93 100644 --- a/sei-cosmos/x/evidence/types/evidence.pb.go +++ b/sei-cosmos/x/evidence/types/evidence.pb.go @@ -77,28 +77,28 @@ func init() { } var fileDescriptor_dd143e71a177f0dd = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x3f, 0x4f, 0x02, 0x31, - 0x18, 0xc6, 0x5b, 0x41, 0xa2, 0x27, 0x83, 0x5e, 0x88, 0x5e, 0x88, 0x69, 0x09, 0x83, 0x61, 0xe1, - 0x1a, 0x74, 0x31, 0x6c, 0x92, 0x38, 0x18, 0x37, 0xe2, 0xe4, 0x62, 0xee, 0x4f, 0x2d, 0x8d, 0xdc, - 0xbd, 0x27, 0xed, 0xa1, 0x7c, 0x03, 0x47, 0x46, 0x47, 0x46, 0x3f, 0x0a, 0x9b, 0x8c, 0x4e, 0x68, - 0x8e, 0xc5, 0xd9, 0x4f, 0x60, 0xb8, 0x02, 0x0e, 0x4e, 0xed, 0xf3, 0xe4, 0xf7, 0xfe, 0x92, 0xf7, - 0xb5, 0x4e, 0x02, 0x50, 0x11, 0x28, 0xc6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 0x04, 0x7f, 0x65, 0x04, - 0x8f, 0x17, 0x04, 0xcd, 0x16, 0x04, 0x7d, 0x2c, 0x08, 0xba, 0x6d, 0x0a, 0xa9, 0x7b, 0xa9, 0xef, - 0x06, 0x10, 0xb1, 0xd5, 0xc9, 0xcd, 0xd3, 0x54, 0xe1, 0x03, 0x7b, 0xfe, 0xbb, 0xbf, 0x1e, 0x25, - 0x5c, 0xf9, 0xa5, 0x7c, 0xbf, 0xb3, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x61, 0x33, 0x3a, 0x69, - 0x9f, 0x01, 0x00, 0x00, + // 333 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xb1, 0x4f, 0xfa, 0x40, + 0x14, 0xc7, 0xef, 0x7e, 0xf0, 0x23, 0x5a, 0x19, 0xb4, 0x21, 0xda, 0x10, 0x73, 0x47, 0x18, 0x0c, + 0x8b, 0x6d, 0xd0, 0xc5, 0x90, 0x38, 0x48, 0xe2, 0xe0, 0x4a, 0x9c, 0x74, 0x30, 0xed, 0x71, 0xb6, + 0x97, 0xd0, 0xbe, 0xca, 0x5d, 0x51, 0xfe, 0x03, 0x47, 0x46, 0x47, 0x46, 0xff, 0x14, 0x36, 0x19, + 0x9d, 0xd0, 0x94, 0xc5, 0xd9, 0xbf, 0xc0, 0x70, 0x07, 0x75, 0x70, 0x7b, 0xdf, 0x6f, 0x3e, 0xef, + 0x93, 0x97, 0x3c, 0xeb, 0x88, 0x81, 0x8c, 0x41, 0x7a, 0x7c, 0x24, 0xfa, 0x3c, 0x61, 0xdc, 0x1b, + 0xb5, 0x03, 0xae, 0xfc, 0x76, 0x51, 0xb8, 0xe9, 0x10, 0x14, 0xd8, 0x07, 0x86, 0x73, 0x8b, 0x7a, + 0xcd, 0xd5, 0x6b, 0x21, 0x84, 0xa0, 0x19, 0x6f, 0x35, 0x19, 0xbc, 0x4e, 0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 0xbe, 0xf1, 0xf4, 0xfb, 0x0f, 0x35, 0x4e, 0xb9, 0x0c, 0x2a, 0x9a, 0x3f, 0xfd, + 0x09, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x05, 0x73, 0xd3, 0xaf, 0x01, 0x00, 0x00, } func (m *Equivocation) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/evidence/types/evidence_test.go b/sei-cosmos/x/evidence/types/evidence_test.go index 22cbdb56d2..63e9c47a19 100644 --- a/sei-cosmos/x/evidence/types/evidence_test.go +++ b/sei-cosmos/x/evidence/types/evidence_test.go @@ -7,8 +7,8 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) func TestEquivocation_Valid(t *testing.T) { diff --git a/sei-cosmos/x/evidence/types/expected_keepers.go b/sei-cosmos/x/evidence/types/expected_keepers.go index 0f1d87774c..de7770721d 100644 --- a/sei-cosmos/x/evidence/types/expected_keepers.go +++ b/sei-cosmos/x/evidence/types/expected_keepers.go @@ -3,9 +3,9 @@ package types import ( "time" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) type ( diff --git a/sei-cosmos/x/evidence/types/genesis.go b/sei-cosmos/x/evidence/types/genesis.go index b274ea2071..d3103f6e70 100644 --- a/sei-cosmos/x/evidence/types/genesis.go +++ b/sei-cosmos/x/evidence/types/genesis.go @@ -5,8 +5,8 @@ import ( proto "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" ) var _ types.UnpackInterfacesMessage = GenesisState{} diff --git a/sei-cosmos/x/evidence/types/genesis.pb.go b/sei-cosmos/x/evidence/types/genesis.pb.go index 672a0ce8cf..92e2ec2318 100644 --- a/sei-cosmos/x/evidence/types/genesis.pb.go +++ b/sei-cosmos/x/evidence/types/genesis.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" io "io" math "math" math_bits "math/bits" @@ -78,7 +78,7 @@ func init() { } var fileDescriptor_c610c52c26e0e202 = []byte{ - // 195 bytes of a gzipped FileDescriptorProto + // 206 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4d, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x2d, 0xcb, 0x4c, 0x49, 0xcd, 0x4b, 0x4e, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, @@ -86,12 +86,12 @@ var fileDescriptor_c610c52c26e0e202 = []byte{ 0x4f, 0xcf, 0x49, 0xd5, 0x07, 0x2b, 0x4b, 0x2a, 0x4d, 0xd3, 0x4f, 0xcc, 0xab, 0x84, 0xe8, 0x51, 0x72, 0xe0, 0xe2, 0x71, 0x87, 0x18, 0x12, 0x5c, 0x92, 0x58, 0x92, 0x2a, 0x64, 0xc0, 0xc5, 0x01, 0xd3, 0x2e, 0xc1, 0xa8, 0xc0, 0xac, 0xc1, 0x6d, 0x24, 0xa2, 0x07, 0xd1, 0xad, 0x07, 0xd3, 0xad, - 0xe7, 0x98, 0x57, 0x19, 0x04, 0x57, 0xe5, 0xe4, 0x7e, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, + 0xe7, 0x98, 0x57, 0x19, 0x04, 0x57, 0xe5, 0x14, 0x7e, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, - 0x72, 0x0c, 0x51, 0xba, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x50, - 0x1f, 0x40, 0x28, 0xdd, 0xe2, 0x94, 0x6c, 0xfd, 0x0a, 0x84, 0x77, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, - 0x93, 0xd8, 0xc0, 0x16, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x9c, 0x4b, 0xa9, 0xfe, 0xee, - 0x00, 0x00, 0x00, + 0x72, 0x0c, 0x51, 0xb6, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xc5, + 0xa9, 0x99, 0xba, 0x60, 0x03, 0x92, 0xf3, 0x73, 0xc0, 0x9c, 0xe4, 0x8c, 0xc4, 0xcc, 0x3c, 0x08, + 0x0b, 0xe2, 0xb9, 0x0a, 0x84, 0xf7, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xea, 0x8d, + 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xee, 0xf3, 0xc9, 0xfe, 0x00, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/evidence/types/genesis_test.go b/sei-cosmos/x/evidence/types/genesis_test.go index e04dcee0e6..c11bdff0e8 100644 --- a/sei-cosmos/x/evidence/types/genesis_test.go +++ b/sei-cosmos/x/evidence/types/genesis_test.go @@ -8,11 +8,11 @@ import ( tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) func TestDefaultGenesisState(t *testing.T) { diff --git a/sei-cosmos/x/evidence/types/msgs.go b/sei-cosmos/x/evidence/types/msgs.go index 6d3a86ab7c..5429c850e6 100644 --- a/sei-cosmos/x/evidence/types/msgs.go +++ b/sei-cosmos/x/evidence/types/msgs.go @@ -5,10 +5,10 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" ) // Message types for the evidence module @@ -23,8 +23,6 @@ var ( ) // NewMsgSubmitEvidence returns a new MsgSubmitEvidence with a signer/submitter. -// -//nolint:interfacer func NewMsgSubmitEvidence(s sdk.AccAddress, evi exported.Evidence) (*MsgSubmitEvidence, error) { msg, ok := evi.(proto.Message) if !ok { diff --git a/sei-cosmos/x/evidence/types/msgs_test.go b/sei-cosmos/x/evidence/types/msgs_test.go index b591e7fc86..c330af399f 100644 --- a/sei-cosmos/x/evidence/types/msgs_test.go +++ b/sei-cosmos/x/evidence/types/msgs_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) func testMsgSubmitEvidence(t *testing.T, e exported.Evidence, s sdk.AccAddress) exported.MsgSubmitEvidenceI { diff --git a/sei-cosmos/x/evidence/types/querier.go b/sei-cosmos/x/evidence/types/querier.go index c7cc53b572..48a96d1f57 100644 --- a/sei-cosmos/x/evidence/types/querier.go +++ b/sei-cosmos/x/evidence/types/querier.go @@ -3,7 +3,7 @@ package types import ( tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" - query "github.com/cosmos/cosmos-sdk/types/query" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" ) // Querier routes for the evidence module diff --git a/sei-cosmos/x/evidence/types/query.pb.go b/sei-cosmos/x/evidence/types/query.pb.go index 57e99255ff..8ff949b531 100644 --- a/sei-cosmos/x/evidence/types/query.pb.go +++ b/sei-cosmos/x/evidence/types/query.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" github_com_sei_protocol_sei_chain_sei_tendermint_libs_bytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -239,37 +239,37 @@ func init() { } var fileDescriptor_07043de1a84d215a = []byte{ - // 480 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xbf, 0x6f, 0x13, 0x31, - 0x14, 0xc7, 0xe3, 0x20, 0x50, 0xe5, 0x96, 0xc5, 0x0a, 0x6a, 0x89, 0xd0, 0x01, 0x57, 0x89, 0x5f, - 0x52, 0xec, 0xa6, 0x9d, 0x18, 0x1b, 0x01, 0x0d, 0x1b, 0x64, 0x64, 0x41, 0xbe, 0xcb, 0xe3, 0xce, - 0xe2, 0x62, 0x5f, 0x63, 0xa7, 0xea, 0x09, 0xb1, 0x20, 0xb1, 0x23, 0x21, 0x46, 0x36, 0xfe, 0x18, - 0x26, 0x54, 0x89, 0x85, 0x09, 0xa1, 0x84, 0xbf, 0x82, 0x09, 0x9d, 0xed, 0x4b, 0xaf, 0x3f, 0x42, - 0xe8, 0x74, 0xef, 0xec, 0xf7, 0xfd, 0xbe, 0x8f, 0xdf, 0xb3, 0xf1, 0x66, 0xac, 0xf4, 0x48, 0x69, - 0x06, 0x07, 0x62, 0x08, 0x32, 0x06, 0x76, 0xd0, 0x8d, 0xc0, 0xf0, 0x2e, 0xdb, 0x9f, 0xc0, 0xb8, - 0xa0, 0xf9, 0x58, 0x19, 0x45, 0xd6, 0x5d, 0x12, 0xad, 0x92, 0xa8, 0x4f, 0x6a, 0x3f, 0xf0, 0xea, - 0x88, 0x6b, 0x70, 0x8a, 0xb9, 0x3e, 0xe7, 0x89, 0x90,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 0x3b, 0xa8, 0x29, 0xc3, 0x4f, 0x08, 0x6f, 0x9c, 0xad, 0x71, 0x2e, 0xf1, 0xa5, 0xe5, 0xc4, 0x64, - 0xef, 0x04, 0x56, 0xd3, 0x62, 0xdd, 0x5d, 0x8a, 0xe5, 0xca, 0xd5, 0xb9, 0xb6, 0xbf, 0x35, 0xf1, - 0x65, 0xcb, 0x45, 0xbe, 0x20, 0xbc, 0x52, 0x91, 0x91, 0x0e, 0x5d, 0x70, 0xf3, 0xe8, 0x79, 0xa3, - 0x6f, 0xd3, 0xff, 0x4d, 0x77, 0x04, 0xe1, 0xc3, 0x77, 0xdf, 0x7f, 0x7f, 0x6c, 0xee, 0x90, 0x2e, - 0x5b, 0xf4, 0x0a, 0xe6, 0x0b, 0x6f, 0x4e, 0xdc, 0xa9, 0xb7, 0xe4, 0x33, 0xc2, 0xab, 0xb5, 0x1e, - 0x92, 0xad, 0x7f, 0x97, 0x3e, 0x3b, 0xd2, 0x76, 0xf7, 0x02, 0x0a, 0xcf, 0x7b, 0xdf, 0xf2, 0x6e, - 0x92, 0xdb, 0x4b, 0x79, 0x7b, 0x7b, 0x5f, 0xa7, 0x01, 0x3a, 0x9a, 0x06, 0xe8, 0xd7, 0x34, 0x40, - 0x1f, 0x66, 0x41, 0xe3, 0x68, 0x16, 0x34, 0x7e, 0xcc, 0x82, 0xc6, 0x8b, 0x4e, 0xed, 0x11, 0x78, - 0x1b, 0xf7, 0xe9, 0xe8, 0xe1, 0x6b, 0x76, 0x78, 0xec, 0x69, 0x8a, 0x1c, 0x74, 0x74, 0xc5, 0x8e, - 0x7e, 0xe7, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x35, 0x8f, 0xed, 0x5b, 0x29, 0x04, 0x00, 0x00, + // 476 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xbf, 0x6f, 0xd4, 0x30, + 0x14, 0xc7, 0xcf, 0x87, 0x40, 0x95, 0x5b, 0x16, 0xeb, 0x50, 0xcb, 0x09, 0x05, 0x48, 0x25, 0x7e, + 0x49, 0xb5, 0x9b, 0x76, 0x62, 0x60, 0xe8, 0x89, 0x1f, 0xc7, 0x06, 0x59, 0x90, 0x58, 0x90, 0x93, + 0x3e, 0x12, 0x4b, 0x89, 0x9d, 0x9e, 0x9d, 0xaa, 0x11, 0x62, 0x41, 0x62, 0x47, 0x42, 0x8c, 0x6c, + 0xfc, 0x31, 0x4c, 0xa8, 0x12, 0x0b, 0x13, 0x42, 0x77, 0xfc, 0x15, 0x4c, 0x28, 0x8e, 0x73, 0xbd, + 0xfe, 0xe2, 0x8e, 0xed, 0xd9, 0xfe, 0x7e, 0xdf, 0xfb, 0xf8, 0x3d, 0x1b, 0xaf, 0xc7, 0x4a, 0xe7, + 0x4a, 0x33, 0xd8, 0x17, 0xbb, 0x20, 0x63, 0x60, 0xfb, 0x41, 0x04, 0x86, 0x07, 0x6c, 0xaf, 0x84, + 0x51, 0x45, 0x8b, 0x91, 0x32, 0x8a, 0xac, 0x36, 0x22, 0xda, 0x8a, 0xa8, 0x13, 0xf5, 0xef, 0x39, + 0x77, 0xc4, 0x35, 0x34, 0x8e, 0xa9, 0xbf, 0xe0, 0x89, 0x90, 0xdc, 0x08, 0x25, 0x9b, 0x24, 0xfd, + 0x5e, 0xa2, 0x12, 0x65, 0x43, 0x56, 0x47, 0x6e, 0xf7, 0x5a, 0xa2, 0x54, 0x92, 0x01, 0xe3, 0x85, + 0x60, 0x5c, 0x4a, 0x65, 0xac, 0x45, 0xbb, 0xd3, 0xab, 0xee, 0xd4, 0xae, 0xa2, 0xf2, 0x35, 0xe3, + 0xd2, 0x31, 0xf9, 0xef, 0x11, 0xee, 0x3d, 0xaf, 0x2b, 0x3e, 0x72, 0x50, 0x21, 0xec, 0x95, 0xa0, + 0x0d, 0xc9, 0xf1, 0xe5, 0x96, 0xf3, 0x55, 0xca, 0x75, 0xba, 0x86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 0x9d, 0xf7, 0x0b, 0xa6, 0x1b, 0x6f, 0x8e, 0xbd, 0xa9, 0xb7, 0xe4, 0x33, 0xc2, 0xcb, 0x33, + 0x3d, 0x24, 0x9b, 0xff, 0x2e, 0x7d, 0x7a, 0xa4, 0xfd, 0xe0, 0x3f, 0x1c, 0x8e, 0xf7, 0xae, 0xe5, + 0x5d, 0x27, 0x37, 0xe7, 0xf2, 0x0e, 0x5e, 0x7c, 0x1d, 0x7b, 0xe8, 0x70, 0xec, 0xa1, 0x5f, 0x63, + 0x0f, 0x7d, 0x98, 0x78, 0x9d, 0xc3, 0x89, 0xd7, 0xf9, 0x31, 0xf1, 0x3a, 0x2f, 0x1f, 0x2c, 0xf6, + 0x09, 0x5c, 0x85, 0x83, 0xa3, 0x1a, 0xa6, 0x2a, 0x40, 0x47, 0x97, 0xac, 0x7e, 0xfb, 0x6f, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x3d, 0x3d, 0x64, 0x07, 0x39, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/evidence/types/router.go b/sei-cosmos/x/evidence/types/router.go index 343c72e41d..8bb89f51ed 100644 --- a/sei-cosmos/x/evidence/types/router.go +++ b/sei-cosmos/x/evidence/types/router.go @@ -3,8 +3,8 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" ) type ( diff --git a/sei-cosmos/x/evidence/types/router_test.go b/sei-cosmos/x/evidence/types/router_test.go index 01e942e9ea..55cc16c7af 100644 --- a/sei-cosmos/x/evidence/types/router_test.go +++ b/sei-cosmos/x/evidence/types/router_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/evidence/exported" - "github.com/cosmos/cosmos-sdk/x/evidence/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" ) func testHandler(sdk.Context, exported.Evidence) error { return nil } diff --git a/sei-cosmos/x/evidence/types/tx.pb.go b/sei-cosmos/x/evidence/types/tx.pb.go index a1fb3774aa..75f240e145 100644 --- a/sei-cosmos/x/evidence/types/tx.pb.go +++ b/sei-cosmos/x/evidence/types/tx.pb.go @@ -7,11 +7,11 @@ import ( bytes "bytes" context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -125,7 +125,7 @@ func init() { func init() { proto.RegisterFile("cosmos/evidence/v1beta1/tx.proto", fileDescriptor_3e3242cb23c956e0) } var fileDescriptor_3e3242cb23c956e0 = []byte{ - // 316 bytes of a gzipped FileDescriptorProto + // 328 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x2d, 0xcb, 0x4c, 0x49, 0xcd, 0x4b, 0x4e, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x87, 0xa8, @@ -140,12 +140,13 @@ var fileDescriptor_3e3242cb23c956e0 = []byte{ 0x33, 0x28, 0xe9, 0x73, 0x49, 0x62, 0x58, 0x1e, 0x94, 0x5a, 0x5c, 0x90, 0x9f, 0x57, 0x9c, 0x2a, 0x24, 0xc4, 0xc5, 0x92, 0x91, 0x58, 0x9c, 0x21, 0xc1, 0xa2, 0xc0, 0xa8, 0xc1, 0x13, 0x04, 0x66, 0x1b, 0x95, 0x73, 0x31, 0xfb, 0x16, 0xa7, 0x0b, 0x15, 0x70, 0xf1, 0xa1, 0xb9, 0x58, 0x4b, 0x0f, - 0x47, 0x60, 0xe9, 0x61, 0x58, 0x20, 0x65, 0x44, 0xbc, 0x5a, 0x98, 0x63, 0x9c, 0xbc, 0x57, 0x3c, + 0x47, 0x60, 0xe9, 0x61, 0x58, 0x20, 0x65, 0x44, 0xbc, 0x5a, 0x98, 0x63, 0x9c, 0xa2, 0x57, 0x3c, 0x92, 0x63, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, - 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xdd, 0xf4, 0xcc, - 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x68, 0x74, 0x40, 0x29, 0xdd, 0xe2, 0x94, 0x6c, - 0xfd, 0x0a, 0x44, 0x1c, 0x97, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x83, 0xc9, 0x18, 0x10, - 0x00, 0x00, 0xff, 0xff, 0x3b, 0x32, 0x0c, 0xe3, 0x03, 0x02, 0x00, 0x00, + 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xdb, 0xf4, 0xcc, + 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0xe2, 0xd4, 0x4c, 0x5d, 0x70, 0x30, 0x24, + 0xe7, 0xe7, 0x80, 0x39, 0xc9, 0x19, 0x89, 0x99, 0x79, 0x10, 0x16, 0x24, 0xc6, 0x2b, 0x10, 0x71, + 0x5e, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x56, 0x6f, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, + 0x66, 0xe0, 0x43, 0x9f, 0x13, 0x02, 0x00, 0x00, } func (this *MsgSubmitEvidenceResponse) Equal(that interface{}) bool { diff --git a/sei-cosmos/x/feegrant/basic_fee.go b/sei-cosmos/x/feegrant/basic_fee.go index 85ba8ab256..3df5d264e6 100644 --- a/sei-cosmos/x/feegrant/basic_fee.go +++ b/sei-cosmos/x/feegrant/basic_fee.go @@ -1,8 +1,8 @@ package feegrant import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) var _ FeeAllowanceI = (*BasicAllowance)(nil) diff --git a/sei-cosmos/x/feegrant/basic_fee_test.go b/sei-cosmos/x/feegrant/basic_fee_test.go index 058fb2eee7..5a8ead554b 100644 --- a/sei-cosmos/x/feegrant/basic_fee_test.go +++ b/sei-cosmos/x/feegrant/basic_fee_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) func TestBasicFeeValidAllow(t *testing.T) { diff --git a/sei-cosmos/x/feegrant/client/cli/query.go b/sei-cosmos/x/feegrant/client/cli/query.go index fe1323e0af..d8c65272c7 100644 --- a/sei-cosmos/x/feegrant/client/cli/query.go +++ b/sei-cosmos/x/feegrant/client/cli/query.go @@ -6,11 +6,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) // GetQueryCmd returns the cli query commands for this module diff --git a/sei-cosmos/x/feegrant/client/cli/tx.go b/sei-cosmos/x/feegrant/client/cli/tx.go index 66022abfa9..dd4d11acfb 100644 --- a/sei-cosmos/x/feegrant/client/cli/tx.go +++ b/sei-cosmos/x/feegrant/client/cli/tx.go @@ -7,12 +7,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) // flag for feegrant module @@ -64,7 +64,9 @@ Examples: Args: cobra.ExactArgs(2), RunE: func(cmd *cobra.Command, args []string) error { - cmd.Flags().Set(flags.FlagFrom, args[0]) + if err := cmd.Flags().Set(flags.FlagFrom, args[0]); err != nil { + return err + } clientCtx, err := client.GetClientTxContext(cmd) if err != nil { return err @@ -195,7 +197,10 @@ Example: ), Args: cobra.ExactArgs(2), RunE: func(cmd *cobra.Command, args []string) error { - cmd.Flags().Set(flags.FlagFrom, args[0]) + + if err := cmd.Flags().Set(flags.FlagFrom, args[0]); err != nil { + return err + } clientCtx, err := client.GetClientTxContext(cmd) if err != nil { return err diff --git a/sei-cosmos/x/feegrant/client/testutil/cli_test.go b/sei-cosmos/x/feegrant/client/testutil/cli_test.go index 9814e9573b..d1312753ab 100644 --- a/sei-cosmos/x/feegrant/client/testutil/cli_test.go +++ b/sei-cosmos/x/feegrant/client/testutil/cli_test.go @@ -6,7 +6,7 @@ package testutil import ( "testing" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/sei-cosmos/x/feegrant/client/testutil/suite.go b/sei-cosmos/x/feegrant/client/testutil/suite.go index 280fdea7ca..abc8a0e619 100644 --- a/sei-cosmos/x/feegrant/client/testutil/suite.go +++ b/sei-cosmos/x/feegrant/client/testutil/suite.go @@ -10,18 +10,18 @@ import ( tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" - "github.com/cosmos/cosmos-sdk/x/feegrant/client/cli" - govtestutil "github.com/cosmos/cosmos-sdk/x/gov/client/testutil" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/client/cli" + govtestutil "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/testutil" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) const ( @@ -179,7 +179,7 @@ func (s *IntegrationTestSuite) TestCmdGetFeeGrant() { s.Require().Contains(err.Error(), tc.expectErrMsg) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) s.Require().Equal(tc.respType.Grantee, tc.respType.Grantee) s.Require().Equal(tc.respType.Granter, tc.respType.Granter) grant, err := tc.respType.GetGrant() @@ -244,7 +244,7 @@ func (s *IntegrationTestSuite) TestCmdGetFeeGrantsByGrantee() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.resp), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.resp), out.String()) s.Require().Len(tc.resp.Allowances, tc.expectLength) } }) @@ -300,7 +300,7 @@ func (s *IntegrationTestSuite) TestCmdGetFeeGrantsByGranter() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.resp), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.resp), out.String()) s.Require().Len(tc.resp.Allowances, tc.expectLength) } }) @@ -593,7 +593,7 @@ func (s *IntegrationTestSuite) TestNewCmdFeeGrant() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) @@ -700,7 +700,7 @@ func (s *IntegrationTestSuite) TestNewCmdRevokeFeegrant() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) @@ -754,7 +754,7 @@ func (s *IntegrationTestSuite) TestTxWithFeeGrant() { s.Require().NoError(err) var resp sdk.TxResponse - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &resp), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &resp), out.String()) s.Require().Equal(uint32(0), resp.Code) } @@ -839,7 +839,7 @@ func (s *IntegrationTestSuite) TestFilteredFeeAllowance() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) @@ -860,7 +860,7 @@ func (s *IntegrationTestSuite) TestFilteredFeeAllowance() { resp := &feegrant.Grant{} - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), resp), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), resp), out.String()) s.Require().Equal(resp.Grantee, resp.Grantee) s.Require().Equal(resp.Granter, resp.Granter) @@ -929,7 +929,7 @@ func (s *IntegrationTestSuite) TestFilteredFeeAllowance() { s.Run(tc.name, func() { out, err := tc.malleate() s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) }) diff --git a/sei-cosmos/x/feegrant/codec.go b/sei-cosmos/x/feegrant/codec.go index 7e307f4219..3cb48d9168 100644 --- a/sei-cosmos/x/feegrant/codec.go +++ b/sei-cosmos/x/feegrant/codec.go @@ -1,9 +1,9 @@ package feegrant import ( - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" ) // RegisterInterfaces registers the interfaces types with the interface registry diff --git a/sei-cosmos/x/feegrant/errors.go b/sei-cosmos/x/feegrant/errors.go index 232020e6a2..cb79f07f3a 100644 --- a/sei-cosmos/x/feegrant/errors.go +++ b/sei-cosmos/x/feegrant/errors.go @@ -1,7 +1,7 @@ package feegrant import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Codes for governance errors diff --git a/sei-cosmos/x/feegrant/expected_keepers.go b/sei-cosmos/x/feegrant/expected_keepers.go index eb5d4bf044..350d6a1a88 100644 --- a/sei-cosmos/x/feegrant/expected_keepers.go +++ b/sei-cosmos/x/feegrant/expected_keepers.go @@ -1,8 +1,8 @@ package feegrant import ( - sdk "github.com/cosmos/cosmos-sdk/types" - auth "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + auth "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // AccountKeeper defines the expected auth Account Keeper (noalias) diff --git a/sei-cosmos/x/feegrant/feegrant.pb.go b/sei-cosmos/x/feegrant/feegrant.pb.go index 40b6d22f4f..be9c328d2b 100644 --- a/sei-cosmos/x/feegrant/feegrant.pb.go +++ b/sei-cosmos/x/feegrant/feegrant.pb.go @@ -5,14 +5,14 @@ package feegrant import ( fmt "fmt" - types2 "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/gogo/protobuf/types" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "github.com/regen-network/cosmos-proto" + types2 "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -37,7 +37,7 @@ type BasicAllowance struct { // spend_limit specifies the maximum amount of tokens that can be spent // by this allowance and will be updated as tokens are spent. If it is // empty, there is no spend limit and any amount of coins can be spent. - SpendLimit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=spend_limit,json=spendLimit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"spend_limit"` + SpendLimit github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,1,rep,name=spend_limit,json=spendLimit,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"spend_limit"` // expiration specifies an optional time when this allowance expires Expiration *time.Time `protobuf:"bytes,2,opt,name=expiration,proto3,stdtime" json:"expiration,omitempty"` } @@ -75,7 +75,7 @@ func (m *BasicAllowance) XXX_DiscardUnknown() { var xxx_messageInfo_BasicAllowance proto.InternalMessageInfo -func (m *BasicAllowance) GetSpendLimit() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *BasicAllowance) GetSpendLimit() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.SpendLimit } @@ -99,9 +99,9 @@ type PeriodicAllowance struct { Period time.Duration `protobuf:"bytes,2,opt,name=period,proto3,stdduration" json:"period"` // period_spend_limit specifies the maximum number of coins that can be spent // in the period - PeriodSpendLimit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=period_spend_limit,json=periodSpendLimit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"period_spend_limit"` + PeriodSpendLimit github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,3,rep,name=period_spend_limit,json=periodSpendLimit,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"period_spend_limit"` // period_can_spend is the number of coins left to be spent before the period_reset time - PeriodCanSpend github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=period_can_spend,json=periodCanSpend,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"period_can_spend"` + PeriodCanSpend github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,4,rep,name=period_can_spend,json=periodCanSpend,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"period_can_spend"` // period_reset is the time at which this period resets and a new one begins, // it is calculated from the start time of the first transaction after the // last period ended @@ -155,14 +155,14 @@ func (m *PeriodicAllowance) GetPeriod() time.Duration { return 0 } -func (m *PeriodicAllowance) GetPeriodSpendLimit() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *PeriodicAllowance) GetPeriodSpendLimit() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.PeriodSpendLimit } return nil } -func (m *PeriodicAllowance) GetPeriodCanSpend() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *PeriodicAllowance) GetPeriodCanSpend() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.PeriodCanSpend } @@ -293,43 +293,44 @@ func init() { } var fileDescriptor_7279582900c30aea = []byte{ - // 563 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xbf, 0x6f, 0xd3, 0x40, - 0x14, 0x8e, 0x9b, 0xa4, 0x90, 0x0b, 0x94, 0xc6, 0x14, 0xe1, 0x64, 0x70, 0xa2, 0x0e, 0x34, 0x0c, - 0xb5, 0x69, 0xd9, 0xca, 0x42, 0x1c, 0xa0, 0x42, 0xa2, 0x12, 0x32, 0x4c, 0x2c, 0xd1, 0xd9, 0x79, - 0x35, 0x27, 0x6c, 0x9f, 0xe5, 0xbb, 0x40, 0xb3, 0x32, 0x31, 0x76, 0x64, 0x42, 0xcc, 0xcc, 0xfc, - 0x11, 0x15, 0x53, 0x05, 0x0b, 0x13, 0x45, 0xc9, 0x3f, 0x82, 0x7c, 0x77, 0x76, 0x42, 0xc2, 0x0f, - 0xa9, 0xea, 0xe4, 0x7b, 0xef, 0xdd, 0xf7, 0xbe, 0xef, 0x7b, 0xef, 0x64, 0x74, 0xcb, 0xa7, 0x2c, - 0xa2, 0xcc, 0x3e, 0x04, 0x08, 0x52, 0x1c, 0x73, 0xfb, 0xf5, 0x8e, 0x07, 0x1c, 0xef, 0x14, 0x09, - 0x2b, 0x49, 0x29, 0xa7, 0xfa, 0x4d, 0x79, 0xcf, 0x2a, 0xd2, 0xea, 0x5e, 0xcb, 0x54, 0x0d, 0x3c, - 0xcc, 0xa0, 0x00, 0xfb, 0x94, 0xc4, 0x12, 0xd8, 0x6a, 0xca, 0xfa, 0x40, 0x44, 0xb6, 0xea, 0x22, - 0x4b, 0x1b, 0x01, 0x0d, 0xa8, 0xcc, 0x67, 0xa7, 0x1c, 0x10, 0x50, 0x1a, 0x84, 0x60, 0x8b, 0xc8, - 0x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31, 0xb5, 0xe3, 0xa9, - 0x59, 0x3a, 0x9d, 0x9a, 0xa5, 0xef, 0x53, 0xb3, 0xf4, 0x62, 0xeb, 0x9f, 0x5b, 0x3d, 0x2a, 0x7e, - 0x78, 0xde, 0xaa, 0xa0, 0xbb, 0xfb, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x54, 0x67, 0xc1, 0xe9, 0x1b, - 0x05, 0x00, 0x00, + // 578 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xbf, 0x6f, 0xd3, 0x40, + 0x14, 0xce, 0x35, 0x69, 0x21, 0x17, 0x28, 0x8d, 0x29, 0xc2, 0xc9, 0xe0, 0x44, 0x1d, 0x20, 0x0c, + 0xb5, 0xd5, 0x32, 0x80, 0xca, 0xd2, 0x3a, 0x40, 0x85, 0x44, 0x25, 0x30, 0x4c, 0x2c, 0xd1, 0xd9, + 0x79, 0x75, 0x4f, 0xb2, 0x7d, 0x96, 0xcf, 0x81, 0x46, 0x62, 0x42, 0xaa, 0x04, 0x5b, 0x47, 0x26, + 0xc4, 0xcc, 0xcc, 0x1f, 0x51, 0x31, 0x55, 0x4c, 0x4c, 0x14, 0x25, 0xff, 0x08, 0xf2, 0xdd, 0xd9, + 0x09, 0x09, 0x08, 0x81, 0xd4, 0xcd, 0xef, 0xc7, 0xf7, 0xde, 0xf7, 0xbd, 0xfb, 0x64, 0x7c, 0xc3, + 0x63, 0x3c, 0x64, 0xdc, 0xda, 0x07, 0xf0, 0x13, 0x12, 0xa5, 0xd6, 0xcb, 0x0d, 0x17, 0x52, 0xb2, + 0x51, 0x24, 0xcc, 0x38, 0x61, 0x29, 0xd3, 0xae, 0xcb, 0x3e, 0xb3, 0x48, 0xab, 0xbe, 0xa6, 0xa1, + 0x06, 0xb8, 0x84, 0x43, 0x01, 0xf6, 0x18, 0x8d, 0x24, 0xb0, 0xd9, 0x90, 0xf5, 0x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3, 0x74, 0x7c, 0x41, 0x98, 0x10, 0x12, + 0x41, 0xa8, 0xea, 0xe4, 0xe1, 0xa4, 0x02, 0xc2, 0x72, 0x45, 0x65, 0x46, 0x46, 0xf9, 0x7f, 0x65, + 0xd8, 0x4f, 0x4f, 0x46, 0x06, 0x3a, 0x1d, 0x19, 0xe8, 0xc7, 0xc8, 0x40, 0xc7, 0x63, 0xa3, 0x74, + 0x3a, 0x36, 0x4a, 0xdf, 0xc6, 0x46, 0xe9, 0xc5, 0x9d, 0x7f, 0x7a, 0xe5, 0xc3, 0xe2, 0x97, 0xe9, + 0x2e, 0x89, 0xce, 0xdb, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x68, 0x68, 0x64, 0x5d, 0x05, + 0x00, 0x00, } func (m *BasicAllowance) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/feegrant/fees.go b/sei-cosmos/x/feegrant/fees.go index bd8c682608..c7e20aabf5 100644 --- a/sei-cosmos/x/feegrant/fees.go +++ b/sei-cosmos/x/feegrant/fees.go @@ -1,7 +1,7 @@ package feegrant import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // FeeAllowance implementations are tied to a given fee delegator and delegatee, diff --git a/sei-cosmos/x/feegrant/filtered_fee.go b/sei-cosmos/x/feegrant/filtered_fee.go index b343ee6ea2..5f043889be 100644 --- a/sei-cosmos/x/feegrant/filtered_fee.go +++ b/sei-cosmos/x/feegrant/filtered_fee.go @@ -3,9 +3,9 @@ package feegrant import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // TODO: Revisit this once we have propoer gas fee framework. diff --git a/sei-cosmos/x/feegrant/filtered_fee_test.go b/sei-cosmos/x/feegrant/filtered_fee_test.go index c9c0c47b46..151f449c3a 100644 --- a/sei-cosmos/x/feegrant/filtered_fee_test.go +++ b/sei-cosmos/x/feegrant/filtered_fee_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) func TestFilteredFeeValidAllow(t *testing.T) { diff --git a/sei-cosmos/x/feegrant/genesis.go b/sei-cosmos/x/feegrant/genesis.go index 83b29baeb8..abc5527615 100644 --- a/sei-cosmos/x/feegrant/genesis.go +++ b/sei-cosmos/x/feegrant/genesis.go @@ -1,7 +1,7 @@ package feegrant import ( - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) var _ types.UnpackInterfacesMessage = GenesisState{} diff --git a/sei-cosmos/x/feegrant/genesis.pb.go b/sei-cosmos/x/feegrant/genesis.pb.go index b42e304c38..43e9f27286 100644 --- a/sei-cosmos/x/feegrant/genesis.pb.go +++ b/sei-cosmos/x/feegrant/genesis.pb.go @@ -77,7 +77,7 @@ func init() { } var fileDescriptor_ac719d2d0954d1bf = []byte{ - // 202 bytes of a gzipped FileDescriptorProto + // 213 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4d, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x4b, 0x4d, 0x4d, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, @@ -86,11 +86,12 @@ var fileDescriptor_ac719d2d0954d1bf = []byte{ 0x95, 0x42, 0xb8, 0x78, 0xdc, 0x21, 0xf6, 0x04, 0x97, 0x24, 0x96, 0xa4, 0x0a, 0xb9, 0x70, 0x71, 0x25, 0xe6, 0xe4, 0xe4, 0x97, 0x27, 0xe6, 0x25, 0xa7, 0x16, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x1b, 0xc9, 0xe9, 0xe1, 0xb0, 0x5b, 0xcf, 0x1d, 0xc4, 0x73, 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, - 0x08, 0x49, 0x9f, 0x93, 0xe3, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, - 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xa9, - 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x1d, 0x0e, 0xa1, 0x74, - 0x8b, 0x53, 0xb2, 0xf5, 0x2b, 0xe0, 0x8e, 0x4e, 0x62, 0x03, 0xbb, 0xcf, 0x18, 0x10, 0x00, 0x00, - 0xff, 0xff, 0x1d, 0x8e, 0xaa, 0xc8, 0x1f, 0x01, 0x00, 0x00, + 0x08, 0x49, 0x9f, 0x53, 0xe0, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, + 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x99, + 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x17, 0xa7, 0x66, 0xea, 0x82, + 0x5d, 0x91, 0x9c, 0x9f, 0x03, 0xe6, 0x24, 0x67, 0x24, 0x66, 0xe6, 0x41, 0x58, 0x10, 0x3f, 0x55, + 0xc0, 0x3d, 0x91, 0xc4, 0x06, 0x56, 0x69, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x68, 0x93, 0xfe, + 0xc7, 0x2f, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/feegrant/grant.go b/sei-cosmos/x/feegrant/grant.go index 6e72bc814a..0fee20beb6 100644 --- a/sei-cosmos/x/feegrant/grant.go +++ b/sei-cosmos/x/feegrant/grant.go @@ -3,9 +3,9 @@ package feegrant import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) var ( @@ -13,8 +13,6 @@ var ( ) // NewGrant creates a new FeeAllowanceGrant. -// -//nolint:interfacer func NewGrant(granter, grantee sdk.AccAddress, feeAllowance FeeAllowanceI) (Grant, error) { msg, ok := feeAllowance.(proto.Message) if !ok { diff --git a/sei-cosmos/x/feegrant/grant_test.go b/sei-cosmos/x/feegrant/grant_test.go index 0b9cbef8d2..0224d408aa 100644 --- a/sei-cosmos/x/feegrant/grant_test.go +++ b/sei-cosmos/x/feegrant/grant_test.go @@ -7,9 +7,9 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) func TestGrant(t *testing.T) { diff --git a/sei-cosmos/x/feegrant/keeper/genesis_test.go b/sei-cosmos/x/feegrant/keeper/genesis_test.go index 12fcfbfab0..cca9745b20 100644 --- a/sei-cosmos/x/feegrant/keeper/genesis_test.go +++ b/sei-cosmos/x/feegrant/keeper/genesis_test.go @@ -6,13 +6,13 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" - "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" seiapp "github.com/sei-protocol/sei-chain/app" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/keeper" ) type GenesisTestSuite struct { diff --git a/sei-cosmos/x/feegrant/keeper/grpc_query.go b/sei-cosmos/x/feegrant/keeper/grpc_query.go index 34ab74415e..d0b61c7b71 100644 --- a/sei-cosmos/x/feegrant/keeper/grpc_query.go +++ b/sei-cosmos/x/feegrant/keeper/grpc_query.go @@ -7,11 +7,11 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/feegrant" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) var _ feegrant.QueryServer = Keeper{} diff --git a/sei-cosmos/x/feegrant/keeper/grpc_query_test.go b/sei-cosmos/x/feegrant/keeper/grpc_query_test.go index 67149e756c..10a2fcb00f 100644 --- a/sei-cosmos/x/feegrant/keeper/grpc_query_test.go +++ b/sei-cosmos/x/feegrant/keeper/grpc_query_test.go @@ -1,8 +1,8 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) func (suite *KeeperTestSuite) TestFeeAllowance() { diff --git a/sei-cosmos/x/feegrant/keeper/keeper.go b/sei-cosmos/x/feegrant/keeper/keeper.go index 274036514f..c536f710a8 100644 --- a/sei-cosmos/x/feegrant/keeper/keeper.go +++ b/sei-cosmos/x/feegrant/keeper/keeper.go @@ -5,11 +5,11 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/cosmos/cosmos-sdk/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) // Keeper manages state of all fee grants, as well as calculating approval. @@ -127,7 +127,7 @@ func (k Keeper) getGrant(ctx sdk.Context, granter sdk.AccAddress, grantee sdk.Ac func (k Keeper) IterateAllFeeAllowances(ctx sdk.Context, cb func(grant feegrant.Grant) bool) error { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, feegrant.FeeAllowanceKeyPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() stop := false for ; iter.Valid() && !stop; iter.Next() { @@ -159,7 +159,7 @@ func (k Keeper) UseGrantedFees(ctx sdk.Context, granter, grantee sdk.AccAddress, if remove { // Ignoring the `revokeFeeAllowance` error, because the user has enough grants to perform this transaction. - k.revokeAllowance(ctx, granter, grantee) + _ = k.revokeAllowance(ctx, granter, grantee) if err != nil { return err } @@ -168,11 +168,9 @@ func (k Keeper) UseGrantedFees(ctx sdk.Context, granter, grantee sdk.AccAddress, return nil } - if err != nil { return err } - emitUseGrantEvent(ctx, granter.String(), grantee.String()) // if fee allowance is accepted, store the updated state of the allowance diff --git a/sei-cosmos/x/feegrant/keeper/keeper_test.go b/sei-cosmos/x/feegrant/keeper/keeper_test.go index 8a95db5d3c..7fa0734e09 100644 --- a/sei-cosmos/x/feegrant/keeper/keeper_test.go +++ b/sei-cosmos/x/feegrant/keeper/keeper_test.go @@ -7,10 +7,10 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" - "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/keeper" ) type KeeperTestSuite struct { diff --git a/sei-cosmos/x/feegrant/keeper/msg_server.go b/sei-cosmos/x/feegrant/keeper/msg_server.go index 044e7b57e1..2026034667 100644 --- a/sei-cosmos/x/feegrant/keeper/msg_server.go +++ b/sei-cosmos/x/feegrant/keeper/msg_server.go @@ -3,10 +3,10 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/feegrant" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) type msgServer struct { @@ -38,7 +38,7 @@ func (k msgServer) GrantAllowance(goCtx context.Context, msg *feegrant.MsgGrantA } // Checking for duplicate entry - if f, _ := k.Keeper.GetAllowance(ctx, granter, grantee); f != nil { + if f, _ := k.GetAllowance(ctx, granter, grantee); f != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "fee allowance already exists") } @@ -69,7 +69,7 @@ func (k msgServer) RevokeAllowance(goCtx context.Context, msg *feegrant.MsgRevok return nil, err } - err = k.Keeper.revokeAllowance(ctx, granter, grantee) + err = k.revokeAllowance(ctx, granter, grantee) if err != nil { return nil, err } diff --git a/sei-cosmos/x/feegrant/keeper/msg_server_test.go b/sei-cosmos/x/feegrant/keeper/msg_server_test.go index 40d3443973..2578f9997b 100644 --- a/sei-cosmos/x/feegrant/keeper/msg_server_test.go +++ b/sei-cosmos/x/feegrant/keeper/msg_server_test.go @@ -1,9 +1,9 @@ package keeper_test import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) func (suite *KeeperTestSuite) TestGrantAllowance() { diff --git a/sei-cosmos/x/feegrant/key.go b/sei-cosmos/x/feegrant/key.go index 70f6eaa440..d1a489821a 100644 --- a/sei-cosmos/x/feegrant/key.go +++ b/sei-cosmos/x/feegrant/key.go @@ -1,9 +1,9 @@ package feegrant import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/types/kv" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) const ( diff --git a/sei-cosmos/x/feegrant/key_test.go b/sei-cosmos/x/feegrant/key_test.go index 43866132b9..65cecbd00a 100644 --- a/sei-cosmos/x/feegrant/key_test.go +++ b/sei-cosmos/x/feegrant/key_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) func TestMarshalAndUnmarshalFeegrantKey(t *testing.T) { diff --git a/sei-cosmos/x/feegrant/module/module.go b/sei-cosmos/x/feegrant/module/module.go index 62b91fdeb0..a3e45ac856 100644 --- a/sei-cosmos/x/feegrant/module/module.go +++ b/sei-cosmos/x/feegrant/module/module.go @@ -11,18 +11,17 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - sdkclient "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/feegrant" - "github.com/cosmos/cosmos-sdk/x/feegrant/client/cli" - "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" - "github.com/cosmos/cosmos-sdk/x/feegrant/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/simulation" ) var ( @@ -73,10 +72,10 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { } // ValidateGenesis performs genesis state validation for the feegrant module. -func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config sdkclient.TxEncodingConfig, bz json.RawMessage) error { +func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var data feegrant.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { - sdkerrors.Wrapf(err, "failed to unmarshal %s genesis state", feegrant.ModuleName) + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { + return sdkerrors.Wrapf(err, "failed to unmarshal %s genesis state", feegrant.ModuleName) } return feegrant.ValidateGenesis(data) @@ -93,11 +92,11 @@ func (am AppModuleBasic) ValidateGenesisStream(cdc codec.JSONCodec, config clien } // RegisterRESTRoutes registers the REST routes for the feegrant module. -func (AppModuleBasic) RegisterRESTRoutes(ctx sdkclient.Context, rtr *mux.Router) {} +func (AppModuleBasic) RegisterRESTRoutes(ctx client.Context, rtr *mux.Router) {} // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the feegrant module. -func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx sdkclient.Context, mux *runtime.ServeMux) { - feegrant.RegisterQueryHandlerClient(context.Background(), mux, feegrant.NewQueryClient(clientCtx)) +func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { + _ = feegrant.RegisterQueryHandlerClient(context.Background(), mux, feegrant.NewQueryClient(clientCtx)) } // GetTxCmd returns the root tx command for the feegrant module. diff --git a/sei-cosmos/x/feegrant/msgs.go b/sei-cosmos/x/feegrant/msgs.go index 340007f8da..1fea70cecd 100644 --- a/sei-cosmos/x/feegrant/msgs.go +++ b/sei-cosmos/x/feegrant/msgs.go @@ -3,11 +3,11 @@ package feegrant import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" ) var ( @@ -18,8 +18,6 @@ var ( ) // NewMsgGrantAllowance creates a new MsgGrantAllowance. -// -//nolint:interfacer func NewMsgGrantAllowance(feeAllowance FeeAllowanceI, granter, grantee sdk.AccAddress) (*MsgGrantAllowance, error) { msg, ok := feeAllowance.(proto.Message) if !ok { @@ -99,8 +97,6 @@ func (msg MsgGrantAllowance) UnpackInterfaces(unpacker types.AnyUnpacker) error // NewMsgRevokeAllowance returns a message to revoke a fee allowance for a given // granter and grantee -// -//nolint:interfacer func NewMsgRevokeAllowance(granter sdk.AccAddress, grantee sdk.AccAddress) MsgRevokeAllowance { return MsgRevokeAllowance{Granter: granter.String(), Grantee: grantee.String()} } diff --git a/sei-cosmos/x/feegrant/msgs_test.go b/sei-cosmos/x/feegrant/msgs_test.go index 33bbd6b384..b7f2b31b1b 100644 --- a/sei-cosmos/x/feegrant/msgs_test.go +++ b/sei-cosmos/x/feegrant/msgs_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) func TestMsgGrantAllowance(t *testing.T) { diff --git a/sei-cosmos/x/feegrant/periodic_fee.go b/sei-cosmos/x/feegrant/periodic_fee.go index c6fbc94b6e..637a89e4b2 100644 --- a/sei-cosmos/x/feegrant/periodic_fee.go +++ b/sei-cosmos/x/feegrant/periodic_fee.go @@ -3,8 +3,8 @@ package feegrant import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) var _ FeeAllowanceI = (*PeriodicAllowance)(nil) diff --git a/sei-cosmos/x/feegrant/periodic_fee_test.go b/sei-cosmos/x/feegrant/periodic_fee_test.go index 8237a214df..0dbbc62105 100644 --- a/sei-cosmos/x/feegrant/periodic_fee_test.go +++ b/sei-cosmos/x/feegrant/periodic_fee_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) func TestPeriodicFeeValidAllow(t *testing.T) { diff --git a/sei-cosmos/x/feegrant/query.pb.go b/sei-cosmos/x/feegrant/query.pb.go index 3c69faf4a9..e61c296d7b 100644 --- a/sei-cosmos/x/feegrant/query.pb.go +++ b/sei-cosmos/x/feegrant/query.pb.go @@ -6,9 +6,9 @@ package feegrant import ( context "context" fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -362,38 +362,39 @@ func init() { } var fileDescriptor_59efc303945de53f = []byte{ - // 496 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xce, 0x2f, 0xce, - 0xcd, 0x2f, 0xd6, 0x4f, 0x4b, 0x4d, 0x4d, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, 0x2f, 0x33, 0x4c, 0x4a, - 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x12, 0x87, 0x28, 0xd2, 0x83, 0x29, 0xd2, 0x83, 0x2a, 0x92, 0xd2, 0x82, 0xea, 0x4e, 0x4a, 0x2c, - 0x4e, 0x85, 0xe8, 0x80, 0xeb, 0x2f, 0x48, 0x4c, 0xcf, 0xcc, 0x4b, 0x2c, 0xc9, 0xcc, 0xcf, 0x83, - 0x18, 0x22, 0xa5, 0x86, 0xcb, 0x26, 0xb8, 0xa9, 0x10, 0x75, 0x32, 0xe9, 0xf9, 0xf9, 0xe9, 0x39, - 0xa9, 0xfa, 0x89, 0x05, 0x99, 0xfa, 0x89, 0x79, 0x79, 0xf9, 0x25, 0x60, 0x43, 0x8a, 0x21, 0xb2, - 0x4a, 0xde, 0x5c, 0xa2, 0x81, 0x20, 0x7b, 0x1c, 0x73, 0x72, 0xf2, 0xcb, 0x13, 0xf3, 0x92, 0x53, - 0x83, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x84, 0x24, 0xb8, 0xd8, 0xc1, 0xa6, 0xa4, 0x16, 0x49, - 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0xc1, 0xb8, 0x08, 0x99, 0x54, 0x09, 0x26, 0x64, 0x99, 0x54, - 0xa5, 0x30, 0x2e, 0x31, 0x74, 0xc3, 0x8a, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x85, 0x6c, 0xb8, 0x38, - 0x13, 0x61, 0x82, 0x60, 0xf3, 0xb8, 0x8d, 0xe4, 0xf4, 0x70, 0x84, 0x82, 0x9e, 0x3b, 0x88, 0x17, - 0x84, 0xd0, 0xa0, 0x54, 0x85, 0x6e, 0x6e, 0x31, 0x86, 0x2b, 0x53, 0x51, 0x5d, 0x99, 0x2a, 0xe4, - 0xc6, 0xc5, 0x85, 0x08, 0x32, 0xb0, 0x43, 0xb9, 0x8d, 0xd4, 0x60, 0x56, 0x82, 0xc2, 0x57, 0x0f, - 0x12, 0x23, 0x30, 0x4b, 0x03, 0x12, 0xd3, 0x61, 0x7e, 0x0f, 0x42, 0xd2, 0xa9, 0xb4, 0x88, 0x91, - 0x4b, 0x1c, 0xc3, 0x72, 0xa8, 0xaf, 0xec, 0xb8, 0xb8, 0xe0, 0x8e, 0x2c, 0x96, 0x60, 0x54, 0x60, - 0x26, 0xc2, 0x5b, 0x48, 0x3a, 0x84, 0xdc, 0xb1, 0xb8, 0x51, 0x9d, 0xa0, 0x1b, 0x21, 0x96,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52, 0x4f, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, - 0x85, 0x19, 0x07, 0xa1, 0x74, 0x8b, 0x53, 0xb2, 0xf5, 0x2b, 0xe0, 0x66, 0x27, 0xb1, 0x81, 0x4b, - 0x59, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0d, 0xdd, 0x4d, 0x03, 0x17, 0x06, 0x00, 0x00, + // 505 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0xbd, 0x6e, 0x13, 0x41, + 0x10, 0xc7, 0xbd, 0xe1, 0x4b, 0x9e, 0x74, 0x8b, 0x20, 0xd6, 0x09, 0x1d, 0xd6, 0x21, 0x85, 0x2f, + 0x65, 0x17, 0x1b, 0x01, 0x41, 0x42, 0x91, 0x48, 0x81, 0x0b, 0x1a, 0xe2, 0x82, 0x82, 0x6e, 0x7d, + 0x0c, 0x97, 0x93, 0x9c, 0x5d, 0xc7, 0x7b, 0x06, 0x02, 0x4a, 0x03, 0x2f, 0x80, 0xc4, 0x03, 0x20, + 0x51, 0xd0, 0xc0, 0x2b, 0xd0, 0x53, 0x46, 0xa2, 0xa1, 0x44, 0x36, 0x0f, 0x82, 0xbc, 0x7b, 0x7b, + 0xe7, 0x9c, 0x7d, 0xf2, 0x09, 0x51, 0xa4, 0xdb, 0xbd, 0x9d, 0xff, 0xfc, 0x7f, 0x33, 0xb3, 0x7b, + 0x70, 0x25, 0x54, 0x7a, 0x4f, 0x69, 0xfe, 0x02, 0x31, 0x1a, 0x0a, 0x99, 0xf0, 0x97, 0xad, 0x1e, + 0x26, 0xa2, 0xc5, 0xf7, 0x47, 0x38, 0x3c, 0x60, 0x83, 0xa1, 0x4a, 0x14, 0x5d, 0xb3, 0x41, 0xcc, + 0x05, 0xb1, 0x34, 0xc8, 0xbb, 0x91, 0xaa, 0x7b, 0x42, 0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27, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/feegrant/simulation/decoder.go b/sei-cosmos/x/feegrant/simulation/decoder.go index bc0cc1fed6..c5a34add2b 100644 --- a/sei-cosmos/x/feegrant/simulation/decoder.go +++ b/sei-cosmos/x/feegrant/simulation/decoder.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/sei-cosmos/x/feegrant/simulation/genesis.go b/sei-cosmos/x/feegrant/simulation/genesis.go index 8c030bcd58..097e2d11d9 100644 --- a/sei-cosmos/x/feegrant/simulation/genesis.go +++ b/sei-cosmos/x/feegrant/simulation/genesis.go @@ -4,10 +4,10 @@ import ( "math/rand" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/feegrant" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" ) // genFeeGrants returns a slice of randomly generated allowances. @@ -68,7 +68,7 @@ func RandomizedGenState(simState *module.SimulationState) { ) feegrantGenesis := feegrant.NewGenesisState(feegrants) - bz, err := simState.Cdc.MarshalJSON(feegrantGenesis) + bz, err := simState.Cdc.MarshalAsJSON(feegrantGenesis) if err != nil { panic(err) } diff --git a/sei-cosmos/x/feegrant/simulation/operations.go b/sei-cosmos/x/feegrant/simulation/operations.go index 8766e21087..42d3056276 100644 --- a/sei-cosmos/x/feegrant/simulation/operations.go +++ b/sei-cosmos/x/feegrant/simulation/operations.go @@ -3,20 +3,20 @@ package simulation import ( "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/feegrant" - "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" - "github.com/cosmos/cosmos-sdk/x/simulation" seiappparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" ) // Simulation operation weights constants const ( - OpWeightMsgGrantAllowance = "op_weight_msg_grant_fee_allowance" - OpWeightMsgRevokeAllowance = "op_weight_msg_grant_revoke_allowance" + OpWeightMsgGrantAllowance = "op_weight_msg_grant_fee_allowance" //nolint:gosec + OpWeightMsgRevokeAllowance = "op_weight_msg_grant_revoke_allowance" //nolint:gosec ) var ( @@ -115,7 +115,7 @@ func SimulateMsgRevokeAllowance(ak feegrant.AccountKeeper, bk feegrant.BankKeepe hasGrant := false var granterAddr sdk.AccAddress var granteeAddr sdk.AccAddress - k.IterateAllFeeAllowances(ctx, func(grant feegrant.Grant) bool { + err := k.IterateAllFeeAllowances(ctx, func(grant feegrant.Grant) bool { granter := sdk.MustAccAddressFromBech32(grant.Granter) grantee := sdk.MustAccAddressFromBech32(grant.Grantee) granterAddr = granter @@ -123,6 +123,9 @@ func SimulateMsgRevokeAllowance(ak feegrant.AccountKeeper, bk feegrant.BankKeepe hasGrant = true return true }) + if err != nil { + return simtypes.OperationMsg{}, nil, err + } if !hasGrant { return simtypes.NoOpMsg(feegrant.ModuleName, TypeMsgRevokeAllowance, "no grants"), nil, nil diff --git a/sei-cosmos/x/feegrant/tx.pb.go b/sei-cosmos/x/feegrant/tx.pb.go index e40b595ce7..019c00144a 100644 --- a/sei-cosmos/x/feegrant/tx.pb.go +++ b/sei-cosmos/x/feegrant/tx.pb.go @@ -6,10 +6,10 @@ package feegrant import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -233,7 +233,7 @@ func init() { func init() { proto.RegisterFile("cosmos/feegrant/v1beta1/tx.proto", fileDescriptor_dd44ad7946dad783) } var fileDescriptor_dd44ad7946dad783 = []byte{ - // 328 bytes of a gzipped FileDescriptorProto + // 340 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x4b, 0x4d, 0x4d, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x87, 0xa8, @@ -250,11 +250,12 @@ var fileDescriptor_dd44ad7946dad783 = []byte{ 0xb3, 0xc7, 0xe8, 0x0d, 0x23, 0x17, 0xb3, 0x6f, 0x71, 0xba, 0x50, 0x01, 0x17, 0x1f, 0x5a, 0xc8, 0x68, 0xe9, 0xe1, 0x08, 0x7f, 0x3d, 0x0c, 0x57, 0x4b, 0x19, 0x11, 0xaf, 0x16, 0x66, 0xb3, 0x50, 0x31, 0x17, 0x3f, 0xba, 0xf7, 0xb4, 0xf1, 0x19, 0x83, 0xa6, 0x58, 0xca, 0x98, 0x04, 0xc5, 0x30, - 0x4b, 0x9d, 0x1c, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, - 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x3d, 0x3d, - 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x17, 0x9a, 0xa4, 0xa0, 0x94, 0x6e, 0x71, 0x4a, - 0xb6, 0x7e, 0x05, 0x3c, 0x9d, 0x26, 0xb1, 0x81, 0xa3, 0xd8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, - 0x8b, 0xc1, 0x8c, 0x68, 0xc1, 0x02, 0x00, 0x00, + 0x4b, 0x9d, 0x02, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, + 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x3c, 0x3d, + 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xbf, 0x38, 0x35, 0x53, 0x17, 0x1c, 0x91, + 0xc9, 0xf9, 0x39, 0x60, 0x4e, 0x72, 0x46, 0x62, 0x66, 0x1e, 0x84, 0x05, 0x49, 0xb5, 0x15, 0xf0, + 0x74, 0x9b, 0xc4, 0x06, 0x56, 0x69, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x8a, 0xcc, 0x74, 0x96, + 0xd1, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/genutil/client/cli/collect.go b/sei-cosmos/x/genutil/client/cli/collect.go index 159819cfe5..37ead10d35 100644 --- a/sei-cosmos/x/genutil/client/cli/collect.go +++ b/sei-cosmos/x/genutil/client/cli/collect.go @@ -8,11 +8,11 @@ import ( tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/x/genutil" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" ) const flagGenTxDir = "gentx-dir" diff --git a/sei-cosmos/x/genutil/client/cli/gentx.go b/sei-cosmos/x/genutil/client/cli/gentx.go index b1bd2072ed..42e4b7043d 100644 --- a/sei-cosmos/x/genutil/client/cli/gentx.go +++ b/sei-cosmos/x/genutil/client/cli/gentx.go @@ -6,7 +6,6 @@ import ( "encoding/json" "fmt" "io" - "io/ioutil" "os" "path/filepath" @@ -15,18 +14,18 @@ import ( tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/server" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/version" - authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - "github.com/cosmos/cosmos-sdk/x/genutil" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/cosmos/cosmos-sdk/x/staking/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + authclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/client/cli" ) // GenTxCmd builds the application's gentx command. @@ -223,7 +222,7 @@ func makeOutputFilepath(rootDir, nodeID string) (string, error) { } func readUnsignedGenTxFile(clientCtx client.Context, r io.Reader) (sdk.Tx, error) { - bz, err := ioutil.ReadAll(r) + bz, err := io.ReadAll(r) if err != nil { return nil, err } @@ -237,11 +236,11 @@ func readUnsignedGenTxFile(clientCtx client.Context, r io.Reader) (sdk.Tx, error } func writeSignedGenTx(clientCtx client.Context, outputDocument string, tx sdk.Tx) error { - outputFile, err := os.OpenFile(outputDocument, os.O_CREATE|os.O_EXCL|os.O_WRONLY, 0644) + outputFile, err := os.OpenFile(filepath.Clean(outputDocument), os.O_CREATE|os.O_EXCL|os.O_WRONLY, 0600) if err != nil { return err } - defer outputFile.Close() + defer func() { _ = outputFile.Close() }() json, err := clientCtx.TxConfig.TxJSONEncoder()(tx) if err != nil { diff --git a/sei-cosmos/x/genutil/client/cli/init.go b/sei-cosmos/x/genutil/client/cli/init.go index e791d7a7e3..01a98c640c 100644 --- a/sei-cosmos/x/genutil/client/cli/init.go +++ b/sei-cosmos/x/genutil/client/cli/init.go @@ -15,13 +15,13 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/input" - "github.com/cosmos/cosmos-sdk/server" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/genutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/input" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" ) const ( @@ -139,7 +139,9 @@ func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command { toPrint := newPrintInfo(config.Moniker, chainID, nodeID, "", appState) - cfg.WriteConfigFile(config.RootDir, config) + if err := cfg.WriteConfigFile(config.RootDir, config); err != nil { + return err + } return displayInfo(toPrint) }, } diff --git a/sei-cosmos/x/genutil/client/cli/init_test.go b/sei-cosmos/x/genutil/client/cli/init_test.go index 5a6abea3ba..d859b5336a 100644 --- a/sei-cosmos/x/genutil/client/cli/init_test.go +++ b/sei-cosmos/x/genutil/client/cli/init_test.go @@ -13,17 +13,17 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - genutiltest "github.com/cosmos/cosmos-sdk/x/genutil/client/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + genutilcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/cli" + genutiltest "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/testutil" ) var testMbm = module.NewBasicManager(genutil.AppModuleBasic{}) diff --git a/sei-cosmos/x/genutil/client/cli/migrate.go b/sei-cosmos/x/genutil/client/cli/migrate.go index f22a0d5f2e..5b99db7f72 100644 --- a/sei-cosmos/x/genutil/client/cli/migrate.go +++ b/sei-cosmos/x/genutil/client/cli/migrate.go @@ -9,11 +9,11 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" ) const flagGenesisTime = "genesis-time" diff --git a/sei-cosmos/x/genutil/client/cli/validate_genesis.go b/sei-cosmos/x/genutil/client/cli/validate_genesis.go index 3e5735bdc1..881f4ccbd1 100644 --- a/sei-cosmos/x/genutil/client/cli/validate_genesis.go +++ b/sei-cosmos/x/genutil/client/cli/validate_genesis.go @@ -4,13 +4,13 @@ import ( "encoding/json" "fmt" - genesistypes "github.com/cosmos/cosmos-sdk/types/genesis" + genesistypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/genesis" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" ) const ( @@ -94,6 +94,8 @@ func validateGenesisStream(mbm module.BasicManager, cmd *cobra.Command, args []s serverCtx := server.GetServerContextFromCmd(cmd) clientCtx := client.GetClientContextFromCmd(cmd) + const genesisDocModule = "genesisDoc" + cdc := clientCtx.Codec // Load default if passed no args, otherwise load passed file @@ -123,7 +125,7 @@ func validateGenesisStream(mbm module.BasicManager, cmd *cobra.Command, args []s errCh <- fmt.Errorf("error unmarshalling genesis doc %s: %s", genesis, err.Error()) return } - moduleName = "genesisDoc" + moduleName = genesisDocModule } else { moduleName = moduleState.AppState.Module } @@ -132,11 +134,11 @@ func validateGenesisStream(mbm module.BasicManager, cmd *cobra.Command, args []s return } if prevModule != moduleName { // new module - if prevModule != "" && prevModule != "genesisDoc" { + if prevModule != "" && prevModule != genesisDocModule { doneCh <- struct{}{} } seenModules[prevModule] = true - if moduleName != "genesisDoc" { + if moduleName != genesisDocModule { go mbm.ValidateGenesisStream(cdc, clientCtx.TxConfig, moduleName, genesisCh, doneCh, errCh) genesisCh <- moduleState.AppState.Data } else { diff --git a/sei-cosmos/x/genutil/client/rest/query.go b/sei-cosmos/x/genutil/client/rest/query.go index 5d3812ca31..981633b0b4 100644 --- a/sei-cosmos/x/genutil/client/rest/query.go +++ b/sei-cosmos/x/genutil/client/rest/query.go @@ -5,10 +5,10 @@ import ( "fmt" "net/http" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" ) // QueryGenesisTxs writes the genesis transactions to the response if no error @@ -35,7 +35,7 @@ func QueryGenesisTxs(clientCtx client.Context, w http.ResponseWriter) { genState := types.GetGenesisStateFromAppState(clientCtx.Codec, appState) genTxs := make([]sdk.Tx, len(genState.GenTxs)) for i, tx := range genState.GenTxs { - err := clientCtx.LegacyAmino.UnmarshalJSON(tx, &genTxs[i]) + err := clientCtx.LegacyAmino.UnmarshalAsJSON(tx, &genTxs[i]) if err != nil { rest.WriteErrorResponse( w, http.StatusInternalServerError, diff --git a/sei-cosmos/x/genutil/client/testutil/cli_test.go b/sei-cosmos/x/genutil/client/testutil/cli_test.go index 1035ca7502..9126c139f8 100644 --- a/sei-cosmos/x/genutil/client/testutil/cli_test.go +++ b/sei-cosmos/x/genutil/client/testutil/cli_test.go @@ -6,7 +6,7 @@ package testutil import ( "testing" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/sei-cosmos/x/genutil/client/testutil/helpers.go b/sei-cosmos/x/genutil/client/testutil/helpers.go index 05f47cc9fc..92454ed911 100644 --- a/sei-cosmos/x/genutil/client/testutil/helpers.go +++ b/sei-cosmos/x/genutil/client/testutil/helpers.go @@ -9,12 +9,12 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/spf13/viper" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/types/module" - genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + genutilcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/cli" ) func ExecInitCmd(testMbm module.BasicManager, home string, cdc codec.Codec) error { diff --git a/sei-cosmos/x/genutil/client/testutil/migrate.go b/sei-cosmos/x/genutil/client/testutil/migrate.go index e5dd0f2d13..f5b77b491c 100644 --- a/sei-cosmos/x/genutil/client/testutil/migrate.go +++ b/sei-cosmos/x/genutil/client/testutil/migrate.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/cli" ) func TestGetMigrationCallback(t *testing.T) { diff --git a/sei-cosmos/x/genutil/client/testutil/suite.go b/sei-cosmos/x/genutil/client/testutil/suite.go index ed7af099da..0394cd375f 100644 --- a/sei-cosmos/x/genutil/client/testutil/suite.go +++ b/sei-cosmos/x/genutil/client/testutil/suite.go @@ -8,15 +8,15 @@ import ( "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - stakingcli "github.com/cosmos/cosmos-sdk/x/staking/client/cli" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/cli" + stakingcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) type IntegrationTestSuite struct { @@ -99,7 +99,7 @@ func (s *IntegrationTestSuite) TestGenTxCmd() { tc := tc dir := s.T().TempDir() - genTxFile := filepath.Join(dir, "myTx") + genTxFile := filepath.Clean(filepath.Join(dir, "myTx")) tc.args = append(tc.args, fmt.Sprintf("--%s=%s", flags.FlagOutputDocument, genTxFile)) s.Run(tc.name, func() { diff --git a/sei-cosmos/x/genutil/client/testutil/validate_genesis.go b/sei-cosmos/x/genutil/client/testutil/validate_genesis.go index fe34e04bbc..eccc6e4053 100644 --- a/sei-cosmos/x/genutil/client/testutil/validate_genesis.go +++ b/sei-cosmos/x/genutil/client/testutil/validate_genesis.go @@ -1,9 +1,9 @@ package testutil import ( - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/cli" ) // An example exported genesis file from a 0.37 chain. Note that evidence diff --git a/sei-cosmos/x/genutil/collect.go b/sei-cosmos/x/genutil/collect.go index 36e62343bb..8891d4f084 100644 --- a/sei-cosmos/x/genutil/collect.go +++ b/sei-cosmos/x/genutil/collect.go @@ -6,7 +6,6 @@ import ( "encoding/json" "errors" "fmt" - "io/ioutil" "os" "path/filepath" "runtime" @@ -16,12 +15,12 @@ import ( cfg "github.com/sei-protocol/sei-chain/sei-tendermint/config" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - bankexported "github.com/cosmos/cosmos-sdk/x/bank/exported" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + bankexported "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // GenAppStateFromConfig gets the genesis app state from the config @@ -38,7 +37,9 @@ func GenAppStateFromConfig(cdc codec.JSONCodec, txEncodingConfig client.TxEncodi } config.P2P.PersistentPeers = persistentPeers - cfg.WriteConfigFile(config.RootDir, config) + if err := cfg.WriteConfigFile(config.RootDir, config); err != nil { + return nil, err + } // if there are no gen txs to be processed, return the default empty state if len(appGenTxs) == 0 { @@ -79,8 +80,8 @@ func CollectTxs(cdc codec.JSONCodec, txJSONDecoder sdk.TxDecoder, moniker, genTx return appGenTxs, persistentPeers, err } - var fos []os.FileInfo - fos, err = ioutil.ReadDir(genTxsDir) + var fos []os.DirEntry + fos, err = os.ReadDir(genTxsDir) if err != nil { return appGenTxs, persistentPeers, err } @@ -107,7 +108,7 @@ func CollectTxs(cdc codec.JSONCodec, txJSONDecoder sdk.TxDecoder, moniker, genTx } // get the genTx - jsonRawTx, err := ioutil.ReadFile(filepath.Join(genTxsDir, fo.Name())) + jsonRawTx, err := os.ReadFile(filepath.Clean(filepath.Join(genTxsDir, fo.Name()))) if err != nil { return appGenTxs, persistentPeers, err } diff --git a/sei-cosmos/x/genutil/collect_test.go b/sei-cosmos/x/genutil/collect_test.go index 6849e9d78e..952bf49596 100644 --- a/sei-cosmos/x/genutil/collect_test.go +++ b/sei-cosmos/x/genutil/collect_test.go @@ -10,20 +10,20 @@ import ( tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/types" - bankexported "github.com/cosmos/cosmos-sdk/x/bank/exported" - "github.com/cosmos/cosmos-sdk/x/genutil" - gtypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" + bankexported "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + gtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" ) type doNothingUnmarshalJSON struct { codec.JSONCodec } -func (dnj *doNothingUnmarshalJSON) UnmarshalJSON(_ []byte, _ proto.Message) error { +func (dnj *doNothingUnmarshalJSON) UnmarshalAsJSON(_ []byte, _ proto.Message) error { return nil } diff --git a/sei-cosmos/x/genutil/genesis.go b/sei-cosmos/x/genutil/genesis.go index c665c65f1f..34f849e20a 100644 --- a/sei-cosmos/x/genutil/genesis.go +++ b/sei-cosmos/x/genutil/genesis.go @@ -3,9 +3,9 @@ package genutil import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" ) // InitGenesis - initialize accounts and deliver genesis transactions diff --git a/sei-cosmos/x/genutil/gentx.go b/sei-cosmos/x/genutil/gentx.go index 5eb329e6f3..2747f67824 100644 --- a/sei-cosmos/x/genutil/gentx.go +++ b/sei-cosmos/x/genutil/gentx.go @@ -7,13 +7,13 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/utils" - bankexported "github.com/cosmos/cosmos-sdk/x/bank/exported" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils" + bankexported "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // SetGenTxsInAppGenesisState - sets the genesis transactions in the app genesis state diff --git a/sei-cosmos/x/genutil/gentx_test.go b/sei-cosmos/x/genutil/gentx_test.go index 559c9564a4..098dc033be 100644 --- a/sei-cosmos/x/genutil/gentx_test.go +++ b/sei-cosmos/x/genutil/gentx_test.go @@ -8,16 +8,16 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" seiappparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var ( @@ -68,7 +68,7 @@ func (suite *GenTxTestSuite) setAccountBalance(addr sdk.AccAddress, amount int64 suite.Require().NoError(err) bankGenesisState := suite.app.BankKeeper.ExportGenesis(suite.ctx) - bankGenesis, err := suite.encodingConfig.Amino.MarshalJSON(bankGenesisState) // TODO switch this to use Marshaler + bankGenesis, err := suite.encodingConfig.Amino.MarshalAsJSON(bankGenesisState) // TODO switch this to use Marshaler suite.Require().NoError(err) return bankGenesis @@ -121,7 +121,7 @@ func (suite *GenTxTestSuite) TestSetGenTxsInAppGenesisState() { suite.Require().NotNil(appGenesisState[types.ModuleName]) var genesisState types.GenesisState - err := cdc.UnmarshalJSON(appGenesisState[types.ModuleName], &genesisState) + err := cdc.UnmarshalAsJSON(appGenesisState[types.ModuleName], &genesisState) suite.Require().NoError(err) suite.Require().NotNil(genesisState.GenTxs) } else { @@ -182,7 +182,7 @@ func (suite *GenTxTestSuite) TestValidateAccountInGenesis() { suite.app.StakingKeeper.SetParams(suite.ctx, stakingtypes.DefaultParams()) stakingGenesisState := staking.ExportGenesis(suite.ctx, suite.app.StakingKeeper) suite.Require().Equal(stakingGenesisState.Params, stakingtypes.DefaultParams()) - stakingGenesis, err := cdc.MarshalJSON(stakingGenesisState) // TODO switch this to use Marshaler + stakingGenesis, err := cdc.MarshalAsJSON(stakingGenesisState) // TODO switch this to use Marshaler suite.Require().NoError(err) appGenesisState[stakingtypes.ModuleName] = stakingGenesis diff --git a/sei-cosmos/x/genutil/module.go b/sei-cosmos/x/genutil/module.go index 40425dfeec..a3b9899350 100644 --- a/sei-cosmos/x/genutil/module.go +++ b/sei-cosmos/x/genutil/module.go @@ -10,12 +10,12 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" ) var ( @@ -46,7 +46,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the genutil module. func (b AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, txEncodingConfig client.TxEncodingConfig, bz json.RawMessage) error { var data types.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } diff --git a/sei-cosmos/x/genutil/types/expected_keepers.go b/sei-cosmos/x/genutil/types/expected_keepers.go index 092798996a..e982aec674 100644 --- a/sei-cosmos/x/genutil/types/expected_keepers.go +++ b/sei-cosmos/x/genutil/types/expected_keepers.go @@ -3,10 +3,10 @@ package types import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - auth "github.com/cosmos/cosmos-sdk/x/auth/types" - bankexported "github.com/cosmos/cosmos-sdk/x/bank/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + auth "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + bankexported "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/exported" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-cosmos/x/genutil/types/genesis.pb.go b/sei-cosmos/x/genutil/types/genesis.pb.go index 369cd0edfa..b657a11e2c 100644 --- a/sei-cosmos/x/genutil/types/genesis.pb.go +++ b/sei-cosmos/x/genutil/types/genesis.pb.go @@ -79,7 +79,7 @@ func init() { } var fileDescriptor_31771d25e8d8f90f = []byte{ - // 234 bytes of a gzipped FileDescriptorProto + // 245 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x4f, 0x4f, 0xcd, 0x2b, 0x2d, 0xc9, 0xcc, 0xd1, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0x04, 0xf1, 0x53, 0x8b, 0x33, 0x8b, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0xc4, @@ -89,12 +89,13 @@ var fileDescriptor_31771d25e8d8f90f = []byte{ 0x0d, 0x1e, 0x27, 0xf3, 0x57, 0xf7, 0xe4, 0xd9, 0xd2, 0x53, 0xf3, 0x4a, 0x2a, 0x8a, 0x3f, 0xdd, 0x93, 0xe7, 0xad, 0x4c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b, 0x2a, 0x0b, + 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xca, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xed, 0xe2, 0xce, + 0xaa, 0x16, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/genutil/types/genesis_state.go b/sei-cosmos/x/genutil/types/genesis_state.go index 00799a0f73..d0ca187c2c 100644 --- a/sei-cosmos/x/genutil/types/genesis_state.go +++ b/sei-cosmos/x/genutil/types/genesis_state.go @@ -8,9 +8,9 @@ import ( tmos "github.com/sei-protocol/sei-chain/sei-tendermint/libs/os" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // NewGenesisState creates a new GenesisState object diff --git a/sei-cosmos/x/genutil/types/genesis_state_test.go b/sei-cosmos/x/genutil/types/genesis_state_test.go index b0750c4ebc..f1edc0e84d 100644 --- a/sei-cosmos/x/genutil/types/genesis_state_test.go +++ b/sei-cosmos/x/genutil/types/genesis_state_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var ( diff --git a/sei-cosmos/x/genutil/types/types.go b/sei-cosmos/x/genutil/types/types.go index 694eebdbe3..1c9dd151f6 100644 --- a/sei-cosmos/x/genutil/types/types.go +++ b/sei-cosmos/x/genutil/types/types.go @@ -3,8 +3,8 @@ package types import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/client" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // DONTCOVER diff --git a/sei-cosmos/x/genutil/utils.go b/sei-cosmos/x/genutil/utils.go index 7031ce1c65..c0701c7fc8 100644 --- a/sei-cosmos/x/genutil/utils.go +++ b/sei-cosmos/x/genutil/utils.go @@ -14,8 +14,8 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/privval" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" ) // ExportGenesisFile creates and writes the genesis configuration to disk. An diff --git a/sei-cosmos/x/gov/abci.go b/sei-cosmos/x/gov/abci.go index 97ac44245b..06a932c3b8 100644 --- a/sei-cosmos/x/gov/abci.go +++ b/sei-cosmos/x/gov/abci.go @@ -4,10 +4,10 @@ import ( "fmt" "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // EndBlocker called every block, process inflation, update validator set. @@ -54,7 +54,7 @@ func EndBlocker(ctx sdk.Context, keeper keeper.Keeper) { // the deposit at this point since the proposal is converted to regular. // As a result, the deposits are either deleted or refunded in all casses // EXCEPT when an expedited proposal fails. - if !(proposal.IsExpedited && !passes) { + if !proposal.IsExpedited || passes { if burnDeposits { keeper.DeleteDeposits(ctx, proposal.ProposalId) } else { diff --git a/sei-cosmos/x/gov/abci_test.go b/sei-cosmos/x/gov/abci_test.go index 8d88a61774..d00e6a0f95 100644 --- a/sei-cosmos/x/gov/abci_test.go +++ b/sei-cosmos/x/gov/abci_test.go @@ -10,12 +10,12 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/staking" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/legacyabci" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" ) func TestTickExpiredDepositPeriod(t *testing.T) { diff --git a/sei-cosmos/x/gov/client/cli/parse.go b/sei-cosmos/x/gov/client/cli/parse.go index 5143891174..71eabc4665 100644 --- a/sei-cosmos/x/gov/client/cli/parse.go +++ b/sei-cosmos/x/gov/client/cli/parse.go @@ -3,16 +3,20 @@ package cli import ( "encoding/json" "fmt" - "io/ioutil" + "os" + "path/filepath" "github.com/spf13/pflag" - govutils "github.com/cosmos/cosmos-sdk/x/gov/client/utils" + govutils "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/utils" ) func parseSubmitProposalFlags(fs *pflag.FlagSet) (*proposal, error) { proposal := &proposal{} - proposalFile, _ := fs.GetString(FlagProposal) + proposalFile, err := fs.GetString(FlagProposal) + if err != nil { + return nil, err + } if proposalFile == "" { proposalType, _ := fs.GetString(FlagProposalType) @@ -30,8 +34,8 @@ func parseSubmitProposalFlags(fs *pflag.FlagSet) (*proposal, error) { return nil, fmt.Errorf("--%s flag provided alongside --proposal, which is a noop", flag) } } - - contents, err := ioutil.ReadFile(proposalFile) + proposalFile = filepath.Clean(proposalFile) + contents, err := os.ReadFile(proposalFile) if err != nil { return nil, err } diff --git a/sei-cosmos/x/gov/client/cli/parse_test.go b/sei-cosmos/x/gov/client/cli/parse_test.go index da6aeea719..584bb99428 100644 --- a/sei-cosmos/x/gov/client/cli/parse_test.go +++ b/sei-cosmos/x/gov/client/cli/parse_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" ) func TestParseSubmitProposalFlags(t *testing.T) { diff --git a/sei-cosmos/x/gov/client/cli/query.go b/sei-cosmos/x/gov/client/cli/query.go index 4fa3a9bbf0..81cf481090 100644 --- a/sei-cosmos/x/gov/client/cli/query.go +++ b/sei-cosmos/x/gov/client/cli/query.go @@ -7,12 +7,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - gcutils "github.com/cosmos/cosmos-sdk/x/gov/client/utils" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + gcutils "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // GetQueryCmd returns the cli query commands for this module @@ -238,7 +238,7 @@ $ %s query gov vote 1 cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk return err } - if err := clientCtx.Codec.UnmarshalJSON(resByTxQuery, &vote); err != nil { + if err := clientCtx.Codec.UnmarshalAsJSON(resByTxQuery, &vote); err != nil { return err } } @@ -292,7 +292,7 @@ $ %[1]s query gov votes 1 --page=2 --limit=100 } propStatus := proposalRes.GetProposal().Status - if !(propStatus == types.StatusVotingPeriod || propStatus == types.StatusDepositPeriod) { + if propStatus != types.StatusVotingPeriod && propStatus != types.StatusDepositPeriod { page, _ := cmd.Flags().GetInt(flags.FlagPage) limit, _ := cmd.Flags().GetInt(flags.FlagLimit) @@ -381,7 +381,7 @@ $ %s query gov deposit 1 cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk var deposit types.Deposit propStatus := proposalRes.Proposal.Status - if !(propStatus == types.StatusVotingPeriod || propStatus == types.StatusDepositPeriod) { + if propStatus != types.StatusVotingPeriod && propStatus != types.StatusDepositPeriod { params := types.NewQueryDepositParams(proposalID, depositorAddr) resByTxQuery, err := gcutils.QueryDepositByTxQuery(clientCtx, params) if err != nil { @@ -448,7 +448,7 @@ $ %s query gov deposits 1 } propStatus := proposalRes.GetProposal().Status - if !(propStatus == types.StatusVotingPeriod || propStatus == types.StatusDepositPeriod) { + if propStatus != types.StatusVotingPeriod && propStatus != types.StatusDepositPeriod { params := types.NewQueryProposalParams(proposalID) resByTxQuery, err := gcutils.QueryDepositsByTxQuery(clientCtx, params) if err != nil { diff --git a/sei-cosmos/x/gov/client/cli/query_test.go b/sei-cosmos/x/gov/client/cli/query_test.go index 1ecceeee8a..7f547d8778 100644 --- a/sei-cosmos/x/gov/client/cli/query_test.go +++ b/sei-cosmos/x/gov/client/cli/query_test.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" ) func (s *CLITestSuite) TestCmdParams() { diff --git a/sei-cosmos/x/gov/client/cli/tx.go b/sei-cosmos/x/gov/client/cli/tx.go index 758e8e256a..250ca9bdd9 100644 --- a/sei-cosmos/x/gov/client/cli/tx.go +++ b/sei-cosmos/x/gov/client/cli/tx.go @@ -7,13 +7,13 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - govutils "github.com/cosmos/cosmos-sdk/x/gov/client/utils" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + govutils "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // Proposal flags diff --git a/sei-cosmos/x/gov/client/cli/tx_test.go b/sei-cosmos/x/gov/client/cli/tx_test.go index ff7db442d6..b6957e65cb 100644 --- a/sei-cosmos/x/gov/client/cli/tx_test.go +++ b/sei-cosmos/x/gov/client/cli/tx_test.go @@ -9,16 +9,16 @@ import ( "io" "testing" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - sdk "github.com/cosmos/cosmos-sdk/types" - testutilmod "github.com/cosmos/cosmos-sdk/types/module/testutil" - "github.com/cosmos/cosmos-sdk/x/gov" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + testutilmod "github.com/sei-protocol/sei-chain/sei-cosmos/types/module/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/stretchr/testify/suite" ) @@ -148,7 +148,7 @@ func (s *CLITestSuite) TestNewCmdSubmitLegacyProposal() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(s.clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(s.clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) } }) } @@ -218,7 +218,7 @@ func (s *CLITestSuite) TestNewCmdVote() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(s.clientCtx.Codec.UnmarshalJSON(out.Bytes(), &txResp), out.String()) + s.Require().NoError(s.clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &txResp), out.String()) } }) } @@ -280,7 +280,7 @@ func (s *CLITestSuite) TestNewCmdDeposit() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(s.clientCtx.Codec.UnmarshalJSON(out.Bytes(), &resp), out.String()) + s.Require().NoError(s.clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &resp), out.String()) } }) } @@ -362,7 +362,7 @@ func (s *CLITestSuite) TestNewCmdWeightedVote() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(s.clientCtx.Codec.UnmarshalJSON(out.Bytes(), &txResp), out.String()) + s.Require().NoError(s.clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &txResp), out.String()) } }) } diff --git a/sei-cosmos/x/gov/client/proposal_handler.go b/sei-cosmos/x/gov/client/proposal_handler.go index 61ee3d8c3b..4cbb86a546 100644 --- a/sei-cosmos/x/gov/client/proposal_handler.go +++ b/sei-cosmos/x/gov/client/proposal_handler.go @@ -3,8 +3,8 @@ package client import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/x/gov/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/rest" ) // function to create the rest handler diff --git a/sei-cosmos/x/gov/client/rest/grpc_query_test.go b/sei-cosmos/x/gov/client/rest/grpc_query_test.go index 64aaf15c10..e67387c3fb 100644 --- a/sei-cosmos/x/gov/client/rest/grpc_query_test.go +++ b/sei-cosmos/x/gov/client/rest/grpc_query_test.go @@ -10,14 +10,14 @@ import ( "github.com/golang/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - govtestutil "github.com/cosmos/cosmos-sdk/x/gov/client/testutil" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" + govtestutil "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) type IntegrationTestSuite struct { diff --git a/sei-cosmos/x/gov/client/rest/query.go b/sei-cosmos/x/gov/client/rest/query.go index ffdbd8bc02..0b161ae74a 100644 --- a/sei-cosmos/x/gov/client/rest/query.go +++ b/sei-cosmos/x/gov/client/rest/query.go @@ -7,11 +7,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - gcutils "github.com/cosmos/cosmos-sdk/x/gov/client/utils" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + gcutils "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) func registerQueryRoutes(clientCtx client.Context, r *mux.Router) { @@ -69,7 +69,7 @@ func queryProposalHandlerFn(clientCtx client.Context) http.HandlerFunc { params := types.NewQueryProposalParams(proposalID) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -101,7 +101,7 @@ func queryDepositsHandlerFn(clientCtx client.Context) http.HandlerFunc { params := types.NewQueryProposalParams(proposalID) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -112,14 +112,14 @@ func queryDepositsHandlerFn(clientCtx client.Context) http.HandlerFunc { } var proposal types.Proposal - if rest.CheckInternalServerError(w, clientCtx.LegacyAmino.UnmarshalJSON(res, &proposal)) { + if rest.CheckInternalServerError(w, clientCtx.LegacyAmino.UnmarshalAsJSON(res, &proposal)) { return } // For inactive proposals we must query the txs directly to get the deposits // as they're no longer in state. propStatus := proposal.Status - if !(propStatus == types.StatusVotingPeriod || propStatus == types.StatusDepositPeriod) { + if propStatus != types.StatusVotingPeriod && propStatus != types.StatusDepositPeriod { res, err = gcutils.QueryDepositsByTxQuery(clientCtx, params) } else { res, _, err = clientCtx.QueryWithData("custom/gov/deposits", bz) @@ -192,7 +192,7 @@ func queryDepositHandlerFn(clientCtx client.Context) http.HandlerFunc { params := types.NewQueryDepositParams(proposalID, depositorAddr) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -203,7 +203,7 @@ func queryDepositHandlerFn(clientCtx client.Context) http.HandlerFunc { } var deposit types.Deposit - if rest.CheckBadRequestError(w, clientCtx.LegacyAmino.UnmarshalJSON(res, &deposit)) { + if rest.CheckBadRequestError(w, clientCtx.LegacyAmino.UnmarshalAsJSON(res, &deposit)) { return } @@ -211,7 +211,7 @@ func queryDepositHandlerFn(clientCtx client.Context) http.HandlerFunc { // which case the deposit would be removed from state and should be queried // for directly via a txs query. if deposit.Empty() { - bz, err := clientCtx.LegacyAmino.MarshalJSON(types.NewQueryProposalParams(proposalID)) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(types.NewQueryProposalParams(proposalID)) if rest.CheckBadRequestError(w, err) { return } @@ -269,7 +269,7 @@ func queryVoteHandlerFn(clientCtx client.Context) http.HandlerFunc { params := types.NewQueryVoteParams(proposalID, voterAddr) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -280,7 +280,7 @@ func queryVoteHandlerFn(clientCtx client.Context) http.HandlerFunc { } var vote types.Vote - if rest.CheckBadRequestError(w, clientCtx.LegacyAmino.UnmarshalJSON(res, &vote)) { + if rest.CheckBadRequestError(w, clientCtx.LegacyAmino.UnmarshalAsJSON(res, &vote)) { return } @@ -288,7 +288,7 @@ func queryVoteHandlerFn(clientCtx client.Context) http.HandlerFunc { // which case the vote would be removed from state and should be queried for // directly via a txs query. if vote.Empty() { - bz, err := clientCtx.LegacyAmino.MarshalJSON(types.NewQueryProposalParams(proposalID)) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(types.NewQueryProposalParams(proposalID)) if rest.CheckBadRequestError(w, err) { return } @@ -337,7 +337,7 @@ func queryVotesOnProposalHandlerFn(clientCtx client.Context) http.HandlerFunc { return } - bz, err := clientCtx.LegacyAmino.MarshalJSON(types.NewQueryProposalParams(proposalID)) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(types.NewQueryProposalParams(proposalID)) if rest.CheckBadRequestError(w, err) { return } @@ -348,7 +348,7 @@ func queryVotesOnProposalHandlerFn(clientCtx client.Context) http.HandlerFunc { } var proposal types.Proposal - if rest.CheckInternalServerError(w, clientCtx.LegacyAmino.UnmarshalJSON(res, &proposal)) { + if rest.CheckInternalServerError(w, clientCtx.LegacyAmino.UnmarshalAsJSON(res, &proposal)) { return } @@ -357,10 +357,10 @@ func queryVotesOnProposalHandlerFn(clientCtx client.Context) http.HandlerFunc { params := types.NewQueryProposalVotesParams(proposalID, page, limit) propStatus := proposal.Status - if !(propStatus == types.StatusVotingPeriod || propStatus == types.StatusDepositPeriod) { + if propStatus != types.StatusVotingPeriod && propStatus != types.StatusDepositPeriod { res, err = gcutils.QueryVotesByTxQuery(clientCtx, params) } else { - bz, err = clientCtx.LegacyAmino.MarshalJSON(params) + bz, err = clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -417,7 +417,7 @@ func queryProposalsWithParameterFn(clientCtx client.Context) http.HandlerFunc { } params := types.NewQueryProposalsParams(page, limit, proposalStatus, voterAddr, depositorAddr) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -457,7 +457,7 @@ func queryTallyOnProposalHandlerFn(clientCtx client.Context) http.HandlerFunc { params := types.NewQueryProposalParams(proposalID) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } diff --git a/sei-cosmos/x/gov/client/rest/rest.go b/sei-cosmos/x/gov/client/rest/rest.go index 41e9d0ce31..3a6a1815d8 100644 --- a/sei-cosmos/x/gov/client/rest/rest.go +++ b/sei-cosmos/x/gov/client/rest/rest.go @@ -5,10 +5,10 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clientrest "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" ) // REST Variable names diff --git a/sei-cosmos/x/gov/client/rest/rest_test.go b/sei-cosmos/x/gov/client/rest/rest_test.go index d39b65ad0f..552ef2747f 100644 --- a/sei-cosmos/x/gov/client/rest/rest_test.go +++ b/sei-cosmos/x/gov/client/rest/rest_test.go @@ -6,9 +6,9 @@ package rest_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) func (s *IntegrationTestSuite) TestLegacyGetAllProposals() { diff --git a/sei-cosmos/x/gov/client/rest/tx.go b/sei-cosmos/x/gov/client/rest/tx.go index 0e192f37df..588d96b66b 100644 --- a/sei-cosmos/x/gov/client/rest/tx.go +++ b/sei-cosmos/x/gov/client/rest/tx.go @@ -6,11 +6,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/types/rest" - gcutils "github.com/cosmos/cosmos-sdk/x/gov/client/utils" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + gcutils "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) func registerTxHandlers(clientCtx client.Context, r *mux.Router, phs []ProposalRESTHandler) { diff --git a/sei-cosmos/x/gov/client/testutil/cli_test.go b/sei-cosmos/x/gov/client/testutil/cli_test.go index 393f303a11..080685da2a 100644 --- a/sei-cosmos/x/gov/client/testutil/cli_test.go +++ b/sei-cosmos/x/gov/client/testutil/cli_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" @@ -26,7 +26,7 @@ func TestIntegrationTestSuite(t *testing.T) { sdk.NewCoins(sdk.NewCoin(cfg.BondDenom, types.DefaultMinExpeditedDepositTokens)), time.Duration(15)*time.Second) genesisState.VotingParams = types.NewVotingParams(time.Duration(5)*time.Second, time.Duration(2)*time.Second) - bz, err := cfg.Codec.MarshalJSON(genesisState) + bz, err := cfg.Codec.MarshalAsJSON(genesisState) require.NoError(t, err) cfg.GenesisState["gov"] = bz suite.Run(t, NewDepositTestSuite(cfg)) diff --git a/sei-cosmos/x/gov/client/testutil/deposits.go b/sei-cosmos/x/gov/client/testutil/deposits.go index 81f133fd30..140264588a 100644 --- a/sei-cosmos/x/gov/client/testutil/deposits.go +++ b/sei-cosmos/x/gov/client/testutil/deposits.go @@ -4,11 +4,11 @@ import ( "fmt" "time" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - "github.com/cosmos/cosmos-sdk/x/gov/types" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/stretchr/testify/suite" ) @@ -140,7 +140,7 @@ func (s *DepositTestSuite) TestRejectedProposalDeposits() { cmd := cli.GetCmdQueryDeposits() out, err := clitestutil.ExecTestCLICmd(val.ClientCtx, cmd, args) s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.LegacyAmino.UnmarshalJSON(out.Bytes(), &deposits)) + s.Require().NoError(val.ClientCtx.LegacyAmino.UnmarshalAsJSON(out.Bytes(), &deposits)) s.Require().Equal(len(deposits.Deposits), 1) // verify initial deposit s.Require().Equal(deposits.Deposits[0].Amount.String(), sdk.NewCoin(s.cfg.BondDenom, types.DefaultMinDepositTokens).String()) @@ -174,7 +174,7 @@ func (s *DepositTestSuite) queryDeposits(val *network.Validator, proposalID stri return nil } s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.LegacyAmino.UnmarshalJSON(out.Bytes(), &depositsRes)) + s.Require().NoError(val.ClientCtx.LegacyAmino.UnmarshalAsJSON(out.Bytes(), &depositsRes)) return depositsRes } @@ -188,6 +188,6 @@ func (s *DepositTestSuite) queryDeposit(val *network.Validator, proposalID strin return nil } s.Require().NoError(err) - s.Require().NoError(val.ClientCtx.LegacyAmino.UnmarshalJSON(out.Bytes(), &depositRes)) + s.Require().NoError(val.ClientCtx.LegacyAmino.UnmarshalAsJSON(out.Bytes(), &depositRes)) return &depositRes } diff --git a/sei-cosmos/x/gov/client/testutil/helpers.go b/sei-cosmos/x/gov/client/testutil/helpers.go index e16ac0e98e..f6e1c1e809 100644 --- a/sei-cosmos/x/gov/client/testutil/helpers.go +++ b/sei-cosmos/x/gov/client/testutil/helpers.go @@ -3,12 +3,12 @@ package testutil import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - sdk "github.com/cosmos/cosmos-sdk/types" - govcli "github.com/cosmos/cosmos-sdk/x/gov/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" ) var commonArgs = []string{ diff --git a/sei-cosmos/x/gov/client/testutil/suite.go b/sei-cosmos/x/gov/client/testutil/suite.go index bd916a5e04..272c96e662 100644 --- a/sei-cosmos/x/gov/client/testutil/suite.go +++ b/sei-cosmos/x/gov/client/testutil/suite.go @@ -4,19 +4,19 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) type IntegrationTestSuite struct { @@ -269,7 +269,7 @@ func (s *IntegrationTestSuite) TestCmdTally() { s.Require().Error(err) } else { var tally types.TallyResult - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &tally), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &tally), out.String()) s.Require().Equal(tally, tc.expectedOutput) } }) @@ -360,7 +360,7 @@ func (s *IntegrationTestSuite) TestNewCmdSubmitProposal() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) } @@ -409,7 +409,7 @@ func (s *IntegrationTestSuite) TestCmdGetProposal() { } else { s.Require().NoError(err) var proposal types.Proposal - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &proposal), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &proposal), out.String()) s.Require().Equal(title, proposal.GetTitle()) } }) @@ -455,7 +455,7 @@ func (s *IntegrationTestSuite) TestCmdGetProposals() { s.Require().NoError(err) var proposals types.QueryProposalsResponse - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &proposals), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &proposals), out.String()) s.Require().Len(proposals.Proposals, 3) } }) @@ -501,7 +501,7 @@ func (s *IntegrationTestSuite) TestCmdQueryDeposits() { s.Require().NoError(err) var deposits types.QueryDepositsResponse - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &deposits), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &deposits), out.String()) s.Require().Len(deposits.Deposits, 1) } }) @@ -557,7 +557,7 @@ func (s *IntegrationTestSuite) TestCmdQueryDeposit() { s.Require().NoError(err) var deposit types.Deposit - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &deposit), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &deposit), out.String()) s.Require().Equal(depositAmount.String(), deposit.Amount.String()) } }) @@ -635,7 +635,7 @@ func (s *IntegrationTestSuite) TestNewCmdDeposit() { } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &resp), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &resp), out.String()) s.Require().Equal(tc.expectedCode, resp.Code, out.String()) } }) @@ -686,7 +686,7 @@ func (s *IntegrationTestSuite) TestCmdQueryVotes() { s.Require().NoError(err) var votes types.QueryVotesResponse - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &votes), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &votes), out.String()) s.Require().Len(votes.Votes, 1) } }) @@ -761,7 +761,7 @@ func (s *IntegrationTestSuite) TestCmdQueryVote() { s.Require().NoError(err) var vote types.Vote - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &vote), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &vote), out.String()) s.Require().Equal(len(vote.Options), len(tc.expVoteOptions)) for i, option := range tc.expVoteOptions { s.Require().Equal(option.Option, vote.Options[i].Option) @@ -825,7 +825,7 @@ func (s *IntegrationTestSuite) TestNewCmdVote() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &txResp), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &txResp), out.String()) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) } }) @@ -909,7 +909,7 @@ func (s *IntegrationTestSuite) TestNewCmdWeightedVote() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &txResp), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &txResp), out.String()) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) } }) diff --git a/sei-cosmos/x/gov/client/utils/query.go b/sei-cosmos/x/gov/client/utils/query.go index f4799a89d3..38935ea307 100644 --- a/sei-cosmos/x/gov/client/utils/query.go +++ b/sei-cosmos/x/gov/client/utils/query.go @@ -3,11 +3,11 @@ package utils import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtx "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) const ( @@ -79,7 +79,7 @@ func QueryDepositsByTxQuery(clientCtx client.Context, params types.QueryProposal } } - bz, err := clientCtx.LegacyAmino.MarshalJSON(deposits) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(deposits) if err != nil { return nil, err } @@ -159,7 +159,7 @@ func QueryVotesByTxQuery(clientCtx client.Context, params types.QueryProposalVot votes = votes[start:end] } - bz, err := clientCtx.LegacyAmino.MarshalJSON(votes) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(votes) if err != nil { return nil, err } @@ -221,7 +221,7 @@ func QueryVoteByTxQuery(clientCtx client.Context, params types.QueryVoteParams) } if vote != nil { - bz, err := clientCtx.Codec.MarshalJSON(vote) + bz, err := clientCtx.Codec.MarshalAsJSON(vote) if err != nil { return nil, err } @@ -245,7 +245,7 @@ func QueryDepositByTxQuery(clientCtx client.Context, params types.QueryDepositPa } if !initialDeposit.Amount.IsZero() { - bz, err := clientCtx.Codec.MarshalJSON(&initialDeposit) + bz, err := clientCtx.Codec.MarshalAsJSON(&initialDeposit) if err != nil { return nil, err } @@ -282,7 +282,7 @@ func QueryDepositByTxQuery(clientCtx client.Context, params types.QueryDepositPa Amount: depMsg.Amount, } - bz, err := clientCtx.Codec.MarshalJSON(&deposit) + bz, err := clientCtx.Codec.MarshalAsJSON(&deposit) if err != nil { return nil, err } @@ -331,7 +331,7 @@ func QueryProposerByTxQuery(clientCtx client.Context, proposalID uint64) (Propos // QueryProposalByID takes a proposalID and returns a proposal func QueryProposalByID(proposalID uint64, clientCtx client.Context, queryRoute string) ([]byte, error) { params := types.NewQueryProposalParams(proposalID) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if err != nil { return nil, err } diff --git a/sei-cosmos/x/gov/client/utils/query_test.go b/sei-cosmos/x/gov/client/utils/query_test.go index 99b52898f1..0550c93d28 100644 --- a/sei-cosmos/x/gov/client/utils/query_test.go +++ b/sei-cosmos/x/gov/client/utils/query_test.go @@ -10,12 +10,12 @@ import ( tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" - "github.com/cosmos/cosmos-sdk/x/gov/client/utils" - "github.com/cosmos/cosmos-sdk/x/gov/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) type TxSearchMock struct { @@ -183,7 +183,7 @@ func TestGetPaginatedVotes(t *testing.T) { votesData, err := utils.QueryVotesByTxQuery(clientCtx, params) require.NoError(t, err) votes := []types.Vote{} - require.NoError(t, clientCtx.LegacyAmino.UnmarshalJSON(votesData, &votes)) + require.NoError(t, clientCtx.LegacyAmino.UnmarshalAsJSON(votesData, &votes)) require.Equal(t, len(tc.votes), len(votes)) for i := range votes { require.Equal(t, tc.votes[i], votes[i]) diff --git a/sei-cosmos/x/gov/client/utils/utils.go b/sei-cosmos/x/gov/client/utils/utils.go index f0bf6ead26..5565beea69 100644 --- a/sei-cosmos/x/gov/client/utils/utils.go +++ b/sei-cosmos/x/gov/client/utils/utils.go @@ -3,7 +3,7 @@ package utils import ( "strings" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // NormalizeVoteOption - normalize user specified vote option @@ -28,8 +28,9 @@ func NormalizeVoteOption(option string) string { // NormalizeWeightedVoteOptions - normalize vote options param string func NormalizeWeightedVoteOptions(options string) string { - newOptions := []string{} - for _, option := range strings.Split(options, ",") { + parts := strings.Split(options, ",") + newOptions := make([]string, 0, len(parts)) + for _, option := range parts { fields := strings.Split(option, "=") fields[0] = NormalizeVoteOption(fields[0]) if len(fields) < 2 { diff --git a/sei-cosmos/x/gov/client/utils/utils_test.go b/sei-cosmos/x/gov/client/utils/utils_test.go index bc3c43ca81..0186aa0113 100644 --- a/sei-cosmos/x/gov/client/utils/utils_test.go +++ b/sei-cosmos/x/gov/client/utils/utils_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/gov/client/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/utils" ) func TestNormalizeWeightedVoteOptions(t *testing.T) { diff --git a/sei-cosmos/x/gov/common_test.go b/sei-cosmos/x/gov/common_test.go index 66143f9b83..309891c038 100644 --- a/sei-cosmos/x/gov/common_test.go +++ b/sei-cosmos/x/gov/common_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var ( diff --git a/sei-cosmos/x/gov/genesis.go b/sei-cosmos/x/gov/genesis.go index 62a194d9c0..609f8abc96 100644 --- a/sei-cosmos/x/gov/genesis.go +++ b/sei-cosmos/x/gov/genesis.go @@ -3,9 +3,9 @@ package gov import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // InitGenesis - store genesis parameters diff --git a/sei-cosmos/x/gov/genesis_test.go b/sei-cosmos/x/gov/genesis_test.go index 790ad458a6..a3ea7000cf 100644 --- a/sei-cosmos/x/gov/genesis_test.go +++ b/sei-cosmos/x/gov/genesis_test.go @@ -10,13 +10,13 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/gov" - "github.com/cosmos/cosmos-sdk/x/gov/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) func TestImportExportQueues(t *testing.T) { diff --git a/sei-cosmos/x/gov/handler.go b/sei-cosmos/x/gov/handler.go index 6af451d3dd..9f472e5bcc 100644 --- a/sei-cosmos/x/gov/handler.go +++ b/sei-cosmos/x/gov/handler.go @@ -1,10 +1,10 @@ package gov import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // NewHandler creates an sdk.Handler for all the gov type messages diff --git a/sei-cosmos/x/gov/handler_test.go b/sei-cosmos/x/gov/handler_test.go index 5e12ddcda1..227bdafe0c 100644 --- a/sei-cosmos/x/gov/handler_test.go +++ b/sei-cosmos/x/gov/handler_test.go @@ -6,13 +6,13 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" ) func TestInvalidMsg(t *testing.T) { diff --git a/sei-cosmos/x/gov/keeper/common_test.go b/sei-cosmos/x/gov/keeper/common_test.go index 65fbbd1ecc..3424b5b753 100644 --- a/sei-cosmos/x/gov/keeper/common_test.go +++ b/sei-cosmos/x/gov/keeper/common_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var ( diff --git a/sei-cosmos/x/gov/keeper/deposit.go b/sei-cosmos/x/gov/keeper/deposit.go index 767398503e..7baf2a8534 100644 --- a/sei-cosmos/x/gov/keeper/deposit.go +++ b/sei-cosmos/x/gov/keeper/deposit.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // GetDeposit gets the deposit of a specific depositor on a specific proposal @@ -72,7 +72,7 @@ func (keeper Keeper) IterateAllDeposits(ctx sdk.Context, cb func(deposit types.D store := ctx.KVStore(keeper.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.DepositsKeyPrefix) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { var deposit types.Deposit @@ -90,7 +90,7 @@ func (keeper Keeper) IterateDeposits(ctx sdk.Context, proposalID uint64, cb func store := ctx.KVStore(keeper.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.DepositsKey(proposalID)) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { var deposit types.Deposit diff --git a/sei-cosmos/x/gov/keeper/deposit_test.go b/sei-cosmos/x/gov/keeper/deposit_test.go index 927a4f63a8..6441a2dc4b 100644 --- a/sei-cosmos/x/gov/keeper/deposit_test.go +++ b/sei-cosmos/x/gov/keeper/deposit_test.go @@ -4,13 +4,13 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestDeposits(t *testing.T) { diff --git a/sei-cosmos/x/gov/keeper/grpc_query.go b/sei-cosmos/x/gov/keeper/grpc_query.go index 5caf220f77..49f9a8e69a 100644 --- a/sei-cosmos/x/gov/keeper/grpc_query.go +++ b/sei-cosmos/x/gov/keeper/grpc_query.go @@ -6,10 +6,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) var _ types.QueryServer = Keeper{} @@ -263,11 +263,11 @@ func (q Keeper) TallyResult(c context.Context, req *types.QueryTallyResultReques var tallyResult types.TallyResult - switch { - case proposal.Status == types.StatusDepositPeriod: + switch proposal.Status { + case types.StatusDepositPeriod: tallyResult = types.EmptyTallyResult() - case proposal.Status == types.StatusPassed || proposal.Status == types.StatusRejected: + case types.StatusPassed, types.StatusRejected: tallyResult = proposal.FinalTallyResult default: diff --git a/sei-cosmos/x/gov/keeper/grpc_query_test.go b/sei-cosmos/x/gov/keeper/grpc_query_test.go index 657bf3192f..3f078d2ca2 100644 --- a/sei-cosmos/x/gov/keeper/grpc_query_test.go +++ b/sei-cosmos/x/gov/keeper/grpc_query_test.go @@ -5,10 +5,10 @@ import ( "fmt" "strconv" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/gov/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) func (suite *KeeperTestSuite) TestGRPCQueryProposal() { diff --git a/sei-cosmos/x/gov/keeper/hooks.go b/sei-cosmos/x/gov/keeper/hooks.go index a63efdcc74..f46262c94f 100644 --- a/sei-cosmos/x/gov/keeper/hooks.go +++ b/sei-cosmos/x/gov/keeper/hooks.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // Implements GovHooks interface diff --git a/sei-cosmos/x/gov/keeper/hooks_test.go b/sei-cosmos/x/gov/keeper/hooks_test.go index d9bac39004..acb45b9cab 100644 --- a/sei-cosmos/x/gov/keeper/hooks_test.go +++ b/sei-cosmos/x/gov/keeper/hooks_test.go @@ -7,11 +7,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) var _ types.GovHooks = &MockGovHooksReceiver{} diff --git a/sei-cosmos/x/gov/keeper/internal_test.go b/sei-cosmos/x/gov/keeper/internal_test.go index fe01d08e46..97f2d64273 100644 --- a/sei-cosmos/x/gov/keeper/internal_test.go +++ b/sei-cosmos/x/gov/keeper/internal_test.go @@ -1,6 +1,6 @@ package keeper -import "github.com/cosmos/cosmos-sdk/x/gov/types" +import "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" // UnsafeSetHooks updates the gov keeper's hooks, overriding any potential // pre-existing hooks. diff --git a/sei-cosmos/x/gov/keeper/invariants.go b/sei-cosmos/x/gov/keeper/invariants.go index d0ec4dbfac..2c998bca5e 100644 --- a/sei-cosmos/x/gov/keeper/invariants.go +++ b/sei-cosmos/x/gov/keeper/invariants.go @@ -5,8 +5,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // RegisterInvariants registers all governance invariants diff --git a/sei-cosmos/x/gov/keeper/keeper.go b/sei-cosmos/x/gov/keeper/keeper.go index 219961dad6..133cdd5f91 100644 --- a/sei-cosmos/x/gov/keeper/keeper.go +++ b/sei-cosmos/x/gov/keeper/keeper.go @@ -6,10 +6,10 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // Keeper defines the governance module Keeper @@ -133,7 +133,7 @@ func (keeper Keeper) RemoveFromInactiveProposalQueue(ctx sdk.Context, proposalID func (keeper Keeper) IterateActiveProposalsQueue(ctx sdk.Context, endTime time.Time, cb func(proposal types.Proposal) (stop bool)) { iterator := keeper.ActiveProposalQueueIterator(ctx, endTime) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { proposalID, _ := types.SplitActiveProposalQueueKey(iterator.Key()) proposal, found := keeper.GetProposal(ctx, proposalID) @@ -152,7 +152,7 @@ func (keeper Keeper) IterateActiveProposalsQueue(ctx sdk.Context, endTime time.T func (keeper Keeper) IterateInactiveProposalsQueue(ctx sdk.Context, endTime time.Time, cb func(proposal types.Proposal) (stop bool)) { iterator := keeper.InactiveProposalQueueIterator(ctx, endTime) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { proposalID, _ := types.SplitInactiveProposalQueueKey(iterator.Key()) proposal, found := keeper.GetProposal(ctx, proposalID) diff --git a/sei-cosmos/x/gov/keeper/keeper_test.go b/sei-cosmos/x/gov/keeper/keeper_test.go index cd29a644f6..24b988f6fa 100644 --- a/sei-cosmos/x/gov/keeper/keeper_test.go +++ b/sei-cosmos/x/gov/keeper/keeper_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) type KeeperTestSuite struct { diff --git a/sei-cosmos/x/gov/keeper/migrations.go b/sei-cosmos/x/gov/keeper/migrations.go index 32ab458f53..6e67c4fee4 100644 --- a/sei-cosmos/x/gov/keeper/migrations.go +++ b/sei-cosmos/x/gov/keeper/migrations.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Migrator is a struct for handling in-place store migrations. diff --git a/sei-cosmos/x/gov/keeper/msg_server.go b/sei-cosmos/x/gov/keeper/msg_server.go index 7dcd876825..82672539ac 100644 --- a/sei-cosmos/x/gov/keeper/msg_server.go +++ b/sei-cosmos/x/gov/keeper/msg_server.go @@ -7,9 +7,9 @@ import ( "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) type msgServer struct { @@ -26,14 +26,14 @@ var _ types.MsgServer = msgServer{} func (k msgServer) SubmitProposal(goCtx context.Context, msg *types.MsgSubmitProposal) (*types.MsgSubmitProposalResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) - proposal, err := k.Keeper.SubmitProposalWithExpedite(ctx, msg.GetContent(), msg.IsExpedited) + proposal, err := k.SubmitProposalWithExpedite(ctx, msg.GetContent(), msg.IsExpedited) if err != nil { return nil, err } defer telemetry.IncrCounter(1, types.ModuleName, "proposal") - votingStarted, err := k.Keeper.AddDeposit(ctx, proposal.ProposalId, msg.GetProposer(), msg.GetInitialDeposit()) + votingStarted, err := k.AddDeposit(ctx, proposal.ProposalId, msg.GetProposer(), msg.GetInitialDeposit()) if err != nil { return nil, err } @@ -66,7 +66,7 @@ func (k msgServer) Vote(goCtx context.Context, msg *types.MsgVote) (*types.MsgVo return nil, err } - err = k.Keeper.AddVote(ctx, msg.ProposalId, accAddr, types.NewNonSplitVoteOption(msg.Option)) + err = k.AddVote(ctx, msg.ProposalId, accAddr, types.NewNonSplitVoteOption(msg.Option)) if err != nil { return nil, err } @@ -75,7 +75,7 @@ func (k msgServer) Vote(goCtx context.Context, msg *types.MsgVote) (*types.MsgVo []string{types.ModuleName, "vote"}, 1, []metrics.Label{ - telemetry.NewLabel("proposal_id", strconv.Itoa(int(msg.ProposalId))), + telemetry.NewLabel("proposal_id", strconv.FormatUint(msg.ProposalId, 10)), }, ) @@ -96,7 +96,7 @@ func (k msgServer) VoteWeighted(goCtx context.Context, msg *types.MsgVoteWeighte if accErr != nil { return nil, accErr } - err := k.Keeper.AddVote(ctx, msg.ProposalId, accAddr, msg.Options) + err := k.AddVote(ctx, msg.ProposalId, accAddr, msg.Options) if err != nil { return nil, err } @@ -105,7 +105,7 @@ func (k msgServer) VoteWeighted(goCtx context.Context, msg *types.MsgVoteWeighte []string{types.ModuleName, "vote"}, 1, []metrics.Label{ - telemetry.NewLabel("proposal_id", strconv.Itoa(int(msg.ProposalId))), + telemetry.NewLabel("proposal_id", strconv.FormatUint(msg.ProposalId, 10)), }, ) @@ -126,7 +126,7 @@ func (k msgServer) Deposit(goCtx context.Context, msg *types.MsgDeposit) (*types if err != nil { return nil, err } - votingStarted, err := k.Keeper.AddDeposit(ctx, msg.ProposalId, accAddr, msg.Amount) + votingStarted, err := k.AddDeposit(ctx, msg.ProposalId, accAddr, msg.Amount) if err != nil { return nil, err } @@ -135,7 +135,7 @@ func (k msgServer) Deposit(goCtx context.Context, msg *types.MsgDeposit) (*types []string{types.ModuleName, "deposit"}, 1, []metrics.Label{ - telemetry.NewLabel("proposal_id", strconv.Itoa(int(msg.ProposalId))), + telemetry.NewLabel("proposal_id", strconv.FormatUint(msg.ProposalId, 10)), }, ) diff --git a/sei-cosmos/x/gov/keeper/params.go b/sei-cosmos/x/gov/keeper/params.go index 0c6fc4338b..750cd11eb0 100644 --- a/sei-cosmos/x/gov/keeper/params.go +++ b/sei-cosmos/x/gov/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // GetDepositParams returns the current DepositParams from the global param store diff --git a/sei-cosmos/x/gov/keeper/proposal.go b/sei-cosmos/x/gov/keeper/proposal.go index ab30121f60..c38229ab19 100644 --- a/sei-cosmos/x/gov/keeper/proposal.go +++ b/sei-cosmos/x/gov/keeper/proposal.go @@ -2,11 +2,12 @@ package keeper import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) // SubmitProposal create new proposal given a content @@ -110,7 +111,7 @@ func (keeper Keeper) IterateProposals(ctx sdk.Context, cb func(proposal types.Pr store := ctx.KVStore(keeper.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.ProposalsKeyPrefix) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { var proposal types.Proposal diff --git a/sei-cosmos/x/gov/keeper/proposal_test.go b/sei-cosmos/x/gov/keeper/proposal_test.go index d4a94aaef4..35028612da 100644 --- a/sei-cosmos/x/gov/keeper/proposal_test.go +++ b/sei-cosmos/x/gov/keeper/proposal_test.go @@ -3,14 +3,14 @@ package keeper_test import ( "errors" "fmt" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" "github.com/stretchr/testify/require" "strings" "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) func (suite *KeeperTestSuite) TestGetSetProposal() { diff --git a/sei-cosmos/x/gov/keeper/querier.go b/sei-cosmos/x/gov/keeper/querier.go index 2c3d95b711..752b9fb048 100644 --- a/sei-cosmos/x/gov/keeper/querier.go +++ b/sei-cosmos/x/gov/keeper/querier.go @@ -3,11 +3,11 @@ package keeper import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // NewQuerier creates a new gov Querier instance @@ -75,7 +75,7 @@ func queryParams(ctx sdk.Context, path []string, req abci.RequestQuery, keeper K // nolint: unparam func queryProposal(ctx sdk.Context, path []string, req abci.RequestQuery, keeper Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryProposalParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -96,7 +96,7 @@ func queryProposal(ctx sdk.Context, path []string, req abci.RequestQuery, keeper // nolint: unparam func queryDeposit(ctx sdk.Context, path []string, req abci.RequestQuery, keeper Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryDepositParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -113,7 +113,7 @@ func queryDeposit(ctx sdk.Context, path []string, req abci.RequestQuery, keeper // nolint: unparam func queryVote(ctx sdk.Context, path []string, req abci.RequestQuery, keeper Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryVoteParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -130,7 +130,7 @@ func queryVote(ctx sdk.Context, path []string, req abci.RequestQuery, keeper Kee // nolint: unparam func queryDeposits(ctx sdk.Context, path []string, req abci.RequestQuery, keeper Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryProposalParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -151,7 +151,7 @@ func queryDeposits(ctx sdk.Context, path []string, req abci.RequestQuery, keeper // nolint: unparam func queryTally(ctx sdk.Context, path []string, req abci.RequestQuery, keeper Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryProposalParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -165,11 +165,11 @@ func queryTally(ctx sdk.Context, path []string, req abci.RequestQuery, keeper Ke var tallyResult types.TallyResult - switch { - case proposal.Status == types.StatusDepositPeriod: + switch proposal.Status { + case types.StatusDepositPeriod: tallyResult = types.EmptyTallyResult() - case proposal.Status == types.StatusPassed || proposal.Status == types.StatusRejected: + case types.StatusPassed, types.StatusRejected: tallyResult = proposal.FinalTallyResult default: @@ -188,7 +188,7 @@ func queryTally(ctx sdk.Context, path []string, req abci.RequestQuery, keeper Ke // nolint: unparam func queryVotes(ctx sdk.Context, path []string, req abci.RequestQuery, keeper Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryProposalVotesParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -215,7 +215,7 @@ func queryVotes(ctx sdk.Context, path []string, req abci.RequestQuery, keeper Ke func queryProposals(ctx sdk.Context, _ []string, req abci.RequestQuery, keeper Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryProposalsParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } diff --git a/sei-cosmos/x/gov/keeper/querier_test.go b/sei-cosmos/x/gov/keeper/querier_test.go index d9ef410176..c3ab1f2efb 100644 --- a/sei-cosmos/x/gov/keeper/querier_test.go +++ b/sei-cosmos/x/gov/keeper/querier_test.go @@ -10,11 +10,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) const custom = "custom" @@ -30,7 +30,7 @@ func getQueriedParams(t *testing.T, ctx sdk.Context, cdc *codec.LegacyAmino, que require.NotNil(t, bz) var depositParams types.DepositParams - require.NoError(t, cdc.UnmarshalJSON(bz, &depositParams)) + require.NoError(t, cdc.UnmarshalAsJSON(bz, &depositParams)) query = abci.RequestQuery{ Path: strings.Join([]string{custom, types.QuerierRoute, types.QueryParams, types.ParamVoting}, "/"), @@ -42,7 +42,7 @@ func getQueriedParams(t *testing.T, ctx sdk.Context, cdc *codec.LegacyAmino, que require.NotNil(t, bz) var votingParams types.VotingParams - require.NoError(t, cdc.UnmarshalJSON(bz, &votingParams)) + require.NoError(t, cdc.UnmarshalAsJSON(bz, &votingParams)) query = abci.RequestQuery{ Path: strings.Join([]string{custom, types.QuerierRoute, types.QueryParams, types.ParamTallying}, "/"), @@ -54,7 +54,7 @@ func getQueriedParams(t *testing.T, ctx sdk.Context, cdc *codec.LegacyAmino, que require.NotNil(t, bz) var tallyParams types.TallyParams - require.NoError(t, cdc.UnmarshalJSON(bz, &tallyParams)) + require.NoError(t, cdc.UnmarshalAsJSON(bz, &tallyParams)) return depositParams, votingParams, tallyParams } @@ -74,7 +74,7 @@ func getQueriedProposals( require.NotNil(t, bz) var proposals types.Proposals - require.NoError(t, cdc.UnmarshalJSON(bz, &proposals)) + require.NoError(t, cdc.UnmarshalAsJSON(bz, &proposals)) return proposals } @@ -90,7 +90,7 @@ func getQueriedDeposit(t *testing.T, ctx sdk.Context, cdc *codec.LegacyAmino, qu require.NotNil(t, bz) var deposit types.Deposit - require.NoError(t, cdc.UnmarshalJSON(bz, &deposit)) + require.NoError(t, cdc.UnmarshalAsJSON(bz, &deposit)) return deposit } @@ -106,7 +106,7 @@ func getQueriedDeposits(t *testing.T, ctx sdk.Context, cdc *codec.LegacyAmino, q require.NotNil(t, bz) var deposits []types.Deposit - require.NoError(t, cdc.UnmarshalJSON(bz, &deposits)) + require.NoError(t, cdc.UnmarshalAsJSON(bz, &deposits)) return deposits } @@ -122,7 +122,7 @@ func getQueriedVote(t *testing.T, ctx sdk.Context, cdc *codec.LegacyAmino, queri require.NotNil(t, bz) var vote types.Vote - require.NoError(t, cdc.UnmarshalJSON(bz, &vote)) + require.NoError(t, cdc.UnmarshalAsJSON(bz, &vote)) return vote } @@ -139,7 +139,7 @@ func getQueriedVotes(t *testing.T, ctx sdk.Context, cdc *codec.LegacyAmino, quer require.NotNil(t, bz) var votes []types.Vote - require.NoError(t, cdc.UnmarshalJSON(bz, &votes)) + require.NoError(t, cdc.UnmarshalAsJSON(bz, &votes)) return votes } diff --git a/sei-cosmos/x/gov/keeper/tally.go b/sei-cosmos/x/gov/keeper/tally.go index c7fe651062..e806446cab 100644 --- a/sei-cosmos/x/gov/keeper/tally.go +++ b/sei-cosmos/x/gov/keeper/tally.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // TODO: Break into several smaller functions for clarity diff --git a/sei-cosmos/x/gov/keeper/tally_test.go b/sei-cosmos/x/gov/keeper/tally_test.go index 6691df834e..7c535e504d 100644 --- a/sei-cosmos/x/gov/keeper/tally_test.go +++ b/sei-cosmos/x/gov/keeper/tally_test.go @@ -6,11 +6,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestTallyNoOneVotes(t *testing.T) { diff --git a/sei-cosmos/x/gov/keeper/vote.go b/sei-cosmos/x/gov/keeper/vote.go index 70b73c81aa..1988281eb8 100644 --- a/sei-cosmos/x/gov/keeper/vote.go +++ b/sei-cosmos/x/gov/keeper/vote.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // AddVote adds a vote on a specific proposal @@ -94,7 +94,7 @@ func (keeper Keeper) IterateAllVotes(ctx sdk.Context, cb func(vote types.Vote) ( store := ctx.KVStore(keeper.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.VotesKeyPrefix) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { var vote types.Vote keeper.cdc.MustUnmarshal(iterator.Value(), &vote) @@ -111,7 +111,7 @@ func (keeper Keeper) IterateVotes(ctx sdk.Context, proposalID uint64, cb func(vo store := ctx.KVStore(keeper.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.VotesKey(proposalID)) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { var vote types.Vote keeper.cdc.MustUnmarshal(iterator.Value(), &vote) diff --git a/sei-cosmos/x/gov/keeper/vote_test.go b/sei-cosmos/x/gov/keeper/vote_test.go index 6346db618f..07900b7ca5 100644 --- a/sei-cosmos/x/gov/keeper/vote_test.go +++ b/sei-cosmos/x/gov/keeper/vote_test.go @@ -6,9 +6,9 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) func TestVotes(t *testing.T) { diff --git a/sei-cosmos/x/gov/module.go b/sei-cosmos/x/gov/module.go index 5074396f09..2f61b161df 100644 --- a/sei-cosmos/x/gov/module.go +++ b/sei-cosmos/x/gov/module.go @@ -13,18 +13,18 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - "github.com/cosmos/cosmos-sdk/x/gov/client/rest" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + govclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) var ( @@ -65,7 +65,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the gov module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var data types.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } @@ -94,7 +94,7 @@ func (a AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Ro // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the gov module. func (a AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { - types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) + _ = types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) } // GetTxCmd returns the root tx command for the gov module. diff --git a/sei-cosmos/x/gov/module_test.go b/sei-cosmos/x/gov/module_test.go index f2b0f35e22..2fc87fc2e4 100644 --- a/sei-cosmos/x/gov/module_test.go +++ b/sei-cosmos/x/gov/module_test.go @@ -8,9 +8,9 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" seiapp "github.com/sei-protocol/sei-chain/app" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) func TestItCreatesModuleAccountOnInitBlock(t *testing.T) { diff --git a/sei-cosmos/x/gov/simulation/decoder.go b/sei-cosmos/x/gov/simulation/decoder.go index 762b8ffb13..dbfa8c8c84 100644 --- a/sei-cosmos/x/gov/simulation/decoder.go +++ b/sei-cosmos/x/gov/simulation/decoder.go @@ -5,9 +5,9 @@ import ( "encoding/binary" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/sei-cosmos/x/gov/simulation/genesis.go b/sei-cosmos/x/gov/simulation/genesis.go index 885d4443ca..df66d33be5 100644 --- a/sei-cosmos/x/gov/simulation/genesis.go +++ b/sei-cosmos/x/gov/simulation/genesis.go @@ -8,10 +8,10 @@ import ( "math/rand" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // Simulation parameter constants @@ -80,7 +80,7 @@ func GenTallyParamsVeto(r *rand.Rand) sdk.Dec { // RandomizedGenState generates a random GenesisState for gov func RandomizedGenState(simState *module.SimulationState) { - startingProposalID := uint64(simState.Rand.Intn(100)) + startingProposalID := uint64(simState.Rand.Intn(100)) //nolint:gosec // Intn(100) always returns a non-negative value var minDeposit sdk.Coins simState.AppParams.GetOrGenerate( diff --git a/sei-cosmos/x/gov/simulation/operations.go b/sei-cosmos/x/gov/simulation/operations.go index 21d488a368..8079e721d4 100644 --- a/sei-cosmos/x/gov/simulation/operations.go +++ b/sei-cosmos/x/gov/simulation/operations.go @@ -5,23 +5,23 @@ import ( "math/rand" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/keeper" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/simulation" seiappparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" ) var initialProposalID = uint64(100000000000000) // Simulation operation weights constants const ( - OpWeightMsgDeposit = "op_weight_msg_deposit" - OpWeightMsgVote = "op_weight_msg_vote" - OpWeightMsgVoteWeighted = "op_weight_msg_weighted_vote" + OpWeightMsgDeposit = "op_weight_msg_deposit" //nolint:gosec + OpWeightMsgVote = "op_weight_msg_vote" //nolint:gosec + OpWeightMsgVoteWeighted = "op_weight_msg_weighted_vote" //nolint:gosec ) // WeightedOperations returns all the operations from the module with their respective weights @@ -195,10 +195,10 @@ func SimulateMsgSubmitProposal( fops := make([]simtypes.FutureOperation, numVotes+1) for i := 0; i < numVotes; i++ { - whenVote := ctx.BlockHeader().Time.Add(time.Duration(r.Int63n(int64(votingPeriod.Seconds()))) * time.Second) + whenVote := ctx.BlockHeader().Time.Add(time.Duration(r.Int63n(int64(votingPeriod.Seconds()))) * time.Second) //nolint:gosec // voting period seconds is a small positive config value fops[i] = simtypes.FutureOperation{ BlockTime: whenVote, - Op: operationSimulateMsgVote(ak, bk, k, accs[whoVotes[i]], int64(proposalID)), + Op: operationSimulateMsgVote(ak, bk, k, accs[whoVotes[i]], int64(proposalID)), //nolint:gosec // proposal IDs are sequential small values } } @@ -409,10 +409,13 @@ func randomProposalID(r *rand.Rand, k keeper.Keeper, switch { case proposalID > initialProposalID: // select a random ID between [initialProposalID, proposalID] - proposalID = uint64(simtypes.RandIntBetween(r, int(initialProposalID), int(proposalID))) + if initialProposalID > uint64(math.MaxInt) || proposalID > uint64(math.MaxInt) { + return proposalID, false + } + proposalID = uint64(simtypes.RandIntBetween(r, int(initialProposalID), int(proposalID))) //#nosec G115 -- bounds checked above default: - // This is called on the first call to this funcion + // This is called on the first call to this function // in order to update the global variable initialProposalID = proposalID } diff --git a/sei-cosmos/x/gov/simulation/params.go b/sei-cosmos/x/gov/simulation/params.go index 4ddf5a77c6..76301142ec 100644 --- a/sei-cosmos/x/gov/simulation/params.go +++ b/sei-cosmos/x/gov/simulation/params.go @@ -7,10 +7,10 @@ import ( "fmt" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/simulation" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" ) const ( diff --git a/sei-cosmos/x/gov/simulation/proposals.go b/sei-cosmos/x/gov/simulation/proposals.go index 9fab1a826c..8f9b5d37e4 100644 --- a/sei-cosmos/x/gov/simulation/proposals.go +++ b/sei-cosmos/x/gov/simulation/proposals.go @@ -3,11 +3,11 @@ package simulation import ( "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/simulation" seiappparams "github.com/sei-protocol/sei-chain/app/params" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" ) // OpWeightSubmitTextProposal app params key for text proposal diff --git a/sei-cosmos/x/gov/types/codec.go b/sei-cosmos/x/gov/types/codec.go index e59e0ef49c..17038d9de4 100644 --- a/sei-cosmos/x/gov/types/codec.go +++ b/sei-cosmos/x/gov/types/codec.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" ) // RegisterLegacyAminoCodec registers all the necessary types and interfaces for the diff --git a/sei-cosmos/x/gov/types/content.go b/sei-cosmos/x/gov/types/content.go index a75c95509c..57d36dd73a 100644 --- a/sei-cosmos/x/gov/types/content.go +++ b/sei-cosmos/x/gov/types/content.go @@ -3,8 +3,8 @@ package types import ( "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Constants pertaining to a Content object diff --git a/sei-cosmos/x/gov/types/deposit.go b/sei-cosmos/x/gov/types/deposit.go index 08374341a1..bf60db15cd 100644 --- a/sei-cosmos/x/gov/types/deposit.go +++ b/sei-cosmos/x/gov/types/deposit.go @@ -5,12 +5,10 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // NewDeposit creates a new Deposit instance -// -//nolint:interfacer func NewDeposit(proposalID uint64, depositor sdk.AccAddress, amount sdk.Coins) Deposit { return Deposit{proposalID, depositor.String(), amount} } diff --git a/sei-cosmos/x/gov/types/errors.go b/sei-cosmos/x/gov/types/errors.go index 96973f1751..172baeaf82 100644 --- a/sei-cosmos/x/gov/types/errors.go +++ b/sei-cosmos/x/gov/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/gov module sentinel errors diff --git a/sei-cosmos/x/gov/types/expected_keepers.go b/sei-cosmos/x/gov/types/expected_keepers.go index 2ad52cd8b0..0221e9405d 100644 --- a/sei-cosmos/x/gov/types/expected_keepers.go +++ b/sei-cosmos/x/gov/types/expected_keepers.go @@ -1,10 +1,10 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // ParamSubspace defines the expected Subspace interface for parameters (noalias) diff --git a/sei-cosmos/x/gov/types/genesis.go b/sei-cosmos/x/gov/types/genesis.go index 427807cb79..f0f2547927 100644 --- a/sei-cosmos/x/gov/types/genesis.go +++ b/sei-cosmos/x/gov/types/genesis.go @@ -3,7 +3,7 @@ package types import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) // NewGenesisState creates a new genesis state for the governance module @@ -51,7 +51,9 @@ func ValidateGenesis(data *GenesisState) error { return fmt.Errorf("governance genesis state cannot be nil") } - validateTallyParams(data.TallyParams) + if err := validateTallyParams(data.TallyParams); err != nil { + return err + } if !data.DepositParams.MinDeposit.IsValid() { return fmt.Errorf("governance deposit amount must be a valid sdk.Coins amount, is %s", diff --git a/sei-cosmos/x/gov/types/genesis.pb.go b/sei-cosmos/x/gov/types/genesis.pb.go index 82191fdeda..0986a5e939 100644 --- a/sei-cosmos/x/gov/types/genesis.pb.go +++ b/sei-cosmos/x/gov/types/genesis.pb.go @@ -130,34 +130,35 @@ func init() { func init() { proto.RegisterFile("cosmos/gov/v1beta1/genesis.proto", fileDescriptor_43cd825e0fa7a627) } var fileDescriptor_43cd825e0fa7a627 = []byte{ - // 430 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x31, 0x6f, 0xd3, 0x40, - 0x14, 0xc7, 0x63, 0x9a, 0x94, 0xf6, 0x92, 0x20, 0x38, 0x82, 0x64, 0x35, 0xc1, 0x36, 0x9e, 0xb2, - 0x60, 0xab, 0x65, 0x43, 0x62, 0xb1, 0x90, 0x50, 0x07, 0xa4, 0x62, 0x10, 0x03, 0x4b, 0x74, 0x89, - 0x4f, 0x87, 0x85, 0xdd, 0x67, 0xf9, 0x1d, 0x16, 0xf9, 0x16, 0x7c, 0x0e, 0x3e, 0x49, 0xc7, 0x8e, - 0x4c, 0x01, 0x25, 0x13, 0x6b, 0x3f, 0x01, 0xf2, 0xdd, 0x19, 0x1c, 0x61, 0x3a, 0xf9, 0xfc, 0xf4, - 0x7f, 0xbf, 0xdf, 0xbb, 0xd3, 0x23, 0xde, 0x0a, 0x30, 0x07, 0x0c, 0x05, 0x54, 0x61, 0x75, 0xba, - 0xe4, 0x92, 0x9d, 0x86, 0x82, 0x5f, 0x72, 0x4c, 0x31, 0x28, 0x4a, 0x90, 0x40, 0xa9, 0x4e, 0x04, - 0x02, 0xaa, 0xc0, 0x24, 0x4e, 0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, 0x3e, 0xc6, 0x8f, 0xc7, 0x49, - 0x3b, 0x4d, 0x57, 0x64, 0x5c, 0x81, 0x7e, 0x6c, 0xed, 0x39, 0x54, 0x1e, 0xef, 0x3f, 0xd7, 0xaf, - 0x9f, 0x5f, 0x6b, 0x66, 0x46, 0x33, 0xd1, 0x9a, 0x3d, 0x88, 0x1f, 0x8f, 0xaa, 0x56, 0x96, 0x2e, - 0xc8, 0x48, 0xb2, 0x2c, 0x5b, 0x37, 0x8e, 0xbb, 0xca, 0xe1, 0x76, 0x39, 0xde, 0xd5, 0x39, 0xa3, - 0x98, 0x1a, 0xc5, 0x43, 0xad, 0x68, 0x23, 0xfc, 0x78, 0x28, 0x5b, 0xc9, 0xe8, 0x6a, 0xeb, 0x58, - 0xd7, 0x5b, 0xc7, 0xfa, 0xb9, 0x75, 0xac, 0xaf, 0x3b, 0xa7, 0x77, 0xbd, 0x73, 0x7a, 0xdf, 0x77, - 0x4e, 0xef, 0xc3, 0x5c, 0xa4, 0xf2, 0xe3, 0xe7, 0x65, 0xb0, 0x82, 0x3c, 0x34, 0x4b, 0xac, 0x3f, - 0x4f, 0x31, 0xf9, 0x14, 0x7e, 0x51, 0x1b, 0x2d, 0xd7, 0x05, 0xc7, 0xe5, 0xa1, 0x5a, 0xdb, 0x67, - 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x45, 0x2a, 0x45, 0x22, 0x03, 0x00, 0x00, + // 438 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x6f, 0xd3, 0x30, + 0x14, 0xc7, 0x1b, 0xd6, 0x8e, 0xcd, 0x6d, 0x11, 0x98, 0x22, 0x45, 0x6b, 0x49, 0x42, 0x4e, 0xbd, + 0x90, 0x68, 0xe3, 0x82, 0x90, 0xb8, 0x44, 0x48, 0x68, 0x07, 0xa4, 0x61, 0x10, 0x07, 0x2e, 0x95,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 0x39, 0x99, 0xfd, 0xfe, 0xac, 0x37, + 0x5c, 0x6d, 0x0a, 0x81, 0xf3, 0x43, 0x1d, 0x7d, 0xf6, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x00, 0x82, + 0x10, 0xf3, 0x32, 0x03, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/gov/types/gov.pb.go b/sei-cosmos/x/gov/types/gov.pb.go index 2dc1d50cb7..b2ff80c1a2 100644 --- a/sei-cosmos/x/gov/types/gov.pb.go +++ b/sei-cosmos/x/gov/types/gov.pb.go @@ -5,14 +5,14 @@ package types import ( fmt "fmt" - types1 "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/gogo/protobuf/types" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "github.com/regen-network/cosmos-proto" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -124,8 +124,8 @@ func (ProposalStatus) EnumDescriptor() ([]byte, []int) { // // Since: cosmos-sdk 0.43 type WeightedVoteOption struct { - Option VoteOption `protobuf:"varint,1,opt,name=option,proto3,enum=cosmos.gov.v1beta1.VoteOption" json:"option,omitempty"` - Weight github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=weight,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"weight" yaml:"weight"` + Option VoteOption `protobuf:"varint,1,opt,name=option,proto3,enum=cosmos.gov.v1beta1.VoteOption" json:"option,omitempty"` + Weight github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=weight,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"weight" yaml:"weight"` } func (m *WeightedVoteOption) Reset() { *m = WeightedVoteOption{} } @@ -203,9 +203,9 @@ var xxx_messageInfo_TextProposal proto.InternalMessageInfo // Deposit defines an amount deposited by an account address to an active // proposal. type Deposit struct { - ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty" yaml:"proposal_id"` - Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty" yaml:"proposal_id"` + Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"` + Amount github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"amount"` } func (m *Deposit) Reset() { *m = Deposit{} } @@ -242,16 +242,16 @@ var xxx_messageInfo_Deposit proto.InternalMessageInfo // Proposal defines the core field members of a governance proposal. type Proposal struct { - ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"id" yaml:"id"` - Content *types1.Any `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` - Status ProposalStatus `protobuf:"varint,3,opt,name=status,proto3,enum=cosmos.gov.v1beta1.ProposalStatus" json:"status,omitempty" yaml:"proposal_status"` - FinalTallyResult TallyResult `protobuf:"bytes,4,opt,name=final_tally_result,json=finalTallyResult,proto3" json:"final_tally_result" yaml:"final_tally_result"` - SubmitTime time.Time `protobuf:"bytes,5,opt,name=submit_time,json=submitTime,proto3,stdtime" json:"submit_time" yaml:"submit_time"` - DepositEndTime time.Time `protobuf:"bytes,6,opt,name=deposit_end_time,json=depositEndTime,proto3,stdtime" json:"deposit_end_time" yaml:"deposit_end_time"` - TotalDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,7,rep,name=total_deposit,json=totalDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"total_deposit" yaml:"total_deposit"` - VotingStartTime time.Time `protobuf:"bytes,8,opt,name=voting_start_time,json=votingStartTime,proto3,stdtime" json:"voting_start_time" yaml:"voting_start_time"` - VotingEndTime time.Time `protobuf:"bytes,9,opt,name=voting_end_time,json=votingEndTime,proto3,stdtime" json:"voting_end_time" yaml:"voting_end_time"` - IsExpedited bool `protobuf:"varint,10,opt,name=is_expedited,json=isExpedited,proto3" json:"is_expedited,omitempty"` + ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"id" yaml:"id"` + Content *types1.Any `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + Status ProposalStatus `protobuf:"varint,3,opt,name=status,proto3,enum=cosmos.gov.v1beta1.ProposalStatus" json:"status,omitempty" yaml:"proposal_status"` + FinalTallyResult TallyResult `protobuf:"bytes,4,opt,name=final_tally_result,json=finalTallyResult,proto3" json:"final_tally_result" yaml:"final_tally_result"` + SubmitTime time.Time `protobuf:"bytes,5,opt,name=submit_time,json=submitTime,proto3,stdtime" json:"submit_time" yaml:"submit_time"` + DepositEndTime time.Time `protobuf:"bytes,6,opt,name=deposit_end_time,json=depositEndTime,proto3,stdtime" json:"deposit_end_time" yaml:"deposit_end_time"` + TotalDeposit github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,7,rep,name=total_deposit,json=totalDeposit,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"total_deposit" yaml:"total_deposit"` + VotingStartTime time.Time `protobuf:"bytes,8,opt,name=voting_start_time,json=votingStartTime,proto3,stdtime" json:"voting_start_time" yaml:"voting_start_time"` + VotingEndTime time.Time `protobuf:"bytes,9,opt,name=voting_end_time,json=votingEndTime,proto3,stdtime" json:"voting_end_time" yaml:"voting_end_time"` + IsExpedited bool `protobuf:"varint,10,opt,name=is_expedited,json=isExpedited,proto3" json:"is_expedited,omitempty"` } func (m *Proposal) Reset() { *m = Proposal{} } @@ -288,10 +288,10 @@ var xxx_messageInfo_Proposal proto.InternalMessageInfo // TallyResult defines a standard tally for a governance proposal. type TallyResult struct { - Yes github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=yes,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"yes"` - Abstain github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=abstain,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"abstain"` - No github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=no,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"no"` - NoWithVeto github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=no_with_veto,json=noWithVeto,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"no_with_veto" yaml:"no_with_veto"` + Yes github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,1,opt,name=yes,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"yes"` + Abstain github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,2,opt,name=abstain,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"abstain"` + No github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,3,opt,name=no,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"no"` + NoWithVeto github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,4,opt,name=no_with_veto,json=noWithVeto,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"no_with_veto" yaml:"no_with_veto"` } func (m *TallyResult) Reset() { *m = TallyResult{} } @@ -374,12 +374,12 @@ var xxx_messageInfo_Vote proto.InternalMessageInfo // DepositParams defines the params for deposits on governance proposals. type DepositParams struct { // Minimum deposit for a proposal to enter voting period. - MinDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=min_deposit,json=minDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"min_deposit,omitempty" yaml:"min_deposit"` + MinDeposit github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,1,rep,name=min_deposit,json=minDeposit,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"min_deposit,omitempty" yaml:"min_deposit"` // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 // months. MaxDepositPeriod time.Duration `protobuf:"bytes,2,opt,name=max_deposit_period,json=maxDepositPeriod,proto3,stdduration" json:"max_deposit_period,omitempty" yaml:"max_deposit_period"` // Minimum deposit for a expedited proposal to enter voting period. - MinExpeditedDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=min_expedited_deposit,json=minExpeditedDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"min_expedited_deposit,omitempty" yaml:"min_expedited_deposit"` + MinExpeditedDeposit github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,3,rep,name=min_expedited_deposit,json=minExpeditedDeposit,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"min_expedited_deposit,omitempty" yaml:"min_expedited_deposit"` } func (m *DepositParams) Reset() { *m = DepositParams{} } @@ -458,16 +458,16 @@ var xxx_messageInfo_VotingParams proto.InternalMessageInfo type TallyParams struct { // Minimum percentage of total stake needed to vote for a result to be // considered valid. - Quorum github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=quorum,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quorum,omitempty"` + Quorum github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,1,opt,name=quorum,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"quorum,omitempty"` // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. - Threshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=threshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"threshold,omitempty"` + Threshold github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=threshold,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"threshold,omitempty"` // Minimum value of Veto votes to Total votes ratio for proposal to be // vetoed. Default value: 1/3. - VetoThreshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=veto_threshold,json=vetoThreshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"veto_threshold,omitempty" yaml:"veto_threshold"` + VetoThreshold github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,3,opt,name=veto_threshold,json=vetoThreshold,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"veto_threshold,omitempty" yaml:"veto_threshold"` // Minimum percentage of total stake needed to vote for expedited proposal to be valid - ExpeditedQuorum github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=expedited_quorum,json=expeditedQuorum,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"expedited_quorum,omitempty"` + ExpeditedQuorum github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,4,opt,name=expedited_quorum,json=expeditedQuorum,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"expedited_quorum,omitempty"` // Minimum proportion of Yes votes for an expedited proposal to pass. Default value: 0.67. - ExpeditedThreshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=expedited_threshold,json=expeditedThreshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"expedited_threshold,omitempty"` + ExpeditedThreshold github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,5,opt,name=expedited_threshold,json=expeditedThreshold,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"expedited_threshold,omitempty"` } func (m *TallyParams) Reset() { *m = TallyParams{} } @@ -519,108 +519,109 @@ func init() { func init() { proto.RegisterFile("cosmos/gov/v1beta1/gov.proto", fileDescriptor_6e82113c1a9a4b7c) } var fileDescriptor_6e82113c1a9a4b7c = []byte{ - // 1610 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0xcf, 0x6f, 0xdb, 0x46, - 0x16, 0x16, 0x25, 0xf9, 0x87, 0x46, 0xb2, 0xcd, 0x8c, 0x1d, 0x5b, 0xd6, 0x3a, 0xa4, 0xc2, 0x5d, - 0x04, 0x46, 0x90, 0xc8, 0x89, 0x77, 0xb1, 0x8b, 0x75, 0x80, 0xdd, 0x95, 0x2c, 0x7a, 0xa3, 0x45, - 0x20, 0x69, 0x29, 0x45, 0x46, 0xb2, 0x07, 0x82, 0x96, 0x26, 0x32, 0x77, 0x45, 0x8e, 0x56, 0x1c, - 0x39, 0xf6, 0xee, 0x25, 0x40, 0x2f, 0x81, 0x0e, 0x45, 0x8e, 0x29, 0x0a, 0x01, 0x41, 0x8b, 0x5e, - 0x7a, 0xea, 0xa1, 0x7f, 0x41, 0x4f, 0x46, 0x51, 0xa0, 0x41, 0x2f, 0x0d, 0x7a, 0x50, 0x1a, 0x1b, - 0x28, 0x02, 0x1f, 0xfd, 0x17, 0x14, 0xe4, 0x0c, 0x25, 0x52, 0x72, 0xaa, 0xa8, 0xa7, 0x90, 0x6f, - 0xde, 0xf7, 0xbd, 0xf7, 0x3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f, 0xbe, 0x10, 0x03, 0x6f, 0x5f, 0x88, 0x01, 0xe9, 0xa3, 0x19, 0x30, 0xdb, 0x97, 0xf2, - 0x0f, 0x17, 0x95, 0xb4, 0x78, 0xd6, 0x13, 0x83, 0x7a, 0xed, 0xbc, 0x27, 0x46, 0x68, 0x61, 0xc3, - 0xf5, 0xdc, 0x01, 0x33, 0x55, 0xaa, 0x8f, 0x53, 0x4d, 0x74, 0x73, 0x29, 0x45, 0x7b, 0x2d, 0xe5, - 0xf6, 0x5a, 0x2a, 0x6d, 0x1e, 0x65, 0xa2, 0x5f, 0x0f, 0x84, 0x54, 0x5c, 0x04, 0xac, 0x80, 0x69, - 0x8b, 0x68, 0xa4, 0x6d, 0x39, 0xfa, 0xcf, 0x6f, 0x4a, 0x17, 0xb5, 0x97, 0x9b, 0x60, 0xc9, 0xf1, - 0xcc, 0x24, 0xce, 0x7b, 0xe2, 0xf2, 0x90, 0xc8, 0x94, 0x44, 0x52, 0x18, 0x1b, 0x6c, 0x02, 0xf8, - 0x48, 0x37, 0xb5, 0x86, 0x4a, 0xb4, 0x46, 0xe3, 0x48, 0x6d, 0x21, 0xab, 0xdd, 0x20, 0xf1, 0xb0, - 0x93, 0x9f, 0x78, 0x51, 0x8c, 0xb2, 0xed, 0xa7, 0x38, 0x6e, 0x99, 0xab, 0xb6, 0xb0, 0xe7, 0x3d, - 0x71, 0x95, 0x06, 0x19, 0x25, 0x92, 0x14, 0xde, 0x31, 0x7a, 0x40, 0xf0, 0x5f, 0x20, 0x6a, 0xb5, - 0xf7, 0x0c, 0x9d, 0xa8, 0xf6, 0x64, 0xc5, 0xa7, 0x9c, 0x50, 0x89, 0x11, 0x29, 0xca, 0xee, 0xd8, - 0x65, 0x04, 0x16, 0x85, 0xf5, 0x8b, 0x07, 0x2c, 0x3d, 0x7b, 0x2d, 0x72, 0x0a, 0xa0, 0x16, 0x1b, - 0x00, 0x75, 0xc0, 0xb3, 0x16, 0x51, 0x91, 0x59, 0xa3, 0x11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e7, 0x3d, - 0x71, 0x91, 0xea, 0xee, 0xe5, 0x92, 0x14, 0x60, 0xe2, 0x5d, 0x9d, 0xec, 0x57, 0x10, 0xc1, 0x4c, - 0xca, 0x53, 0x0e, 0x84, 0xed, 0x4b, 0xea, 0xd7, 0x6f, 0xed, 0x25, 0x30, 0x75, 0x80, 0x09, 0x72, - 0x37, 0x36, 0x7d, 0x81, 0x5b, 0xfd, 0xdb, 0x31, 0xf4, 0x3e, 0xb7, 0x63, 0x26, 0x18, 0xe7, 0xfa, - 0x37, 0xe4, 0x0e, 0x98, 0xa1, 0x4f, 0x56, 0x3c, 0xec, 0x4c, 0xd8, 0xb5, 0x8b, 0xc0, 0xa3, 0x57, - 0x72, 0x26, 0x6c, 0xab, 0xa4, 0xb8, 0xe0, 0xad, 0xd9, 0xe7, 0xee, 0x32, 0xff, 0x20, 0x0c, 0xe6, - 0xd8, 0xec, 0x14, 0xb5, 0x96, 0x66, 0x58, 0xf0, 0x63, 0x0e, 0x44, 0x0d, 0xdd, 0xec, 0x8f, 0x32, - 0x37, 0x6e, 0x94, 0x55, 0x9b, 0xfb, 0xac, 0x27, 0x5e, 0xf6, 0xa0, 0x6e, 0x60, 0x43, 0x27, 0xc8, - 0x68, 0x92, 0xa3, 0x81, 0x4e, 0x9e, 0xe3, 0xc9, 0x26, 0x1c, 0x18, 0xba, 0xe9, 0xce, 0xf7, 0x87, - 0x1c, 0x80, 0x86, 0x76, 0xe8, 0x12, 0xa9, 0x4d, 0xd4, 0xd2, 0x71, 0x8d, 0xdd, 0x22, 0xab, 0x23, - 0x53, 0x97, 0x65, 0x5f, 0x34, 0xb4, 0x4d, 0xce, 0x7a, 0xe2, 0xda, 0x28, 0xd8, 0x97, 0x2b, 0xdb, - 0xdf, 0xa3, 0x5e, 0xd2, 0x73, 0x7b, 0x2e, 0x79, 0x43, 0x3b, 0x74, 0xe5, 0x72, 0xcc, 0xf0, 0x2b, - 0x0e, 0x38, 0x85, 0xf7, 0x87, 0xb3, 0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 0x02, 0x0f, 0x7f, 0xf9, 0xa6, 0x38, - 0x74, 0xfe, 0x54, 0xe1, 0x34, 0xf0, 0xde, 0xb4, 0xb3, 0x5c, 0x7f, 0xff, 0x73, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x8a, 0x19, 0xb0, 0x03, 0xc5, 0x10, 0x00, 0x00, + // 1621 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xcf, 0x6f, 0x1b, 0x4d, + 0x19, 0xf6, 0xda, 0xce, 0x0f, 0x8f, 0x9d, 0x64, 0x3b, 0x49, 0x13, 0xc7, 0xa4, 0xbb, 0xee, 0x82, + 0x50, 0x54, 0xb5, 0x0e, 0x0d, 0xa8, 0x40, 0x2a, 0x21, 0xec, 0x78, 0x03, 0x46, 0x95, 0x6d, 0xd6, + 0xae, 0xdb, 0x02, 0x62, 0xb5, 0xb1, 0xa7, 0xce, 0x56, 0xde, 0x1d, 0xe3, 0x1d, 0xa7, 0x09, 0x5c, + 0x90, 0x38, 0x50, 0xf9, 0x80, 0x7a, 0xac, 0x90, 0x2c, 0x55, 0xc0, 0x81, 0x1f, 0x17, 0x0e, 0xf0, + 0x3f, 0x54, 0x88, 0x43, 0x05, 0x97, 0x8a, 0x83, 0x4b, 0x13, 0xe9, 0x53, 0xd5, 0x63, 0xfe, 0x82, + 0x4f, 0x3b, 0x33, 0x6b, 0xef, 0xda, 0xa9, 0xfc, 0x7d, 0xf5, 0x6d, 0xf7, 0x9d, 0xf7, 0x7d, 0x9e, + 0x67, 0x9e, 0x99, 0x79, 0x67, 0x6d, 0xb0, 0x55, 0xc7, 0x8e, 0x85, 0x9d, 0x9d, 0x26, 0x3e, 0xde, + 0x39, 0xbe, 0x7d, 0x88, 0x88, 0x71, 0xdb, 0x7d, 0xce, 0xb4, 0x3b, 0x98, 0x60, 0x08, 0xd9, 0x68, + 0xc6, 0x8d, 0xf0, 0xd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e8, 0x86, 0x3e, 0x9c, 0xa7, 0xa9, 0xdf, 0xfc, 0x3c, 0x00, 0x00, 0xff, 0xff, 0x02, 0xc6, 0x46, + 0x62, 0xb7, 0x11, 0x00, 0x00, } func (this *TextProposal) Equal(that interface{}) bool { diff --git a/sei-cosmos/x/gov/types/hooks.go b/sei-cosmos/x/gov/types/hooks.go index e90b19a083..9de7c53ec9 100644 --- a/sei-cosmos/x/gov/types/hooks.go +++ b/sei-cosmos/x/gov/types/hooks.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var _ GovHooks = MultiGovHooks{} diff --git a/sei-cosmos/x/gov/types/keys.go b/sei-cosmos/x/gov/types/keys.go index 7f58d8fdfb..9f590db78b 100644 --- a/sei-cosmos/x/gov/types/keys.go +++ b/sei-cosmos/x/gov/types/keys.go @@ -4,9 +4,9 @@ import ( "encoding/binary" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/types/kv" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) const ( diff --git a/sei-cosmos/x/gov/types/keys_test.go b/sei-cosmos/x/gov/types/keys_test.go index 30266f8f4d..b98b450620 100644 --- a/sei-cosmos/x/gov/types/keys_test.go +++ b/sei-cosmos/x/gov/types/keys_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var addr = sdk.AccAddress(ed25519.GenPrivKey().PubKey().Address()) diff --git a/sei-cosmos/x/gov/types/msgs.go b/sei-cosmos/x/gov/types/msgs.go index 877574a8eb..d58892562d 100644 --- a/sei-cosmos/x/gov/types/msgs.go +++ b/sei-cosmos/x/gov/types/msgs.go @@ -7,9 +7,9 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Governance message types and routes @@ -137,8 +137,6 @@ func (m MsgSubmitProposal) UnpackInterfaces(unpacker types.AnyUnpacker) error { } // NewMsgDeposit creates a new MsgDeposit instance -// -//nolint:interfacer func NewMsgDeposit(depositor sdk.AccAddress, proposalID uint64, amount sdk.Coins) *MsgDeposit { return &MsgDeposit{proposalID, depositor.String(), amount} } @@ -183,8 +181,6 @@ func (msg MsgDeposit) GetSigners() []sdk.AccAddress { } // NewMsgVote creates a message to cast a vote on an active proposal -// -//nolint:interfacer func NewMsgVote(voter sdk.AccAddress, proposalID uint64, option VoteOption) *MsgVote { return &MsgVote{proposalID, voter.String(), option} } @@ -227,8 +223,6 @@ func (msg MsgVote) GetSigners() []sdk.AccAddress { } // NewMsgVoteWeighted creates a message to cast a vote on an active proposal -// -//nolint:interfacer func NewMsgVoteWeighted(voter sdk.AccAddress, proposalID uint64, options WeightedVoteOptions) *MsgVoteWeighted { return &MsgVoteWeighted{proposalID, voter.String(), options} } diff --git a/sei-cosmos/x/gov/types/msgs_test.go b/sei-cosmos/x/gov/types/msgs_test.go index 681898d4e8..ff4477fdcd 100644 --- a/sei-cosmos/x/gov/types/msgs_test.go +++ b/sei-cosmos/x/gov/types/msgs_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/sei-cosmos/x/gov/types/params.go b/sei-cosmos/x/gov/types/params.go index f23843819e..9b1800beee 100644 --- a/sei-cosmos/x/gov/types/params.go +++ b/sei-cosmos/x/gov/types/params.go @@ -6,8 +6,8 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // Default period for deposits & voting diff --git a/sei-cosmos/x/gov/types/params_test.go b/sei-cosmos/x/gov/types/params_test.go index 0dc996be74..b5a7816d37 100644 --- a/sei-cosmos/x/gov/types/params_test.go +++ b/sei-cosmos/x/gov/types/params_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/stretchr/testify/require" ) diff --git a/sei-cosmos/x/gov/types/proposal.go b/sei-cosmos/x/gov/types/proposal.go index 63e7203663..09c007f521 100644 --- a/sei-cosmos/x/gov/types/proposal.go +++ b/sei-cosmos/x/gov/types/proposal.go @@ -8,9 +8,9 @@ import ( "github.com/gogo/protobuf/proto" yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // DefaultStartingProposalID is 1 @@ -172,10 +172,10 @@ func (status *ProposalStatus) Unmarshal(data []byte) error { func (status ProposalStatus) Format(s fmt.State, verb rune) { switch verb { case 's': - s.Write([]byte(status.String())) + _, _ = s.Write([]byte(status.String())) default: // TODO: Do this conversion more directly - s.Write([]byte(fmt.Sprintf("%v", byte(status)))) + _, _ = fmt.Fprintf(s, "%v", byte(status)) } } diff --git a/sei-cosmos/x/gov/types/querier.go b/sei-cosmos/x/gov/types/querier.go index fe9b5e0f15..fdbaa7b29a 100644 --- a/sei-cosmos/x/gov/types/querier.go +++ b/sei-cosmos/x/gov/types/querier.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // DONTCOVER diff --git a/sei-cosmos/x/gov/types/query.pb.go b/sei-cosmos/x/gov/types/query.pb.go index 34bfe6a957..ea754aa82a 100644 --- a/sei-cosmos/x/gov/types/query.pb.go +++ b/sei-cosmos/x/gov/types/query.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -839,68 +839,68 @@ func init() { func init() { proto.RegisterFile("cosmos/gov/v1beta1/query.proto", fileDescriptor_e35c0d133e91c0a2) } var fileDescriptor_e35c0d133e91c0a2 = []byte{ - // 962 bytes of a gzipped FileDescriptorProto + // 973 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xf6, 0x24, 0x4e, 0x6b, 0xbf, 0xb4, 0x01, 0x1e, 0x01, 0xac, 0x25, 0xd8, 0x61, 0x45, 0x5b, - 0x93, 0x52, 0x2f, 0x71, 0x0a, 0xa8, 0x2d, 0xa0, 0x62, 0xa1, 0xb6, 0xa8, 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 0xfa, 0xe4, 0x4d, 0xcf, 0x97, 0x77, 0xfa, 0xeb, 0xed, 0x0d, + 0xbe, 0x65, 0x0b, 0xd7, 0xbf, 0x40, 0xff, 0x80, 0x6c, 0xf0, 0x2e, 0x7d, 0x6c, 0xdc, 0x71, 0xfc, + 0x40, 0xfd, 0x52, 0x19, 0x3f, 0xa3, 0x9c, 0xd1, 0x11, 0x12, 0xeb, 0x27, 0x08, 0xba, 0xfc, 0x6f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x64, 0xbe, 0xbf, 0xc6, 0x5f, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/gov/types/router.go b/sei-cosmos/x/gov/types/router.go index bc4d51251d..add24d0aa6 100644 --- a/sei-cosmos/x/gov/types/router.go +++ b/sei-cosmos/x/gov/types/router.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var _ Router = (*router)(nil) diff --git a/sei-cosmos/x/gov/types/tally.go b/sei-cosmos/x/gov/types/tally.go index 3d5efe51ca..f1b4de46a9 100644 --- a/sei-cosmos/x/gov/types/tally.go +++ b/sei-cosmos/x/gov/types/tally.go @@ -3,7 +3,7 @@ package types import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // ValidatorGovInfo used for tallying diff --git a/sei-cosmos/x/gov/types/tx.pb.go b/sei-cosmos/x/gov/types/tx.pb.go index 5ca7e1af8c..9a82d73c95 100644 --- a/sei-cosmos/x/gov/types/tx.pb.go +++ b/sei-cosmos/x/gov/types/tx.pb.go @@ -6,13 +6,13 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -35,10 +35,10 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary // proposal Content. type MsgSubmitProposal struct { - Content *types.Any `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - InitialDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=initial_deposit,json=initialDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"initial_deposit" yaml:"initial_deposit"` - Proposer string `protobuf:"bytes,3,opt,name=proposer,proto3" json:"proposer,omitempty"` - IsExpedited bool `protobuf:"varint,4,opt,name=is_expedited,json=isExpedited,proto3" json:"is_expedited,omitempty"` + Content *types.Any `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + InitialDeposit github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,2,rep,name=initial_deposit,json=initialDeposit,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"initial_deposit" yaml:"initial_deposit"` + Proposer string `protobuf:"bytes,3,opt,name=proposer,proto3" json:"proposer,omitempty"` + IsExpedited bool `protobuf:"varint,4,opt,name=is_expedited,json=isExpedited,proto3" json:"is_expedited,omitempty"` } func (m *MsgSubmitProposal) Reset() { *m = MsgSubmitProposal{} } @@ -276,9 +276,9 @@ var xxx_messageInfo_MsgVoteWeightedResponse proto.InternalMessageInfo // MsgDeposit defines a message to submit a deposit to an existing proposal. type MsgDeposit struct { - ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id" yaml:"proposal_id"` - Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id" yaml:"proposal_id"` + Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"` + Amount github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"amount"` } func (m *MsgDeposit) Reset() { *m = MsgDeposit{} } @@ -364,50 +364,51 @@ func init() { func init() { proto.RegisterFile("cosmos/gov/v1beta1/tx.proto", fileDescriptor_3c053992595e3dce) } var fileDescriptor_3c053992595e3dce = []byte{ - // 685 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x41, 0x6f, 0xd3, 0x48, - 0x14, 0xb6, 0x93, 0x6c, 0xd3, 0x4e, 0xaa, 0x76, 0x3b, 0x8a, 0xba, 0x89, 0x5b, 0xd9, 0x59, 0xaf, - 0x5a, 0x45, 0x5a, 0xd5, 0xa6, 0x41, 0x02, 0xa9, 0x9c, 0x48, 0xa1, 0x02, 0xa4, 0x08, 0x30, 0x12, - 0x48, 0x5c, 0x82, 0x13, 0x4f, 0xdd, 0x11, 0x89, 0xc7, 0xca, 0x4c, 0xa2, 0xe6, 0xc6, 0x91, 0x13, - 0xe2, 0xc8, 0xb1, 0x67, 0x6e, 0x20, 0x4e, 0xfc, 0x82, 0x8a, 0x53, 0x8f, 0x1c, 0x50, 0x40, 0xed, - 0x05, 0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8f, 0xcb, 0x92, 0xf5, 0xfa, 0xee, 0xbe, 0xae, 0xee, 0xed, - 0xeb, 0xea, 0x97, 0x7d, 0x5d, 0x7d, 0x79, 0xa0, 0x2b, 0x7b, 0x07, 0xba, 0xf2, 0xf1, 0x40, 0x57, - 0x1e, 0x8f, 0xbf, 0xe2, 0xed, 0xf8, 0x2b, 0x12, 0x5f, 0x74, 0x6b, 0x22, 0x7e, 0x7d, 0x5f, 0xfe, - 0x19, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x36, 0x6a, 0xce, 0xb1, 0x06, 0x00, 0x00, + // 691 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x31, 0x6c, 0xd3, 0x40, + 0x14, 0xb5, 0x93, 0xd0, 0xb4, 0x97, 0xaa, 0xa5, 0xa7, 0xa8, 0x24, 0x69, 0x65, 0x07, 0xa3, 0x56, + 0x91, 0x50, 0x6d, 0x35, 0x48, 0x80, 0xca, 0x02, 0x29, 0x54, 0x30, 0x44, 0x80, 0x91, 0x40, 0xea, + 0x12, 0x1c, 0xe7, 0xea, 0x9e, 0x94, 0xf8, 0xac, 0xdc, 0x25, 0x6a, 0x36, 0x46, 0x46, 0x46, 0x26, + 0xd4, 0x99, 0x0d, 0x89, 0x89, 0x91, 0xa9, 0x62, 0xea, 0xc8, 0x80, 0x02, 0x6a, 0x17, 0x84, 0x98, + 0xba, 0xb1, 0x21, 0xdf, 0xf9, 0xdc, 0xd2, 0xba, 0x51, 0x81, 0x6e, 0xbe, 0xff, 0xff, 0x7b, 0xf7, + 0xdf, 0xbb, 0xff, 0x13, 0x30, 0xe7, 0x12, 0xda, 0x21, 0xd4, 0xf2, 0x48, 0xdf, 0xea, 0x2f, 0x37, + 0x11, 0x73, 0x96, 0x2d, 0xb6, 0x65, 0x06, 0x5d, 0xc2, 0x08, 0x84, 0x22, 0x69, 0x7a, 0xa4, 0x6f, + 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c, 0xf4, 0xda, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x91, 0xb3, 0x54, 0xab, 0xe1, + 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/gov/types/vote.go b/sei-cosmos/x/gov/types/vote.go index a2797d1909..169fd62f3f 100644 --- a/sei-cosmos/x/gov/types/vote.go +++ b/sei-cosmos/x/gov/types/vote.go @@ -7,12 +7,10 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // NewVote creates a new Vote instance -// -//nolint:interfacer func NewVote(proposalID uint64, voter sdk.AccAddress, options WeightedVoteOptions) Vote { return Vote{ProposalId: proposalID, Voter: voter.String(), Options: options} } @@ -143,8 +141,8 @@ func (vo *VoteOption) Unmarshal(data []byte) error { func (vo VoteOption) Format(s fmt.State, verb rune) { switch verb { case 's': - s.Write([]byte(vo.String())) + _, _ = s.Write([]byte(vo.String())) default: - s.Write([]byte(fmt.Sprintf("%v", byte(vo)))) + _, _ = fmt.Fprintf(s, "%v", byte(vo)) } } diff --git a/sei-cosmos/x/params/client/cli/query.go b/sei-cosmos/x/params/client/cli/query.go index 8d2973efce..5f5ade7ff9 100644 --- a/sei-cosmos/x/params/client/cli/query.go +++ b/sei-cosmos/x/params/client/cli/query.go @@ -4,11 +4,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) // NewQueryCmd returns a root CLI command handler for all x/params query commands. @@ -76,7 +76,9 @@ func NewQueryFeeParamsCmd() *cobra.Command { } feeParams := types.FeesParams{} - clientCtx.Codec.UnmarshalJSON([]byte(res.Param.Value), &feeParams) + if err := clientCtx.Codec.UnmarshalAsJSON([]byte(res.Param.Value), &feeParams); err != nil { + return err + } return clientCtx.PrintProto(&feeParams) }, @@ -105,7 +107,9 @@ func NewQueryCosmosGasParamsCmd() *cobra.Command { } cosmosGasParams := types.CosmosGasParams{} - clientCtx.Codec.UnmarshalJSON([]byte(res.Param.Value), &cosmosGasParams) + if err := clientCtx.Codec.UnmarshalAsJSON([]byte(res.Param.Value), &cosmosGasParams); err != nil { + return err + } return clientCtx.PrintProto(&cosmosGasParams) }, @@ -134,7 +138,9 @@ func NewQueryBlockParamsCmd() *cobra.Command { } blockParams := tmproto.BlockParams{} - clientCtx.Codec.UnmarshalJSON([]byte(res.Param.Value), &blockParams) + if err := clientCtx.Codec.UnmarshalAsJSON([]byte(res.Param.Value), &blockParams); err != nil { + return err + } return clientCtx.PrintProto(&blockParams) }, diff --git a/sei-cosmos/x/params/client/cli/tx.go b/sei-cosmos/x/params/client/cli/tx.go index c1eeceeb77..7d067e4260 100644 --- a/sei-cosmos/x/params/client/cli/tx.go +++ b/sei-cosmos/x/params/client/cli/tx.go @@ -6,13 +6,13 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - paramscutils "github.com/cosmos/cosmos-sdk/x/params/client/utils" - paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + paramscutils "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client/utils" + paramproposal "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) // NewSubmitParamChangeProposalTxCmd returns a CLI command handler for creating diff --git a/sei-cosmos/x/params/client/cli/tx_test.go b/sei-cosmos/x/params/client/cli/tx_test.go index 2a6c48065b..b6fcccc124 100644 --- a/sei-cosmos/x/params/client/cli/tx_test.go +++ b/sei-cosmos/x/params/client/cli/tx_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/x/params/client/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client/utils" ) func TestParseProposal(t *testing.T) { diff --git a/sei-cosmos/x/params/client/proposal_handler.go b/sei-cosmos/x/params/client/proposal_handler.go index 77a672d89c..d0d326b67a 100644 --- a/sei-cosmos/x/params/client/proposal_handler.go +++ b/sei-cosmos/x/params/client/proposal_handler.go @@ -1,9 +1,9 @@ package client import ( - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - "github.com/cosmos/cosmos-sdk/x/params/client/cli" - "github.com/cosmos/cosmos-sdk/x/params/client/rest" + govclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client/rest" ) // ProposalHandler is the param change proposal handler. diff --git a/sei-cosmos/x/params/client/rest/grpc_query_test.go b/sei-cosmos/x/params/client/rest/grpc_query_test.go index b87992c805..78cd69772d 100644 --- a/sei-cosmos/x/params/client/rest/grpc_query_test.go +++ b/sei-cosmos/x/params/client/rest/grpc_query_test.go @@ -7,9 +7,9 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) type IntegrationTestSuite struct { @@ -113,7 +113,7 @@ func (s *IntegrationTestSuite) TestQueryParamsGRPC() { resp, err := testutil.GetRequestWithHeaders(tc.url, tc.headers) s.Require().NoError(err) - err = val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType) + err = val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType) if tc.expErr { s.Require().Error(err) diff --git a/sei-cosmos/x/params/client/rest/rest.go b/sei-cosmos/x/params/client/rest/rest.go index d1383eb747..5c1b56824b 100644 --- a/sei-cosmos/x/params/client/rest/rest.go +++ b/sei-cosmos/x/params/client/rest/rest.go @@ -3,13 +3,13 @@ package rest import ( "net/http" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/types/rest" - govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - paramscutils "github.com/cosmos/cosmos-sdk/x/params/client/utils" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + govrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/rest" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + paramscutils "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) // ProposalRESTHandler returns a ProposalRESTHandler that exposes the param diff --git a/sei-cosmos/x/params/client/testutil/cli_test.go b/sei-cosmos/x/params/client/testutil/cli_test.go index 1035ca7502..9126c139f8 100644 --- a/sei-cosmos/x/params/client/testutil/cli_test.go +++ b/sei-cosmos/x/params/client/testutil/cli_test.go @@ -6,7 +6,7 @@ package testutil import ( "testing" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/sei-cosmos/x/params/client/testutil/suite.go b/sei-cosmos/x/params/client/testutil/suite.go index d32f368246..b2c966d621 100644 --- a/sei-cosmos/x/params/client/testutil/suite.go +++ b/sei-cosmos/x/params/client/testutil/suite.go @@ -7,9 +7,9 @@ import ( tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/stretchr/testify/suite" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/x/params/client/cli" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client/cli" ) type IntegrationTestSuite struct { diff --git a/sei-cosmos/x/params/client/utils/utils.go b/sei-cosmos/x/params/client/utils/utils.go index c504a1f8f2..dc4d5181db 100644 --- a/sei-cosmos/x/params/client/utils/utils.go +++ b/sei-cosmos/x/params/client/utils/utils.go @@ -2,12 +2,13 @@ package utils import ( "encoding/json" - "io/ioutil" + "os" + "path/filepath" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) type ( @@ -70,12 +71,12 @@ func (pcj ParamChangesJSON) ToParamChanges() []proposal.ParamChange { func ParseParamChangeProposalJSON(cdc *codec.LegacyAmino, proposalFile string) (ParamChangeProposalJSON, error) { proposal := ParamChangeProposalJSON{} - contents, err := ioutil.ReadFile(proposalFile) + contents, err := os.ReadFile(filepath.Clean(proposalFile)) if err != nil { return proposal, err } - if err := cdc.UnmarshalJSON(contents, &proposal); err != nil { + if err := cdc.UnmarshalAsJSON(contents, &proposal); err != nil { return proposal, err } diff --git a/sei-cosmos/x/params/keeper/common_test.go b/sei-cosmos/x/params/keeper/common_test.go index 2c41dd666a..7f40064440 100644 --- a/sei-cosmos/x/params/keeper/common_test.go +++ b/sei-cosmos/x/params/keeper/common_test.go @@ -1,11 +1,11 @@ package keeper_test import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" ) func testComponents() (*codec.LegacyAmino, sdk.Context, sdk.StoreKey, sdk.StoreKey, paramskeeper.Keeper) { diff --git a/sei-cosmos/x/params/keeper/consensus_params.go b/sei-cosmos/x/params/keeper/consensus_params.go index 2f1346cfcf..153bfdb5c1 100644 --- a/sei-cosmos/x/params/keeper/consensus_params.go +++ b/sei-cosmos/x/params/keeper/consensus_params.go @@ -3,8 +3,8 @@ package keeper import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // ConsensusParamsKeyTable returns an x/params module keyTable to be used in diff --git a/sei-cosmos/x/params/keeper/genesis.go b/sei-cosmos/x/params/keeper/genesis.go index 69ac48c847..f8031ac744 100644 --- a/sei-cosmos/x/params/keeper/genesis.go +++ b/sei-cosmos/x/params/keeper/genesis.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // InitGenesis new mint genesis. diff --git a/sei-cosmos/x/params/keeper/genesis_test.go b/sei-cosmos/x/params/keeper/genesis_test.go index 57bc1bbd13..22aa7d914d 100644 --- a/sei-cosmos/x/params/keeper/genesis_test.go +++ b/sei-cosmos/x/params/keeper/genesis_test.go @@ -6,10 +6,10 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/keeper" - "github.com/cosmos/cosmos-sdk/x/params/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) type GenesisTestSuite struct { diff --git a/sei-cosmos/x/params/keeper/grpc_query.go b/sei-cosmos/x/params/keeper/grpc_query.go index 2cfa1c8042..38aca69297 100644 --- a/sei-cosmos/x/params/keeper/grpc_query.go +++ b/sei-cosmos/x/params/keeper/grpc_query.go @@ -6,9 +6,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) var _ proposal.QueryServer = Keeper{} diff --git a/sei-cosmos/x/params/keeper/grpc_query_test.go b/sei-cosmos/x/params/keeper/grpc_query_test.go index 19794beb08..acaab97f87 100644 --- a/sei-cosmos/x/params/keeper/grpc_query_test.go +++ b/sei-cosmos/x/params/keeper/grpc_query_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) func (suite *KeeperTestSuite) TestGRPCQueryParams() { diff --git a/sei-cosmos/x/params/keeper/keeper.go b/sei-cosmos/x/params/keeper/keeper.go index a4ca9d4fa7..03f4c00bc4 100644 --- a/sei-cosmos/x/params/keeper/keeper.go +++ b/sei-cosmos/x/params/keeper/keeper.go @@ -2,13 +2,14 @@ package keeper import ( "encoding/json" + "fmt" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) // Keeper of the global paramstore @@ -36,7 +37,10 @@ func NewKeeper(cdc codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey } func (k Keeper) SetFeesParams(ctx sdk.Context, feesParams types.FeesParams) { - feesParams.Validate() + err := feesParams.Validate() + if err != nil { + panic(fmt.Errorf("validating feesParams: %w", err)) + } subspace, exist := k.GetSubspace(types.ModuleName) if !exist { panic("subspace params should exist") @@ -54,12 +58,18 @@ func (k Keeper) GetFeesParams(ctx sdk.Context) types.FeesParams { bz := subspace.GetRaw(ctx, types.ParamStoreKeyFeesParams) var feesParams types.FeesParams - json.Unmarshal(bz, &feesParams) + err := json.Unmarshal(bz, &feesParams) + if err != nil { + panic(fmt.Errorf("marshalling feesParams: %w", err)) + } return feesParams } func (k Keeper) SetCosmosGasParams(ctx sdk.Context, cosmosGasParams types.CosmosGasParams) { - cosmosGasParams.Validate() + err := cosmosGasParams.Validate() + if err != nil { + panic(fmt.Errorf("validating cosmosGasParams: %w", err)) + } subspace, exist := k.GetSubspace(types.ModuleName) if !exist { panic("subspace params should exist") @@ -77,7 +87,10 @@ func (k Keeper) GetCosmosGasParams(ctx sdk.Context) types.CosmosGasParams { } bz := subspace.GetRaw(ctx, types.ParamStoreKeyCosmosGasParams) - json.Unmarshal(bz, &cosmosGasParams) + err := json.Unmarshal(bz, &cosmosGasParams) + if err != nil { + panic(fmt.Errorf("marshalling cosmosGasParams: %w", err)) + } return cosmosGasParams } diff --git a/sei-cosmos/x/params/keeper/keeper_test.go b/sei-cosmos/x/params/keeper/keeper_test.go index c5047887db..1192072859 100644 --- a/sei-cosmos/x/params/keeper/keeper_test.go +++ b/sei-cosmos/x/params/keeper/keeper_test.go @@ -10,12 +10,12 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) type KeeperTestSuite struct { @@ -101,7 +101,7 @@ func TestKeeper(t *testing.T) { for i, kv := range kvs { var param int64 bz := space.GetRaw(ctx, []byte(kv.key)) - err := cdc.UnmarshalJSON(bz, ¶m) + err := cdc.UnmarshalAsJSON(bz, ¶m) require.Nil(t, err, "err is not nil, tc #%d", i) require.Equal(t, kv.param, param, "stored param not equal, tc #%d", i) } @@ -111,7 +111,7 @@ func TestKeeper(t *testing.T) { var param int64 bz := store.Get([]byte(kv.key)) require.NotNil(t, bz, "KVStore.Get returns nil, tc #%d", i) - err := cdc.UnmarshalJSON(bz, ¶m) + err := cdc.UnmarshalAsJSON(bz, ¶m) require.NoError(t, err, "UnmarshalJSON returns error, tc #%d", i) require.Equal(t, kv.param, param, "stored param not equal, tc #%d", i) } @@ -223,7 +223,7 @@ func TestSubspace(t *testing.T) { for i, kv := range kvs { bz := store.Get([]byte(kv.key)) require.NotNil(t, bz, "store.Get() returns nil, tc #%d", i) - err := cdc.UnmarshalJSON(bz, kv.ptr) + err := cdc.UnmarshalAsJSON(bz, kv.ptr) require.NoError(t, err, "cdc.UnmarshalJSON() returns error, tc #%d", i) require.Equal(t, kv.param, indirect(kv.ptr), "stored param not equal, tc #%d", i) } diff --git a/sei-cosmos/x/params/keeper/migrations.go b/sei-cosmos/x/params/keeper/migrations.go index 171468a0ed..b870a4f5fd 100644 --- a/sei-cosmos/x/params/keeper/migrations.go +++ b/sei-cosmos/x/params/keeper/migrations.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // Migrator is a struct for handling in-place store migrations. diff --git a/sei-cosmos/x/params/keeper/migrations_test.go b/sei-cosmos/x/params/keeper/migrations_test.go index e816b4bdcc..74051513c7 100644 --- a/sei-cosmos/x/params/keeper/migrations_test.go +++ b/sei-cosmos/x/params/keeper/migrations_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - pk "github.com/cosmos/cosmos-sdk/x/params/keeper" - "github.com/cosmos/cosmos-sdk/x/params/types" + pk "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/stretchr/testify/require" ) diff --git a/sei-cosmos/x/params/keeper/querier.go b/sei-cosmos/x/params/keeper/querier.go index c2753e89b0..9cb63bfcb7 100644 --- a/sei-cosmos/x/params/keeper/querier.go +++ b/sei-cosmos/x/params/keeper/querier.go @@ -3,11 +3,11 @@ package keeper import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) // NewQuerier returns a new querier handler for the x/params module. @@ -26,7 +26,7 @@ func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { func queryParams(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QuerySubspaceParams - if err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms); err != nil { + if err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms); err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } diff --git a/sei-cosmos/x/params/module.go b/sei-cosmos/x/params/module.go index af272aed4e..bc54a70180 100644 --- a/sei-cosmos/x/params/module.go +++ b/sei-cosmos/x/params/module.go @@ -12,17 +12,17 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/params/client/cli" - "github.com/cosmos/cosmos-sdk/x/params/keeper" - "github.com/cosmos/cosmos-sdk/x/params/simulation" - "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) var ( @@ -53,7 +53,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the params module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var data types.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } @@ -75,7 +75,7 @@ func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) {} // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the params module. func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { - proposal.RegisterQueryHandlerClient(context.Background(), mux, proposal.NewQueryClient(clientCtx)) + _ = proposal.RegisterQueryHandlerClient(context.Background(), mux, proposal.NewQueryClient(clientCtx)) } // GetTxCmd returns no root tx command for the params module. diff --git a/sei-cosmos/x/params/proposal_handler.go b/sei-cosmos/x/params/proposal_handler.go index 173cc292df..7640a5e793 100644 --- a/sei-cosmos/x/params/proposal_handler.go +++ b/sei-cosmos/x/params/proposal_handler.go @@ -3,11 +3,11 @@ package params import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/params/keeper" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) // NewParamChangeProposalHandler creates a new governance Handler for a ParamChangeProposal diff --git a/sei-cosmos/x/params/proposal_handler_test.go b/sei-cosmos/x/params/proposal_handler_test.go index c353e802a1..947cf79aa0 100644 --- a/sei-cosmos/x/params/proposal_handler_test.go +++ b/sei-cosmos/x/params/proposal_handler_test.go @@ -7,12 +7,12 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/params" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) type HandlerTestSuite struct { diff --git a/sei-cosmos/x/params/simulation/operations.go b/sei-cosmos/x/params/simulation/operations.go index c29b03bde2..d3891ae466 100644 --- a/sei-cosmos/x/params/simulation/operations.go +++ b/sei-cosmos/x/params/simulation/operations.go @@ -4,9 +4,9 @@ import ( "fmt" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" ) func min(a int, b int) int { diff --git a/sei-cosmos/x/params/simulation/proposals.go b/sei-cosmos/x/params/simulation/proposals.go index 3f097488d6..d5cb8a8dfb 100644 --- a/sei-cosmos/x/params/simulation/proposals.go +++ b/sei-cosmos/x/params/simulation/proposals.go @@ -1,9 +1,9 @@ package simulation import ( - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" seiappparams "github.com/sei-protocol/sei-chain/app/params" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" ) // OpWeightSubmitParamChangeProposal app params key for param change proposal diff --git a/sei-cosmos/x/params/types/common_test.go b/sei-cosmos/x/params/types/common_test.go index 1228aeb8c0..94c32f52f1 100644 --- a/sei-cosmos/x/params/types/common_test.go +++ b/sei-cosmos/x/params/types/common_test.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) var ( diff --git a/sei-cosmos/x/params/types/genesis.go b/sei-cosmos/x/params/types/genesis.go index a8b705d5b3..07a6b008dc 100644 --- a/sei-cosmos/x/params/types/genesis.go +++ b/sei-cosmos/x/params/types/genesis.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func DefaultFeesParams() *FeesParams { diff --git a/sei-cosmos/x/params/types/params.go b/sei-cosmos/x/params/types/params.go index 083e28d91c..92f3a79868 100644 --- a/sei-cosmos/x/params/types/params.go +++ b/sei-cosmos/x/params/types/params.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ParamStoreKeyFeesParams = []byte("FeesParams") diff --git a/sei-cosmos/x/params/types/proposal/codec.go b/sei-cosmos/x/params/types/proposal/codec.go index d638caccaf..e85797530a 100644 --- a/sei-cosmos/x/params/types/proposal/codec.go +++ b/sei-cosmos/x/params/types/proposal/codec.go @@ -1,9 +1,9 @@ package proposal import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // RegisterLegacyAminoCodec registers all necessary param module types with a given LegacyAmino codec. diff --git a/sei-cosmos/x/params/types/proposal/errors.go b/sei-cosmos/x/params/types/proposal/errors.go index a8c891af2c..b399dc65b9 100644 --- a/sei-cosmos/x/params/types/proposal/errors.go +++ b/sei-cosmos/x/params/types/proposal/errors.go @@ -1,7 +1,7 @@ package proposal import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/params module sentinel errors diff --git a/sei-cosmos/x/params/types/proposal/params.pb.go b/sei-cosmos/x/params/types/proposal/params.pb.go index c4314f14c6..84f7f0621a 100644 --- a/sei-cosmos/x/params/types/proposal/params.pb.go +++ b/sei-cosmos/x/params/types/proposal/params.pb.go @@ -134,28 +134,29 @@ func init() { } var fileDescriptor_53a944ecb0483e4c = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x51, 0x3d, 0x4f, 0xc3, 0x30, - 0x10, 0x8d, 0x49, 0x81, 0xe2, 0x30, 0x20, 0xab, 0x88, 0xa8, 0x83, 0x1b, 0x32, 0x75, 0x21, 0x51, - 0x81, 0xa9, 0x63, 0x11, 0x7b, 0x95, 0x05, 0x89, 0x05, 0x39, 0x89, 0x95, 0x5a, 0xfd, 0xb0, 0x95, - 0x73, 0xab, 0xf6, 0x1f, 0x30, 0x32, 0x32, 0x76, 0xe4, 0x77, 0x30, 0x75, 0xec, 0xc8, 0x84, 0x50, - 0xf2, 0x47, 0x50, 0xbe, 0x50, 0x07, 0xa6, 0xdc, 0x7b, 0x79, 0x7e, 0xf7, 0xee, 0x0e, 0xbb, 0x91,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78, 0x14, 0x7c, 0x64, 0x14, 0xed, 0x32, 0x8a, 0xf6, 0x19, 0x45, - 0x3f, 0x19, 0x45, 0x6f, 0x39, 0x35, 0xf6, 0x39, 0x35, 0xbe, 0x72, 0x6a, 0x3c, 0xdf, 0x27, 0x42, - 0x4f, 0x96, 0xa1, 0x17, 0xc9, 0xb9, 0x5f, 0xdf, 0xa5, 0xfa, 0xdc, 0x40, 0x3c, 0xf5, 0xd7, 0xcd, - 0x91, 0xf4, 0x46, 0x71, 0xf0, 0x55, 0xbd, 0xd5, 0xf0, 0xa4, 0x5c, 0xfc, 0xdd, 0x6f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x89, 0xb2, 0x9f, 0x51, 0xcb, 0x01, 0x00, 0x00, + // 338 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x51, 0x31, 0x4f, 0xf3, 0x30, + 0x10, 0x8d, 0xbf, 0xf4, 0x83, 0xe2, 0x30, 0x20, 0xab, 0x88, 0xa8, 0x83, 0x1b, 0x32, 0x75, 0x21, + 0x51, 0x61, 0xeb, 0x58, 0x60, 0xaf, 0xba, 0x20, 0xb1, 0x20, 0xc7, 0xb5, 0x52, 0x8b, 0xb4, 0xb6, + 0x62, 0xb7, 0x6a, 0xff, 0x01, 0x23, 0x23, 0x63, 0x47, 0x7e, 0x07, 0x53, 0xc7, 0x8e, 0x4c, 0x08, + 0x25, 0x7f, 0x04, 0xc5, 0x4e, 0x50, 0x07, 0xb6, 0x7b, 0xcf, 0xcf, 0xef, 0xde, 0xdd, 0xc1, 0x90, + 0x0a, 0x35, 0x17, 0x2a, 0x96, 0x24, 0x27, 0x73, 0x15, 0xaf, 0x06, 0x09, 0xd3, 0x64, 0x50, 0xc3, + 0x48, 0xe6, 0x42, 0x0b, 0x74, 0x6e, 0x35, 0x51, 0x4d, 0xd6, 0x9a, 0x6e, 0x27, 0x15, 0xa9, 0x30,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 0x15, 0xe3, 0x57, 0x66, 0xa3, 0x54, 0x64, 0x06, 0xd0, + 0x19, 0xe1, 0x0b, 0x5b, 0xd9, 0x93, 0xad, 0x9b, 0xa3, 0xe9, 0x8d, 0x64, 0x2a, 0x96, 0xf5, 0x96, + 0x93, 0x23, 0xf3, 0xed, 0xe6, 0x27, 0x00, 0x00, 0xff, 0xff, 0xcc, 0xe2, 0xaf, 0xfb, 0xdb, 0x01, + 0x00, 0x00, } func (this *ParameterChangeProposal) Equal(that interface{}) bool { diff --git a/sei-cosmos/x/params/types/proposal/proposal.go b/sei-cosmos/x/params/types/proposal/proposal.go index 64bc744600..d0304a33d7 100644 --- a/sei-cosmos/x/params/types/proposal/proposal.go +++ b/sei-cosmos/x/params/types/proposal/proposal.go @@ -3,12 +3,13 @@ package proposal import ( "encoding/json" "fmt" - "github.com/sei-protocol/sei-chain/sei-tendermint/types" "strings" + "github.com/sei-protocol/sei-chain/sei-tendermint/types" + yaml "gopkg.in/yaml.v2" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) const ( diff --git a/sei-cosmos/x/params/types/proposal/query.pb.go b/sei-cosmos/x/params/types/proposal/query.pb.go index f42de4c74e..36323e4769 100644 --- a/sei-cosmos/x/params/types/proposal/query.pb.go +++ b/sei-cosmos/x/params/types/proposal/query.pb.go @@ -138,28 +138,28 @@ func init() { func init() { proto.RegisterFile("cosmos/params/v1beta1/query.proto", fileDescriptor_2b32979c1792ccc4) } var fileDescriptor_2b32979c1792ccc4 = []byte{ - // 321 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xb1, 0x4b, 0x3b, 0x31, - 0x14, 0xc7, 0x2f, 0xfd, 0xfd, 0x5a, 0x34, 0x2e, 0x12, 0x15, 0xca, 0xa1, 0xa9, 0x1e, 0x08, 0x2a, - 0x98, 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x82, 0x96, 0x8f, 0x35, 0xc6, 0x08, 0x97, 0x1d, 0x97, - 0x3c, 0x22, 0x5c, 0xf1, 0x70, 0x72, 0xf8, 0x03, 0xe5, 0xfb, 0x10, 0xe1, 0xd1, 0x5f, 0xac, 0xbe, - 0xd7, 0x68, 0xff, 0xe1, 0xf9, 0xfd, 0xa9, 0x54, 0x23, 0x3b, 0xfc, 0xb7, 0x7f, 0x6e, 0x5e, 0x4c, - 0x66, 0x14, 0x4d, 0x67, 0x14, 0xbd, 0xcd, 0x28, 0x1a, 0xcf, 0x69, 0x30, 0x9d, 0xd3, 0xe0, 0x65, - 0x4e, 0x83, 0x9b, 0x53, 0xd5, 0xb5, 0x9d, 0x2c, 0x66, 0x6d, 0x18, 0x2c, 0x10, 0xfe, 0x38, 0x36, - 0xb7, 0x3d, 0x7e, 0xbf, 0xe0, 0xd9, 0x91, 0x96, 0x86, 0xeb, 0x14, 0x34, 0x18, 0xd1, 0x8f, 0x2b, - 0x6e, 0x09, 0x27, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x50, 0x62, 0xed, 0x18, 0x02, 0x00, - 0x00, + // 327 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x3f, 0x4b, 0x03, 0x31, + 0x18, 0xc6, 0x2f, 0xd5, 0x16, 0x8d, 0x8b, 0x44, 0x85, 0x72, 0xe8, 0x55, 0x0f, 0x04, 0x15, 0x4c, + 0x68, 0xdd, 0x1d, 0xaa, 0x1f, 0x40, 0x0b, 0x2e, 0x0e, 0x42, 0xee, 0x08, 0xe9, 0x61, 0x9b, 0x37, + 0xbd, 0xe4, 0xc4, 0xae, 0x0e, 0xce, 0x05, 0xbf, 0x54, 0xc7, 0x82, 0x8b, 0x93, 0x48, 0xeb, 0x07, + 0x91, 0x26, 0xa7, 0x20, 0x56, 0x71, 0x7b, 0xde, 0x97, 0xe7, 0x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, 0x1a, 0xa1, 0xb7, 0x69, 0x84, 0x46, 0xb3, 0x28, 0x98, 0xcc, 0xa2, 0xe0, 0x65, 0x16, 0x05, + 0xd7, 0xe7, 0x32, 0xb3, 0xdd, 0x22, 0xa1, 0x29, 0xf4, 0x99, 0x11, 0xd9, 0xb1, 0xfb, 0x6e, 0x0a, + 0x3d, 0x57, 0xa4, 0x5d, 0x9e, 0x29, 0xaf, 0x3c, 0xfd, 0xfe, 0x93, 0x6f, 0x87, 0x5a, 0x18, 0xa6, + 0x73, 0xd0, 0x60, 0x78, 0x2f, 0xa9, 0xb9, 0xd8, 0xc9, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0xda, + 0x19, 0xc2, 0x47, 0x28, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/params/types/subspace.go b/sei-cosmos/x/params/types/subspace.go index 8d9731e4f1..1826de6296 100644 --- a/sei-cosmos/x/params/types/subspace.go +++ b/sei-cosmos/x/params/types/subspace.go @@ -4,9 +4,9 @@ import ( "fmt" "reflect" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( @@ -105,7 +105,7 @@ func (s Subspace) Get(ctx sdk.Context, key []byte, ptr interface{}) { store := s.kvStore(ctx) bz := store.Get(key) - if err := s.legacyAmino.UnmarshalJSON(bz, ptr); err != nil { + if err := s.legacyAmino.UnmarshalAsJSON(bz, ptr); err != nil { panic(err) } } @@ -122,7 +122,7 @@ func (s Subspace) GetIfExists(ctx sdk.Context, key []byte, ptr interface{}) { s.checkType(key, ptr) - if err := s.legacyAmino.UnmarshalJSON(bz, ptr); err != nil { + if err := s.legacyAmino.UnmarshalAsJSON(bz, ptr); err != nil { panic(err) } } @@ -171,7 +171,7 @@ func (s Subspace) checkType(key []byte, value interface{}) { func (s Subspace) Set(ctx sdk.Context, key []byte, value interface{}) { s.checkType(key, value) - bz, err := s.legacyAmino.MarshalJSON(value) + bz, err := s.legacyAmino.MarshalAsJSON(value) if err != nil { panic(err) } @@ -203,7 +203,7 @@ func (s Subspace) Update(ctx sdk.Context, key, value []byte) error { dest := reflect.New(ty).Interface() s.GetIfExists(ctx, key, dest) - if err := s.legacyAmino.UnmarshalJSON(value, dest); err != nil { + if err := s.legacyAmino.UnmarshalAsJSON(value, dest); err != nil { return err } diff --git a/sei-cosmos/x/params/types/subspace_test.go b/sei-cosmos/x/params/types/subspace_test.go index 8d0616002c..746c85ba31 100644 --- a/sei-cosmos/x/params/types/subspace_test.go +++ b/sei-cosmos/x/params/types/subspace_test.go @@ -10,11 +10,11 @@ import ( "github.com/stretchr/testify/suite" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/params/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) type SubspaceTestSuite struct { @@ -124,12 +124,12 @@ func (suite *SubspaceTestSuite) TestUpdate() { bad := time.Minute * 5 - bz, err := suite.amino.MarshalJSON(bad) + bz, err := suite.amino.MarshalAsJSON(bad) suite.Require().NoError(err) suite.Require().Error(suite.ss.Update(suite.ctx, keyUnbondingTime, bz)) good := time.Hour * 360 - bz, err = suite.amino.MarshalJSON(good) + bz, err = suite.amino.MarshalAsJSON(good) suite.Require().NoError(err) suite.Require().NoError(suite.ss.Update(suite.ctx, keyUnbondingTime, bz)) diff --git a/sei-cosmos/x/params/types/table.go b/sei-cosmos/x/params/types/table.go index ef09c39d88..2bf944f3bd 100644 --- a/sei-cosmos/x/params/types/table.go +++ b/sei-cosmos/x/params/types/table.go @@ -3,7 +3,7 @@ package types import ( "reflect" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type attribute struct { diff --git a/sei-cosmos/x/params/types/table_test.go b/sei-cosmos/x/params/types/table_test.go index ebf282d4e2..8c6655bfd5 100644 --- a/sei-cosmos/x/params/types/table_test.go +++ b/sei-cosmos/x/params/types/table_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) func TestKeyTable(t *testing.T) { diff --git a/sei-cosmos/x/params/types/types.pb.go b/sei-cosmos/x/params/types/types.pb.go index cf0b5d492e..4e570c00f0 100644 --- a/sei-cosmos/x/params/types/types.pb.go +++ b/sei-cosmos/x/params/types/types.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -27,8 +27,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Defines fee params that are controlled through governance type FeesParams struct { - GlobalMinimumGasPrices github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=global_minimum_gas_prices,json=globalMinimumGasPrices,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"global_minimum_gas_prices"` - AllowedFeeDenoms []string `protobuf:"bytes,2,rep,name=allowed_fee_denoms,json=allowedFeeDenoms,proto3" json:"allowed_fee_denoms,omitempty"` + GlobalMinimumGasPrices github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins `protobuf:"bytes,1,rep,name=global_minimum_gas_prices,json=globalMinimumGasPrices,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.DecCoins" json:"global_minimum_gas_prices"` + AllowedFeeDenoms []string `protobuf:"bytes,2,rep,name=allowed_fee_denoms,json=allowedFeeDenoms,proto3" json:"allowed_fee_denoms,omitempty"` } func (m *FeesParams) Reset() { *m = FeesParams{} } @@ -64,7 +64,7 @@ func (m *FeesParams) XXX_DiscardUnknown() { var xxx_messageInfo_FeesParams proto.InternalMessageInfo -func (m *FeesParams) GetGlobalMinimumGasPrices() github_com_cosmos_cosmos_sdk_types.DecCoins { +func (m *FeesParams) GetGlobalMinimumGasPrices() github_com_sei_protocol_sei_chain_sei_cosmos_types.DecCoins { if m != nil { return m.GlobalMinimumGasPrices } @@ -191,37 +191,37 @@ func init() { func init() { proto.RegisterFile("cosmos/params/types/types.proto", fileDescriptor_56d782f42fecdb16) } var fileDescriptor_56d782f42fecdb16 = []byte{ - // 466 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xcf, 0x6e, 0xd3, 0x30, - 0x18, 0xaf, 0xbb, 0x09, 0x09, 0x17, 0x69, 0x10, 0x01, 0x2a, 0xd3, 0xe4, 0x74, 0x3d, 0xa0, 0x4a, - 0x14, 0x87, 0x75, 0x88, 0x07, 0xe8, 0xaa, 0x0d, 0x0e, 0x43, 0x53, 0xb9, 0x20, 0x2e, 0x91, 0x93, - 0x7e, 0x0d, 0x16, 0xb1, 0x1d, 0xc5, 0x2e, 0x30, 0x71, 0xe2, 0xce, 0x01, 0xf1, 0x14, 0x88, 0x23, - 0x4f, 0x31, 0x6e, 0x3b, 0x72, 0x2a, 0xa8, 0xbd, 0xed, 0x29, 0x50, 0x6d, 0x87, 0xc2,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, 0x71, 0xb5, 0xde, 0xfe, 0xf5, 0xe5, 0x24, - 0x57, 0x6c, 0xcf, 0x77, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x7f, 0xaf, 0xcb, 0x57, 0x03, - 0x00, 0x00, + // 476 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x31, 0x6f, 0x13, 0x31, + 0x14, 0x8e, 0xd3, 0x0a, 0x09, 0x07, 0xa9, 0x70, 0x02, 0x14, 0xaa, 0xca, 0x97, 0x66, 0x40, 0x19, + 0xc2, 0x1d, 0x0d, 0x88, 0x85, 0x2d, 0x89, 0x5a, 0x96, 0xa2, 0x2a, 0x2c, 0xc0, 0x72, 0xf2, 0xb9, + 0x2f, 0x57, 0x4b, 0x67, 0xfb, 0x74, 0x76, 0x80, 0x8a, 0x89, 0x7f, 0x80, 0x98, 0xf9, 0x01, 0x88, + 0x91, 0x5f, 0xd1, 0xb1, 0x23, 0x2c, 0x01, 0x25, 0x5b, 0x7f, 0x05, 0x8a, 0xed, 0x23, 0x50, 0x82, + 0x22, 0x96, 0xd3, 0xbb, 0x77, 0xdf, 0xfb, 0xbe, 0xef, 0x9d, 0x3f, 0xe3, 0x90, 0x29, 0x2d, 0x94, + 0x8e, 0x0b, 0x5a, 0x52, 0xa1, 0x63, 0x73, 0x5a, 0x80, 0x7f, 0x46, 0x45, 0xa9, 0x8c, 0x0a, 0x6e, + 0x39, 0x40, 0xe4, 0x00, 0xd1, 0xab, 0xbd, 0x14, 0x0c, 0xdd, 0xdb, 0x26, 0x7e, 0x2e, 0xa5, 0x1a, + 0x62, 0xdf, 0x8c, 0x99, 0xe2, 0xd2, 0x8d, 0x6d, 0xdf, 0xcc, 0x54, 0xa6, 0x6c, 0x19, 0x2f, 0x2a, + 0xd7, 0x6d, 0x7f, 0x43, 0x18, 0xef, 0x03, 0xe8, 0x23, 0x4b, 0x16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 0x0e, 0xe1, 0xdd, 0xd5, 0x94, 0x76, 0x13, 0x2e, 0xad, 0x7e, 0xdd, 0xea, 0x3f, 0xba, 0x98, + 0x86, 0xbd, 0xb5, 0xe0, 0xbf, 0x1d, 0x90, 0x15, 0x0e, 0x86, 0xcb, 0x81, 0xf6, 0x17, 0x84, 0xaf, + 0x1d, 0x80, 0x04, 0xcd, 0xf5, 0x33, 0x43, 0x0d, 0x04, 0x4f, 0x70, 0x63, 0x0c, 0xa0, 0x13, 0x17, + 0x27, 0xbb, 0x7d, 0xa3, 0xb7, 0x1b, 0xad, 0x0c, 0x59, 0xb4, 0x8c, 0x4a, 0x7f, 0x73, 0x71, 0xd0, + 0x23, 0x3c, 0x5e, 0x86, 0xe7, 0x39, 0xbe, 0xf1, 0x9b, 0x61, 0xcf, 0x57, 0xb7, 0x7c, 0x77, 0xff, + 0xc1, 0x77, 0xe9, 0x78, 0x3c, 0xe9, 0x16, 0xbb, 0xd4, 0x7e, 0xf1, 0x69, 0x46, 0xd0, 0xd9, 0x8c, + 0xa0, 0xf3, 0x19, 0x41, 0x3f, 0x66, 0x04, 0xbd, 0x9f, 0x93, 0xda, 0xf9, 0x9c, 0xd4, 0xbe, 0xce, + 0x49, 0xed, 0xe5, 0xff, 0x45, 0xed, 0xcd, 0x1f, 0x37, 0x2b, 0xbd, 0x62, 0xd1, 0x0f, 0x7e, 0x06, + 0x00, 0x00, 0xff, 0xff, 0x56, 0x9c, 0x40, 0xbe, 0x77, 0x03, 0x00, 0x00, } func (this *FeesParams) Equal(that interface{}) bool { diff --git a/sei-cosmos/x/simulation/event_stats.go b/sei-cosmos/x/simulation/event_stats.go index 0e4289fd24..8b76f6c643 100644 --- a/sei-cosmos/x/simulation/event_stats.go +++ b/sei-cosmos/x/simulation/event_stats.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" "io" - "io/ioutil" + "os" ) // EventStats defines an object that keeps a tally of each event that has occurred @@ -38,7 +38,7 @@ func (es EventStats) Print(w io.Writer) { panic(err) } - fmt.Fprintln(w, string(obj)) + _, _ = fmt.Fprintln(w, string(obj)) } // ExportJSON saves the event stats as a JSON file on a given path @@ -48,7 +48,7 @@ func (es EventStats) ExportJSON(path string) { panic(err) } - err = ioutil.WriteFile(path, bz, 0600) + err = os.WriteFile(path, bz, 0600) if err != nil { panic(err) } diff --git a/sei-cosmos/x/simulation/expected_keepers.go b/sei-cosmos/x/simulation/expected_keepers.go index c54831b8a4..b9576dec4b 100644 --- a/sei-cosmos/x/simulation/expected_keepers.go +++ b/sei-cosmos/x/simulation/expected_keepers.go @@ -1,8 +1,8 @@ package simulation import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // AccountKeeper defines the expected account keeper used for simulations (noalias) diff --git a/sei-cosmos/x/simulation/log.go b/sei-cosmos/x/simulation/log.go index ba22b2af4a..d6537257bb 100644 --- a/sei-cosmos/x/simulation/log.go +++ b/sei-cosmos/x/simulation/log.go @@ -4,6 +4,7 @@ import ( "fmt" "os" "path" + "path/filepath" "time" ) @@ -35,7 +36,7 @@ func (lw *StandardLogWriter) AddEntry(opEntry OperationEntry) { // PrintLogs - print the logs to a simulation file func (lw *StandardLogWriter) PrintLogs() { f := createLogFile() - defer f.Close() + defer func() { _ = f.Close() }() for i := 0; i < len(lw.OpEntries); i++ { writeEntry := fmt.Sprintf("%s\n", (lw.OpEntries[i]).MustMarshal()) @@ -52,9 +53,9 @@ func createLogFile() *os.File { fileName := fmt.Sprintf("%s.log", time.Now().Format("2006-01-02_15:04:05")) folderPath := path.Join(os.ExpandEnv("$HOME"), ".simapp", "simulations") - filePath := path.Join(folderPath, fileName) + filePath := filepath.Clean(filepath.Join(folderPath, fileName)) - err := os.MkdirAll(folderPath, os.ModePerm) + err := os.MkdirAll(folderPath, 0750) if err != nil { panic(err) } diff --git a/sei-cosmos/x/simulation/mock_tendermint.go b/sei-cosmos/x/simulation/mock_tendermint.go index b5c1a87609..9895450cd6 100644 --- a/sei-cosmos/x/simulation/mock_tendermint.go +++ b/sei-cosmos/x/simulation/mock_tendermint.go @@ -133,12 +133,13 @@ func RandomRequestBeginBlock(r *rand.Rand, params Params, mVal.livenessState = params.LivenessTransitionMatrix().NextState(r, mVal.livenessState) signed := true - if mVal.livenessState == 1 { + switch mVal.livenessState { + case 1: // spotty connection, 50% probability of success // See https://github.com/golang/go/issues/23804#issuecomment-365370418 // for reasoning behind computing like this signed = r.Int63()%2 == 0 - } else if mVal.livenessState == 2 { + case 2: // offline signed = false } diff --git a/sei-cosmos/x/simulation/operation.go b/sei-cosmos/x/simulation/operation.go index 7aab48e9fb..fa5ebc0459 100644 --- a/sei-cosmos/x/simulation/operation.go +++ b/sei-cosmos/x/simulation/operation.go @@ -5,7 +5,7 @@ import ( "math/rand" "sort" - "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" ) // entry kinds for use within OperationEntry diff --git a/sei-cosmos/x/simulation/params.go b/sei-cosmos/x/simulation/params.go index 0e83de282a..d5afed11b0 100644 --- a/sei-cosmos/x/simulation/params.go +++ b/sei-cosmos/x/simulation/params.go @@ -8,9 +8,9 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/sei-protocol/sei-chain/sei-tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/simulation" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) const ( diff --git a/sei-cosmos/x/simulation/simulate.go b/sei-cosmos/x/simulation/simulate.go index ee522736dc..87e1b2536c 100644 --- a/sei-cosmos/x/simulation/simulate.go +++ b/sei-cosmos/x/simulation/simulate.go @@ -1,390 +1,7 @@ package simulation import ( - "context" - "fmt" - "io" - "math/rand" - "os" - "os/signal" - "syscall" - "testing" "time" - - abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/utils" ) const AverageBlockTime = 6 * time.Second - -// initialize the chain for the simulation -func initChain( - r *rand.Rand, - params Params, - accounts []simulation.Account, - app *baseapp.BaseApp, - appStateFn simulation.AppStateFn, - config simulation.Config, - cdc codec.JSONCodec, -) (mockValidators, time.Time, []simulation.Account, string) { - - appState, accounts, chainID, genesisTimestamp := appStateFn(r, accounts, config) - consensusParams := randomConsensusParams(r, appState, cdc) - req := abci.RequestInitChain{ - AppStateBytes: appState, - ChainId: chainID, - ConsensusParams: consensusParams, - Time: genesisTimestamp, - } - res, _ := app.InitChain(context.Background(), &req) - validators := newMockValidators(r, utils.Map(res.Validators, func(v abci.ValidatorUpdate) abci.ValidatorUpdate { - return abci.ValidatorUpdate{ - PubKey: v.PubKey, - Power: v.Power, - } - }), params) - - return validators, genesisTimestamp, accounts, chainID -} - -// SimulateFromSeed tests an application by running the provided -// operations, testing the provided invariants, but using the provided config.Seed. -// TODO: split this monster function up -func SimulateFromSeed( - tb testing.TB, - w io.Writer, - app *baseapp.BaseApp, - appStateFn simulation.AppStateFn, - randAccFn simulation.RandomAccountFn, - ops WeightedOperations, - blockedAddrs map[string]bool, - config simulation.Config, - cdc codec.JSONCodec, -) (stopEarly bool, exportedParams Params, err error) { - // in case we have to end early, don't os.Exit so that we can run cleanup code. - testingMode, _, b := getTestingMode(tb) - - fmt.Fprintf(w, "Starting SimulateFromSeed with randomness created with seed %d\n", int(config.Seed)) - r := rand.New(rand.NewSource(config.Seed)) - params := RandomParams(r) - fmt.Fprintf(w, "Randomized simulation params: \n%s\n", mustMarshalJSONIndent(params)) - - timeDiff := maxTimePerBlock - minTimePerBlock - accs := randAccFn(r, params.NumKeys()) - eventStats := NewEventStats() - - // Second variable to keep pending validator set (delayed one block since - // TM 0.24) Initially this is the same as the initial validator set - validators, genesisTimestamp, accs, chainID := initChain(r, params, accs, app, appStateFn, config, cdc) - if len(accs) == 0 { - return true, params, fmt.Errorf("must have greater than zero genesis accounts") - } - - config.ChainID = chainID - - fmt.Printf( - "Starting the simulation from time %v (unixtime %v)\n", - genesisTimestamp.UTC().Format(time.UnixDate), genesisTimestamp.Unix(), - ) - - // remove module account address if they exist in accs - var tmpAccs []simulation.Account - - for _, acc := range accs { - if !blockedAddrs[acc.Address.String()] { - tmpAccs = append(tmpAccs, acc) - } - } - - accs = tmpAccs - nextValidators := validators - - header := tmproto.Header{ - ChainID: config.ChainID, - Height: 1, - Time: genesisTimestamp, - ProposerAddress: validators.randomProposer(r), - } - opCount := 0 - - // Setup code to catch SIGTERM's - c := make(chan os.Signal, 1) - signal.Notify(c, os.Interrupt, syscall.SIGTERM, syscall.SIGINT) - - go func() { - receivedSignal := <-c - fmt.Fprintf(w, "\nExiting early due to %s, on block %d, operation %d\n", receivedSignal, header.Height, opCount) - err = fmt.Errorf("exited due to %s", receivedSignal) - stopEarly = true - }() - - var ( - pastTimes []time.Time - pastVoteInfos [][]abci.VoteInfo - ) - - request := RandomRequestBeginBlock(r, params, - validators, pastTimes, pastVoteInfos, eventStats.Tally, header) - - // These are operations which have been queued by previous operations - operationQueue := NewOperationQueue() - - var timeOperationQueue []simulation.FutureOperation - - logWriter := NewLogWriter(testingMode) - - blockSimulator := createBlockSimulator( - testingMode, tb, w, params, eventStats.Tally, - ops, operationQueue, timeOperationQueue, logWriter, config) - - if !testingMode { - b.ResetTimer() - } else { - // recover logs in case of panic - defer func() { - if r := recover(); r != nil { - _, _ = fmt.Fprintf(w, "simulation halted due to panic on block %d\n", header.Height) - logWriter.PrintLogs() - panic(r) - } - }() - } - - // set exported params to the initial state - if config.ExportParamsPath != "" && config.ExportParamsHeight == 0 { - exportedParams = params - } - - // TODO: split up the contents of this for loop into new functions - for height := config.InitialBlockHeight; height < config.NumBlocks+config.InitialBlockHeight && !stopEarly; height++ { - - // Log the header time for future lookup - pastTimes = append(pastTimes, header.Time) - pastVoteInfos = append(pastVoteInfos, request.LastCommitInfo.Votes) - - // Run the BeginBlock handler - logWriter.AddEntry(BeginBlockEntry(int64(height))) - app.FinalizeBlock(context.Background(), &abci.RequestFinalizeBlock{}) - - ctx := app.NewContext(false, header) - - // Run queued operations. Ignores blocksize if blocksize is too small - numQueuedOpsRan := runQueuedOperations( - operationQueue, int(header.Height), tb, r, app, ctx, accs, logWriter, - eventStats.Tally, config.Lean, config.ChainID, - ) - - numQueuedTimeOpsRan := runQueuedTimeOperations( - timeOperationQueue, int(header.Height), header.Time, - tb, r, app, ctx, accs, logWriter, eventStats.Tally, - config.Lean, config.ChainID, - ) - - // run standard operations - operations := blockSimulator(r, app, ctx, accs, header) - opCount += operations + numQueuedOpsRan + numQueuedTimeOpsRan - - res, _ := app.FinalizeBlock(context.Background(), &abci.RequestFinalizeBlock{}) - header.Height++ - header.Time = header.Time.Add( - time.Duration(minTimePerBlock) * time.Second) - header.Time = header.Time.Add( - time.Duration(int64(r.Intn(int(timeDiff)))) * time.Second) - header.ProposerAddress = validators.randomProposer(r) - - logWriter.AddEntry(EndBlockEntry(int64(height))) - - if config.Commit { - app.Commit(context.Background()) - } - - if header.ProposerAddress == nil { - fmt.Fprintf(w, "\nSimulation stopped early as all validators have been unbonded; nobody left to propose a block!\n") - stopEarly = true - break - } - - // Generate a random RequestBeginBlock with the current validator set - // for the next block - request = RandomRequestBeginBlock(r, params, validators, pastTimes, pastVoteInfos, eventStats.Tally, header) - - // Update the validator set, which will be reflected in the application - // on the next block - validators = nextValidators - nextValidators = updateValidators(tb, r, params, validators, res.ValidatorUpdates, eventStats.Tally) - - // update the exported params - if config.ExportParamsPath != "" && config.ExportParamsHeight == height { - exportedParams = params - } - } - - if stopEarly { - if config.ExportStatsPath != "" { - fmt.Println("Exporting simulation statistics...") - eventStats.ExportJSON(config.ExportStatsPath) - } else { - eventStats.Print(w) - } - - return true, exportedParams, err - } - - fmt.Fprintf( - w, - "\nSimulation complete; Final height (blocks): %d, final time (seconds): %v, operations ran: %d\n", - header.Height, header.Time, opCount, - ) - - if config.ExportStatsPath != "" { - fmt.Println("Exporting simulation statistics...") - eventStats.ExportJSON(config.ExportStatsPath) - } else { - eventStats.Print(w) - } - - return false, exportedParams, nil -} - -type blockSimFn func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, - accounts []simulation.Account, header tmproto.Header) (opCount int) - -// Returns a function to simulate blocks. Written like this to avoid constant -// parameters being passed everytime, to minimize memory overhead. -func createBlockSimulator(testingMode bool, tb testing.TB, w io.Writer, params Params, - event func(route, op, evResult string), ops WeightedOperations, - operationQueue OperationQueue, timeOperationQueue []simulation.FutureOperation, - logWriter LogWriter, config simulation.Config) blockSimFn { - - lastBlockSizeState := 0 // state for [4 * uniform distribution] - blocksize := 0 - selectOp := ops.getSelectOpFn() - - return func( - r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accounts []simulation.Account, header tmproto.Header, - ) (opCount int) { - _, _ = fmt.Fprintf( - w, "\rSimulating... block %d/%d, operation %d/%d.", - header.Height, config.NumBlocks, opCount, blocksize, - ) - lastBlockSizeState, blocksize = getBlockSize(r, params, lastBlockSizeState, config.BlockSize) - - type opAndR struct { - op simulation.Operation - rand *rand.Rand - } - - opAndRz := make([]opAndR, 0, blocksize) - - // Predetermine the blocksize slice so that we can do things like block - // out certain operations without changing the ops that follow. - for i := 0; i < blocksize; i++ { - opAndRz = append(opAndRz, opAndR{ - op: selectOp(r), - rand: simulation.DeriveRand(r), - }) - } - - for i := 0; i < blocksize; i++ { - // NOTE: the Rand 'r' should not be used here. - opAndR := opAndRz[i] - op, r2 := opAndR.op, opAndR.rand - opMsg, futureOps, err := op(r2, app, ctx, accounts, config.ChainID) - opMsg.LogEvent(event) - - if !config.Lean || opMsg.OK { - logWriter.AddEntry(MsgEntry(header.Height, int64(i), opMsg)) - } - - if err != nil { - logWriter.PrintLogs() - tb.Fatalf(`error on block %d/%d, operation (%d/%d) from x/%s: -%v -Comment: %s`, - header.Height, config.NumBlocks, opCount, blocksize, opMsg.Route, err, opMsg.Comment) - } - - queueOperations(operationQueue, timeOperationQueue, futureOps) - - if testingMode && opCount%50 == 0 { - fmt.Fprintf(w, "\rSimulating... block %d/%d, operation %d/%d. ", - header.Height, config.NumBlocks, opCount, blocksize) - } - - opCount++ - } - - return opCount - } -} - -// nolint: errcheck -func runQueuedOperations(queueOps map[int][]simulation.Operation, - height int, tb testing.TB, r *rand.Rand, app *baseapp.BaseApp, - ctx sdk.Context, accounts []simulation.Account, logWriter LogWriter, - event func(route, op, evResult string), lean bool, chainID string) (numOpsRan int) { - - queuedOp, ok := queueOps[height] - if !ok { - return 0 - } - - numOpsRan = len(queuedOp) - for i := 0; i < numOpsRan; i++ { - - // For now, queued operations cannot queue more operations. - // If a need arises for us to support queued messages to queue more messages, this can - // be changed. - opMsg, _, err := queuedOp[i](r, app, ctx, accounts, chainID) - opMsg.LogEvent(event) - - if !lean || opMsg.OK { - logWriter.AddEntry((QueuedMsgEntry(int64(height), opMsg))) - } - - if err != nil { - logWriter.PrintLogs() - tb.FailNow() - } - } - delete(queueOps, height) - - return numOpsRan -} - -func runQueuedTimeOperations(queueOps []simulation.FutureOperation, - height int, currentTime time.Time, tb testing.TB, r *rand.Rand, - app *baseapp.BaseApp, ctx sdk.Context, accounts []simulation.Account, - logWriter LogWriter, event func(route, op, evResult string), - lean bool, chainID string) (numOpsRan int) { - - numOpsRan = 0 - for len(queueOps) > 0 && currentTime.After(queueOps[0].BlockTime) { - - // For now, queued operations cannot queue more operations. - // If a need arises for us to support queued messages to queue more messages, this can - // be changed. - opMsg, _, err := queueOps[0].Op(r, app, ctx, accounts, chainID) - opMsg.LogEvent(event) - - if !lean || opMsg.OK { - logWriter.AddEntry(QueuedMsgEntry(int64(height), opMsg)) - } - - if err != nil { - logWriter.PrintLogs() - tb.FailNow() - } - - queueOps = queueOps[1:] - numOpsRan++ - } - - return numOpsRan -} diff --git a/sei-cosmos/x/simulation/transition_matrix.go b/sei-cosmos/x/simulation/transition_matrix.go index 9e2c69c066..ed658c7ace 100644 --- a/sei-cosmos/x/simulation/transition_matrix.go +++ b/sei-cosmos/x/simulation/transition_matrix.go @@ -4,7 +4,7 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" ) // TransitionMatrix is _almost_ a left stochastic matrix. It is technically diff --git a/sei-cosmos/x/simulation/util.go b/sei-cosmos/x/simulation/util.go index 02773e2189..2dfd477147 100644 --- a/sei-cosmos/x/simulation/util.go +++ b/sei-cosmos/x/simulation/util.go @@ -7,14 +7,14 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsign "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authsign "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) const DefaultGenTxGas = 10000000 diff --git a/sei-cosmos/x/slashing/abci.go b/sei-cosmos/x/slashing/abci.go index 11dc25cd30..aeb6e784c1 100644 --- a/sei-cosmos/x/slashing/abci.go +++ b/sei-cosmos/x/slashing/abci.go @@ -4,10 +4,10 @@ import ( "sync" "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-cosmos/x/slashing/abci_test.go b/sei-cosmos/x/slashing/abci_test.go index 398095ca46..2a25c1f8cc 100644 --- a/sei-cosmos/x/slashing/abci_test.go +++ b/sei-cosmos/x/slashing/abci_test.go @@ -8,14 +8,14 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing" - "github.com/cosmos/cosmos-sdk/x/slashing/testslashing" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/testslashing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestBeginBlocker(t *testing.T) { diff --git a/sei-cosmos/x/slashing/app_test.go b/sei-cosmos/x/slashing/app_test.go index 977ba47bca..ddde30d1d7 100644 --- a/sei-cosmos/x/slashing/app_test.go +++ b/sei-cosmos/x/slashing/app_test.go @@ -9,14 +9,14 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var ( diff --git a/sei-cosmos/x/slashing/client/cli/query.go b/sei-cosmos/x/slashing/client/cli/query.go index 08ae03301f..bc0963a0d9 100644 --- a/sei-cosmos/x/slashing/client/cli/query.go +++ b/sei-cosmos/x/slashing/client/cli/query.go @@ -5,11 +5,11 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/sei-cosmos/x/slashing/client/cli/tx.go b/sei-cosmos/x/slashing/client/cli/tx.go index 6ef7f56c29..1fd6f080d9 100644 --- a/sei-cosmos/x/slashing/client/cli/tx.go +++ b/sei-cosmos/x/slashing/client/cli/tx.go @@ -3,11 +3,11 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) // NewTxCmd returns a root CLI command handler for all x/slashing transaction commands. diff --git a/sei-cosmos/x/slashing/client/rest/grpc_query_test.go b/sei-cosmos/x/slashing/client/rest/grpc_query_test.go index e3920b54b8..bef8d69dff 100644 --- a/sei-cosmos/x/slashing/client/rest/grpc_query_test.go +++ b/sei-cosmos/x/slashing/client/rest/grpc_query_test.go @@ -8,12 +8,12 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) type IntegrationTestSuite struct { @@ -117,7 +117,7 @@ func (s *IntegrationTestSuite) TestGRPCQueries() { resp, err := testutil.GetRequestWithHeaders(tc.url, tc.headers) s.Require().NoError(err) - err = val.ClientCtx.Codec.UnmarshalJSON(resp, tc.respType) + err = val.ClientCtx.Codec.UnmarshalAsJSON(resp, tc.respType) if tc.expErr { s.Require().Error(err) diff --git a/sei-cosmos/x/slashing/client/rest/query.go b/sei-cosmos/x/slashing/client/rest/query.go index d5d4a3a187..de970bbe63 100644 --- a/sei-cosmos/x/slashing/client/rest/query.go +++ b/sei-cosmos/x/slashing/client/rest/query.go @@ -6,10 +6,10 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/types/bech32/legacybech32" //nolint:staticcheck - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/bech32/legacybech32" //nolint:staticcheck + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) func registerQueryRoutes(clientCtx client.Context, r *mux.Router) { @@ -45,7 +45,7 @@ func signingInfoHandlerFn(clientCtx client.Context) http.HandlerFunc { params := types.QuerySigningInfoRequest{ConsAddress: pk.Address().String()} - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -75,7 +75,7 @@ func signingInfoHandlerListFn(clientCtx client.Context) http.HandlerFunc { } params := types.NewQuerySigningInfosParams(page, limit) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckInternalServerError(w, err) { return } diff --git a/sei-cosmos/x/slashing/client/rest/rest.go b/sei-cosmos/x/slashing/client/rest/rest.go index 059cb17c6b..56f6e63773 100644 --- a/sei-cosmos/x/slashing/client/rest/rest.go +++ b/sei-cosmos/x/slashing/client/rest/rest.go @@ -3,8 +3,8 @@ package rest import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" ) func RegisterHandlers(clientCtx client.Context, rtr *mux.Router) { diff --git a/sei-cosmos/x/slashing/client/rest/tx.go b/sei-cosmos/x/slashing/client/rest/tx.go index eaac614fa1..9bcfb6e83a 100644 --- a/sei-cosmos/x/slashing/client/rest/tx.go +++ b/sei-cosmos/x/slashing/client/rest/tx.go @@ -6,11 +6,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) func registerTxHandlers(clientCtx client.Context, r *mux.Router) { diff --git a/sei-cosmos/x/slashing/client/testutil/cli_test.go b/sei-cosmos/x/slashing/client/testutil/cli_test.go index 1035ca7502..9126c139f8 100644 --- a/sei-cosmos/x/slashing/client/testutil/cli_test.go +++ b/sei-cosmos/x/slashing/client/testutil/cli_test.go @@ -6,7 +6,7 @@ package testutil import ( "testing" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/sei-cosmos/x/slashing/client/testutil/suite.go b/sei-cosmos/x/slashing/client/testutil/suite.go index 1fbd55ff19..d4ce4541e6 100644 --- a/sei-cosmos/x/slashing/client/testutil/suite.go +++ b/sei-cosmos/x/slashing/client/testutil/suite.go @@ -8,11 +8,11 @@ import ( tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/client/cli" ) type IntegrationTestSuite struct { @@ -173,7 +173,7 @@ func (s *IntegrationTestSuite) TestNewUnjailTxCmd() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) diff --git a/sei-cosmos/x/slashing/genesis.go b/sei-cosmos/x/slashing/genesis.go index 38f8032125..af46cde6ab 100644 --- a/sei-cosmos/x/slashing/genesis.go +++ b/sei-cosmos/x/slashing/genesis.go @@ -1,10 +1,10 @@ package slashing import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // InitGenesis initialize default parameters @@ -16,7 +16,9 @@ func InitGenesis(ctx sdk.Context, keeper keeper.Keeper, stakingKeeper types.Stak if err != nil { panic(err) } - keeper.AddPubkey(ctx, consPk) + if err := keeper.AddPubkey(ctx, consPk); err != nil { + panic(err) + } return false }, ) diff --git a/sei-cosmos/x/slashing/genesis_test.go b/sei-cosmos/x/slashing/genesis_test.go index 5c652a22a5..579274d65d 100644 --- a/sei-cosmos/x/slashing/genesis_test.go +++ b/sei-cosmos/x/slashing/genesis_test.go @@ -7,11 +7,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing" - "github.com/cosmos/cosmos-sdk/x/slashing/testslashing" - "github.com/cosmos/cosmos-sdk/x/slashing/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/testslashing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) func TestExportAndInitGenesis(t *testing.T) { diff --git a/sei-cosmos/x/slashing/handler.go b/sei-cosmos/x/slashing/handler.go index eab71edb41..e12ea462aa 100644 --- a/sei-cosmos/x/slashing/handler.go +++ b/sei-cosmos/x/slashing/handler.go @@ -1,10 +1,10 @@ package slashing import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) // NewHandler creates an sdk.Handler for all the slashing type messages diff --git a/sei-cosmos/x/slashing/handler_test.go b/sei-cosmos/x/slashing/handler_test.go index 40200c7d24..48bd451780 100644 --- a/sei-cosmos/x/slashing/handler_test.go +++ b/sei-cosmos/x/slashing/handler_test.go @@ -9,16 +9,16 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/testslashing" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/testslashing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestCannotUnjailUnlessJailed(t *testing.T) { diff --git a/sei-cosmos/x/slashing/init_test.go b/sei-cosmos/x/slashing/init_test.go index a2217cfda7..632245ef3a 100644 --- a/sei-cosmos/x/slashing/init_test.go +++ b/sei-cosmos/x/slashing/init_test.go @@ -1,7 +1,7 @@ package slashing_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/sei-cosmos/x/slashing/keeper/common_test.go b/sei-cosmos/x/slashing/keeper/common_test.go index 91a972ed11..71f5c0ff41 100644 --- a/sei-cosmos/x/slashing/keeper/common_test.go +++ b/sei-cosmos/x/slashing/keeper/common_test.go @@ -1,6 +1,6 @@ package keeper_test -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" var ( // The default power validators are initialized to have within tests diff --git a/sei-cosmos/x/slashing/keeper/grpc_query.go b/sei-cosmos/x/slashing/keeper/grpc_query.go index 324fcd1cd1..ccea2e26ae 100644 --- a/sei-cosmos/x/slashing/keeper/grpc_query.go +++ b/sei-cosmos/x/slashing/keeper/grpc_query.go @@ -6,10 +6,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) var _ types.QueryServer = Keeper{} diff --git a/sei-cosmos/x/slashing/keeper/grpc_query_test.go b/sei-cosmos/x/slashing/keeper/grpc_query_test.go index 9523698ce9..78664ee1cc 100644 --- a/sei-cosmos/x/slashing/keeper/grpc_query_test.go +++ b/sei-cosmos/x/slashing/keeper/grpc_query_test.go @@ -8,14 +8,14 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/slashing/testslashing" - "github.com/cosmos/cosmos-sdk/x/slashing/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/testslashing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) type SlashingTestSuite struct { diff --git a/sei-cosmos/x/slashing/keeper/hooks.go b/sei-cosmos/x/slashing/keeper/hooks.go index 7f5a1ff181..f0c359451f 100644 --- a/sei-cosmos/x/slashing/keeper/hooks.go +++ b/sei-cosmos/x/slashing/keeper/hooks.go @@ -5,8 +5,8 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) func (k Keeper) AfterValidatorBonded(ctx sdk.Context, address sdk.ConsAddress, _ sdk.ValAddress) { @@ -32,7 +32,10 @@ func (k Keeper) AfterValidatorCreated(ctx sdk.Context, valAddr sdk.ValAddress) e if err != nil { return err } - k.AddPubkey(ctx, consPk) + + if err := k.AddPubkey(ctx, consPk); err != nil { + return err + } return nil } @@ -66,7 +69,7 @@ func (h Hooks) AfterValidatorRemoved(ctx sdk.Context, consAddr sdk.ConsAddress, // Implements sdk.ValidatorHooks func (h Hooks) AfterValidatorCreated(ctx sdk.Context, valAddr sdk.ValAddress) { - h.k.AfterValidatorCreated(ctx, valAddr) + _ = h.k.AfterValidatorCreated(ctx, valAddr) } func (h Hooks) AfterValidatorBeginUnbonding(_ sdk.Context, _ sdk.ConsAddress, _ sdk.ValAddress) {} diff --git a/sei-cosmos/x/slashing/keeper/hooks_test.go b/sei-cosmos/x/slashing/keeper/hooks_test.go index f9ce9c731d..2b0afb420b 100644 --- a/sei-cosmos/x/slashing/keeper/hooks_test.go +++ b/sei-cosmos/x/slashing/keeper/hooks_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/assert" ) diff --git a/sei-cosmos/x/slashing/keeper/infractions.go b/sei-cosmos/x/slashing/keeper/infractions.go index 26ada40ef3..979f509a95 100644 --- a/sei-cosmos/x/slashing/keeper/infractions.go +++ b/sei-cosmos/x/slashing/keeper/infractions.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) type SlashInfo struct { diff --git a/sei-cosmos/x/slashing/keeper/infractions_test.go b/sei-cosmos/x/slashing/keeper/infractions_test.go index ff342a9b69..e837532715 100644 --- a/sei-cosmos/x/slashing/keeper/infractions_test.go +++ b/sei-cosmos/x/slashing/keeper/infractions_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - "github.com/cosmos/cosmos-sdk/x/slashing/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/assert" ) diff --git a/sei-cosmos/x/slashing/keeper/keeper.go b/sei-cosmos/x/slashing/keeper/keeper.go index 632c490246..ce274b3bb8 100644 --- a/sei-cosmos/x/slashing/keeper/keeper.go +++ b/sei-cosmos/x/slashing/keeper/keeper.go @@ -5,11 +5,11 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) // Keeper of the slashing store diff --git a/sei-cosmos/x/slashing/keeper/keeper_test.go b/sei-cosmos/x/slashing/keeper/keeper_test.go index 5f52c426df..6f76304776 100644 --- a/sei-cosmos/x/slashing/keeper/keeper_test.go +++ b/sei-cosmos/x/slashing/keeper/keeper_test.go @@ -5,19 +5,19 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" "github.com/stretchr/testify/assert" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing" - "github.com/cosmos/cosmos-sdk/x/slashing/testslashing" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/testslashing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestUnJailNotBonded(t *testing.T) { diff --git a/sei-cosmos/x/slashing/keeper/migrations.go b/sei-cosmos/x/slashing/keeper/migrations.go index 8ddc3e6fa7..c2ebccf350 100644 --- a/sei-cosmos/x/slashing/keeper/migrations.go +++ b/sei-cosmos/x/slashing/keeper/migrations.go @@ -5,9 +5,9 @@ import ( "fmt" "sort" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" gogotypes "github.com/gogo/protobuf/types" ) @@ -34,12 +34,9 @@ func (m Migrator) Migrate2to3(ctx sdk.Context) error { ctx.Logger().Info("Migrating Signing Info") signInfoIter := sdk.KVStorePrefixIterator(store, types.ValidatorSigningInfoKeyPrefix) - newSignInfoKeys := [][]byte{} - newSignInfoVals := []types.ValidatorSigningInfoLegacyMissedHeights{} - // Note that we close the iterator twice. 2 iterators cannot be open at the same time due to mutex on the storage - // This close within defer is a safety net, while the close() after iteration is to close the iterator before opening - // a new one. - defer signInfoIter.Close() + var newSignInfoKeys [][]byte + var newSignInfoVals []types.ValidatorSigningInfoLegacyMissedHeights + for ; signInfoIter.Valid(); signInfoIter.Next() { ctx.Logger().Info(fmt.Sprintf("Migrating Signing Info for key: %v\n", signInfoIter.Key())) var oldInfo types.ValidatorSigningInfo @@ -55,7 +52,9 @@ func (m Migrator) Migrate2to3(ctx sdk.Context) error { newSignInfoKeys = append(newSignInfoKeys, signInfoIter.Key()) newSignInfoVals = append(newSignInfoVals, newInfo) } - signInfoIter.Close() + if err := signInfoIter.Close(); err != nil { + return err + } if len(newSignInfoKeys) != len(newSignInfoVals) { return fmt.Errorf("new sign info data length doesn't match up") @@ -72,26 +71,28 @@ func (m Migrator) Migrate2to3(ctx sdk.Context) error { // Note that we close the iterator twice. 2 iterators cannot be open at the same time due to mutex on the storage // This close within defer is a safety net, while the close() after iteration is to close the iterator before opening // a new one. - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { // need to use the key to extract validator cons addr // last 8 bytes are the index // remove the store prefix + length prefix key := iter.Key() + if len(key) < 10 { + return fmt.Errorf("invalid missed block bit array key: too short (%d bytes)", len(key)) + } consAddrBytes, indexBytes := key[2:len(key)-8], key[len(key)-8:] consAddr := sdk.ConsAddress(consAddrBytes) - index := int64(binary.LittleEndian.Uint64(indexBytes)) + index := int64(binary.LittleEndian.Uint64(indexBytes)) //nolint:gosec // index represents a block index, stored as uint64 // load legacy signing info type var signInfo types.ValidatorSigningInfoLegacyMissedHeights signInfoKey := types.ValidatorSigningInfoKey(consAddr) bz := store.Get(signInfoKey) + if bz == nil { + return fmt.Errorf("signing info not found for validator %s", consAddr.String()) + } m.keeper.cdc.MustUnmarshal(bz, &signInfo) - // signInfo, found := m.keeper.GetValidatorSigningInfo(ctx, consAddr) - // if !found { - // return fmt.Errorf("signing info not found") - // } arr, ok := valMissedMap[consAddr.String()] if !ok { ctx.Logger().Info(fmt.Sprintf("Migrating for next validator with consAddr: %s\n", consAddr.String())) @@ -109,7 +110,10 @@ func (m Migrator) Migrate2to3(ctx sdk.Context) error { valMissedMap[consAddr.String()] = arr keysToDelete = append(keysToDelete, iter.Key()) } - iter.Close() + + if err := iter.Close(); err != nil { + return err + } ctx.Logger().Info(fmt.Sprintf("Starting deletion of missed bit array keys (total %d)", len(keysToDelete))) interval := len(keysToDelete) / 50 @@ -124,7 +128,7 @@ func (m Migrator) Migrate2to3(ctx sdk.Context) error { } ctx.Logger().Info("Writing new validator missed heights") - valKeys := []string{} + var valKeys []string for key := range valMissedMap { valKeys = append(valKeys, key) } @@ -132,10 +136,10 @@ func (m Migrator) Migrate2to3(ctx sdk.Context) error { for _, key := range valKeys { missedBlockArray := valMissedMap[key] consAddrKey, err := sdk.ConsAddressFromBech32(key) - ctx.Logger().Info(fmt.Sprintf("Writing missed heights for validator: %s\n", consAddrKey.String())) if err != nil { return err } + ctx.Logger().Info(fmt.Sprintf("Writing missed heights for validator: %s\n", consAddrKey.String())) bz := m.keeper.cdc.MustMarshal(&missedBlockArray) store.Set(types.ValidatorMissedBlockBitArrayKey(consAddrKey), bz) } @@ -150,15 +154,12 @@ func (m Migrator) Migrate3to4(ctx sdk.Context) error { valMissedMap := make(map[string]types.ValidatorMissedBlockArray) ctx.Logger().Info("Migrating Signing Info") signInfoIter := sdk.KVStorePrefixIterator(store, types.ValidatorSigningInfoKeyPrefix) - newSignInfoKeys := [][]byte{} - newSignInfoVals := []types.ValidatorSigningInfo{} + var newSignInfoKeys [][]byte + var newSignInfoVals []types.ValidatorSigningInfo // use previous height to calculate index offset window := m.keeper.SignedBlocksWindow(ctx) index := window - 1 - // Note that we close the iterator twice. 2 iterators cannot be open at the same time due to mutex on the storage - // This close within defer is a safety net, while the close() after iteration is to close the iterator before opening - // a new one. - defer signInfoIter.Close() + for ; signInfoIter.Valid(); signInfoIter.Next() { ctx.Logger().Info(fmt.Sprintf("Migrating Signing Info for key: %v\n", signInfoIter.Key())) var oldInfo types.ValidatorSigningInfoLegacyMissedHeights @@ -175,7 +176,9 @@ func (m Migrator) Migrate3to4(ctx sdk.Context) error { newSignInfoKeys = append(newSignInfoKeys, signInfoIter.Key()) newSignInfoVals = append(newSignInfoVals, newInfo) } - signInfoIter.Close() + if err := signInfoIter.Close(); err != nil { + return err + } if len(newSignInfoKeys) != len(newSignInfoVals) { return fmt.Errorf("new sign info data length doesn't match up") @@ -190,15 +193,21 @@ func (m Migrator) Migrate3to4(ctx sdk.Context) error { ctx.Logger().Info("Migrating Missed Block Bit Array") startWindowHeight := ctx.BlockHeight() - window iter := sdk.KVStorePrefixIterator(store, types.ValidatorMissedBlockBitArrayKeyPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { var missedInfo types.ValidatorMissedBlockArrayLegacyMissedHeights key := iter.Key() + if len(key) < 3 { + return fmt.Errorf("invalid missed block bit array key: too short (%d bytes)", len(key)) + } consAddrBytes := key[2:] consAddr := sdk.ConsAddress(consAddrBytes) ctx.Logger().Info(fmt.Sprintf("Migrating for next validator with consAddr: %s\n", consAddr.String())) + if window <= 0 { + return fmt.Errorf("invalid signed blocks window: %d", window) + } newBoolArray := make([]bool, window) m.keeper.cdc.MustUnmarshal(iter.Value(), &missedInfo) heights := missedInfo.MissedHeights @@ -206,8 +215,11 @@ func (m Migrator) Migrate3to4(ctx sdk.Context) error { if height < startWindowHeight { continue } - index := height - startWindowHeight - newBoolArray[index] = true + idx := height - startWindowHeight + if idx < 0 || idx >= window { + continue + } + newBoolArray[idx] = true } valMissedMap[consAddr.String()] = types.ValidatorMissedBlockArray{ @@ -218,7 +230,7 @@ func (m Migrator) Migrate3to4(ctx sdk.Context) error { } ctx.Logger().Info("Writing new validator missed blocks infos") - valKeys := []string{} + var valKeys []string for key := range valMissedMap { valKeys = append(valKeys, key) } @@ -226,10 +238,10 @@ func (m Migrator) Migrate3to4(ctx sdk.Context) error { for _, key := range valKeys { missedBlockArray := valMissedMap[key] consAddr, err := sdk.ConsAddressFromBech32(key) - ctx.Logger().Info(fmt.Sprintf("Writing missed heights for validator: %s\n", consAddr.String())) if err != nil { return err } + ctx.Logger().Info(fmt.Sprintf("Writing missed heights for validator: %s\n", consAddr.String())) m.keeper.SetValidatorMissedBlocks(ctx, consAddr, missedBlockArray) } ctx.Logger().Info("Done migrating") diff --git a/sei-cosmos/x/slashing/keeper/migrations_test.go b/sei-cosmos/x/slashing/keeper/migrations_test.go index 7de9027c70..b57beb5d0d 100644 --- a/sei-cosmos/x/slashing/keeper/migrations_test.go +++ b/sei-cosmos/x/slashing/keeper/migrations_test.go @@ -4,13 +4,13 @@ import ( "encoding/binary" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" gogotypes "github.com/gogo/protobuf/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" ) diff --git a/sei-cosmos/x/slashing/keeper/msg_server.go b/sei-cosmos/x/slashing/keeper/msg_server.go index 90a2558384..d873cc21cc 100644 --- a/sei-cosmos/x/slashing/keeper/msg_server.go +++ b/sei-cosmos/x/slashing/keeper/msg_server.go @@ -3,8 +3,8 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) type msgServer struct { diff --git a/sei-cosmos/x/slashing/keeper/params.go b/sei-cosmos/x/slashing/keeper/params.go index 8ece97a687..1cf6e24030 100644 --- a/sei-cosmos/x/slashing/keeper/params.go +++ b/sei-cosmos/x/slashing/keeper/params.go @@ -3,8 +3,8 @@ package keeper import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) // SignedBlocksWindow - sliding window for downtime slashing diff --git a/sei-cosmos/x/slashing/keeper/querier.go b/sei-cosmos/x/slashing/keeper/querier.go index a2da1d4ce6..2886818952 100644 --- a/sei-cosmos/x/slashing/keeper/querier.go +++ b/sei-cosmos/x/slashing/keeper/querier.go @@ -3,11 +3,11 @@ package keeper import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) // NewQuerier creates a new querier for slashing clients. @@ -43,7 +43,7 @@ func queryParams(ctx sdk.Context, k Keeper, legacyQuerierCdc *codec.LegacyAmino) func querySigningInfo(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QuerySigningInfoRequest - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -64,7 +64,7 @@ func querySigningInfo(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQu func querySigningInfos(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QuerySigningInfosParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } diff --git a/sei-cosmos/x/slashing/keeper/querier_test.go b/sei-cosmos/x/slashing/keeper/querier_test.go index 47fd49c4d4..f0b94f206e 100644 --- a/sei-cosmos/x/slashing/keeper/querier_test.go +++ b/sei-cosmos/x/slashing/keeper/querier_test.go @@ -8,11 +8,11 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/testslashing" - "github.com/cosmos/cosmos-sdk/x/slashing/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/testslashing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) func TestNewQuerier(t *testing.T) { @@ -50,7 +50,7 @@ func TestQueryParams(t *testing.T) { res, err := querier(ctx, []string{types.QueryParameters}, query) require.NoError(t, err) - err = cdc.UnmarshalJSON(res, ¶ms) + err = cdc.UnmarshalAsJSON(res, ¶ms) require.NoError(t, err) require.Equal(t, app.SlashingKeeper.GetParams(ctx), params) } diff --git a/sei-cosmos/x/slashing/keeper/signing_info.go b/sei-cosmos/x/slashing/keeper/signing_info.go index 1fa5abc158..81e7c5617e 100644 --- a/sei-cosmos/x/slashing/keeper/signing_info.go +++ b/sei-cosmos/x/slashing/keeper/signing_info.go @@ -3,8 +3,8 @@ package keeper import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) const UINT_64_NUM_BITS = 64 @@ -43,7 +43,7 @@ func (k Keeper) IterateValidatorSigningInfos(ctx sdk.Context, store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.ValidatorSigningInfoKeyPrefix) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { address := types.ValidatorSigningInfoAddress(iter.Key()) var info types.ValidatorSigningInfo diff --git a/sei-cosmos/x/slashing/keeper/signing_info_test.go b/sei-cosmos/x/slashing/keeper/signing_info_test.go index 8517cf4f8f..5796cd2f59 100644 --- a/sei-cosmos/x/slashing/keeper/signing_info_test.go +++ b/sei-cosmos/x/slashing/keeper/signing_info_test.go @@ -8,9 +8,9 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) func TestGetSetValidatorSigningInfo(t *testing.T) { diff --git a/sei-cosmos/x/slashing/keeper/unjail.go b/sei-cosmos/x/slashing/keeper/unjail.go index 23a9121e54..0d57e540f3 100644 --- a/sei-cosmos/x/slashing/keeper/unjail.go +++ b/sei-cosmos/x/slashing/keeper/unjail.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) // Unjail calls the staking Unjail function to unjail a validator if the diff --git a/sei-cosmos/x/slashing/module.go b/sei-cosmos/x/slashing/module.go index 8fe4afad8e..4184c4b1b0 100644 --- a/sei-cosmos/x/slashing/module.go +++ b/sei-cosmos/x/slashing/module.go @@ -13,17 +13,17 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/client/cli" - "github.com/cosmos/cosmos-sdk/x/slashing/client/rest" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) var ( @@ -63,7 +63,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the slashing module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var data types.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } @@ -87,7 +87,7 @@ func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Rout // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the slashig module. func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { - types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) + _ = types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) } // GetTxCmd returns the root tx command for the slashing module. @@ -150,9 +150,9 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { types.RegisterQueryServer(cfg.QueryServer(), am.keeper) m := keeper.NewMigrator(am.keeper) - cfg.RegisterMigration(types.ModuleName, 1, m.Migrate1to2) - cfg.RegisterMigration(types.ModuleName, 2, m.Migrate2to3) - cfg.RegisterMigration(types.ModuleName, 3, m.Migrate3to4) + _ = cfg.RegisterMigration(types.ModuleName, 1, m.Migrate1to2) + _ = cfg.RegisterMigration(types.ModuleName, 2, m.Migrate2to3) + _ = cfg.RegisterMigration(types.ModuleName, 3, m.Migrate3to4) } // InitGenesis performs genesis initialization for the slashing module. It returns diff --git a/sei-cosmos/x/slashing/simulation/decoder.go b/sei-cosmos/x/slashing/simulation/decoder.go index 5f3eaa6d60..5ca3cd9ac3 100644 --- a/sei-cosmos/x/slashing/simulation/decoder.go +++ b/sei-cosmos/x/slashing/simulation/decoder.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/sei-cosmos/x/slashing/simulation/genesis.go b/sei-cosmos/x/slashing/simulation/genesis.go index 8dc1d79dbb..ec30c2da71 100644 --- a/sei-cosmos/x/slashing/simulation/genesis.go +++ b/sei-cosmos/x/slashing/simulation/genesis.go @@ -8,10 +8,10 @@ import ( "math/rand" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) // Simulation parameter constants diff --git a/sei-cosmos/x/slashing/simulation/operations.go b/sei-cosmos/x/slashing/simulation/operations.go index a42197463f..68e9aa79c9 100644 --- a/sei-cosmos/x/slashing/simulation/operations.go +++ b/sei-cosmos/x/slashing/simulation/operations.go @@ -4,20 +4,20 @@ import ( "errors" "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" seiappparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" ) // Simulation operation weights constants const ( - OpWeightMsgUnjail = "op_weight_msg_unjail" + OpWeightMsgUnjail = "op_weight_msg_unjail" //nolint:gosec ) // WeightedOperations returns all the operations from the module with their respective weights diff --git a/sei-cosmos/x/slashing/simulation/params.go b/sei-cosmos/x/slashing/simulation/params.go index e7c8fcf491..b589cc88e9 100644 --- a/sei-cosmos/x/slashing/simulation/params.go +++ b/sei-cosmos/x/slashing/simulation/params.go @@ -6,9 +6,9 @@ import ( "fmt" "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" ) const ( diff --git a/sei-cosmos/x/slashing/testslashing/params.go b/sei-cosmos/x/slashing/testslashing/params.go index 6aad42465c..dce8ab9b80 100644 --- a/sei-cosmos/x/slashing/testslashing/params.go +++ b/sei-cosmos/x/slashing/testslashing/params.go @@ -1,8 +1,8 @@ package testslashing import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/slashing/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" abcitypes "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" ) diff --git a/sei-cosmos/x/slashing/types/codec.go b/sei-cosmos/x/slashing/types/codec.go index bc89862f1b..f5680e4136 100644 --- a/sei-cosmos/x/slashing/types/codec.go +++ b/sei-cosmos/x/slashing/types/codec.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" ) // RegisterLegacyAminoCodec registers concrete types on LegacyAmino codec diff --git a/sei-cosmos/x/slashing/types/errors.go b/sei-cosmos/x/slashing/types/errors.go index daff6ecc04..efbc1b0d9b 100644 --- a/sei-cosmos/x/slashing/types/errors.go +++ b/sei-cosmos/x/slashing/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/slashing module sentinel errors diff --git a/sei-cosmos/x/slashing/types/expected_keepers.go b/sei-cosmos/x/slashing/types/expected_keepers.go index 9710ad1786..fe1448f259 100644 --- a/sei-cosmos/x/slashing/types/expected_keepers.go +++ b/sei-cosmos/x/slashing/types/expected_keepers.go @@ -3,10 +3,10 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - auth "github.com/cosmos/cosmos-sdk/x/auth/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + auth "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // AccountKeeper expected account keeper diff --git a/sei-cosmos/x/slashing/types/genesis.go b/sei-cosmos/x/slashing/types/genesis.go index 628b7cfe94..891e3e95d7 100644 --- a/sei-cosmos/x/slashing/types/genesis.go +++ b/sei-cosmos/x/slashing/types/genesis.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // NewGenesisState creates a new GenesisState object diff --git a/sei-cosmos/x/slashing/types/genesis.pb.go b/sei-cosmos/x/slashing/types/genesis.pb.go index 85dd22f499..b7c4aede1b 100644 --- a/sei-cosmos/x/slashing/types/genesis.pb.go +++ b/sei-cosmos/x/slashing/types/genesis.pb.go @@ -457,40 +457,41 @@ func init() { } var fileDescriptor_1923b9188b635394 = []byte{ - // 524 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x95, 0xc1, 0x6a, 0x13, 0x41, - 0x18, 0xc7, 0x33, 0x1b, 0x8d, 0x3a, 0x49, 0x2f, 0x4b, 0x5a, 0x97, 0xa2, 0x9b, 0xb0, 0x58, 0xe9, - 0x25, 0xbb, 0x34, 0xf5, 0xa4, 0x08, 0x1a, 0x90, 0x2a, 0x28, 0xc8, 0x16, 0x7a, 0xf0, 0x12, 0x26, - 0xd9, 0xe9, 0x64, 0x68, 0x76, 0x27, 0xee, 0x37, 0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x62, 0x97, 0x57, 0x67, 0xd9, 0x8e, 0xa6, 0x72, 0x73, 0x2d, 0xcc, 0x13, - 0x5c, 0x4e, 0x59, 0xcd, 0x2a, 0xbe, 0xc9, 0xa3, 0x80, 0x9e, 0xa8, 0x7e, 0x8a, 0xbe, 0xbe, 0x98, - 0x1b, 0xb8, 0xa4, 0x4d, 0x0a, 0xe8, 0x6d, 0x3f, 0xb9, 0xb5, 0xf6, 0x4e, 0xc7, 0x36, 0x3a, 0x1b, - 0xdb, 0xe8, 0xf7, 0xd8, 0x46, 0x9f, 0x26, 0x76, 0xe1, 0x6c, 0x62, 0x17, 0x7e, 0x4e, 0xec, 0xc2, - 0xbb, 0x06, 0xe3, 0xb2, 0x77, 0xdc, 0x71, 0xbb, 0x22, 0xf4, 0x92, 0xd7, 0x48, 0xff, 0x34, 0x20, - 0x38, 0xf2, 0x4e, 0xe6, 0x4f, 0x93, 0x1c, 0x0d, 0x28, 0x74, 0x4a, 0xea, 0xe9, 0xd9, 0xfd, 0x1b, - 0x00, 0x00, 0xff, 0xff, 0x9f, 0x06, 0xf8, 0xd0, 0xfa, 0x06, 0x00, 0x00, + // 531 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x95, 0x41, 0x6b, 0x13, 0x41, + 0x14, 0xc7, 0x33, 0x89, 0x46, 0x9d, 0xa4, 0x97, 0x25, 0xad, 0x4b, 0xd1, 0x4d, 0x58, 0xac, 0xf4, + 0xd2, 0x5d, 0x9a, 0x7a, 0x52, 0x0a, 0x1a, 0x10, 0x15, 0x14, 0x64, 0x0b, 0x15, 0xbc, 0x84, 0xc9, + 0xee, 0x74, 0x32, 0xb8, 0x3b, 0x13, 0xf7, 0x6d, 0x43, 0xf3, 0x0d, 0xc4, 0x93, 0x67, 0xc1, 0x8f, + 0xe0, 0x45, 0xfc, 0x10, 0x3d, 0xf6, 0x22, 0x88, 0x87, 0x22, 0xc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, 0x80, 0x1e, 0xa9, 0x7e, 0x2a, 0x9e, 0x0e, 0x8c, + 0x35, 0x5c, 0xd5, 0x49, 0x0a, 0xe8, 0x4d, 0x2f, 0x8d, 0x3a, 0x6f, 0x8e, 0xc7, 0x16, 0x3a, 0x19, + 0x5b, 0xe8, 0xf7, 0xd8, 0x42, 0x9f, 0x26, 0x56, 0xe9, 0x64, 0x62, 0x95, 0x7e, 0x4e, 0xac, 0xd2, + 0xdb, 0x5d, 0xc6, 0x93, 0xfe, 0x61, 0xcf, 0xf1, 0x65, 0xe4, 0x02, 0xe5, 0x5b, 0xea, 0xb4, 0xf8, + 0x32, 0x54, 0x81, 0xdf, 0x27, 0x5c, 0xe8, 0x97, 0x3e, 0x54, 0x47, 0xf3, 0x53, 0x95, 0x8c, 0x06, + 0x14, 0x7a, 0x55, 0xa5, 0xdf, 0xf9, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x35, 0x32, 0x10, 0x03, 0x0a, + 0x07, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/slashing/types/keys.go b/sei-cosmos/x/slashing/types/keys.go index 09562b07ed..c927786540 100644 --- a/sei-cosmos/x/slashing/types/keys.go +++ b/sei-cosmos/x/slashing/types/keys.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/types/kv" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) const ( diff --git a/sei-cosmos/x/slashing/types/msg.go b/sei-cosmos/x/slashing/types/msg.go index 64948d8f8d..05c6a89698 100644 --- a/sei-cosmos/x/slashing/types/msg.go +++ b/sei-cosmos/x/slashing/types/msg.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // slashing message types @@ -13,8 +13,6 @@ const ( var _ sdk.Msg = &MsgUnjail{} // NewMsgUnjail creates a new MsgUnjail instance -// -//nolint:interfacer func NewMsgUnjail(validatorAddr sdk.ValAddress) *MsgUnjail { return &MsgUnjail{ ValidatorAddr: validatorAddr.String(), diff --git a/sei-cosmos/x/slashing/types/msg_test.go b/sei-cosmos/x/slashing/types/msg_test.go index ce24fc0a68..c0e7b03a0e 100644 --- a/sei-cosmos/x/slashing/types/msg_test.go +++ b/sei-cosmos/x/slashing/types/msg_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestMsgUnjailGetSignBytes(t *testing.T) { diff --git a/sei-cosmos/x/slashing/types/params.go b/sei-cosmos/x/slashing/types/params.go index 8c7752a96c..67d3adeb2f 100644 --- a/sei-cosmos/x/slashing/types/params.go +++ b/sei-cosmos/x/slashing/types/params.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // Default parameter namespace diff --git a/sei-cosmos/x/slashing/types/query.pb.go b/sei-cosmos/x/slashing/types/query.pb.go index 7db1301c37..28fc3426c3 100644 --- a/sei-cosmos/x/slashing/types/query.pb.go +++ b/sei-cosmos/x/slashing/types/query.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -321,40 +321,41 @@ func init() { } var fileDescriptor_791b11d41a861ed0 = []byte{ - // 527 bytes of a gzipped FileDescriptorProto + // 534 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x41, 0x6b, 0x13, 0x41, 0x14, 0xc7, 0x33, 0x6d, 0x0d, 0x38, 0x29, 0x22, 0x63, 0xa1, 0x35, 0xc8, 0xc6, 0xae, 0x90, 0x16, - 0x35, 0x3b, 0x26, 0x22, 0x5e, 0xec, 0xc1, 0x1e, 0x0c, 0xde, 0x34, 0x8a, 0x07, 0x41, 0xc2, 0x6c, - 0x32, 0x9d, 0x0e, 0x6e, 0x66, 0xb6, 0xfb, 0x36, 0xc1, 0x20, 0x5e, 0x3c, 0x7b, 0x10, 0xfc, 0x0c, - 0x1e, 0x3d, 0xf8, 0x2d, 0x7a, 0x2c, 0x78, 0xf1, 0x24, 0x92, 0xf8, 0x09, 0xfc, 0x04, 0x92, 0x99, - 0x49, 0xb2, 0x25, 0xae, 0xa6, 0x3d, 0x65, 0x79, 0xfb, 0xfe, 0xff, 0xff, 0xef, 0xcd, 0xbc, 0x2c, - 0xbe, 0xd1, 0xd1, 0xd0, 0xd3, 0x40, 0x21, 0x62, 0x70, 0x28, 0x95, 0xa0, 0x83, 0x7a, 0xc8, 0x53, - 0x56, 0xa7, 0x47, 0x7d, 0x9e, 0x0c, 0x83, 0x38, 0xd1, 0xa9, 0x26, 0x9b, 0xb6, 0x29, 0x98, 0x36, - 0x05, 0xae, 0xa9, 0x7c, 0xd3, 0xa9, 0x43, 0x06, 0xdc, 0x2a, 0x66, 0xfa, 0x98, 0x09, 0xa9, 0x58, - 0x2a, 0xb5, 0xb2, 0x26, 0xe5, 0x6a, 0x5e, 0xd2, 0xcc, 0xd5, 0xf6, 0x6d, 0x08, 0x2d, 0xb4, 0x79, - 0xa4, 0x93, 0x27, 0x57, 0xbd, 0x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e, 0x09, 0x72, 0xda, 0x0b, 0xac, 0x70, 0x7f, 0xed, + 0xf8, 0x47, 0xa5, 0xd0, 0x74, 0x22, 0xff, 0x01, 0xde, 0x34, 0x55, 0x9f, 0x49, 0xa1, 0xa4, 0x12, + 0x8f, 0xd5, 0x21, 0x38, 0x43, 0xb2, 0x8d, 0xd7, 0x43, 0x50, 0xba, 0xc5, 0x3a, 0x9d, 0x84, 0x6b, + 0x5b, 0xff, 0x62, 0xb3, 0x34, 0x89, 0x3d, 0xb4, 0x21, 0x7f, 0x88, 0xb7, 0x16, 0xd5, 0x0e, 0xec, + 0x35, 0xbe, 0x3c, 0x60, 0x51, 0x4b, 0xdb, 0xab, 0x96, 0x54, 0x87, 0xe0, 0x10, 0xf7, 0x72, 0x11, + 0x5f, 0xb0, 0x48, 0x76, 0x58, 0x0a, 0x49, 0xa6, 0xa0, 0x03, 0xbe, 0x34, 0x60, 0x51, 0x26, 0xea, + 0xb7, 0x17, 0xad, 0xa7, 0x4f, 0x45, 0x1e, 0x61, 0x3c, 0x1f, 0x98, 0x33, 0xad, 0x4e, 0x4d, 0x27, + 0xd3, 0x0d, 0xec, 0x3e, 0xcc, 0x5f, 0x46, 0x70, 0xa7, 0x6d, 0x66, 0x94, 0xfe, 0x17, 0x84, 0xaf, + 0xfe, 0xc5, 0xc4, 0x35, 0x78, 0x80, 0xd7, 0x5c, 0x53, 0xab, 0xe7, 0x6d, 0xca, 0x14, 0x20, 0x07, + 0xa7, 0x70, 0x57, 0x0c, 0xee, 0xce, 0x7f, 0x71, 0x2d, 0x45, 0x96, 0xb7, 0xfe, 0x7b, 0x15, 0x5f, + 0x30, 0xbc, 0xe4, 0x03, 0xc2, 0x45, 0x3b, 0x6f, 0x72, 0x2b, 0x17, 0x6c, 0x71, 0xc9, 0xca, 0xb7, + 0x97, 0x4b, 0xb6, 0xde, 0xfe, 0xce, 0xfb, 0x6f, 0xbf, 0x3e, 0xad, 0x6c, 0x93, 0x0a, 0xcd, 0xfb, + 0x37, 0xd8, 0x2d, 0x23, 0x5f, 0x11, 0x2e, 0x65, 0xba, 0x27, 0x77, 0xfe, 0x6d, 0xb3, 0xb8, 0x8c, + 0xe5, 0xda, 0x19, 0x14, 0x8e, 0xae, 0x61, 0xe8, 0xee, 0x93, 0x7b, 0xb9, 0x74, 0xd9, 0xdd, 0xd4, + 0xf4, 0x6d, 0x76, 0xdb, 0xdf, 0x91, 0xcf, 0x08, 0xaf, 0x67, 0xe7, 0x4e, 0x96, 0x47, 0x98, 0x3d, + 0x67, 0xfd, 0x2c, 0x12, 0x87, 0x1d, 0x18, 0xec, 0x5d, 0x52, 0x5d, 0x0e, 0x7b, 0xff, 0xe5, 0xf1, + 0xc8, 0x43, 0x27, 0x23, 0x0f, 0xfd, 0x1c, 0x79, 0xe8, 0xe3, 0xd8, 0x2b, 0x9c, 0x8c, 0xbd, 0xc2, + 0xf7, 0xb1, 0x57, 0x78, 0xd5, 0x10, 0x32, 0xed, 0xf6, 0xdb, 0x41, 0x08, 0x3d, 0xaa, 0xb9, 0xdc, + 0x33, 0x5f, 0x97, 0x10, 0x22, 0xf3, 0x23, 0xec, 0x32, 0xa9, 0xec, 0xc9, 0xda, 0xbc, 0x99, 0x1b, + 0xa5, 0xc3, 0x98, 0xeb, 0x76, 0xd1, 0xe4, 0xdf, 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0x8c, 0xb0, + 0x00, 0xdc, 0x55, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/slashing/types/signing_info.go b/sei-cosmos/x/slashing/types/signing_info.go index b801752fdf..fc7c9af3f0 100644 --- a/sei-cosmos/x/slashing/types/signing_info.go +++ b/sei-cosmos/x/slashing/types/signing_info.go @@ -4,13 +4,11 @@ import ( "fmt" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // NewValidatorSigningInfo creates a new ValidatorSigningInfo instance -// -//nolint:interfacer func NewValidatorSigningInfo( condAddr sdk.ConsAddress, startHeight, indexOffset int64, jailedUntil time.Time, tombstoned bool, missedBlocksCounter int64, diff --git a/sei-cosmos/x/slashing/types/slashing.pb.go b/sei-cosmos/x/slashing/types/slashing.pb.go index 8f3a0f52f8..6be07aebb3 100644 --- a/sei-cosmos/x/slashing/types/slashing.pb.go +++ b/sei-cosmos/x/slashing/types/slashing.pb.go @@ -5,11 +5,11 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/gogo/protobuf/types" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -329,11 +329,11 @@ func (m *ValidatorMissedBlockArray) GetMissedBlocks() []uint64 { // Params represents the parameters used for by the slashing module. type Params struct { - SignedBlocksWindow int64 `protobuf:"varint,1,opt,name=signed_blocks_window,json=signedBlocksWindow,proto3" json:"signed_blocks_window,omitempty" yaml:"signed_blocks_window"` - MinSignedPerWindow github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=min_signed_per_window,json=minSignedPerWindow,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_signed_per_window" yaml:"min_signed_per_window"` - DowntimeJailDuration time.Duration `protobuf:"bytes,3,opt,name=downtime_jail_duration,json=downtimeJailDuration,proto3,stdduration" json:"downtime_jail_duration" yaml:"downtime_jail_duration"` - SlashFractionDoubleSign github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=slash_fraction_double_sign,json=slashFractionDoubleSign,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_double_sign" yaml:"slash_fraction_double_sign"` - SlashFractionDowntime github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=slash_fraction_downtime,json=slashFractionDowntime,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_downtime" yaml:"slash_fraction_downtime"` + SignedBlocksWindow int64 `protobuf:"varint,1,opt,name=signed_blocks_window,json=signedBlocksWindow,proto3" json:"signed_blocks_window,omitempty" yaml:"signed_blocks_window"` + MinSignedPerWindow github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=min_signed_per_window,json=minSignedPerWindow,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"min_signed_per_window" yaml:"min_signed_per_window"` + DowntimeJailDuration time.Duration `protobuf:"bytes,3,opt,name=downtime_jail_duration,json=downtimeJailDuration,proto3,stdduration" json:"downtime_jail_duration" yaml:"downtime_jail_duration"` + SlashFractionDoubleSign github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,4,opt,name=slash_fraction_double_sign,json=slashFractionDoubleSign,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"slash_fraction_double_sign" yaml:"slash_fraction_double_sign"` + SlashFractionDowntime github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,5,opt,name=slash_fraction_downtime,json=slashFractionDowntime,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"slash_fraction_downtime" yaml:"slash_fraction_downtime"` } func (m *Params) Reset() { *m = Params{} } @@ -396,56 +396,57 @@ func init() { } var fileDescriptor_1078e5d96a74cc52 = []byte{ - // 780 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xbf, 0x4f, 0x23, 0x47, - 0x18, 0xf5, 0xb0, 0x86, 0x90, 0xb1, 0x49, 0xb1, 0x98, 0x78, 0x71, 0x92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, 0x4f, 0x7e, 0x57, 0xa5, 0x93, 0xe6, 0x82, 0x8c, 0xef, 0xbb, 0x77, 0x01, - 0x00, 0x00, 0xff, 0xff, 0xc9, 0x25, 0x35, 0xca, 0x77, 0x07, 0x00, 0x00, + // 790 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x41, 0x4f, 0xe3, 0x46, + 0x14, 0xce, 0xe0, 0x40, 0xe9, 0x24, 0xf4, 0x60, 0x42, 0x63, 0xd2, 0xd6, 0x4e, 0xe7, 0xd0, 0xa6, + 0x52, 0x9b, 0x88, 0x56, 0xea, 0x21, 0x12, 0x52, 0xeb, 0xa2, 0xaa, 0xad, 0x8a, 0x4a, 0x0d, 0x6d, + 0xa5, 0x56, 0xc2, 0x9d, 0xd8, 0x13, 0x67, 0x76, 0x6d, 0x4f, 0xe4, 0x99, 0x2c, 0x84, 0x5f, 0xb0, + 0xda, 0x13, 0x7b, 0x58, 0x89, 0x23, 0xc7, 0xdd, 0x7f, 0xc2, 0x91, 0xe3, 0x6a, 0x57, 0xca, 0xae, + 0xc2, 0x65, 0xcf, 0xf9, 0x05, 0x2b, 0xcf, 0x38, 0x24, 0x40, 0x58, 0x2d, 0x42, 0xdc, 0xfc, 0xbe, + 0xf7, 0xcd, 0x7b, 0xdf, 0xbc, 0xf7, 0xe6, 0x19, 0x7e, 0xe1, 0x31, 0x1e, 0x31, 0xde, 0xe0, 0x21, + 0xe6, 0x1d, 0x1a, 0x07, 0x8d, 0x07, 0x6b, 0x2d, 0x22, 0xf0, 0xda, 0x39, 0x50, 0xef, 0x26, 0x4c, + 0x30, 0xbd, 0xac, 0x78, 0xf5, 0x73, 0x38, 0xe3, 0x55, 0x4a, 0x01, 0x0b, 0x98, 0xe4, 0x34, 0xd2, + 0x2f, 0x45, 0xaf, 0x98, 0x01, 0x63, 0x41, 0x48, 0x1a, 0xd2, 0x6a, 0xf5, 0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 0xfd, 0x4f, 0x58, 0xe2, 0x34, 0x88, 0x27, 0x85, + 0x56, 0x59, 0xa4, 0x22, 0xcd, 0xb6, 0x46, 0x03, 0xeb, 0x93, 0x6c, 0x1e, 0x67, 0xb0, 0x90, 0xa3, + 0x2b, 0x58, 0xc5, 0xfd, 0x47, 0x82, 0xfa, 0x63, 0x90, 0xf6, 0x38, 0x76, 0xb3, 0x13, 0x5d, 0x92, + 0x8c, 0x83, 0xa6, 0x17, 0x29, 0xda, 0xbb, 0xe9, 0x40, 0xbd, 0x18, 0x58, 0xdf, 0x07, 0x54, 0x74, + 0x7a, 0xad, 0xba, 0xc7, 0xa2, 0x06, 0x27, 0xf4, 0x1b, 0x39, 0x7b, 0x1e, 0x0b, 0xa5, 0xe1, 0x75, + 0x30, 0x8d, 0xd5, 0x97, 0xda, 0xa8, 0xa2, 0xdf, 0x25, 0xbc, 0xbe, 0x41, 0xbc, 0xe9, 0x09, 0x99, + 0x91, 0x04, 0x39, 0x7a, 0x44, 0xe3, 0x6d, 0x09, 0x6f, 0x91, 0x24, 0xd3, 0x74, 0x00, 0x3f, 0xf6, + 0xd9, 0x5e, 0x9c, 0xae, 0x45, 0x37, 0x1d, 0x57, 0x77, 0xbc, 0x40, 0xb3, 0x3d, 0xb4, 0x7a, 0xe5, + 0x01, 0x6c, 0x64, 0x04, 0xfb, 0xab, 0x6c, 0xfe, 0x3f, 0x53, 0x49, 0x67, 0x87, 0x41, 0x47, 0xe9, + 0x4b, 0x28, 0x8d, 0x9d, 0xbf, 0x61, 0x1a, 0x8e, 0x03, 0xe8, 0xc7, 0x00, 0x56, 0xe4, 0x9e, 0x77, + 0xdb, 0x09, 0xf6, 0x52, 0xc8, 0xf5, 0x59, 0xaf, 0x15, 0x12, 0x29, 0x5e, 0xbe, 0xc0, 0xa2, 0xed, + 0xdd, 0xba, 0x28, 0x9f, 0x67, 0x7d, 0xba, 0x36, 0x13, 0x72, 0xca, 0xd2, 0xf9, 0x73, 0xe6, 0xdb, + 0x90, 0xae, 0xb4, 0x52, 0xfa, 0x11, 0x80, 0xe5, 0x2b, 0x07, 0xd5, 0x55, 0xe4, 0x1b, 0x2e, 0xda, + 0xff, 0xdf, 0x5a, 0x9f, 0x79, 0x8d, 0x3e, 0x95, 0x06, 0x39, 0x2b, 0x97, 0xc4, 0x29, 0xdc, 0xfe, + 0xef, 0xe9, 0xd0, 0x04, 0x27, 0x43, 0x13, 0x9c, 0x0e, 0x4d, 0xf0, 0x7a, 0x68, 0x82, 0xc3, 0x33, + 0x33, 0x77, 0x7a, 0x66, 0xe6, 0x9e, 0x9f, 0x99, 0xb9, 0x7f, 0xd7, 0x6f, 0x24, 0x67, 0x7f, 0xf2, + 0x5f, 0x96, 0xca, 0x5a, 0x0b, 0x92, 0xff, 0xdd, 0xdb, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x79, + 0x12, 0x4e, 0xb7, 0x07, 0x00, 0x00, } func (this *ValidatorSigningInfoLegacyMissedHeights) Equal(that interface{}) bool { diff --git a/sei-cosmos/x/slashing/types/tx.pb.go b/sei-cosmos/x/slashing/types/tx.pb.go index ed6dbcd170..1d093f40a5 100644 --- a/sei-cosmos/x/slashing/types/tx.pb.go +++ b/sei-cosmos/x/slashing/types/tx.pb.go @@ -111,7 +111,7 @@ func init() { func init() { proto.RegisterFile("cosmos/slashing/v1beta1/tx.proto", fileDescriptor_3c5611c0c4a59d9d) } var fileDescriptor_3c5611c0c4a59d9d = []byte{ - // 269 bytes of a gzipped FileDescriptorProto + // 280 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x2f, 0xce, 0x49, 0x2c, 0xce, 0xc8, 0xcc, 0x4b, 0xd7, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x87, 0xa8, @@ -123,12 +123,13 @@ var fileDescriptor_3c5611c0c4a59d9d = []byte{ 0x05, 0xf1, 0xc2, 0x35, 0x39, 0xa6, 0xa4, 0x14, 0x59, 0x71, 0x74, 0x2c, 0x90, 0x67, 0x98, 0xb1, 0x40, 0x9e, 0x51, 0x49, 0x98, 0x4b, 0x10, 0x6e, 0x78, 0x50, 0x6a, 0x71, 0x41, 0x7e, 0x5e, 0x71, 0xaa, 0x51, 0x3c, 0x17, 0xb3, 0x6f, 0x71, 0xba, 0x50, 0x04, 0x17, 0x1b, 0xd4, 0x56, 0x25, 0x3d, - 0x1c, 0x4e, 0xd6, 0x83, 0x6b, 0x96, 0xd2, 0x22, 0xac, 0x06, 0x66, 0x81, 0x93, 0xf7, 0x8a, 0x47, + 0x1c, 0x4e, 0xd6, 0x83, 0x6b, 0x96, 0xd2, 0x22, 0xac, 0x06, 0x66, 0x81, 0x53, 0xf4, 0x8a, 0x47, 0x72, 0x8c, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, - 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xa5, 0x9b, 0x9e, 0x59, - 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0x0d, 0x4c, 0x08, 0xa5, 0x5b, 0x9c, 0x92, - 0xad, 0x5f, 0x81, 0x08, 0xd9, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0x30, 0x19, 0x03, - 0x02, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xa7, 0xdc, 0xcf, 0x79, 0x01, 0x00, 0x00, + 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x9b, 0x9e, 0x59, + 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x5f, 0x9c, 0x9a, 0xa9, 0x0b, 0x0e, 0x86, 0xe4, + 0xfc, 0x1c, 0x30, 0x27, 0x39, 0x23, 0x31, 0x33, 0x0f, 0xc2, 0x82, 0x84, 0x73, 0x05, 0x22, 0xa4, + 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xea, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, + 0xd9, 0x90, 0xe0, 0x1a, 0x89, 0x01, 0x00, 0x00, } func (this *MsgUnjail) Equal(that interface{}) bool { diff --git a/sei-cosmos/x/staking/abci.go b/sei-cosmos/x/staking/abci.go index 44cad8dfdf..6c15316f91 100644 --- a/sei-cosmos/x/staking/abci.go +++ b/sei-cosmos/x/staking/abci.go @@ -3,10 +3,10 @@ package staking import ( "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-cosmos/x/staking/app_test.go b/sei-cosmos/x/staking/app_test.go index 1525187eb2..88cab287be 100644 --- a/sei-cosmos/x/staking/app_test.go +++ b/sei-cosmos/x/staking/app_test.go @@ -8,11 +8,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func checkValidator(t *testing.T, app *seiapp.App, addr sdk.ValAddress, expFound bool) types.Validator { diff --git a/sei-cosmos/x/staking/bench_test.go b/sei-cosmos/x/staking/bench_test.go index 7705b6d311..78ad97f975 100644 --- a/sei-cosmos/x/staking/bench_test.go +++ b/sei-cosmos/x/staking/bench_test.go @@ -3,11 +3,11 @@ package staking_test import ( "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func BenchmarkValidateGenesis10Validators(b *testing.B) { diff --git a/sei-cosmos/x/staking/client/cli/flags.go b/sei-cosmos/x/staking/client/cli/flags.go index 2bdc93168b..2d31c8554a 100644 --- a/sei-cosmos/x/staking/client/cli/flags.go +++ b/sei-cosmos/x/staking/client/cli/flags.go @@ -3,7 +3,7 @@ package cli import ( flag "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) const ( diff --git a/sei-cosmos/x/staking/client/cli/query.go b/sei-cosmos/x/staking/client/cli/query.go index 0d78f3e95a..0ef3aa4004 100644 --- a/sei-cosmos/x/staking/client/cli/query.go +++ b/sei-cosmos/x/staking/client/cli/query.go @@ -8,15 +8,15 @@ import ( "github.com/gogo/protobuf/proto" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1" - "github.com/cosmos/cosmos-sdk/crypto/keys/sr25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256r1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/sr25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // GetQueryCmd returns the cli query commands for this module @@ -185,19 +185,27 @@ $ %s query staking hex-address A0F18FCE3DA235FE18845CDD50302A44A5CD9A3C switch { case strings.Contains(pk.TypeUrl, ed25519.GenPrivKey().PubKey().Type()): actualPk := &ed25519.PubKey{} - proto.Unmarshal(pk.Value, actualPk) + if err := proto.Unmarshal(pk.Value, actualPk); err != nil { + return fmt.Errorf("failed to unmarshal ed25519 public key: %w", err) + } valConsAddr = sdk.ConsAddress(actualPk.Address()) case strings.Contains(pk.TypeUrl, sr25519.GenPrivKey().PubKey().Type()): actualPk := &sr25519.PubKey{} - proto.Unmarshal(pk.Value, actualPk) + if err := proto.Unmarshal(pk.Value, actualPk); err != nil { + return fmt.Errorf("failed to unmarshal sr25519 public key: %w", err) + } valConsAddr = sdk.ConsAddress(actualPk.Address()) case strings.Contains(pk.TypeUrl, secp256k1.GenPrivKey().PubKey().Type()): actualPk := &secp256k1.PubKey{} - proto.Unmarshal(pk.Value, actualPk) + if err := proto.Unmarshal(pk.Value, actualPk); err != nil { + return fmt.Errorf("failed to unmarshal secp256k1 public key: %w", err) + } valConsAddr = sdk.ConsAddress(actualPk.Address()) case strings.Contains(pk.TypeUrl, scp256r1Type.PubKey().Type()): actualPk := &secp256r1.PubKey{} - proto.Unmarshal(pk.Value, actualPk) + if err := proto.Unmarshal(pk.Value, actualPk); err != nil { + return fmt.Errorf("failed to unmarshal secp256r1 public key: %w", err) + } valConsAddr = sdk.ConsAddress(actualPk.Address()) default: return fmt.Errorf("invalid key type found=%s", pk.TypeUrl) @@ -205,8 +213,7 @@ $ %s query staking hex-address A0F18FCE3DA235FE18845CDD50302A44A5CD9A3C if valConsAddr.Equals(hexAddr) { res := types.QueryValidatorResponse{Validator: val} - clientCtx.PrintProto(&res) - return nil + return clientCtx.PrintProto(&res) } } diff --git a/sei-cosmos/x/staking/client/cli/tx.go b/sei-cosmos/x/staking/client/cli/tx.go index 68587bac19..d590c3ceed 100644 --- a/sei-cosmos/x/staking/client/cli/tx.go +++ b/sei-cosmos/x/staking/client/cli/tx.go @@ -8,14 +8,14 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // default values diff --git a/sei-cosmos/x/staking/client/cli/tx_test.go b/sei-cosmos/x/staking/client/cli/tx_test.go index 493650e54d..d809ec2b06 100644 --- a/sei-cosmos/x/staking/client/cli/tx_test.go +++ b/sei-cosmos/x/staking/client/cli/tx_test.go @@ -6,8 +6,8 @@ import ( "github.com/spf13/pflag" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" ) func TestPrepareConfigForTxCreateValidator(t *testing.T) { diff --git a/sei-cosmos/x/staking/client/cli/utils.go b/sei-cosmos/x/staking/client/cli/utils.go index 241ac31405..a94efbf62a 100644 --- a/sei-cosmos/x/staking/client/cli/utils.go +++ b/sei-cosmos/x/staking/client/cli/utils.go @@ -3,8 +3,8 @@ package cli import ( "errors" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func buildCommissionRates(rateStr, maxRateStr, maxChangeRateStr string) (commission types.CommissionRates, err error) { diff --git a/sei-cosmos/x/staking/client/rest/grpc_query_test.go b/sei-cosmos/x/staking/client/rest/grpc_query_test.go index 63e073ebaa..bfe37862fc 100644 --- a/sei-cosmos/x/staking/client/rest/grpc_query_test.go +++ b/sei-cosmos/x/staking/client/rest/grpc_query_test.go @@ -10,18 +10,18 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/staking/client/cli" - stakingtestutil "github.com/cosmos/cosmos-sdk/x/staking/client/testutil" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/client/cli" + stakingtestutil "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/client/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) type IntegrationTestSuite struct { diff --git a/sei-cosmos/x/staking/client/rest/query.go b/sei-cosmos/x/staking/client/rest/query.go index b833766c2f..ed06534ebb 100644 --- a/sei-cosmos/x/staking/client/rest/query.go +++ b/sei-cosmos/x/staking/client/rest/query.go @@ -8,11 +8,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clientrest "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func registerQueryRoutes(clientCtx client.Context, r *mux.Router) { @@ -184,7 +184,7 @@ func delegatorTxsHandlerFn(clientCtx client.Context) http.HandlerFunc { txs = append(txs, foundTxs) } - res, err := clientCtx.LegacyAmino.MarshalJSON(txs) + res, err := clientCtx.LegacyAmino.MarshalAsJSON(txs) if rest.CheckInternalServerError(w, err) { return } @@ -239,7 +239,7 @@ func redelegationsHandlerFn(clientCtx client.Context) http.HandlerFunc { params.DstValidatorAddr = dstValidatorAddr } - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -302,7 +302,7 @@ func validatorsHandlerFn(clientCtx client.Context) http.HandlerFunc { params := types.NewQueryValidatorsParams(page, limit, status) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -348,7 +348,7 @@ func historicalInfoHandlerFn(clientCtx client.Context) http.HandlerFunc { params := types.QueryHistoricalInfoRequest{Height: height} - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckInternalServerError(w, err) { return } diff --git a/sei-cosmos/x/staking/client/rest/rest.go b/sei-cosmos/x/staking/client/rest/rest.go index 6f9b7e1e2a..ce1cc2368d 100644 --- a/sei-cosmos/x/staking/client/rest/rest.go +++ b/sei-cosmos/x/staking/client/rest/rest.go @@ -3,8 +3,8 @@ package rest import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" ) func RegisterHandlers(clientCtx client.Context, rtr *mux.Router) { diff --git a/sei-cosmos/x/staking/client/rest/rest_test.go b/sei-cosmos/x/staking/client/rest/rest_test.go index 78a46f82f1..4e72871edc 100644 --- a/sei-cosmos/x/staking/client/rest/rest_test.go +++ b/sei-cosmos/x/staking/client/rest/rest_test.go @@ -6,8 +6,8 @@ package rest_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func (s *IntegrationTestSuite) TestLegacyGetValidators() { diff --git a/sei-cosmos/x/staking/client/rest/tx.go b/sei-cosmos/x/staking/client/rest/tx.go index 26e859c41a..e5ef1b8d09 100644 --- a/sei-cosmos/x/staking/client/rest/tx.go +++ b/sei-cosmos/x/staking/client/rest/tx.go @@ -6,11 +6,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func registerTxHandlers(clientCtx client.Context, r *mux.Router) { diff --git a/sei-cosmos/x/staking/client/rest/utils.go b/sei-cosmos/x/staking/client/rest/utils.go index f8c6fe1132..cb95ac2b08 100644 --- a/sei-cosmos/x/staking/client/rest/utils.go +++ b/sei-cosmos/x/staking/client/rest/utils.go @@ -6,11 +6,11 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + authtx "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // contains checks if the a given query contains one of the tx types @@ -59,7 +59,7 @@ func queryBonds(clientCtx client.Context, endpoint string) http.HandlerFunc { params := types.QueryDelegatorValidatorRequest{DelegatorAddr: delegatorAddr.String(), ValidatorAddr: validatorAddr.String()} - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -91,7 +91,7 @@ func queryDelegator(clientCtx client.Context, endpoint string) http.HandlerFunc params := types.NewQueryDelegatorParams(delegatorAddr) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -128,7 +128,7 @@ func queryValidator(clientCtx client.Context, endpoint string) http.HandlerFunc params := types.NewQueryValidatorParams(validatorAddr, page, limit) - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } diff --git a/sei-cosmos/x/staking/client/testutil/cli_test.go b/sei-cosmos/x/staking/client/testutil/cli_test.go index f23e88847c..0ccd3e77ad 100644 --- a/sei-cosmos/x/staking/client/testutil/cli_test.go +++ b/sei-cosmos/x/staking/client/testutil/cli_test.go @@ -6,7 +6,7 @@ package testutil import ( "testing" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/sei-cosmos/x/staking/client/testutil/suite.go b/sei-cosmos/x/staking/client/testutil/suite.go index ee52aca96d..989f5bcc2a 100644 --- a/sei-cosmos/x/staking/client/testutil/suite.go +++ b/sei-cosmos/x/staking/client/testutil/suite.go @@ -12,17 +12,17 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/rpc/client/http" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - banktestutil "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - "github.com/cosmos/cosmos-sdk/x/staking/client/cli" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + banktestutil "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/client/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) type IntegrationTestSuite struct { @@ -200,7 +200,7 @@ func (s *IntegrationTestSuite) TestNewCreateValidatorCmd() { require.Error(err) } else { require.NoError(err, "test: %s\noutput: %s", tc.name, out.String()) - err = clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType) + err = clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType) require.NoError(err, out.String(), "test: %s, output\n:", tc.name, out.String()) txResp := tc.respType.(*sdk.TxResponse) @@ -254,7 +254,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryValidator() { s.Require().NotEqual("internal", err.Error()) } else { var result types.Validator - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &result)) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &result)) s.Require().Equal(val.ValAddress.String(), result.OperatorAddress) } }) @@ -295,7 +295,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryValidators() { s.Require().NoError(err) var result types.QueryValidatorsResponse - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &result)) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &result)) s.Require().Equal(tc.minValidatorCount, len(result.Validators)) }) } @@ -361,7 +361,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryDelegation() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) s.Require().Equal(tc.expected.String(), tc.respType.String()) } }) @@ -417,7 +417,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryDelegations() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) s.Require().Equal(tc.expected.String(), tc.respType.String()) } }) @@ -473,7 +473,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryValidatorDelegations() { s.Require().Error(err) } else { s.Require().NoError(err) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) s.Require().Equal(tc.expected.String(), tc.respType.String()) } }) @@ -518,7 +518,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryUnbondingDelegations() { s.Require().Error(err) } else { var ubds types.QueryDelegatorUnbondingDelegationsResponse - err = val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &ubds) + err = val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &ubds) s.Require().NoError(err) s.Require().Len(ubds.UnbondingResponses, 1) @@ -578,7 +578,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryUnbondingDelegation() { } else { var ubd types.UnbondingDelegation - err = val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &ubd) + err = val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &ubd) s.Require().NoError(err) s.Require().Equal(ubd.DelegatorAddress, val.Address.String()) s.Require().Equal(ubd.ValidatorAddress, val.ValAddress.String()) @@ -626,7 +626,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryValidatorUnbondingDelegations() { s.Require().Error(err) } else { var ubds types.QueryValidatorUnbondingDelegationsResponse - err = val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &ubds) + err = val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &ubds) s.Require().NoError(err) s.Require().Len(ubds.UnbondingResponses, 1) @@ -675,7 +675,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryRedelegations() { s.Require().Error(err) } else { var redelegations types.QueryRedelegationsResponse - err = val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &redelegations) + err = val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &redelegations) s.Require().NoError(err) @@ -752,7 +752,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryRedelegation() { } else { var redelegations types.QueryRedelegationsResponse - err = val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &redelegations) + err = val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &redelegations) s.Require().NoError(err) s.Require().Len(redelegations.RedelegationResponses, 1) @@ -803,7 +803,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryValidatorRedelegations() { s.Require().Error(err) } else { var redelegations types.QueryRedelegationsResponse - err = val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &redelegations) + err = val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &redelegations) s.Require().NoError(err) @@ -854,7 +854,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryHistoricalInfo() { } else { var historicalInfo types.HistoricalInfo - err = val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &historicalInfo) + err = val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &historicalInfo) s.Require().NoError(err) s.Require().NotNil(historicalInfo) } @@ -1041,7 +1041,7 @@ func (s *IntegrationTestSuite) TestNewEditValidatorCmd() { s.Require().Error(err) } else { s.Require().NoError(err, out.String()) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) @@ -1123,7 +1123,7 @@ func (s *IntegrationTestSuite) TestNewDelegateCmd() { s.Require().Error(err) } else { s.Require().NoError(err, out.String()) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) @@ -1209,7 +1209,7 @@ func (s *IntegrationTestSuite) TestNewRedelegateCmd() { s.Require().Error(err) } else { s.Require().NoError(err, out.String()) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) @@ -1276,7 +1276,7 @@ func (s *IntegrationTestSuite) TestNewUnbondCmd() { s.Require().Error(err) } else { s.Require().NoError(err, out.String()) - s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), tc.respType), out.String()) + s.Require().NoError(clientCtx.Codec.UnmarshalAsJSON(out.Bytes(), tc.respType), out.String()) txResp := tc.respType.(*sdk.TxResponse) s.Require().Equal(tc.expectedCode, txResp.Code, out.String()) @@ -1351,7 +1351,7 @@ func (s *IntegrationTestSuite) TestBlockResults() { break } - s.network.WaitForNextBlock() + require.NoError(s.network.WaitForNextBlock()) } } @@ -1380,7 +1380,7 @@ func (s *IntegrationTestSuite) TestEditValidatorMoniker() { ) require.NoError(err) var result types.Validator - require.NoError(val.ClientCtx.Codec.UnmarshalJSON(res.Bytes(), &result)) + require.NoError(val.ClientCtx.Codec.UnmarshalAsJSON(res.Bytes(), &result)) require.Equal(result.GetMoniker(), moniker) _, err = clitestutil.ExecTestCLICmd(val.ClientCtx, txCmd, []string{ @@ -1399,6 +1399,6 @@ func (s *IntegrationTestSuite) TestEditValidatorMoniker() { ) require.NoError(err) - require.NoError(val.ClientCtx.Codec.UnmarshalJSON(res.Bytes(), &result)) + require.NoError(val.ClientCtx.Codec.UnmarshalAsJSON(res.Bytes(), &result)) require.Equal(result.GetMoniker(), moniker) } diff --git a/sei-cosmos/x/staking/client/testutil/test_helpers.go b/sei-cosmos/x/staking/client/testutil/test_helpers.go index 3a31ea004f..d9c3a5d5eb 100644 --- a/sei-cosmos/x/staking/client/testutil/test_helpers.go +++ b/sei-cosmos/x/staking/client/testutil/test_helpers.go @@ -3,12 +3,12 @@ package testutil import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingcli "github.com/cosmos/cosmos-sdk/x/staking/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/client/cli" ) var commonArgs = []string{ @@ -21,15 +21,15 @@ var commonArgs = []string{ func MsgRedelegateExec(clientCtx client.Context, from, src, dst, amount fmt.Stringer, extraArgs ...string) (testutil.BufferWriter, error) { - args := []string{ + args := make([]string, 0, 5+len(extraArgs)+len(commonArgs)) + args = append(args, src.String(), dst.String(), amount.String(), fmt.Sprintf("--%s=%s", flags.FlagFrom, from.String()), fmt.Sprintf("--%s=%d", flags.FlagGas, 300000), - } + ) args = append(args, extraArgs...) - args = append(args, commonArgs...) return clitestutil.ExecTestCLICmd(clientCtx, stakingcli.NewRedelegateCmd(), args) } @@ -38,11 +38,12 @@ func MsgRedelegateExec(clientCtx client.Context, from, src, dst, amount fmt.Stri func MsgUnbondExec(clientCtx client.Context, from fmt.Stringer, valAddress, amount fmt.Stringer, extraArgs ...string) (testutil.BufferWriter, error) { - args := []string{ + args := make([]string, 0, 3+len(commonArgs)+len(extraArgs)) + args = append(args, valAddress.String(), amount.String(), fmt.Sprintf("--%s=%s", flags.FlagFrom, from.String()), - } + ) args = append(args, commonArgs...) args = append(args, extraArgs...) diff --git a/sei-cosmos/x/staking/common_test.go b/sei-cosmos/x/staking/common_test.go index 40c4479f25..26b278a852 100644 --- a/sei-cosmos/x/staking/common_test.go +++ b/sei-cosmos/x/staking/common_test.go @@ -6,13 +6,13 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func init() { diff --git a/sei-cosmos/x/staking/genesis.go b/sei-cosmos/x/staking/genesis.go index b59a5624fd..ad22d88289 100644 --- a/sei-cosmos/x/staking/genesis.go +++ b/sei-cosmos/x/staking/genesis.go @@ -7,11 +7,11 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/utils" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // InitGenesis sets the pool and parameters for the provided keeper. For each @@ -40,7 +40,7 @@ func InitGenesis( keeper.SetValidator(ctx, validator) // Manually set indices for the first time - keeper.SetValidatorByConsAddr(ctx, validator) + _ = keeper.SetValidatorByConsAddr(ctx, validator) keeper.SetValidatorByPowerIndex(ctx, validator) // Call the creation hook if not exported diff --git a/sei-cosmos/x/staking/genesis_test.go b/sei-cosmos/x/staking/genesis_test.go index 8aa7eb67f5..bc44ad6f92 100644 --- a/sei-cosmos/x/staking/genesis_test.go +++ b/sei-cosmos/x/staking/genesis_test.go @@ -10,14 +10,14 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func bootstrapGenesisTest(t *testing.T, numAddrs int) (*seiapp.App, sdk.Context, []sdk.AccAddress) { diff --git a/sei-cosmos/x/staking/handler.go b/sei-cosmos/x/staking/handler.go index 6d89c7a29c..eacf0d1713 100644 --- a/sei-cosmos/x/staking/handler.go +++ b/sei-cosmos/x/staking/handler.go @@ -1,10 +1,10 @@ package staking import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func NewHandler(k keeper.Keeper) sdk.Handler { diff --git a/sei-cosmos/x/staking/handler_test.go b/sei-cosmos/x/staking/handler_test.go index a9c8e5c11f..f14a4fc0ac 100644 --- a/sei-cosmos/x/staking/handler_test.go +++ b/sei-cosmos/x/staking/handler_test.go @@ -12,17 +12,17 @@ import ( "github.com/golang/protobuf/proto" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func bootstrapHandlerGenesisTest(t *testing.T, power int64, numAddrs int, accAmount sdk.Int) (*seiapp.App, sdk.Context, []sdk.AccAddress, []sdk.ValAddress) { diff --git a/sei-cosmos/x/staking/keeper/alias_functions.go b/sei-cosmos/x/staking/keeper/alias_functions.go index 36c2d23661..077ce77cd6 100644 --- a/sei-cosmos/x/staking/keeper/alias_functions.go +++ b/sei-cosmos/x/staking/keeper/alias_functions.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // Validator Set @@ -14,7 +14,7 @@ func (k Keeper) IterateValidators(ctx sdk.Context, fn func(index int64, validato store := ctx.KVStore(k.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.ValidatorsKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() i := int64(0) @@ -35,7 +35,7 @@ func (k Keeper) IterateBondedValidatorsByPower(ctx sdk.Context, fn func(index in maxValidators := k.MaxValidators(ctx) iterator := sdk.KVStoreReversePrefixIterator(store, types.ValidatorsByPowerIndexKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() i := int64(0) for ; iterator.Valid() && i < int64(maxValidators); iterator.Next() { @@ -55,7 +55,7 @@ func (k Keeper) IterateBondedValidatorsByPower(ctx sdk.Context, fn func(index in // iterate through the active validator set and perform the provided function func (k Keeper) IterateLastValidators(ctx sdk.Context, fn func(index int64, validator types.ValidatorI) (stop bool)) { iterator := k.LastValidatorsIterator(ctx) - defer iterator.Close() + defer func() { _ = iterator.Close() }() i := int64(0) @@ -119,7 +119,7 @@ func (k Keeper) IterateDelegations(ctx sdk.Context, delAddr sdk.AccAddress, delegatorPrefixKey := types.GetDelegationsKey(delAddr) iterator := sdk.KVStorePrefixIterator(store, delegatorPrefixKey) // smallest to largest - defer iterator.Close() + defer func() { _ = iterator.Close() }() for i := int64(0); iterator.Valid(); iterator.Next() { del := types.MustUnmarshalDelegation(k.cdc, iterator.Value()) @@ -138,7 +138,7 @@ func (k Keeper) GetAllSDKDelegations(ctx sdk.Context) (delegations []types.Deleg store := ctx.KVStore(k.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.DelegationKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { delegation := types.MustUnmarshalDelegation(k.cdc, iterator.Value()) diff --git a/sei-cosmos/x/staking/keeper/common_test.go b/sei-cosmos/x/staking/keeper/common_test.go index e0386693cf..fe17d7d4e6 100644 --- a/sei-cosmos/x/staking/keeper/common_test.go +++ b/sei-cosmos/x/staking/keeper/common_test.go @@ -6,11 +6,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var ( diff --git a/sei-cosmos/x/staking/keeper/delegation.go b/sei-cosmos/x/staking/keeper/delegation.go index 1181e57c6f..425926af6e 100644 --- a/sei-cosmos/x/staking/keeper/delegation.go +++ b/sei-cosmos/x/staking/keeper/delegation.go @@ -5,9 +5,9 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // GetDelegation returns a specific delegation. @@ -32,7 +32,7 @@ func (k Keeper) IterateAllDelegations(ctx sdk.Context, cb func(delegation types. store := ctx.KVStore(k.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.DelegationKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { delegation := types.MustUnmarshalDelegation(k.cdc, iterator.Value()) @@ -54,11 +54,11 @@ func (k Keeper) GetAllDelegations(ctx sdk.Context) (delegations []types.Delegati // GetValidatorDelegations returns all delegations to a specific validator. // Useful for querier. -func (k Keeper) GetValidatorDelegations(ctx sdk.Context, valAddr sdk.ValAddress) (delegations []types.Delegation) { //nolint:interfacer +func (k Keeper) GetValidatorDelegations(ctx sdk.Context, valAddr sdk.ValAddress) (delegations []types.Delegation) { store := ctx.KVStore(k.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.DelegationKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { delegation := types.MustUnmarshalDelegation(k.cdc, iterator.Value()) @@ -80,7 +80,7 @@ func (k Keeper) GetDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAddres delegatorPrefixKey := types.GetDelegationsKey(delegator) iterator := sdk.KVStorePrefixIterator(store, delegatorPrefixKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() i := 0 for ; iterator.Valid() && i < int(maxRetrieve); iterator.Next() { @@ -120,7 +120,7 @@ func (k Keeper) GetUnbondingDelegations(ctx sdk.Context, delegator sdk.AccAddres delegatorPrefixKey := types.GetUBDsKey(delegator) iterator := sdk.KVStorePrefixIterator(store, delegatorPrefixKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() i := 0 for ; iterator.Valid() && i < int(maxRetrieve); iterator.Next() { @@ -155,7 +155,7 @@ func (k Keeper) GetUnbondingDelegationsFromValidator(ctx sdk.Context, valAddr sd store := ctx.KVStore(k.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.GetUBDsByValIndexKey(valAddr)) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { key := types.GetUBDKeyFromValIndexKey(iterator.Key()) @@ -172,7 +172,7 @@ func (k Keeper) IterateUnbondingDelegations(ctx sdk.Context, fn func(index int64 store := ctx.KVStore(k.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.UnbondingDelegationKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for i := int64(0); iterator.Valid(); iterator.Next() { ubd := types.MustUnmarshalUBD(k.cdc, iterator.Value()) @@ -200,7 +200,7 @@ func (k Keeper) IterateDelegatorUnbondingDelegations(ctx sdk.Context, delegator store := ctx.KVStore(k.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.GetUBDsKey(delegator)) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { ubd := types.MustUnmarshalUBD(k.cdc, iterator.Value()) @@ -235,7 +235,7 @@ func (k Keeper) IterateDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAd store := ctx.KVStore(k.storeKey) delegatorPrefixKey := types.GetDelegationsKey(delegator) iterator := sdk.KVStorePrefixIterator(store, delegatorPrefixKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { delegation := types.MustUnmarshalDelegation(k.cdc, iterator.Value()) @@ -251,7 +251,7 @@ func (k Keeper) IterateDelegatorRedelegations(ctx sdk.Context, delegator sdk.Acc delegatorPrefixKey := types.GetREDsKey(delegator) iterator := sdk.KVStorePrefixIterator(store, delegatorPrefixKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { red := types.MustUnmarshalRED(k.cdc, iterator.Value()) @@ -376,7 +376,7 @@ func (k Keeper) DequeueAllMatureUBDQueue(ctx sdk.Context, currTime time.Time) (m // gets an iterator for all timeslices from time 0 until the current Blockheader time unbondingTimesliceIterator := k.UBDQueueIterator(ctx, ctx.BlockHeader().Time) - defer unbondingTimesliceIterator.Close() + defer func() { _ = unbondingTimesliceIterator.Close() }() for ; unbondingTimesliceIterator.Valid(); unbondingTimesliceIterator.Next() { timeslice := types.DVPairs{} @@ -401,7 +401,7 @@ func (k Keeper) GetRedelegations(ctx sdk.Context, delegator sdk.AccAddress, delegatorPrefixKey := types.GetREDsKey(delegator) iterator := sdk.KVStorePrefixIterator(store, delegatorPrefixKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() i := 0 for ; iterator.Valid() && i < int(maxRetrieve); iterator.Next() { @@ -436,7 +436,7 @@ func (k Keeper) GetRedelegationsFromSrcValidator(ctx sdk.Context, valAddr sdk.Va store := ctx.KVStore(k.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.GetREDsFromValSrcIndexKey(valAddr)) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { key := types.GetREDKeyFromValSrcIndexKey(iterator.Key()) @@ -456,7 +456,7 @@ func (k Keeper) HasReceivingRedelegation(ctx sdk.Context, prefix := types.GetREDsByDelToValDstIndexKey(delAddr, valDstAddr) iterator := sdk.KVStorePrefixIterator(store, prefix) - defer iterator.Close() + defer func() { _ = iterator.Close() }() return iterator.Valid() } @@ -520,7 +520,7 @@ func (k Keeper) IterateRedelegations(ctx sdk.Context, fn func(index int64, red t store := ctx.KVStore(k.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.RedelegationKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for i := int64(0); iterator.Valid(); iterator.Next() { red := types.MustUnmarshalRED(k.cdc, iterator.Value()) @@ -611,7 +611,7 @@ func (k Keeper) DequeueAllMatureRedelegationQueue(ctx sdk.Context, currTime time // gets an iterator for all timeslices from time 0 until the current Blockheader time redelegationTimesliceIterator := k.RedelegationQueueIterator(ctx, ctx.BlockHeader().Time) - defer redelegationTimesliceIterator.Close() + defer func() { _ = redelegationTimesliceIterator.Close() }() for ; redelegationTimesliceIterator.Valid(); redelegationTimesliceIterator.Next() { timeslice := types.DVVTriplets{} diff --git a/sei-cosmos/x/staking/keeper/delegation_test.go b/sei-cosmos/x/staking/keeper/delegation_test.go index c5cb1597c1..26ce57a0b0 100644 --- a/sei-cosmos/x/staking/keeper/delegation_test.go +++ b/sei-cosmos/x/staking/keeper/delegation_test.go @@ -7,13 +7,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // tests GetDelegation, GetDelegatorDelegations, SetDelegation, RemoveDelegation, GetDelegatorDelegations diff --git a/sei-cosmos/x/staking/keeper/grpc_query.go b/sei-cosmos/x/staking/keeper/grpc_query.go index 4abcf9c919..c3ba8f3d35 100644 --- a/sei-cosmos/x/staking/keeper/grpc_query.go +++ b/sei-cosmos/x/staking/keeper/grpc_query.go @@ -7,10 +7,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // Querier is used as Keeper will have duplicate methods if used directly, and gRPC names take precedence over keeper @@ -27,7 +27,7 @@ func (k Querier) Validators(c context.Context, req *types.QueryValidatorsRequest } // validate the provided status, return all the validators if the status is empty - if req.Status != "" && !(req.Status == types.Bonded.String() || req.Status == types.Unbonded.String() || req.Status == types.Unbonding.String()) { + if req.Status != "" && (req.Status != types.Bonded.String() && req.Status != types.Unbonded.String() && req.Status != types.Unbonding.String()) { return nil, status.Errorf(codes.InvalidArgument, "invalid validator status %s", req.Status) } diff --git a/sei-cosmos/x/staking/keeper/grpc_query_test.go b/sei-cosmos/x/staking/keeper/grpc_query_test.go index 211806c00a..4bbedef486 100644 --- a/sei-cosmos/x/staking/keeper/grpc_query_test.go +++ b/sei-cosmos/x/staking/keeper/grpc_query_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func (suite *KeeperTestSuite) TestGRPCQueryValidators() { diff --git a/sei-cosmos/x/staking/keeper/historical_info.go b/sei-cosmos/x/staking/keeper/historical_info.go index 243612d387..8838add9e1 100644 --- a/sei-cosmos/x/staking/keeper/historical_info.go +++ b/sei-cosmos/x/staking/keeper/historical_info.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // GetHistoricalInfo gets the historical info at a given height @@ -43,7 +43,7 @@ func (k Keeper) IterateHistoricalInfo(ctx sdk.Context, cb func(types.HistoricalI store := ctx.KVStore(k.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.HistoricalInfoKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { histInfo := types.MustUnmarshalHistoricalInfo(k.cdc, iterator.Value()) diff --git a/sei-cosmos/x/staking/keeper/historical_info_test.go b/sei-cosmos/x/staking/keeper/historical_info_test.go index 193aa0e253..5e3b3475f8 100644 --- a/sei-cosmos/x/staking/keeper/historical_info_test.go +++ b/sei-cosmos/x/staking/keeper/historical_info_test.go @@ -6,10 +6,10 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // IsValSetSorted reports whether valset is sorted. diff --git a/sei-cosmos/x/staking/keeper/hooks.go b/sei-cosmos/x/staking/keeper/hooks.go index b8f25908ba..791ce455eb 100644 --- a/sei-cosmos/x/staking/keeper/hooks.go +++ b/sei-cosmos/x/staking/keeper/hooks.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // Implements StakingHooks interface diff --git a/sei-cosmos/x/staking/keeper/keeper.go b/sei-cosmos/x/staking/keeper/keeper.go index f99274f647..806b8e3da3 100644 --- a/sei-cosmos/x/staking/keeper/keeper.go +++ b/sei-cosmos/x/staking/keeper/keeper.go @@ -5,10 +5,10 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // Implements ValidatorSet interface diff --git a/sei-cosmos/x/staking/keeper/keeper_test.go b/sei-cosmos/x/staking/keeper/keeper_test.go index 87b05a6be5..9b14148559 100644 --- a/sei-cosmos/x/staking/keeper/keeper_test.go +++ b/sei-cosmos/x/staking/keeper/keeper_test.go @@ -8,11 +8,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) type KeeperTestSuite struct { diff --git a/sei-cosmos/x/staking/keeper/migrations.go b/sei-cosmos/x/staking/keeper/migrations.go index c0558cb487..16802cf36a 100644 --- a/sei-cosmos/x/staking/keeper/migrations.go +++ b/sei-cosmos/x/staking/keeper/migrations.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Migrator is a struct for handling in-place store migrations. diff --git a/sei-cosmos/x/staking/keeper/msg_server.go b/sei-cosmos/x/staking/keeper/msg_server.go index 6c69db8b33..72de845384 100644 --- a/sei-cosmos/x/staking/keeper/msg_server.go +++ b/sei-cosmos/x/staking/keeper/msg_server.go @@ -6,12 +6,12 @@ import ( metrics "github.com/armon/go-metrics" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/utils" - "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) type msgServer struct { @@ -96,7 +96,10 @@ func (k msgServer) CreateValidator(goCtx context.Context, msg *types.MsgCreateVa validator.MinSelfDelegation = msg.MinSelfDelegation k.SetValidator(ctx, validator) - k.SetValidatorByConsAddr(ctx, validator) + + if err := k.SetValidatorByConsAddr(ctx, validator); err != nil { + return nil, err + } k.SetNewValidatorByPowerIndex(ctx, validator) // call the after-creation hook diff --git a/sei-cosmos/x/staking/keeper/params.go b/sei-cosmos/x/staking/keeper/params.go index 6d804317aa..ea4da63146 100644 --- a/sei-cosmos/x/staking/keeper/params.go +++ b/sei-cosmos/x/staking/keeper/params.go @@ -3,8 +3,8 @@ package keeper import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // UnbondingTime diff --git a/sei-cosmos/x/staking/keeper/pool.go b/sei-cosmos/x/staking/keeper/pool.go index c24c876323..2759aa1eba 100644 --- a/sei-cosmos/x/staking/keeper/pool.go +++ b/sei-cosmos/x/staking/keeper/pool.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // GetBondedPool returns the bonded tokens pool's module account diff --git a/sei-cosmos/x/staking/keeper/power_reduction.go b/sei-cosmos/x/staking/keeper/power_reduction.go index d979228b36..eb8d4c6725 100644 --- a/sei-cosmos/x/staking/keeper/power_reduction.go +++ b/sei-cosmos/x/staking/keeper/power_reduction.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // TokensToConsensusPower - convert input tokens to potential consensus-engine power diff --git a/sei-cosmos/x/staking/keeper/power_reduction_test.go b/sei-cosmos/x/staking/keeper/power_reduction_test.go index e18230d854..f4798e328f 100644 --- a/sei-cosmos/x/staking/keeper/power_reduction_test.go +++ b/sei-cosmos/x/staking/keeper/power_reduction_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (suite *KeeperTestSuite) TestTokensToConsensusPower() { diff --git a/sei-cosmos/x/staking/keeper/querier.go b/sei-cosmos/x/staking/keeper/querier.go index d1c4a9dd25..ab8461d619 100644 --- a/sei-cosmos/x/staking/keeper/querier.go +++ b/sei-cosmos/x/staking/keeper/querier.go @@ -6,11 +6,11 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // creates a querier for staking REST endpoints @@ -68,7 +68,7 @@ func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { func queryValidators(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryValidatorsParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -100,7 +100,7 @@ func queryValidators(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQue func queryValidator(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryValidatorParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -121,7 +121,7 @@ func queryValidator(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuer func queryValidatorDelegations(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryValidatorParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -155,7 +155,7 @@ func queryValidatorDelegations(ctx sdk.Context, req abci.RequestQuery, k Keeper, func queryValidatorUnbondingDelegations(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryValidatorParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -183,7 +183,7 @@ func queryValidatorUnbondingDelegations(ctx sdk.Context, req abci.RequestQuery, func queryDelegatorDelegations(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryDelegatorParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -210,7 +210,7 @@ func queryDelegatorDelegations(ctx sdk.Context, req abci.RequestQuery, k Keeper, func queryDelegatorUnbondingDelegations(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryDelegatorParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -233,7 +233,7 @@ func queryDelegatorValidators(ctx sdk.Context, req abci.RequestQuery, k Keeper, stakingParams := k.GetParams(ctx) - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -254,7 +254,7 @@ func queryDelegatorValidators(ctx sdk.Context, req abci.RequestQuery, k Keeper, func queryDelegatorValidator(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryDelegatorValidatorRequest - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -285,7 +285,7 @@ func queryDelegatorValidator(ctx sdk.Context, req abci.RequestQuery, k Keeper, l func queryDelegation(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryDelegatorValidatorRequest - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -321,7 +321,7 @@ func queryDelegation(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQue func queryUnbondingDelegation(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryDelegatorValidatorRequest - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -352,7 +352,7 @@ func queryUnbondingDelegation(ctx sdk.Context, req abci.RequestQuery, k Keeper, func queryRedelegations(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryRedelegationParams - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -393,7 +393,7 @@ func queryRedelegations(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacy func queryHistoricalInfo(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryHistoricalInfoRequest - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } diff --git a/sei-cosmos/x/staking/keeper/querier_test.go b/sei-cosmos/x/staking/keeper/querier_test.go index 5cade6d587..06893e897d 100644 --- a/sei-cosmos/x/staking/keeper/querier_test.go +++ b/sei-cosmos/x/staking/keeper/querier_test.go @@ -8,12 +8,12 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestNewQuerier(t *testing.T) { @@ -59,7 +59,7 @@ func TestNewQuerier(t *testing.T) { require.NoError(t, err) queryValParams := types.NewQueryValidatorParams(addrVal1, 0, 0) - bz, errRes := cdc.MarshalJSON(queryValParams) + bz, errRes := cdc.MarshalAsJSON(queryValParams) require.NoError(t, errRes) query.Path = "/custom/staking/validator" @@ -75,7 +75,7 @@ func TestNewQuerier(t *testing.T) { require.NoError(t, err) queryDelParams := types.NewQueryDelegatorParams(addrAcc2) - bz, errRes = cdc.MarshalJSON(queryDelParams) + bz, errRes = cdc.MarshalAsJSON(queryDelParams) require.NoError(t, errRes) query.Path = "/custom/staking/validator" @@ -90,7 +90,7 @@ func TestNewQuerier(t *testing.T) { _, err = querier(ctx, []string{"delegatorValidators"}, query) require.NoError(t, err) - bz, errRes = cdc.MarshalJSON(types.NewQueryRedelegationParams(nil, nil, nil)) + bz, errRes = cdc.MarshalAsJSON(types.NewQueryRedelegationParams(nil, nil, nil)) require.NoError(t, errRes) query.Data = bz @@ -98,7 +98,7 @@ func TestNewQuerier(t *testing.T) { require.NoError(t, err) queryHisParams := types.QueryHistoricalInfoRequest{Height: 5} - bz, errRes = cdc.MarshalJSON(queryHisParams) + bz, errRes = cdc.MarshalAsJSON(queryHisParams) require.NoError(t, errRes) query.Path = "/custom/staking/historicalInfo" @@ -119,7 +119,7 @@ func TestQueryParametersPool(t *testing.T) { require.NoError(t, err) var params types.Params - errRes := cdc.UnmarshalJSON(res, ¶ms) + errRes := cdc.UnmarshalAsJSON(res, ¶ms) require.NoError(t, errRes) require.Equal(t, app.StakingKeeper.GetParams(ctx), params) @@ -129,7 +129,7 @@ func TestQueryParametersPool(t *testing.T) { var pool types.Pool bondedPool := app.StakingKeeper.GetBondedPool(ctx) notBondedPool := app.StakingKeeper.GetNotBondedPool(ctx) - require.NoError(t, cdc.UnmarshalJSON(res, &pool)) + require.NoError(t, cdc.UnmarshalAsJSON(res, &pool)) require.Equal(t, app.BankKeeper.GetBalance(ctx, notBondedPool.GetAddress(), bondDenom).Amount, pool.NotBondedTokens) require.Equal(t, app.BankKeeper.GetBalance(ctx, bondedPool.GetAddress(), bondDenom).Amount, pool.BondedTokens) } @@ -162,7 +162,7 @@ func TestQueryValidators(t *testing.T) { for i, s := range status { queryValsParams := types.NewQueryValidatorsParams(1, int(params.MaxValidators), s.String()) - bz, err := cdc.MarshalJSON(queryValsParams) + bz, err := cdc.MarshalAsJSON(queryValsParams) require.NoError(t, err) req := abci.RequestQuery{ @@ -174,7 +174,7 @@ func TestQueryValidators(t *testing.T) { require.NoError(t, err) var validatorsResp []types.Validator - err = cdc.UnmarshalJSON(res, &validatorsResp) + err = cdc.UnmarshalAsJSON(res, &validatorsResp) require.NoError(t, err) require.Equal(t, 1, len(validatorsResp)) @@ -184,7 +184,7 @@ func TestQueryValidators(t *testing.T) { // Query each validator for _, validator := range validators { queryParams := types.NewQueryValidatorParams(validator.GetOperator(), 0, 0) - bz, err := cdc.MarshalJSON(queryParams) + bz, err := cdc.MarshalAsJSON(queryParams) require.NoError(t, err) query := abci.RequestQuery{ @@ -195,7 +195,7 @@ func TestQueryValidators(t *testing.T) { require.NoError(t, err) var queriedValidator types.Validator - err = cdc.UnmarshalJSON(res, &queriedValidator) + err = cdc.UnmarshalAsJSON(res, &queriedValidator) require.NoError(t, err) require.True(t, validator.Equal(&queriedValidator)) @@ -233,7 +233,7 @@ func TestQueryDelegation(t *testing.T) { // Query Delegator bonded validators queryParams := types.NewQueryDelegatorParams(addrAcc2) - bz, errRes := cdc.MarshalJSON(queryParams) + bz, errRes := cdc.MarshalAsJSON(queryParams) require.NoError(t, errRes) query := abci.RequestQuery{ @@ -247,7 +247,7 @@ func TestQueryDelegation(t *testing.T) { require.NoError(t, err) var validatorsResp types.Validators - errRes = cdc.UnmarshalJSON(res, &validatorsResp) + errRes = cdc.UnmarshalAsJSON(res, &validatorsResp) require.NoError(t, errRes) require.Equal(t, len(delValidators), len(validatorsResp)) @@ -261,7 +261,7 @@ func TestQueryDelegation(t *testing.T) { // Query bonded validator queryBondParams := types.QueryDelegatorValidatorRequest{DelegatorAddr: addrAcc2.String(), ValidatorAddr: addrVal1.String()} - bz, errRes = cdc.MarshalJSON(queryBondParams) + bz, errRes = cdc.MarshalAsJSON(queryBondParams) require.NoError(t, errRes) query = abci.RequestQuery{ @@ -273,7 +273,7 @@ func TestQueryDelegation(t *testing.T) { require.NoError(t, err) var validator types.Validator - errRes = cdc.UnmarshalJSON(res, &validator) + errRes = cdc.UnmarshalAsJSON(res, &validator) require.NoError(t, errRes) require.True(t, validator.Equal(&delValidators[0])) @@ -297,7 +297,7 @@ func TestQueryDelegation(t *testing.T) { require.NoError(t, err) var delegationRes types.DelegationResponse - errRes = cdc.UnmarshalJSON(res, &delegationRes) + errRes = cdc.UnmarshalAsJSON(res, &delegationRes) require.NoError(t, errRes) require.Equal(t, delegation.ValidatorAddress, delegationRes.Delegation.ValidatorAddress) @@ -314,7 +314,7 @@ func TestQueryDelegation(t *testing.T) { require.NoError(t, err) var delegatorDelegations types.DelegationResponses - errRes = cdc.UnmarshalJSON(res, &delegatorDelegations) + errRes = cdc.UnmarshalAsJSON(res, &delegatorDelegations) require.NoError(t, errRes) require.Len(t, delegatorDelegations, 1) require.Equal(t, delegation.ValidatorAddress, delegatorDelegations[0].Delegation.ValidatorAddress) @@ -328,7 +328,7 @@ func TestQueryDelegation(t *testing.T) { require.Error(t, err) // Query validator delegations - bz, errRes = cdc.MarshalJSON(types.NewQueryValidatorParams(addrVal1, 1, 100)) + bz, errRes = cdc.MarshalAsJSON(types.NewQueryValidatorParams(addrVal1, 1, 100)) require.NoError(t, errRes) query = abci.RequestQuery{ @@ -340,7 +340,7 @@ func TestQueryDelegation(t *testing.T) { require.NoError(t, err) var delegationsRes types.DelegationResponses - errRes = cdc.UnmarshalJSON(res, &delegationsRes) + errRes = cdc.UnmarshalAsJSON(res, &delegationsRes) require.NoError(t, errRes) require.Len(t, delegatorDelegations, 1) require.Equal(t, delegation.ValidatorAddress, delegationsRes[0].Delegation.ValidatorAddress) @@ -353,7 +353,7 @@ func TestQueryDelegation(t *testing.T) { require.NoError(t, err) queryBondParams = types.QueryDelegatorValidatorRequest{DelegatorAddr: addrAcc2.String(), ValidatorAddr: addrVal1.String()} - bz, errRes = cdc.MarshalJSON(queryBondParams) + bz, errRes = cdc.MarshalAsJSON(queryBondParams) require.NoError(t, errRes) query = abci.RequestQuery{ @@ -368,7 +368,7 @@ func TestQueryDelegation(t *testing.T) { require.NoError(t, err) var unbondRes types.UnbondingDelegation - errRes = cdc.UnmarshalJSON(res, &unbondRes) + errRes = cdc.UnmarshalAsJSON(res, &unbondRes) require.NoError(t, errRes) require.Equal(t, unbond, unbondRes) @@ -390,7 +390,7 @@ func TestQueryDelegation(t *testing.T) { require.NoError(t, err) var delegatorUbds []types.UnbondingDelegation - errRes = cdc.UnmarshalJSON(res, &delegatorUbds) + errRes = cdc.UnmarshalAsJSON(res, &delegatorUbds) require.NoError(t, errRes) require.Equal(t, unbond, delegatorUbds[0]) @@ -408,7 +408,7 @@ func TestQueryDelegation(t *testing.T) { redel, found := app.StakingKeeper.GetRedelegation(ctx, addrAcc2, val1.GetOperator(), val2.GetOperator()) require.True(t, found) - bz, errRes = cdc.MarshalJSON(types.NewQueryRedelegationParams(addrAcc2, val1.GetOperator(), val2.GetOperator())) + bz, errRes = cdc.MarshalAsJSON(types.NewQueryRedelegationParams(addrAcc2, val1.GetOperator(), val2.GetOperator())) require.NoError(t, errRes) query = abci.RequestQuery{ @@ -420,7 +420,7 @@ func TestQueryDelegation(t *testing.T) { require.NoError(t, err) var redelRes types.RedelegationResponses - errRes = cdc.UnmarshalJSON(res, &redelRes) + errRes = cdc.UnmarshalAsJSON(res, &redelRes) require.NoError(t, errRes) require.Len(t, redelRes, 1) require.Equal(t, redel.DelegatorAddress, redelRes[0].Redelegation.DelegatorAddress) @@ -483,11 +483,11 @@ func TestQueryValidatorDelegations_Pagination(t *testing.T) { for _, c := range cases { // Query Delegator bonded validators queryParams := types.NewQueryDelegatorParams(addrs[0]) - bz, errRes := cdc.MarshalJSON(queryParams) + bz, errRes := cdc.MarshalAsJSON(queryParams) require.NoError(t, errRes) // Query valAddress delegations - bz, errRes = cdc.MarshalJSON(types.NewQueryValidatorParams(valAddress, c.page, c.limit)) + bz, errRes = cdc.MarshalAsJSON(types.NewQueryValidatorParams(valAddress, c.page, c.limit)) require.NoError(t, errRes) query := abci.RequestQuery{ @@ -499,7 +499,7 @@ func TestQueryValidatorDelegations_Pagination(t *testing.T) { require.NoError(t, err) var delegationsRes types.DelegationResponses - errRes = cdc.UnmarshalJSON(res, &delegationsRes) + errRes = cdc.UnmarshalAsJSON(res, &delegationsRes) require.NoError(t, errRes) require.Len(t, delegationsRes, c.expectedResults) } @@ -517,10 +517,10 @@ func TestQueryValidatorDelegations_Pagination(t *testing.T) { for _, c := range cases { // Query Unbonding delegations with pagination. queryParams := types.NewQueryDelegatorParams(addrs[0]) - bz, errRes := cdc.MarshalJSON(queryParams) + bz, errRes := cdc.MarshalAsJSON(queryParams) require.NoError(t, errRes) - bz, errRes = cdc.MarshalJSON(types.NewQueryValidatorParams(valAddress, c.page, c.limit)) + bz, errRes = cdc.MarshalAsJSON(types.NewQueryValidatorParams(valAddress, c.page, c.limit)) require.NoError(t, errRes) query := abci.RequestQuery{ Data: bz, @@ -530,7 +530,7 @@ func TestQueryValidatorDelegations_Pagination(t *testing.T) { res, err := querier(ctx, []string{types.QueryValidatorUnbondingDelegations}, query) require.NoError(t, err) - errRes = cdc.UnmarshalJSON(res, &unbondingDelegations) + errRes = cdc.UnmarshalAsJSON(res, &unbondingDelegations) require.NoError(t, errRes) require.Len(t, unbondingDelegations, c.expectedResults) } @@ -566,7 +566,7 @@ func TestQueryRedelegations(t *testing.T) { // delegator redelegations queryDelegatorParams := types.NewQueryDelegatorParams(addrAcc2) - bz, errRes := cdc.MarshalJSON(queryDelegatorParams) + bz, errRes := cdc.MarshalAsJSON(queryDelegatorParams) require.NoError(t, errRes) query := abci.RequestQuery{ @@ -578,7 +578,7 @@ func TestQueryRedelegations(t *testing.T) { require.NoError(t, err) var redelRes types.RedelegationResponses - errRes = cdc.UnmarshalJSON(res, &redelRes) + errRes = cdc.UnmarshalAsJSON(res, &redelRes) require.NoError(t, errRes) require.Len(t, redelRes, 1) require.Equal(t, redel.DelegatorAddress, redelRes[0].Redelegation.DelegatorAddress) @@ -588,7 +588,7 @@ func TestQueryRedelegations(t *testing.T) { // validator redelegations queryValidatorParams := types.NewQueryValidatorParams(val1.GetOperator(), 0, 0) - bz, errRes = cdc.MarshalJSON(queryValidatorParams) + bz, errRes = cdc.MarshalAsJSON(queryValidatorParams) require.NoError(t, errRes) query = abci.RequestQuery{ @@ -599,7 +599,7 @@ func TestQueryRedelegations(t *testing.T) { res, err = querier(ctx, []string{types.QueryRedelegations}, query) require.NoError(t, err) - errRes = cdc.UnmarshalJSON(res, &redelRes) + errRes = cdc.UnmarshalAsJSON(res, &redelRes) require.NoError(t, errRes) require.Len(t, redelRes, 1) require.Equal(t, redel.DelegatorAddress, redelRes[0].Redelegation.DelegatorAddress) @@ -640,7 +640,7 @@ func TestQueryUnbondingDelegation(t *testing.T) { // found: query unbonding delegation by delegator and validator // queryValidatorParams := types.QueryDelegatorValidatorRequest{DelegatorAddr: addrAcc1.String(), ValidatorAddr: val1.GetOperator().String()} - bz, errRes := cdc.MarshalJSON(queryValidatorParams) + bz, errRes := cdc.MarshalAsJSON(queryValidatorParams) require.NoError(t, errRes) query := abci.RequestQuery{ Path: "/custom/staking/unbondingDelegation", @@ -650,7 +650,7 @@ func TestQueryUnbondingDelegation(t *testing.T) { require.NoError(t, err) require.NotNil(t, res) var ubDel types.UnbondingDelegation - require.NoError(t, cdc.UnmarshalJSON(res, &ubDel)) + require.NoError(t, cdc.UnmarshalAsJSON(res, &ubDel)) require.Equal(t, addrAcc1.String(), ubDel.DelegatorAddress) require.Equal(t, val1.OperatorAddress, ubDel.ValidatorAddress) require.Equal(t, 1, len(ubDel.Entries)) @@ -659,7 +659,7 @@ func TestQueryUnbondingDelegation(t *testing.T) { // not found: query unbonding delegation by delegator and validator // queryValidatorParams = types.QueryDelegatorValidatorRequest{DelegatorAddr: addrAcc2.String(), ValidatorAddr: val1.GetOperator().String()} - bz, errRes = cdc.MarshalJSON(queryValidatorParams) + bz, errRes = cdc.MarshalAsJSON(queryValidatorParams) require.NoError(t, errRes) query = abci.RequestQuery{ Path: "/custom/staking/unbondingDelegation", @@ -672,7 +672,7 @@ func TestQueryUnbondingDelegation(t *testing.T) { // found: query unbonding delegation by delegator and validator // queryDelegatorParams := types.NewQueryDelegatorParams(addrAcc1) - bz, errRes = cdc.MarshalJSON(queryDelegatorParams) + bz, errRes = cdc.MarshalAsJSON(queryDelegatorParams) require.NoError(t, errRes) query = abci.RequestQuery{ Path: "/custom/staking/delegatorUnbondingDelegations", @@ -682,7 +682,7 @@ func TestQueryUnbondingDelegation(t *testing.T) { require.NoError(t, err) require.NotNil(t, res) var ubDels []types.UnbondingDelegation - require.NoError(t, cdc.UnmarshalJSON(res, &ubDels)) + require.NoError(t, cdc.UnmarshalAsJSON(res, &ubDels)) require.Equal(t, 1, len(ubDels)) require.Equal(t, addrAcc1.String(), ubDels[0].DelegatorAddress) require.Equal(t, val1.OperatorAddress, ubDels[0].ValidatorAddress) @@ -691,7 +691,7 @@ func TestQueryUnbondingDelegation(t *testing.T) { // not found: query unbonding delegation by delegator and validator // queryDelegatorParams = types.NewQueryDelegatorParams(addrAcc2) - bz, errRes = cdc.MarshalJSON(queryDelegatorParams) + bz, errRes = cdc.MarshalAsJSON(queryDelegatorParams) require.NoError(t, errRes) query = abci.RequestQuery{ Path: "/custom/staking/delegatorUnbondingDelegations", @@ -700,7 +700,7 @@ func TestQueryUnbondingDelegation(t *testing.T) { res, err = querier(ctx, []string{types.QueryDelegatorUnbondingDelegations}, query) require.NoError(t, err) require.NotNil(t, res) - require.NoError(t, cdc.UnmarshalJSON(res, &ubDels)) + require.NoError(t, cdc.UnmarshalAsJSON(res, &ubDels)) require.Equal(t, 0, len(ubDels)) } @@ -728,7 +728,7 @@ func TestQueryHistoricalInfo(t *testing.T) { app.StakingKeeper.SetHistoricalInfo(ctx, 5, &hi) queryHistoricalParams := types.QueryHistoricalInfoRequest{Height: 4} - bz, errRes := cdc.MarshalJSON(queryHistoricalParams) + bz, errRes := cdc.MarshalAsJSON(queryHistoricalParams) require.NoError(t, errRes) query := abci.RequestQuery{ Path: "/custom/staking/historicalInfo", @@ -739,7 +739,7 @@ func TestQueryHistoricalInfo(t *testing.T) { require.Nil(t, res, "Invalid query returned non-nil result") queryHistoricalParams = types.QueryHistoricalInfoRequest{Height: 5} - bz, errRes = cdc.MarshalJSON(queryHistoricalParams) + bz, errRes = cdc.MarshalAsJSON(queryHistoricalParams) require.NoError(t, errRes) query.Data = bz res, err = querier(ctx, []string{types.QueryHistoricalInfo}, query) @@ -747,6 +747,6 @@ func TestQueryHistoricalInfo(t *testing.T) { require.NotNil(t, res, "Valid query returned nil result") var recv types.HistoricalInfo - require.NoError(t, cdc.UnmarshalJSON(res, &recv)) + require.NoError(t, cdc.UnmarshalAsJSON(res, &recv)) require.Equal(t, hi, recv, "HistoricalInfo query returned wrong result") } diff --git a/sei-cosmos/x/staking/keeper/query_utils.go b/sei-cosmos/x/staking/keeper/query_utils.go index d757522f6d..e69684ff42 100644 --- a/sei-cosmos/x/staking/keeper/query_utils.go +++ b/sei-cosmos/x/staking/keeper/query_utils.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // Return all validators that a delegator is bonded to. If maxRetrieve is supplied, the respective amount will be returned. @@ -15,7 +15,7 @@ func (k Keeper) GetDelegatorValidators( delegatorPrefixKey := types.GetDelegationsKey(delegatorAddr) iterator := sdk.KVStorePrefixIterator(store, delegatorPrefixKey) // smallest to largest - defer iterator.Close() + defer func() { _ = iterator.Close() }() i := 0 for ; iterator.Valid() && i < int(maxRetrieve); iterator.Next() { @@ -58,7 +58,7 @@ func (k Keeper) GetAllDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAdd delegatorPrefixKey := types.GetDelegationsKey(delegator) iterator := sdk.KVStorePrefixIterator(store, delegatorPrefixKey) // smallest to largest - defer iterator.Close() + defer func() { _ = iterator.Close() }() i := 0 @@ -79,7 +79,7 @@ func (k Keeper) GetAllUnbondingDelegations(ctx sdk.Context, delegator sdk.AccAdd delegatorPrefixKey := types.GetUBDsKey(delegator) iterator := sdk.KVStorePrefixIterator(store, delegatorPrefixKey) // smallest to largest - defer iterator.Close() + defer func() { _ = iterator.Close() }() for i := 0; iterator.Valid(); iterator.Next() { unbondingDelegation := types.MustUnmarshalUBD(k.cdc, iterator.Value()) @@ -98,7 +98,7 @@ func (k Keeper) GetAllRedelegations( delegatorPrefixKey := types.GetREDsKey(delegator) iterator := sdk.KVStorePrefixIterator(store, delegatorPrefixKey) // smallest to largest - defer iterator.Close() + defer func() { _ = iterator.Close() }() srcValFilter := !(srcValAddress.Empty()) dstValFilter := !(dstValAddress.Empty()) diff --git a/sei-cosmos/x/staking/keeper/slash.go b/sei-cosmos/x/staking/keeper/slash.go index 6c6a603749..5d0e4c604d 100644 --- a/sei-cosmos/x/staking/keeper/slash.go +++ b/sei-cosmos/x/staking/keeper/slash.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // Slash a validator for an infraction committed at a known height diff --git a/sei-cosmos/x/staking/keeper/slash_test.go b/sei-cosmos/x/staking/keeper/slash_test.go index cc5b31371e..285ecaee59 100644 --- a/sei-cosmos/x/staking/keeper/slash_test.go +++ b/sei-cosmos/x/staking/keeper/slash_test.go @@ -8,12 +8,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // bootstrapSlashTest creates 3 validators and bootstrap the app. diff --git a/sei-cosmos/x/staking/keeper/test_common.go b/sei-cosmos/x/staking/keeper/test_common.go index 42e94740d3..abe6b1240b 100644 --- a/sei-cosmos/x/staking/keeper/test_common.go +++ b/sei-cosmos/x/staking/keeper/test_common.go @@ -4,8 +4,8 @@ import ( "bytes" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // does a certain by-power index record exist @@ -23,7 +23,7 @@ func TestingUpdateValidator(keeper Keeper, ctx sdk.Context, validator types.Vali deleted := false iterator := sdk.KVStorePrefixIterator(store, types.ValidatorsByPowerIndexKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { valAddr := types.ParseValidatorPowerRankKey(iterator.Key()) diff --git a/sei-cosmos/x/staking/keeper/val_state_change.go b/sei-cosmos/x/staking/keeper/val_state_change.go index f8c205a8c4..5c890d79eb 100644 --- a/sei-cosmos/x/staking/keeper/val_state_change.go +++ b/sei-cosmos/x/staking/keeper/val_state_change.go @@ -8,8 +8,8 @@ import ( gogotypes "github.com/gogo/protobuf/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // BlockValidatorUpdates calculates the ValidatorUpdates for the current block @@ -122,7 +122,7 @@ func (k Keeper) ApplyAndReturnValidatorSetUpdates(ctx sdk.Context) (updates []ab // Iterate over validators, highest power to lowest. iterator := k.ValidatorsPowerStoreIterator(ctx) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for count := 0; iterator.Valid() && count < int(maxValidators); iterator.Next() { // everything that is iterated in this loop is becoming or already a @@ -354,7 +354,7 @@ func (k Keeper) getLastValidatorsByAddr(ctx sdk.Context) (validatorsByAddr, erro last := make(validatorsByAddr) iterator := k.LastValidatorsIterator(ctx) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { // extract the validator address from the key (prefix is 1-byte, addrLen is 1-byte) diff --git a/sei-cosmos/x/staking/keeper/validator.go b/sei-cosmos/x/staking/keeper/validator.go index c6100b684b..a5e2295317 100644 --- a/sei-cosmos/x/staking/keeper/validator.go +++ b/sei-cosmos/x/staking/keeper/validator.go @@ -6,8 +6,8 @@ import ( gogotypes "github.com/gogo/protobuf/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // get a single validator @@ -187,7 +187,7 @@ func (k Keeper) GetAllValidators(ctx sdk.Context) (validators []types.Validator) store := ctx.KVStore(k.storeKey) iterator := sdk.KVStorePrefixIterator(store, types.ValidatorsKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() for ; iterator.Valid(); iterator.Next() { validator := types.MustUnmarshalValidator(k.cdc, iterator.Value()) @@ -203,7 +203,7 @@ func (k Keeper) GetValidators(ctx sdk.Context, maxRetrieve uint32) (validators [ validators = make([]types.Validator, maxRetrieve) iterator := sdk.KVStorePrefixIterator(store, types.ValidatorsKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() i := 0 for ; iterator.Valid() && i < int(maxRetrieve); iterator.Next() { @@ -221,7 +221,7 @@ func (k Keeper) GetBondedValidatorsByPower(ctx sdk.Context) []types.Validator { validators := make([]types.Validator, maxValidators) iterator := k.ValidatorsPowerStoreIterator(ctx) - defer iterator.Close() + defer func() { _ = iterator.Close() }() i := 0 for ; iterator.Valid() && i < int(maxValidators); iterator.Next() { @@ -287,7 +287,7 @@ func (k Keeper) IterateLastValidatorPowers(ctx sdk.Context, handler func(operato store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.LastValidatorPowerKey) - defer iter.Close() + defer func() { _ = iter.Close() }() for ; iter.Valid(); iter.Next() { addr := sdk.ValAddress(types.AddressFromLastValidatorPowerKey(iter.Key())) @@ -310,7 +310,7 @@ func (k Keeper) GetLastValidators(ctx sdk.Context) (validators []types.Validator validators = make([]types.Validator, maxValidators) iterator := sdk.KVStorePrefixIterator(store, types.LastValidatorPowerKey) - defer iterator.Close() + defer func() { _ = iterator.Close() }() i := 0 for ; iterator.Valid(); iterator.Next() { @@ -402,13 +402,13 @@ func (k Keeper) UnbondAllMatureValidators(ctx sdk.Context) { blockTime := ctx.BlockTime() blockHeight := ctx.BlockHeight() - // unbondingValIterator will contains all validator addresses indexed under + // unbondingValIterator will contain all validator addresses indexed under // the ValidatorQueueKey prefix. Note, the entire index key is composed as // ValidatorQueueKey | timeBzLen (8-byte big endian) | timeBz | heightBz (8-byte big endian), // so it may be possible that certain validator addresses that are iterated // over are not ready to unbond, so an explicit check is required. unbondingValIterator := k.ValidatorQueueIterator(ctx, blockTime, blockHeight) - defer unbondingValIterator.Close() + defer func() { _ = unbondingValIterator.Close() }() for ; unbondingValIterator.Valid(); unbondingValIterator.Next() { key := unbondingValIterator.Key() diff --git a/sei-cosmos/x/staking/keeper/validator_test.go b/sei-cosmos/x/staking/keeper/validator_test.go index 38e9616ff8..fa72d06be6 100644 --- a/sei-cosmos/x/staking/keeper/validator_test.go +++ b/sei-cosmos/x/staking/keeper/validator_test.go @@ -10,14 +10,14 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/utils" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/apptesting" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func newMonikerValidator(t testing.TB, operator sdk.ValAddress, pubKey cryptotypes.PubKey, moniker string) types.Validator { diff --git a/sei-cosmos/x/staking/module.go b/sei-cosmos/x/staking/module.go index 4710bc75dc..32aaae2932 100644 --- a/sei-cosmos/x/staking/module.go +++ b/sei-cosmos/x/staking/module.go @@ -12,17 +12,17 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/client/cli" - "github.com/cosmos/cosmos-sdk/x/staking/client/rest" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var ( @@ -62,7 +62,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the staking module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var data types.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } @@ -86,7 +86,7 @@ func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Rout // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the staking module. func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { - types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) + _ = types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) } // GetTxCmd returns the root tx command for the staking module. @@ -148,7 +148,7 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { types.RegisterQueryServer(cfg.QueryServer(), querier) m := keeper.NewMigrator(am.keeper) - cfg.RegisterMigration(types.ModuleName, 1, m.Migrate1to2) + _ = cfg.RegisterMigration(types.ModuleName, 1, m.Migrate1to2) } // InitGenesis performs genesis initialization for the staking module. It returns diff --git a/sei-cosmos/x/staking/module_test.go b/sei-cosmos/x/staking/module_test.go index aae59b7fcb..705c40bdb6 100644 --- a/sei-cosmos/x/staking/module_test.go +++ b/sei-cosmos/x/staking/module_test.go @@ -8,9 +8,9 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestItCreatesModuleAccountOnInitBlock(t *testing.T) { diff --git a/sei-cosmos/x/staking/simulation/decoder.go b/sei-cosmos/x/staking/simulation/decoder.go index eec0ce22a0..b6b6de2697 100644 --- a/sei-cosmos/x/staking/simulation/decoder.go +++ b/sei-cosmos/x/staking/simulation/decoder.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/sei-cosmos/x/staking/simulation/genesis.go b/sei-cosmos/x/staking/simulation/genesis.go index f033fbcda1..91cb784493 100644 --- a/sei-cosmos/x/staking/simulation/genesis.go +++ b/sei-cosmos/x/staking/simulation/genesis.go @@ -8,10 +8,10 @@ import ( "math/rand" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // Simulation parameter constants @@ -28,12 +28,12 @@ func genUnbondingTime(r *rand.Rand) (ubdTime time.Duration) { // genMaxValidators returns randomized MaxValidators func genMaxValidators(r *rand.Rand) (maxValidators uint32) { - return uint32(r.Intn(250) + 1) + return uint32(r.Intn(250) + 1) //nolint:gosec // Intn(250)+1 always returns a value in [1, 250], fits in uint32 } // getHistEntries returns randomized HistoricalEntries between 0-100. func getHistEntries(r *rand.Rand) uint32 { - return uint32(r.Intn(int(types.DefaultHistoricalEntries + 1))) + return uint32(r.Intn(int(types.DefaultHistoricalEntries + 1))) //nolint:gosec // DefaultHistoricalEntries is a small constant, result always fits in uint32 } // RandomizedGenState generates a random GenesisState for staking diff --git a/sei-cosmos/x/staking/simulation/operations.go b/sei-cosmos/x/staking/simulation/operations.go index c2462f5032..61f468b8dd 100644 --- a/sei-cosmos/x/staking/simulation/operations.go +++ b/sei-cosmos/x/staking/simulation/operations.go @@ -4,23 +4,23 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" seiappparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // Simulation operation weights constants const ( - OpWeightMsgCreateValidator = "op_weight_msg_create_validator" - OpWeightMsgEditValidator = "op_weight_msg_edit_validator" - OpWeightMsgDelegate = "op_weight_msg_delegate" - OpWeightMsgUndelegate = "op_weight_msg_undelegate" - OpWeightMsgBeginRedelegate = "op_weight_msg_begin_redelegate" + OpWeightMsgCreateValidator = "op_weight_msg_create_validator" //nolint:gosec + OpWeightMsgEditValidator = "op_weight_msg_edit_validator" //nolint:gosec + OpWeightMsgDelegate = "op_weight_msg_delegate" //nolint:gosec + OpWeightMsgUndelegate = "op_weight_msg_undelegate" //nolint:gosec + OpWeightMsgBeginRedelegate = "op_weight_msg_begin_redelegate" //nolint:gosec ) // WeightedOperations returns all the operations from the module with their respective weights diff --git a/sei-cosmos/x/staking/simulation/params.go b/sei-cosmos/x/staking/simulation/params.go index 30789d3467..6abfb16fd8 100644 --- a/sei-cosmos/x/staking/simulation/params.go +++ b/sei-cosmos/x/staking/simulation/params.go @@ -6,9 +6,9 @@ import ( "fmt" "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/cosmos/cosmos-sdk/x/staking/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // ParamChanges defines the parameters that can be modified by param change proposals diff --git a/sei-cosmos/x/staking/teststaking/helper.go b/sei-cosmos/x/staking/teststaking/helper.go index e19d2f081d..687e38ca13 100644 --- a/sei-cosmos/x/staking/teststaking/helper.go +++ b/sei-cosmos/x/staking/teststaking/helper.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" - "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // Helper is a structure which wraps the staking handler diff --git a/sei-cosmos/x/staking/teststaking/tm.go b/sei-cosmos/x/staking/teststaking/tm.go index 6f179d94bf..f267f194a8 100644 --- a/sei-cosmos/x/staking/teststaking/tm.go +++ b/sei-cosmos/x/staking/teststaking/tm.go @@ -4,9 +4,9 @@ import ( tmcrypto "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // GetTmConsPubKey gets the validator's public key as a tmcrypto.PubKey. diff --git a/sei-cosmos/x/staking/teststaking/validator.go b/sei-cosmos/x/staking/teststaking/validator.go index 71459581f0..898440bfed 100644 --- a/sei-cosmos/x/staking/teststaking/validator.go +++ b/sei-cosmos/x/staking/teststaking/validator.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // NewValidator is a testing helper method to create validators in tests diff --git a/sei-cosmos/x/staking/types/authz.go b/sei-cosmos/x/staking/types/authz.go index f1c2a71706..bf65a4a527 100644 --- a/sei-cosmos/x/staking/types/authz.go +++ b/sei-cosmos/x/staking/types/authz.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/authz" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" ) // TODO: Revisit this once we have propoer gas fee framework. diff --git a/sei-cosmos/x/staking/types/authz.pb.go b/sei-cosmos/x/staking/types/authz.pb.go index c0968f13b3..a567b95f2b 100644 --- a/sei-cosmos/x/staking/types/authz.pb.go +++ b/sei-cosmos/x/staking/types/authz.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -69,7 +69,7 @@ func (AuthorizationType) EnumDescriptor() ([]byte, []int) { type StakeAuthorization struct { // max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is // empty, there is no spend limit and any amount of coins can be delegated. - MaxTokens *types.Coin `protobuf:"bytes,1,opt,name=max_tokens,json=maxTokens,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coin" json:"max_tokens,omitempty"` + MaxTokens *types.Coin `protobuf:"bytes,1,opt,name=max_tokens,json=maxTokens,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coin" json:"max_tokens,omitempty"` // validators is the oneof that represents either allow_list or deny_list // // Types that are valid to be assigned to Validators: @@ -228,36 +228,37 @@ func init() { } var fileDescriptor_d6d8cdbc6f4432f0 = []byte{ - // 462 bytes of a gzipped FileDesc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xed, 0xe3, 0xa6, 0xd7, 0xde, 0xdb, 0xf5, 0xbd, - 0x77, 0xfb, 0x8e, 0x7f, 0xb8, 0x7b, 0xb0, 0xef, 0x6c, 0xb4, 0xb7, 0xda, 0xce, 0xe6, 0xa2, 0x85, - 0x97, 0xe1, 0xc1, 0x1c, 0x66, 0xd3, 0xd9, 0x71, 0xde, 0x34, 0x3d, 0x67, 0x11, 0xe1, 0x47, 0xf0, - 0x70, 0xae, 0xa4, 0x40, 0x16, 0xae, 0x40, 0x5c, 0xa7, 0x40, 0x4a, 0xad, 0xad, 0x2f, 0x53, 0x82, - 0xce, 0xa6, 0x04, 0xfd, 0x9c, 0x12, 0xf4, 0x61, 0x46, 0xac, 0xb3, 0x19, 0xb1, 0xbe, 0xcf, 0x88, - 0x75, 0xfc, 0xe2, 0x9f, 0xf3, 0x33, 0x2e, 0x7e, 0x17, 0x33, 0x49, 0x9d, 0xeb, 0x66, 0x7c, 0x5f, - 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x48, 0xc3, 0x35, 0xaf, 0x4d, 0x03, 0x00, 0x00, + // 472 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0x4f, 0x6f, 0xd3, 0x30, + 0x18, 0xc6, 0x93, 0x15, 0x01, 0x7d, 0xf9, 0xa3, 0xd5, 0x42, 0xa8, 0x2b, 0xc2, 0x1b, 0x3d, 0xa0, + 0x82, 0x34, 0x47, 0x1b, 0x42, 0x48, 0xc0, 0xa5, 0xdd, 0x02, 0xab, 0x34, 0x6d, 0x53, 0x96, 0x55, + 0xb0, 0x4b, 0xe4, 0xa6, 0x56, 0x6b, 0x35, 0x8d, 0xab, 0xda, 0x19, 0xed, 0x3e, 0x05, 0x9f, 0x80, + 0x0f, 0xc0, 0x99, 0x0f, 0xc1, 0x71, 0xe2, 0xc4, 0x01, 0x09, 0xd4, 0x7e, 0x11, 0x14, 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d6, 0xf7, 0x19, 0xb6, 0x8e, 0x5f, 0xff, 0xd7, 0x3c, + 0x8d, 0xf3, 0xe7, 0xa4, 0x27, 0xab, 0x7d, 0x5d, 0xcb, 0x9f, 0xfd, 0x0e, 0x00, 0x00, 0xff, 0xff, + 0x8a, 0xa4, 0x8b, 0xc8, 0x6d, 0x03, 0x00, 0x00, } func (m *StakeAuthorization) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/staking/types/authz_test.go b/sei-cosmos/x/staking/types/authz_test.go index 005caf0e3d..8fafa07295 100644 --- a/sei-cosmos/x/staking/types/authz_test.go +++ b/sei-cosmos/x/staking/types/authz_test.go @@ -6,9 +6,9 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var ( diff --git a/sei-cosmos/x/staking/types/codec.go b/sei-cosmos/x/staking/types/codec.go index 485549077b..0cd98115df 100644 --- a/sei-cosmos/x/staking/types/codec.go +++ b/sei-cosmos/x/staking/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - "github.com/cosmos/cosmos-sdk/x/authz" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" ) // RegisterLegacyAminoCodec registers the necessary x/staking interfaces and concrete types diff --git a/sei-cosmos/x/staking/types/commission.go b/sei-cosmos/x/staking/types/commission.go index 54891b5dca..78648f8537 100644 --- a/sei-cosmos/x/staking/types/commission.go +++ b/sei-cosmos/x/staking/types/commission.go @@ -5,7 +5,7 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // NewCommissionRates returns an initialized validator commission rates. diff --git a/sei-cosmos/x/staking/types/commission_test.go b/sei-cosmos/x/staking/types/commission_test.go index 3ca95cf4b4..776a8246c5 100644 --- a/sei-cosmos/x/staking/types/commission_test.go +++ b/sei-cosmos/x/staking/types/commission_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestCommissionValidate(t *testing.T) { diff --git a/sei-cosmos/x/staking/types/data_test.go b/sei-cosmos/x/staking/types/data_test.go index ed9c64c57a..2586ddf57b 100644 --- a/sei-cosmos/x/staking/types/data_test.go +++ b/sei-cosmos/x/staking/types/data_test.go @@ -3,10 +3,10 @@ package types_test import ( "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/sei-cosmos/x/staking/types/delegation.go b/sei-cosmos/x/staking/types/delegation.go index 41ba4e5945..0cb49a9463 100644 --- a/sei-cosmos/x/staking/types/delegation.go +++ b/sei-cosmos/x/staking/types/delegation.go @@ -8,8 +8,8 @@ import ( yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Implements Delegation interface @@ -28,8 +28,6 @@ func (dvv DVVTriplet) String() string { } // NewDelegation creates a new delegation object -// -//nolint:interfacer func NewDelegation(delegatorAddr sdk.AccAddress, validatorAddr sdk.ValAddress, shares sdk.Dec) Delegation { return Delegation{ DelegatorAddress: delegatorAddr.String(), @@ -112,8 +110,6 @@ func (e UnbondingDelegationEntry) IsMature(currentTime time.Time) bool { } // NewUnbondingDelegation - create a new unbonding delegation object -// -//nolint:interfacer func NewUnbondingDelegation( delegatorAddr sdk.AccAddress, validatorAddr sdk.ValAddress, creationHeight int64, minTime time.Time, balance sdk.Int, @@ -206,8 +202,6 @@ func (e RedelegationEntry) String() string { func (e RedelegationEntry) IsMature(currentTime time.Time) bool { return !e.CompletionTime.After(currentTime) } - -//nolint:interfacer func NewRedelegation( delegatorAddr sdk.AccAddress, validatorSrcAddr, validatorDstAddr sdk.ValAddress, creationHeight int64, minTime time.Time, balance sdk.Int, sharesDst sdk.Dec, @@ -334,8 +328,6 @@ func (d DelegationResponses) String() (out string) { } // NewRedelegationResponse crates a new RedelegationEntryResponse instance. -// -//nolint:interfacer func NewRedelegationResponse( delegatorAddr sdk.AccAddress, validatorSrc, validatorDst sdk.ValAddress, entries []RedelegationEntryResponse, ) RedelegationResponse { diff --git a/sei-cosmos/x/staking/types/delegation_test.go b/sei-cosmos/x/staking/types/delegation_test.go index 7ca5e8132e..c0622808cc 100644 --- a/sei-cosmos/x/staking/types/delegation_test.go +++ b/sei-cosmos/x/staking/types/delegation_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestDelegationEqual(t *testing.T) { @@ -90,7 +90,7 @@ func TestDelegationResponses(t *testing.T) { bz1, err := json.Marshal(dr1) require.NoError(t, err) - bz2, err := cdc.MarshalJSON(dr1) + bz2, err := cdc.MarshalAsJSON(dr1) require.NoError(t, err) require.Equal(t, bz1, bz2) @@ -98,13 +98,13 @@ func TestDelegationResponses(t *testing.T) { bz1, err = json.Marshal(drs) require.NoError(t, err) - bz2, err = cdc.MarshalJSON(drs) + bz2, err = cdc.MarshalAsJSON(drs) require.NoError(t, err) require.Equal(t, bz1, bz2) var drs2 types.DelegationResponses - require.NoError(t, cdc.UnmarshalJSON(bz2, &drs2)) + require.NoError(t, cdc.UnmarshalAsJSON(bz2, &drs2)) require.Equal(t, drs, drs2) } @@ -121,7 +121,7 @@ func TestRedelegationResponses(t *testing.T) { bz1, err := json.Marshal(rdr1) require.NoError(t, err) - bz2, err := cdc.MarshalJSON(rdr1) + bz2, err := cdc.MarshalAsJSON(rdr1) require.NoError(t, err) require.Equal(t, bz1, bz2) @@ -129,15 +129,15 @@ func TestRedelegationResponses(t *testing.T) { bz1, err = json.Marshal(rdrs) require.NoError(t, err) - bz2, err = cdc.MarshalJSON(rdrs) + bz2, err = cdc.MarshalAsJSON(rdrs) require.NoError(t, err) require.Equal(t, bz1, bz2) var rdrs2 types.RedelegationResponses - require.NoError(t, cdc.UnmarshalJSON(bz2, &rdrs2)) + require.NoError(t, cdc.UnmarshalAsJSON(bz2, &rdrs2)) - bz3, err := cdc.MarshalJSON(rdrs2) + bz3, err := cdc.MarshalAsJSON(rdrs2) require.NoError(t, err) require.Equal(t, bz2, bz3) diff --git a/sei-cosmos/x/staking/types/errors.go b/sei-cosmos/x/staking/types/errors.go index 8ce8bd7c8b..c152cb120e 100644 --- a/sei-cosmos/x/staking/types/errors.go +++ b/sei-cosmos/x/staking/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/staking module sentinel errors diff --git a/sei-cosmos/x/staking/types/expected_keepers.go b/sei-cosmos/x/staking/types/expected_keepers.go index 313db78e7b..66da9a82d6 100644 --- a/sei-cosmos/x/staking/types/expected_keepers.go +++ b/sei-cosmos/x/staking/types/expected_keepers.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // DistributionKeeper expected distribution keeper (noalias) diff --git a/sei-cosmos/x/staking/types/exported.go b/sei-cosmos/x/staking/types/exported.go index af53711cc2..add3d5eea8 100644 --- a/sei-cosmos/x/staking/types/exported.go +++ b/sei-cosmos/x/staking/types/exported.go @@ -3,8 +3,8 @@ package types import ( tmprotocrypto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // DelegationI delegation bond for a delegated proof of stake system diff --git a/sei-cosmos/x/staking/types/genesis.go b/sei-cosmos/x/staking/types/genesis.go index a3355a1d29..e2a2d2ca3b 100644 --- a/sei-cosmos/x/staking/types/genesis.go +++ b/sei-cosmos/x/staking/types/genesis.go @@ -3,8 +3,8 @@ package types import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) // NewGenesisState creates a new GenesisState instanc e diff --git a/sei-cosmos/x/staking/types/genesis.pb.go b/sei-cosmos/x/staking/types/genesis.pb.go index 9d4e4615cf..128e471c9c 100644 --- a/sei-cosmos/x/staking/types/genesis.pb.go +++ b/sei-cosmos/x/staking/types/genesis.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -30,7 +30,7 @@ type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // last_total_power tracks the total amounts of bonded tokens recorded during // the previous end block. - LastTotalPower github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=last_total_power,json=lastTotalPower,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"last_total_power" yaml:"last_total_power"` + LastTotalPower github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,2,opt,name=last_total_power,json=lastTotalPower,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"last_total_power" yaml:"last_total_power"` // last_validator_powers is a special index that provides a historical list // of the last-block's bonded validators. LastValidatorPowers []LastValidatorPower `protobuf:"bytes,3,rep,name=last_validator_powers,json=lastValidatorPowers,proto3" json:"last_validator_powers" yaml:"last_validator_powers"` @@ -178,38 +178,39 @@ func init() { } var fileDescriptor_9b3dec8894f2831b = []byte{ - // 494 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 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x19, 0xe3, 0x1b, 0x31, 0xaf, 0xe6, 0x6f, 0xaa, 0xfc, 0x41, 0x5d, 0x3e, - 0xad, 0x88, 0xf3, 0x83, 0xfd, 0x0b, 0x20, 0x3d, 0xdc, 0xe6, 0x27, 0x91, 0x88, 0x25, 0x77, 0xf5, - 0x76, 0x1f, 0x0d, 0xdb, 0xb4, 0xac, 0xad, 0xd7, 0x98, 0xac, 0xff, 0x5c, 0xa2, 0xe3, 0x4d, 0xe6, - 0xba, 0x31, 0x87, 0x6c, 0xb8, 0xaf, 0xd3, 0xa2, 0x24, 0x5d, 0xdc, 0xfc, 0x3b, 0xac, 0x0d, 0x9a, - 0x15, 0x7b, 0xed, 0xaf, 0x67, 0xa6, 0xf6, 0xfb, 0xcc, 0xd4, 0x46, 0x2f, 0xce, 0x17, 0x06, 0xba, - 0x58, 0x18, 0xe8, 0xd7, 0xc2, 0x40, 0xdf, 0x96, 0x86, 0x76, 0xb1, 0x34, 0xb4, 0x1f, 0x4b, 0x43, - 0xfb, 0xf0, 0xf8, 0xbf, 0xf3, 0x7c, 0x52, 0x3e, 0x4a, 0x35, 0xd9, 0xd3, 0x96, 0x7a, 0x75, 0x4f, - 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xb8, 0xdb, 0x9a, 0x8a, 0xf1, 0x03, 0x00, 0x00, + // 503 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x41, 0x8b, 0xd3, 0x40, + 0x14, 0xc7, 0x33, 0x76, 0xdb, 0xad, 0xd3, 0x55, 0x64, 0xec, 0x6a, 0x28, 0x92, 0xd4, 0xd0, 0x43, + 0x51, 0x4c, 0xd8, 0x15, 0x3c, 0x2c, 0x7b, 0x2a, 0xc2, 0xa2, 0x88, 0x94, 0xa8, 0x0b, 0x7a, 0x29, + 0xd3, 0x66, 0xc8, 0x06, 0xd3, 0x4c, 0xc8, 0x9b, 0xae,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31, 0x59, 0xff, 0xb8, 0x44, 0xc7, 0x9b, 0xd4, 0xf3, 0x12, 0x06, 0x6a, 0xdb, 0x6f, + 0xba, 0x79, 0x49, 0xda, 0xb8, 0xfe, 0x6f, 0x79, 0x6b, 0xae, 0x2a, 0xf6, 0x9a, 0xdf, 0xce, 0x4c, + 0xed, 0xcf, 0x99, 0xa9, 0x0d, 0x0e, 0xcf, 0x17, 0x06, 0xba, 0x58, 0x18, 0xe8, 0xd7, 0xc2, 0x40, + 0xdf, 0x97, 0x86, 0x76, 0xb1, 0x34, 0xb4, 0x1f, 0x4b, 0x43, 0xfb, 0xb0, 0x7f, 0xad, 0xfd, 0x3e, + 0x29, 0xfe, 0x5a, 0xb9, 0xe9, 0xe3, 0x86, 0x94, 0x3f, 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x8a, + 0x48, 0x41, 0xe8, 0x12, 0x04, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/sei-cosmos/x/staking/types/historical_info.go b/sei-cosmos/x/staking/types/historical_info.go index 41c0812da4..4b180b1ee8 100644 --- a/sei-cosmos/x/staking/types/historical_info.go +++ b/sei-cosmos/x/staking/types/historical_info.go @@ -6,10 +6,10 @@ import ( "github.com/gogo/protobuf/proto" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // NewHistoricalInfo will create a historical information struct from header and valset diff --git a/sei-cosmos/x/staking/types/historical_info_test.go b/sei-cosmos/x/staking/types/historical_info_test.go index d5961b8c5a..2921e9221d 100644 --- a/sei-cosmos/x/staking/types/historical_info_test.go +++ b/sei-cosmos/x/staking/types/historical_info_test.go @@ -8,8 +8,8 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var header = tmproto.Header{ diff --git a/sei-cosmos/x/staking/types/hooks.go b/sei-cosmos/x/staking/types/hooks.go index 694caca540..4c12ffd3d8 100644 --- a/sei-cosmos/x/staking/types/hooks.go +++ b/sei-cosmos/x/staking/types/hooks.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // combine multiple staking hooks, all hook functions are run in array sequence diff --git a/sei-cosmos/x/staking/types/keys.go b/sei-cosmos/x/staking/types/keys.go index 74d73bf19c..0712b53d36 100644 --- a/sei-cosmos/x/staking/types/keys.go +++ b/sei-cosmos/x/staking/types/keys.go @@ -7,9 +7,9 @@ import ( "strconv" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/types/kv" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" ) const ( @@ -83,8 +83,11 @@ func GetValidatorsByPowerIndexKey(validator Validator, powerReduction sdk.Int) [ // NOTE the larger values are of higher value consensusPower := sdk.TokensToConsensusPower(validator.Tokens, powerReduction) + if consensusPower < 0 { + panic(fmt.Sprintf("negative consensus power: %d", consensusPower)) + } consensusPowerBytes := make([]byte, 8) - binary.BigEndian.PutUint64(consensusPowerBytes, uint64(consensusPower)) + binary.BigEndian.PutUint64(consensusPowerBytes, uint64(consensusPower)) //nolint:gosec // bounds checked above powerBytes := consensusPowerBytes powerBytesLen := len(powerBytes) // 8 @@ -105,7 +108,7 @@ func GetValidatorsByPowerIndexKey(validator Validator, powerReduction sdk.Int) [ key[0] = ValidatorsByPowerIndexKey[0] copy(key[1:powerBytesLen+1], powerBytes) - key[powerBytesLen+1] = byte(addrLen) + key[powerBytesLen+1] = byte(addrLen) //nolint:gosec // address length is always <= 255 bytes per address.MaxAddrLen copy(key[powerBytesLen+2:], operAddrInvr) return key @@ -133,7 +136,10 @@ func ParseValidatorPowerRankKey(key []byte) (operAddr []byte) { // GetValidatorQueueKey returns the prefix key used for getting a set of unbonding // validators whose unbonding completion occurs at the given time and height. func GetValidatorQueueKey(timestamp time.Time, height int64) []byte { - heightBz := sdk.Uint64ToBigEndian(uint64(height)) + if height < 0 { + panic(fmt.Sprintf("negative height not allowed: %d", height)) + } + heightBz := sdk.Uint64ToBigEndian(uint64(height)) //nolint:gosec // bounds checked above timeBz := sdk.FormatTimeBytes(timestamp) timeBzL := len(timeBz) prefixL := len(ValidatorQueueKey) @@ -144,7 +150,7 @@ func GetValidatorQueueKey(timestamp time.Time, height int64) []byte { copy(bz[:prefixL], ValidatorQueueKey) // copy the encoded time bytes length - copy(bz[prefixL:prefixL+8], sdk.Uint64ToBigEndian(uint64(timeBzL))) + copy(bz[prefixL:prefixL+8], sdk.Uint64ToBigEndian(uint64(timeBzL))) //nolint:gosec // len() is always non-negative // copy the encoded time bytes copy(bz[prefixL+8:prefixL+8+timeBzL], timeBz) @@ -159,19 +165,26 @@ func GetValidatorQueueKey(timestamp time.Time, height int64) []byte { // from GetValidatorQueueKey. func ParseValidatorQueueKey(bz []byte) (time.Time, int64, error) { prefixL := len(ValidatorQueueKey) + if len(bz) < prefixL+8 { + return time.Time{}, 0, fmt.Errorf("key too short; expected at least %d bytes, got %d", prefixL+8, len(bz)) + } if prefix := bz[:prefixL]; !bytes.Equal(prefix, ValidatorQueueKey) { return time.Time{}, 0, fmt.Errorf("invalid prefix; expected: %X, got: %X", ValidatorQueueKey, prefix) } timeBzL := sdk.BigEndianToUint64(bz[prefixL : prefixL+8]) - ts, err := sdk.ParseTimeBytes(bz[prefixL+8 : prefixL+8+int(timeBzL)]) + remaining := len(bz) - prefixL - 8 + if remaining < 0 || timeBzL > uint64(remaining) { //nolint:gosec // remaining is validated non-negative + return time.Time{}, 0, fmt.Errorf("invalid time bytes length %d exceeds remaining key length", timeBzL) + } + ts, err := sdk.ParseTimeBytes(bz[prefixL+8 : prefixL+8+int(timeBzL)]) //nolint:gosec // timeBzL bounds checked above if err != nil { return time.Time{}, 0, err } - height := sdk.BigEndianToUint64(bz[prefixL+8+int(timeBzL):]) + height := sdk.BigEndianToUint64(bz[prefixL+8+int(timeBzL):]) //nolint:gosec // timeBzL bounds checked above - return ts, int64(height), nil + return ts, int64(height), nil //nolint:gosec // height from trusted store data } // GetDelegationKey creates the key for delegator bond with validator diff --git a/sei-cosmos/x/staking/types/keys_test.go b/sei-cosmos/x/staking/types/keys_test.go index 35667f949d..778d16bdbc 100644 --- a/sei-cosmos/x/staking/types/keys_test.go +++ b/sei-cosmos/x/staking/types/keys_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var ( diff --git a/sei-cosmos/x/staking/types/msg.go b/sei-cosmos/x/staking/types/msg.go index 7252761acf..5d577f02c4 100644 --- a/sei-cosmos/x/staking/types/msg.go +++ b/sei-cosmos/x/staking/types/msg.go @@ -3,10 +3,10 @@ package types import ( "bytes" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // staking message types @@ -31,7 +31,7 @@ var ( // NewMsgCreateValidator creates a new MsgCreateValidator instance. // Delegator address and validator address are the same. func NewMsgCreateValidator( - valAddr sdk.ValAddress, pubKey cryptotypes.PubKey, //nolint:interfacer + valAddr sdk.ValAddress, pubKey cryptotypes.PubKey, selfDelegation sdk.Coin, description Description, commission CommissionRates, minSelfDelegation sdk.Int, ) (*MsgCreateValidator, error) { var pkAny *codectypes.Any @@ -150,8 +150,6 @@ func (msg MsgCreateValidator) UnpackInterfaces(unpacker codectypes.AnyUnpacker) } // NewMsgEditValidator creates a new MsgEditValidator instance -// -//nolint:interfacer func NewMsgEditValidator(valAddr sdk.ValAddress, description Description, newRate *sdk.Dec, newMinSelfDelegation *sdk.Int) *MsgEditValidator { return &MsgEditValidator{ Description: description, @@ -209,8 +207,6 @@ func (msg MsgEditValidator) ValidateBasic() error { } // NewMsgDelegate creates a new MsgDelegate instance. -// -//nolint:interfacer func NewMsgDelegate(delAddr sdk.AccAddress, valAddr sdk.ValAddress, amount sdk.Coin) *MsgDelegate { return &MsgDelegate{ DelegatorAddress: delAddr.String(), @@ -261,8 +257,6 @@ func (msg MsgDelegate) ValidateBasic() error { } // NewMsgBeginRedelegate creates a new MsgBeginRedelegate instance. -// -//nolint:interfacer func NewMsgBeginRedelegate( delAddr sdk.AccAddress, valSrcAddr, valDstAddr sdk.ValAddress, amount sdk.Coin, ) *MsgBeginRedelegate { @@ -320,8 +314,6 @@ func (msg MsgBeginRedelegate) ValidateBasic() error { } // NewMsgUndelegate creates a new MsgUndelegate instance. -// -//nolint:interfacer func NewMsgUndelegate(delAddr sdk.AccAddress, valAddr sdk.ValAddress, amount sdk.Coin) *MsgUndelegate { return &MsgUndelegate{ DelegatorAddress: delAddr.String(), diff --git a/sei-cosmos/x/staking/types/msg_test.go b/sei-cosmos/x/staking/types/msg_test.go index f1ba552d91..996ee4aa37 100644 --- a/sei-cosmos/x/staking/types/msg_test.go +++ b/sei-cosmos/x/staking/types/msg_test.go @@ -5,13 +5,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) var ( diff --git a/sei-cosmos/x/staking/types/params.go b/sei-cosmos/x/staking/types/params.go index 192111a2f0..172daf9ed7 100644 --- a/sei-cosmos/x/staking/types/params.go +++ b/sei-cosmos/x/staking/types/params.go @@ -8,9 +8,9 @@ import ( yaml "gopkg.in/yaml.v2" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // Staking params default values diff --git a/sei-cosmos/x/staking/types/params_test.go b/sei-cosmos/x/staking/types/params_test.go index 0f578801aa..4b6f215403 100644 --- a/sei-cosmos/x/staking/types/params_test.go +++ b/sei-cosmos/x/staking/types/params_test.go @@ -1,12 +1,12 @@ package types_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "testing" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestParamsEqual(t *testing.T) { diff --git a/sei-cosmos/x/staking/types/pool.go b/sei-cosmos/x/staking/types/pool.go index c71d1684f9..f4c631c602 100644 --- a/sei-cosmos/x/staking/types/pool.go +++ b/sei-cosmos/x/staking/types/pool.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // names used as root for pool module accounts: diff --git a/sei-cosmos/x/staking/types/querier.go b/sei-cosmos/x/staking/types/querier.go index 08fefae073..4d24aa40f3 100644 --- a/sei-cosmos/x/staking/types/querier.go +++ b/sei-cosmos/x/staking/types/querier.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // query endpoints supported by the staking Querier diff --git a/sei-cosmos/x/staking/types/query.pb.go b/sei-cosmos/x/staking/types/query.pb.go index ae85eab262..e6b08c12e6 100644 --- a/sei-cosmos/x/staking/types/query.pb.go +++ b/sei-cosmos/x/staking/types/query.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -1425,89 +1425,90 @@ func init() { } var fileDescriptor_f270127f442bbcd8 = []byte{ - // 1303 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcf, 0x4f, 0x1c, 0x75, - 0x14, 0xdf, 0x2f, 0x20, 0x91, 0xd7, 0xb4, 0xa9, 0xdf, 0x05, 0xc4, 0x29, 0xee, 0xd2, 0x09, 0x22, - 0xa5, 0x74, 0x46, 0xa0, 0x52, 0xac, 0x4d, 0x15, 0xac, 0x54, 0xd2, 0x83, 0xb0, 0x46, 0xfc, 0x75, - 0x20, 0xb3, 0x3b, 0xd3, 0xd9, 0x49, 0x97, 0x99, 0xed, 0xcc, 0x40, 0x40, 0xc2, 0x41, 0x4f, 0x7a, - 0xd3, 0x78, 0x52, 0x2f, 0x3d, 0x98, 0x98, 0xe8, 0x51, 0xff, 0x01, 0x4f, 0xd6, 0x1b, 0x46, 0x0f, - 0x7a, 0xa9, 0x06, 0x3c, 0x34, 0x9e, 0xbc, 0x19, 0x6f, 0x66, 0xbf, 0xf3, 0x66, 0x76, 0x86, 0xf9, - 0xb9, 0xcb, 0x12, 0xd2, 0x13, 0xbb, 0xdf, 0x7d, 0x3f, 0x3e, 0x9f, 0xf7, 0xbe, 0xef, 0x7d, 0xdf, - 0x0b, 0xc0, 0x57, 0x0c, 0x6b, 0xdd, 0xb0, 0x44, 0xcb, 0x96, 0xee, 0x68, 0xba, 0x2a, 0x6e, 0x4e, - 0x95, 0x15, 0x5b, 0x9a, 0x12, 0xef, 0x6e, 0x28, 0xe6, 0xb6, 0x50, 0x37, 0x0d, 0xdb, 0xa0, 0x83, - 0x8e, 0x8c, 0x80, 0x32, 0x02, 0xca, 0x70, 0x13, 0xa8, 0x5b, 0x96, 0x2c, 0xc5, 0x51, 0xf0, 0xd4, - 0xeb, 0x92, 0xaa, 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, 0x73, 0xd9, 0x50, 0x84, 0x47, - 0x0a, 0xee, 0x85, 0x36, 0x34, 0x91, 0xca, 0x4d, 0x46, 0x65, 0x9e, 0xbe, 0xd4, 0x06, 0x15, 0xd1, - 0xf7, 0xee, 0xd0, 0xff, 0x08, 0x3c, 0x9d, 0xb8, 0x21, 0xd1, 0xf9, 0x6c, 0x28, 0x13, 0x66, 0x27, - 0x6e, 0xe1, 0x28, 0x26, 0x90, 0xf1, 0x0a, 0x63, 0x7c, 0x8b, 0x2e, 0xb5, 0xc3, 0xb8, 0x39, 0x11, - 0xf9, 0xb9, 0xff, 0x48, 0x00, 0x9a, 0xae, 0x52, 0x0a, 0x23, 0xb4, 0x78, 0xa4, 0x14, 0x46, 0x78, - 0xa8, 0xe5, 0xdf, 0x66, 0x14, 0x4a, 0x74, 0xf9, 0x88, 0x49, 0x13, 0x77, 0x82, 0x8d, 0x7f, 0x97, - 0xfe, 0x4b, 0x20, 0x1f, 0x11, 0x3d, 0x7a, 0x25, 0x11, 0x62, 0xfc, 0x52, 0xc5, 0xcd, 0xb5, 0xae, - 0x88, 0x24, 0xd7, 0x19, 0x49, 0x95, 0x2a, 0x9d, 0x26, 0x19, 0x99, 0x44, 0xfa, 0x13, 0x81, 0xfe, - 0xa8, 0x9d, 0x24, 0xa5, 0x2c, 0x13, 0x96, 0xac, 0x94, 0xb2, 0x4c, 0x5a, 0x80, 0xf8, 0x6b, 0x8c, - 0xfc, 0x2c, 0xbd, 0x1c, 0x47, 0x3e, 0x31, 0x8b, 0x8d, 0x5a, 0x4c, 0x1c, 0xf2, 0x53, 0x6a, 0x31, - 0xcb, 0x1e, 0x93, 0x52, 0x8b, 0x99, 0x76, 0x8c, 0xf4, 0x5a, 0xf4, 0x98, 0x65, 0x4c, 0xa3, 0x45, - 0x7f, 0x20, 0x70, 0x3a, 0x30, 0x11, 0xd3, 0xa9, 0x44, 0xa0, 0x51, 0x0b, 0x03, 0x37, 0xdd, 0x8a, - 0x0a, 0x72, 0x59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b7, 0x83, 0x42, 0xee, 0xdd, 0x49, 0x55, 0xb3, 0xab, 0x1b, - 0x65, 0xa1, 0x62, 0xac, 0xbb, 0x36, 0x9c, 0x3f, 0x97, 0x2c, 0xf9, 0x8e, 0xb8, 0xe5, 0x19, 0xb4, - 0xb7, 0xeb, 0x8a, 0x55, 0xee, 0x65, 0xff, 0x20, 0x9a, 0xf9, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xab, - 0xd0, 0x80, 0x9c, 0xe4, 0x1a, 0x00, 0x00, + // 1313 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0x1b, 0x55, + 0x10, 0xf7, 0x4b, 0x42, 0x44, 0xa6, 0x6a, 0x55, 0x9e, 0x93, 0x10, 0xb6, 0xc1, 0x4e, 0x57, 0x21, + 0xa4, 0x69, 0xea, 0x25, 0x49, 0x49, 0x43, 0x89, 0x0a, 0x09, 0xa5, 0x25, 0xea, 0x81, 0xc4, 0x88, + 0xf0, 0x75, 0x88, 0xd6, 0xf6, 0x76, 0xbd, 0xc2, 0xd9, 0xe7, 0xee, 0x6e, 0xa2, 0x84, 0x28, 0x07, + 0x38, 0xc1, 0x0d, 0xc4, 0x09, 0xb8, 0xf4, 0x80, 0x84, 0x04, 0x47, 0xf8, 0x07, 0x38, 0x51, 0x6e, + 0x41, 0x70, 0x80, 0x4b, 0x41, 0x09, 0x87, 0x8a, 0x13, 0x37, 0xc4, 0xad, 0xf2, 0xdb, 0xd9, 0xf5, + 0x6e, 0xf6, 0xd3, 0x8e, 0xa3, 0xa8, 0x37, 0xfb, 0x79, 0x3e, 0x7e, 0xbf, 0x99, 0x37, 0xf3, 0x66, + 0x64, 0x10, 0xcb, 0xcc, 0x5c, 0x67, 0xa6, 0x64, 0x5a, 0xf2, 0xfb, 0x9a, 0xae, 0x4a, 0x9b, 0x53, + 0x25, 0xc5, 0x92, 0xa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 0x26, 0xa1, 0x16, 0x53, 0xed, 0x18, 0xc9, 0xb5, 0xe8, 0x32, 0x4b, 0x99, 0x46, 0x93, + 0xfe, 0x48, 0xe0, 0xb4, 0x6f, 0x22, 0xa6, 0x53, 0xb1, 0x40, 0xc3, 0x16, 0x06, 0x61, 0xba, 0x15, + 0x15, 0xe4, 0xb2, 0xc4, 0xb9, 0xbc, 0x42, 0x17, 0xda, 0xe1, 0x62, 0xf8, 0x10, 0xef, 0x11, 0xc8, + 0x86, 0x4c, 0x99, 0x09, 0x55, 0x18, 0x3d, 0x34, 0x0b, 0x73, 0xad, 0x2b, 0x22, 0xab, 0x1b, 0x9c, + 0xd5, 0xcb, 0xf4, 0x5a, 0x3b, 0xac, 0x3c, 0xef, 0xf3, 0x7d, 0x02, 0x34, 0xe8, 0x87, 0xce, 0xb6, + 0x08, 0xcc, 0x21, 0x74, 0xa5, 0x65, 0x3d, 0xe4, 0xf3, 0x16, 0xe7, 0xb3, 0x42, 0x5f, 0x3f, 0x1a, + 0x9f, 0xe0, 0xb3, 0xfe, 0x3d, 0x81, 0x33, 0xfe, 0x59, 0x90, 0xc6, 0xdf, 0xa2, 0xd0, 0x61, 0x55, + 0x98, 0x69, 0x49, 0x07, 0x49, 0xcd, 0x71, 0x52, 0xd3, 0xf4, 0xb9, 0x28, 0x52, 0x55, 0x57, 0x6f, + 0x4d, 0xd3, 0x6f, 0x33, 0x69, 0xc7, 0x1e, 0x81, 0x77, 0xe9, 0x87, 0x04, 0x7a, 0x1a, 0xc3, 0x25, + 0x1d, 0x8f, 0xf5, 0xeb, 0x99, 0x63, 0x85, 0x0b, 0x29, 0x24, 0x11, 0xd7, 0x28, 0xc7, 0x95, 0xa3, + 0xc3, 0x51, 0xb8, 0x1a, 0xb3, 0x2c, 0xfd, 0x84, 0x40, 0xaf, 0x3d, 0x79, 0xd2, 0x89, 0x78, 0xdb, + 0xde, 0x61, 0x57, 0xb8, 0x98, 0x4a, 0x16, 0x91, 0x8c, 0x71, 0x24, 0x23, 0x34, 0x17, 0x89, 0xc4, + 0x1e, 0x7d, 0x57, 0xef, 0xed, 0xe7, 0xc8, 0xde, 0x7e, 0x8e, 0xfc, 0xb5, 0x9f, 0x23, 0x9f, 0x1e, + 0xe4, 0x32, 0x7b, 0x07, 0xb9, 0xcc, 0xef, 0x07, 0xb9, 0xcc, 0xbb, 0xf3, 0xaa, 0x66, 0x55, 0x37, + 0x4a, 0x85, 0x32, 0x5b, 0x97, 0x4c, 0x45, 0xbb, 0xc4, 0xff, 0x01, 0x2a, 0xb3, 0x1a, 0xff, 0x52, + 0xae, 0xca, 0x9a, 0x6e, 0x7f, 0xb2, 0xcd, 0x6f, 0xb9, 0x0e, 0xac, 0xed, 0xba, 0x62, 0x96, 0x7a, + 0xb9, 0xf8, 0xcc, 0xc3, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x89, 0x7b, 0xe0, 0xf4, 0x1a, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/staking/types/staking.pb.go b/sei-cosmos/x/staking/types/staking.pb.go index 26227731b3..81193317a1 100644 --- a/sei-cosmos/x/staking/types/staking.pb.go +++ b/sei-cosmos/x/staking/types/staking.pb.go @@ -7,9 +7,6 @@ import ( bytes "bytes" compress_gzip "compress/gzip" fmt "fmt" - types2 "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types3 "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" proto "github.com/gogo/protobuf/proto" @@ -17,6 +14,9 @@ import ( _ "github.com/gogo/protobuf/types" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "github.com/regen-network/cosmos-proto" + types2 "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types3 "github.com/sei-protocol/sei-chain/sei-cosmos/types" types "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" io "io" io_ioutil "io/ioutil" @@ -135,11 +135,11 @@ func (m *HistoricalInfo) GetValset() []Validator { // a validator. type CommissionRates struct { // rate is the commission rate charged to delegators, as a fraction. - Rate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=rate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"rate"` + Rate github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,1,opt,name=rate,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"rate"` // max_rate defines the maximum commission rate which validator can ever charge, as a fraction. - MaxRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=max_rate,json=maxRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_rate" yaml:"max_rate"` + MaxRate github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=max_rate,json=maxRate,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_rate" yaml:"max_rate"` // max_change_rate defines the maximum daily increase of the validator commission, as a fraction. - MaxChangeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=max_change_rate,json=maxChangeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_change_rate" yaml:"max_change_rate"` + MaxChangeRate github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,3,opt,name=max_change_rate,json=maxChangeRate,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_change_rate" yaml:"max_change_rate"` } func (m *CommissionRates) Reset() { *m = CommissionRates{} } @@ -320,9 +320,9 @@ type Validator struct { // status is the validator status (bonded/unbonding/unbonded). Status BondStatus `protobuf:"varint,4,opt,name=status,proto3,enum=cosmos.staking.v1beta1.BondStatus" json:"status,omitempty"` // tokens define the delegated tokens (incl. self-delegation). - Tokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=tokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"tokens"` + Tokens github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,5,opt,name=tokens,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"tokens"` // delegator_shares defines total shares issued to a validator's delegators. - DelegatorShares github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=delegator_shares,json=delegatorShares,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"delegator_shares" yaml:"delegator_shares"` + DelegatorShares github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,6,opt,name=delegator_shares,json=delegatorShares,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"delegator_shares" yaml:"delegator_shares"` // description defines the description terms for the validator. Description Description `protobuf:"bytes,7,opt,name=description,proto3" json:"description"` // unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. @@ -332,7 +332,7 @@ type Validator struct { // commission defines the commission parameters. Commission Commission `protobuf:"bytes,10,opt,name=commission,proto3" json:"commission"` // min_self_delegation is the validator's self declared minimum self delegation. - MinSelfDelegation github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,11,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_self_delegation" yaml:"min_self_delegation"` + MinSelfDelegation github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,11,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"min_self_delegation" yaml:"min_self_delegation"` } func (m *Validator) Reset() { *m = Validator{} } @@ -592,7 +592,7 @@ type Delegation struct { // validator_address is the bech32-encoded address of the validator. ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"` // shares define the delegation shares received. - Shares github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=shares,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"shares"` + Shares github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,3,opt,name=shares,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"shares"` } func (m *Delegation) Reset() { *m = Delegation{} } @@ -677,9 +677,9 @@ type UnbondingDelegationEntry struct { // completion_time is the unix time for unbonding completion. CompletionTime time.Time `protobuf:"bytes,2,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time" yaml:"completion_time"` // initial_balance defines the tokens initially scheduled to receive at completion. - InitialBalance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=initial_balance,json=initialBalance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"initial_balance" yaml:"initial_balance"` + InitialBalance github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,3,opt,name=initial_balance,json=initialBalance,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"initial_balance" yaml:"initial_balance"` // balance defines the tokens to receive at completion. - Balance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"balance"` + Balance github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"balance"` } func (m *UnbondingDelegationEntry) Reset() { *m = UnbondingDelegationEntry{} } @@ -735,9 +735,9 @@ type RedelegationEntry struct { // completion_time defines the unix time for redelegation completion. CompletionTime time.Time `protobuf:"bytes,2,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time" yaml:"completion_time"` // initial_balance defines the initial balance when redelegation started. - InitialBalance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=initial_balance,json=initialBalance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"initial_balance" yaml:"initial_balance"` + InitialBalance github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,3,opt,name=initial_balance,json=initialBalance,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"initial_balance" yaml:"initial_balance"` // shares_dst is the amount of destination-validator shares created by redelegation. - SharesDst github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=shares_dst,json=sharesDst,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"shares_dst"` + SharesDst github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,4,opt,name=shares_dst,json=sharesDst,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"shares_dst"` } func (m *RedelegationEntry) Reset() { *m = RedelegationEntry{} } @@ -844,11 +844,11 @@ type Params struct { // bond_denom defines the bondable coin denomination. BondDenom string `protobuf:"bytes,5,opt,name=bond_denom,json=bondDenom,proto3" json:"bond_denom,omitempty" yaml:"bond_denom"` // min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators - MinCommissionRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=min_commission_rate,json=minCommissionRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_commission_rate" yaml:"min_commission_rate"` + MinCommissionRate github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,6,opt,name=min_commission_rate,json=minCommissionRate,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"min_commission_rate" yaml:"min_commission_rate"` // max_voting_power_ratio defines the maximal allowable voting power ratio delegated to a validator. - MaxVotingPowerRatio github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=max_voting_power_ratio,json=maxVotingPowerRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_voting_power_ratio" yaml:"max_voting_power_ratio"` + MaxVotingPowerRatio github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,7,opt,name=max_voting_power_ratio,json=maxVotingPowerRatio,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_voting_power_ratio" yaml:"max_voting_power_ratio"` // max_voting_power_enforcement_threshold defines the minimal bonded voting power of the max voting power ratio enforcement - MaxVotingPowerEnforcementThreshold github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,8,opt,name=max_voting_power_enforcement_threshold,json=maxVotingPowerEnforcementThreshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_voting_power_enforcement_threshold" yaml:"max_voting_power_enforcement_threshold"` + MaxVotingPowerEnforcementThreshold github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,8,opt,name=max_voting_power_enforcement_threshold,json=maxVotingPowerEnforcementThreshold,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"max_voting_power_enforcement_threshold" yaml:"max_voting_power_enforcement_threshold"` } func (m *Params) Reset() { *m = Params{} } @@ -975,8 +975,8 @@ func (m *DelegationResponse) GetBalance() types3.Coin { // contains a balance in addition to shares which is more suitable for client // responses. type RedelegationEntryResponse struct { - RedelegationEntry RedelegationEntry `protobuf:"bytes,1,opt,name=redelegation_entry,json=redelegationEntry,proto3" json:"redelegation_entry"` - Balance github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"balance"` + RedelegationEntry RedelegationEntry `protobuf:"bytes,1,opt,name=redelegation_entry,json=redelegationEntry,proto3" json:"redelegation_entry"` + Balance github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"balance"` } func (m *RedelegationEntryResponse) Reset() { *m = RedelegationEntryResponse{} } @@ -1077,8 +1077,8 @@ func (m *RedelegationResponse) GetEntries() []RedelegationEntryResponse { // Pool is used for tracking bonded and not-bonded token supply of the bond // denomination. type Pool struct { - NotBondedTokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=not_bonded_tokens,json=notBondedTokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"not_bonded_tokens"` - BondedTokens github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=bonded_tokens,json=bondedTokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"bonded_tokens" yaml:"bonded_tokens"` + NotBondedTokens github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,1,opt,name=not_bonded_tokens,json=notBondedTokens,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"not_bonded_tokens"` + BondedTokens github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,2,opt,name=bonded_tokens,json=bondedTokens,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"bonded_tokens" yaml:"bonded_tokens"` } func (m *Pool) Reset() { *m = Pool{} } @@ -1143,128 +1143,129 @@ func init() { } var fileDescriptor_64c30c6cf92913c9 = []byte{ - // 1923 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0x4f, 0x6c, 0x1b, 0x59, - 0x19, 0xf7, 0x24, 0x59, 0x27, 0xfe, 0x9c, 0xc6, 0xc9, 0x6b, 0x9a, 0x75, 0x4c, 0xd7, 0xe3, 0x1d, - 0x56, 0x25, 0xa0, 0xad, 0x43, 0xb3, 0x68, 0x11, 0xb9, 0x40, 0x1d, 0xa7, 0xc4, 0xda, 0x52, 0xc2, - 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 0x6e, 0x7d, 0xf2, 0xb8, 0xaa, 0x3c, - 0x7a, 0x5c, 0x55, 0xfe, 0xfe, 0xb8, 0xaa, 0x7c, 0xf0, 0xa4, 0x9a, 0x7b, 0xf4, 0xa4, 0x9a, 0xfb, - 0xf3, 0x93, 0x6a, 0xee, 0x07, 0xaf, 0x3f, 0xd5, 0x77, 0xe7, 0xf1, 0x1f, 0x35, 0xb8, 0x17, 0xdb, - 0x79, 0x7e, 0x0d, 0xbf, 0xf1, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x98, 0x72, 0x68, 0x52, 0xf3, - 0x18, 0x00, 0x00, + // 1946 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcd, 0x6f, 0x63, 0x57, + 0x15, 0xf7, 0x73, 0x52, 0x27, 0x3e, 0x4e, 0xe2, 0xe4, 0x4e, 0x26, 0x75, 0xcc, 0xd4, 0xcf, 0x7d, + 0x54, 0x25, 0x20, 0xc6, 0x61, 0x52, 0x34, 0x88, 0x08, 0x01, 0xe3, 0x38, 0x65, 0xa2, 0xa2, 0x21, + 0x7d, 0xc9, 0x44, 0x05, 0x06, 0xac, 0xeb, 0xf7, 0x6e, 0xec, 0xc7, 0xf8, 0xbd, 0x67, 0xbd, 0x7b, + 0x3d, 0x8d, 0x57, 0x14, 0x89, 0xc5, 0x30, 0x74, 0x51, 0x76, 0x65, 0x31, 0x52, 0xa4, 0x2e, 0xd8, + 0xa0, 0x8a, 0x05, 0x62, 0xcb, 0xb6, 0xb0, 0x1a, 0x76, 0x08, 0x90, 0xa9, 0x66, 0x36, 0xa8, 0x0b, + 0x84, 0xfc, 0x17, 0xa0, 0xfb, 0xf1, 0x3e, 0xf2, 0x1c, 0x77, 0xa6, 0x72, 0x90, 0x2a, 0xd1, 0x4d, + 0xe4, 0x7b, 0xee, 0x39, 0xbf, 0x73, 0xcf, 0xc7, 0x3d, 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 0xae, 0x67, + 0xec, 0x14, 0x0d, 0xf5, 0xbe, 0x84, 0x4a, 0xce, 0x02, 0xc8, 0x07, 0x66, 0x29, 0xa6, 0x8a, 0x17, + 0xe6, 0x67, 0x1a, 0x14, 0x1d, 0xcf, 0x61, 0x0e, 0xee, 0x36, 0x5b, 0xb8, 0x8b, 0x3d, 0xeb, 0x22, + 0x1a, 0x71, 0xf9, 0x26, 0xa8, 0x73, 0xa4, 0xe0, 0x0d, 0x73, 0x49, 0x51, 0xea, 0x92, 0x80, 0xde, + 0x80, 0xb9, 0x50, 0xf5, 0xec, 0x85, 0x34, 0x30, 0x21, 0x5c, 0xa2, 0x87, 0x7c, 0x7f, 0x06, 0x56, + 0x4c, 0x62, 0x7f, 0x16, 0xab, 0x29, 0x63, 0xf5, 0x23, 0x00, 0x59, 0x20, 0x78, 0x89, 0xbe, 0x80, + 0x70, 0xf1, 0x92, 0x93, 0x97, 0x88, 0x0d, 0xca, 0x92, 0x4d, 0x7f, 0x16, 0x16, 0x92, 0x01, 0xfb, + 0x3f, 0x7d, 0xe7, 0xd0, 0x5e, 0x5c, 0xcb, 0x66, 0x45, 0x2d, 0xfb, 0xe2, 0xa4, 0x5a, 0x36, 0x96, + 0xde, 0x1f, 0x5f, 0xc4, 0x7e, 0x33, 0x07, 0xb9, 0x7d, 0x1c, 0x60, 0x97, 0x22, 0x6b, 0xac, 0x99, + 0x95, 0xf3, 0xee, 0xfa, 0x58, 0x02, 0x37, 0xd4, 0x77, 0x96, 0xa7, 0xf4, 0xb2, 0xef, 0x9e, 0xd3, + 0xcb, 0x7e, 0x1b, 0x96, 0xf8, 0x48, 0x1e, 0xd9, 0x28, 0xbd, 0xbd, 0x58, 0x5f, 0x8f, 0x51, 0xce, + 0xee, 0xcb, 0x89, 0x3d, 0x1a, 0xfc, 0x28, 0xfa, 0x1a, 0x14, 0x38, 0x47, 0x5c, 0xda, 0xb9, 0xf8, + 0x5a, 0x3c, 0x1a, 0x27, 0x36, 0x0d, 0x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3, 0x23, 0x07, 0x1a, 0x1a, 0x00, 0x00, } func (this *Pool) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { @@ -1273,777 +1274,778 @@ func (this *Pool) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_ func StakingDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{} var gzipped = []byte{ - // 12309 bytes of a gzipped FileDescriptorSet - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0xbd, 0x6b, 0x94, 0x5b, 0xd7, - 0x75, 0x18, 0x3c, 0x17, 0x6f, 0xec, 0x79, 0xdd, 0x39, 0x33, 0x24, 0x41, 0x90, 0x9c, 0x19, 0x5d, - 0x49, 0x14, 0x45, 0x89, 0x43, 0x91, 0x12, 0x29, 0x72, 0xe4, 0x58, 0x01, 0x06, 0xe0, 0x10, 0xd4, - 0xbc, 0x7c, 0x81, 0xa1, 0x24, 0xc7, 0xf9, 0xee, 0xba, 0x03, 0x9c, 0xc1, 0x5c, 0x11, 0xb8, 0x17, - 0xc6, 0xbd, 0xa0, 0x38, 0x72, 0x92, 0x25, 0x3b, 0xfe, 0xfc, 0xc9, 0xf2, 0xe7, 0x2f, 0xf6, 0xe7, - 0xac, 0x44, 0x76, 0x42, 0xc7, 0x8f, 0x34, 0x4e, 0x1d, 0xa7, 0x71, 0x12, 0x37, 0x6d, 0xd2, 0xae, - 0x95, 0xa4, 0x6b, 0xa5, 0x49, 0xdc, 0xa4, 0xcb, 0x6e, 0xd3, 0x36, 0xcd, 0x4a, 0xe9, 0xd6, 0xf1, - 0x8a, 0x65, 0xc7, 0x6d, 0x1c, 0xc6, 0x6d, 0xd3, 0xe5, 0xb6, 0xee, 0x3a, 0xaf, 0xfb, 0x02, 0x30, - 0xc0, 0x50, 0x94, 0xa3, 0x34, 0x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 0xdd, 0x4c, 0x74, 0x3e, - 0x7a, 0x22, 0xad, 0xfa, 0x20, 0xe8, 0x21, 0x98, 0x6a, 0x75, 0xb6, 0x1a, 0x46, 0x55, 0xf3, 0xa1, - 0xc1, 0x7c, 0xf4, 0x44, 0x5c, 0x95, 0x59, 0x45, 0xc1, 0x43, 0x7e, 0x00, 0x26, 0x9f, 0xc7, 0xfa, - 0x35, 0x3f, 0xea, 0x28, 0x45, 0x9d, 0x20, 0xe0, 0x42, 0x80, 0xab, 0xd5, 0x72, 0x0c, 0xcb, 0xf4, - 0xa3, 0x4e, 0xd2, 0xc6, 0x65, 0x56, 0xe1, 0x43, 0x5e, 0x82, 0xb1, 0x26, 0xb6, 0x6d, 0xbd, 0x8e, - 0x35, 0x67, 0xb7, 0x85, 0x33, 0x31, 0x3a, 0x4e, 0xf3, 0x5d, 0xe3, 0x14, 0x1e, 0xa3, 0x51, 0x4e, - 0x55, 0xd9, 0x6d, 0x61, 0x94, 0x83, 0x34, 0x36, 0x3b, 0x4d, 0xc6, 0x21, 0xde, 0x67, 0xa4, 0x8b, - 0x66, 0xa7, 0x19, 0xe6, 0x92, 0x22, 0x64, 0x9c, 0x45, 0xd2, 0xc6, 0xed, 0xeb, 0x46, 0x15, 0x67, - 0x12, 0x94, 0xc1, 0x03, 0x5d, 0x0c, 0xca, 0xac, 0x3e, 0xcc, 0x43, 0xd0, 0xa1, 0x25, 0x48, 0xbb, - 0xe3, 0x9d, 0x49, 0x52, 0x26, 0xf7, 0xf7, 0xb0, 0x37, 0xdc, 0xa8, 0x85, 0x59, 0x78, 0x74, 0xe8, - 0x3c, 0x24, 0x99, 0x8e, 0xec, 0x4c, 0x6a, 0x5e, 0x3a, 0x31, 0x7a, 0xf6, 0x68, 0x4f, 0x93, 0x5d, - 0x67, 0x38, 0xaa, 0x40, 0x46, 0x25, 0x90, 0x6d, 0xab, 0xd3, 0xae, 0x62, 0xad, 0x6a, 0xd5, 0xb0, - 0x66, 0x98, 0xdb, 0x56, 0x26, 0x4d, 0x19, 0xcc, 0x75, 0x77, 0x84, 0x22, 0x2e, 0x59, 0x35, 0x5c, - 0x32, 0xb7, 0x2d, 0x75, 0xc2, 0x0e, 0x94, 0xd1, 0x41, 0x48, 0xd8, 0xbb, 0xa6, 0xa3, 0xdf, 0xc8, - 0x8c, 0x51, 0x73, 0xe2, 0x25, 0x74, 0x16, 0x92, 0xb8, 0x66, 0x90, 0xe6, 0x32, 0x13, 0xf3, 0xd2, - 0x89, 0x89, 0xb3, 0x99, 0x6e, 0x1d, 0xb3, 0x7a, 0x55, 0x20, 0x2a, 0xff, 0x3d, 0x01, 0x93, 0xc3, - 0xd8, 0xf0, 0x13, 0x10, 0xdf, 0x26, 0x9a, 0xc9, 0x44, 0xf6, 0xa3, 0x37, 0x46, 0x13, 0x54, 0x7c, - 0xe2, 0x0e, 0x15, 0x9f, 0x83, 0x51, 0x13, 0xdb, 0x0e, 0xae, 0x31, 0x2b, 0x8a, 0x0e, 0x69, 0x87, - 0xc0, 0x88, 0xba, 0xcd, 0x30, 0x76, 0x47, 0x66, 0xf8, 0x0c, 0x4c, 0xba, 0x22, 0x69, 0x6d, 0xdd, - 0xac, 0x0b, 0x7b, 0x3e, 0x3d, 0x48, 0x92, 0x05, 0x37, 0x78, 0xa8, 0x84, 0x4c, 0x9d, 0xc0, 0x81, - 0x32, 0x2a, 0x00, 0x58, 0x26, 0xb6, 0xb6, 0xb5, 0x1a, 0xae, 0x36, 0x32, 0xa9, 0x3e, 0x5a, 0x5a, - 0x27, 0x28, 0x5d, 0x5a, 0xb2, 0x18, 0xb4, 0xda, 0x40, 0x17, 0x3d, 0xf3, 0x4c, 0xf6, 0xb1, 0xae, - 0x55, 0xe6, 0x98, 0x5d, 0x16, 0xba, 0x09, 0x13, 0x6d, 0x4c, 0x7c, 0x05, 0xd7, 0x78, 0xcf, 0xd2, - 0x54, 0x88, 0x85, 0x81, 0x3d, 0x53, 0x39, 0x19, 0xeb, 0xd8, 0x78, 0xdb, 0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 0xa3, 0x44, 0x6f, 0xe6, 0xaa, 0x89, - 0x53, 0x0e, 0x27, 0x87, 0xe3, 0x40, 0xe2, 0x2b, 0x57, 0xe3, 0x11, 0x48, 0x93, 0xff, 0x99, 0xde, - 0x13, 0x4c, 0xef, 0x04, 0x40, 0xf5, 0x9e, 0x85, 0x14, 0x0d, 0x9d, 0x35, 0xec, 0x8e, 0x89, 0x28, - 0x93, 0x60, 0x53, 0xc3, 0xdb, 0x7a, 0xa7, 0xe1, 0x68, 0xd7, 0xf5, 0x46, 0x07, 0xd3, 0x20, 0x98, - 0x56, 0xc7, 0x38, 0xf0, 0x2a, 0x81, 0xa1, 0x39, 0x18, 0x65, 0x91, 0xd6, 0x30, 0x6b, 0xf8, 0x06, - 0x9d, 0x85, 0xe3, 0x2a, 0x0b, 0xbe, 0x25, 0x02, 0x21, 0xcd, 0x3f, 0x67, 0x5b, 0xa6, 0x08, 0x57, - 0xb4, 0x09, 0x02, 0xa0, 0xcd, 0x3f, 0x1e, 0x4e, 0x00, 0x8e, 0xf5, 0xee, 0x5e, 0x57, 0x7c, 0x7d, - 0x00, 0x26, 0x29, 0xc6, 0xa3, 0xdc, 0x95, 0xf5, 0x46, 0x66, 0x8a, 0x9a, 0xc1, 0x04, 0x03, 0xaf, - 0x73, 0xa8, 0xf2, 0x2b, 0x11, 0x88, 0xd1, 0xc9, 0x66, 0x12, 0x46, 0x2b, 0xcf, 0x6e, 0x14, 0xb5, - 0xc2, 0xfa, 0x66, 0x7e, 0xa5, 0x28, 0x4b, 0x64, 0xe8, 0x29, 0xe0, 0xd2, 0xca, 0x7a, 0xae, 0x22, - 0x47, 0xdc, 0x72, 0x69, 0xad, 0x72, 0xfe, 0x31, 0x39, 0xea, 0x12, 0x6c, 0x32, 0x40, 0xcc, 0x8f, - 0xf0, 0xe8, 0x59, 0x39, 0x8e, 0x64, 0x18, 0x63, 0x0c, 0x4a, 0xcf, 0x14, 0x0b, 0xe7, 0x1f, 0x93, - 0x13, 0x41, 0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83, 0xfd, 0xfe, 0xae, 0x84, 0x80, 0xe5, - 0x4c, 0xe7, 0x87, 0xc9, 0x99, 0x28, 0x6c, 0x7f, 0x89, 0x41, 0x7c, 0x60, 0x62, 0x90, 0xb8, 0x93, - 0xc4, 0xe0, 0x09, 0x98, 0xea, 0x92, 0x65, 0xe8, 0x09, 0xfa, 0x87, 0x25, 0xc8, 0xf4, 0xd3, 0xef, - 0x80, 0xa8, 0x1a, 0x09, 0x44, 0xd5, 0x27, 0xc2, 0x83, 0x70, 0x4f, 0xff, 0x71, 0xec, 0x32, 0x97, - 0x4f, 0x49, 0x70, 0xb0, 0xf7, 0xea, 0xa6, 0xa7, 0x0c, 0x6f, 0x86, 0x44, 0x13, 0x3b, 0x3b, 0x96, - 0xc8, 0xd6, 0x8f, 0xf7, 0xc8, 0x01, 0x49, 0x75, 0xd8, 0x5e, 0x38, 0x95, 0x3f, 0x89, 0x8c, 0xf6, - 0x5b, 0xa2, 0x30, 0x69, 0xba, 0x24, 0x7d, 0x6f, 0x04, 0x0e, 0xf4, 0x64, 0xde, 0x53, 0xd0, 0x63, - 0x00, 0x86, 0xd9, 0xea, 0x38, 0x2c, 0x23, 0x67, 0xc1, 0x3c, 0x4d, 0x21, 0x34, 0xfe, 0x91, 0x40, - 0xdd, 0x71, 0xdc, 0x7a, 0x36, 0xd1, 0x02, 0x03, 0x51, 0x84, 0x0b, 0x9e, 0xa0, 0x31, 0x2a, 0xe8, - 0x6c, 0x9f, 0x9e, 0x76, 0xd9, 0xf6, 0x23, 0x20, 0x57, 0x1b, 0x06, 0x36, 0x1d, 0xcd, 0x76, 0xda, - 0x58, 0x6f, 0x1a, 0x66, 0x9d, 0x4d, 0xd8, 0x8b, 0xf1, 0x6d, 0xbd, 0x61, 0x63, 0x75, 0x92, 0x55, - 0x97, 0x45, 0x2d, 0xa1, 0xa0, 0x06, 0xd4, 0xf6, 0x51, 0x24, 0x02, 0x14, 0xac, 0xda, 0xa5, 0x50, - 0x7e, 0x3e, 0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 0x28, 0x47, - 0xc8, 0xa4, 0xca, 0xcd, 0xd1, 0x3d, 0x9c, 0x8e, 0x2a, 0x8f, 0x43, 0x4a, 0x04, 0x33, 0xb2, 0x50, - 0xa3, 0xeb, 0xad, 0xd0, 0x32, 0x31, 0x05, 0x34, 0x92, 0xc9, 0x12, 0x11, 0x90, 0x45, 0x38, 0x39, - 0xa2, 0x5c, 0x85, 0x03, 0x3d, 0x03, 0x11, 0xba, 0x17, 0xe6, 0xc4, 0x81, 0x38, 0x5b, 0x02, 0x6a, - 0xc5, 0xb5, 0xa5, 0xf5, 0x02, 0x59, 0x34, 0x7b, 0x3c, 0x01, 0x78, 0x44, 0x62, 0x52, 0x8a, 0x68, - 0x25, 0x47, 0x94, 0x12, 0x4c, 0x04, 0xc3, 0x09, 0x3a, 0x02, 0x87, 0x36, 0x2b, 0x97, 0x2e, 0x68, - 0x57, 0x73, 0x2b, 0xa5, 0x42, 0x2e, 0xb4, 0x3c, 0x06, 0xe0, 0x31, 0x45, 0x8e, 0x10, 0x41, 0x49, - 0xac, 0x91, 0xa3, 0x4a, 0x2c, 0x25, 0xc9, 0x92, 0x52, 0x86, 0xc9, 0x50, 0x60, 0x40, 0x47, 0x21, - 0xc3, 0xd7, 0xab, 0xbd, 0xa4, 0xa2, 0x1a, 0x0a, 0x84, 0x0a, 0xb6, 0x72, 0x2f, 0x14, 0x57, 0x4a, - 0xab, 0xa5, 0x0a, 0x95, 0xef, 0x32, 0x80, 0xe7, 0xf1, 0x24, 0x83, 0xb9, 0x52, 0x5e, 0x5f, 0xd3, - 0x2e, 0x91, 0x65, 0x7f, 0xc5, 0xc7, 0x2a, 0x0d, 0xcc, 0xc3, 0x65, 0x89, 0xac, 0x4e, 0xbb, 0xc3, - 0x80, 0x1c, 0x51, 0x9e, 0x06, 0xd4, 0xed, 0xad, 0x68, 0x1e, 0x8e, 0x16, 0xd7, 0x2e, 0xad, 0xab, - 0x4b, 0x45, 0x6d, 0x2d, 0xb7, 0x4a, 0xe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b, 0x6d, 0x03, - 0xf7, 0x90, 0x38, 0x01, 0x2f, 0x53, 0x16, 0xfa, 0x8d, 0x00, 0x8b, 0xf8, 0x40, 0x16, 0x8c, 0x80, - 0x97, 0xb3, 0x7f, 0x25, 0x41, 0xa6, 0x9f, 0xb0, 0x77, 0xb4, 0x0d, 0xb8, 0x06, 0x33, 0xd6, 0x75, - 0xdc, 0x6e, 0x1b, 0x35, 0x7a, 0xb2, 0xe7, 0x2e, 0x0e, 0x62, 0x83, 0x17, 0x07, 0xd3, 0x3e, 0x42, - 0x77, 0x50, 0xf3, 0x24, 0x87, 0xbb, 0x41, 0xd2, 0x17, 0xc1, 0x29, 0x3e, 0x98, 0xd3, 0x38, 0x25, - 0x11, 0x3c, 0xae, 0x10, 0x27, 0x25, 0xeb, 0xf1, 0x88, 0x1c, 0xf5, 0x56, 0x20, 0xca, 0x47, 0xa3, - 0x30, 0x11, 0xbc, 0xae, 0x8c, 0x0a, 0x90, 0x6a, 0x58, 0xfc, 0x1e, 0x1f, 0x1b, 0xed, 0x13, 0x03, - 0x6e, 0x38, 0x2f, 0xac, 0x70, 0x7c, 0xd5, 0xa5, 0xcc, 0xfe, 0x73, 0x09, 0x52, 0x02, 0x8c, 0x0e, - 0x42, 0xac, 0xa5, 0x3b, 0x3b, 0x94, 0x5d, 0x3c, 0x1f, 0x91, 0x25, 0x95, 0x96, 0x09, 0xdc, 0x6e, - 0xe9, 0xec, 0x0e, 0x23, 0x87, 0x93, 0x32, 0x59, 0x05, 0x34, 0xb0, 0x5e, 0xa3, 0x67, 0xd2, 0x56, - 0xb3, 0x89, 0x4d, 0xc7, 0x16, 0xab, 0x00, 0x0e, 0x5f, 0xe2, 0x60, 0xf4, 0x10, 0x4c, 0x39, 0x6d, - 0xdd, 0x68, 0x04, 0x70, 0x63, 0x14, 0x57, 0x16, 0x15, 0x2e, 0xf2, 0x22, 0x1c, 0x16, 0x7c, 0x6b, - 0xd8, 0xd1, 0xab, 0x3b, 0xb8, 0xe6,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0x1b, 0x4f, 0xc7, 0xb1, 0x3b, 0xd1, - 0xf1, 0x35, 0x1a, 0x18, 0x42, 0xba, 0x74, 0x37, 0xbc, 0x56, 0xbb, 0x9f, 0x83, 0x49, 0xfb, 0xf8, - 0xd6, 0x4e, 0xe8, 0xd1, 0x97, 0xf2, 0x15, 0x09, 0xc6, 0x57, 0xed, 0xfa, 0xa6, 0x59, 0xfb, 0xdf, - 0xda, 0x6e, 0xb7, 0xe1, 0x40, 0xa0, 0x97, 0xaf, 0x93, 0x3a, 0xcf, 0x7e, 0x24, 0x06, 0xd1, 0x55, - 0xbb, 0x8e, 0xde, 0x0e, 0x93, 0xe1, 0x44, 0xa1, 0x6f, 0xfe, 0xd7, 0x3d, 0x0b, 0xf4, 0x5f, 0xa3, - 0xf5, 0x9f, 0x31, 0xd0, 0x35, 0x18, 0x0f, 0xce, 0x16, 0x27, 0xf6, 0x60, 0x12, 0xc0, 0xcc, 0x3e, - 0x32, 0x2c, 0xa6, 0xdb, 0xd8, 0xdb, 0x20, 0xe5, 0x06, 0xba, 0x7b, 0xf7, 0xa0, 0x16, 0x48, 0xfd, - 0x33, 0xda, 0x1e, 0xe1, 0x84, 0x68, 0x2f, 0x1c, 0x4a, 0xf6, 0xd2, 0x5e, 0x08, 0x77, 0x4f, 0xed, - 0xf5, 0x73, 0xab, 0x2d, 0x00, 0x9f, 0x0f, 0xdc, 0xbf, 0x07, 0x07, 0x0f, 0x2d, 0x7b, 0x6a, 0x28, - 0x34, 0xf7, 0xa0, 0xe9, 0x2e, 0x27, 0xe0, 0xff, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x28, 0x09, - 0xfd, 0x49, 0xb6, 0x00, 0x00, + // 12325 bytes of a gzipped FileDescriptorSet + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x7d, 0x6b, 0x90, 0x5b, 0xe7, + 0x75, 0xd8, 0x5e, 0xbc, 0x71, 0xf6, 0x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xb3, 0x1d, 0x76, 0x0a, 0xda, 0x68, 0x98, 0x53, 0x95, 0x76, 0x9a, 0x18, 0x65, + 0x20, 0x89, 0x8d, 0x76, 0x83, 0x71, 0x88, 0xf6, 0xb0, 0x74, 0xde, 0x68, 0x37, 0x82, 0x5c, 0x12, + 0x84, 0x8c, 0xb3, 0x88, 0x5b, 0xb8, 0x75, 0x55, 0xaf, 0xe0, 0x54, 0x8c, 0x32, 0x78, 0xb0, 0x83, + 0x41, 0x91, 0xd5, 0x07, 0x79, 0x08, 0x3a, 0xb4, 0x08, 0x49, 0xc7, 0xde, 0xa9, 0x38, 0x65, 0x72, + 0x7f, 0x17, 0x7f, 0xc3, 0xf5, 0x6a, 0x90, 0x85, 0x4b, 0x87, 0x4e, 0x43, 0x9c, 0xe9, 0xc8, 0x4a, + 0x25, 0x66, 0xa5, 0xa3, 0xc3, 0xf3, 0x87, 0xbb, 0xba, 0xec, 0x1a, 0xc3, 0x51, 0x05, 0x32, 0x2a, + 0x80, 0x6c, 0x99, 0xed, 0x56, 0x05, 0x97, 0x2b, 0x66, 0x15, 0x97, 0x75, 0x63, 0xcb, 0x4c, 0x25, + 0x29, 0x83, 0x99, 0xce, 0x8e, 0x50, 0xc4, 0x45, 0xb3, 0x8a, 0x0b, 0xc6, 0x96, 0xa9, 0x8e, 0x59, + 0xbe, 0x32, 0xda, 0x0f, 0x31, 0x6b, 0xc7, 0xb0, 0xb5, 0x6b, 0xa9, 0x11, 0xea, 0x4e, 0xbc, 0x84, + 0xe6, 0x21, 0x8e, 0xab, 0x3a, 0x69, 0x2e, 0x35, 0x36, 0x2b, 0x1d, 0x1d, 0x9b, 0x4f, 0x75, 0xea, + 0x98, 0xd5, 0xab, 0x02, 0x51, 0xf9, 0xdf, 0x31, 0x18, 0x1f, 0xc4, 0x87, 0xcf, 0x41, 0x74, 0x8b, + 0x68, 0x26, 0x15, 0xda, 0x8b, 0xde, 0x18, 0x8d, 0x5f, 0xf1, 0xb1, 0x5b, 0x54, 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 0x7a, 0xc5, 0xb6, 0x68, 0xec, 0x60, 0xf1, 0x4f, 0x71, + 0x29, 0x96, 0x29, 0xc1, 0x45, 0xcb, 0x34, 0x68, 0x8a, 0xbf, 0x28, 0xb0, 0x7d, 0x6e, 0x33, 0xf2, + 0x96, 0x70, 0x1b, 0xbf, 0xe9, 0x23, 0x72, 0xf4, 0x62, 0x24, 0x11, 0x95, 0x63, 0x17, 0x23, 0x89, + 0x98, 0x1c, 0xbf, 0x18, 0x49, 0x24, 0xe4, 0xe4, 0xc5, 0x48, 0x22, 0x29, 0x83, 0x72, 0x7d, 0x14, + 0x46, 0xbc, 0x2b, 0x16, 0xb2, 0x00, 0xac, 0xd0, 0x09, 0x57, 0xa2, 0x21, 0xf9, 0xde, 0x5d, 0xd7, + 0x37, 0x73, 0x8b, 0x64, 0x26, 0x5e, 0x88, 0xb1, 0xe5, 0x81, 0xca, 0x28, 0x49, 0x16, 0x44, 0x06, + 0x19, 0x66, 0xb9, 0x54, 0x42, 0xe5, 0x25, 0xb4, 0x04, 0xb1, 0xe7, 0x2d, 0xca, 0x9b, 0xa5, 0x72, + 0xf7, 0xed, 0xce, 0xfb, 0x62, 0x91, 0x32, 0x4f, 0x5e, 0x2c, 0x96, 0x57, 0xd7, 0xd4, 0x95, 0xcc, + 0xb2, 0xca, 0xc9, 0xd1, 0x41, 0x88, 0xd4, 0xb5, 0x17, 0x77, 0xfc, 0x73, 0x36, 0x05, 0xa1, 0x39, + 0x18, 0x6f, 0x1b, 0x6c, 0xb9, 0x4f, 0x6c, 0x4c, 0xb0, 0xc6, 0xbd, 0x58, 0x63, 0x6e, 0xed, 0x32, + 0xc1, 0x1f, 0xd0, 0xaf, 0x0e, 0x42, 0xe4, 0x05, 0xac, 0x5d, 0xf1, 0xcf, 0xac, 0x14, 0x84, 0x8e, + 0xc2, 0x48, 0x15, 0x6f, 0xb6, 0x6b, 0xe5, 0x16, 0xae, 0x6a, 0x15, 0xdb, 0x3f, 0x9f, 0x0c, 0xd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9, 0xe5, + 0x9c, 0x1c, 0x09, 0x82, 0xd7, 0x56, 0xf3, 0x6b, 0xe7, 0xe5, 0x68, 0xb0, 0x75, 0xba, 0x73, 0x13, + 0x43, 0x69, 0xd8, 0x1f, 0x84, 0x96, 0xf3, 0xab, 0x25, 0xf5, 0x59, 0x39, 0x1e, 0x6c, 0xb8, 0x98, + 0x57, 0x2f, 0x15, 0x16, 0xf3, 0x72, 0x02, 0xed, 0x07, 0xe4, 0x97, 0xa8, 0x74, 0x61, 0x2d, 0x27, + 0x27, 0xbb, 0xcd, 0x58, 0x48, 0x9e, 0x54, 0x7e, 0x41, 0x82, 0x11, 0xef, 0x2e, 0x8a, 0x2f, 0xa8, + 0x48, 0x6f, 0xb5, 0xc9, 0x56, 0xf9, 0x52, 0x08, 0x86, 0x3d, 0xdb, 0x29, 0x64, 0x11, 0xab, 0xd5, + 0xeb, 0xe6, 0x0b, 0x65, 0xad, 0xae, 0x6b, 0x16, 0x9f, 0x0f, 0x81, 0x82, 0x32, 0x04, 0x32, 0xe8, + 0xfc, 0x33, 0x78, 0xea, 0x12, 0xbb, 0xe5, 0xd4, 0x25, 0xfe, 0x16, 0x4c, 0x5d, 0xa2, 0x72, 0x4c, + 0xf9, 0xfd, 0x10, 0xc8, 0xc1, 0xdd, 0x91, 0x80, 0xde, 0xa4, 0x5e, 0x7a, 0xf3, 0xf6, 0x2f, 0xb4, + 0x97, 0xfe, 0x05, 0x67, 0xf5, 0x70, 0xcf, 0x59, 0xbd, 0xcb, 0x64, 0x15, 0x79, 0x2b, 0x4f, 0x56, + 0x5e, 0x77, 0xfd, 0x77, 0x12, 0x8c, 0xf9, 0x37, 0x73, 0x7c, 0x1a, 0x53, 0xf6, 0xa2, 0x31, 0xbf, + 0x45, 0xee, 0xe9, 0x65, 0x91, 0xef, 0x4a, 0xbf, 0x3e, 0x16, 0x86, 0x51, 0xdf, 0xde, 0xcf, 0xa0, + 0xd2, 0xbd, 0x13, 0x26, 0xf4, 0x2a, 0x6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7c, 0x3d, 0x8e, 0x62, + 0x04, 0x5c, 0x33, 0xd3, 0x63, 0xe4, 0xff, 0x25, 0xd3, 0xa9, 0xbc, 0x37, 0xf1, 0x67, 0x71, 0x04, + 0x04, 0xd8, 0xdc, 0xb1, 0xb7, 0x4d, 0x23, 0x8d, 0xc8, 0xef, 0x75, 0xfa, 0xdb, 0x83, 0xf4, 0x81, + 0x55, 0x8e, 0x44, 0x06, 0xff, 0x63, 0x1c, 0x89, 0xfe, 0x16, 0x48, 0xc7, 0x62, 0x89, 0x0f, 0xad, + 0xca, 0x1f, 0x59, 0x3d, 0x16, 0x4b, 0x7c, 0x64, 0x55, 0xfe, 0xe8, 0xea, 0xc5, 0x58, 0xe2, 0xab, + 0x71, 0xf9, 0x8d, 0xb8, 0xf2, 0xcd, 0x30, 0x20, 0x37, 0x54, 0x38, 0xbb, 0x80, 0x97, 0x21, 0xe1, + 0x6c, 0x2b, 0xb2, 0x7b, 0xde, 0x6f, 0xdb, 0x25, 0xc2, 0x08, 0x32, 0x0f, 0x28, 0xb0, 0xcd, 0xe8, + 0x70, 0x43, 0x19, 0x18, 0x6f, 0xe8, 0x86, 0xde, 0x68, 0x37, 0xca, 0x62, 0xaf, 0xad, 0xef, 0x1e, + 0x12, 0x27, 0xe0, 0x65, 0xca, 0x42, 0xbb, 0xe6, 0x63, 0x11, 0xed, 0xcb, 0x82, 0x11, 0xf0, 0x72, + 0xfa, 0x2f, 0x25, 0x48, 0xf5, 0x12, 0xf6, 0x96, 0xb6, 0x01, 0x57, 0x61, 0xca, 0xbc, 0x8a, 0x5b, + 0x2d, 0xbd, 0x4a, 0x4f, 0xf6, 0x9c, 0xc5, 0x41, 0xa4, 0xff, 0xe2, 0x60, 0xd2, 0x43, 0xe8, 0x18, + 0x35, 0x4b, 0x72, 0xb8, 0x6b, 0x24, 0x7d, 0x11, 0x9c, 0xa2, 0xfd, 0x39, 0x8d, 0x52, 0x12, 0xc1, + 0xe3, 0x22, 0x19, 0xa4, 0x64,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, 0x40, 0x85, 0x7f, 0x98, 0x93, 0x32, 0xfc, 0x85, 0x45, 0x18, 0xf6, 0x64, 0x27, 0xfd, 0xc9, + 0xff, 0x0e, 0x27, 0xf7, 0x52, 0x11, 0xd1, 0x79, 0x76, 0xd2, 0x9f, 0xc1, 0xdf, 0x15, 0xa2, 0x73, + 0x0a, 0xa2, 0x36, 0x91, 0x98, 0xf4, 0xa7, 0xfe, 0x88, 0xd0, 0xba, 0x20, 0x59, 0x78, 0x12, 0x92, + 0xce, 0x64, 0xd3, 0x9f, 0xfe, 0xa3, 0x9c, 0xde, 0xa5, 0x21, 0x1a, 0xf0, 0x4c, 0x76, 0xfd, 0x59, + 0xfc, 0x88, 0xd0, 0x80, 0x87, 0x8a, 0x0c, 0xa3, 0x60, 0x02, 0xd3, 0x9f, 0xd3, 0x8f, 0x8a, 0x61, + 0x14, 0xc8, 0x5f, 0x88, 0x35, 0x69, 0xcc, 0xef, 0xcf, 0xe2, 0xc7, 0x84, 0x35, 0x29, 0x3e, 0x11, + 0x23, 0x98, 0x11, 0xf4, 0xe7, 0xf1, 0x13, 0x42, 0x8c, 0x40, 0x42, 0xb0, 0xb0, 0x0e, 0xa8, 0x33, + 0x1b, 0xe8, 0xcf, 0xef, 0x55, 0xce, 0x6f, 0xa2, 0x23, 0x19, 0x58, 0x78, 0x06, 0xf6, 0x77, 0xcf, + 0x04, 0xfa, 0x73, 0xfd, 0xd8, 0x9b, 0x81, 0xb5, 0x9b, 0x37, 0x11, 0x58, 0x28, 0xb9, 0x53, 0x8a, + 0x37, 0x0b, 0xe8, 0xcf, 0xf6, 0xb5, 0x37, 0xfd, 0x81, 0xdb, 0x9b, 0x04, 0x2c, 0x64, 0x00, 0xdc, + 0x09, 0xb8, 0x3f, 0xaf, 0x9f, 0xe2, 0xbc, 0x3c, 0x44, 0x64, 0x68, 0xf0, 0xf9, 0xb7, 0x3f, 0xfd, + 0x75, 0x31, 0x34, 0x38, 0x05, 0x19, 0x1a, 0x62, 0xea,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81, 0x08, 0x71, 0x08, 0x7e, 0x25, 0x3d, 0xdd, 0xb1, 0x15, 0xe1, 0x64, 0x7b, 0xd9, + 0x04, 0x69, 0xf8, 0x23, 0x7f, 0x34, 0x23, 0xa9, 0x94, 0x02, 0x2d, 0xc2, 0x68, 0x5d, 0xb3, 0xec, + 0x32, 0x1d, 0x34, 0xa4, 0xf9, 0x28, 0x5f, 0x90, 0x77, 0x28, 0x84, 0x2b, 0x96, 0x8b, 0x3e, 0x4c, + 0xa8, 0x18, 0xa8, 0x8a, 0x8e, 0x82, 0x4c, 0x99, 0x54, 0xcc, 0x46, 0x43, 0xb7, 0x59, 0x72, 0x15, + 0xa3, 0x7a, 0x1f, 0x23, 0xf0, 0x45, 0x0a, 0xa6, 0x29, 0xd6, 0x21, 0x48, 0xd2, 0x4f, 0x44, 0x51, + 0x14, 0xf6, 0xc8, 0x32, 0x41, 0x00, 0xb4, 0xf2, 0x41, 0x18, 0x77, 0x27, 0x09, 0x86, 0x92, 0x60, + 0x5c, 0x5c, 0x30, 0x45, 0x7c, 0x14, 0xa6, 0x0c, 0x7c, 0xcd, 0x2e, 0x07, 0xb1, 0x93, 0x14, 0x1b, + 0x91, 0xba, 0x4b, 0x7e, 0x8a, 0xfb, 0x61, 0xac, 0x22, 0x94, 0xcf, 0x70, 0x81, 0xe2, 0x8e, 0x3a, + 0x50, 0x8a, 0x76, 0x10, 0x12, 0x5a, 0xb3, 0xc9, 0x10, 0x86, 0xf9, 0x24, 0xd1, 0x6c, 0xd2, 0xaa, + 0x63, 0x30, 0x41, 0xfb, 0xd8, 0xc2, 0x56, 0xbb, 0x6e, 0x73, 0x26, 0x23, 0x14, 0x67, 0x9c, 0x54, + 0xa8, 0x0c, 0x4e, 0x71, 0xef, 0x85, 0x51, 0x7c, 0x55, 0xaf, 0x62, 0xa3, 0x82, 0x19, 0xde, 0x28, + 0xc5, 0x1b, 0x11, 0x40, 0x8a, 0xf4, 0x10, 0x38, 0xc1, 0xbf, 0x2c, 0x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x79, + 0xbd, 0xa7, 0x14, 0x74, 0x05, 0x46, 0xfd, 0xd3, 0xc9, 0xd1, 0x5d, 0x98, 0xf8, 0x30, 0xd3, 0x8f, + 0x0e, 0x8a, 0xe9, 0x34, 0xf6, 0x0e, 0x48, 0x38, 0x81, 0xee, 0xde, 0x5d, 0xa8, 0x05, 0x52, 0xef, + 0x9c, 0xb8, 0x4b, 0x38, 0x21, 0xda, 0x0b, 0x86, 0x92, 0xdd, 0xb4, 0x17, 0xc0, 0xdd, 0x55, 0x7b, + 0xbd, 0x86, 0xd5, 0x26, 0x80, 0x67, 0x0c, 0xdc, 0xbf, 0x0b, 0x07, 0x17, 0x2d, 0x7d, 0x7c, 0x20, + 0x34, 0xe7, 0xa8, 0xea, 0x2e, 0xa7, 0xf0, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x7b, 0xa7, 0x4e, + 0x3c, 0x23, 0xb8, 0x00, 0x00, } r := bytes.NewReader(gzipped) gzipr, err := compress_gzip.NewReader(r) diff --git a/sei-cosmos/x/staking/types/tx.pb.go b/sei-cosmos/x/staking/types/tx.pb.go index 3a8afb584d..6cf020cc94 100644 --- a/sei-cosmos/x/staking/types/tx.pb.go +++ b/sei-cosmos/x/staking/types/tx.pb.go @@ -6,15 +6,15 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" _ "github.com/gogo/protobuf/types" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -38,13 +38,13 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // MsgCreateValidator defines a SDK message for creating a new validator. type MsgCreateValidator struct { - Description Description `protobuf:"bytes,1,opt,name=description,proto3" json:"description"` - Commission CommissionRates `protobuf:"bytes,2,opt,name=commission,proto3" json:"commission"` - MinSelfDelegation github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_self_delegation" yaml:"min_self_delegation"` - DelegatorAddress string `protobuf:"bytes,4,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty" yaml:"delegator_address"` - ValidatorAddress string `protobuf:"bytes,5,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"` - Pubkey *types.Any `protobuf:"bytes,6,opt,name=pubkey,proto3" json:"pubkey,omitempty"` - Value types1.Coin `protobuf:"bytes,7,opt,name=value,proto3" json:"value"` + Description Description `protobuf:"bytes,1,opt,name=description,proto3" json:"description"` + Commission CommissionRates `protobuf:"bytes,2,opt,name=commission,proto3" json:"commission"` + MinSelfDelegation github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,3,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"min_self_delegation" yaml:"min_self_delegation"` + DelegatorAddress string `protobuf:"bytes,4,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty" yaml:"delegator_address"` + ValidatorAddress string `protobuf:"bytes,5,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty" yaml:"validator_address"` + Pubkey *types.Any `protobuf:"bytes,6,opt,name=pubkey,proto3" json:"pubkey,omitempty"` + Value types1.Coin `protobuf:"bytes,7,opt,name=value,proto3" json:"value"` } func (m *MsgCreateValidator) Reset() { *m = MsgCreateValidator{} } @@ -125,8 +125,8 @@ type MsgEditValidator struct { // it's not mandatory to update. If not updated, the deserialized rate will be // zero with no way to distinguish if an update was intended. // REF: #2373 - CommissionRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=commission_rate,json=commissionRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"commission_rate,omitempty" yaml:"commission_rate"` - MinSelfDelegation *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_self_delegation,omitempty" yaml:"min_self_delegation"` + CommissionRate *github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,3,opt,name=commission_rate,json=commissionRate,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"commission_rate,omitempty" yaml:"commission_rate"` + MinSelfDelegation *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,4,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"min_self_delegation,omitempty" yaml:"min_self_delegation"` } func (m *MsgEditValidator) Reset() { *m = MsgEditValidator{} } @@ -536,61 +536,62 @@ func init() { func init() { proto.RegisterFile("cosmos/staking/v1beta1/tx.proto", fileDescriptor_0926ef28816b35ab) } var fileDescriptor_0926ef28816b35ab = []byte{ - // 859 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x56, 0x4d, 0x6b, 0xe3, 0x46, - 0x18, 0xb6, 0x6c, 0xc7, 0x4d, 0x27, 0xe4, 0x4b, 0xf9, 0xc0, 0x11, 0xc1, 0x0a, 0x4a, 0x3f, 0x42, - 0xdb, 0xc8, 0x4d, 0x4a, 0x29, 0xe4, 0x52, 0xe2, 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xeb, 0x29, 0x40, 0x31, 0xfb, 0x15, 0x58, 0x4e, 0xb7, 0x92, 0x49, 0xea, 0xa5, 0xb0, - 0x13, 0xd5, 0x1b, 0x77, 0xad, 0x34, 0x00, 0x12, 0x77, 0xe0, 0xf3, 0x09, 0x0c, 0x7d, 0x98, 0xb0, - 0x3f, 0x15, 0x2c, 0x3a, 0xa3, 0x72, 0x7a, 0xdf, 0x2d, 0x71, 0x8f, 0xdd, 0x12, 0xf7, 0xa6, 0x5b, - 0xe2, 0x6e, 0x9f, 0x4a, 0x99, 0xc7, 0xa7, 0x52, 0xe6, 0xe5, 0x53, 0x29, 0xf3, 0xc7, 0x37, 0x13, - 0x47, 0xd7, 0x4d, 0xfc, 0x19, 0x4c, 0x87, 0x98, 0x56, 0xa0, 0x96, 0xfc, 0xee, 0x7d, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xaf, 0x0b, 0xd7, 0x33, 0x7e, 0x0b, 0x00, 0x00, + // 871 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x56, 0xcf, 0x6b, 0xe3, 0x46, + 0x14, 0xb6, 0x6c, 0xaf, 0x9b, 0x4e, 0xd8, 0x4d, 0x56, 0x49, 0x16, 0xaf, 0x08, 0x56, 0xd0, 0xb6, + 0x34, 0xb4, 0x44, 0xee, 0xa6, 0xb4, 0x85, 0x50, 0x28, 0xeb, 0x75, 0x0b, 0x4b, 0x30, 0x14, 0x25, + 0x0d, 0xa5, 0x04, 0xcc, 0x48, 0x1a, 0x2b, 0xc2, 0x92, 0x46, 0xd1, 0x8c, 0x43, 0x7c, 0xe8, 0x3d, + 0x87, 0x1e, 0x72, 0xee, 0x29, 0x7f, 0x44, 0xfe, 0x88, 0x90, 0x53, 0x8e, 0xa5, 0x07, 0xb5, 0x38, + 0x3d, 0xf4, 0xec, 0xbf, 0xa0, 0x68, 0x46, 0x92, 0x65, 0xf9, 0x07, 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3, 0xe8, 0x66, 0x50, 0x13, 0xee, 0x06, 0x35, 0xe1, 0x8f, 0x41, 0x4d, 0xb8, 0xbc, 0xaf, + 0x15, 0xee, 0xee, 0x6b, 0x85, 0x5f, 0xef, 0x6b, 0x85, 0x1f, 0xbf, 0xfa, 0x47, 0x57, 0xd9, 0x79, + 0xfa, 0x23, 0xcd, 0x2e, 0x35, 0xbd, 0xc2, 0xe0, 0x9f, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x6c, + 0x40, 0x32, 0x8f, 0xc0, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1901,7 +1902,7 @@ func (m *MsgEditValidator) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Dec + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec m.CommissionRate = &v if err := m.CommissionRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1937,7 +1938,7 @@ func (m *MsgEditValidator) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.MinSelfDelegation = &v if err := m.MinSelfDelegation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/sei-cosmos/x/staking/types/validator.go b/sei-cosmos/x/staking/types/validator.go index 151fdd01cb..1c1d2c41a0 100644 --- a/sei-cosmos/x/staking/types/validator.go +++ b/sei-cosmos/x/staking/types/validator.go @@ -7,12 +7,12 @@ import ( "strings" "time" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmprotocrypto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" "gopkg.in/yaml.v2" @@ -37,8 +37,6 @@ var ( var _ ValidatorI = Validator{} // NewValidator constructs a new Validator -// -//nolint:interfacer func NewValidator(operator sdk.ValAddress, pubKey cryptotypes.PubKey, description Description) (Validator, error) { pkAny, err := codectypes.NewAnyWithValue(pubKey) if err != nil { diff --git a/sei-cosmos/x/staking/types/validator_test.go b/sei-cosmos/x/staking/types/validator_test.go index 853b8d047c..d9ab99ab4b 100644 --- a/sei-cosmos/x/staking/types/validator_test.go +++ b/sei-cosmos/x/staking/types/validator_test.go @@ -9,13 +9,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec/legacy" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestValidatorTestEquivalent(t *testing.T) { @@ -199,12 +199,12 @@ func TestPossibleOverflow(t *testing.T) { func TestValidatorMarshalUnmarshalJSON(t *testing.T) { validator := newValidator(t, valAddr1, pk1) - js, err := legacy.Cdc.MarshalJSON(validator) + js, err := legacy.Cdc.MarshalAsJSON(validator) require.NoError(t, err) require.NotEmpty(t, js) require.Contains(t, string(js), "\"consensus_pubkey\":{\"type\":\"tendermint/PubKeyEd25519\"") got := &types.Validator{} - err = legacy.Cdc.UnmarshalJSON(js, got) + err = legacy.Cdc.UnmarshalAsJSON(js, got) assert.NoError(t, err) assert.True(t, validator.Equal(got)) } diff --git a/sei-cosmos/x/upgrade/abci.go b/sei-cosmos/x/upgrade/abci.go index f7ee7d9d1f..3b6d58ee0a 100644 --- a/sei-cosmos/x/upgrade/abci.go +++ b/sei-cosmos/x/upgrade/abci.go @@ -5,10 +5,10 @@ import ( "time" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) // BeginBlock will check if there is a scheduled plan and if it is ready to be executed. @@ -100,7 +100,7 @@ func BeginBlocker(k keeper.Keeper, ctx sdk.Context) { func panicUpgradeNeeded(k keeper.Keeper, ctx sdk.Context, plan types.Plan) { // Write the upgrade info to disk. The UpgradeStoreLoader uses this info to perform or skip // store migrations. - err := k.DumpUpgradeInfoWithInfoToDisk(ctx.BlockHeight(), plan.Name, plan.Info) + err := k.DumpUpgradeInfoWithInfoToDisk(ctx.BlockHeight(), plan.Name, plan.Info) //nolint:staticcheck // SA1019: not worth fixing if err != nil { panic(fmt.Errorf("unable to write upgrade info to filesystem: %s", err.Error())) } diff --git a/sei-cosmos/x/upgrade/abci_test.go b/sei-cosmos/x/upgrade/abci_test.go index 84319b6acc..63872f15c5 100644 --- a/sei-cosmos/x/upgrade/abci_test.go +++ b/sei-cosmos/x/upgrade/abci_test.go @@ -13,14 +13,14 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/module" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/upgrade" - "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" seiapp "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) type TestSuite struct { diff --git a/sei-cosmos/x/upgrade/client/cli/query.go b/sei-cosmos/x/upgrade/client/cli/query.go index 2460d29add..bd25837fad 100644 --- a/sei-cosmos/x/upgrade/client/cli/query.go +++ b/sei-cosmos/x/upgrade/client/cli/query.go @@ -5,10 +5,10 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) // GetQueryCmd returns the parent command for all x/upgrade CLi query commands. diff --git a/sei-cosmos/x/upgrade/client/cli/tx.go b/sei-cosmos/x/upgrade/client/cli/tx.go index 1b12333a40..d00910bacf 100644 --- a/sei-cosmos/x/upgrade/client/cli/tx.go +++ b/sei-cosmos/x/upgrade/client/cli/tx.go @@ -3,12 +3,12 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - gov "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" + gov "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) const ( @@ -135,8 +135,8 @@ func NewCmdSubmitCancelUpgradeProposal() *cobra.Command { cmd.Flags().String(cli.FlagDescription, "", "description of proposal") cmd.Flags().String(cli.FlagDeposit, "", "deposit of proposal") cmd.Flags().Bool(cli.FlagIsExpedited, false, "flag indicating whether a proposal is expedited") - cmd.MarkFlagRequired(cli.FlagTitle) - cmd.MarkFlagRequired(cli.FlagDescription) + _ = cmd.MarkFlagRequired(cli.FlagTitle) + _ = cmd.MarkFlagRequired(cli.FlagDescription) return cmd } diff --git a/sei-cosmos/x/upgrade/client/proposal_handler.go b/sei-cosmos/x/upgrade/client/proposal_handler.go index a4b64f7ac7..78be04bb30 100644 --- a/sei-cosmos/x/upgrade/client/proposal_handler.go +++ b/sei-cosmos/x/upgrade/client/proposal_handler.go @@ -1,9 +1,9 @@ package client import ( - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - "github.com/cosmos/cosmos-sdk/x/upgrade/client/cli" - "github.com/cosmos/cosmos-sdk/x/upgrade/client/rest" + govclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/client/rest" ) var ProposalHandler = govclient.NewProposalHandler(cli.NewCmdSubmitUpgradeProposal, rest.ProposalRESTHandler) diff --git a/sei-cosmos/x/upgrade/client/rest/query.go b/sei-cosmos/x/upgrade/client/rest/query.go index 299f7f7d8f..4a3126abd8 100644 --- a/sei-cosmos/x/upgrade/client/rest/query.go +++ b/sei-cosmos/x/upgrade/client/rest/query.go @@ -7,9 +7,9 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/types/rest" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) func registerQueryRoutes(clientCtx client.Context, r *mux.Router) { @@ -34,7 +34,7 @@ func getCurrentPlanHandler(clientCtx client.Context) func(http.ResponseWriter, * } var plan types.Plan - err = clientCtx.LegacyAmino.UnmarshalJSON(res, &plan) + err = clientCtx.LegacyAmino.UnmarshalAsJSON(res, &plan) if rest.CheckInternalServerError(w, err) { return } @@ -48,7 +48,7 @@ func getDonePlanHandler(clientCtx client.Context) func(http.ResponseWriter, *htt name := mux.Vars(r)["name"] params := types.QueryAppliedPlanRequest{Name: name} - bz, err := clientCtx.LegacyAmino.MarshalJSON(params) + bz, err := clientCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -64,10 +64,10 @@ func getDonePlanHandler(clientCtx client.Context) func(http.ResponseWriter, *htt } if len(res) != 8 { rest.WriteErrorResponse(w, http.StatusInternalServerError, "unknown format for applied-upgrade") + return } - applied := int64(binary.BigEndian.Uint64(res)) - fmt.Println(applied) + applied := int64(binary.BigEndian.Uint64(res)) //nolint:gosec // stored by SetDone from block heights which are always non-negative rest.PostProcessResponse(w, clientCtx, applied) } } diff --git a/sei-cosmos/x/upgrade/client/rest/rest.go b/sei-cosmos/x/upgrade/client/rest/rest.go index 8f10485249..cb636133db 100644 --- a/sei-cosmos/x/upgrade/client/rest/rest.go +++ b/sei-cosmos/x/upgrade/client/rest/rest.go @@ -3,8 +3,8 @@ package rest import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" ) // RegisterRoutes registers REST routes for the upgrade module under the path specified by routeName. diff --git a/sei-cosmos/x/upgrade/client/rest/tx.go b/sei-cosmos/x/upgrade/client/rest/tx.go index 7bb5209faa..e82176cb24 100644 --- a/sei-cosmos/x/upgrade/client/rest/tx.go +++ b/sei-cosmos/x/upgrade/client/rest/tx.go @@ -3,17 +3,17 @@ package rest import ( "net/http" - "github.com/cosmos/cosmos-sdk/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" "github.com/gorilla/mux" - govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" + govrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/rest" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) func registerTxHandlers( diff --git a/sei-cosmos/x/upgrade/client/testutil/cli_test.go b/sei-cosmos/x/upgrade/client/testutil/cli_test.go index 85c98b4dff..26b0b3f95b 100644 --- a/sei-cosmos/x/upgrade/client/testutil/cli_test.go +++ b/sei-cosmos/x/upgrade/client/testutil/cli_test.go @@ -3,7 +3,7 @@ package testutil import ( "testing" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/sei-cosmos/x/upgrade/client/testutil/suite.go b/sei-cosmos/x/upgrade/client/testutil/suite.go index 90ec18ff04..216730c3f6 100644 --- a/sei-cosmos/x/upgrade/client/testutil/suite.go +++ b/sei-cosmos/x/upgrade/client/testutil/suite.go @@ -3,12 +3,12 @@ package testutil import ( "fmt" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/client/cli" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" seiapp "github.com/sei-protocol/sei-chain/app" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" ) @@ -30,7 +30,7 @@ func (s *IntegrationTestSuite) SetupSuite() { s.T().Log("setting up integration test suite") app := seiapp.Setup(s.T(), false, false, false) s.app = app - s.ctx = app.BaseApp.NewContext(false, tmproto.Header{}) + s.ctx = app.NewContext(false, tmproto.Header{}) cfg := network.DefaultConfig(s.T()) cfg.NumValidators = 1 @@ -92,7 +92,7 @@ func (s *IntegrationTestSuite) TestModuleVersionsCLI() { pm := types.QueryModuleVersionsResponse{ ModuleVersions: expect, } - jsonVM, _ := clientCtx.Codec.MarshalJSON(&pm) + jsonVM, _ := clientCtx.Codec.MarshalAsJSON(&pm) expectedRes := string(jsonVM) // append new line to match behaviour of PrintProto expectedRes += "\n" diff --git a/sei-cosmos/x/upgrade/handler.go b/sei-cosmos/x/upgrade/handler.go index 413217dc72..975825365d 100644 --- a/sei-cosmos/x/upgrade/handler.go +++ b/sei-cosmos/x/upgrade/handler.go @@ -1,11 +1,11 @@ package upgrade import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) // NewSoftwareUpgradeProposalHandler creates a governance handler to manage new proposal types. diff --git a/sei-cosmos/x/upgrade/keeper/grpc_query.go b/sei-cosmos/x/upgrade/keeper/grpc_query.go index fe6ec3b512..a0e861a7fa 100644 --- a/sei-cosmos/x/upgrade/keeper/grpc_query.go +++ b/sei-cosmos/x/upgrade/keeper/grpc_query.go @@ -3,9 +3,9 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) var _ types.QueryServer = Keeper{} diff --git a/sei-cosmos/x/upgrade/keeper/grpc_query_test.go b/sei-cosmos/x/upgrade/keeper/grpc_query_test.go index 238f4b58a6..a61537e0ba 100644 --- a/sei-cosmos/x/upgrade/keeper/grpc_query_test.go +++ b/sei-cosmos/x/upgrade/keeper/grpc_query_test.go @@ -8,11 +8,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) type UpgradeTestSuite struct { diff --git a/sei-cosmos/x/upgrade/keeper/keeper.go b/sei-cosmos/x/upgrade/keeper/keeper.go index c3e919415c..eee3d36a8b 100644 --- a/sei-cosmos/x/upgrade/keeper/keeper.go +++ b/sei-cosmos/x/upgrade/keeper/keeper.go @@ -4,7 +4,6 @@ import ( "encoding/binary" "encoding/json" "fmt" - "io/ioutil" "os" "path" "path/filepath" @@ -14,15 +13,15 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmos "github.com/sei-protocol/sei-chain/sei-tendermint/libs/os" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/module" - xp "github.com/cosmos/cosmos-sdk/x/upgrade/exported" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + store "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + xp "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/exported" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) // UpgradeInfoFileName file to store upgrade information @@ -120,7 +119,7 @@ func (k Keeper) SetModuleVersionMap(ctx sdk.Context, vm module.VersionMap) { func (k Keeper) GetModuleVersionMap(ctx sdk.Context) module.VersionMap { store := ctx.KVStore(k.storeKey) it := sdk.KVStorePrefixIterator(store, []byte{types.VersionMapByte}) - defer it.Close() + defer func() { _ = it.Close() }() vm := make(module.VersionMap) for ; it.Valid(); it.Next() { @@ -138,7 +137,7 @@ func (k Keeper) GetModuleVersionMap(ctx sdk.Context) module.VersionMap { func (k Keeper) GetModuleVersions(ctx sdk.Context) []*types.ModuleVersion { store := ctx.KVStore(k.storeKey) it := sdk.KVStorePrefixIterator(store, []byte{types.VersionMapByte}) - defer it.Close() + defer func() { _ = it.Close() }() mv := make([]*types.ModuleVersion, 0) for ; it.Valid(); it.Next() { @@ -157,7 +156,7 @@ func (k Keeper) GetModuleVersions(ctx sdk.Context) []*types.ModuleVersion { func (k Keeper) getModuleVersion(ctx sdk.Context, name string) (uint64, bool) { store := ctx.KVStore(k.storeKey) it := sdk.KVStorePrefixIterator(store, []byte{types.VersionMapByte}) - defer it.Close() + defer func() { _ = it.Close() }() for ; it.Valid(); it.Next() { moduleName := string(it.Key()[1:]) @@ -251,14 +250,14 @@ func (k Keeper) GetUpgradedConsensusState(ctx sdk.Context, lastHeight int64) ([] // GetLastCompletedUpgrade returns the last applied upgrade name and height. func (k Keeper) GetLastCompletedUpgrade(ctx sdk.Context) (string, int64) { iter := sdk.KVStoreReversePrefixIterator(ctx.KVStore(k.storeKey), []byte{types.DoneByte}) - defer iter.Close() + defer func() { _ = iter.Close() }() var ( latest upgrade found bool ) for ; iter.Valid(); iter.Next() { - upgradeHeight := int64(sdk.BigEndianToUint64(iter.Value())) + upgradeHeight := int64(sdk.BigEndianToUint64(iter.Value())) //nolint:gosec // stored by SetDone from block heights which are always non-negative if !found || upgradeHeight >= latest.BlockHeight { found = true name := parseDoneKey(iter.Key()) @@ -286,19 +285,19 @@ func (k Keeper) GetDoneHeight(ctx sdk.Context, name string) int64 { return 0 } - return int64(binary.BigEndian.Uint64(bz)) + return int64(binary.BigEndian.Uint64(bz)) //nolint:gosec // stored by SetDone from block heights which are always non-negative } func (k Keeper) GetClosestUpgrade(ctx sdk.Context, height int64) (string, int64) { iter := sdk.KVStoreReversePrefixIterator(ctx.KVStore(k.storeKey), []byte{types.DoneByte}) - defer iter.Close() + defer func() { _ = iter.Close() }() var ( closest upgrade found bool ) for ; iter.Valid(); iter.Next() { - upgradeHeight := int64(sdk.BigEndianToUint64(iter.Value())) + upgradeHeight := int64(sdk.BigEndianToUint64(iter.Value())) //nolint:gosec // stored by SetDone from block heights which are always non-negative if !found || (upgradeHeight >= height && upgradeHeight < closest.BlockHeight) { found = true name := parseDoneKey(iter.Key()) @@ -351,7 +350,7 @@ func (k Keeper) GetUpgradePlan(ctx sdk.Context) (plan types.Plan, havePlan bool) func (k Keeper) SetDone(ctx sdk.Context, name string) { store := prefix.NewStore(ctx.KVStore(k.storeKey), []byte{types.DoneByte}) bz := make([]byte, 8) - binary.BigEndian.PutUint64(bz, uint64(ctx.BlockHeight())) + binary.BigEndian.PutUint64(bz, uint64(ctx.BlockHeight())) //nolint:gosec // block heights are always non-negative store.Set([]byte(name), bz) } @@ -454,7 +453,7 @@ func (k Keeper) ReadUpgradeInfoFromDisk() (store.UpgradeInfo, error) { return upgradeInfo, err } - data, err := ioutil.ReadFile(upgradeInfoPath) + data, err := os.ReadFile(filepath.Clean(upgradeInfoPath)) if err != nil { // if file does not exist, assume there are no upgrades if os.IsNotExist(err) { diff --git a/sei-cosmos/x/upgrade/keeper/keeper_test.go b/sei-cosmos/x/upgrade/keeper/keeper_test.go index e7b3e43003..bfde6750b0 100644 --- a/sei-cosmos/x/upgrade/keeper/keeper_test.go +++ b/sei-cosmos/x/upgrade/keeper/keeper_test.go @@ -9,13 +9,13 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/store/prefix" - store "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" seiapp "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + store "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) type KeeperTestSuite struct { diff --git a/sei-cosmos/x/upgrade/keeper/querier.go b/sei-cosmos/x/upgrade/keeper/querier.go index cc09bac1ed..9297634859 100644 --- a/sei-cosmos/x/upgrade/keeper/querier.go +++ b/sei-cosmos/x/upgrade/keeper/querier.go @@ -2,15 +2,16 @@ package keeper import ( "encoding/binary" + "fmt" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // NewQuerier creates a querier for upgrade cli and REST endpoints @@ -36,7 +37,7 @@ func queryCurrent(ctx sdk.Context, _ abci.RequestQuery, k Keeper, legacyQuerierC return nil, nil } - res, err := legacyQuerierCdc.MarshalJSON(&plan) + res, err := legacyQuerierCdc.MarshalAsJSON(&plan) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONMarshal, err.Error()) } @@ -47,7 +48,7 @@ func queryCurrent(ctx sdk.Context, _ abci.RequestQuery, k Keeper, legacyQuerierC func queryApplied(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerierCdc *codec.LegacyAmino) ([]byte, error) { var params types.QueryAppliedPlanRequest - err := legacyQuerierCdc.UnmarshalJSON(req.Data, ¶ms) + err := legacyQuerierCdc.UnmarshalAsJSON(req.Data, ¶ms) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } @@ -57,8 +58,12 @@ func queryApplied(ctx sdk.Context, req abci.RequestQuery, k Keeper, legacyQuerie return nil, nil } + if applied < 0 { + return nil, fmt.Errorf("negative applied height: %d", applied) + } + bz := make([]byte, 8) - binary.BigEndian.PutUint64(bz, uint64(applied)) + binary.BigEndian.PutUint64(bz, uint64(applied)) //nolint:gosec // bounds checked above return bz, nil } diff --git a/sei-cosmos/x/upgrade/module.go b/sei-cosmos/x/upgrade/module.go index c58629fb0c..66f9009d65 100644 --- a/sei-cosmos/x/upgrade/module.go +++ b/sei-cosmos/x/upgrade/module.go @@ -9,15 +9,15 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/upgrade/client/cli" - "github.com/cosmos/cosmos-sdk/x/upgrade/client/rest" - "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) func init() { @@ -49,7 +49,7 @@ func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, r *mux.Router // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the upgrade module. func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { - types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) + _ = types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx)) } // GetQueryCmd returns the cli query commands for this module diff --git a/sei-cosmos/x/upgrade/types/codec.go b/sei-cosmos/x/upgrade/types/codec.go index 59703f57a8..369c273cb6 100644 --- a/sei-cosmos/x/upgrade/types/codec.go +++ b/sei-cosmos/x/upgrade/types/codec.go @@ -1,9 +1,9 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec diff --git a/sei-cosmos/x/upgrade/types/handler.go b/sei-cosmos/x/upgrade/types/handler.go index 0543b6bbeb..cb7b7b4b1c 100644 --- a/sei-cosmos/x/upgrade/types/handler.go +++ b/sei-cosmos/x/upgrade/types/handler.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" ) // UpgradeHandler specifies the type of function that is called when an upgrade diff --git a/sei-cosmos/x/upgrade/types/plan.go b/sei-cosmos/x/upgrade/types/plan.go index 6104e883c0..c2eed30c8e 100644 --- a/sei-cosmos/x/upgrade/types/plan.go +++ b/sei-cosmos/x/upgrade/types/plan.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) func (p Plan) String() string { diff --git a/sei-cosmos/x/upgrade/types/plan_test.go b/sei-cosmos/x/upgrade/types/plan_test.go index 77d7695f93..4e64f0a4a8 100644 --- a/sei-cosmos/x/upgrade/types/plan_test.go +++ b/sei-cosmos/x/upgrade/types/plan_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) func mustParseTime(s string) time.Time { diff --git a/sei-cosmos/x/upgrade/types/proposal.go b/sei-cosmos/x/upgrade/types/proposal.go index 38b2295556..dc45d74469 100644 --- a/sei-cosmos/x/upgrade/types/proposal.go +++ b/sei-cosmos/x/upgrade/types/proposal.go @@ -3,7 +3,7 @@ package types import ( "fmt" - gov "github.com/cosmos/cosmos-sdk/x/gov/types" + gov "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) const ( diff --git a/sei-cosmos/x/upgrade/types/proposal_test.go b/sei-cosmos/x/upgrade/types/proposal_test.go index 716e201091..ca705aa6f4 100644 --- a/sei-cosmos/x/upgrade/types/proposal_test.go +++ b/sei-cosmos/x/upgrade/types/proposal_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - gov "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + gov "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) type ProposalWrapper struct { @@ -95,11 +95,11 @@ func TestMarshalSoftwareUpdateProposal(t *testing.T) { cdc := codec.NewProtoCodec(ir) // marshal message - bz, err := cdc.MarshalJSON(sup) + bz, err := cdc.MarshalAsJSON(sup) require.NoError(t, err) // unmarshal proposal newSup := &types.SoftwareUpgradeProposal{} - err = cdc.UnmarshalJSON(bz, newSup) + err = cdc.UnmarshalAsJSON(bz, newSup) require.NoError(t, err) } diff --git a/sei-cosmos/x/upgrade/types/query.pb.go b/sei-cosmos/x/upgrade/types/query.pb.go index 55ed68b051..58b70915a2 100644 --- a/sei-cosmos/x/upgrade/types/query.pb.go +++ b/sei-cosmos/x/upgrade/types/query.pb.go @@ -422,43 +422,44 @@ func init() { } var fileDescriptor_4a334d07ad8374f0 = []byte{ - // 576 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcf, 0x6e, 0xd3, 0x30, - 0x1c, 0xae, 0xbb, 0x6e, 0x02, 0x17, 0x0d, 0xe4, 0x43, 0x09, 0x61, 0x0a, 0x95, 0x19, 0x50, 0xc4, - 0x1a, 0x6f, 0xed, 0x05, 0x0d, 0x81, 0x80, 0x49, 0x88, 0x21, 0x98, 0xa0, 0x08, 0x0e, 0x5c, 0x2a, - 0xb7, 0xb1, 0xda, 0x88, 0x24, 0xce, 0x62, 0x67, 0x62, 0x9a, 0x76, 0xe1, 0xc4, 0x11, 0x89, 0x3b, - 0x37, 0x2e, 0x3c, 0x09, 0xc7, 0x49, 0x5c, 0x38, 0xec, 0x80, 0x5a, 0x1e, 0x04, 0xc5, 0x71, 0x51, - 0x4a, 0x93, 0x0e, 0x76, 0x6a, 0x63, 0x7f, 0xff, 0x7e, 0xf1, 0xe7, 0x40, 0xdc, 0xe7, 0xc2, 0xe7, - 0x82, 0xc4, 0xe1, 0x20, 0xa2, 0x0e, 0x23, 0x7b, 0x1b, 0x3d, 0x26, 0xe9, 0x06, 0xd9, 0x8d, 0x59, - 0xb4, 0x6f, 0x87, 0x11, 0x97, 0x1c, 0xd5, 0x52, 0x8c, 0xad, 0x31, 0xb6, 0xc6, 0x98, 0xab, 0x05, - 0xdc, 0x09, 0x4e, 0xb1, 0xcd, 0x95, 0x01, 0xe7, 0x03, 0x8f, 0x11, 0x1a, 0xba, 0x84, 0x06, 0x01, - 0x97, 0x54, 0xba, 0x3c, 0x10, 0xe9, 0x2e, 0xbe, 0x04, 0x2f, 0xbe, 0x48, 0xac, 0xb6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, 0x2f, 0xe7, 0xd2, 0x75, 0xc2, 0x1d, 0x78, 0x5e, 0xf3, 0xf7, 0xf4, 0x96, - 0x01, 0xea, 0x0b, 0x8d, 0x6a, 0xeb, 0x5a, 0xd1, 0x99, 0x4d, 0x09, 0x75, 0x96, 0xfd, 0x29, 0xdd, - 0xd6, 0xf1, 0x22, 0x5c, 0x54, 0x7e, 0xe8, 0x33, 0x80, 0xd5, 0x4c, 0x35, 0x10, 0x29, 0x12, 0x2c, - 0xe8, 0x97, 0xb9, 0xfe, 0xef, 0x84, 0x74, 0x18, 0xbc, 0xf6, 0xfe, 0xfb, 0xaf, 0x4f, 0xe5, 0xeb, - 0x68, 0x95, 0x14, 0x34, 0xbf, 0x9f, 0x92, 0xba, 0x49, 0xe3, 0xd0, 0x17, 0x00, 0xab, 0x99, 0xfa, - 0x9c, 0x10, 0x70, 0xb6, 0x97, 0x27, 0x04, 0xcc, 0x69, 0x26, 0x6e, 0xab, 0x80, 0x4d, 0x74, 0xab, - 0x28, 0x20, 0x4d, 0x49, 0x2a, 0x20, 0x39, 0x48, 0x8e, 0xf4, 0x10, 0x1d, 0x03, 0x58, 0xcb, 0xef, - 0x19, 0xda, 0x9c, 0x9b, 0x60, 0x6e, 0xcf, 0xcd, 0x3b, 0xa7, 0xe2, 0xea, 0x41, 0xb6, 0xd5, 0x20, - 0xf7, 0xd1, 0x3d, 0x32, 0xff, 0x1b, 0x33, 0x53, 0x7b, 0x72, 0x90, 0xb9, 0x5c, 0x87, 0x1f, 0xca, - 0x00, 0x7d, 0x05, 0x70, 0x79, 0xba, 0x9c, 0xa8, 0x35, 0x37, 0x5a, 0xee, 0x45, 0x30, 0xdb, 0xff, - 0xc5, 0xd1, 0x63, 0x10, 0x35, 0xc6, 0x4d, 0x74, 0xa3, 0x68, 0x8c, 0xbf, 0xee, 0xc6, 0xc3, 0x47, - 0xdf, 0x46, 0x16, 0x38, 0x1a, 0x59, 0xe0, 0xe7, 0xc8, 0x02, 0x1f, 0xc7, 0x56, 0xe9, 0x68, 0x6c, - 0x95, 0x7e, 0x8c, 0xad, 0xd2, 0x9b, 0xb5, 0x81, 0x2b, 0x87, 0x71, 0xcf, 0xee, 0x73, 0x7f, 0x22, - 0x96, 0xfe, 0x34, 0x85, 0xf3, 0x96, 0xbc, 0xfb, 0xa3, 0x2c, 0xf7, 0x43, 0x26, 0x7a, 0x4b, 0xea, - 0xeb, 0xda, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x91, 0x65, 0xa9, 0xb2, 0xdf, 0x05, 0x00, 0x00, + // 586 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcf, 0x6f, 0xd3, 0x30, + 0x18, 0x9d, 0xbb, 0x6e, 0x02, 0x17, 0x0d, 0xe4, 0x43, 0x09, 0x61, 0x0a, 0x95, 0x19, 0x50, 0x04, + 0x8d, 0xb7, 0xf6, 0x82, 0xc6, 0x0f, 0x01, 0xbb, 0x30, 0x04, 0x13, 0x14, 0xb1, 0x03, 0x97, 0xca, + 0x4d, 0xad, 0x36, 0x52, 0x12, 0x67, 0xb1, 0x33, 0x31, 0x4d, 0xbb, 0x70, 0xe2, 0x88, 0xc4, 0x9d, + 0x1b, 0x17, 0xfe, 0x12, 0x8e, 0x93, 0xb8, 0x70, 0xd8, 0x01, 0xb5, 0xfc, 0x21, 0x28, 0x8e, 0x8b, + 0x52, 0x9a, 0x64, 0xc0, 0x2d, 0xf1, 0xf7, 0xde, 0xf7, 0xde, 0x67, 0x3f, 0x1b, 0x62, 0x87, 0x0b, + 0x9f, 0x0b, 0x12, 0x87, 0xc3, 0x88, 0x0e, 0x18, 0xd9, 0xdf, 0xe8, 0x33, 0x49, 0x37, 0xc8, 0x5e, + 0xcc, 0xa2, 0x03, 0x3b, 0x8c, 0xb8, 0xe4, 0xa8, 0x9e, 0x62, 0x6c, 0x8d, 0xb1, 0x35, 0xc6, 0x5c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 0xee, 0x45, 0x30, 0x3b, + 0xff, 0xc4, 0xd1, 0x63, 0x10, 0x35, 0xc6, 0x4d, 0x74, 0xa3, 0x68, 0x8c, 0x3f, 0xee, 0xc6, 0xe3, + 0xdd, 0xaf, 0x63, 0x0b, 0x1c, 0x8f, 0x2d, 0xf0, 0x63, 0x6c, 0x81, 0x0f, 0x13, 0x6b, 0xe1, 0x78, + 0x62, 0x2d, 0x7c, 0x9f, 0x58, 0x0b, 0x6f, 0xee, 0x0d, 0x5d, 0x39, 0x8a, 0xfb, 0xb6, 0xc3, 0x7d, + 0x22, 0x98, 0xdb, 0x52, 0xcf, 0xa7, 0xc3, 0x3d, 0xf5, 0xe3, 0x8c, 0xa8, 0x1b, 0xa4, 0x5f, 0xa9, + 0xce, 0xdb, 0xdf, 0x4a, 0xf2, 0x20, 0x64, 0xa2, 0xbf, 0xac, 0xe0, 0x9d, 0x5f, 0x01, 0x00, 0x00, + 0xff, 0xff, 0xb8, 0x4e, 0xbd, 0x23, 0xef, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-cosmos/x/upgrade/types/storeloader.go b/sei-cosmos/x/upgrade/types/storeloader.go index 00538e0715..84cb96697e 100644 --- a/sei-cosmos/x/upgrade/types/storeloader.go +++ b/sei-cosmos/x/upgrade/types/storeloader.go @@ -1,9 +1,9 @@ package types import ( - "github.com/cosmos/cosmos-sdk/baseapp" - store "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + store "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // UpgradeStoreLoader is used to prepare baseapp with a fixed StoreLoader diff --git a/sei-cosmos/x/upgrade/types/storeloader_test.go b/sei-cosmos/x/upgrade/types/storeloader_test.go index 2880f2b97f..89ed99b415 100644 --- a/sei-cosmos/x/upgrade/types/storeloader_test.go +++ b/sei-cosmos/x/upgrade/types/storeloader_test.go @@ -3,7 +3,6 @@ package types import ( "context" "encoding/json" - "io/ioutil" "os" "path/filepath" "testing" @@ -13,11 +12,11 @@ import ( "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + store "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func useUpgradeLoader(height int64, upgrades *store.StoreUpgrades) func(*baseapp.BaseApp) { @@ -78,7 +77,7 @@ func TestSetLoader(t *testing.T) { data, err := json.Marshal(upgradeInfo) require.NoError(t, err) - err = ioutil.WriteFile(upgradeInfoFilePath, data, 0644) + err = os.WriteFile(upgradeInfoFilePath, data, 0644) require.NoError(t, err) // make sure it exists before running everything diff --git a/sei-cosmos/x/upgrade/types/upgrade.pb.go b/sei-cosmos/x/upgrade/types/upgrade.pb.go index 59d677d816..97092c81a1 100644 --- a/sei-cosmos/x/upgrade/types/upgrade.pb.go +++ b/sei-cosmos/x/upgrade/types/upgrade.pb.go @@ -5,11 +5,11 @@ package types import ( fmt "fmt" - types1 "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/gogo/protobuf/types" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" io "io" math "math" math_bits "math/bits" @@ -220,36 +220,37 @@ func init() { } var fileDescriptor_ccf2a7d4d7b48dca = []byte{ - // 462 bytes of a gzipped FileDescriptorProto - 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2d, - 0xf3, 0x19, 0xa7, 0xef, 0x68, 0xad, 0x4c, 0xd7, 0xdb, 0xb6, 0x1f, 0xc0, 0xdb, 0x17, 0x0e, 0xb6, - 0x62, 0x7e, 0xda, 0xa6, 0x56, 0x08, 0x18, 0xa1, 0xd1, 0xab, 0xc5, 0x8f, 0xd0, 0x5b, 0xac, 0x42, - 0x70, 0xbd, 0x0a, 0xc1, 0xf7, 0x55, 0x08, 0x2e, 0xd7, 0xa1, 0x77, 0xbd, 0x0e, 0xbd, 0xaf, 0xeb, - 0xd0, 0x7b, 0xff, 0xa4, 0x60, 0x7a, 0x3a, 0x1b, 0xe3, 0x4c, 0x96, 0x49, 0xf3, 0xdf, 0xbb, 0xcf, - 0x53, 0x95, 0x7f, 0x48, 0x3e, 0xfd, 0x7d, 0x04, 0x7a, 0x5e, 0x51, 0x35, 0xde, 0xb3, 0xeb, 0x7d, - 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, 0x5b, 0x21, 0x89, 0x8a, 0x23, 0x03, 0x00, 0x00, + // 467 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0x31, 0x6f, 0x13, 0x31, + 0x14, 0x3e, 0xd3, 0x6b, 0xa1, 0x8e, 0x58, 0x4c, 0x28, 0x47, 0x54, 0xee, 0xa2, 0x13, 0x43, 0x16, + 0xee, 0xd4, 0x22, 0x31, 0x44, 0x2c, 0xa4, 0x03, 0x13, 0x52, 0x75, 0x05, 0x86, 0x2e, 0x95, 0x73, + 0x71, 0x2e, 0x96, 0x7c, 0x7e, 0xa7, 0xb3, 0x53, 0xc8, 0xbf, 0xa8, 0xc4, 0xc2, 0xd8, 0x9f, 0x93, + 0xb1, 0x23, 0x53, 0x81, 0x64, 0x61, 0x66, 0x64, 0x42, 0xb6, 0xef, 0x50, 0x04, 0x19, 0xd9, 0xde, + 0xe7, 0xef, 0xf3, 0xf7, 0x3d, 0x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3d, 0x2b, 0x7f, 0xfe, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x9a, 0x28, 0xf3, 0x33, + 0x03, 0x00, 0x00, } func (this *Plan) Equal(that interface{}) bool { diff --git a/sei-db/ledger_db/receipt/cached_receipt_store.go b/sei-db/ledger_db/receipt/cached_receipt_store.go index b8d264b5d0..64a2994aa5 100644 --- a/sei-db/ledger_db/receipt/cached_receipt_store.go +++ b/sei-db/ledger_db/receipt/cached_receipt_store.go @@ -4,10 +4,10 @@ import ( "sort" "sync" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/eth/filters" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/sei-db/ledger_db/receipt/cached_receipt_store_test.go b/sei-db/ledger_db/receipt/cached_receipt_store_test.go index 078c1b3af3..aed0e89f78 100644 --- a/sei-db/ledger_db/receipt/cached_receipt_store_test.go +++ b/sei-db/ledger_db/receipt/cached_receipt_store_test.go @@ -3,10 +3,10 @@ package receipt import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/eth/filters" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/stretchr/testify/require" ) diff --git a/sei-db/ledger_db/receipt/parquet_store.go b/sei-db/ledger_db/receipt/parquet_store.go index fca90e0ad7..4d17f74f1c 100644 --- a/sei-db/ledger_db/receipt/parquet_store.go +++ b/sei-db/ledger_db/receipt/parquet_store.go @@ -4,10 +4,10 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/eth/filters" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" dbLogger "github.com/sei-protocol/sei-chain/sei-db/common/logger" dbconfig "github.com/sei-protocol/sei-chain/sei-db/config" "github.com/sei-protocol/sei-chain/sei-db/ledger_db/parquet" diff --git a/sei-db/ledger_db/receipt/receipt_store.go b/sei-db/ledger_db/receipt/receipt_store.go index c7c8d5ad65..6c461c7e76 100644 --- a/sei-db/ledger_db/receipt/receipt_store.go +++ b/sei-db/ledger_db/receipt/receipt_store.go @@ -8,10 +8,10 @@ import ( "sync" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/eth/filters" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" dbLogger "github.com/sei-protocol/sei-chain/sei-db/common/logger" dbutils "github.com/sei-protocol/sei-chain/sei-db/common/utils" dbconfig "github.com/sei-protocol/sei-chain/sei-db/config" diff --git a/sei-db/ledger_db/receipt/receipt_store_test.go b/sei-db/ledger_db/receipt/receipt_store_test.go index 78955567db..a6a368b047 100644 --- a/sei-db/ledger_db/receipt/receipt_store_test.go +++ b/sei-db/ledger_db/receipt/receipt_store_test.go @@ -5,11 +5,11 @@ import ( "testing" "time" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/eth/filters" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" dbLogger "github.com/sei-protocol/sei-chain/sei-db/common/logger" dbutils "github.com/sei-protocol/sei-chain/sei-db/common/utils" dbconfig "github.com/sei-protocol/sei-chain/sei-db/config" diff --git a/sei-db/ledger_db/receipt/test_helpers_test.go b/sei-db/ledger_db/receipt/test_helpers_test.go index d7908cd09a..bbb8df60c8 100644 --- a/sei-db/ledger_db/receipt/test_helpers_test.go +++ b/sei-db/ledger_db/receipt/test_helpers_test.go @@ -1,10 +1,10 @@ package receipt import ( - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/sei-db/state_db/ss/store_test.go b/sei-db/state_db/ss/store_test.go index 9db08d4c41..8edf4aff65 100644 --- a/sei-db/state_db/ss/store_test.go +++ b/sei-db/state_db/ss/store_test.go @@ -2,7 +2,6 @@ package ss import ( "fmt" - "os" "path/filepath" "testing" @@ -14,7 +13,7 @@ import ( ) func TestNewStateStore(t *testing.T) { - tempDir := os.TempDir() + tempDir := t.TempDir() homeDir := filepath.Join(tempDir, "pebbledb") ssConfig := config.StateStoreConfig{ Backend: string(PebbleDBBackend), diff --git a/sei-iavl/nodedb.go b/sei-iavl/nodedb.go index 8ec04a8aeb..fa4a927b50 100644 --- a/sei-iavl/nodedb.go +++ b/sei-iavl/nodedb.go @@ -249,7 +249,7 @@ func (ndb *nodeDB) setFastStorageVersionToBatch() error { return err } - newVersion += fastStorageVersionDelimiter + strconv.Itoa(int(latestVersion)) + newVersion += fastStorageVersionDelimiter + strconv.FormatInt(latestVersion, 10) if err := ndb.batch.Set(metadataKeyFormat.Key([]byte(storageVersionKey)), []byte(newVersion)); err != nil { return err @@ -280,7 +280,7 @@ func (ndb *nodeDB) shouldForceFastStorageUpgrade() (bool, error) { // TODO: should be true or false as default? (removed panic here) return false, err } - if versions[1] != strconv.Itoa(int(latestVersion)) { + if versions[1] != strconv.FormatInt(latestVersion, 10) { return true, nil } } diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/client/cli/query.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/client/cli/query.go index 860a3f3c11..42c72fa019 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/client/cli/query.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/client/cli/query.go @@ -3,9 +3,9 @@ package cli import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" "github.com/spf13/cobra" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/ibc_module.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/ibc_module.go index d5cebb7c88..353b1df0dd 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/ibc_module.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/ibc_module.go @@ -1,9 +1,9 @@ package controller import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/ibc_module_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/ibc_module_test.go index 477a18b963..72934c5b83 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/ibc_module_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/ibc_module_test.go @@ -4,8 +4,8 @@ import ( "fmt" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" "github.com/stretchr/testify/suite" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/account.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/account.go index 9a4715e957..0feae81984 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/account.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/account.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" @@ -52,7 +52,7 @@ func (k Keeper) RegisterInterchainAccount(ctx sdk.Context, connectionID, owner s icatypes.TxTypeSDKMultiMsg, ) - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) if err != nil { return err } diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/genesis.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/genesis.go index 8909b83720..b7e5b7c14b 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/genesis.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/grpc_query.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/grpc_query.go index 3b73b97979..b111f5ae7c 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/grpc_query.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/grpc_query.go @@ -3,7 +3,7 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/grpc_query_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/grpc_query_test.go index 6293f61789..c07eb6d365 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/grpc_query_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/grpc_query_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types" ibctesting "github.com/sei-protocol/sei-chain/sei-ibc-go/testing" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/handshake.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/handshake.go index b78923fcfc..7b163a2314 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/handshake.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/handshake.go @@ -4,9 +4,9 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" @@ -42,7 +42,7 @@ func (k Keeper) OnChanOpenInit( } var metadata icatypes.Metadata - if err := icatypes.ModuleCdc.UnmarshalJSON([]byte(version), &metadata); err != nil { + if err := icatypes.ModuleCdc.UnmarshalAsJSON([]byte(version), &metadata); err != nil { return sdkerrors.Wrapf(icatypes.ErrUnknownDataType, "cannot unmarshal ICS-27 interchain accounts metadata") } @@ -86,7 +86,7 @@ func (k Keeper) OnChanOpenAck( } var metadata icatypes.Metadata - if err := icatypes.ModuleCdc.UnmarshalJSON([]byte(counterpartyVersion), &metadata); err != nil { + if err := icatypes.ModuleCdc.UnmarshalAsJSON([]byte(counterpartyVersion), &metadata); err != nil { return sdkerrors.Wrapf(icatypes.ErrUnknownDataType, "cannot unmarshal ICS-27 interchain accounts metadata") } diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/handshake_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/handshake_test.go index d74e08f0c8..ec1b10c39a 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/handshake_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/handshake_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" @@ -71,7 +71,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenInit() { // attempt to downgrade version by reinitializing channel with version 1, but setting channel to version 2 metadata.Version = "ics27-2" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) counterparty := channeltypes.NewCounterparty(path.EndpointB.ChannelConfig.PortID, path.EndpointB.ChannelID) @@ -121,7 +121,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenInit() { func() { metadata.Encoding = "invalid-encoding-format" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) channel.Version = string(versionBytes) @@ -134,7 +134,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenInit() { func() { metadata.TxType = "invalid-tx-types" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) channel.Version = string(versionBytes) @@ -155,7 +155,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenInit() { func() { metadata.ControllerConnectionId = "invalid-connnection-id" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) channel.Version = string(versionBytes) @@ -168,7 +168,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenInit() { func() { metadata.HostConnectionId = "invalid-connnection-id" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) channel.Version = string(versionBytes) @@ -181,7 +181,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenInit() { func() { metadata.Version = "invalid-version" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) channel.Version = string(versionBytes) @@ -227,7 +227,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenInit() { // default values metadata = icatypes.NewMetadata(icatypes.Version, ibctesting.FirstConnectionID, ibctesting.FirstConnectionID, "", icatypes.EncodingProtobuf, icatypes.TxTypeSDKMultiMsg) - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) counterparty := channeltypes.NewCounterparty(path.EndpointB.ChannelConfig.PortID, path.EndpointB.ChannelID) @@ -297,7 +297,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenAck() { func() { metadata.Encoding = "invalid-encoding-format" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) path.EndpointA.Counterparty.ChannelConfig.Version = string(versionBytes) @@ -309,7 +309,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenAck() { func() { metadata.TxType = "invalid-tx-types" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) path.EndpointA.Counterparty.ChannelConfig.Version = string(versionBytes) @@ -321,7 +321,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenAck() { func() { metadata.Address = "invalid-account-address" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) path.EndpointA.Counterparty.ChannelConfig.Version = string(versionBytes) @@ -333,7 +333,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenAck() { func() { metadata.Address = "" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) path.EndpointA.Counterparty.ChannelConfig.Version = string(versionBytes) @@ -345,7 +345,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenAck() { func() { metadata.Version = "invalid-version" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) path.EndpointA.Counterparty.ChannelConfig.Version = string(versionBytes) @@ -384,7 +384,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenAck() { suite.Require().True(exists) metadata = icatypes.NewMetadata(icatypes.Version, ibctesting.FirstConnectionID, ibctesting.FirstConnectionID, interchainAccAddr, icatypes.EncodingProtobuf, icatypes.TxTypeSDKMultiMsg) - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) path.EndpointB.ChannelConfig.Version = string(versionBytes) diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/keeper.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/keeper.go index 274ed9cd54..bc8c1e4fb6 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/keeper.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/keeper.go @@ -4,12 +4,12 @@ import ( "fmt" "strings" - baseapp "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + baseapp "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/params.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/params.go index 885c5a5846..261c36a3b2 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/params.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types" ) diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/relay.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/relay.go index 480e6f4679..93b8c46124 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/relay.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/relay.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/relay_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/relay_test.go index a39d706bde..a445ec8660 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/relay_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper/relay_test.go @@ -1,9 +1,9 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types/errors.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types/errors.go index 3a0ade00fe..50db813063 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types/errors.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // ICA Controller sentinel errors diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types/params.go b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types/params.go index d7b9cc8387..2bba8c6819 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types/params.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types/params.go @@ -3,7 +3,7 @@ package types import ( "fmt" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) const ( diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/client/cli/query.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/client/cli/query.go index b55dc43971..d8b8160fbf 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/client/cli/query.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/client/cli/query.go @@ -4,11 +4,11 @@ import ( "fmt" "strconv" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/ibc_module.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/ibc_module.go index dfe45bb8ed..9dfee9908a 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/ibc_module.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/ibc_module.go @@ -1,9 +1,9 @@ package host import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/host/types" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/ibc_module_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/ibc_module_test.go index a8f45cadda..74e198850b 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/ibc_module_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/ibc_module_test.go @@ -4,10 +4,10 @@ import ( "fmt" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" "github.com/gogo/protobuf/proto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" abcitypes "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmprotostate "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/state" tmstate "github.com/sei-protocol/sei-chain/sei-tendermint/state" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/account.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/account.go index 6a1888e387..dbac5fb873 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/account.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/account.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" ) diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/account_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/account_test.go index bfdd20f32d..36420b6ad1 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/account_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/account_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" ibctesting "github.com/sei-protocol/sei-chain/sei-ibc-go/testing" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/events.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/events.go index 000fe3c7b2..a5a49cba85 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/events.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/events.go @@ -3,7 +3,7 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/genesis.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/genesis.go index 9beca501da..b7815bdcb0 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/genesis.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/grpc_query.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/grpc_query.go index 1a4ca4d97b..16a5498bbe 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/grpc_query.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/grpc_query.go @@ -3,7 +3,7 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/host/types" ) diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/grpc_query_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/grpc_query_test.go index 33a6552e00..6d0ccf7a8c 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/grpc_query_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/grpc_query_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/host/types" ) diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/handshake.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/handshake.go index 9b4a700bcb..f7fa19c591 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/handshake.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/handshake.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" @@ -35,7 +35,7 @@ func (k Keeper) OnChanOpenTry( } var metadata icatypes.Metadata - if err := icatypes.ModuleCdc.UnmarshalJSON([]byte(counterpartyVersion), &metadata); err != nil { + if err := icatypes.ModuleCdc.UnmarshalAsJSON([]byte(counterpartyVersion), &metadata); err != nil { return "", sdkerrors.Wrapf(icatypes.ErrUnknownDataType, "cannot unmarshal ICS-27 interchain accounts metadata") } @@ -86,7 +86,7 @@ func (k Keeper) OnChanOpenTry( } metadata.Address = accAddress.String() - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) if err != nil { return "", err } diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/handshake_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/handshake_test.go index 6ecc7b02a5..1563431b70 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/handshake_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/handshake_test.go @@ -1,9 +1,9 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" hosttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/host/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" @@ -149,7 +149,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenTry() { // attempt to downgrade version by reinitializing channel with version 1, but setting channel to version 2 metadata.Version = "ics27-2" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) channel.Version = string(versionBytes) @@ -191,7 +191,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenTry() { func() { metadata.Encoding = "invalid-encoding-format" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) path.EndpointA.ChannelConfig.Version = string(versionBytes) @@ -203,7 +203,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenTry() { func() { metadata.TxType = "invalid-tx-types" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) path.EndpointA.ChannelConfig.Version = string(versionBytes) @@ -215,7 +215,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenTry() { func() { metadata.ControllerConnectionId = "invalid-connnection-id" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) path.EndpointA.ChannelConfig.Version = string(versionBytes) @@ -227,7 +227,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenTry() { func() { metadata.HostConnectionId = "invalid-connnection-id" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) path.EndpointA.ChannelConfig.Version = string(versionBytes) @@ -239,7 +239,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenTry() { func() { metadata.Version = "invalid-version" - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) path.EndpointA.ChannelConfig.Version = string(versionBytes) @@ -286,7 +286,7 @@ func (suite *KeeperTestSuite) TestOnChanOpenTry() { // default values metadata = icatypes.NewMetadata(icatypes.Version, ibctesting.FirstConnectionID, ibctesting.FirstConnectionID, "", icatypes.EncodingProtobuf, icatypes.TxTypeSDKMultiMsg) - versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := icatypes.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) counterparty := channeltypes.NewCounterparty(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID) diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/keeper.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/keeper.go index 24af0f3b18..6a384687ac 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/keeper.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/keeper.go @@ -4,12 +4,12 @@ import ( "fmt" "strings" - baseapp "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + baseapp "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/host/types" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/params.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/params.go index f07a2becf7..cb3d81a337 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/params.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/host/types" ) diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/relay.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/relay.go index 67f0ec2e57..15b2c5ab17 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/relay.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/relay.go @@ -1,9 +1,9 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/gogo/protobuf/proto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/host/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" @@ -15,7 +15,7 @@ import ( func (k Keeper) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet) ([]byte, error) { var data icatypes.InterchainAccountPacketData - if err := icatypes.ModuleCdc.UnmarshalJSON(packet.GetData(), &data); err != nil { + if err := icatypes.ModuleCdc.UnmarshalAsJSON(packet.GetData(), &data); err != nil { // UnmarshalJSON errors are indeterminate and therefore are not wrapped and included in failed acks return nil, sdkerrors.Wrapf(icatypes.ErrUnknownDataType, "cannot unmarshal ICS-27 interchain account packet data") } diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/relay_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/relay_test.go index 0255a59265..c48223bb99 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/relay_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/keeper/relay_test.go @@ -3,12 +3,12 @@ package keeper_test import ( "time" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - disttypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + disttypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/host/types" icatypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/ack.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/ack.go index ac26204715..6c07b67f54 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/ack.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/ack.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" ) diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/ack_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/ack_test.go index 9e12af160f..7fd8ca0fb1 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/ack_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/ack_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" abcitypes "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmprotostate "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/state" tmstate "github.com/sei-protocol/sei-chain/sei-tendermint/state" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/errors.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/errors.go index b16b4093e5..3dc2823953 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/errors.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // ICA Host sentinel errors diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/keys.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/keys.go index 7f1a04facb..5c6c157e84 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/keys.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/keys.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/params.go b/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/params.go index 480de05c28..c750acdcc3 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/params.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/host/types/params.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) const ( diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/module.go b/sei-ibc-go/modules/apps/27-interchain-accounts/module.go index f4b52d812c..951dc34e38 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/module.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/module.go @@ -5,13 +5,13 @@ import ( "encoding/json" "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" @@ -60,7 +60,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the IBC interchain acounts module func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var gs types.GenesisState - if err := cdc.UnmarshalJSON(bz, &gs); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &gs); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/account.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/account.go index 84c750515b..7e5acb6492 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/account.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/account.go @@ -5,11 +5,11 @@ import ( "regexp" "strings" - crypto "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkaddress "github.com/cosmos/cosmos-sdk/types/address" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + crypto "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkaddress "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" yaml "gopkg.in/yaml.v2" ) diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/account.pb.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/account.pb.go index de7eb7670b..af66521444 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/account.pb.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/account.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/x/auth/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" io "io" math "math" math_bits "math/bits" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/account_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/account_test.go index e5a49f35ce..97b57e59c8 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/account_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/account_test.go @@ -5,9 +5,9 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" "github.com/stretchr/testify/suite" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/codec.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/codec.go index 033c264f9e..36d6cfb72e 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/codec.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/codec.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // ModuleCdc references the global interchain accounts module codec. Note, the codec diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/codec_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/codec_test.go index c6106287b8..2962ac665c 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/codec_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/codec_test.go @@ -1,10 +1,10 @@ package types_test import ( - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/testing/simapp" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/errors.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/errors.go index 5c80da561b..360661af03 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/errors.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) var ( diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/expected_keepers.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/expected_keepers.go index 68a8b3c4bf..f260896501 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/expected_keepers.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/expected_keepers.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" ibcexported "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/metadata.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/metadata.go index 54a88e6fa1..004c1cc050 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/metadata.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/metadata.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" ) @@ -31,7 +31,7 @@ func NewMetadata(version, controllerConnectionID, hostConnectionID, accAddress, // It ensures all fields are equal except the Address string func IsPreviousMetadataEqual(previousVersion string, metadata Metadata) bool { var previousMetadata Metadata - if err := ModuleCdc.UnmarshalJSON([]byte(previousVersion), &previousMetadata); err != nil { + if err := ModuleCdc.UnmarshalAsJSON([]byte(previousVersion), &previousMetadata); err != nil { return false } diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/metadata_test.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/metadata_test.go index 0674a26ad5..08ebfddc1a 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/metadata_test.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/metadata_test.go @@ -20,7 +20,7 @@ func (suite *TypesTestSuite) TestIsPreviousMetadataEqual() { { "success", func() { - versionBytes, err := types.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := types.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) previousVersion = string(versionBytes) }, @@ -31,7 +31,7 @@ func (suite *TypesTestSuite) TestIsPreviousMetadataEqual() { func() { metadata.Address = "" - versionBytes, err := types.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := types.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) previousVersion = string(versionBytes) }, @@ -49,7 +49,7 @@ func (suite *TypesTestSuite) TestIsPreviousMetadataEqual() { func() { metadata.Encoding = "invalid-encoding-format" - versionBytes, err := types.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := types.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) previousVersion = string(versionBytes) }, @@ -60,7 +60,7 @@ func (suite *TypesTestSuite) TestIsPreviousMetadataEqual() { func() { metadata.TxType = "invalid-tx-type" - versionBytes, err := types.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := types.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) previousVersion = string(versionBytes) }, @@ -71,7 +71,7 @@ func (suite *TypesTestSuite) TestIsPreviousMetadataEqual() { func() { metadata.ControllerConnectionId = "connection-10" - versionBytes, err := types.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := types.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) previousVersion = string(versionBytes) }, @@ -82,7 +82,7 @@ func (suite *TypesTestSuite) TestIsPreviousMetadataEqual() { func() { metadata.HostConnectionId = "connection-10" - versionBytes, err := types.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := types.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) previousVersion = string(versionBytes) }, @@ -93,7 +93,7 @@ func (suite *TypesTestSuite) TestIsPreviousMetadataEqual() { func() { metadata.Version = "invalid version" - versionBytes, err := types.ModuleCdc.MarshalJSON(&metadata) + versionBytes, err := types.ModuleCdc.MarshalAsJSON(&metadata) suite.Require().NoError(err) previousVersion = string(versionBytes) }, diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/packet.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/packet.go index 59419f8f30..4b36eed9a4 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/packet.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/packet.go @@ -1,9 +1,9 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // MaxMemoCharLength defines the maximum length for the InterchainAccountPacketData memo field diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/packet.pb.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/packet.pb.go index 578f1a25c0..8c6d8c69c3 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/packet.pb.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/packet.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" io "io" math "math" math_bits "math/bits" diff --git a/sei-ibc-go/modules/apps/27-interchain-accounts/types/port.go b/sei-ibc-go/modules/apps/27-interchain-accounts/types/port.go index 54949b8a1c..20d90be394 100644 --- a/sei-ibc-go/modules/apps/27-interchain-accounts/types/port.go +++ b/sei-ibc-go/modules/apps/27-interchain-accounts/types/port.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // NewControllerPortID creates and returns a new prefixed controller port identifier using the provided owner string diff --git a/sei-ibc-go/modules/apps/transfer/client/cli/cli.go b/sei-ibc-go/modules/apps/transfer/client/cli/cli.go index de83f4d473..f93c17c45a 100644 --- a/sei-ibc-go/modules/apps/transfer/client/cli/cli.go +++ b/sei-ibc-go/modules/apps/transfer/client/cli/cli.go @@ -3,7 +3,7 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" ) // GetQueryCmd returns the query commands for IBC connections diff --git a/sei-ibc-go/modules/apps/transfer/client/cli/query.go b/sei-ibc-go/modules/apps/transfer/client/cli/query.go index faf6a69471..859626e2a6 100644 --- a/sei-ibc-go/modules/apps/transfer/client/cli/query.go +++ b/sei-ibc-go/modules/apps/transfer/client/cli/query.go @@ -3,9 +3,9 @@ package cli import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" "github.com/spf13/cobra" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" diff --git a/sei-ibc-go/modules/apps/transfer/client/cli/tx.go b/sei-ibc-go/modules/apps/transfer/client/cli/tx.go index 606e3bcd0a..47ce23cd85 100644 --- a/sei-ibc-go/modules/apps/transfer/client/cli/tx.go +++ b/sei-ibc-go/modules/apps/transfer/client/cli/tx.go @@ -6,11 +6,11 @@ import ( "strings" "time" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" "github.com/spf13/cobra" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" diff --git a/sei-ibc-go/modules/apps/transfer/ibc_module.go b/sei-ibc-go/modules/apps/transfer/ibc_module.go index c1370a456f..dfabe28ccd 100644 --- a/sei-ibc-go/modules/apps/transfer/ibc_module.go +++ b/sei-ibc-go/modules/apps/transfer/ibc_module.go @@ -5,9 +5,9 @@ import ( "fmt" "math" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/keeper" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" @@ -174,7 +174,7 @@ func (im IBCModule) OnRecvPacket( ack := channeltypes.NewResultAcknowledgement([]byte{byte(1)}) var data types.FungibleTokenPacketData - if err := types.ModuleCdc.UnmarshalJSON(packet.GetData(), &data); err != nil { + if err := types.ModuleCdc.UnmarshalAsJSON(packet.GetData(), &data); err != nil { ack = channeltypes.NewErrorAcknowledgement("cannot unmarshal ICS-20 transfer packet data") } @@ -212,11 +212,11 @@ func (im IBCModule) OnAcknowledgementPacket( relayer sdk.AccAddress, ) error { var ack channeltypes.Acknowledgement - if err := types.ModuleCdc.UnmarshalJSON(acknowledgement, &ack); err != nil { + if err := types.ModuleCdc.UnmarshalAsJSON(acknowledgement, &ack); err != nil { return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal ICS-20 transfer packet acknowledgement: %v", err) } var data types.FungibleTokenPacketData - if err := types.ModuleCdc.UnmarshalJSON(packet.GetData(), &data); err != nil { + if err := types.ModuleCdc.UnmarshalAsJSON(packet.GetData(), &data); err != nil { return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal ICS-20 transfer packet data: %s", err.Error()) } bz := types.ModuleCdc.MustMarshalJSON(&ack) @@ -267,7 +267,7 @@ func (im IBCModule) OnTimeoutPacket( relayer sdk.AccAddress, ) error { var data types.FungibleTokenPacketData - if err := types.ModuleCdc.UnmarshalJSON(packet.GetData(), &data); err != nil { + if err := types.ModuleCdc.UnmarshalAsJSON(packet.GetData(), &data); err != nil { return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "cannot unmarshal ICS-20 transfer packet data: %s", err.Error()) } // refund tokens diff --git a/sei-ibc-go/modules/apps/transfer/ibc_module_test.go b/sei-ibc-go/modules/apps/transfer/ibc_module_test.go index 897392ab46..a1fa4826e4 100644 --- a/sei-ibc-go/modules/apps/transfer/ibc_module_test.go +++ b/sei-ibc-go/modules/apps/transfer/ibc_module_test.go @@ -4,11 +4,11 @@ import ( "errors" "math" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" diff --git a/sei-ibc-go/modules/apps/transfer/keeper/genesis.go b/sei-ibc-go/modules/apps/transfer/keeper/genesis.go index 1ccc9bb93f..8e5cc76da3 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/genesis.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ) diff --git a/sei-ibc-go/modules/apps/transfer/keeper/grpc_query.go b/sei-ibc-go/modules/apps/transfer/keeper/grpc_query.go index 036e5877f7..30a355af44 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/grpc_query.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/grpc_query.go @@ -5,10 +5,10 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/sei-ibc-go/modules/apps/transfer/keeper/grpc_query_test.go b/sei-ibc-go/modules/apps/transfer/keeper/grpc_query_test.go index 3326d26fa7..c6b9153669 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/grpc_query_test.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/grpc_query_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ibctesting "github.com/sei-protocol/sei-chain/sei-ibc-go/testing" diff --git a/sei-ibc-go/modules/apps/transfer/keeper/keeper.go b/sei-ibc-go/modules/apps/transfer/keeper/keeper.go index af07736a59..fc1737d29a 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/keeper.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/keeper.go @@ -1,13 +1,13 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" diff --git a/sei-ibc-go/modules/apps/transfer/keeper/keeper_test.go b/sei-ibc-go/modules/apps/transfer/keeper/keeper_test.go index b837ab41fc..78eb519289 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/keeper_test.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/keeper_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" "github.com/stretchr/testify/suite" diff --git a/sei-ibc-go/modules/apps/transfer/keeper/mbt_relay_test.go b/sei-ibc-go/modules/apps/transfer/keeper/mbt_relay_test.go index 12d221a386..569e4b4400 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/mbt_relay_test.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/mbt_relay_test.go @@ -11,8 +11,8 @@ import ( "strconv" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" diff --git a/sei-ibc-go/modules/apps/transfer/keeper/migrations.go b/sei-ibc-go/modules/apps/transfer/keeper/migrations.go index 6f4c326482..81b57281b9 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/migrations.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/migrations.go @@ -3,7 +3,7 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ) diff --git a/sei-ibc-go/modules/apps/transfer/keeper/msg_server.go b/sei-ibc-go/modules/apps/transfer/keeper/msg_server.go index 65e9b5053f..2f2b222688 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/msg_server.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/msg_server.go @@ -3,7 +3,7 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ) diff --git a/sei-ibc-go/modules/apps/transfer/keeper/msg_server_test.go b/sei-ibc-go/modules/apps/transfer/keeper/msg_server_test.go index 163e660c52..bd4b5f57b7 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/msg_server_test.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/msg_server_test.go @@ -1,8 +1,8 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ) diff --git a/sei-ibc-go/modules/apps/transfer/keeper/params.go b/sei-ibc-go/modules/apps/transfer/keeper/params.go index 31c60fa559..475de24f4f 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/params.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ) diff --git a/sei-ibc-go/modules/apps/transfer/keeper/relay.go b/sei-ibc-go/modules/apps/transfer/keeper/relay.go index 89645e5c1e..bb15b5fda3 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/relay.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/relay.go @@ -5,9 +5,9 @@ import ( "strings" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/apps/transfer/keeper/relay_test.go b/sei-ibc-go/modules/apps/transfer/keeper/relay_test.go index 301144b3ef..1fe5599e62 100644 --- a/sei-ibc-go/modules/apps/transfer/keeper/relay_test.go +++ b/sei-ibc-go/modules/apps/transfer/keeper/relay_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/apps/transfer/module.go b/sei-ibc-go/modules/apps/transfer/module.go index 17f15491a3..7fcb407f1a 100644 --- a/sei-ibc-go/modules/apps/transfer/module.go +++ b/sei-ibc-go/modules/apps/transfer/module.go @@ -6,14 +6,14 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" @@ -57,7 +57,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the ibc transfer module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var gs types.GenesisState - if err := cdc.UnmarshalJSON(bz, &gs); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &gs); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } diff --git a/sei-ibc-go/modules/apps/transfer/simulation/decoder.go b/sei-ibc-go/modules/apps/transfer/simulation/decoder.go index 15deac3c82..7d8838037f 100644 --- a/sei-ibc-go/modules/apps/transfer/simulation/decoder.go +++ b/sei-ibc-go/modules/apps/transfer/simulation/decoder.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ) diff --git a/sei-ibc-go/modules/apps/transfer/simulation/genesis.go b/sei-ibc-go/modules/apps/transfer/simulation/genesis.go index f09a117099..b70fe35e8c 100644 --- a/sei-ibc-go/modules/apps/transfer/simulation/genesis.go +++ b/sei-ibc-go/modules/apps/transfer/simulation/genesis.go @@ -6,8 +6,8 @@ import ( "math/rand" "strings" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ) diff --git a/sei-ibc-go/modules/apps/transfer/simulation/params.go b/sei-ibc-go/modules/apps/transfer/simulation/params.go index e95f1c7751..15ce3eb235 100644 --- a/sei-ibc-go/modules/apps/transfer/simulation/params.go +++ b/sei-ibc-go/modules/apps/transfer/simulation/params.go @@ -3,9 +3,9 @@ package simulation import ( "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" gogotypes "github.com/gogo/protobuf/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ) diff --git a/sei-ibc-go/modules/apps/transfer/transfer_test.go b/sei-ibc-go/modules/apps/transfer/transfer_test.go index d1c4a71aa7..2f56390d67 100644 --- a/sei-ibc-go/modules/apps/transfer/transfer_test.go +++ b/sei-ibc-go/modules/apps/transfer/transfer_test.go @@ -3,7 +3,7 @@ package transfer_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/suite" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" diff --git a/sei-ibc-go/modules/apps/transfer/types/ack.go b/sei-ibc-go/modules/apps/transfer/types/ack.go index eb68e34079..efb0d6bd75 100644 --- a/sei-ibc-go/modules/apps/transfer/types/ack.go +++ b/sei-ibc-go/modules/apps/transfer/types/ack.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" ) diff --git a/sei-ibc-go/modules/apps/transfer/types/ack_test.go b/sei-ibc-go/modules/apps/transfer/types/ack_test.go index ed03bdbf85..3541125db6 100644 --- a/sei-ibc-go/modules/apps/transfer/types/ack_test.go +++ b/sei-ibc-go/modules/apps/transfer/types/ack_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" abcitypes "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmprotostate "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/state" tmstate "github.com/sei-protocol/sei-chain/sei-tendermint/state" diff --git a/sei-ibc-go/modules/apps/transfer/types/address.go b/sei-ibc-go/modules/apps/transfer/types/address.go index 77b41e7f94..5e5b511cf8 100644 --- a/sei-ibc-go/modules/apps/transfer/types/address.go +++ b/sei-ibc-go/modules/apps/transfer/types/address.go @@ -1,6 +1,6 @@ package types -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" // AddressHandler is an interface that defines the methods to handle addresses type AddressHandler interface { diff --git a/sei-ibc-go/modules/apps/transfer/types/address_test.go b/sei-ibc-go/modules/apps/transfer/types/address_test.go index 0536d15a1b..62550a70ac 100644 --- a/sei-ibc-go/modules/apps/transfer/types/address_test.go +++ b/sei-ibc-go/modules/apps/transfer/types/address_test.go @@ -3,8 +3,8 @@ package types import ( "testing" - "github.com/cosmos/cosmos-sdk/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/sei-ibc-go/modules/apps/transfer/types/codec.go b/sei-ibc-go/modules/apps/transfer/types/codec.go index 3067cf8dc9..c148b71d0a 100644 --- a/sei-ibc-go/modules/apps/transfer/types/codec.go +++ b/sei-ibc-go/modules/apps/transfer/types/codec.go @@ -3,12 +3,12 @@ package types import ( "bytes" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" "github.com/gogo/protobuf/jsonpb" "github.com/gogo/protobuf/proto" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" ) // RegisterLegacyAminoCodec registers the necessary x/ibc transfer interfaces and concrete types diff --git a/sei-ibc-go/modules/apps/transfer/types/codec_test.go b/sei-ibc-go/modules/apps/transfer/types/codec_test.go index b7a2f66036..17760b0229 100644 --- a/sei-ibc-go/modules/apps/transfer/types/codec_test.go +++ b/sei-ibc-go/modules/apps/transfer/types/codec_test.go @@ -3,7 +3,7 @@ package types_test import ( "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ) diff --git a/sei-ibc-go/modules/apps/transfer/types/coin.go b/sei-ibc-go/modules/apps/transfer/types/coin.go index d632954110..6e6e4f15f0 100644 --- a/sei-ibc-go/modules/apps/transfer/types/coin.go +++ b/sei-ibc-go/modules/apps/transfer/types/coin.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // SenderChainIsSource returns false if the denomination originally came diff --git a/sei-ibc-go/modules/apps/transfer/types/errors.go b/sei-ibc-go/modules/apps/transfer/types/errors.go index 2a8d01646f..13f12d862a 100644 --- a/sei-ibc-go/modules/apps/transfer/types/errors.go +++ b/sei-ibc-go/modules/apps/transfer/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // IBC transfer sentinel errors diff --git a/sei-ibc-go/modules/apps/transfer/types/expected_keepers.go b/sei-ibc-go/modules/apps/transfer/types/expected_keepers.go index 028e1f86ce..c7d3c466c2 100644 --- a/sei-ibc-go/modules/apps/transfer/types/expected_keepers.go +++ b/sei-ibc-go/modules/apps/transfer/types/expected_keepers.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" diff --git a/sei-ibc-go/modules/apps/transfer/types/keys.go b/sei-ibc-go/modules/apps/transfer/types/keys.go index c156af3fd8..15f20ad36e 100644 --- a/sei-ibc-go/modules/apps/transfer/types/keys.go +++ b/sei-ibc-go/modules/apps/transfer/types/keys.go @@ -4,7 +4,7 @@ import ( "crypto/sha256" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/sei-ibc-go/modules/apps/transfer/types/msgs.go b/sei-ibc-go/modules/apps/transfer/types/msgs.go index 0eb17e856d..75117732dc 100644 --- a/sei-ibc-go/modules/apps/transfer/types/msgs.go +++ b/sei-ibc-go/modules/apps/transfer/types/msgs.go @@ -3,8 +3,8 @@ package types import ( "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" @@ -17,8 +17,6 @@ const ( ) // NewMsgTransfer creates a new MsgTransfer instance -// -//nolint:interfacer func NewMsgTransfer( sourcePort, sourceChannel string, token sdk.Coin, sender, receiver string, diff --git a/sei-ibc-go/modules/apps/transfer/types/msgs_test.go b/sei-ibc-go/modules/apps/transfer/types/msgs_test.go index 679b1caaee..49da29ec04 100644 --- a/sei-ibc-go/modules/apps/transfer/types/msgs_test.go +++ b/sei-ibc-go/modules/apps/transfer/types/msgs_test.go @@ -5,8 +5,8 @@ import ( "math/rand" "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/apps/transfer/types/packet.go b/sei-ibc-go/modules/apps/transfer/types/packet.go index 59d22d03b9..bc307fdf82 100644 --- a/sei-ibc-go/modules/apps/transfer/types/packet.go +++ b/sei-ibc-go/modules/apps/transfer/types/packet.go @@ -4,8 +4,8 @@ import ( "strings" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) var ( diff --git a/sei-ibc-go/modules/apps/transfer/types/params.go b/sei-ibc-go/modules/apps/transfer/types/params.go index 4ecdfab77e..981a24194b 100644 --- a/sei-ibc-go/modules/apps/transfer/types/params.go +++ b/sei-ibc-go/modules/apps/transfer/types/params.go @@ -3,7 +3,7 @@ package types import ( "fmt" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) const ( diff --git a/sei-ibc-go/modules/apps/transfer/types/query.pb.go b/sei-ibc-go/modules/apps/transfer/types/query.pb.go index 1ef8c58f14..ab4ef772fc 100644 --- a/sei-ibc-go/modules/apps/transfer/types/query.pb.go +++ b/sei-ibc-go/modules/apps/transfer/types/query.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/sei-ibc-go/modules/apps/transfer/types/trace.go b/sei-ibc-go/modules/apps/transfer/types/trace.go index eadc2127fe..f8c4e40125 100644 --- a/sei-ibc-go/modules/apps/transfer/types/trace.go +++ b/sei-ibc-go/modules/apps/transfer/types/trace.go @@ -7,8 +7,8 @@ import ( "sort" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/sei-ibc-go/modules/apps/transfer/types/tx.pb.go b/sei-ibc-go/modules/apps/transfer/types/tx.pb.go index a26243208a..8442e5611f 100644 --- a/sei-ibc-go/modules/apps/transfer/types/tx.pb.go +++ b/sei-ibc-go/modules/apps/transfer/types/tx.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" types1 "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/sei-ibc-go/modules/core/02-client/abci.go b/sei-ibc-go/modules/core/02-client/abci.go index c17be530d7..15ed965616 100644 --- a/sei-ibc-go/modules/core/02-client/abci.go +++ b/sei-ibc-go/modules/core/02-client/abci.go @@ -1,7 +1,7 @@ package client import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/keeper" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/02-client/abci_test.go b/sei-ibc-go/modules/core/02-client/abci_test.go index 2188f7ae4c..624daf0b93 100644 --- a/sei-ibc-go/modules/core/02-client/abci_test.go +++ b/sei-ibc-go/modules/core/02-client/abci_test.go @@ -3,7 +3,7 @@ package client_test import ( "testing" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" diff --git a/sei-ibc-go/modules/core/02-client/client/cli/cli.go b/sei-ibc-go/modules/core/02-client/client/cli/cli.go index d3162460b4..4792c4dc78 100644 --- a/sei-ibc-go/modules/core/02-client/client/cli/cli.go +++ b/sei-ibc-go/modules/core/02-client/client/cli/cli.go @@ -1,7 +1,7 @@ package cli import ( - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" "github.com/spf13/cobra" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/02-client/client/cli/query.go b/sei-ibc-go/modules/core/02-client/client/cli/query.go index 3daa9316ad..00d6cb5ae7 100644 --- a/sei-ibc-go/modules/core/02-client/client/cli/query.go +++ b/sei-ibc-go/modules/core/02-client/client/cli/query.go @@ -4,9 +4,9 @@ import ( "errors" "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" "github.com/spf13/cobra" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/client/utils" diff --git a/sei-ibc-go/modules/core/02-client/client/cli/tx.go b/sei-ibc-go/modules/core/02-client/client/cli/tx.go index 4e6a8733e7..ec09ee4aa8 100644 --- a/sei-ibc-go/modules/core/02-client/client/cli/tx.go +++ b/sei-ibc-go/modules/core/02-client/client/cli/tx.go @@ -6,15 +6,15 @@ import ( "path/filepath" "strconv" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - govcli "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + govcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" "github.com/spf13/cobra" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/02-client/client/proposal_handler.go b/sei-ibc-go/modules/core/02-client/client/proposal_handler.go index 8ef5be24d2..a455de9ccb 100644 --- a/sei-ibc-go/modules/core/02-client/client/proposal_handler.go +++ b/sei-ibc-go/modules/core/02-client/client/proposal_handler.go @@ -3,10 +3,10 @@ package client import ( "net/http" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/types/rest" - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + govclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client" + govrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/rest" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/client/cli" ) diff --git a/sei-ibc-go/modules/core/02-client/client/utils/utils.go b/sei-ibc-go/modules/core/02-client/client/utils/utils.go index 31dc2483ca..df09c09835 100644 --- a/sei-ibc-go/modules/core/02-client/client/utils/utils.go +++ b/sei-ibc-go/modules/core/02-client/client/utils/utils.go @@ -3,9 +3,9 @@ package utils import ( "context" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/02-client/genesis.go b/sei-ibc-go/modules/core/02-client/genesis.go index 301533d21f..610d68c21e 100644 --- a/sei-ibc-go/modules/core/02-client/genesis.go +++ b/sei-ibc-go/modules/core/02-client/genesis.go @@ -3,7 +3,7 @@ package client import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/keeper" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/02-client/keeper/client.go b/sei-ibc-go/modules/core/02-client/keeper/client.go index ce984872a9..6ce25572bb 100644 --- a/sei-ibc-go/modules/core/02-client/keeper/client.go +++ b/sei-ibc-go/modules/core/02-client/keeper/client.go @@ -4,9 +4,9 @@ import ( "encoding/hex" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/02-client/keeper/client_test.go b/sei-ibc-go/modules/core/02-client/keeper/client_test.go index bf851f9e08..3baf146eea 100644 --- a/sei-ibc-go/modules/core/02-client/keeper/client_test.go +++ b/sei-ibc-go/modules/core/02-client/keeper/client_test.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/02-client/keeper/events.go b/sei-ibc-go/modules/core/02-client/keeper/events.go index 4cc250d050..a80941a5a4 100644 --- a/sei-ibc-go/modules/core/02-client/keeper/events.go +++ b/sei-ibc-go/modules/core/02-client/keeper/events.go @@ -3,7 +3,7 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/02-client/keeper/grpc_query.go b/sei-ibc-go/modules/core/02-client/keeper/grpc_query.go index d828527265..cb3ada8587 100644 --- a/sei-ibc-go/modules/core/02-client/keeper/grpc_query.go +++ b/sei-ibc-go/modules/core/02-client/keeper/grpc_query.go @@ -7,10 +7,10 @@ import ( "sort" "strings" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/sei-ibc-go/modules/core/02-client/keeper/grpc_query_test.go b/sei-ibc-go/modules/core/02-client/keeper/grpc_query_test.go index 6aa1fcc065..83c0dde3ff 100644 --- a/sei-ibc-go/modules/core/02-client/keeper/grpc_query_test.go +++ b/sei-ibc-go/modules/core/02-client/keeper/grpc_query_test.go @@ -3,10 +3,10 @@ package keeper_test import ( "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" - "github.com/cosmos/cosmos-sdk/types/query" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" "google.golang.org/grpc/metadata" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/02-client/keeper/keeper.go b/sei-ibc-go/modules/core/02-client/keeper/keeper.go index 5993b14f22..aabf19162e 100644 --- a/sei-ibc-go/modules/core/02-client/keeper/keeper.go +++ b/sei-ibc-go/modules/core/02-client/keeper/keeper.go @@ -6,12 +6,12 @@ import ( "reflect" "strings" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/sei-tendermint/light" diff --git a/sei-ibc-go/modules/core/02-client/keeper/keeper_test.go b/sei-ibc-go/modules/core/02-client/keeper/keeper_test.go index 990fdfd850..9dae9c22a5 100644 --- a/sei-ibc-go/modules/core/02-client/keeper/keeper_test.go +++ b/sei-ibc-go/modules/core/02-client/keeper/keeper_test.go @@ -5,11 +5,11 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/sei-ibc-go/modules/core/02-client/keeper/migrations.go b/sei-ibc-go/modules/core/02-client/keeper/migrations.go index 0671b3cc6f..1c41e97913 100644 --- a/sei-ibc-go/modules/core/02-client/keeper/migrations.go +++ b/sei-ibc-go/modules/core/02-client/keeper/migrations.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" v100 "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/legacy/v100" ) diff --git a/sei-ibc-go/modules/core/02-client/keeper/params.go b/sei-ibc-go/modules/core/02-client/keeper/params.go index 7080fa703e..502c978d87 100644 --- a/sei-ibc-go/modules/core/02-client/keeper/params.go +++ b/sei-ibc-go/modules/core/02-client/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" ) diff --git a/sei-ibc-go/modules/core/02-client/keeper/proposal.go b/sei-ibc-go/modules/core/02-client/keeper/proposal.go index 9e996ac4b5..22aacb6d6d 100644 --- a/sei-ibc-go/modules/core/02-client/keeper/proposal.go +++ b/sei-ibc-go/modules/core/02-client/keeper/proposal.go @@ -2,9 +2,9 @@ package keeper import ( "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/02-client/keeper/proposal_test.go b/sei-ibc-go/modules/core/02-client/keeper/proposal_test.go index bca858926c..f4cc450213 100644 --- a/sei-ibc-go/modules/core/02-client/keeper/proposal_test.go +++ b/sei-ibc-go/modules/core/02-client/keeper/proposal_test.go @@ -1,8 +1,8 @@ package keeper_test import ( - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/02-client/legacy/v100/genesis.go b/sei-ibc-go/modules/core/02-client/legacy/v100/genesis.go index a3e3bef0a3..af4b6f9389 100644 --- a/sei-ibc-go/modules/core/02-client/legacy/v100/genesis.go +++ b/sei-ibc-go/modules/core/02-client/legacy/v100/genesis.go @@ -4,8 +4,8 @@ import ( "bytes" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/modules/core/02-client/legacy/v100/genesis_test.go b/sei-ibc-go/modules/core/02-client/legacy/v100/genesis_test.go index 205b14eb74..eeb724407b 100644 --- a/sei-ibc-go/modules/core/02-client/legacy/v100/genesis_test.go +++ b/sei-ibc-go/modules/core/02-client/legacy/v100/genesis_test.go @@ -5,9 +5,9 @@ import ( "encoding/json" "time" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ibcclient "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client" v100 "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/legacy/v100" @@ -147,7 +147,7 @@ func (suite *LegacyTestSuite) TestMigrateGenesisSolomachine() { } } - bz, err := clientCtx.Codec.MarshalJSON(&expectedClientGenState) + bz, err := clientCtx.Codec.MarshalAsJSON(&expectedClientGenState) suite.Require().NoError(err) // Indent the JSON bz correctly. @@ -157,7 +157,7 @@ func (suite *LegacyTestSuite) TestMigrateGenesisSolomachine() { expectedIndentedBz, err := json.MarshalIndent(jsonObj, "", "\t") suite.Require().NoError(err) - bz, err = clientCtx.Codec.MarshalJSON(migrated) + bz, err = clientCtx.Codec.MarshalAsJSON(migrated) suite.Require().NoError(err) // Indent the JSON bz correctly. @@ -285,7 +285,7 @@ func (suite *LegacyTestSuite) TestMigrateGenesisTendermint() { } } } - bz, err := clientCtx.Codec.MarshalJSON(&expectedClientGenState) + bz, err := clientCtx.Codec.MarshalAsJSON(&expectedClientGenState) suite.Require().NoError(err) // Indent the JSON bz correctly. @@ -295,7 +295,7 @@ func (suite *LegacyTestSuite) TestMigrateGenesisTendermint() { expectedIndentedBz, err := json.MarshalIndent(jsonObj, "", "\t") suite.Require().NoError(err) - bz, err = clientCtx.Codec.MarshalJSON(migrated) + bz, err = clientCtx.Codec.MarshalAsJSON(migrated) suite.Require().NoError(err) // Indent the JSON bz correctly. diff --git a/sei-ibc-go/modules/core/02-client/legacy/v100/solomachine.go b/sei-ibc-go/modules/core/02-client/legacy/v100/solomachine.go index f3ef097bf5..6107ac5bbc 100644 --- a/sei-ibc-go/modules/core/02-client/legacy/v100/solomachine.go +++ b/sei-ibc-go/modules/core/02-client/legacy/v100/solomachine.go @@ -2,10 +2,10 @@ package v100 import ( ics23 "github.com/confio/ics23/go" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/02-client/legacy/v100/solomachine.pb.go b/sei-ibc-go/modules/core/02-client/legacy/v100/solomachine.pb.go index 5462126625..94e0123e38 100644 --- a/sei-ibc-go/modules/core/02-client/legacy/v100/solomachine.pb.go +++ b/sei-ibc-go/modules/core/02-client/legacy/v100/solomachine.pb.go @@ -5,9 +5,9 @@ package v100 import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" types1 "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" types2 "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" io "io" diff --git a/sei-ibc-go/modules/core/02-client/legacy/v100/store.go b/sei-ibc-go/modules/core/02-client/legacy/v100/store.go index 8f15f527b2..a25769a5cd 100644 --- a/sei-ibc-go/modules/core/02-client/legacy/v100/store.go +++ b/sei-ibc-go/modules/core/02-client/legacy/v100/store.go @@ -4,11 +4,11 @@ import ( "fmt" "strings" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/modules/core/02-client/proposal_handler.go b/sei-ibc-go/modules/core/02-client/proposal_handler.go index 708f51ae88..913cccacf4 100644 --- a/sei-ibc-go/modules/core/02-client/proposal_handler.go +++ b/sei-ibc-go/modules/core/02-client/proposal_handler.go @@ -1,9 +1,9 @@ package client import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/keeper" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/02-client/proposal_handler_test.go b/sei-ibc-go/modules/core/02-client/proposal_handler_test.go index 302ed449f6..33f90d9808 100644 --- a/sei-ibc-go/modules/core/02-client/proposal_handler_test.go +++ b/sei-ibc-go/modules/core/02-client/proposal_handler_test.go @@ -1,9 +1,9 @@ package client_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + distributiontypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" client "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/02-client/simulation/decoder.go b/sei-ibc-go/modules/core/02-client/simulation/decoder.go index a319c79f53..3e348e7e8e 100644 --- a/sei-ibc-go/modules/core/02-client/simulation/decoder.go +++ b/sei-ibc-go/modules/core/02-client/simulation/decoder.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/keeper" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/modules/core/02-client/simulation/decoder_test.go b/sei-ibc-go/modules/core/02-client/simulation/decoder_test.go index 352a1c8d5f..682360e670 100644 --- a/sei-ibc-go/modules/core/02-client/simulation/decoder_test.go +++ b/sei-ibc-go/modules/core/02-client/simulation/decoder_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" "github.com/stretchr/testify/require" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/simulation" diff --git a/sei-ibc-go/modules/core/02-client/simulation/genesis.go b/sei-ibc-go/modules/core/02-client/simulation/genesis.go index 2eedfaab88..54e2e3148e 100644 --- a/sei-ibc-go/modules/core/02-client/simulation/genesis.go +++ b/sei-ibc-go/modules/core/02-client/simulation/genesis.go @@ -3,7 +3,7 @@ package simulation import ( "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" ) diff --git a/sei-ibc-go/modules/core/02-client/types/client.go b/sei-ibc-go/modules/core/02-client/types/client.go index 0b18ea35a2..434ef170ae 100644 --- a/sei-ibc-go/modules/core/02-client/types/client.go +++ b/sei-ibc-go/modules/core/02-client/types/client.go @@ -6,9 +6,9 @@ import ( "sort" "strings" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" proto "github.com/gogo/protobuf/proto" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/02-client/types/client.pb.go b/sei-ibc-go/modules/core/02-client/types/client.pb.go index c93949e595..7628d2cc72 100644 --- a/sei-ibc-go/modules/core/02-client/types/client.pb.go +++ b/sei-ibc-go/modules/core/02-client/types/client.pb.go @@ -5,11 +5,11 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - types1 "github.com/cosmos/cosmos-sdk/x/upgrade/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" io "io" math "math" math_bits "math/bits" diff --git a/sei-ibc-go/modules/core/02-client/types/client_test.go b/sei-ibc-go/modules/core/02-client/types/client_test.go index a82e86a2a8..ca0e1e8322 100644 --- a/sei-ibc-go/modules/core/02-client/types/client_test.go +++ b/sei-ibc-go/modules/core/02-client/types/client_test.go @@ -46,12 +46,12 @@ func (suite *TypesTestSuite) TestMarshalConsensusStateWithHeight() { cdc := suite.chainA.App.AppCodec() // marshal message - bz, err := cdc.MarshalJSON(&cswh) + bz, err := cdc.MarshalAsJSON(&cswh) suite.Require().NoError(err) // unmarshal message newCswh := &types.ConsensusStateWithHeight{} - err = cdc.UnmarshalJSON(bz, newCswh) + err = cdc.UnmarshalAsJSON(bz, newCswh) suite.Require().NoError(err) }) } diff --git a/sei-ibc-go/modules/core/02-client/types/codec.go b/sei-ibc-go/modules/core/02-client/types/codec.go index 575564fdce..3e3559ac8a 100644 --- a/sei-ibc-go/modules/core/02-client/types/codec.go +++ b/sei-ibc-go/modules/core/02-client/types/codec.go @@ -1,12 +1,12 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/msgservice" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" proto "github.com/gogo/protobuf/proto" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/02-client/types/codec_test.go b/sei-ibc-go/modules/core/02-client/types/codec_test.go index 53377dceb4..062a91c631 100644 --- a/sei-ibc-go/modules/core/02-client/types/codec_test.go +++ b/sei-ibc-go/modules/core/02-client/types/codec_test.go @@ -1,7 +1,7 @@ package types_test import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" commitmenttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/23-commitment/types" diff --git a/sei-ibc-go/modules/core/02-client/types/encoding.go b/sei-ibc-go/modules/core/02-client/types/encoding.go index 6878bed86a..947eaf7ed9 100644 --- a/sei-ibc-go/modules/core/02-client/types/encoding.go +++ b/sei-ibc-go/modules/core/02-client/types/encoding.go @@ -3,7 +3,7 @@ package types import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/02-client/types/errors.go b/sei-ibc-go/modules/core/02-client/types/errors.go index c40bae878c..82dc8344d6 100644 --- a/sei-ibc-go/modules/core/02-client/types/errors.go +++ b/sei-ibc-go/modules/core/02-client/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // IBC client sentinel errors diff --git a/sei-ibc-go/modules/core/02-client/types/expected_keepers.go b/sei-ibc-go/modules/core/02-client/types/expected_keepers.go index f10c39b954..a137c4586a 100644 --- a/sei-ibc-go/modules/core/02-client/types/expected_keepers.go +++ b/sei-ibc-go/modules/core/02-client/types/expected_keepers.go @@ -3,9 +3,9 @@ package types import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ) // StakingKeeper expected staking keeper diff --git a/sei-ibc-go/modules/core/02-client/types/genesis.go b/sei-ibc-go/modules/core/02-client/types/genesis.go index cc2447ef41..021ad38798 100644 --- a/sei-ibc-go/modules/core/02-client/types/genesis.go +++ b/sei-ibc-go/modules/core/02-client/types/genesis.go @@ -4,7 +4,7 @@ import ( "fmt" "sort" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/02-client/types/genesis_test.go b/sei-ibc-go/modules/core/02-client/types/genesis_test.go index 4a78af80d7..35d7c86164 100644 --- a/sei-ibc-go/modules/core/02-client/types/genesis_test.go +++ b/sei-ibc-go/modules/core/02-client/types/genesis_test.go @@ -36,12 +36,12 @@ func (suite *TypesTestSuite) TestMarshalGenesisState() { genesis := client.ExportGenesis(suite.chainA.GetContext(), suite.chainA.App.GetIBCKeeper().ClientKeeper) - bz, err := cdc.MarshalJSON(&genesis) + bz, err := cdc.MarshalAsJSON(&genesis) suite.Require().NoError(err) suite.Require().NotNil(bz) var gs types.GenesisState - err = cdc.UnmarshalJSON(bz, &gs) + err = cdc.UnmarshalAsJSON(bz, &gs) suite.Require().NoError(err) } diff --git a/sei-ibc-go/modules/core/02-client/types/height.go b/sei-ibc-go/modules/core/02-client/types/height.go index ac4aaa50a3..050e9884a0 100644 --- a/sei-ibc-go/modules/core/02-client/types/height.go +++ b/sei-ibc-go/modules/core/02-client/types/height.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/02-client/types/keys.go b/sei-ibc-go/modules/core/02-client/types/keys.go index 72c2dcfb1a..8b21d641c5 100644 --- a/sei-ibc-go/modules/core/02-client/types/keys.go +++ b/sei-ibc-go/modules/core/02-client/types/keys.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" ) diff --git a/sei-ibc-go/modules/core/02-client/types/msgs.go b/sei-ibc-go/modules/core/02-client/types/msgs.go index 034d58a59c..42d833d2e9 100644 --- a/sei-ibc-go/modules/core/02-client/types/msgs.go +++ b/sei-ibc-go/modules/core/02-client/types/msgs.go @@ -1,9 +1,9 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" @@ -30,8 +30,6 @@ var ( ) // NewMsgCreateClient creates a new MsgCreateClient instance -// -//nolint:interfacer func NewMsgCreateClient( clientState exported.ClientState, consensusState exported.ConsensusState, signer string, ) (*MsgCreateClient, error) { @@ -103,8 +101,6 @@ func (msg MsgCreateClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) err } // NewMsgUpdateClient creates a new MsgUpdateClient instance -// -//nolint:interfacer func NewMsgUpdateClient(id string, header exported.Header, signer string) (*MsgUpdateClient, error) { anyHeader, err := PackHeader(header) if err != nil { @@ -153,7 +149,7 @@ func (msg MsgUpdateClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) err } // NewMsgUpgradeClient creates a new MsgUpgradeClient instance -// nolint: interfacer + func NewMsgUpgradeClient(clientID string, clientState exported.ClientState, consState exported.ConsensusState, proofUpgradeClient, proofUpgradeConsState []byte, signer string, ) (*MsgUpgradeClient, error) { @@ -230,8 +226,6 @@ func (msg MsgUpgradeClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) er } // NewMsgSubmitMisbehaviour creates a new MsgSubmitMisbehaviour instance. -// -//nolint:interfacer func NewMsgSubmitMisbehaviour(clientID string, misbehaviour exported.Misbehaviour, signer string) (*MsgSubmitMisbehaviour, error) { anyMisbehaviour, err := PackMisbehaviour(misbehaviour) if err != nil { diff --git a/sei-ibc-go/modules/core/02-client/types/msgs_test.go b/sei-ibc-go/modules/core/02-client/types/msgs_test.go index 1eb8a65ba8..3106192641 100644 --- a/sei-ibc-go/modules/core/02-client/types/msgs_test.go +++ b/sei-ibc-go/modules/core/02-client/types/msgs_test.go @@ -73,12 +73,12 @@ func (suite *TypesTestSuite) TestMarshalMsgCreateClient() { cdc := suite.chainA.App.AppCodec() // marshal message - bz, err := cdc.MarshalJSON(msg) + bz, err := cdc.MarshalAsJSON(msg) suite.Require().NoError(err) // unmarshal message newMsg := &types.MsgCreateClient{} - err = cdc.UnmarshalJSON(bz, newMsg) + err = cdc.UnmarshalAsJSON(bz, newMsg) suite.Require().NoError(err) suite.Require().True(proto.Equal(msg, newMsg)) @@ -226,12 +226,12 @@ func (suite *TypesTestSuite) TestMarshalMsgUpdateClient() { cdc := suite.chainA.App.AppCodec() // marshal message - bz, err := cdc.MarshalJSON(msg) + bz, err := cdc.MarshalAsJSON(msg) suite.Require().NoError(err) // unmarshal message newMsg := &types.MsgUpdateClient{} - err = cdc.UnmarshalJSON(bz, newMsg) + err = cdc.UnmarshalAsJSON(bz, newMsg) suite.Require().NoError(err) suite.Require().True(proto.Equal(msg, newMsg)) @@ -365,12 +365,12 @@ func (suite *TypesTestSuite) TestMarshalMsgUpgradeClient() { cdc := suite.chainA.App.AppCodec() // marshal message - bz, err := cdc.MarshalJSON(msg) + bz, err := cdc.MarshalAsJSON(msg) suite.Require().NoError(err) // unmarshal message newMsg := &types.MsgUpgradeClient{} - err = cdc.UnmarshalJSON(bz, newMsg) + err = cdc.UnmarshalAsJSON(bz, newMsg) suite.Require().NoError(err) }) } @@ -510,12 +510,12 @@ func (suite *TypesTestSuite) TestMarshalMsgSubmitMisbehaviour() { cdc := suite.chainA.App.AppCodec() // marshal message - bz, err := cdc.MarshalJSON(msg) + bz, err := cdc.MarshalAsJSON(msg) suite.Require().NoError(err) // unmarshal message newMsg := &types.MsgSubmitMisbehaviour{} - err = cdc.UnmarshalJSON(bz, newMsg) + err = cdc.UnmarshalAsJSON(bz, newMsg) suite.Require().NoError(err) suite.Require().True(proto.Equal(msg, newMsg)) diff --git a/sei-ibc-go/modules/core/02-client/types/params.go b/sei-ibc-go/modules/core/02-client/types/params.go index 85b740aa15..bc04abcc39 100644 --- a/sei-ibc-go/modules/core/02-client/types/params.go +++ b/sei-ibc-go/modules/core/02-client/types/params.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/02-client/types/proposal.go b/sei-ibc-go/modules/core/02-client/types/proposal.go index bb147b9c2e..643000a70e 100644 --- a/sei-ibc-go/modules/core/02-client/types/proposal.go +++ b/sei-ibc-go/modules/core/02-client/types/proposal.go @@ -3,10 +3,10 @@ package types import ( "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/02-client/types/proposal_test.go b/sei-ibc-go/modules/core/02-client/types/proposal_test.go index 7e4a863936..abee4ea87a 100644 --- a/sei-ibc-go/modules/core/02-client/types/proposal_test.go +++ b/sei-ibc-go/modules/core/02-client/types/proposal_test.go @@ -3,10 +3,10 @@ package types_test import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" ibctmtypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/light-clients/07-tendermint/types" @@ -79,12 +79,12 @@ func (suite *TypesTestSuite) TestMarshalClientUpdateProposalProposal() { // marshal message content := proposal.(*types.ClientUpdateProposal) - bz, err := cdc.MarshalJSON(content) + bz, err := cdc.MarshalAsJSON(content) suite.Require().NoError(err) // unmarshal proposal newProposal := &types.ClientUpdateProposal{} - err = cdc.UnmarshalJSON(bz, newProposal) + err = cdc.UnmarshalAsJSON(bz, newProposal) suite.Require().NoError(err) } @@ -187,12 +187,12 @@ func (suite *TypesTestSuite) TestMarshalUpgradeProposal() { cdc := codec.NewProtoCodec(ir) // marshal message - bz, err := cdc.MarshalJSON(up) + bz, err := cdc.MarshalAsJSON(up) suite.Require().NoError(err) // unmarshal proposal newUp := &types.UpgradeProposal{} - err = cdc.UnmarshalJSON(bz, newUp) + err = cdc.UnmarshalAsJSON(bz, newUp) suite.Require().NoError(err) // unpack client state diff --git a/sei-ibc-go/modules/core/02-client/types/query.go b/sei-ibc-go/modules/core/02-client/types/query.go index 93497176e4..798bd94f8b 100644 --- a/sei-ibc-go/modules/core/02-client/types/query.go +++ b/sei-ibc-go/modules/core/02-client/types/query.go @@ -1,7 +1,7 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/02-client/types/query.pb.go b/sei-ibc-go/modules/core/02-client/types/query.pb.go index 3717013fcf..f1f85b9d82 100644 --- a/sei-ibc-go/modules/core/02-client/types/query.pb.go +++ b/sei-ibc-go/modules/core/02-client/types/query.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/sei-ibc-go/modules/core/02-client/types/tx.pb.go b/sei-ibc-go/modules/core/02-client/types/tx.pb.go index 4eb5d16fd2..0b522ac9e3 100644 --- a/sei-ibc-go/modules/core/02-client/types/tx.pb.go +++ b/sei-ibc-go/modules/core/02-client/types/tx.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/sei-ibc-go/modules/core/03-connection/client/cli/query.go b/sei-ibc-go/modules/core/03-connection/client/cli/query.go index db6a257246..c33f576dc6 100644 --- a/sei-ibc-go/modules/core/03-connection/client/cli/query.go +++ b/sei-ibc-go/modules/core/03-connection/client/cli/query.go @@ -4,9 +4,9 @@ import ( "fmt" "math" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" "github.com/spf13/cobra" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/client/utils" diff --git a/sei-ibc-go/modules/core/03-connection/client/utils/utils.go b/sei-ibc-go/modules/core/03-connection/client/utils/utils.go index 522edcc4fa..1e86ae8d02 100644 --- a/sei-ibc-go/modules/core/03-connection/client/utils/utils.go +++ b/sei-ibc-go/modules/core/03-connection/client/utils/utils.go @@ -7,9 +7,9 @@ import ( "os" "path/filepath" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clientutils "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/client/utils" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" @@ -168,13 +168,13 @@ func QueryConnectionConsensusState( // If the input is not a JSON, it looks for a path to the JSON file func ParseClientState(cdc *codec.LegacyAmino, arg string) (exported.ClientState, error) { var clientState exported.ClientState - if err := cdc.UnmarshalJSON([]byte(arg), &clientState); err != nil { + if err := cdc.UnmarshalAsJSON([]byte(arg), &clientState); err != nil { // check for file path if JSON input is not provided contents, err := os.ReadFile(filepath.Clean(arg)) if err != nil { return nil, errors.New("either JSON input nor path to .json file were provided") } - if err := cdc.UnmarshalJSON(contents, &clientState); err != nil { + if err := cdc.UnmarshalAsJSON(contents, &clientState); err != nil { return nil, fmt.Errorf("error unmarshalling client state: %w", err) } } @@ -185,13 +185,13 @@ func ParseClientState(cdc *codec.LegacyAmino, arg string) (exported.ClientState, // Prefix. If the input is not a JSON, it looks for a path to the JSON file. func ParsePrefix(cdc *codec.LegacyAmino, arg string) (commitmenttypes.MerklePrefix, error) { var prefix commitmenttypes.MerklePrefix - if err := cdc.UnmarshalJSON([]byte(arg), &prefix); err != nil { + if err := cdc.UnmarshalAsJSON([]byte(arg), &prefix); err != nil { // check for file path if JSON input is not provided contents, err := os.ReadFile(filepath.Clean(arg)) if err != nil { return commitmenttypes.MerklePrefix{}, errors.New("neither JSON input nor path to .json file were provided") } - if err := cdc.UnmarshalJSON(contents, &prefix); err != nil { + if err := cdc.UnmarshalAsJSON(contents, &prefix); err != nil { return commitmenttypes.MerklePrefix{}, fmt.Errorf("error unmarshalling commitment prefix: %w", err) } } @@ -203,13 +203,13 @@ func ParsePrefix(cdc *codec.LegacyAmino, arg string) (commitmenttypes.MerklePref // then marshals the commitment proof into a proto encoded byte array. func ParseProof(cdc *codec.LegacyAmino, arg string) ([]byte, error) { var merkleProof commitmenttypes.MerkleProof - if err := cdc.UnmarshalJSON([]byte(arg), &merkleProof); err != nil { + if err := cdc.UnmarshalAsJSON([]byte(arg), &merkleProof); err != nil { // check for file path if JSON input is not provided contents, err := os.ReadFile(filepath.Clean(arg)) if err != nil { return nil, errors.New("neither JSON input nor path to .json file were provided") } - if err := cdc.UnmarshalJSON(contents, &merkleProof); err != nil { + if err := cdc.UnmarshalAsJSON(contents, &merkleProof); err != nil { return nil, fmt.Errorf("error unmarshalling commitment proof: %w", err) } } diff --git a/sei-ibc-go/modules/core/03-connection/genesis.go b/sei-ibc-go/modules/core/03-connection/genesis.go index 37b08e2292..bd26ac3569 100644 --- a/sei-ibc-go/modules/core/03-connection/genesis.go +++ b/sei-ibc-go/modules/core/03-connection/genesis.go @@ -1,7 +1,7 @@ package connection import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/keeper" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/03-connection/keeper/events.go b/sei-ibc-go/modules/core/03-connection/keeper/events.go index 6a3350ac8b..f12cb11326 100644 --- a/sei-ibc-go/modules/core/03-connection/keeper/events.go +++ b/sei-ibc-go/modules/core/03-connection/keeper/events.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" ) diff --git a/sei-ibc-go/modules/core/03-connection/keeper/grpc_query.go b/sei-ibc-go/modules/core/03-connection/keeper/grpc_query.go index 45f14213da..c513eba658 100644 --- a/sei-ibc-go/modules/core/03-connection/keeper/grpc_query.go +++ b/sei-ibc-go/modules/core/03-connection/keeper/grpc_query.go @@ -3,10 +3,10 @@ package keeper import ( "context" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/sei-ibc-go/modules/core/03-connection/keeper/grpc_query_test.go b/sei-ibc-go/modules/core/03-connection/keeper/grpc_query_test.go index 740e9e68bb..256c8a6d76 100644 --- a/sei-ibc-go/modules/core/03-connection/keeper/grpc_query_test.go +++ b/sei-ibc-go/modules/core/03-connection/keeper/grpc_query_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/03-connection/keeper/handshake.go b/sei-ibc-go/modules/core/03-connection/keeper/handshake.go index 4c0c96e625..240922abb5 100644 --- a/sei-ibc-go/modules/core/03-connection/keeper/handshake.go +++ b/sei-ibc-go/modules/core/03-connection/keeper/handshake.go @@ -3,10 +3,10 @@ package keeper import ( "bytes" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/gogo/protobuf/proto" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/03-connection/keeper/keeper.go b/sei-ibc-go/modules/core/03-connection/keeper/keeper.go index 9ce11739aa..9c50d84aaf 100644 --- a/sei-ibc-go/modules/core/03-connection/keeper/keeper.go +++ b/sei-ibc-go/modules/core/03-connection/keeper/keeper.go @@ -3,10 +3,10 @@ package keeper import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/03-connection/keeper/params.go b/sei-ibc-go/modules/core/03-connection/keeper/params.go index fe3b58a25d..dadf7a92bc 100644 --- a/sei-ibc-go/modules/core/03-connection/keeper/params.go +++ b/sei-ibc-go/modules/core/03-connection/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" ) diff --git a/sei-ibc-go/modules/core/03-connection/keeper/verify.go b/sei-ibc-go/modules/core/03-connection/keeper/verify.go index 605490f077..9781457874 100644 --- a/sei-ibc-go/modules/core/03-connection/keeper/verify.go +++ b/sei-ibc-go/modules/core/03-connection/keeper/verify.go @@ -3,8 +3,8 @@ package keeper import ( "math" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/03-connection/simulation/decoder.go b/sei-ibc-go/modules/core/03-connection/simulation/decoder.go index 75a6a4e3c3..81496ed39b 100644 --- a/sei-ibc-go/modules/core/03-connection/simulation/decoder.go +++ b/sei-ibc-go/modules/core/03-connection/simulation/decoder.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/modules/core/03-connection/simulation/decoder_test.go b/sei-ibc-go/modules/core/03-connection/simulation/decoder_test.go index 856d2bb993..021c802400 100644 --- a/sei-ibc-go/modules/core/03-connection/simulation/decoder_test.go +++ b/sei-ibc-go/modules/core/03-connection/simulation/decoder_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" "github.com/stretchr/testify/require" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/simulation" diff --git a/sei-ibc-go/modules/core/03-connection/simulation/genesis.go b/sei-ibc-go/modules/core/03-connection/simulation/genesis.go index 4ff74377a5..608178992f 100644 --- a/sei-ibc-go/modules/core/03-connection/simulation/genesis.go +++ b/sei-ibc-go/modules/core/03-connection/simulation/genesis.go @@ -3,7 +3,7 @@ package simulation import ( "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" ) diff --git a/sei-ibc-go/modules/core/03-connection/types/codec.go b/sei-ibc-go/modules/core/03-connection/types/codec.go index ffbb3014d7..cad5853f05 100644 --- a/sei-ibc-go/modules/core/03-connection/types/codec.go +++ b/sei-ibc-go/modules/core/03-connection/types/codec.go @@ -1,10 +1,10 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/03-connection/types/connection.go b/sei-ibc-go/modules/core/03-connection/types/connection.go index d601a9b4de..b396059381 100644 --- a/sei-ibc-go/modules/core/03-connection/types/connection.go +++ b/sei-ibc-go/modules/core/03-connection/types/connection.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" commitmenttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/23-commitment/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/modules/core/03-connection/types/errors.go b/sei-ibc-go/modules/core/03-connection/types/errors.go index 107a0e087c..8ad1543f14 100644 --- a/sei-ibc-go/modules/core/03-connection/types/errors.go +++ b/sei-ibc-go/modules/core/03-connection/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // IBC connection sentinel errors diff --git a/sei-ibc-go/modules/core/03-connection/types/expected_keepers.go b/sei-ibc-go/modules/core/03-connection/types/expected_keepers.go index e454c72bba..43dc42ddf6 100644 --- a/sei-ibc-go/modules/core/03-connection/types/expected_keepers.go +++ b/sei-ibc-go/modules/core/03-connection/types/expected_keepers.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/03-connection/types/keys.go b/sei-ibc-go/modules/core/03-connection/types/keys.go index b3a12fe7ee..6594ac17ca 100644 --- a/sei-ibc-go/modules/core/03-connection/types/keys.go +++ b/sei-ibc-go/modules/core/03-connection/types/keys.go @@ -4,7 +4,7 @@ import ( "fmt" "regexp" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" ) diff --git a/sei-ibc-go/modules/core/03-connection/types/msgs.go b/sei-ibc-go/modules/core/03-connection/types/msgs.go index 77a956b45f..fdeae345f0 100644 --- a/sei-ibc-go/modules/core/03-connection/types/msgs.go +++ b/sei-ibc-go/modules/core/03-connection/types/msgs.go @@ -1,9 +1,9 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" commitmenttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/23-commitment/types" @@ -23,8 +23,6 @@ var ( // NewMsgConnectionOpenInit creates a new MsgConnectionOpenInit instance. It sets the // counterparty connection identifier to be empty. -// -//nolint:interfacer func NewMsgConnectionOpenInit( clientID, counterpartyClientID string, counterpartyPrefix commitmenttypes.MerklePrefix, @@ -73,8 +71,6 @@ func (msg MsgConnectionOpenInit) GetSigners() []sdk.AccAddress { } // NewMsgConnectionOpenTry creates a new MsgConnectionOpenTry instance -// -//nolint:interfacer func NewMsgConnectionOpenTry( previousConnectionID, clientID, counterpartyConnectionID, counterpartyClientID string, counterpartyClient exported.ClientState, @@ -171,8 +167,6 @@ func (msg MsgConnectionOpenTry) GetSigners() []sdk.AccAddress { } // NewMsgConnectionOpenAck creates a new MsgConnectionOpenAck instance -// -//nolint:interfacer func NewMsgConnectionOpenAck( connectionID, counterpartyConnectionID string, counterpartyClient exported.ClientState, proofTry, proofClient, proofConsensus []byte, @@ -253,8 +247,6 @@ func (msg MsgConnectionOpenAck) GetSigners() []sdk.AccAddress { } // NewMsgConnectionOpenConfirm creates a new MsgConnectionOpenConfirm instance -// -//nolint:interfacer func NewMsgConnectionOpenConfirm( connectionID string, proofAck []byte, proofHeight clienttypes.Height, signer string, diff --git a/sei-ibc-go/modules/core/03-connection/types/msgs_test.go b/sei-ibc-go/modules/core/03-connection/types/msgs_test.go index 1d08fe4d88..122cfea2ce 100644 --- a/sei-ibc-go/modules/core/03-connection/types/msgs_test.go +++ b/sei-ibc-go/modules/core/03-connection/types/msgs_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - storetypes "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/stretchr/testify/suite" diff --git a/sei-ibc-go/modules/core/03-connection/types/params.go b/sei-ibc-go/modules/core/03-connection/types/params.go index 35677062fd..1d438e7d21 100644 --- a/sei-ibc-go/modules/core/03-connection/types/params.go +++ b/sei-ibc-go/modules/core/03-connection/types/params.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // DefaultTimePerBlock is the default value for maximum expected time per block (in nanoseconds). diff --git a/sei-ibc-go/modules/core/03-connection/types/query.go b/sei-ibc-go/modules/core/03-connection/types/query.go index c3ecf42412..fa511e4a8d 100644 --- a/sei-ibc-go/modules/core/03-connection/types/query.go +++ b/sei-ibc-go/modules/core/03-connection/types/query.go @@ -1,7 +1,7 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/03-connection/types/query.pb.go b/sei-ibc-go/modules/core/03-connection/types/query.pb.go index f01430b5c8..8c060112e6 100644 --- a/sei-ibc-go/modules/core/03-connection/types/query.pb.go +++ b/sei-ibc-go/modules/core/03-connection/types/query.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - types1 "github.com/cosmos/cosmos-sdk/codec/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" types "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" diff --git a/sei-ibc-go/modules/core/03-connection/types/tx.pb.go b/sei-ibc-go/modules/core/03-connection/types/tx.pb.go index 898d86b154..2c0a8c08ec 100644 --- a/sei-ibc-go/modules/core/03-connection/types/tx.pb.go +++ b/sei-ibc-go/modules/core/03-connection/types/tx.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" types1 "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/sei-ibc-go/modules/core/03-connection/types/version.go b/sei-ibc-go/modules/core/03-connection/types/version.go index ed1b7454a9..1bd612087f 100644 --- a/sei-ibc-go/modules/core/03-connection/types/version.go +++ b/sei-ibc-go/modules/core/03-connection/types/version.go @@ -3,7 +3,7 @@ package types import ( "strings" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/04-channel/client/cli/cli.go b/sei-ibc-go/modules/core/04-channel/client/cli/cli.go index 4c6157b1dd..12f0be7a3d 100644 --- a/sei-ibc-go/modules/core/04-channel/client/cli/cli.go +++ b/sei-ibc-go/modules/core/04-channel/client/cli/cli.go @@ -1,7 +1,7 @@ package cli import ( - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" "github.com/spf13/cobra" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" diff --git a/sei-ibc-go/modules/core/04-channel/client/cli/query.go b/sei-ibc-go/modules/core/04-channel/client/cli/query.go index afbb07a7ce..f6c0ddbcb7 100644 --- a/sei-ibc-go/modules/core/04-channel/client/cli/query.go +++ b/sei-ibc-go/modules/core/04-channel/client/cli/query.go @@ -5,9 +5,9 @@ import ( "math" "strconv" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" "github.com/spf13/cobra" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/client/utils" diff --git a/sei-ibc-go/modules/core/04-channel/client/utils/utils.go b/sei-ibc-go/modules/core/04-channel/client/utils/utils.go index b3cad166a5..f60f8a2df3 100644 --- a/sei-ibc-go/modules/core/04-channel/client/utils/utils.go +++ b/sei-ibc-go/modules/core/04-channel/client/utils/utils.go @@ -4,9 +4,9 @@ import ( "context" "encoding/binary" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clientutils "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/client/utils" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/04-channel/genesis.go b/sei-ibc-go/modules/core/04-channel/genesis.go index f586a29688..d594b2ba4a 100644 --- a/sei-ibc-go/modules/core/04-channel/genesis.go +++ b/sei-ibc-go/modules/core/04-channel/genesis.go @@ -1,7 +1,7 @@ package channel import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/keeper" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" diff --git a/sei-ibc-go/modules/core/04-channel/keeper/events.go b/sei-ibc-go/modules/core/04-channel/keeper/events.go index ff16513cd6..1cd661e5c3 100644 --- a/sei-ibc-go/modules/core/04-channel/keeper/events.go +++ b/sei-ibc-go/modules/core/04-channel/keeper/events.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/04-channel/keeper/grpc_query.go b/sei-ibc-go/modules/core/04-channel/keeper/grpc_query.go index 994065c0f8..b21e14821a 100644 --- a/sei-ibc-go/modules/core/04-channel/keeper/grpc_query.go +++ b/sei-ibc-go/modules/core/04-channel/keeper/grpc_query.go @@ -5,10 +5,10 @@ import ( "strconv" "strings" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/sei-ibc-go/modules/core/04-channel/keeper/grpc_query_test.go b/sei-ibc-go/modules/core/04-channel/keeper/grpc_query_test.go index 2670faa361..306e33d77f 100644 --- a/sei-ibc-go/modules/core/04-channel/keeper/grpc_query_test.go +++ b/sei-ibc-go/modules/core/04-channel/keeper/grpc_query_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/query" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/04-channel/keeper/handshake.go b/sei-ibc-go/modules/core/04-channel/keeper/handshake.go index f6c9794b1e..ccfecbb37b 100644 --- a/sei-ibc-go/modules/core/04-channel/keeper/handshake.go +++ b/sei-ibc-go/modules/core/04-channel/keeper/handshake.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" diff --git a/sei-ibc-go/modules/core/04-channel/keeper/handshake_test.go b/sei-ibc-go/modules/core/04-channel/keeper/handshake_test.go index 17d73092ce..43fd39d684 100644 --- a/sei-ibc-go/modules/core/04-channel/keeper/handshake_test.go +++ b/sei-ibc-go/modules/core/04-channel/keeper/handshake_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "fmt" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/04-channel/keeper/keeper.go b/sei-ibc-go/modules/core/04-channel/keeper/keeper.go index 8b612361fd..dc96d6bfa4 100644 --- a/sei-ibc-go/modules/core/04-channel/keeper/keeper.go +++ b/sei-ibc-go/modules/core/04-channel/keeper/keeper.go @@ -4,12 +4,12 @@ import ( "strconv" "strings" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" db "github.com/tendermint/tm-db" diff --git a/sei-ibc-go/modules/core/04-channel/keeper/packet.go b/sei-ibc-go/modules/core/04-channel/keeper/packet.go index 55d1e5c832..9535ac4c9e 100644 --- a/sei-ibc-go/modules/core/04-channel/keeper/packet.go +++ b/sei-ibc-go/modules/core/04-channel/keeper/packet.go @@ -4,9 +4,9 @@ import ( "bytes" "strconv" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" @@ -481,7 +481,7 @@ func (k Keeper) AcknowledgePacket( packetCommitment := types.CommitPacket(k.cdc, packet) var ack types.Acknowledgement - err := types.SubModuleCdc.UnmarshalJSON(acknowledgement, &ack) + err := types.SubModuleCdc.UnmarshalAsJSON(acknowledgement, &ack) if err == nil { ackBz := ack.Acknowledgement() if !bytes.Equal(ackBz, acknowledgement) { diff --git a/sei-ibc-go/modules/core/04-channel/keeper/packet_test.go b/sei-ibc-go/modules/core/04-channel/keeper/packet_test.go index decc988c83..ee0e1db746 100644 --- a/sei-ibc-go/modules/core/04-channel/keeper/packet_test.go +++ b/sei-ibc-go/modules/core/04-channel/keeper/packet_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" "testing" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/04-channel/keeper/timeout.go b/sei-ibc-go/modules/core/04-channel/keeper/timeout.go index ad300926c6..b4a1e205c7 100644 --- a/sei-ibc-go/modules/core/04-channel/keeper/timeout.go +++ b/sei-ibc-go/modules/core/04-channel/keeper/timeout.go @@ -4,9 +4,9 @@ import ( "bytes" "strconv" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" diff --git a/sei-ibc-go/modules/core/04-channel/keeper/timeout_test.go b/sei-ibc-go/modules/core/04-channel/keeper/timeout_test.go index 3c9a03ced9..91dbf259b7 100644 --- a/sei-ibc-go/modules/core/04-channel/keeper/timeout_test.go +++ b/sei-ibc-go/modules/core/04-channel/keeper/timeout_test.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/04-channel/simulation/decoder.go b/sei-ibc-go/modules/core/04-channel/simulation/decoder.go index d0aafa7d6d..577d818526 100644 --- a/sei-ibc-go/modules/core/04-channel/simulation/decoder.go +++ b/sei-ibc-go/modules/core/04-channel/simulation/decoder.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/modules/core/04-channel/simulation/decoder_test.go b/sei-ibc-go/modules/core/04-channel/simulation/decoder_test.go index 8383471550..ba56c40499 100644 --- a/sei-ibc-go/modules/core/04-channel/simulation/decoder_test.go +++ b/sei-ibc-go/modules/core/04-channel/simulation/decoder_test.go @@ -4,8 +4,8 @@ import ( "fmt" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" "github.com/stretchr/testify/require" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/simulation" diff --git a/sei-ibc-go/modules/core/04-channel/simulation/genesis.go b/sei-ibc-go/modules/core/04-channel/simulation/genesis.go index 48312242c0..99ef904bdc 100644 --- a/sei-ibc-go/modules/core/04-channel/simulation/genesis.go +++ b/sei-ibc-go/modules/core/04-channel/simulation/genesis.go @@ -3,7 +3,7 @@ package simulation import ( "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" ) diff --git a/sei-ibc-go/modules/core/04-channel/types/acknowledgement.go b/sei-ibc-go/modules/core/04-channel/types/acknowledgement.go index b46de2b981..1ec52aad25 100644 --- a/sei-ibc-go/modules/core/04-channel/types/acknowledgement.go +++ b/sei-ibc-go/modules/core/04-channel/types/acknowledgement.go @@ -4,8 +4,8 @@ import ( "reflect" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // NewResultAcknowledgement returns a new instance of Acknowledgement using an Acknowledgement_Result diff --git a/sei-ibc-go/modules/core/04-channel/types/channel.go b/sei-ibc-go/modules/core/04-channel/types/channel.go index e64ea10cba..953e19fa77 100644 --- a/sei-ibc-go/modules/core/04-channel/types/channel.go +++ b/sei-ibc-go/modules/core/04-channel/types/channel.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/04-channel/types/codec.go b/sei-ibc-go/modules/core/04-channel/types/codec.go index 32f8616515..ce42d5a49e 100644 --- a/sei-ibc-go/modules/core/04-channel/types/codec.go +++ b/sei-ibc-go/modules/core/04-channel/types/codec.go @@ -1,10 +1,10 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/04-channel/types/errors.go b/sei-ibc-go/modules/core/04-channel/types/errors.go index 8c31cfbae1..e30f6740df 100644 --- a/sei-ibc-go/modules/core/04-channel/types/errors.go +++ b/sei-ibc-go/modules/core/04-channel/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // IBC channel sentinel errors diff --git a/sei-ibc-go/modules/core/04-channel/types/expected_keepers.go b/sei-ibc-go/modules/core/04-channel/types/expected_keepers.go index c89eca0d11..5520389506 100644 --- a/sei-ibc-go/modules/core/04-channel/types/expected_keepers.go +++ b/sei-ibc-go/modules/core/04-channel/types/expected_keepers.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/04-channel/types/keys.go b/sei-ibc-go/modules/core/04-channel/types/keys.go index 3cf27a58ce..ae09295070 100644 --- a/sei-ibc-go/modules/core/04-channel/types/keys.go +++ b/sei-ibc-go/modules/core/04-channel/types/keys.go @@ -4,7 +4,7 @@ import ( "fmt" "regexp" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" ) diff --git a/sei-ibc-go/modules/core/04-channel/types/msgs.go b/sei-ibc-go/modules/core/04-channel/types/msgs.go index d36eaafcb4..9b5546c80a 100644 --- a/sei-ibc-go/modules/core/04-channel/types/msgs.go +++ b/sei-ibc-go/modules/core/04-channel/types/msgs.go @@ -3,8 +3,8 @@ package types import ( "encoding/base64" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" commitmenttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/23-commitment/types" @@ -15,7 +15,6 @@ var _ sdk.Msg = &MsgChannelOpenInit{} // NewMsgChannelOpenInit creates a new MsgChannelOpenInit. It sets the counterparty channel // identifier to be empty. -// nolint:interfacer func NewMsgChannelOpenInit( portID, version string, channelOrder Order, connectionHops []string, counterpartyPortID string, signer string, @@ -64,7 +63,6 @@ var _ sdk.Msg = &MsgChannelOpenTry{} // NewMsgChannelOpenTry creates a new MsgChannelOpenTry instance // The version string is deprecated and will be ignored by core IBC. // It is left as an argument for go API backwards compatibility. -// nolint:interfacer func NewMsgChannelOpenTry( portID, previousChannelID, version string, channelOrder Order, connectionHops []string, counterpartyPortID, counterpartyChannelID, counterpartyVersion string, @@ -129,7 +127,6 @@ func (msg MsgChannelOpenTry) GetSigners() []sdk.AccAddress { var _ sdk.Msg = &MsgChannelOpenAck{} // NewMsgChannelOpenAck creates a new MsgChannelOpenAck instance -// nolint:interfacer func NewMsgChannelOpenAck( portID, channelID, counterpartyChannelID string, cpv string, proofTry []byte, proofHeight clienttypes.Height, signer string, @@ -181,7 +178,6 @@ func (msg MsgChannelOpenAck) GetSigners() []sdk.AccAddress { var _ sdk.Msg = &MsgChannelOpenConfirm{} // NewMsgChannelOpenConfirm creates a new MsgChannelOpenConfirm instance -// nolint:interfacer func NewMsgChannelOpenConfirm( portID, channelID string, proofAck []byte, proofHeight clienttypes.Height, signer string, @@ -228,7 +224,6 @@ func (msg MsgChannelOpenConfirm) GetSigners() []sdk.AccAddress { var _ sdk.Msg = &MsgChannelCloseInit{} // NewMsgChannelCloseInit creates a new MsgChannelCloseInit instance -// nolint:interfacer func NewMsgChannelCloseInit( portID string, channelID string, signer string, ) *MsgChannelCloseInit { @@ -266,7 +261,6 @@ func (msg MsgChannelCloseInit) GetSigners() []sdk.AccAddress { var _ sdk.Msg = &MsgChannelCloseConfirm{} // NewMsgChannelCloseConfirm creates a new MsgChannelCloseConfirm instance -// nolint:interfacer func NewMsgChannelCloseConfirm( portID, channelID string, proofInit []byte, proofHeight clienttypes.Height, signer string, @@ -313,7 +307,6 @@ func (msg MsgChannelCloseConfirm) GetSigners() []sdk.AccAddress { var _ sdk.Msg = &MsgRecvPacket{} // NewMsgRecvPacket constructs new MsgRecvPacket -// nolint:interfacer func NewMsgRecvPacket( packet Packet, proofCommitment []byte, proofHeight clienttypes.Height, signer string, @@ -360,7 +353,6 @@ func (msg MsgRecvPacket) GetSigners() []sdk.AccAddress { var _ sdk.Msg = &MsgTimeout{} // NewMsgTimeout constructs new MsgTimeout -// nolint:interfacer func NewMsgTimeout( packet Packet, nextSequenceRecv uint64, proofUnreceived []byte, proofHeight clienttypes.Height, signer string, @@ -402,7 +394,6 @@ func (msg MsgTimeout) GetSigners() []sdk.AccAddress { } // NewMsgTimeoutOnClose constructs new MsgTimeoutOnClose -// nolint:interfacer func NewMsgTimeoutOnClose( packet Packet, nextSequenceRecv uint64, proofUnreceived, proofClose []byte, @@ -451,7 +442,6 @@ func (msg MsgTimeoutOnClose) GetSigners() []sdk.AccAddress { var _ sdk.Msg = &MsgAcknowledgement{} // NewMsgAcknowledgement constructs a new MsgAcknowledgement -// nolint:interfacer func NewMsgAcknowledgement( packet Packet, ack, proofAcked []byte, diff --git a/sei-ibc-go/modules/core/04-channel/types/msgs_test.go b/sei-ibc-go/modules/core/04-channel/types/msgs_test.go index d3066da2b4..e10b1ebe0f 100644 --- a/sei-ibc-go/modules/core/04-channel/types/msgs_test.go +++ b/sei-ibc-go/modules/core/04-channel/types/msgs_test.go @@ -4,10 +4,10 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/stretchr/testify/suite" diff --git a/sei-ibc-go/modules/core/04-channel/types/packet.go b/sei-ibc-go/modules/core/04-channel/types/packet.go index 5b8ca983c9..f79399c2ad 100644 --- a/sei-ibc-go/modules/core/04-channel/types/packet.go +++ b/sei-ibc-go/modules/core/04-channel/types/packet.go @@ -3,9 +3,9 @@ package types import ( "crypto/sha256" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/modules/core/04-channel/types/packet_test.go b/sei-ibc-go/modules/core/04-channel/types/packet_test.go index bafd15c9d3..0f1009c8a3 100644 --- a/sei-ibc-go/modules/core/04-channel/types/packet_test.go +++ b/sei-ibc-go/modules/core/04-channel/types/packet_test.go @@ -3,8 +3,8 @@ package types_test import ( "testing" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" "github.com/stretchr/testify/require" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/04-channel/types/query.go b/sei-ibc-go/modules/core/04-channel/types/query.go index f7de0b84ea..c3b9ee2b35 100644 --- a/sei-ibc-go/modules/core/04-channel/types/query.go +++ b/sei-ibc-go/modules/core/04-channel/types/query.go @@ -1,7 +1,7 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/04-channel/types/query.pb.go b/sei-ibc-go/modules/core/04-channel/types/query.pb.go index aa8684827b..f8e721c800 100644 --- a/sei-ibc-go/modules/core/04-channel/types/query.pb.go +++ b/sei-ibc-go/modules/core/04-channel/types/query.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - types1 "github.com/cosmos/cosmos-sdk/codec/types" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" types "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" diff --git a/sei-ibc-go/modules/core/05-port/keeper/keeper.go b/sei-ibc-go/modules/core/05-port/keeper/keeper.go index 2e2ae4ad08..b129945b5d 100644 --- a/sei-ibc-go/modules/core/05-port/keeper/keeper.go +++ b/sei-ibc-go/modules/core/05-port/keeper/keeper.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/05-port/types" diff --git a/sei-ibc-go/modules/core/05-port/keeper/keeper_test.go b/sei-ibc-go/modules/core/05-port/keeper/keeper_test.go index 12b4e1d557..85530e434a 100644 --- a/sei-ibc-go/modules/core/05-port/keeper/keeper_test.go +++ b/sei-ibc-go/modules/core/05-port/keeper/keeper_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" diff --git a/sei-ibc-go/modules/core/05-port/types/errors.go b/sei-ibc-go/modules/core/05-port/types/errors.go index 23a2776f59..9ef88ce4cd 100644 --- a/sei-ibc-go/modules/core/05-port/types/errors.go +++ b/sei-ibc-go/modules/core/05-port/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // IBC port sentinel errors diff --git a/sei-ibc-go/modules/core/05-port/types/module.go b/sei-ibc-go/modules/core/05-port/types/module.go index 8511fb135f..969fa68b7c 100644 --- a/sei-ibc-go/modules/core/05-port/types/module.go +++ b/sei-ibc-go/modules/core/05-port/types/module.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/05-port/types/router.go b/sei-ibc-go/modules/core/05-port/types/router.go index 6bfba9076a..83d2a35106 100644 --- a/sei-ibc-go/modules/core/05-port/types/router.go +++ b/sei-ibc-go/modules/core/05-port/types/router.go @@ -3,7 +3,7 @@ package types import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // The router is a map from module name to the IBCModule diff --git a/sei-ibc-go/modules/core/23-commitment/types/codec.go b/sei-ibc-go/modules/core/23-commitment/types/codec.go index ded7302dbb..81ef5efbdf 100644 --- a/sei-ibc-go/modules/core/23-commitment/types/codec.go +++ b/sei-ibc-go/modules/core/23-commitment/types/codec.go @@ -1,7 +1,7 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/core/23-commitment/types/commitment_test.go b/sei-ibc-go/modules/core/23-commitment/types/commitment_test.go index 1da8aa5dc8..05dd87e214 100644 --- a/sei-ibc-go/modules/core/23-commitment/types/commitment_test.go +++ b/sei-ibc-go/modules/core/23-commitment/types/commitment_test.go @@ -3,9 +3,9 @@ package types_test import ( "testing" - "github.com/cosmos/cosmos-sdk/store/iavl" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - storetypes "github.com/cosmos/cosmos-sdk/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/stretchr/testify/suite" dbm "github.com/tendermint/tm-db" diff --git a/sei-ibc-go/modules/core/23-commitment/types/errors.go b/sei-ibc-go/modules/core/23-commitment/types/errors.go index 7191baef1c..6e6b7afd55 100644 --- a/sei-ibc-go/modules/core/23-commitment/types/errors.go +++ b/sei-ibc-go/modules/core/23-commitment/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // SubModuleName is the error codespace diff --git a/sei-ibc-go/modules/core/23-commitment/types/merkle.go b/sei-ibc-go/modules/core/23-commitment/types/merkle.go index 8d5a8db722..2fa1dffd5e 100644 --- a/sei-ibc-go/modules/core/23-commitment/types/merkle.go +++ b/sei-ibc-go/modules/core/23-commitment/types/merkle.go @@ -6,8 +6,8 @@ import ( "net/url" ics23 "github.com/confio/ics23/go" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/gogo/protobuf/proto" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" tmcrypto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/core/23-commitment/types/utils.go b/sei-ibc-go/modules/core/23-commitment/types/utils.go index dd39d8b8ad..9731f85bcf 100644 --- a/sei-ibc-go/modules/core/23-commitment/types/utils.go +++ b/sei-ibc-go/modules/core/23-commitment/types/utils.go @@ -2,7 +2,7 @@ package types import ( ics23 "github.com/confio/ics23/go" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" crypto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" ) diff --git a/sei-ibc-go/modules/core/24-host/errors.go b/sei-ibc-go/modules/core/24-host/errors.go index fe8129bde8..3509f59f4f 100644 --- a/sei-ibc-go/modules/core/24-host/errors.go +++ b/sei-ibc-go/modules/core/24-host/errors.go @@ -1,7 +1,7 @@ package host import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // SubModuleName defines the ICS 24 host diff --git a/sei-ibc-go/modules/core/24-host/parse.go b/sei-ibc-go/modules/core/24-host/parse.go index 8c3459500d..f45050e7b4 100644 --- a/sei-ibc-go/modules/core/24-host/parse.go +++ b/sei-ibc-go/modules/core/24-host/parse.go @@ -4,7 +4,7 @@ import ( "strconv" "strings" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // ParseIdentifier parses the sequence from the identifier using the provided prefix. This function diff --git a/sei-ibc-go/modules/core/24-host/validate.go b/sei-ibc-go/modules/core/24-host/validate.go index 7102e66b45..bdaa857a26 100644 --- a/sei-ibc-go/modules/core/24-host/validate.go +++ b/sei-ibc-go/modules/core/24-host/validate.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // DefaultMaxCharacterLength defines the default maximum character length used diff --git a/sei-ibc-go/modules/core/ante/ante.go b/sei-ibc-go/modules/core/ante/ante.go index d4b328fcbd..823c3ac98b 100644 --- a/sei-ibc-go/modules/core/ante/ante.go +++ b/sei-ibc-go/modules/core/ante/ante.go @@ -1,7 +1,7 @@ package ante import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" diff --git a/sei-ibc-go/modules/core/ante/ante_test.go b/sei-ibc-go/modules/core/ante/ante_test.go index 334359be65..21a1bda774 100644 --- a/sei-ibc-go/modules/core/ante/ante_test.go +++ b/sei-ibc-go/modules/core/ante/ante_test.go @@ -3,7 +3,7 @@ package ante_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" diff --git a/sei-ibc-go/modules/core/client/cli/cli.go b/sei-ibc-go/modules/core/client/cli/cli.go index 7950e9ecf9..56792b941e 100644 --- a/sei-ibc-go/modules/core/client/cli/cli.go +++ b/sei-ibc-go/modules/core/client/cli/cli.go @@ -3,7 +3,7 @@ package cli import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" ibcclient "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client" connection "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection" diff --git a/sei-ibc-go/modules/core/client/query.go b/sei-ibc-go/modules/core/client/query.go index bd755f9ef2..b27971ddfc 100644 --- a/sei-ibc-go/modules/core/client/query.go +++ b/sei-ibc-go/modules/core/client/query.go @@ -3,8 +3,8 @@ package client import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/exported/client.go b/sei-ibc-go/modules/core/exported/client.go index 4dce203bea..e3eae32bdd 100644 --- a/sei-ibc-go/modules/core/exported/client.go +++ b/sei-ibc-go/modules/core/exported/client.go @@ -1,9 +1,9 @@ package exported import ( - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" proto "github.com/gogo/protobuf/proto" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Status represents the status of a client diff --git a/sei-ibc-go/modules/core/genesis.go b/sei-ibc-go/modules/core/genesis.go index c0d1fa1e43..5d9f5cb0b2 100644 --- a/sei-ibc-go/modules/core/genesis.go +++ b/sei-ibc-go/modules/core/genesis.go @@ -1,7 +1,7 @@ package ibc import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" client "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client" connection "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection" diff --git a/sei-ibc-go/modules/core/genesis_test.go b/sei-ibc-go/modules/core/genesis_test.go index 1b4d411c79..85a8203781 100644 --- a/sei-ibc-go/modules/core/genesis_test.go +++ b/sei-ibc-go/modules/core/genesis_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" diff --git a/sei-ibc-go/modules/core/keeper/inbound_test.go b/sei-ibc-go/modules/core/keeper/inbound_test.go index 367b2a7e8c..19d1c863a3 100644 --- a/sei-ibc-go/modules/core/keeper/inbound_test.go +++ b/sei-ibc-go/modules/core/keeper/inbound_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/keeper/keeper.go b/sei-ibc-go/modules/core/keeper/keeper.go index 7743f756b9..fe9687d6ed 100644 --- a/sei-ibc-go/modules/core/keeper/keeper.go +++ b/sei-ibc-go/modules/core/keeper/keeper.go @@ -4,10 +4,10 @@ import ( "fmt" "reflect" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" clientkeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/keeper" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/keeper/keeper_test.go b/sei-ibc-go/modules/core/keeper/keeper_test.go index 0b7172a605..b4ec8f1317 100644 --- a/sei-ibc-go/modules/core/keeper/keeper_test.go +++ b/sei-ibc-go/modules/core/keeper/keeper_test.go @@ -4,13 +4,13 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" "github.com/stretchr/testify/suite" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" ibchost "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" diff --git a/sei-ibc-go/modules/core/keeper/migrations.go b/sei-ibc-go/modules/core/keeper/migrations.go index a545c897ed..a5e2d7016a 100644 --- a/sei-ibc-go/modules/core/keeper/migrations.go +++ b/sei-ibc-go/modules/core/keeper/migrations.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" clientkeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/keeper" ) diff --git a/sei-ibc-go/modules/core/keeper/msg_server.go b/sei-ibc-go/modules/core/keeper/msg_server.go index 0245045557..b17c90cc8f 100644 --- a/sei-ibc-go/modules/core/keeper/msg_server.go +++ b/sei-ibc-go/modules/core/keeper/msg_server.go @@ -5,9 +5,9 @@ import ( metrics "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/keeper/msg_server_test.go b/sei-ibc-go/modules/core/keeper/msg_server_test.go index 11f1e68fe4..2c52781063 100644 --- a/sei-ibc-go/modules/core/keeper/msg_server_test.go +++ b/sei-ibc-go/modules/core/keeper/msg_server_test.go @@ -1,8 +1,8 @@ package keeper_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" diff --git a/sei-ibc-go/modules/core/keeper/params.go b/sei-ibc-go/modules/core/keeper/params.go index a1ed9ee6af..f6b2613a56 100644 --- a/sei-ibc-go/modules/core/keeper/params.go +++ b/sei-ibc-go/modules/core/keeper/params.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/types" ) diff --git a/sei-ibc-go/modules/core/legacy/v100/genesis.go b/sei-ibc-go/modules/core/legacy/v100/genesis.go index 9489f2983d..aef3387242 100644 --- a/sei-ibc-go/modules/core/legacy/v100/genesis.go +++ b/sei-ibc-go/modules/core/legacy/v100/genesis.go @@ -3,9 +3,9 @@ package v100 import ( "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + genutiltypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" clientv100 "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/legacy/v100" diff --git a/sei-ibc-go/modules/core/legacy/v100/genesis_test.go b/sei-ibc-go/modules/core/legacy/v100/genesis_test.go index 6acd608792..85e92327ad 100644 --- a/sei-ibc-go/modules/core/legacy/v100/genesis_test.go +++ b/sei-ibc-go/modules/core/legacy/v100/genesis_test.go @@ -3,9 +3,9 @@ package v100_test import ( "testing" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + genutiltypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/stretchr/testify/suite" @@ -170,7 +170,7 @@ func (suite *LegacyTestSuite) TestMigrateGenesisSolomachine() { expectedIBCGenState := types.DefaultGenesisState() expectedIBCGenState.ClientGenesis = expectedClientGenState - bz, err := clientCtx.Codec.MarshalJSON(expectedIBCGenState) + bz, err := clientCtx.Codec.MarshalAsJSON(expectedIBCGenState) suite.Require().NoError(err) expectedAppState[host.ModuleName] = bz diff --git a/sei-ibc-go/modules/core/module.go b/sei-ibc-go/modules/core/module.go index 07a27ca87c..2deea9ca8c 100644 --- a/sei-ibc-go/modules/core/module.go +++ b/sei-ibc-go/modules/core/module.go @@ -6,14 +6,14 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" @@ -57,7 +57,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the ibc module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { var gs types.GenesisState - if err := cdc.UnmarshalJSON(bz, &gs); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &gs); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", host.ModuleName, err) } @@ -163,7 +163,7 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { // no validator updates. func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, bz json.RawMessage) []abci.ValidatorUpdate { var gs types.GenesisState - err := cdc.UnmarshalJSON(bz, &gs) + err := cdc.UnmarshalAsJSON(bz, &gs) if err != nil { panic(fmt.Sprintf("failed to unmarshal %s genesis state: %s", host.ModuleName, err)) } diff --git a/sei-ibc-go/modules/core/simulation/decoder.go b/sei-ibc-go/modules/core/simulation/decoder.go index 21475f0c65..6b892890f4 100644 --- a/sei-ibc-go/modules/core/simulation/decoder.go +++ b/sei-ibc-go/modules/core/simulation/decoder.go @@ -3,7 +3,7 @@ package simulation import ( "fmt" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" clientsim "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/simulation" connectionsim "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/simulation" diff --git a/sei-ibc-go/modules/core/simulation/genesis.go b/sei-ibc-go/modules/core/simulation/genesis.go index 6824b86843..565a7a9849 100644 --- a/sei-ibc-go/modules/core/simulation/genesis.go +++ b/sei-ibc-go/modules/core/simulation/genesis.go @@ -7,7 +7,7 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" clientsims "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/simulation" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/core/types/codec.go b/sei-ibc-go/modules/core/types/codec.go index 0d0589903c..c52344bf03 100644 --- a/sei-ibc-go/modules/core/types/codec.go +++ b/sei-ibc-go/modules/core/types/codec.go @@ -1,7 +1,7 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/types/errors.go b/sei-ibc-go/modules/core/types/errors.go index dfc94b87dc..9c390930ff 100644 --- a/sei-ibc-go/modules/core/types/errors.go +++ b/sei-ibc-go/modules/core/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) var ( diff --git a/sei-ibc-go/modules/core/types/genesis.go b/sei-ibc-go/modules/core/types/genesis.go index 48c00c4682..6845e8ab11 100644 --- a/sei-ibc-go/modules/core/types/genesis.go +++ b/sei-ibc-go/modules/core/types/genesis.go @@ -1,7 +1,7 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/core/types/params.go b/sei-ibc-go/modules/core/types/params.go index bab4d1bb25..0465d0d6e4 100644 --- a/sei-ibc-go/modules/core/types/params.go +++ b/sei-ibc-go/modules/core/types/params.go @@ -3,7 +3,7 @@ package types import ( "fmt" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) var ( diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/client_state.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/client_state.go index 4b21e9eb77..39e536fa54 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/client_state.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/client_state.go @@ -3,11 +3,11 @@ package types import ( "reflect" - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" commitmenttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/23-commitment/types" diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/codec.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/codec.go index 77135a3db3..00ff34a136 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/codec.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/codec.go @@ -1,10 +1,10 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/consensus_state.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/consensus_state.go index 7437ea6695..ad5718b220 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/consensus_state.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/consensus_state.go @@ -3,8 +3,8 @@ package types import ( "strings" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/errors.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/errors.go index 3e27f60732..9193940c6f 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/errors.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const ( diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/header.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/header.go index 7a925c9c77..8650e2f091 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/header.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/header.go @@ -3,8 +3,8 @@ package types import ( "strings" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/misbehaviour.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/misbehaviour.go index eb2fa8c007..d5c987a971 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/misbehaviour.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/misbehaviour.go @@ -3,7 +3,7 @@ package types import ( "bytes" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/misbehaviour_handle.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/misbehaviour_handle.go index 87a26f7545..62ea4df2c9 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/misbehaviour_handle.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/misbehaviour_handle.go @@ -1,9 +1,9 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/proof.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/proof.go index 2240c4c449..86f41b4988 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/proof.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/proof.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" @@ -123,7 +123,7 @@ func ClientStateSignBytes( // SignBytes. func ClientStateDataBytes( cdc codec.BinaryCodec, - path commitmenttypes.MerklePath, // nolint: interfacer + path commitmenttypes.MerklePath, clientState exported.ClientState, ) ([]byte, error) { any, err := clienttypes.PackClientState(clientState) @@ -173,7 +173,7 @@ func ConsensusStateSignBytes( // SignBytes. func ConsensusStateDataBytes( cdc codec.BinaryCodec, - path commitmenttypes.MerklePath, // nolint: interfacer + path commitmenttypes.MerklePath, consensusState exported.ConsensusState, ) ([]byte, error) { any, err := clienttypes.PackConsensusState(consensusState) @@ -223,7 +223,7 @@ func ConnectionStateSignBytes( // SignBytes. func ConnectionStateDataBytes( cdc codec.BinaryCodec, - path commitmenttypes.MerklePath, // nolint: interfacer + path commitmenttypes.MerklePath, connectionEnd exported.ConnectionI, ) ([]byte, error) { connection, ok := connectionEnd.(connectiontypes.ConnectionEnd) @@ -276,7 +276,7 @@ func ChannelStateSignBytes( // SignBytes. func ChannelStateDataBytes( cdc codec.BinaryCodec, - path commitmenttypes.MerklePath, // nolint: interfacer + path commitmenttypes.MerklePath, channelEnd exported.ChannelI, ) ([]byte, error) { channel, ok := channelEnd.(channeltypes.Channel) @@ -328,7 +328,7 @@ func PacketCommitmentSignBytes( // SignBytes. func PacketCommitmentDataBytes( cdc codec.BinaryCodec, - path commitmenttypes.MerklePath, // nolint: interfacer + path commitmenttypes.MerklePath, commitmentBytes []byte, ) ([]byte, error) { data := &PacketCommitmentData{ @@ -373,7 +373,7 @@ func PacketAcknowledgementSignBytes( // SignBytes. func PacketAcknowledgementDataBytes( cdc codec.BinaryCodec, - path commitmenttypes.MerklePath, // nolint: interfacer + path commitmenttypes.MerklePath, acknowledgement []byte, ) ([]byte, error) { data := &PacketAcknowledgementData{ @@ -417,7 +417,7 @@ func PacketReceiptAbsenceSignBytes( // used in constructing SignBytes. func PacketReceiptAbsenceDataBytes( cdc codec.BinaryCodec, - path commitmenttypes.MerklePath, // nolint: interfacer + path commitmenttypes.MerklePath, ) ([]byte, error) { data := &PacketReceiptAbsenceData{ Path: []byte(path.String()), @@ -460,7 +460,7 @@ func NextSequenceRecvSignBytes( // SignBytes. func NextSequenceRecvDataBytes( cdc codec.BinaryCodec, - path commitmenttypes.MerklePath, // nolint: interfacer + path commitmenttypes.MerklePath, nextSequenceRecv uint64, ) ([]byte, error) { data := &NextSequenceRecvData{ diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/proof_test.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/proof_test.go index 9ffc30185c..cd4b69574d 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/proof_test.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/proof_test.go @@ -1,8 +1,8 @@ package types_test import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/light-clients/06-solomachine/types" solomachinetypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/light-clients/06-solomachine/types" diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/proposal_handle.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/proposal_handle.go index a3901ec3e0..da0025146b 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/proposal_handle.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/proposal_handle.go @@ -3,9 +3,9 @@ package types import ( "reflect" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine.go index ba7498ce08..334ebad307 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine.go @@ -1,8 +1,8 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine.pb.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine.pb.go index f431fe2d4d..f71eeb8731 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine.pb.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" types1 "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" types2 "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" io "io" diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine_test.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine_test.go index c090098860..f359362b7a 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine_test.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/solomachine_test.go @@ -3,12 +3,12 @@ package types_test import ( "testing" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/update.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/update.go index b5781eead2..28091c9ea5 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/update.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/update.go @@ -1,9 +1,9 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/light-clients/06-solomachine/types/update_test.go b/sei-ibc-go/modules/light-clients/06-solomachine/types/update_test.go index a47ee113f5..64865b243d 100644 --- a/sei-ibc-go/modules/light-clients/06-solomachine/types/update_test.go +++ b/sei-ibc-go/modules/light-clients/06-solomachine/types/update_test.go @@ -1,8 +1,8 @@ package types_test import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/light-clients/06-solomachine/types" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/client_state.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/client_state.go index 90b36f341a..d7e780e503 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/client_state.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/client_state.go @@ -5,9 +5,9 @@ import ( "time" ics23 "github.com/confio/ics23/go" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-tendermint/light" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/codec.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/codec.go index c5aec78924..c422675655 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/codec.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/codec.go @@ -1,7 +1,7 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/consensus_state.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/consensus_state.go index 36da91ca0d..77e97313fe 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/consensus_state.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/consensus_state.go @@ -3,7 +3,7 @@ package types import ( "time" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/errors.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/errors.go index 7b087e41af..d6c7ee010c 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/errors.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const ( diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/genesis.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/genesis.go index e6891376dd..6a55d03cb5 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/genesis.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/genesis.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/genesis_test.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/genesis_test.go index c3842596c1..31c9e0d95c 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/genesis_test.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/genesis_test.go @@ -1,7 +1,7 @@ package types_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/light-clients/07-tendermint/types" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/header.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/header.go index 88c93f2351..ac7242e86d 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/header.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/header.go @@ -4,7 +4,7 @@ import ( "bytes" "time" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/misbehaviour.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/misbehaviour.go index 17262a8758..da972ff07d 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/misbehaviour.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/misbehaviour.go @@ -3,7 +3,7 @@ package types import ( "time" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/misbehaviour_handle.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/misbehaviour_handle.go index 57bc4737a5..d2675ffeca 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/misbehaviour_handle.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/misbehaviour_handle.go @@ -4,9 +4,9 @@ import ( "bytes" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/proposal_handle.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/proposal_handle.go index 2855de4ab3..753030efe8 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/proposal_handle.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/proposal_handle.go @@ -4,9 +4,9 @@ import ( "reflect" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/store.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/store.go index b47dc64216..1fa823fed4 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/store.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/store.go @@ -5,10 +5,10 @@ import ( "encoding/binary" "strings" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/tendermint_test.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/tendermint_test.go index fdf8b670e5..f1f7b004c2 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/tendermint_test.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/tendermint_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmbytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/update.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/update.go index 492fd3e2fa..ef3cde3192 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/update.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/update.go @@ -6,9 +6,9 @@ import ( "reflect" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-tendermint/light" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/upgrade.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/upgrade.go index a5c2de2ff4..2cdae636f1 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/upgrade.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/upgrade.go @@ -3,10 +3,10 @@ package types import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" commitmenttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/23-commitment/types" diff --git a/sei-ibc-go/modules/light-clients/07-tendermint/types/upgrade_test.go b/sei-ibc-go/modules/light-clients/07-tendermint/types/upgrade_test.go index 58be8c2514..3e9d0e3a1a 100644 --- a/sei-ibc-go/modules/light-clients/07-tendermint/types/upgrade_test.go +++ b/sei-ibc-go/modules/light-clients/07-tendermint/types/upgrade_test.go @@ -1,7 +1,7 @@ package types_test import ( - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" commitmenttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/23-commitment/types" diff --git a/sei-ibc-go/modules/light-clients/09-localhost/types/client_state.go b/sei-ibc-go/modules/light-clients/09-localhost/types/client_state.go index 00b1ecaccc..e57e47ad5f 100644 --- a/sei-ibc-go/modules/light-clients/09-localhost/types/client_state.go +++ b/sei-ibc-go/modules/light-clients/09-localhost/types/client_state.go @@ -6,9 +6,9 @@ import ( "reflect" "strings" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/light-clients/09-localhost/types/client_state_test.go b/sei-ibc-go/modules/light-clients/09-localhost/types/client_state_test.go index d5baa1868c..8673c192c3 100644 --- a/sei-ibc-go/modules/light-clients/09-localhost/types/client_state_test.go +++ b/sei-ibc-go/modules/light-clients/09-localhost/types/client_state_test.go @@ -1,7 +1,7 @@ package types_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/modules/light-clients/09-localhost/types/codec.go b/sei-ibc-go/modules/light-clients/09-localhost/types/codec.go index 1a52180710..4e0ef91bb5 100644 --- a/sei-ibc-go/modules/light-clients/09-localhost/types/codec.go +++ b/sei-ibc-go/modules/light-clients/09-localhost/types/codec.go @@ -1,7 +1,7 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" ) diff --git a/sei-ibc-go/modules/light-clients/09-localhost/types/errors.go b/sei-ibc-go/modules/light-clients/09-localhost/types/errors.go index 57ad7c1f6a..f183d06a28 100644 --- a/sei-ibc-go/modules/light-clients/09-localhost/types/errors.go +++ b/sei-ibc-go/modules/light-clients/09-localhost/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Localhost sentinel errors diff --git a/sei-ibc-go/modules/light-clients/09-localhost/types/localhost_test.go b/sei-ibc-go/modules/light-clients/09-localhost/types/localhost_test.go index 3429e7638c..3dadb03669 100644 --- a/sei-ibc-go/modules/light-clients/09-localhost/types/localhost_test.go +++ b/sei-ibc-go/modules/light-clients/09-localhost/types/localhost_test.go @@ -3,8 +3,8 @@ package types_test import ( "testing" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" diff --git a/sei-ibc-go/testing/app.go b/sei-ibc-go/testing/app.go index ecc3b0d027..0de423d23e 100644 --- a/sei-ibc-go/testing/app.go +++ b/sei-ibc-go/testing/app.go @@ -3,12 +3,12 @@ package ibctesting import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" dbm "github.com/tendermint/tm-db" diff --git a/sei-ibc-go/testing/chain.go b/sei-ibc-go/testing/chain.go index 536e966f8f..c45fd8e6f9 100644 --- a/sei-ibc-go/testing/chain.go +++ b/sei-ibc-go/testing/chain.go @@ -7,23 +7,23 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + distrkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + evidencekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + slashingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" diff --git a/sei-ibc-go/testing/endpoint.go b/sei-ibc-go/testing/endpoint.go index 5258c40f6f..70cab7cfe5 100644 --- a/sei-ibc-go/testing/endpoint.go +++ b/sei-ibc-go/testing/endpoint.go @@ -4,7 +4,7 @@ import ( "fmt" "math" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/testing/events.go b/sei-ibc-go/testing/events.go index f4519198bd..c1d97e2620 100644 --- a/sei-ibc-go/testing/events.go +++ b/sei-ibc-go/testing/events.go @@ -8,7 +8,7 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/stretchr/testify/assert" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-ibc-go/testing/mock/ibc_app.go b/sei-ibc-go/testing/mock/ibc_app.go index ebbe88909b..ba64bd5a07 100644 --- a/sei-ibc-go/testing/mock/ibc_app.go +++ b/sei-ibc-go/testing/mock/ibc_app.go @@ -1,9 +1,9 @@ package mock import ( - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-ibc-go/testing/mock/ibc_module.go b/sei-ibc-go/testing/mock/ibc_module.go index b4fc0f89a6..9f0304b19d 100644 --- a/sei-ibc-go/testing/mock/ibc_module.go +++ b/sei-ibc-go/testing/mock/ibc_module.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-ibc-go/testing/mock/mock.go b/sei-ibc-go/testing/mock/mock.go index bf7ee50f43..6a39f51eed 100644 --- a/sei-ibc-go/testing/mock/mock.go +++ b/sei-ibc-go/testing/mock/mock.go @@ -4,14 +4,14 @@ import ( "encoding/json" "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" diff --git a/sei-ibc-go/testing/mock/privval.go b/sei-ibc-go/testing/mock/privval.go index 7de7413ef9..2f49e817b2 100644 --- a/sei-ibc-go/testing/mock/privval.go +++ b/sei-ibc-go/testing/mock/privval.go @@ -3,9 +3,9 @@ package mock import ( "context" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/sei-ibc-go/testing/sdk_test.go b/sei-ibc-go/testing/sdk_test.go index cdcc28968a..4b532af77f 100644 --- a/sei-ibc-go/testing/sdk_test.go +++ b/sei-ibc-go/testing/sdk_test.go @@ -5,23 +5,23 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/testutil" - clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - authcli "github.com/cosmos/cosmos-sdk/x/auth/client/cli" - authrest "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + clitestutil "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + authcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/cli" + authrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/rest" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" tmrand "github.com/sei-protocol/sei-chain/sei-tendermint/libs/rand" "github.com/spf13/cobra" "github.com/stretchr/testify/suite" @@ -198,7 +198,7 @@ func (s *IntegrationTestSuite) TestLegacyRestErrMessages() { out, err := clitestutil.ExecTestCLICmd(val.ClientCtx, tc.cmd, tc.args) s.Require().NoError(err) var txRes sdk.TxResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &txRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(out.Bytes(), &txRes)) s.Require().Equal(tc.code, txRes.Code) s.Require().NoError(s.network.WaitForNextBlock()) @@ -240,7 +240,7 @@ func (s *IntegrationTestSuite) testQueryIBCTx(txRes sdk.TxResponse, cmd *cobra.C s.Require().NoError(err) var errResp rest.ErrorResponse - s.Require().NoError(val.ClientCtx.LegacyAmino.UnmarshalJSON(txJSON, &errResp)) + s.Require().NoError(val.ClientCtx.LegacyAmino.UnmarshalAsJSON(txJSON, &errResp)) s.Require().Contains(errResp.Error, errMsg) }) @@ -251,7 +251,7 @@ func (s *IntegrationTestSuite) testQueryIBCTx(txRes sdk.TxResponse, cmd *cobra.C s.Require().NoError(err) var getTxRes txtypes.GetTxResponse - s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(grpcJSON, &getTxRes)) + s.Require().NoError(val.ClientCtx.Codec.UnmarshalAsJSON(grpcJSON, &getTxRes)) s.Require().Equal(getTxRes.Tx.Body.Memo, "foobar") // generate broadcast only txn. @@ -266,7 +266,7 @@ func (s *IntegrationTestSuite) testQueryIBCTx(txRes sdk.TxResponse, cmd *cobra.C out, err = clitestutil.ExecTestCLICmd(val.ClientCtx, authcli.GetEncodeCommand(), []string{txFileName}) s.Require().NoError(err) - bz, err := val.ClientCtx.LegacyAmino.MarshalJSON(authrest.DecodeReq{Tx: string(out.Bytes())}) + bz, err := val.ClientCtx.LegacyAmino.MarshalAsJSON(authrest.DecodeReq{Tx: string(out.Bytes())}) s.Require().NoError(err) // try to decode the txn using legacy rest, it fails. @@ -274,6 +274,6 @@ func (s *IntegrationTestSuite) testQueryIBCTx(txRes sdk.TxResponse, cmd *cobra.C s.Require().NoError(err) var errResp rest.ErrorResponse - s.Require().NoError(val.ClientCtx.LegacyAmino.UnmarshalJSON(res, &errResp)) + s.Require().NoError(val.ClientCtx.LegacyAmino.UnmarshalAsJSON(res, &errResp)) s.Require().Contains(errResp.Error, errMsg) } diff --git a/sei-ibc-go/testing/simapp/ante_handler.go b/sei-ibc-go/testing/simapp/ante_handler.go index 4a353d4e7c..d1677ab160 100644 --- a/sei-ibc-go/testing/simapp/ante_handler.go +++ b/sei-ibc-go/testing/simapp/ante_handler.go @@ -1,10 +1,10 @@ package simapp import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" ibcante "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/ante" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" diff --git a/sei-ibc-go/testing/simapp/app.go b/sei-ibc-go/testing/simapp/app.go index 7f86ec451a..28d6557aae 100644 --- a/sei-ibc-go/testing/simapp/app.go +++ b/sei-ibc-go/testing/simapp/app.go @@ -18,71 +18,71 @@ import ( "github.com/spf13/cast" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" - "github.com/cosmos/cosmos-sdk/client/rpc" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/server/api" - "github.com/cosmos/cosmos-sdk/server/config" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/genesis" - "github.com/cosmos/cosmos-sdk/types/legacytm" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/utils" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/auth" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - authrest "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting" - vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "github.com/cosmos/cosmos-sdk/x/bank" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/capability" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/tmservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/api" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/genesis" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/legacytm" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + authrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/rest" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + authtx "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting" + vestingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" simappparams "github.com/sei-protocol/sei-chain/sei-ibc-go/testing/simapp/params" - "github.com/cosmos/cosmos-sdk/x/crisis" - crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper" - crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" - distr "github.com/cosmos/cosmos-sdk/x/distribution" - distrclient "github.com/cosmos/cosmos-sdk/x/distribution/client" - distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/evidence" - evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" - feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" - feegrantmodule "github.com/cosmos/cosmos-sdk/x/feegrant/module" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/cosmos/cosmos-sdk/x/gov" - govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/params" - paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - "github.com/cosmos/cosmos-sdk/x/slashing" - slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/cosmos/cosmos-sdk/x/upgrade" - upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis" + crisiskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/keeper" + crisistypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" + distr "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution" + distrclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client" + distrkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence" + evidencekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + evidencetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" + feegrantkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/keeper" + feegrantmodule "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + genutiltypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov" + govkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params" + paramsclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + paramproposal "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + slashingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade" + upgradeclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/client" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ica "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts" icacontroller "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller" icacontrollerkeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper" @@ -103,12 +103,12 @@ import ( ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" ibcmock "github.com/sei-protocol/sei-chain/sei-ibc-go/testing/mock" - authz "github.com/cosmos/cosmos-sdk/x/authz" - authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" - authzmodule "github.com/cosmos/cosmos-sdk/x/authz/module" + authz "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + authzkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/keeper" + authzmodule "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/module" // unnamed import of statik for swagger UI support - _ "github.com/cosmos/cosmos-sdk/client/docs/statik" + _ "github.com/sei-protocol/sei-chain/sei-cosmos/client/docs/statik" ) const appName = "SimApp" diff --git a/sei-ibc-go/testing/simapp/config.go b/sei-ibc-go/testing/simapp/config.go index 98df982bd3..b67658115b 100644 --- a/sei-ibc-go/testing/simapp/config.go +++ b/sei-ibc-go/testing/simapp/config.go @@ -3,7 +3,7 @@ package simapp import ( "flag" - "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" ) // List of available flags for the simulator diff --git a/sei-ibc-go/testing/simapp/encoding.go b/sei-ibc-go/testing/simapp/encoding.go index 8e3b05cd2b..d368c997b0 100644 --- a/sei-ibc-go/testing/simapp/encoding.go +++ b/sei-ibc-go/testing/simapp/encoding.go @@ -1,7 +1,7 @@ package simapp import ( - "github.com/cosmos/cosmos-sdk/std" + "github.com/sei-protocol/sei-chain/sei-cosmos/std" simappparams "github.com/sei-protocol/sei-chain/sei-ibc-go/testing/simapp/params" ) diff --git a/sei-ibc-go/testing/simapp/export.go b/sei-ibc-go/testing/simapp/export.go index 1eb57806eb..e5d365deb0 100644 --- a/sei-ibc-go/testing/simapp/export.go +++ b/sei-ibc-go/testing/simapp/export.go @@ -4,11 +4,11 @@ import ( "encoding/json" "log" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" ) diff --git a/sei-ibc-go/testing/simapp/genesis.go b/sei-ibc-go/testing/simapp/genesis.go index 772e452d44..72d59ab0e9 100644 --- a/sei-ibc-go/testing/simapp/genesis.go +++ b/sei-ibc-go/testing/simapp/genesis.go @@ -3,7 +3,7 @@ package simapp import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" ) // The genesis state of the blockchain is represented here as a map of raw json diff --git a/sei-ibc-go/testing/simapp/genesis_account.go b/sei-ibc-go/testing/simapp/genesis_account.go index 5c9c7f9a03..1222783380 100644 --- a/sei-ibc-go/testing/simapp/genesis_account.go +++ b/sei-ibc-go/testing/simapp/genesis_account.go @@ -3,8 +3,8 @@ package simapp import ( "errors" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) var _ authtypes.GenesisAccount = (*SimGenesisAccount)(nil) diff --git a/sei-ibc-go/testing/simapp/genesis_account_test.go b/sei-ibc-go/testing/simapp/genesis_account_test.go index 2b614b9812..88de6e919c 100644 --- a/sei-ibc-go/testing/simapp/genesis_account_test.go +++ b/sei-ibc-go/testing/simapp/genesis_account_test.go @@ -4,9 +4,9 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" "github.com/stretchr/testify/require" diff --git a/sei-ibc-go/testing/simapp/helpers/test_helpers.go b/sei-ibc-go/testing/simapp/helpers/test_helpers.go index 9ccecbd976..af0bc4901d 100644 --- a/sei-ibc-go/testing/simapp/helpers/test_helpers.go +++ b/sei-ibc-go/testing/simapp/helpers/test_helpers.go @@ -4,12 +4,12 @@ import ( "math/rand" "time" - "github.com/cosmos/cosmos-sdk/client" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsign "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authsign "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" ) // SimAppChainID hardcoded chainID for simulation diff --git a/sei-ibc-go/testing/simapp/params/amino.go b/sei-ibc-go/testing/simapp/params/amino.go index 0d43dd1eb8..1fcbc5d892 100644 --- a/sei-ibc-go/testing/simapp/params/amino.go +++ b/sei-ibc-go/testing/simapp/params/amino.go @@ -4,9 +4,9 @@ package params import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" ) // MakeTestEncodingConfig creates an EncodingConfig for an amino based test configuration. diff --git a/sei-ibc-go/testing/simapp/params/encoding.go b/sei-ibc-go/testing/simapp/params/encoding.go index 3d634abf16..4a8c2668fb 100644 --- a/sei-ibc-go/testing/simapp/params/encoding.go +++ b/sei-ibc-go/testing/simapp/params/encoding.go @@ -1,9 +1,9 @@ package params import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) // EncodingConfig specifies the concrete encoding types to use for a given app. diff --git a/sei-ibc-go/testing/simapp/params/proto.go b/sei-ibc-go/testing/simapp/params/proto.go index a752d10790..b78aa20fdf 100644 --- a/sei-ibc-go/testing/simapp/params/proto.go +++ b/sei-ibc-go/testing/simapp/params/proto.go @@ -4,9 +4,9 @@ package params import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" ) // MakeTestEncodingConfig creates an EncodingConfig for a non-amino based test configuration. diff --git a/sei-ibc-go/testing/simapp/simd/cmd/cmd_test.go b/sei-ibc-go/testing/simapp/simd/cmd/cmd_test.go index cec93cbdc2..59ad0dc57d 100644 --- a/sei-ibc-go/testing/simapp/simd/cmd/cmd_test.go +++ b/sei-ibc-go/testing/simapp/simd/cmd/cmd_test.go @@ -4,8 +4,8 @@ import ( "fmt" "testing" - svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" + svrcmd "github.com/sei-protocol/sei-chain/sei-cosmos/server/cmd" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/cli" "github.com/stretchr/testify/require" "github.com/sei-protocol/sei-chain/sei-ibc-go/testing/simapp" diff --git a/sei-ibc-go/testing/simapp/simd/cmd/genaccounts.go b/sei-ibc-go/testing/simapp/simd/cmd/genaccounts.go index 253f73bbe2..c3041cf858 100644 --- a/sei-ibc-go/testing/simapp/simd/cmd/genaccounts.go +++ b/sei-ibc-go/testing/simapp/simd/cmd/genaccounts.go @@ -6,16 +6,16 @@ import ( "errors" "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/server" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - authvesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + authvesting "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + genutiltypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" "github.com/spf13/cobra" ) @@ -138,7 +138,7 @@ contain valid denominations. Accounts may optionally be supplied with vesting pa } authGenState.Accounts = genAccs - authGenStateBz, err := cdc.MarshalJSON(&authGenState) + authGenStateBz, err := cdc.MarshalAsJSON(&authGenState) if err != nil { return fmt.Errorf("failed to marshal auth genesis state: %w", err) } @@ -150,7 +150,7 @@ contain valid denominations. Accounts may optionally be supplied with vesting pa bankGenState.Balances = banktypes.SanitizeGenesisBalances(bankGenState.Balances) bankGenState.Supply = bankGenState.Supply.Add(balances.Coins...) - bankGenStateBz, err := cdc.MarshalJSON(bankGenState) + bankGenStateBz, err := cdc.MarshalAsJSON(bankGenState) if err != nil { return fmt.Errorf("failed to marshal bank genesis state: %w", err) } diff --git a/sei-ibc-go/testing/simapp/simd/cmd/genaccounts_test.go b/sei-ibc-go/testing/simapp/simd/cmd/genaccounts_test.go index 27d56c9cae..cc5250ebab 100644 --- a/sei-ibc-go/testing/simapp/simd/cmd/genaccounts_test.go +++ b/sei-ibc-go/testing/simapp/simd/cmd/genaccounts_test.go @@ -5,13 +5,13 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltest "github.com/cosmos/cosmos-sdk/x/genutil/client/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + genutiltest "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/testutil" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/spf13/viper" "github.com/stretchr/testify/require" diff --git a/sei-ibc-go/testing/simapp/simd/cmd/root.go b/sei-ibc-go/testing/simapp/simd/cmd/root.go index 88673bf2c8..73ac3b0609 100644 --- a/sei-ibc-go/testing/simapp/simd/cmd/root.go +++ b/sei-ibc-go/testing/simapp/simd/cmd/root.go @@ -6,24 +6,24 @@ import ( "os" "path/filepath" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/config" - "github.com/cosmos/cosmos-sdk/client/debug" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/keys" - "github.com/cosmos/cosmos-sdk/client/rpc" - "github.com/cosmos/cosmos-sdk/server" - serverconfig "github.com/cosmos/cosmos-sdk/server/config" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" - authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli" - "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/crisis" - genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/debug" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/keys" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + serverconfig "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authcmd "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/cli" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis" + genutilcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/cli" tmcfg "github.com/sei-protocol/sei-chain/sei-tendermint/config" tmcli "github.com/sei-protocol/sei-chain/sei-tendermint/libs/cli" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" diff --git a/sei-ibc-go/testing/simapp/simd/cmd/testnet.go b/sei-ibc-go/testing/simapp/simd/cmd/testnet.go index 72a3124f44..0dfa4c915a 100644 --- a/sei-ibc-go/testing/simapp/simd/cmd/testnet.go +++ b/sei-ibc-go/testing/simapp/simd/cmd/testnet.go @@ -11,22 +11,22 @@ import ( "path/filepath" "time" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/server" - srvconfig "github.com/cosmos/cosmos-sdk/server/config" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + srvconfig "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + genutiltypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" tmconfig "github.com/sei-protocol/sei-chain/sei-tendermint/config" tmos "github.com/sei-protocol/sei-chain/sei-tendermint/libs/os" tmrand "github.com/sei-protocol/sei-chain/sei-tendermint/libs/rand" diff --git a/sei-ibc-go/testing/simapp/simd/main.go b/sei-ibc-go/testing/simapp/simd/main.go index 4e0ce12a3e..b781e2e208 100644 --- a/sei-ibc-go/testing/simapp/simd/main.go +++ b/sei-ibc-go/testing/simapp/simd/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "github.com/cosmos/cosmos-sdk/server" - svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + svrcmd "github.com/sei-protocol/sei-chain/sei-cosmos/server/cmd" "github.com/sei-protocol/sei-chain/sei-ibc-go/testing/simapp" "github.com/sei-protocol/sei-chain/sei-ibc-go/testing/simapp/simd/cmd" diff --git a/sei-ibc-go/testing/simapp/test_access.go b/sei-ibc-go/testing/simapp/test_access.go index a4aaa82828..52e08e89e9 100644 --- a/sei-ibc-go/testing/simapp/test_access.go +++ b/sei-ibc-go/testing/simapp/test_access.go @@ -3,18 +3,18 @@ package simapp import ( "testing" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" "github.com/sei-protocol/sei-chain/sei-wasmd/app/params" - "github.com/cosmos/cosmos-sdk/codec" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + distrkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + evidencekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + slashingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" ibctransferkeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/keeper" ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" ) diff --git a/sei-ibc-go/testing/simapp/test_helpers.go b/sei-ibc-go/testing/simapp/test_helpers.go index 3abec8cae4..6b2e75fd34 100644 --- a/sei-ibc-go/testing/simapp/test_helpers.go +++ b/sei-ibc-go/testing/simapp/test_helpers.go @@ -10,27 +10,27 @@ import ( "testing" "time" - bam "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/capability" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - distr "github.com/cosmos/cosmos-sdk/x/distribution" - distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence" - evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing" - slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + bam "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + distr "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution" + distrkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence" + evidencekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + slashingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" diff --git a/sei-ibc-go/testing/simapp/types.go b/sei-ibc-go/testing/simapp/types.go index 6720379080..d34a98b53b 100644 --- a/sei-ibc-go/testing/simapp/types.go +++ b/sei-ibc-go/testing/simapp/types.go @@ -1,9 +1,9 @@ package simapp import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-ibc-go/testing/simapp/utils.go b/sei-ibc-go/testing/simapp/utils.go index eb0403f9b0..336ee5860a 100644 --- a/sei-ibc-go/testing/simapp/utils.go +++ b/sei-ibc-go/testing/simapp/utils.go @@ -5,9 +5,9 @@ import ( "fmt" "os" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" dbm "github.com/tendermint/tm-db" diff --git a/sei-ibc-go/testing/simapp/utils_test.go b/sei-ibc-go/testing/simapp/utils_test.go index 7389c3a23b..99a07077d3 100644 --- a/sei-ibc-go/testing/simapp/utils_test.go +++ b/sei-ibc-go/testing/simapp/utils_test.go @@ -4,12 +4,12 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/std" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/cosmos/cosmos-sdk/types/module" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/std" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" "github.com/stretchr/testify/require" ) diff --git a/sei-ibc-go/testing/solomachine.go b/sei-ibc-go/testing/solomachine.go index 7492427ec0..3ff7e2ad64 100644 --- a/sei-ibc-go/testing/solomachine.go +++ b/sei-ibc-go/testing/solomachine.go @@ -4,13 +4,13 @@ import ( "math" "testing" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/crypto/types/multisig" - "github.com/cosmos/cosmos-sdk/types/tx/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + kmultisig "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types/multisig" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" "github.com/stretchr/testify/require" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-ibc-go/testing/values.go b/sei-ibc-go/testing/values.go index dadb40d8f0..d871469e32 100644 --- a/sei-ibc-go/testing/values.go +++ b/sei-ibc-go/testing/values.go @@ -7,7 +7,7 @@ package ibctesting import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ibctransfertypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-tendermint/crypto/ed25519/json.go b/sei-tendermint/crypto/ed25519/json.go index aca2b76c61..914462c7e3 100644 --- a/sei-tendermint/crypto/ed25519/json.go +++ b/sei-tendermint/crypto/ed25519/json.go @@ -6,7 +6,7 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/internal/jsontypes" ) -const SecretKeyName = "tendermint/PrivKeyEd25519" //nolint:gosec // G101 not a hardcoded secret +const SecretKeyName = "tendermint/PrivKeyEd25519" //nolint:gosec const PublicKeyName = "tendermint/PubKeyEd25519" const KeyType = "ed25519" diff --git a/sei-tendermint/internal/consensus/pbts_test.go b/sei-tendermint/internal/consensus/pbts_test.go index 45dd4e1281..1144f1dc17 100644 --- a/sei-tendermint/internal/consensus/pbts_test.go +++ b/sei-tendermint/internal/consensus/pbts_test.go @@ -442,10 +442,12 @@ func TestTimelyProposal(t *testing.T) { cfg := pbtsTestConfiguration{ synchronyParams: types.SynchronyParams{ - Precision: 10 * time.Millisecond, - MessageDelay: 140 * time.Millisecond, + // Keep this test away from timing boundaries so scheduler jitter in CI does not + // cause occasional nil prevotes for an otherwise timely proposal. + Precision: 25 * time.Millisecond, + MessageDelay: 300 * time.Millisecond, }, - timeoutPropose: 40 * time.Millisecond, + timeoutPropose: 80 * time.Millisecond, genesisTime: initialTime, height2ProposedBlockOffset: 15 * time.Millisecond, height2ProposalTimeDeliveryOffset: 30 * time.Millisecond, diff --git a/sei-wasmd/app/ante.go b/sei-wasmd/app/ante.go index e08b83f3e8..c2c2edcf74 100644 --- a/sei-wasmd/app/ante.go +++ b/sei-wasmd/app/ante.go @@ -1,13 +1,13 @@ package app import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/x/auth/ante" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" ibcante "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/ante" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" wasmTypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/sei-wasmd/app/app.go b/sei-wasmd/app/app.go index 7c840efea5..3cbd97c36b 100644 --- a/sei-wasmd/app/app.go +++ b/sei-wasmd/app/app.go @@ -9,70 +9,70 @@ import ( "path/filepath" "strings" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" - "github.com/cosmos/cosmos-sdk/client/rpc" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/server/api" - "github.com/cosmos/cosmos-sdk/server/config" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/genesis" - "github.com/cosmos/cosmos-sdk/types/legacytm" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/utils" - "github.com/cosmos/cosmos-sdk/x/auth" - "github.com/cosmos/cosmos-sdk/x/auth/ante" - authrest "github.com/cosmos/cosmos-sdk/x/auth/client/rest" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting" - vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "github.com/cosmos/cosmos-sdk/x/authz" - authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" - authzmodule "github.com/cosmos/cosmos-sdk/x/authz/module" - "github.com/cosmos/cosmos-sdk/x/bank" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/capability" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - "github.com/cosmos/cosmos-sdk/x/crisis" - crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper" - crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" - distr "github.com/cosmos/cosmos-sdk/x/distribution" - distrclient "github.com/cosmos/cosmos-sdk/x/distribution/client" - distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/evidence" - evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" - feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" - feegrantmodule "github.com/cosmos/cosmos-sdk/x/feegrant/module" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/cosmos/cosmos-sdk/x/gov" - govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/params" - paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - "github.com/cosmos/cosmos-sdk/x/slashing" - slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/cosmos/cosmos-sdk/x/upgrade" - upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/tmservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/rpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/api" + "github.com/sei-protocol/sei-chain/sei-cosmos/server/config" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/genesis" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/legacytm" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/ante" + authrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/client/rest" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + authtx "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting" + vestingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz" + authzkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/keeper" + authzmodule "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis" + crisiskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/keeper" + crisistypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" + distr "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution" + distrclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client" + distrkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence" + evidencekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + evidencetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" + feegrantkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/keeper" + feegrantmodule "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + genutiltypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov" + govkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params" + paramsclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + paramproposal "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + slashingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade" + upgradeclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/client" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" icacontroller "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller" icacontrollerkeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller/keeper" icacontrollertypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/27-interchain-accounts/controller/types" @@ -111,7 +111,7 @@ import ( wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" // unnamed import of statik for swagger UI support - _ "github.com/cosmos/cosmos-sdk/client/docs/statik" + _ "github.com/sei-protocol/sei-chain/sei-cosmos/client/docs/statik" ) const appName = "WasmApp" diff --git a/sei-wasmd/app/encoding.go b/sei-wasmd/app/encoding.go index d4208f553e..947a101119 100644 --- a/sei-wasmd/app/encoding.go +++ b/sei-wasmd/app/encoding.go @@ -1,7 +1,7 @@ package app import ( - "github.com/cosmos/cosmos-sdk/std" + "github.com/sei-protocol/sei-chain/sei-cosmos/std" "github.com/sei-protocol/sei-chain/sei-wasmd/app/params" ) diff --git a/sei-wasmd/app/export.go b/sei-wasmd/app/export.go index cdc691b1c1..65e58dc9cf 100644 --- a/sei-wasmd/app/export.go +++ b/sei-wasmd/app/export.go @@ -6,11 +6,11 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // ExportAppStateAndValidators exports the state of the application for a genesis diff --git a/sei-wasmd/app/params/encoding.go b/sei-wasmd/app/params/encoding.go index 3d634abf16..4a8c2668fb 100644 --- a/sei-wasmd/app/params/encoding.go +++ b/sei-wasmd/app/params/encoding.go @@ -1,9 +1,9 @@ package params import ( - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" ) // EncodingConfig specifies the concrete encoding types to use for a given app. diff --git a/sei-wasmd/app/params/proto.go b/sei-wasmd/app/params/proto.go index 84ff35a399..49a3f9f559 100644 --- a/sei-wasmd/app/params/proto.go +++ b/sei-wasmd/app/params/proto.go @@ -1,9 +1,9 @@ package params import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" ) // MakeEncodingConfig creates an EncodingConfig for an amino based test configuration. diff --git a/sei-wasmd/app/test_access.go b/sei-wasmd/app/test_access.go index 1d74088de6..0f3de10b79 100644 --- a/sei-wasmd/app/test_access.go +++ b/sei-wasmd/app/test_access.go @@ -3,15 +3,15 @@ package app import ( "testing" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" "github.com/sei-protocol/sei-chain/sei-wasmd/app/params" - "github.com/cosmos/cosmos-sdk/codec" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" ibctransferkeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/keeper" ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" diff --git a/sei-wasmd/app/test_helpers.go b/sei-wasmd/app/test_helpers.go index b836c56566..f3e2a72171 100644 --- a/sei-wasmd/app/test_helpers.go +++ b/sei-wasmd/app/test_helpers.go @@ -11,32 +11,32 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" - bam "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/snapshots" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/capability" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - "github.com/cosmos/cosmos-sdk/x/distribution" - distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - "github.com/cosmos/cosmos-sdk/x/evidence" - evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper" - "github.com/cosmos/cosmos-sdk/x/slashing" - slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + bam "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution" + distrkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence" + evidencekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + slashingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ibcclient "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" diff --git a/sei-wasmd/benchmarks/app_test.go b/sei-wasmd/benchmarks/app_test.go index 710a9c7c4d..a0bf41372b 100644 --- a/sei-wasmd/benchmarks/app_test.go +++ b/sei-wasmd/benchmarks/app_test.go @@ -11,11 +11,11 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" seiapp "github.com/sei-protocol/sei-chain/app" "github.com/sei-protocol/sei-chain/app/legacyabci" diff --git a/sei-wasmd/benchmarks/bench_test.go b/sei-wasmd/benchmarks/bench_test.go index 36601e651e..22a3038398 100644 --- a/sei-wasmd/benchmarks/bench_test.go +++ b/sei-wasmd/benchmarks/bench_test.go @@ -10,9 +10,9 @@ import ( dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/sei-wasmd/proto/cosmwasm/wasm/v1/proposal.proto b/sei-wasmd/proto/cosmwasm/wasm/v1/proposal.proto index ffb6151b42..4805a2c4ae 100644 --- a/sei-wasmd/proto/cosmwasm/wasm/v1/proposal.proto +++ b/sei-wasmd/proto/cosmwasm/wasm/v1/proposal.proto @@ -46,7 +46,7 @@ message InstantiateContractProposal { // Funds coins that are transferred to the contract on instantiation repeated cosmos.base.v1beta1.Coin funds = 8 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } @@ -94,7 +94,7 @@ message ExecuteContractProposal { // Funds coins that are transferred to the contract on instantiation repeated cosmos.base.v1beta1.Coin funds = 6 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } diff --git a/sei-wasmd/proto/cosmwasm/wasm/v1/tx.proto b/sei-wasmd/proto/cosmwasm/wasm/v1/tx.proto index bbb2239344..f1ab5c0f84 100644 --- a/sei-wasmd/proto/cosmwasm/wasm/v1/tx.proto +++ b/sei-wasmd/proto/cosmwasm/wasm/v1/tx.proto @@ -59,7 +59,7 @@ message MsgInstantiateContract { // Funds coins that are transferred to the contract on instantiation repeated cosmos.base.v1beta1.Coin funds = 6 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } @@ -82,7 +82,7 @@ message MsgExecuteContract { // Funds coins that are transferred to the contract on execution repeated cosmos.base.v1beta1.Coin funds = 5 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + (gogoproto.castrepeated) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" ]; } diff --git a/sei-wasmd/x/wasm/client/cli/genesis_msg.go b/sei-wasmd/x/wasm/client/cli/genesis_msg.go index 4e045bdd81..194ea3ca90 100644 --- a/sei-wasmd/x/wasm/client/cli/genesis_msg.go +++ b/sei-wasmd/x/wasm/client/cli/genesis_msg.go @@ -10,15 +10,15 @@ import ( "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/server" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + genutiltypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/spf13/cobra" @@ -437,7 +437,7 @@ func (x DefaultGenesisIO) AlterWasmModuleState(cmd *cobra.Command, callback func return err } clientCtx := client.GetClientContextFromCmd(cmd) - wasmGenStateBz, err := clientCtx.Codec.MarshalJSON(g.WasmModuleState) + wasmGenStateBz, err := clientCtx.Codec.MarshalAsJSON(g.WasmModuleState) if err != nil { return sdkerrors.Wrap(err, "marshal wasm genesis state") } diff --git a/sei-wasmd/x/wasm/client/cli/genesis_msg_test.go b/sei-wasmd/x/wasm/client/cli/genesis_msg_test.go index 1b03c049bd..d9a7493bd1 100644 --- a/sei-wasmd/x/wasm/client/cli/genesis_msg_test.go +++ b/sei-wasmd/x/wasm/client/cli/genesis_msg_test.go @@ -8,19 +8,19 @@ import ( "path" "testing" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/testutil" - "github.com/cosmos/cosmos-sdk/testutil/testdata" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltest "github.com/cosmos/cosmos-sdk/x/genutil/client/testutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil" + genutiltest "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/client/testutil" + genutiltypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/genutil/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/spf13/cobra" @@ -725,6 +725,6 @@ func loadModuleState(t *testing.T, homeDir string) types.GenesisState { appCodec := keeper.MakeEncodingConfig(t).Marshaler var moduleState types.GenesisState - require.NoError(t, appCodec.UnmarshalJSON(appState[types.ModuleName], &moduleState)) + require.NoError(t, appCodec.UnmarshalAsJSON(appState[types.ModuleName], &moduleState)) return moduleState } diff --git a/sei-wasmd/x/wasm/client/cli/gov_tx.go b/sei-wasmd/x/wasm/client/cli/gov_tx.go index a41762c2c6..1c7106b8e7 100644 --- a/sei-wasmd/x/wasm/client/cli/gov_tx.go +++ b/sei-wasmd/x/wasm/client/cli/gov_tx.go @@ -5,13 +5,13 @@ import ( "strconv" "strings" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/version" - "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/pkg/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/version" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/spf13/cobra" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/sei-wasmd/x/wasm/client/cli/new_tx.go b/sei-wasmd/x/wasm/client/cli/new_tx.go index 5b06923c59..502ec12cfc 100644 --- a/sei-wasmd/x/wasm/client/cli/new_tx.go +++ b/sei-wasmd/x/wasm/client/cli/new_tx.go @@ -3,10 +3,10 @@ package cli import ( "strconv" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/spf13/cobra" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/sei-wasmd/x/wasm/client/cli/query.go b/sei-wasmd/x/wasm/client/cli/query.go index 2ed45ff828..5f30193650 100644 --- a/sei-wasmd/x/wasm/client/cli/query.go +++ b/sei-wasmd/x/wasm/client/cli/query.go @@ -10,9 +10,9 @@ import ( "os" "strconv" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmvm "github.com/sei-protocol/sei-chain/sei-wasmvm" "github.com/spf13/cobra" flag "github.com/spf13/pflag" diff --git a/sei-wasmd/x/wasm/client/cli/tx.go b/sei-wasmd/x/wasm/client/cli/tx.go index e0c3254004..c41da01d87 100644 --- a/sei-wasmd/x/wasm/client/cli/tx.go +++ b/sei-wasmd/x/wasm/client/cli/tx.go @@ -7,11 +7,11 @@ import ( "path/filepath" "strconv" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/spf13/cobra" flag "github.com/spf13/pflag" diff --git a/sei-wasmd/x/wasm/client/proposal_handler.go b/sei-wasmd/x/wasm/client/proposal_handler.go index e9b4509242..e722207832 100644 --- a/sei-wasmd/x/wasm/client/proposal_handler.go +++ b/sei-wasmd/x/wasm/client/proposal_handler.go @@ -1,7 +1,7 @@ package client import ( - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" + govclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/client/cli" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/client/rest" diff --git a/sei-wasmd/x/wasm/client/proposal_handler_test.go b/sei-wasmd/x/wasm/client/proposal_handler_test.go index 6e8bb8ba81..b0fbda292b 100644 --- a/sei-wasmd/x/wasm/client/proposal_handler_test.go +++ b/sei-wasmd/x/wasm/client/proposal_handler_test.go @@ -9,10 +9,10 @@ import ( "os" "testing" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/gorilla/mux" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" "github.com/stretchr/testify/require" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" diff --git a/sei-wasmd/x/wasm/client/rest/gov.go b/sei-wasmd/x/wasm/client/rest/gov.go index 495641ebd6..d034815261 100644 --- a/sei-wasmd/x/wasm/client/rest/gov.go +++ b/sei-wasmd/x/wasm/client/rest/gov.go @@ -4,12 +4,12 @@ import ( "encoding/json" "net/http" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" - govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" + govrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/rest" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/sei-wasmd/x/wasm/client/rest/new_tx.go b/sei-wasmd/x/wasm/client/rest/new_tx.go index 5d16590f31..48d18b57b7 100644 --- a/sei-wasmd/x/wasm/client/rest/new_tx.go +++ b/sei-wasmd/x/wasm/client/rest/new_tx.go @@ -3,10 +3,10 @@ package rest import ( "net/http" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/types/rest" "github.com/gorilla/mux" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/sei-wasmd/x/wasm/client/rest/query.go b/sei-wasmd/x/wasm/client/rest/query.go index 4501652ece..27732d2210 100644 --- a/sei-wasmd/x/wasm/client/rest/query.go +++ b/sei-wasmd/x/wasm/client/rest/query.go @@ -8,10 +8,10 @@ import ( "net/http" "strconv" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" "github.com/gorilla/mux" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/sei-wasmd/x/wasm/client/rest/rest.go b/sei-wasmd/x/wasm/client/rest/rest.go index 2e697a6b50..1eb48b846a 100644 --- a/sei-wasmd/x/wasm/client/rest/rest.go +++ b/sei-wasmd/x/wasm/client/rest/rest.go @@ -1,8 +1,8 @@ package rest import ( - "github.com/cosmos/cosmos-sdk/client" "github.com/gorilla/mux" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" ) // RegisterRoutes registers staking-related REST handlers to a router diff --git a/sei-wasmd/x/wasm/client/rest/tx.go b/sei-wasmd/x/wasm/client/rest/tx.go index f8b983bfe9..711bafa7c6 100644 --- a/sei-wasmd/x/wasm/client/rest/tx.go +++ b/sei-wasmd/x/wasm/client/rest/tx.go @@ -4,11 +4,11 @@ import ( "net/http" "strconv" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" "github.com/gorilla/mux" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/ioutils" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/sei-wasmd/x/wasm/common_test.go b/sei-wasmd/x/wasm/common_test.go index ce232a5efa..ad964e6723 100644 --- a/sei-wasmd/x/wasm/common_test.go +++ b/sei-wasmd/x/wasm/common_test.go @@ -3,7 +3,7 @@ package wasm import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/sei-wasmd/x/wasm/genesis_test.go b/sei-wasmd/x/wasm/genesis_test.go index ea97c97f07..f6a0514072 100644 --- a/sei-wasmd/x/wasm/genesis_test.go +++ b/sei-wasmd/x/wasm/genesis_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/sei-wasmd/x/wasm/handler.go b/sei-wasmd/x/wasm/handler.go index 9975429252..248ebdf434 100644 --- a/sei-wasmd/x/wasm/handler.go +++ b/sei-wasmd/x/wasm/handler.go @@ -9,8 +9,8 @@ import ( "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // NewHandler returns a handler for "wasm" type messages. diff --git a/sei-wasmd/x/wasm/ibc.go b/sei-wasmd/x/wasm/ibc.go index f7515cd27a..b97bc86e37 100644 --- a/sei-wasmd/x/wasm/ibc.go +++ b/sei-wasmd/x/wasm/ibc.go @@ -5,9 +5,9 @@ import ( ibcexported "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" porttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/05-port/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" diff --git a/sei-wasmd/x/wasm/ibctesting/app.go b/sei-wasmd/x/wasm/ibctesting/app.go index 1f3727089a..7f21d3791f 100644 --- a/sei-wasmd/x/wasm/ibctesting/app.go +++ b/sei-wasmd/x/wasm/ibctesting/app.go @@ -1,14 +1,14 @@ package ibctesting import ( - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-wasmd/x/wasm/ibctesting/chain.go b/sei-wasmd/x/wasm/ibctesting/chain.go index 497032d88c..4cd3156fae 100644 --- a/sei-wasmd/x/wasm/ibctesting/chain.go +++ b/sei-wasmd/x/wasm/ibctesting/chain.go @@ -8,22 +8,22 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/teststaking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/teststaking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" commitmenttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/23-commitment/types" diff --git a/sei-wasmd/x/wasm/ibctesting/endpoint.go b/sei-wasmd/x/wasm/ibctesting/endpoint.go index bd4684ea75..fafbf70b53 100644 --- a/sei-wasmd/x/wasm/ibctesting/endpoint.go +++ b/sei-wasmd/x/wasm/ibctesting/endpoint.go @@ -4,7 +4,7 @@ import ( "fmt" "math" - // sdk "github.com/cosmos/cosmos-sdk/types" + // sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" diff --git a/sei-wasmd/x/wasm/ibctesting/events.go b/sei-wasmd/x/wasm/ibctesting/events.go index f4519198bd..c1d97e2620 100644 --- a/sei-wasmd/x/wasm/ibctesting/events.go +++ b/sei-wasmd/x/wasm/ibctesting/events.go @@ -8,7 +8,7 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/stretchr/testify/assert" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-wasmd/x/wasm/ibctesting/path.go b/sei-wasmd/x/wasm/ibctesting/path.go index 0d03aeff0b..ca2ac61436 100644 --- a/sei-wasmd/x/wasm/ibctesting/path.go +++ b/sei-wasmd/x/wasm/ibctesting/path.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" ) diff --git a/sei-wasmd/x/wasm/ibctesting/values.go b/sei-wasmd/x/wasm/ibctesting/values.go index 92d1639d41..e7eb0c2bd8 100644 --- a/sei-wasmd/x/wasm/ibctesting/values.go +++ b/sei-wasmd/x/wasm/ibctesting/values.go @@ -7,7 +7,7 @@ package ibctesting import ( "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ibctransfertypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" diff --git a/sei-wasmd/x/wasm/ibctesting/wasm.go b/sei-wasmd/x/wasm/ibctesting/wasm.go index d392b8fb1c..e44a063303 100644 --- a/sei-wasmd/x/wasm/ibctesting/wasm.go +++ b/sei-wasmd/x/wasm/ibctesting/wasm.go @@ -12,8 +12,8 @@ import ( wasmd "github.com/sei-protocol/sei-chain/sei-wasmd/app" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/golang/protobuf/proto" //nolint + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/rand" "github.com/stretchr/testify/require" diff --git a/sei-wasmd/x/wasm/keeper/ante.go b/sei-wasmd/x/wasm/keeper/ante.go index 5acec1f0fc..c85eda6918 100644 --- a/sei-wasmd/x/wasm/keeper/ante.go +++ b/sei-wasmd/x/wasm/keeper/ante.go @@ -6,7 +6,7 @@ import ( "fmt" "math" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/ante_test.go b/sei-wasmd/x/wasm/keeper/ante_test.go index c0cd02b6b4..a8b158be7b 100644 --- a/sei-wasmd/x/wasm/keeper/ante_test.go +++ b/sei-wasmd/x/wasm/keeper/ante_test.go @@ -6,8 +6,8 @@ import ( "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/assert" diff --git a/sei-wasmd/x/wasm/keeper/api.go b/sei-wasmd/x/wasm/keeper/api.go index 09e811a06d..b443c5da6b 100644 --- a/sei-wasmd/x/wasm/keeper/api.go +++ b/sei-wasmd/x/wasm/keeper/api.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmvm "github.com/sei-protocol/sei-chain/sei-wasmvm" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/authz_policy.go b/sei-wasmd/x/wasm/keeper/authz_policy.go index 382df65726..4cdfc48e0e 100644 --- a/sei-wasmd/x/wasm/keeper/authz_policy.go +++ b/sei-wasmd/x/wasm/keeper/authz_policy.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/bench_test.go b/sei-wasmd/x/wasm/keeper/bench_test.go index e18dfe86be..6a3588a3f0 100644 --- a/sei-wasmd/x/wasm/keeper/bench_test.go +++ b/sei-wasmd/x/wasm/keeper/bench_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" diff --git a/sei-wasmd/x/wasm/keeper/contract_keeper.go b/sei-wasmd/x/wasm/keeper/contract_keeper.go index da006a6a9b..82b11d4332 100644 --- a/sei-wasmd/x/wasm/keeper/contract_keeper.go +++ b/sei-wasmd/x/wasm/keeper/contract_keeper.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/events.go b/sei-wasmd/x/wasm/keeper/events.go index cd87333834..3774336b7e 100644 --- a/sei-wasmd/x/wasm/keeper/events.go +++ b/sei-wasmd/x/wasm/keeper/events.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/sei-wasmd/x/wasm/keeper/events_test.go b/sei-wasmd/x/wasm/keeper/events_test.go index 33490dd6ca..276de95a7e 100644 --- a/sei-wasmd/x/wasm/keeper/events_test.go +++ b/sei-wasmd/x/wasm/keeper/events_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/stretchr/testify/assert" diff --git a/sei-wasmd/x/wasm/keeper/gas_register.go b/sei-wasmd/x/wasm/keeper/gas_register.go index c1dd678958..135ea72f09 100644 --- a/sei-wasmd/x/wasm/keeper/gas_register.go +++ b/sei-wasmd/x/wasm/keeper/gas_register.go @@ -1,9 +1,9 @@ package keeper import ( - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/sei-wasmd/x/wasm/keeper/gas_register_test.go b/sei-wasmd/x/wasm/keeper/gas_register_test.go index 2e12455122..40c4da35af 100644 --- a/sei-wasmd/x/wasm/keeper/gas_register_test.go +++ b/sei-wasmd/x/wasm/keeper/gas_register_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/stretchr/testify/assert" ) diff --git a/sei-wasmd/x/wasm/keeper/genesis.go b/sei-wasmd/x/wasm/keeper/genesis.go index 4a42d67cb6..ae0fa10c48 100644 --- a/sei-wasmd/x/wasm/keeper/genesis.go +++ b/sei-wasmd/x/wasm/keeper/genesis.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/sei-wasmd/x/wasm/keeper/genesis_test.go b/sei-wasmd/x/wasm/keeper/genesis_test.go index 9cff0f2687..7001be5b69 100644 --- a/sei-wasmd/x/wasm/keeper/genesis_test.go +++ b/sei-wasmd/x/wasm/keeper/genesis_test.go @@ -12,17 +12,17 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/store" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - distributionkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" fuzz "github.com/google/gofuzz" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + distributionkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" @@ -103,7 +103,7 @@ func TestGenesisExportImport(t *testing.T) { rand.Shuffle(len(exportedState.Sequences), func(i, j int) { exportedState.Sequences[i], exportedState.Sequences[j] = exportedState.Sequences[j], exportedState.Sequences[i] }) - exportedGenesis, err := wasmKeeper.cdc.MarshalJSON(exportedState) + exportedGenesis, err := wasmKeeper.cdc.MarshalAsJSON(exportedState) require.NoError(t, err) // setup new instances @@ -129,7 +129,7 @@ func TestGenesisExportImport(t *testing.T) { // re-import var importState wasmTypes.GenesisState - err = dstKeeper.cdc.UnmarshalJSON(exportedGenesis, &importState) + err = dstKeeper.cdc.UnmarshalAsJSON(exportedGenesis, &importState) require.NoError(t, err) InitGenesis(dstCtx, dstKeeper, importState, &StakingKeeperMock{}, TestHandler(contractKeeper)) @@ -507,7 +507,7 @@ func TestImportContractWithCodeHistoryReset(t *testing.T) { genesisStr := fmt.Sprintf(genesisTemplate, enc64(wasmCodeHash[:]), enc64(wasmCode)) var importState wasmTypes.GenesisState - err = keeper.cdc.UnmarshalJSON([]byte(genesisStr), &importState) + err = keeper.cdc.UnmarshalAsJSON([]byte(genesisStr), &importState) require.NoError(t, err) require.NoError(t, importState.ValidateBasic(), genesisStr) diff --git a/sei-wasmd/x/wasm/keeper/handler_plugin.go b/sei-wasmd/x/wasm/keeper/handler_plugin.go index d85dfd5621..e1c4f915fa 100644 --- a/sei-wasmd/x/wasm/keeper/handler_plugin.go +++ b/sei-wasmd/x/wasm/keeper/handler_plugin.go @@ -4,10 +4,10 @@ import ( "errors" "fmt" - "github.com/cosmos/cosmos-sdk/baseapp" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" diff --git a/sei-wasmd/x/wasm/keeper/handler_plugin_encoders.go b/sei-wasmd/x/wasm/keeper/handler_plugin_encoders.go index ad69a68ddd..de91695f50 100644 --- a/sei-wasmd/x/wasm/keeper/handler_plugin_encoders.go +++ b/sei-wasmd/x/wasm/keeper/handler_plugin_encoders.go @@ -4,13 +4,13 @@ import ( "encoding/json" "fmt" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + distributiontypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ibctransfertypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ibcclienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" diff --git a/sei-wasmd/x/wasm/keeper/handler_plugin_encoders_test.go b/sei-wasmd/x/wasm/keeper/handler_plugin_encoders_test.go index fa616925cc..7ee17ebabd 100644 --- a/sei-wasmd/x/wasm/keeper/handler_plugin_encoders_test.go +++ b/sei-wasmd/x/wasm/keeper/handler_plugin_encoders_test.go @@ -3,18 +3,18 @@ package keeper import ( "testing" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/golang/protobuf/proto" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ibctransfertypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" "github.com/stretchr/testify/assert" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + distributiontypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/stretchr/testify/require" diff --git a/sei-wasmd/x/wasm/keeper/handler_plugin_test.go b/sei-wasmd/x/wasm/keeper/handler_plugin_test.go index 7487711856..7268d77303 100644 --- a/sei-wasmd/x/wasm/keeper/handler_plugin_test.go +++ b/sei-wasmd/x/wasm/keeper/handler_plugin_test.go @@ -4,11 +4,11 @@ import ( "encoding/json" "testing" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" ibcexported "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-wasmd/x/wasm/keeper/ibc.go b/sei-wasmd/x/wasm/keeper/ibc.go index 517223662b..2dab5b602b 100644 --- a/sei-wasmd/x/wasm/keeper/ibc.go +++ b/sei-wasmd/x/wasm/keeper/ibc.go @@ -3,9 +3,9 @@ package keeper import ( "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" host "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/sei-wasmd/x/wasm/keeper/ibc_test.go b/sei-wasmd/x/wasm/keeper/ibc_test.go index 704e2f6c2a..cc702786f9 100644 --- a/sei-wasmd/x/wasm/keeper/ibc_test.go +++ b/sei-wasmd/x/wasm/keeper/ibc_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/sei-wasmd/x/wasm/keeper/keeper.go b/sei-wasmd/x/wasm/keeper/keeper.go index 1a7121a59f..d51fdebc23 100644 --- a/sei-wasmd/x/wasm/keeper/keeper.go +++ b/sei-wasmd/x/wasm/keeper/keeper.go @@ -13,14 +13,14 @@ import ( "time" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/types/address" - - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" wasmvm "github.com/sei-protocol/sei-chain/sei-wasmvm" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" diff --git a/sei-wasmd/x/wasm/keeper/keeper_test.go b/sei-wasmd/x/wasm/keeper/keeper_test.go index 037137ba88..afd4b524c0 100644 --- a/sei-wasmd/x/wasm/keeper/keeper_test.go +++ b/sei-wasmd/x/wasm/keeper/keeper_test.go @@ -9,15 +9,15 @@ import ( "testing" "time" - distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + distributiontypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" wasmvm "github.com/sei-protocol/sei-chain/sei-wasmvm" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/sei-wasmd/x/wasm/keeper/legacy_querier.go b/sei-wasmd/x/wasm/keeper/legacy_querier.go index c8cc056bb2..10861cfdbe 100644 --- a/sei-wasmd/x/wasm/keeper/legacy_querier.go +++ b/sei-wasmd/x/wasm/keeper/legacy_querier.go @@ -5,8 +5,8 @@ import ( "reflect" "strconv" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/sei-wasmd/x/wasm/keeper/legacy_querier_test.go b/sei-wasmd/x/wasm/keeper/legacy_querier_test.go index c72238c9bc..b63fdcc798 100644 --- a/sei-wasmd/x/wasm/keeper/legacy_querier_test.go +++ b/sei-wasmd/x/wasm/keeper/legacy_querier_test.go @@ -8,7 +8,7 @@ import ( "os" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/sei-wasmd/x/wasm/keeper/msg_dispatcher.go b/sei-wasmd/x/wasm/keeper/msg_dispatcher.go index 35ac2a0c35..f4f76f84d0 100644 --- a/sei-wasmd/x/wasm/keeper/msg_dispatcher.go +++ b/sei-wasmd/x/wasm/keeper/msg_dispatcher.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" diff --git a/sei-wasmd/x/wasm/keeper/msg_dispatcher_test.go b/sei-wasmd/x/wasm/keeper/msg_dispatcher_test.go index 3a7243fded..bcfd77f1a1 100644 --- a/sei-wasmd/x/wasm/keeper/msg_dispatcher_test.go +++ b/sei-wasmd/x/wasm/keeper/msg_dispatcher_test.go @@ -7,7 +7,7 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/stretchr/testify/assert" diff --git a/sei-wasmd/x/wasm/keeper/msg_server.go b/sei-wasmd/x/wasm/keeper/msg_server.go index 8a724467aa..77c1aa232d 100644 --- a/sei-wasmd/x/wasm/keeper/msg_server.go +++ b/sei-wasmd/x/wasm/keeper/msg_server.go @@ -5,8 +5,8 @@ import ( "time" "github.com/armon/go-metrics" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/options_test.go b/sei-wasmd/x/wasm/keeper/options_test.go index 736c7b9981..3432e0991f 100644 --- a/sei-wasmd/x/wasm/keeper/options_test.go +++ b/sei-wasmd/x/wasm/keeper/options_test.go @@ -3,11 +3,11 @@ package keeper import ( "testing" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - distributionkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + distributionkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/sei-wasmd/x/wasm/keeper/proposal_handler.go b/sei-wasmd/x/wasm/keeper/proposal_handler.go index 371d7f8af6..c73f66f318 100644 --- a/sei-wasmd/x/wasm/keeper/proposal_handler.go +++ b/sei-wasmd/x/wasm/keeper/proposal_handler.go @@ -3,9 +3,9 @@ package keeper import ( "encoding/hex" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/proposal_integration_test.go b/sei-wasmd/x/wasm/keeper/proposal_integration_test.go index d6affb7879..405427f757 100644 --- a/sei-wasmd/x/wasm/keeper/proposal_integration_test.go +++ b/sei-wasmd/x/wasm/keeper/proposal_integration_test.go @@ -8,15 +8,15 @@ import ( "os" "testing" - "github.com/cosmos/cosmos-sdk/x/params/client/utils" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client/utils" wasmvm "github.com/sei-protocol/sei-chain/sei-wasmvm" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper/wasmtesting" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -557,7 +557,7 @@ func TestUpdateParamsProposal(t *testing.T) { t.Log(string(bz)) var jsonProposal utils.ParamChangeProposalJSON - require.NoError(t, legacyAmino.UnmarshalJSON(bz, &jsonProposal)) + require.NoError(t, legacyAmino.UnmarshalAsJSON(bz, &jsonProposal)) proposal := proposal.ParameterChangeProposal{ Title: jsonProposal.Title, Description: jsonProposal.Description, diff --git a/sei-wasmd/x/wasm/keeper/querier.go b/sei-wasmd/x/wasm/keeper/querier.go index 6fa122fdc2..1ded50d323 100644 --- a/sei-wasmd/x/wasm/keeper/querier.go +++ b/sei-wasmd/x/wasm/keeper/querier.go @@ -5,14 +5,14 @@ import ( "encoding/binary" "runtime/debug" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/querier_test.go b/sei-wasmd/x/wasm/keeper/querier_test.go index 0cbee9991a..96d5fc81b1 100644 --- a/sei-wasmd/x/wasm/keeper/querier_test.go +++ b/sei-wasmd/x/wasm/keeper/querier_test.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkErrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/query" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkErrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" wasmvm "github.com/sei-protocol/sei-chain/sei-wasmvm" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" diff --git a/sei-wasmd/x/wasm/keeper/query_plugins.go b/sei-wasmd/x/wasm/keeper/query_plugins.go index f38e95bf60..804889e6cc 100644 --- a/sei-wasmd/x/wasm/keeper/query_plugins.go +++ b/sei-wasmd/x/wasm/keeper/query_plugins.go @@ -6,16 +6,16 @@ import ( "math" "time" - "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + distributiontypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/query_plugins_test.go b/sei-wasmd/x/wasm/keeper/query_plugins_test.go index 61234b20d8..1f994e55ff 100644 --- a/sei-wasmd/x/wasm/keeper/query_plugins_test.go +++ b/sei-wasmd/x/wasm/keeper/query_plugins_test.go @@ -4,11 +4,11 @@ import ( "encoding/json" "testing" - "github.com/cosmos/cosmos-sdk/store" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" dbm "github.com/tendermint/tm-db" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/stretchr/testify/assert" diff --git a/sei-wasmd/x/wasm/keeper/recurse_test.go b/sei-wasmd/x/wasm/keeper/recurse_test.go index 52c6ecbb26..c87bc23031 100644 --- a/sei-wasmd/x/wasm/keeper/recurse_test.go +++ b/sei-wasmd/x/wasm/keeper/recurse_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" ) diff --git a/sei-wasmd/x/wasm/keeper/reflect_test.go b/sei-wasmd/x/wasm/keeper/reflect_test.go index 928bfac61e..923925e294 100644 --- a/sei-wasmd/x/wasm/keeper/reflect_test.go +++ b/sei-wasmd/x/wasm/keeper/reflect_test.go @@ -8,13 +8,13 @@ import ( "github.com/golang/protobuf/proto" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -581,7 +581,7 @@ func toReflectRawMsg(cdc codec.Codec, msg sdk.Msg) (wasmvmtypes.CosmosMsg, error if err != nil { return wasmvmtypes.CosmosMsg{}, err } - rawBz, err := cdc.MarshalJSON(any) + rawBz, err := cdc.MarshalAsJSON(any) if err != nil { return wasmvmtypes.CosmosMsg{}, sdkerrors.Wrap(sdkerrors.ErrJSONMarshal, err.Error()) } @@ -612,7 +612,7 @@ func fromReflectRawMsg(cdc codec.Codec) CustomEncoder { } if custom.Raw != nil { var any codectypes.Any - if err := cdc.UnmarshalJSON(custom.Raw, &any); err != nil { + if err := cdc.UnmarshalAsJSON(custom.Raw, &any); err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error()) } var msg sdk.Msg diff --git a/sei-wasmd/x/wasm/keeper/relay.go b/sei-wasmd/x/wasm/keeper/relay.go index f90c9414c2..639a75e8bf 100644 --- a/sei-wasmd/x/wasm/keeper/relay.go +++ b/sei-wasmd/x/wasm/keeper/relay.go @@ -3,9 +3,9 @@ package keeper import ( "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/sei-wasmd/x/wasm/keeper/relay_test.go b/sei-wasmd/x/wasm/keeper/relay_test.go index 6880a88f31..9ca8483de3 100644 --- a/sei-wasmd/x/wasm/keeper/relay_test.go +++ b/sei-wasmd/x/wasm/keeper/relay_test.go @@ -6,7 +6,7 @@ import ( "math" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmvm "github.com/sei-protocol/sei-chain/sei-wasmvm" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/stretchr/testify/assert" diff --git a/sei-wasmd/x/wasm/keeper/snapshotter.go b/sei-wasmd/x/wasm/keeper/snapshotter.go index cfc9447a5e..7d4a1bc5ea 100644 --- a/sei-wasmd/x/wasm/keeper/snapshotter.go +++ b/sei-wasmd/x/wasm/keeper/snapshotter.go @@ -7,10 +7,10 @@ import ( "io" "math" - snapshot "github.com/cosmos/cosmos-sdk/snapshots/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" protoio "github.com/gogo/protobuf/io" + snapshot "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" diff --git a/sei-wasmd/x/wasm/keeper/snapshotter_integration_test.go b/sei-wasmd/x/wasm/keeper/snapshotter_integration_test.go index f94ce8988d..476481e751 100644 --- a/sei-wasmd/x/wasm/keeper/snapshotter_integration_test.go +++ b/sei-wasmd/x/wasm/keeper/snapshotter_integration_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/assert" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/stretchr/testify/require" diff --git a/sei-wasmd/x/wasm/keeper/staking_test.go b/sei-wasmd/x/wasm/keeper/staking_test.go index c2afc6bdf7..96c2e1834b 100644 --- a/sei-wasmd/x/wasm/keeper/staking_test.go +++ b/sei-wasmd/x/wasm/keeper/staking_test.go @@ -7,17 +7,17 @@ import ( wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - distributionkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/cosmos-sdk/x/staking/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + distributionkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + distributiontypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/sei-wasmd/x/wasm/keeper/submsg_test.go b/sei-wasmd/x/wasm/keeper/submsg_test.go index e31848c656..6978fd6864 100644 --- a/sei-wasmd/x/wasm/keeper/submsg_test.go +++ b/sei-wasmd/x/wasm/keeper/submsg_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/assert" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/stretchr/testify/require" ) diff --git a/sei-wasmd/x/wasm/keeper/test_common.go b/sei-wasmd/x/wasm/keeper/test_common.go index 4ef7a79e38..f11f5dc228 100644 --- a/sei-wasmd/x/wasm/keeper/test_common.go +++ b/sei-wasmd/x/wasm/keeper/test_common.go @@ -9,49 +9,49 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/std" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/auth" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" - "github.com/cosmos/cosmos-sdk/x/bank" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/capability" - capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - "github.com/cosmos/cosmos-sdk/x/crisis" - crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" - "github.com/cosmos/cosmos-sdk/x/distribution" - distrclient "github.com/cosmos/cosmos-sdk/x/distribution/client" - distributionkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/evidence" - evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" - "github.com/cosmos/cosmos-sdk/x/gov" - govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/cosmos/cosmos-sdk/x/params" - paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - "github.com/cosmos/cosmos-sdk/x/slashing" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/cosmos/cosmos-sdk/x/upgrade" - upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/std" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + authzkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability" + capabilitykeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/keeper" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis" + crisistypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/crisis/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution" + distrclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/client" + distributionkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + distributiontypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence" + evidencetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov" + govkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/keeper" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params" + paramsclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/client" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + paramproposal "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types/proposal" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade" + upgradeclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/client" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ibctransfertypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ibchost "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper" diff --git a/sei-wasmd/x/wasm/keeper/test_fuzz.go b/sei-wasmd/x/wasm/keeper/test_fuzz.go index d348568070..b1ff53295f 100644 --- a/sei-wasmd/x/wasm/keeper/test_fuzz.go +++ b/sei-wasmd/x/wasm/keeper/test_fuzz.go @@ -3,8 +3,8 @@ package keeper import ( "encoding/json" - sdk "github.com/cosmos/cosmos-sdk/types" fuzz "github.com/google/gofuzz" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/wasmtesting/coin_transferrer.go b/sei-wasmd/x/wasm/keeper/wasmtesting/coin_transferrer.go index 497ecc747f..94c8ea928a 100644 --- a/sei-wasmd/x/wasm/keeper/wasmtesting/coin_transferrer.go +++ b/sei-wasmd/x/wasm/keeper/wasmtesting/coin_transferrer.go @@ -1,6 +1,6 @@ package wasmtesting -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" type MockCoinTransferrer struct { TransferCoinsFn func(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error diff --git a/sei-wasmd/x/wasm/keeper/wasmtesting/gas_register.go b/sei-wasmd/x/wasm/keeper/wasmtesting/gas_register.go index 384d1ab90b..aeb09821f9 100644 --- a/sei-wasmd/x/wasm/keeper/wasmtesting/gas_register.go +++ b/sei-wasmd/x/wasm/keeper/wasmtesting/gas_register.go @@ -1,7 +1,7 @@ package wasmtesting import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/wasmtesting/message_router.go b/sei-wasmd/x/wasm/keeper/wasmtesting/message_router.go index 712e012d4e..7ee4158a6c 100644 --- a/sei-wasmd/x/wasm/keeper/wasmtesting/message_router.go +++ b/sei-wasmd/x/wasm/keeper/wasmtesting/message_router.go @@ -1,8 +1,8 @@ package wasmtesting import ( - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // MockMessageRouter mock for testing diff --git a/sei-wasmd/x/wasm/keeper/wasmtesting/messenger.go b/sei-wasmd/x/wasm/keeper/wasmtesting/messenger.go index 5d9ea603ac..0b9c63235e 100644 --- a/sei-wasmd/x/wasm/keeper/wasmtesting/messenger.go +++ b/sei-wasmd/x/wasm/keeper/wasmtesting/messenger.go @@ -3,7 +3,7 @@ package wasmtesting import ( "errors" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/wasmtesting/mock_engine.go b/sei-wasmd/x/wasm/keeper/wasmtesting/mock_engine.go index c71312502f..1fee12911d 100644 --- a/sei-wasmd/x/wasm/keeper/wasmtesting/mock_engine.go +++ b/sei-wasmd/x/wasm/keeper/wasmtesting/mock_engine.go @@ -4,7 +4,7 @@ import ( "bytes" "crypto/sha256" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/rand" wasmvm "github.com/sei-protocol/sei-chain/sei-wasmvm" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" diff --git a/sei-wasmd/x/wasm/keeper/wasmtesting/mock_keepers.go b/sei-wasmd/x/wasm/keeper/wasmtesting/mock_keepers.go index 65ad186f59..f8195085aa 100644 --- a/sei-wasmd/x/wasm/keeper/wasmtesting/mock_keepers.go +++ b/sei-wasmd/x/wasm/keeper/wasmtesting/mock_keepers.go @@ -1,8 +1,8 @@ package wasmtesting import ( - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" ibcexported "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-wasmd/x/wasm/keeper/wasmtesting/msg_dispatcher.go b/sei-wasmd/x/wasm/keeper/wasmtesting/msg_dispatcher.go index ae1669e0be..73e80f1d7b 100644 --- a/sei-wasmd/x/wasm/keeper/wasmtesting/msg_dispatcher.go +++ b/sei-wasmd/x/wasm/keeper/wasmtesting/msg_dispatcher.go @@ -1,7 +1,7 @@ package wasmtesting import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/wasmtesting/query_handler.go b/sei-wasmd/x/wasm/keeper/wasmtesting/query_handler.go index 80c3d985f8..e319c828d5 100644 --- a/sei-wasmd/x/wasm/keeper/wasmtesting/query_handler.go +++ b/sei-wasmd/x/wasm/keeper/wasmtesting/query_handler.go @@ -1,7 +1,7 @@ package wasmtesting import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" ) diff --git a/sei-wasmd/x/wasm/keeper/wasmtesting/store.go b/sei-wasmd/x/wasm/keeper/wasmtesting/store.go index 2db4055073..b61b03ca7d 100644 --- a/sei-wasmd/x/wasm/keeper/wasmtesting/store.go +++ b/sei-wasmd/x/wasm/keeper/wasmtesting/store.go @@ -1,8 +1,8 @@ package wasmtesting import ( - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // MockCommitMultiStore mock with a CacheMultiStore to capture commits diff --git a/sei-wasmd/x/wasm/module.go b/sei-wasmd/x/wasm/module.go index a6fa679478..9f017f4158 100644 --- a/sei-wasmd/x/wasm/module.go +++ b/sei-wasmd/x/wasm/module.go @@ -5,17 +5,17 @@ import ( "encoding/json" "math/rand" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/server" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - simKeeper "github.com/cosmos/cosmos-sdk/x/simulation" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/server" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + simKeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cast" "github.com/spf13/cobra" @@ -69,7 +69,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the wasm module. func (b AppModuleBasic) ValidateGenesis(marshaler codec.JSONCodec, config client.TxEncodingConfig, message json.RawMessage) error { var data GenesisState - err := marshaler.UnmarshalJSON(message, &data) + err := marshaler.UnmarshalAsJSON(message, &data) if err != nil { return err } @@ -88,7 +88,7 @@ func (am AppModuleBasic) ValidateGenesisStream(cdc codec.JSONCodec, config clien defer close(genesisStateCh) for genesis := range genesisCh { var data GenesisState - err_ := cdc.UnmarshalJSON(genesis, &data) + err_ := cdc.UnmarshalAsJSON(genesis, &data) if err_ != nil { err = err_ doneCh <- struct{}{} diff --git a/sei-wasmd/x/wasm/module_test.go b/sei-wasmd/x/wasm/module_test.go index b5eabd105e..4794e933bc 100644 --- a/sei-wasmd/x/wasm/module_test.go +++ b/sei-wasmd/x/wasm/module_test.go @@ -6,12 +6,12 @@ import ( "os" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" "github.com/dvsekhvalnov/jose2go/base64url" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto" "github.com/sei-protocol/sei-chain/sei-tendermint/crypto/ed25519" diff --git a/sei-wasmd/x/wasm/relay_pingpong_test.go b/sei-wasmd/x/wasm/relay_pingpong_test.go index 0163d8e315..e0d756b75f 100644 --- a/sei-wasmd/x/wasm/relay_pingpong_test.go +++ b/sei-wasmd/x/wasm/relay_pingpong_test.go @@ -7,8 +7,8 @@ import ( ibctransfertypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" wasmvm "github.com/sei-protocol/sei-chain/sei-wasmvm" diff --git a/sei-wasmd/x/wasm/relay_test.go b/sei-wasmd/x/wasm/relay_test.go index 69d44fa63d..6c80cf0225 100644 --- a/sei-wasmd/x/wasm/relay_test.go +++ b/sei-wasmd/x/wasm/relay_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ibctransfertypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" clienttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/02-client/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" @@ -478,7 +478,7 @@ func (c *sendEmulatedIBCTransferContract) IBCPacketTimeout(codeID wasmvm.Checksu packet := msg.Packet var data ibctransfertypes.FungibleTokenPacketData - if err := ibctransfertypes.ModuleCdc.UnmarshalJSON(packet.Data, &data); err != nil { + if err := ibctransfertypes.ModuleCdc.UnmarshalAsJSON(packet.Data, &data); err != nil { return nil, 0, err } if err := data.ValidateBasic(); err != nil { @@ -526,7 +526,7 @@ func (c *ackReceiverContract) IBCPacketReceive(codeID wasmvm.Checksum, env wasmv packet := msg.Packet var src ibctransfertypes.FungibleTokenPacketData - if err := ibctransfertypes.ModuleCdc.UnmarshalJSON(packet.Data, &src); err != nil { + if err := ibctransfertypes.ModuleCdc.UnmarshalAsJSON(packet.Data, &src); err != nil { return nil, 0, err } require.NoError(c.t, src.ValidateBasic()) @@ -546,13 +546,13 @@ func (c *ackReceiverContract) IBCPacketReceive(codeID wasmvm.Checksum, env wasmv func (c *ackReceiverContract) IBCPacketAck(codeID wasmvm.Checksum, env wasmvmtypes.Env, msg wasmvmtypes.IBCPacketAckMsg, store wasmvm.KVStore, goapi wasmvm.GoAPI, querier wasmvm.Querier, gasMeter wasmvm.GasMeter, gasLimit uint64, deserCost wasmvmtypes.UFraction) (*wasmvmtypes.IBCBasicResponse, uint64, error) { var data ibctransfertypes.FungibleTokenPacketData - if err := ibctransfertypes.ModuleCdc.UnmarshalJSON(msg.OriginalPacket.Data, &data); err != nil { + if err := ibctransfertypes.ModuleCdc.UnmarshalAsJSON(msg.OriginalPacket.Data, &data); err != nil { return nil, 0, err } // call original ibctransfer keeper to not copy all code into this var ack channeltypes.Acknowledgement - if err := ibctransfertypes.ModuleCdc.UnmarshalJSON(msg.Acknowledgement.Data, &ack); err != nil { + if err := ibctransfertypes.ModuleCdc.UnmarshalAsJSON(msg.Acknowledgement.Data, &ack); err != nil { return nil, 0, err } @@ -577,7 +577,7 @@ func (c *nackReceiverContract) IBCPacketReceive(codeID wasmvm.Checksum, env wasm packet := msg.Packet var src ibctransfertypes.FungibleTokenPacketData - if err := ibctransfertypes.ModuleCdc.UnmarshalJSON(packet.Data, &src); err != nil { + if err := ibctransfertypes.ModuleCdc.UnmarshalAsJSON(packet.Data, &src); err != nil { return nil, 0, err } require.NoError(c.t, src.ValidateBasic()) @@ -594,7 +594,7 @@ func (c *errorReceiverContract) IBCPacketReceive(codeID wasmvm.Checksum, env was packet := msg.Packet var src ibctransfertypes.FungibleTokenPacketData - if err := ibctransfertypes.ModuleCdc.UnmarshalJSON(packet.Data, &src); err != nil { + if err := ibctransfertypes.ModuleCdc.UnmarshalAsJSON(packet.Data, &src); err != nil { return nil, 0, err } require.NoError(c.t, src.ValidateBasic()) diff --git a/sei-wasmd/x/wasm/simulation/genesis.go b/sei-wasmd/x/wasm/simulation/genesis.go index 13398fbb01..3e113722a5 100644 --- a/sei-wasmd/x/wasm/simulation/genesis.go +++ b/sei-wasmd/x/wasm/simulation/genesis.go @@ -1,7 +1,7 @@ package simulation import ( - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) @@ -20,7 +20,7 @@ func RandomizedGenState(simstate *module.SimulationState) { GenMsgs: nil, } - _, err := simstate.Cdc.MarshalJSON(&wasmGenesis) + _, err := simstate.Cdc.MarshalAsJSON(&wasmGenesis) if err != nil { panic(err) } diff --git a/sei-wasmd/x/wasm/simulation/operations.go b/sei-wasmd/x/wasm/simulation/operations.go index 336b442e5b..83b42e562f 100644 --- a/sei-wasmd/x/wasm/simulation/operations.go +++ b/sei-wasmd/x/wasm/simulation/operations.go @@ -5,12 +5,12 @@ import ( "os" "path/filepath" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" seiappparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" "github.com/sei-protocol/sei-chain/sei-wasmd/app/params" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/sei-wasmd/x/wasm/simulation/params.go b/sei-wasmd/x/wasm/simulation/params.go index 9dcc03da87..d2a491db79 100644 --- a/sei-wasmd/x/wasm/simulation/params.go +++ b/sei-wasmd/x/wasm/simulation/params.go @@ -4,9 +4,9 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/codec" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) @@ -16,7 +16,7 @@ func ParamChanges(r *rand.Rand, cdc codec.Codec) []simtypes.ParamChange { return []simtypes.ParamChange{ simulation.NewSimParamChange(types.ModuleName, string(types.ParamStoreKeyUploadAccess), func(r *rand.Rand) string { - jsonBz, err := cdc.MarshalJSON(¶ms.CodeUploadAccess) + jsonBz, err := cdc.MarshalAsJSON(¶ms.CodeUploadAccess) if err != nil { panic(err) } diff --git a/sei-wasmd/x/wasm/types/ante.go b/sei-wasmd/x/wasm/types/ante.go index 4c76efdf45..437e265e4f 100644 --- a/sei-wasmd/x/wasm/types/ante.go +++ b/sei-wasmd/x/wasm/types/ante.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type contextKey int diff --git a/sei-wasmd/x/wasm/types/codec.go b/sei-wasmd/x/wasm/types/codec.go index e7e578b7f8..902d617f74 100644 --- a/sei-wasmd/x/wasm/types/codec.go +++ b/sei-wasmd/x/wasm/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) // RegisterLegacyAminoCodec registers the account types and interface diff --git a/sei-wasmd/x/wasm/types/errors.go b/sei-wasmd/x/wasm/types/errors.go index f21c8e8687..bdfd30fc0d 100644 --- a/sei-wasmd/x/wasm/types/errors.go +++ b/sei-wasmd/x/wasm/types/errors.go @@ -1,7 +1,7 @@ package types import ( - sdkErrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkErrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Codes for wasm contract errors diff --git a/sei-wasmd/x/wasm/types/expected_keepers.go b/sei-wasmd/x/wasm/types/expected_keepers.go index fb943e90b3..ef1c03da42 100644 --- a/sei-wasmd/x/wasm/types/expected_keepers.go +++ b/sei-wasmd/x/wasm/types/expected_keepers.go @@ -3,12 +3,12 @@ package types import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" connectiontypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/03-connection/types" channeltypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/04-channel/types" ibcexported "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/exported" diff --git a/sei-wasmd/x/wasm/types/exported_keepers.go b/sei-wasmd/x/wasm/types/exported_keepers.go index 500148aea1..e14e5676fe 100644 --- a/sei-wasmd/x/wasm/types/exported_keepers.go +++ b/sei-wasmd/x/wasm/types/exported_keepers.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" ) diff --git a/sei-wasmd/x/wasm/types/genesis.go b/sei-wasmd/x/wasm/types/genesis.go index cf3957222d..bd34b3bc82 100644 --- a/sei-wasmd/x/wasm/types/genesis.go +++ b/sei-wasmd/x/wasm/types/genesis.go @@ -1,9 +1,9 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) func (s Sequence) ValidateBasic() error { diff --git a/sei-wasmd/x/wasm/types/genesis_test.go b/sei-wasmd/x/wasm/types/genesis_test.go index 05ec239b5c..acf0e95b84 100644 --- a/sei-wasmd/x/wasm/types/genesis_test.go +++ b/sei-wasmd/x/wasm/types/genesis_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/rand" "github.com/stretchr/testify/assert" diff --git a/sei-wasmd/x/wasm/types/iavl_range_test.go b/sei-wasmd/x/wasm/types/iavl_range_test.go index bdd2135e83..e01027d337 100644 --- a/sei-wasmd/x/wasm/types/iavl_range_test.go +++ b/sei-wasmd/x/wasm/types/iavl_range_test.go @@ -3,8 +3,8 @@ package types import ( "testing" - "github.com/cosmos/cosmos-sdk/store" - "github.com/cosmos/cosmos-sdk/store/iavl" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/iavl" iavl2 "github.com/sei-protocol/sei-chain/sei-iavl" "github.com/stretchr/testify/require" dbm "github.com/tendermint/tm-db" diff --git a/sei-wasmd/x/wasm/types/json_matching.go b/sei-wasmd/x/wasm/types/json_matching.go index cfa8522650..5cf58d6266 100644 --- a/sei-wasmd/x/wasm/types/json_matching.go +++ b/sei-wasmd/x/wasm/types/json_matching.go @@ -3,7 +3,7 @@ package types import ( "encoding/json" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // IsJSONObjectWithTopLevelKey checks if the given bytes are a valid JSON object diff --git a/sei-wasmd/x/wasm/types/json_matching_test.go b/sei-wasmd/x/wasm/types/json_matching_test.go index 17f7684872..1618d60152 100644 --- a/sei-wasmd/x/wasm/types/json_matching_test.go +++ b/sei-wasmd/x/wasm/types/json_matching_test.go @@ -3,7 +3,7 @@ package types import ( "testing" - // sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + // sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/stretchr/testify/require" ) diff --git a/sei-wasmd/x/wasm/types/keys.go b/sei-wasmd/x/wasm/types/keys.go index fb636ef4f3..d23ae06cc1 100644 --- a/sei-wasmd/x/wasm/types/keys.go +++ b/sei-wasmd/x/wasm/types/keys.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/sei-wasmd/x/wasm/types/params.go b/sei-wasmd/x/wasm/types/params.go index ea8046cf3d..b7dee9a510 100644 --- a/sei-wasmd/x/wasm/types/params.go +++ b/sei-wasmd/x/wasm/types/params.go @@ -4,11 +4,11 @@ import ( "encoding/json" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/gogo/protobuf/jsonpb" "github.com/pkg/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "gopkg.in/yaml.v2" ) diff --git a/sei-wasmd/x/wasm/types/params_test.go b/sei-wasmd/x/wasm/types/params_test.go index 35799cb48b..65b525a041 100644 --- a/sei-wasmd/x/wasm/types/params_test.go +++ b/sei-wasmd/x/wasm/types/params_test.go @@ -4,9 +4,9 @@ import ( "encoding/json" "testing" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) @@ -160,7 +160,7 @@ func TestParamsUnmarshalJson(t *testing.T) { interfaceRegistry := codectypes.NewInterfaceRegistry() marshaler := codec.NewProtoCodec(interfaceRegistry) - err := marshaler.UnmarshalJSON([]byte(spec.src), &val) + err := marshaler.UnmarshalAsJSON([]byte(spec.src), &val) require.NoError(t, err) assert.Equal(t, spec.exp, val) }) diff --git a/sei-wasmd/x/wasm/types/proposal.go b/sei-wasmd/x/wasm/types/proposal.go index 748a03895b..6702d1749a 100644 --- a/sei-wasmd/x/wasm/types/proposal.go +++ b/sei-wasmd/x/wasm/types/proposal.go @@ -5,9 +5,9 @@ import ( "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) type ProposalType string diff --git a/sei-wasmd/x/wasm/types/proposal.pb.go b/sei-wasmd/x/wasm/types/proposal.pb.go index 848f8a58a6..0a40f2b3d4 100644 --- a/sei-wasmd/x/wasm/types/proposal.pb.go +++ b/sei-wasmd/x/wasm/types/proposal.pb.go @@ -6,10 +6,10 @@ package types import ( bytes "bytes" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -90,7 +90,7 @@ type InstantiateContractProposal struct { // Msg json encoded message to be passed to the contract on instantiation Msg RawContractMessage `protobuf:"bytes,7,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred to the contract on instantiation - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,8,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,8,rep,name=funds,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"funds"` } func (m *InstantiateContractProposal) Reset() { *m = InstantiateContractProposal{} } @@ -229,7 +229,7 @@ type ExecuteContractProposal struct { // Msg json encoded message to be passed to the contract as execute Msg RawContractMessage `protobuf:"bytes,5,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred to the contract on instantiation - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,6,rep,name=funds,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"funds"` } func (m *ExecuteContractProposal) Reset() { *m = ExecuteContractProposal{} } @@ -539,59 +539,59 @@ func init() { func init() { proto.RegisterFile("cosmwasm/wasm/v1/proposal.proto", fileDescriptor_be6422d717c730cb) } var fileDescriptor_be6422d717c730cb = []byte{ - // 826 bytes of a gzipped FileDescriptorProto + // 820 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x41, 0x6f,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7, 0xa5, 0x19, 0x4b, 0x19, 0x47, 0x43, 0x37, 0xcd, 0x98, 0x60, + 0x66, 0x73, 0x11, 0xe0, 0xaa, 0xcf, 0x79, 0x6f, 0xd7, 0x92, 0x3b, 0x8c, 0x7b, 0x03, 0xc4, 0xb1, + 0x77, 0xde, 0x1b, 0x60, 0x81, 0x7a, 0x5e, 0xc4, 0x08, 0xd5, 0x19, 0xbb, 0x6f, 0xbf, 0x70, 0xa4, + 0x98, 0xa4, 0x98, 0x17, 0xde, 0x56, 0xc2, 0x12, 0xa6, 0x96, 0x9e, 0x5c, 0xe9, 0x5d, 0xe7, 0x4f, + 0x00, 0xdf, 0x38, 0x16, 0x2c, 0xc3, 0x7d, 0x16, 0xe3, 0xa3, 0x02, 0x81, 0xd9, 0x82, 0x55, 0x41, + 0xc4, 0x10, 0xb7, 0x41, 0x07, 0x74, 0x37, 0x03, 0x6d, 0x98, 0x1d, 0xb8, 0x15, 0x63, 0x1e, 0x65, + 0x24, 0x15, 0x84, 0xd1, 0xf6, 0x86, 0xf2, 0xad, 0x6e, 0x99, 0xdb, 0xd0, 0xc8, 0xc6, 0x34, 0x44, + 0xbc, 0x5d, 0xd6, 0x89, 0xd9, 0x98, 0xee, 0x73, 0xf3, 0x43, 0xf8, 0x9a, 0x44, 0x14, 0x0e, 0x26, + 0x02, 0x87, 0x11, 0x8b, 0x71, 0xbb, 0xd2, 0x01, 0xdd, 0x86, 0xdf, 0x9c, 0xe6, 0x76, 0xe3, 0xf3, + 0xfd, 0xe3, 0x43, 0x7f, 0x22, 0x14, 0x80, 0xa0, 0x21, 0xe3, 0x16, 0x96, 0x79, 0x02, 0x77, 0x08, + 0xe5, 0x02, 0x51, 0x41, 0x90, 0xc0, 0x61, 0x8a, 0xb3, 0x11, 0xe1, 0x5c, 0xd6, 0xae, 0x75, 0x40, + 0x77, 0x6b, 0xcf, 0x72, 0x9f, 0xe7, 0xc8, 0xdd, 0x8f, 0x22, 0xcc, 0x79, 0x9f, 0xd1,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x16, 0x41, 0x4e, 0x50, 0xd3, + 0xed, 0xc9, 0x9d, 0x9f, 0x01, 0x34, 0x4f, 0x68, 0xfa, 0xbf, 0xc2, 0xfc, 0x2d, 0x80, 0xe6, 0xea, + 0xe4, 0xd1, 0xd2, 0x5b, 0x7d, 0x8f, 0xc0, 0xb5, 0xef, 0xd1, 0x97, 0xd7, 0x0e, 0xb9, 0x8d, 0x9b, + 0x0c, 0x39, 0xbf, 0x22, 0x7b, 0xe6, 0x9a, 0x51, 0xe7, 0xcc, 0x00, 0xb4, 0x35, 0x98, 0xab, 0x43, + 0xee, 0x94, 0x24, 0x77, 0xc8, 0xec, 0x23, 0xb8, 0x8d, 0x14, 0xe4, 0x30, 0x52, 0xa5, 0xc3, 0xb1, + 0x82, 0xa4, 0x69, 0xde, 0xda, 0x7b, 0x77, 0xfd, 0x0d, 0x35, 0xfe, 0xe2, 0x9e, 0xf7, 0xd0, 0x0b, + 0x1e, 0xee, 0x3f, 0xba, 0x7c, 0x66, 0x95, 0x9e, 0x3e, 0xb3, 0x4a, 0x3f, 0x4c, 0x2d, 0x70, 0x39, + 0xb5, 0xc0, 0x93, 0xa9, 0x05, 0x7e, 0x9f, 0x5a, 0xe0, 0xeb, 0x99, 0x55, 0x7a, 0x32, 0xb3, 0x4a, + 0x4f, 0x67, 0x56, 0xe9, 0x8b, 0x1b, 0x3e, 0x2a, 0x12, 0x42, 0xec, 0x3d, 0xd6, 0xff, 0x50, 0xea, + 0x69, 0x19, 0x18, 0x2a, 0xf4, 0x83, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x87, 0xf5, 0x66, 0x18, + 0xb4, 0x09, 0x00, 0x00, } func (this *StoreCodeProposal) Equal(that interface{}) bool { diff --git a/sei-wasmd/x/wasm/types/proposal_test.go b/sei-wasmd/x/wasm/types/proposal_test.go index 846b93c241..c3d76b79b5 100644 --- a/sei-wasmd/x/wasm/types/proposal_test.go +++ b/sei-wasmd/x/wasm/types/proposal_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" diff --git a/sei-wasmd/x/wasm/types/query.pb.go b/sei-wasmd/x/wasm/types/query.pb.go index e7ac8eca2a..ac72054df8 100644 --- a/sei-wasmd/x/wasm/types/query.pb.go +++ b/sei-wasmd/x/wasm/types/query.pb.go @@ -7,10 +7,10 @@ import ( bytes "bytes" context "context" fmt "fmt" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + query "github.com/sei-protocol/sei-chain/sei-cosmos/types/query" github_com_sei_protocol_sei_chain_sei_tendermint_libs_bytes "github.com/sei-protocol/sei-chain/sei-tendermint/libs/bytes" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" diff --git a/sei-wasmd/x/wasm/types/test_fixtures.go b/sei-wasmd/x/wasm/types/test_fixtures.go index f46bc35667..e3cbafcb4d 100644 --- a/sei-wasmd/x/wasm/types/test_fixtures.go +++ b/sei-wasmd/x/wasm/types/test_fixtures.go @@ -6,7 +6,7 @@ import ( "crypto/sha256" "encoding/json" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func GenesisFixture(mutators ...func(*GenesisState)) GenesisState { diff --git a/sei-wasmd/x/wasm/types/tx.go b/sei-wasmd/x/wasm/types/tx.go index 498dc28266..f505ea457f 100644 --- a/sei-wasmd/x/wasm/types/tx.go +++ b/sei-wasmd/x/wasm/types/tx.go @@ -5,8 +5,8 @@ import ( "errors" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // RawContractMessage defines a json message that is sent or returned by a wasm contract. diff --git a/sei-wasmd/x/wasm/types/tx.pb.go b/sei-wasmd/x/wasm/types/tx.pb.go index 038caddcdb..332128a22f 100644 --- a/sei-wasmd/x/wasm/types/tx.pb.go +++ b/sei-wasmd/x/wasm/types/tx.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -127,7 +127,7 @@ type MsgInstantiateContract struct { // Msg json encoded message to be passed to the contract on instantiation Msg RawContractMessage `protobuf:"bytes,5,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred to the contract on instantiation - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,6,rep,name=funds,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"funds"` } func (m *MsgInstantiateContract) Reset() { *m = MsgInstantiateContract{} } @@ -213,7 +213,7 @@ type MsgExecuteContract struct { // Msg json encoded message to be passed to the contract Msg RawContractMessage `protobuf:"bytes,3,opt,name=msg,proto3,casttype=RawContractMessage" json:"msg,omitempty"` // Funds coins that are transferred to the contract on execution - Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` + Funds github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,5,rep,name=funds,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"funds"` } func (m *MsgExecuteContract) Reset() { *m = MsgExecuteContract{} } @@ -549,55 +549,55 @@ func init() { func init() { proto.RegisterFile("cosmwasm/wasm/v1/tx.proto", fileDescriptor_4f74d82755520264) } var fileDescriptor_4f74d82755520264 = []byte{ - // 768 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6e, 0xd3, 0x4a, - 0x14, 0x8e, 0x1b, 0x27, 0x4d, 0x4e, 0x73, 0x7b, 0x23, 0xdf, 0x36, 0x37, 0x35, 0xc8, 0x89, 0x02, - 0x02, 0x2f, 0xa8, 0xdd, 0x14, 0x09, 0x21, 0xb1, 0x6a, 0x02, 0x8b, 0x56, 0x32, 0x42, 0xae, 0x5a, - 0x04, 0x9b, 0x68, 0x62, 0x4f, 0x5d, 0x8b, 0xc4, 0x13, 0x3c, 0x6e, 0xd3, 0xbe, 0x04, 0x62, 0xc7, - 0x3b, 0xf0, 0x16, 0xec, 0xba, 0x42, 0xdd, 0x20, 0xb1, 0x0a, 0x90, 0xbe, 0x05, 0x2b, 0xe4, 0xf1, - 0x4f, 0xdd, 0xd4, 0x49, 0x83, 0x10, 0x1b, 0x7b, 0x8e, 0xe7, 0x3b, 0xe7, 0x9b, 0xf3, 0xe9, 0x9b, - 0x63, 0x58, 0x33, 0x08, 0xed, 0x0f, 0x11, 0xed, 0xab, 0xec, 0x71, 0xdc, 0x54, 0xbd, 0x13, 0x65, - 0xe0, 0x12, 0x8f, 0x08, 0xe5, 0x68, 0x4b, 0x61, 0x8f, 0xe3, 0xa6, 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, 0x5d, 0x57, 0x4f, 0x4d, - 0x4e, 0x20, 0x44, 0xf9, 0x26, 0x44, 0x5c, 0x7a, 0x1f, 0x20, 0xe1, 0xa9, 0x5a, 0x6a, 0xde, 0x25, - 0x40, 0xbc, 0x7f, 0x03, 0x20, 0xaa, 0xdb, 0xda, 0x3f, 0xfb, 0x21, 0x65, 0xce, 0xc6, 0x12, 0x77, - 0x3e, 0x96, 0xb8, 0xef, 0x63, 0x89, 0x7b, 0x7f, 0x21, 0x65, 0xce, 0x2f, 0xa4, 0xcc, 0xd7, 0x0b, - 0x29, 0xf3, 0xfa, 0x71, 0x62, 0xf0, 0x50, 0x6c, 0xaf, 0xb3, 0xff, 0xb2, 0x41, 0x7a, 0x2c, 0x30, - 0x0e, 0x91, 0xed, 0xb0, 0x95, 0x4f, 0x61, 0xaa, 0x27, 0xc1, 0xaf, 0x9d, 0x8d, 0xa3, 0x6e, 0x9e, - 0x41, 0x1f, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xe9, 0x44, 0xa8, 0x45, 0x08, 0x00, 0x00, + // 764 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xc1, 0x6e, 0xd3, 0x4a, + 0x14, 0x8d, 0x1b, 0x27, 0x4d, 0x6e, 0xf3, 0xfa, 0x22, 0xbf, 0x36, 0x2f, 0x35, 0xc8, 0x89, 0x02, + 0x82, 0x2c, 0xc0, 0x6e, 0x8a, 0x84, 0x90, 0xd8, 0xd0, 0x04, 0x16, 0xad, 0x64, 0x84, 0x5c, 0xb5, + 0x08, 0x36, 0xd1, 0xc4, 0x9e, 0xba, 0x96, 0x12, 0x4f, 0xea, 0x99, 0x36, 0xed, 0x5f, 0xb0, 0x63, + 0xc7, 0x07, 0xf0, 0x17, 0xec, 0xba, 0x42, 0x5d, 0xb2, 0x0a, 0x90, 0x8a, 0x9f, 0x60, 0x85, 0x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0xdf, 0x9b, 0x7d, 0x3e, 0xd6, 0xf2, 0x10, 0xfe, 0x4b, 0x1a, 0x45, 0xf5, 0xc4, + 0xf4, 0x04, 0xa4, 0xbc, 0x3e, 0x2f, 0x72, 0x4c, 0x89, 0xe1, 0xdf, 0xc9, 0xc7, 0x78, 0x37, 0xb1, + 0xc8, 0x04, 0x4a, 0x7e, 0x30, 0x0f, 0x2a, 0x4e, 0x33, 0xe9, 0xec, 0x64, 0x9a, 0x09, 0xd4, 0x14, + 0x9a, 0x69, 0x66, 0x7c, 0x03, 0x4b, 0x71, 0xd7, 0x55, 0x13, 0x93, 0x63, 0x08, 0xb9, 0x7e, 0x13, + 0x62, 0x5c, 0x7a, 0x0f, 0x20, 0xe6, 0xa9, 0x4a, 0x62, 0xde, 0x25, 0x40, 0xbe, 0x7f, 0x03, 0x20, + 0xaa, 0xdb, 0xdc, 0x3b, 0xfb, 0xae, 0xa4, 0xce, 0x46, 0x8a, 0x70, 0x3e, 0x52, 0x84, 0x6f, 0x23, + 0x45, 0x78, 0x77, 0xa1, 0xa4, 0xce, 0x2f, 0x94, 0xd4, 0x97, 0x0b, 0x25, 0xf5, 0x76, 0xce, 0x41, + 0xe4, 0x53, 0x58, 0xda, 0x49, 0xf0, 0xd7, 0xcf, 0xc7, 0x51, 0x27, 0xcb, 0xa1, 0x8f, 0x7e, 0x05, + 0x00, 0x00, 0xff, 0xff, 0x39, 0xec, 0x5e, 0xdf, 0x65, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/sei-wasmd/x/wasm/types/tx_test.go b/sei-wasmd/x/wasm/types/tx_test.go index b0ea43e969..68b66d9968 100644 --- a/sei-wasmd/x/wasm/types/tx_test.go +++ b/sei-wasmd/x/wasm/types/tx_test.go @@ -5,9 +5,9 @@ import ( "strings" "testing" - "github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/legacy/legacytx" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/sei-wasmd/x/wasm/types/types.go b/sei-wasmd/x/wasm/types/types.go index 218d2c5c1f..b9bd667f4a 100644 --- a/sei-wasmd/x/wasm/types/types.go +++ b/sei-wasmd/x/wasm/types/types.go @@ -4,10 +4,10 @@ import ( "fmt" "reflect" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/gogo/protobuf/proto" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" ) diff --git a/sei-wasmd/x/wasm/types/types.pb.go b/sei-wasmd/x/wasm/types/types.pb.go index e20087a14b..bbfa7d6092 100644 --- a/sei-wasmd/x/wasm/types/types.pb.go +++ b/sei-wasmd/x/wasm/types/types.pb.go @@ -6,10 +6,10 @@ package types import ( bytes "bytes" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/regen-network/cosmos-proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" io "io" math "math" math_bits "math/bits" diff --git a/sei-wasmd/x/wasm/types/types_test.go b/sei-wasmd/x/wasm/types/types_test.go index eb6d2d22d1..ddbf5ef80d 100644 --- a/sei-wasmd/x/wasm/types/types_test.go +++ b/sei-wasmd/x/wasm/types/types_test.go @@ -7,11 +7,11 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/rand" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/stretchr/testify/assert" diff --git a/sei-wasmd/x/wasm/types/validation.go b/sei-wasmd/x/wasm/types/validation.go index 4984fa28dd..dd3cc2b099 100644 --- a/sei-wasmd/x/wasm/types/validation.go +++ b/sei-wasmd/x/wasm/types/validation.go @@ -1,7 +1,7 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) var ( diff --git a/sei-wasmd/x/wasm/types/wasmer_engine.go b/sei-wasmd/x/wasm/types/wasmer_engine.go index aafe2a5d84..fe04e099d7 100644 --- a/sei-wasmd/x/wasm/types/wasmer_engine.go +++ b/sei-wasmd/x/wasm/types/wasmer_engine.go @@ -1,7 +1,7 @@ package types import ( - storetypes "github.com/cosmos/cosmos-sdk/store/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" wasmvm "github.com/sei-protocol/sei-chain/sei-wasmvm" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" ) diff --git a/store/testutils.go b/store/testutils.go index 1440a6a3a8..bf12ebd10f 100644 --- a/store/testutils.go +++ b/store/testutils.go @@ -1,11 +1,11 @@ package store import ( - "github.com/cosmos/cosmos-sdk/store/cachekv" - "github.com/cosmos/cosmos-sdk/store/cachemulti" - "github.com/cosmos/cosmos-sdk/store/dbadapter" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachekv" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/cachemulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/dbadapter" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" dbm "github.com/tendermint/tm-db" ) diff --git a/store/whitelist/cachemulti/store.go b/store/whitelist/cachemulti/store.go index c1404a4fab..e9feea49a1 100644 --- a/store/whitelist/cachemulti/store.go +++ b/store/whitelist/cachemulti/store.go @@ -1,7 +1,7 @@ package cachemulti import ( - storetypes "github.com/cosmos/cosmos-sdk/store/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" "github.com/sei-protocol/sei-chain/store/whitelist/kv" ) diff --git a/store/whitelist/cachemulti/store_test.go b/store/whitelist/cachemulti/store_test.go index 4f5de2037b..1fcbc6d41d 100644 --- a/store/whitelist/cachemulti/store_test.go +++ b/store/whitelist/cachemulti/store_test.go @@ -3,8 +3,8 @@ package cachemulti_test import ( "testing" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/store" "github.com/sei-protocol/sei-chain/store/whitelist/cachemulti" "github.com/stretchr/testify/require" diff --git a/store/whitelist/kv/store.go b/store/whitelist/kv/store.go index 452330ec8f..d156307488 100644 --- a/store/whitelist/kv/store.go +++ b/store/whitelist/kv/store.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - storetypes "github.com/cosmos/cosmos-sdk/store/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" ) type Store struct { diff --git a/store/whitelist/multi/store.go b/store/whitelist/multi/store.go index 82e187eaf7..bc33e068f5 100644 --- a/store/whitelist/multi/store.go +++ b/store/whitelist/multi/store.go @@ -1,7 +1,7 @@ package multi import ( - storetypes "github.com/cosmos/cosmos-sdk/store/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" "github.com/sei-protocol/sei-chain/store/whitelist/cachemulti" "github.com/sei-protocol/sei-chain/store/whitelist/kv" ) diff --git a/store/whitelist/multi/store_test.go b/store/whitelist/multi/store_test.go index c12645066d..0735228ceb 100644 --- a/store/whitelist/multi/store_test.go +++ b/store/whitelist/multi/store_test.go @@ -3,8 +3,8 @@ package multi_test import ( "testing" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/store" "github.com/sei-protocol/sei-chain/store/whitelist/multi" "github.com/stretchr/testify/require" diff --git a/sync/gas.go b/sync/gas.go index e13a1307d1..7c2e3fdb2c 100644 --- a/sync/gas.go +++ b/sync/gas.go @@ -3,7 +3,7 @@ package sync import ( "sync" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type GasWrapper struct { diff --git a/tests/distribution_test.go b/tests/distribution_test.go index 0d0fc48fc4..68cddd5998 100644 --- a/tests/distribution_test.go +++ b/tests/distribution_test.go @@ -3,7 +3,7 @@ package tests import ( "testing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/testutil/processblock" "github.com/sei-protocol/sei-chain/testutil/processblock/msgs" "github.com/sei-protocol/sei-chain/testutil/processblock/verify" diff --git a/tests/epoch_test.go b/tests/epoch_test.go index 65320b208e..40b68343b8 100644 --- a/tests/epoch_test.go +++ b/tests/epoch_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/testutil/processblock" "github.com/sei-protocol/sei-chain/testutil/processblock/verify" ) diff --git a/tests/mint_test.go b/tests/mint_test.go index f539a8e3d4..350f658b68 100644 --- a/tests/mint_test.go +++ b/tests/mint_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/testutil/processblock" "github.com/sei-protocol/sei-chain/testutil/processblock/verify" ) diff --git a/tests/template_test.go b/tests/template_test.go index 88b7e78d08..3adda5b661 100644 --- a/tests/template_test.go +++ b/tests/template_test.go @@ -3,7 +3,7 @@ package tests import ( "testing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/testutil/processblock" "github.com/sei-protocol/sei-chain/testutil/processblock/msgs" "github.com/sei-protocol/sei-chain/testutil/processblock/verify" diff --git a/testutil/fuzzing/cosmos.go b/testutil/fuzzing/cosmos.go index 95c846422e..67101948f0 100644 --- a/testutil/fuzzing/cosmos.go +++ b/testutil/fuzzing/cosmos.go @@ -1,7 +1,7 @@ package fuzzing import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func FuzzDec(i int64, isNil bool) sdk.Dec { diff --git a/testutil/keeper/epoch.go b/testutil/keeper/epoch.go index 0adf9b751c..e3ae8c3f18 100644 --- a/testutil/keeper/epoch.go +++ b/testutil/keeper/epoch.go @@ -3,13 +3,13 @@ package keeper import ( "testing" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/store" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - typesparams "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + typesparams "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/sei-protocol/sei-chain/x/epoch/keeper" diff --git a/testutil/keeper/evm.go b/testutil/keeper/evm.go index 117d1e8e6d..bf314bc524 100644 --- a/testutil/keeper/evm.go +++ b/testutil/keeper/evm.go @@ -6,12 +6,12 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/crypto/hd" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/go-bip39" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/app" evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper" diff --git a/testutil/network/network.go b/testutil/network/network.go index e008a731b0..d382318f98 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -5,14 +5,14 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/cosmos/cosmos-sdk/testutil/network" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" tmrand "github.com/sei-protocol/sei-chain/sei-tendermint/libs/rand" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm" tmdb "github.com/tendermint/tm-db" diff --git a/testutil/nullify/nullify.go b/testutil/nullify/nullify.go index f5b2a57de1..27ac32513d 100644 --- a/testutil/nullify/nullify.go +++ b/testutil/nullify/nullify.go @@ -5,7 +5,7 @@ import ( "reflect" "unsafe" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/testutil/processblock/common.go b/testutil/processblock/common.go index 5d060af947..88bc3968e7 100644 --- a/testutil/processblock/common.go +++ b/testutil/processblock/common.go @@ -7,16 +7,16 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/cosmos/go-bip39" "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" "github.com/sei-protocol/sei-chain/utils" diff --git a/testutil/processblock/genesisacc.go b/testutil/processblock/genesisacc.go index a51ae2bded..9b392f99eb 100644 --- a/testutil/processblock/genesisacc.go +++ b/testutil/processblock/genesisacc.go @@ -1,7 +1,7 @@ package processblock import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (a *App) NewAccount() sdk.AccAddress { diff --git a/testutil/processblock/genesisbank.go b/testutil/processblock/genesisbank.go index 837eda3723..dbfdfee183 100644 --- a/testutil/processblock/genesisbank.go +++ b/testutil/processblock/genesisbank.go @@ -1,8 +1,8 @@ package processblock import ( - sdk "github.com/cosmos/cosmos-sdk/types" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/testutil/processblock/genesisstaking.go b/testutil/processblock/genesisstaking.go index 404e968ed0..be266df96d 100644 --- a/testutil/processblock/genesisstaking.go +++ b/testutil/processblock/genesisstaking.go @@ -4,9 +4,9 @@ import ( "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func (a *App) NewValidator() sdk.ValAddress { diff --git a/testutil/processblock/genesiswasm.go b/testutil/processblock/genesiswasm.go index b040dbe4f5..9da06e56c5 100644 --- a/testutil/processblock/genesiswasm.go +++ b/testutil/processblock/genesiswasm.go @@ -4,7 +4,7 @@ import ( "os" "path/filepath" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" ) diff --git a/testutil/processblock/msgs/bank.go b/testutil/processblock/msgs/bank.go index f7ac8c2b84..3c6bfedb51 100644 --- a/testutil/processblock/msgs/bank.go +++ b/testutil/processblock/msgs/bank.go @@ -1,8 +1,8 @@ package msgs import ( - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) func Send(from sdk.AccAddress, to sdk.AccAddress, amount int64) *banktypes.MsgSend { diff --git a/testutil/processblock/presets.go b/testutil/processblock/presets.go index d3d2101fc6..3475b619d6 100644 --- a/testutil/processblock/presets.go +++ b/testutil/processblock/presets.go @@ -3,11 +3,11 @@ package processblock import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/testutil/processblock/tx.go b/testutil/processblock/tx.go index 095a990f21..1cdcfa5f80 100644 --- a/testutil/processblock/tx.go +++ b/testutil/processblock/tx.go @@ -1,14 +1,14 @@ package processblock import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/hd" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/cosmos/cosmos-sdk/x/auth/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + xauthsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" ) var InterfaceReg = types.NewInterfaceRegistry() diff --git a/testutil/processblock/verify/bank.go b/testutil/processblock/verify/bank.go index 2bd76fe9fd..5a00097978 100644 --- a/testutil/processblock/verify/bank.go +++ b/testutil/processblock/verify/bank.go @@ -3,9 +3,9 @@ package verify import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/testutil/processblock" "github.com/stretchr/testify/require" ) diff --git a/testutil/processblock/verify/common.go b/testutil/processblock/verify/common.go index 6d7a45f7d0..a7e19aeab1 100644 --- a/testutil/processblock/verify/common.go +++ b/testutil/processblock/verify/common.go @@ -3,7 +3,7 @@ package verify import ( "testing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/testutil/processblock" ) diff --git a/testutil/processblock/verify/distribution.go b/testutil/processblock/verify/distribution.go index 9d4506168d..6e55770acb 100644 --- a/testutil/processblock/verify/distribution.go +++ b/testutil/processblock/verify/distribution.go @@ -4,11 +4,11 @@ import ( "fmt" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/distribution/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/testutil/processblock" "github.com/sei-protocol/sei-chain/utils" "github.com/stretchr/testify/require" diff --git a/testutil/processblock/verify/epoch.go b/testutil/processblock/verify/epoch.go index 7c35411d4b..4f68288c3e 100644 --- a/testutil/processblock/verify/epoch.go +++ b/testutil/processblock/verify/epoch.go @@ -3,7 +3,7 @@ package verify import ( "testing" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/testutil/processblock" "github.com/stretchr/testify/require" ) diff --git a/testutil/processblock/verify/mint.go b/testutil/processblock/verify/mint.go index cfae16bee7..7a300c51a0 100644 --- a/testutil/processblock/verify/mint.go +++ b/testutil/processblock/verify/mint.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/x/auth/signing" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/testutil/processblock" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" "github.com/stretchr/testify/require" diff --git a/testutil/sample/sample.go b/testutil/sample/sample.go index 98f2153ed4..c2795585dd 100644 --- a/testutil/sample/sample.go +++ b/testutil/sample/sample.go @@ -1,8 +1,8 @@ package sample import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // AccAddress returns a sample account address diff --git a/tools/hash_verification/iavl/scanner.go b/tools/hash_verification/iavl/scanner.go index 836f044a31..58cea12d38 100644 --- a/tools/hash_verification/iavl/scanner.go +++ b/tools/hash_verification/iavl/scanner.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/store/rootmulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" "github.com/sei-protocol/sei-chain/sei-db/state_db/ss/types" iavl "github.com/sei-protocol/sei-chain/sei-iavl" "github.com/sei-protocol/sei-chain/tools/hash_verification/hasher" diff --git a/tools/migration/cmd/cmd.go b/tools/migration/cmd/cmd.go index a61ec24902..ff047789b9 100644 --- a/tools/migration/cmd/cmd.go +++ b/tools/migration/cmd/cmd.go @@ -6,7 +6,7 @@ import ( "path/filepath" "time" - "github.com/cosmos/cosmos-sdk/store/rootmulti" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" "github.com/sei-protocol/sei-chain/sei-db/config" sstypes "github.com/sei-protocol/sei-chain/sei-db/state_db/ss" iavl "github.com/sei-protocol/sei-chain/sei-iavl" diff --git a/tools/migration/sc/migrator.go b/tools/migration/sc/migrator.go index 0e770066e0..6704e47a63 100644 --- a/tools/migration/sc/migrator.go +++ b/tools/migration/sc/migrator.go @@ -6,19 +6,19 @@ import ( "os" "path/filepath" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/snapshots/types" - "github.com/cosmos/cosmos-sdk/store" - "github.com/cosmos/cosmos-sdk/store/rootmulti" - rootmulti2 "github.com/cosmos/cosmos-sdk/storev2/rootmulti" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots" + "github.com/sei-protocol/sei-chain/sei-cosmos/snapshots/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/rootmulti" + rootmulti2 "github.com/sei-protocol/sei-chain/sei-cosmos/storev2/rootmulti" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" "github.com/sei-protocol/sei-chain/sei-db/config" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm" diff --git a/tools/tx-scanner/client/grpc.go b/tools/tx-scanner/client/grpc.go index bbd8332cfd..a66e80fc9d 100644 --- a/tools/tx-scanner/client/grpc.go +++ b/tools/tx-scanner/client/grpc.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/tmservice" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" "google.golang.org/grpc" "google.golang.org/grpc/connectivity" "google.golang.org/grpc/credentials/insecure" diff --git a/tools/tx-scanner/query/block.go b/tools/tx-scanner/query/block.go index 3f3716f2bc..95ad3b0bbc 100644 --- a/tools/tx-scanner/query/block.go +++ b/tools/tx-scanner/query/block.go @@ -3,7 +3,7 @@ package query import ( "context" - "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/grpc/tmservice" "github.com/sei-protocol/sei-chain/tools/tx-scanner/client" ) diff --git a/tools/tx-scanner/query/tx.go b/tools/tx-scanner/query/tx.go index 7b1614b58e..b06b68540f 100644 --- a/tools/tx-scanner/query/tx.go +++ b/tools/tx-scanner/query/tx.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" "github.com/sei-protocol/sei-chain/tools/tx-scanner/client" ) diff --git a/tools/utils/helper.go b/tools/utils/helper.go index ef8bb8a18a..a2af58ecee 100644 --- a/tools/utils/helper.go +++ b/tools/utils/helper.go @@ -3,19 +3,19 @@ package utils import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" - "github.com/cosmos/cosmos-sdk/x/feegrant" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + authzkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/authz/keeper" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + capabilitytypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/capability/types" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + evidencetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/evidence/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/feegrant" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + slashingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/slashing/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" + upgradetypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/types" ibctransfertypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/types" ibchost "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm" diff --git a/utils/constants.go b/utils/constants.go index f25c156e1e..fbb07f6c1e 100644 --- a/utils/constants.go +++ b/utils/constants.go @@ -4,7 +4,7 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var Big0 = big.NewInt(0) diff --git a/utils/constants_test.go b/utils/constants_test.go index 6f09cee5dd..422b838f9e 100644 --- a/utils/constants_test.go +++ b/utils/constants_test.go @@ -5,7 +5,7 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/utils/helpers/address.go b/utils/helpers/address.go index d767240368..5ee042ca6d 100644 --- a/utils/helpers/address.go +++ b/utils/helpers/address.go @@ -5,12 +5,12 @@ import ( "math/big" "github.com/btcsuite/btcd/btcec/v2" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/utils/helpers/address_test.go b/utils/helpers/address_test.go index 1aa76bb21a..88daf4c49b 100644 --- a/utils/helpers/address_test.go +++ b/utils/helpers/address_test.go @@ -5,11 +5,11 @@ import ( "testing" "github.com/btcsuite/btcd/btcec/v2" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/utils/helpers/associate.go b/utils/helpers/associate.go index 30527338eb..07095b56de 100644 --- a/utils/helpers/associate.go +++ b/utils/helpers/associate.go @@ -1,11 +1,11 @@ package helpers import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/ethereum/go-ethereum/common" "github.com/sei-protocol/sei-chain/precompiles/utils" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) type AssociationHelper struct { diff --git a/utils/helpers/associate_test.go b/utils/helpers/associate_test.go index 484853b3e2..f290cdf7ee 100644 --- a/utils/helpers/associate_test.go +++ b/utils/helpers/associate_test.go @@ -3,9 +3,9 @@ package helpers import ( "testing" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/utils/helpers/legacy/v575/address.go b/utils/helpers/legacy/v575/address.go index 69a6cd4782..46288e1269 100644 --- a/utils/helpers/legacy/v575/address.go +++ b/utils/helpers/legacy/v575/address.go @@ -5,12 +5,12 @@ import ( "math/big" "github.com/btcsuite/btcd/btcec/v2" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func GetAddresses(V *big.Int, R *big.Int, S *big.Int, data common.Hash) (common.Address, sdk.AccAddress, cryptotypes.PubKey, error) { diff --git a/utils/helpers/legacy/v575/associate.go b/utils/helpers/legacy/v575/associate.go index c6959c148c..c17e124fd9 100644 --- a/utils/helpers/legacy/v575/associate.go +++ b/utils/helpers/legacy/v575/associate.go @@ -1,11 +1,11 @@ package v575 import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/ethereum/go-ethereum/common" "github.com/sei-protocol/sei-chain/precompiles/utils" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) type AssociationHelper struct { diff --git a/utils/helpers/legacy/v600/address.go b/utils/helpers/legacy/v600/address.go index 56c0dbbf2a..1a69dba3d3 100644 --- a/utils/helpers/legacy/v600/address.go +++ b/utils/helpers/legacy/v600/address.go @@ -5,12 +5,12 @@ import ( "math/big" "github.com/btcsuite/btcd/btcec/v2" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func GetAddresses(V *big.Int, R *big.Int, S *big.Int, data common.Hash) (common.Address, sdk.AccAddress, cryptotypes.PubKey, error) { diff --git a/utils/helpers/legacy/v600/asssociate.go b/utils/helpers/legacy/v600/asssociate.go index 3b37309283..f80fbb8e94 100644 --- a/utils/helpers/legacy/v600/asssociate.go +++ b/utils/helpers/legacy/v600/asssociate.go @@ -1,11 +1,11 @@ package v600 import ( - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/ethereum/go-ethereum/common" "github.com/sei-protocol/sei-chain/precompiles/utils" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) type AssociationHelper struct { diff --git a/utils/metrics/metrics_util.go b/utils/metrics/metrics_util.go index 582f517b10..45f8d54491 100644 --- a/utils/metrics/metrics_util.go +++ b/utils/metrics/metrics_util.go @@ -9,7 +9,7 @@ import ( "time" metrics "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" "github.com/sei-protocol/sei-chain/x/evm/types" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/exporters/prometheus" diff --git a/utils/panic.go b/utils/panic.go index 53d13bac67..4669ed4f75 100644 --- a/utils/panic.go +++ b/utils/panic.go @@ -6,8 +6,8 @@ import ( "strings" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const HardFailPrefix = "hard fail error occurred" diff --git a/utils/prioritized_txs.go b/utils/prioritized_txs.go index 42edef7db8..e6f3e98d02 100644 --- a/utils/prioritized_txs.go +++ b/utils/prioritized_txs.go @@ -1,7 +1,7 @@ package utils import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" oracletypes "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/utils/prioritized_txs_test.go b/utils/prioritized_txs_test.go index 720f918de0..6f22bfc946 100644 --- a/utils/prioritized_txs_test.go +++ b/utils/prioritized_txs_test.go @@ -3,10 +3,10 @@ package utils import ( "testing" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/stretchr/testify/require" oracletypes "github.com/sei-protocol/sei-chain/x/oracle/types" diff --git a/wasmbinding/bindings/errors.go b/wasmbinding/bindings/errors.go index 8fc5fe59a7..73266c6776 100644 --- a/wasmbinding/bindings/errors.go +++ b/wasmbinding/bindings/errors.go @@ -1,7 +1,7 @@ package bindings import ( - sdkErrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkErrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Codes for wasm contract errors diff --git a/wasmbinding/bindings/msg.go b/wasmbinding/bindings/msg.go index cb9fdff46f..4b943d20a1 100644 --- a/wasmbinding/bindings/msg.go +++ b/wasmbinding/bindings/msg.go @@ -1,8 +1,8 @@ package bindings import ( - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // / CreateDenom creates a new factory denom, of denomination: diff --git a/wasmbinding/encoder.go b/wasmbinding/encoder.go index c32bcfd60e..20b369886f 100644 --- a/wasmbinding/encoder.go +++ b/wasmbinding/encoder.go @@ -3,8 +3,8 @@ package wasmbinding import ( "encoding/json" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" evmwasm "github.com/sei-protocol/sei-chain/x/evm/client/wasm" diff --git a/wasmbinding/message_plugin.go b/wasmbinding/message_plugin.go index 129d394f82..acc288c397 100644 --- a/wasmbinding/message_plugin.go +++ b/wasmbinding/message_plugin.go @@ -1,9 +1,9 @@ package wasmbinding import ( - "github.com/cosmos/cosmos-sdk/baseapp" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper" diff --git a/wasmbinding/queries.go b/wasmbinding/queries.go index 36a52cbabc..a45b7d49e9 100644 --- a/wasmbinding/queries.go +++ b/wasmbinding/queries.go @@ -6,9 +6,9 @@ import ( "fmt" "math" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" "github.com/sei-protocol/sei-chain/utils/metrics" epochwasm "github.com/sei-protocol/sei-chain/x/epoch/client/wasm" epochbindings "github.com/sei-protocol/sei-chain/x/epoch/client/wasm/bindings" diff --git a/wasmbinding/query_plugin.go b/wasmbinding/query_plugin.go index bcc5a46bed..3bdf383027 100644 --- a/wasmbinding/query_plugin.go +++ b/wasmbinding/query_plugin.go @@ -3,8 +3,8 @@ package wasmbinding import ( "encoding/json" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" ) diff --git a/wasmbinding/test/encoder_test.go b/wasmbinding/test/encoder_test.go index 0e55393cbc..2fc786819a 100644 --- a/wasmbinding/test/encoder_test.go +++ b/wasmbinding/test/encoder_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/wasmbinding/bindings" tokenfactorywasm "github.com/sei-protocol/sei-chain/x/tokenfactory/client/wasm" tokenfactorytypes "github.com/sei-protocol/sei-chain/x/tokenfactory/types" diff --git a/wasmbinding/test/query_test.go b/wasmbinding/test/query_test.go index e60e7fc246..e85f8d6352 100644 --- a/wasmbinding/test/query_test.go +++ b/wasmbinding/test/query_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/sei-protocol/sei-chain/wasmbinding" diff --git a/wasmbinding/wasm.go b/wasmbinding/wasm.go index c5aaf2486f..5c5efb0aaf 100644 --- a/wasmbinding/wasm.go +++ b/wasmbinding/wasm.go @@ -1,9 +1,9 @@ package wasmbinding import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm" wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" diff --git a/x/epoch/client/cli/query.go b/x/epoch/client/cli/query.go index 3b7df5367f..0e725383bf 100644 --- a/x/epoch/client/cli/query.go +++ b/x/epoch/client/cli/query.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - // "github.com/cosmos/cosmos-sdk/client/flags" - // sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + // "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + // sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/epoch/client/cli/query_epoch.go b/x/epoch/client/cli/query_epoch.go index 672560d8ec..e6ef568eda 100644 --- a/x/epoch/client/cli/query_epoch.go +++ b/x/epoch/client/cli/query_epoch.go @@ -3,8 +3,8 @@ package cli import ( "context" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" "github.com/sei-protocol/sei-chain/x/epoch/types" "github.com/spf13/cobra" ) diff --git a/x/epoch/client/cli/query_params.go b/x/epoch/client/cli/query_params.go index 332c13396f..1d9d779a55 100644 --- a/x/epoch/client/cli/query_params.go +++ b/x/epoch/client/cli/query_params.go @@ -3,8 +3,8 @@ package cli import ( "context" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" "github.com/sei-protocol/sei-chain/x/epoch/types" "github.com/spf13/cobra" ) diff --git a/x/epoch/client/cli/tx.go b/x/epoch/client/cli/tx.go index 9fb38b7e11..92cfda4c9f 100644 --- a/x/epoch/client/cli/tx.go +++ b/x/epoch/client/cli/tx.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/epoch/client/wasm/query.go b/x/epoch/client/wasm/query.go index 0696f9f290..c43d2720f0 100644 --- a/x/epoch/client/wasm/query.go +++ b/x/epoch/client/wasm/query.go @@ -1,7 +1,7 @@ package wasm import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/epoch/keeper" "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/epoch/genesis.go b/x/epoch/genesis.go index bcd6857908..07919e5f1a 100644 --- a/x/epoch/genesis.go +++ b/x/epoch/genesis.go @@ -1,7 +1,7 @@ package epoch import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/epoch/keeper" "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/epoch/handler.go b/x/epoch/handler.go index 6a6912f887..e660b1eb5d 100644 --- a/x/epoch/handler.go +++ b/x/epoch/handler.go @@ -3,8 +3,8 @@ package epoch import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/x/epoch/keeper" "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/epoch/handler_test.go b/x/epoch/handler_test.go index feba020359..2e9c8e97fb 100644 --- a/x/epoch/handler_test.go +++ b/x/epoch/handler_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/testutil/testdata" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/testdata" "github.com/sei-protocol/sei-chain/app" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" diff --git a/x/epoch/keeper/abci.go b/x/epoch/keeper/abci.go index c410b7c9b6..5efafcda91 100644 --- a/x/epoch/keeper/abci.go +++ b/x/epoch/keeper/abci.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/epoch/keeper/epoch.go b/x/epoch/keeper/epoch.go index 3e4e7db0ab..fe1eebb6d8 100644 --- a/x/epoch/keeper/epoch.go +++ b/x/epoch/keeper/epoch.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gogo/protobuf/proto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/epoch/keeper/grpc_query_epoch.go b/x/epoch/keeper/grpc_query_epoch.go index c707eea607..8169926279 100644 --- a/x/epoch/keeper/grpc_query_epoch.go +++ b/x/epoch/keeper/grpc_query_epoch.go @@ -3,7 +3,7 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/epoch/keeper/grpc_query_epoch_test.go b/x/epoch/keeper/grpc_query_epoch_test.go index 06a05d6699..7a88f5ec1d 100644 --- a/x/epoch/keeper/grpc_query_epoch_test.go +++ b/x/epoch/keeper/grpc_query_epoch_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/epoch/types" "github.com/stretchr/testify/require" diff --git a/x/epoch/keeper/grpc_query_params.go b/x/epoch/keeper/grpc_query_params.go index 120d531dba..d2b6efc5f8 100644 --- a/x/epoch/keeper/grpc_query_params.go +++ b/x/epoch/keeper/grpc_query_params.go @@ -3,7 +3,7 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/epoch/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/epoch/keeper/grpc_query_params_test.go b/x/epoch/keeper/grpc_query_params_test.go index ef15579328..e43cfbde4d 100644 --- a/x/epoch/keeper/grpc_query_params_test.go +++ b/x/epoch/keeper/grpc_query_params_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/epoch/types" "github.com/stretchr/testify/require" diff --git a/x/epoch/keeper/hooks.go b/x/epoch/keeper/hooks.go index 510e50b44d..f016f74d99 100644 --- a/x/epoch/keeper/hooks.go +++ b/x/epoch/keeper/hooks.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/epoch/keeper/hooks_test.go b/x/epoch/keeper/hooks_test.go index 3e1e0082d3..96e359881f 100644 --- a/x/epoch/keeper/hooks_test.go +++ b/x/epoch/keeper/hooks_test.go @@ -3,7 +3,7 @@ package keeper import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/epoch/types" "github.com/stretchr/testify/require" ) diff --git a/x/epoch/keeper/keeper.go b/x/epoch/keeper/keeper.go index ae5a89f092..40baddf4f9 100644 --- a/x/epoch/keeper/keeper.go +++ b/x/epoch/keeper/keeper.go @@ -1,9 +1,9 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/epoch/keeper/params.go b/x/epoch/keeper/params.go index 3f4e679d3d..e80a09daf5 100644 --- a/x/epoch/keeper/params.go +++ b/x/epoch/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/epoch/module.go b/x/epoch/module.go index 664a123db8..97d870e23d 100644 --- a/x/epoch/module.go +++ b/x/epoch/module.go @@ -13,11 +13,11 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" "github.com/sei-protocol/sei-chain/x/epoch/client/cli" "github.com/sei-protocol/sei-chain/x/epoch/keeper" "github.com/sei-protocol/sei-chain/x/epoch/types" @@ -67,7 +67,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the capability module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState - if err := cdc.UnmarshalJSON(bz, &genState); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } return genState.Validate() diff --git a/x/epoch/module_simulation.go b/x/epoch/module_simulation.go index f6ecbc5310..fae9c86357 100644 --- a/x/epoch/module_simulation.go +++ b/x/epoch/module_simulation.go @@ -3,12 +3,12 @@ package epoch import ( "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" seiappparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" "github.com/sei-protocol/sei-chain/testutil/sample" epochsimulation "github.com/sei-protocol/sei-chain/x/epoch/simulation" "github.com/sei-protocol/sei-chain/x/epoch/types" diff --git a/x/epoch/module_test.go b/x/epoch/module_test.go index be72df6942..35b2444960 100644 --- a/x/epoch/module_test.go +++ b/x/epoch/module_test.go @@ -4,11 +4,11 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/client" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" epoch "github.com/sei-protocol/sei-chain/x/epoch" "github.com/sei-protocol/sei-chain/x/epoch/types" diff --git a/x/epoch/simulation/simap.go b/x/epoch/simulation/simap.go index 92c437c0d1..1ffeb91499 100644 --- a/x/epoch/simulation/simap.go +++ b/x/epoch/simulation/simap.go @@ -1,8 +1,8 @@ package simulation import ( - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" ) // FindAccount find a specific address from an account list diff --git a/x/epoch/simulation/simap_test.go b/x/epoch/simulation/simap_test.go index 9be25f7b7d..669334edf0 100644 --- a/x/epoch/simulation/simap_test.go +++ b/x/epoch/simulation/simap_test.go @@ -3,8 +3,8 @@ package simulation_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" epochsimulation "github.com/sei-protocol/sei-chain/x/epoch/simulation" "github.com/stretchr/testify/require" diff --git a/x/epoch/types/codec.go b/x/epoch/types/codec.go index 3ff1468d0c..6b2082904e 100644 --- a/x/epoch/types/codec.go +++ b/x/epoch/types/codec.go @@ -1,11 +1,11 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" // this line is used by starport scaffolding # 1 - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" ) func RegisterCodec(_ *codec.LegacyAmino) {} diff --git a/x/epoch/types/errors.go b/x/epoch/types/errors.go index a35ed5b76f..16b7fe843a 100644 --- a/x/epoch/types/errors.go +++ b/x/epoch/types/errors.go @@ -3,7 +3,7 @@ package types // DONTCOVER import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/epoch module sentinel errors diff --git a/x/epoch/types/expected_keepers.go b/x/epoch/types/expected_keepers.go index 6aa6e97781..12277811da 100644 --- a/x/epoch/types/expected_keepers.go +++ b/x/epoch/types/expected_keepers.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) // AccountKeeper defines the expected account keeper used for simulations (noalias) diff --git a/x/epoch/types/hooks.go b/x/epoch/types/hooks.go index bb0920e83e..232e5eef7d 100644 --- a/x/epoch/types/hooks.go +++ b/x/epoch/types/hooks.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/x/epoch/types/hooks_test.go b/x/epoch/types/hooks_test.go index fc009be80d..bf51a17f7b 100644 --- a/x/epoch/types/hooks_test.go +++ b/x/epoch/types/hooks_test.go @@ -3,8 +3,8 @@ package types_test import ( "testing" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/sei-protocol/sei-chain/x/epoch/keeper" "github.com/sei-protocol/sei-chain/x/epoch/types" diff --git a/x/epoch/types/params.go b/x/epoch/types/params.go index fe29010054..62154621f5 100644 --- a/x/epoch/types/params.go +++ b/x/epoch/types/params.go @@ -3,7 +3,7 @@ package types import ( "fmt" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "gopkg.in/yaml.v2" ) diff --git a/x/evm/ante/basic.go b/x/evm/ante/basic.go index 11d9c3dfea..2879150fdf 100644 --- a/x/evm/ante/basic.go +++ b/x/evm/ante/basic.go @@ -3,11 +3,11 @@ package ante import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/params" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/x/evm/keeper" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/ante/basic_test.go b/x/evm/ante/basic_test.go index 10499ea979..203a58a469 100644 --- a/x/evm/ante/basic_test.go +++ b/x/evm/ante/basic_test.go @@ -4,10 +4,10 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ethcore "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/params" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/ante" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/ante/fee.go b/x/evm/ante/fee.go index 6a0102687e..e710083682 100644 --- a/x/evm/ante/fee.go +++ b/x/evm/ante/fee.go @@ -3,14 +3,14 @@ package ante import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/ethereum/go-ethereum/consensus/misc/eip4844" "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" "github.com/sei-protocol/sei-chain/app/antedecorators" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/derived" diff --git a/x/evm/ante/fee_test.go b/x/evm/ante/fee_test.go index 0d101448ff..480d4027b6 100644 --- a/x/evm/ante/fee_test.go +++ b/x/evm/ante/fee_test.go @@ -7,11 +7,11 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/app/antedecorators" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/ante" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/x/evm/ante/gas.go b/x/evm/ante/gas.go index f0cf27f082..2625f15746 100644 --- a/x/evm/ante/gas.go +++ b/x/evm/ante/gas.go @@ -4,7 +4,7 @@ import ( "errors" "math" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/ante/gas_test.go b/x/evm/ante/gas_test.go index 81b9816943..b03be4fa7c 100644 --- a/x/evm/ante/gas_test.go +++ b/x/evm/ante/gas_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/ante" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/ante/no_cosmos_fields.go b/x/evm/ante/no_cosmos_fields.go index a4b5b4eba6..0a156db73d 100644 --- a/x/evm/ante/no_cosmos_fields.go +++ b/x/evm/ante/no_cosmos_fields.go @@ -1,10 +1,10 @@ package ante import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - signing "github.com/cosmos/cosmos-sdk/types/tx/signing" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + signing "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" ) // EVMNoCosmosFieldsDecorator ensures all Cosmos tx fields are empty for EVM txs. diff --git a/x/evm/ante/no_cosmos_fields_test.go b/x/evm/ante/no_cosmos_fields_test.go index a090a6813c..22b1baa1f9 100644 --- a/x/evm/ante/no_cosmos_fields_test.go +++ b/x/evm/ante/no_cosmos_fields_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - signing "github.com/cosmos/cosmos-sdk/types/tx/signing" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + signing "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" "github.com/sei-protocol/sei-chain/x/evm/ante" ) diff --git a/x/evm/ante/preprocess.go b/x/evm/ante/preprocess.go index f0126ee148..29b73ec983 100644 --- a/x/evm/ante/preprocess.go +++ b/x/evm/ante/preprocess.go @@ -8,17 +8,17 @@ import ( "github.com/sei-protocol/sei-chain/utils/helpers" "github.com/btcsuite/btcd/btcec/v2" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - accountkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/params" "github.com/sei-protocol/sei-chain/app/antedecorators" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + accountkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/derived" diff --git a/x/evm/ante/preprocess_test.go b/x/evm/ante/preprocess_test.go index af64c8a638..35227a5370 100644 --- a/x/evm/ante/preprocess_test.go +++ b/x/evm/ante/preprocess_test.go @@ -10,15 +10,15 @@ import ( "github.com/sei-protocol/sei-chain/utils/helpers" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + vestingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/ante" "github.com/sei-protocol/sei-chain/x/evm/derived" diff --git a/x/evm/ante/router.go b/x/evm/ante/router.go index 4ce06dc926..8d6e297056 100644 --- a/x/evm/ante/router.go +++ b/x/evm/ante/router.go @@ -3,7 +3,7 @@ package ante import ( "errors" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/ante/router_test.go b/x/evm/ante/router_test.go index 97f3f7667e..4ab2dcec8c 100644 --- a/x/evm/ante/router_test.go +++ b/x/evm/ante/router_test.go @@ -3,11 +3,11 @@ package ante_test import ( "testing" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - txtypes "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + txtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/x/evm/ante" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/sei-protocol/sei-chain/x/evm/types/ethtx" diff --git a/x/evm/ante/sig.go b/x/evm/ante/sig.go index c4750caa6c..a8f76c7e3c 100644 --- a/x/evm/ante/sig.go +++ b/x/evm/ante/sig.go @@ -3,9 +3,9 @@ package ante import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/x/evm/ante/sig_test.go b/x/evm/ante/sig_test.go index b9bf4bb0f5..783821b1ea 100644 --- a/x/evm/ante/sig_test.go +++ b/x/evm/ante/sig_test.go @@ -6,10 +6,10 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/ante" diff --git a/x/evm/artifacts/cw20/artifacts.go b/x/evm/artifacts/cw20/artifacts.go index f9f2855cb3..50a52e533f 100644 --- a/x/evm/artifacts/cw20/artifacts.go +++ b/x/evm/artifacts/cw20/artifacts.go @@ -8,8 +8,8 @@ import ( "strings" "sync" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts/abi" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/config" diff --git a/x/evm/artifacts/native/artifacts_test.go b/x/evm/artifacts/native/artifacts_test.go index 7fb701d251..0330bcf916 100644 --- a/x/evm/artifacts/native/artifacts_test.go +++ b/x/evm/artifacts/native/artifacts_test.go @@ -6,10 +6,10 @@ import ( "sync" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/ante" diff --git a/x/evm/blocktest/config.go b/x/evm/blocktest/config.go index 96161360f0..773b0bc90e 100644 --- a/x/evm/blocktest/config.go +++ b/x/evm/blocktest/config.go @@ -1,7 +1,7 @@ package blocktest import ( - servertypes "github.com/cosmos/cosmos-sdk/server/types" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" "github.com/spf13/cast" ) diff --git a/x/evm/client/cli/gov_tx.go b/x/evm/client/cli/gov_tx.go index 2a7c015510..2472e8ad01 100644 --- a/x/evm/client/cli/gov_tx.go +++ b/x/evm/client/cli/gov_tx.go @@ -6,11 +6,11 @@ import ( "github.com/sei-protocol/sei-chain/x/evm/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/spf13/cobra" ) diff --git a/x/evm/client/cli/native_tx.go b/x/evm/client/cli/native_tx.go index 5d1893a343..1b2501ba3b 100644 --- a/x/evm/client/cli/native_tx.go +++ b/x/evm/client/cli/native_tx.go @@ -4,14 +4,14 @@ import ( "errors" "fmt" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/sei-protocol/sei-chain/evmrpc" "github.com/sei-protocol/sei-chain/precompiles" "github.com/sei-protocol/sei-chain/precompiles/pointer" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/spf13/cobra" ) diff --git a/x/evm/client/cli/query.go b/x/evm/client/cli/query.go index eee1ea4240..febb097b25 100644 --- a/x/evm/client/cli/query.go +++ b/x/evm/client/cli/query.go @@ -12,18 +12,18 @@ import ( "os" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/ethclient" "github.com/ethereum/go-ethereum/export" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" "github.com/sei-protocol/sei-chain/evmrpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw1155" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw20" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw721" diff --git a/x/evm/client/cli/tx.go b/x/evm/client/cli/tx.go index 0852a0c642..e9b6f3eb52 100644 --- a/x/evm/client/cli/tx.go +++ b/x/evm/client/cli/tx.go @@ -13,7 +13,7 @@ import ( "os" "strings" - "github.com/cosmos/cosmos-sdk/crypto/hd" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/hd" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" @@ -22,14 +22,14 @@ import ( "github.com/ethereum/go-ethereum/rlp" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec/legacy" - "github.com/cosmos/cosmos-sdk/crypto/keyring" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/sei-protocol/sei-chain/evmrpc" "github.com/sei-protocol/sei-chain/precompiles" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec/legacy" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keyring" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/artifacts/native" "github.com/sei-protocol/sei-chain/x/evm/artifacts/wsei" diff --git a/x/evm/client/wasm/bindings/queries.go b/x/evm/client/wasm/bindings/queries.go index 7d5514c1ad..b48227d7c1 100644 --- a/x/evm/client/wasm/bindings/queries.go +++ b/x/evm/client/wasm/bindings/queries.go @@ -1,47 +1,44 @@ package bindings import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type EVMQueryType string const ( - StaticCallType EVMQueryType = "evm_query_static_call" - ERC20TransferType EVMQueryType = "evm_query_erc20_transfer" - ERC20TransferFromType EVMQueryType = "evm_query_erc20_transfer_from" - ERC20ApproveType EVMQueryType = "evm_query_erc20_approve" - ERC20AllowanceType EVMQueryType = "evm_query_erc20_allowance" - // #nosec G101 -- the word Token triggers the credential detection - ERC20TokenInfoType EVMQueryType = "evm_query_erc20_token_info" - ERC20BalanceType EVMQueryType = "evm_query_erc20_balance" - ERC721OwnerType EVMQueryType = "evm_query_erc721_owner" - ERC721TransferType EVMQueryType = "evm_query_erc721_transfer" - ERC721ApproveType EVMQueryType = "evm_query_erc721_approve" - ERC721SetApprovalAllType EVMQueryType = "evm_query_erc721_set_approval_all" - ERC721ApprovedType EVMQueryType = "evm_query_erc721_approved" - ERC721IsApprovedForAllType EVMQueryType = "evm_query_erc721_is_approved_for_all" - ERC721TotalSupplyType EVMQueryType = "evm_query_erc721_total_supply" - ERC721NameSymbolType EVMQueryType = "evm_query_erc721_name_symbol" - ERC721UriType EVMQueryType = "evm_query_erc721_uri" - ERC721RoyaltyInfoType EVMQueryType = "evm_query_erc721_royalty_info" - ERC1155TransferType EVMQueryType = "evm_query_erc1155_transfer" - ERC1155BatchTransferType EVMQueryType = "evm_query_erc1155_batch_transfer" - ERC1155SetApprovalAllType EVMQueryType = "evm_query_erc1155_set_approval_all" - ERC1155IsApprovedForAllType EVMQueryType = "evm_query_erc1155_is_approved_for_all" - ERC1155BalanceOfType EVMQueryType = "evm_query_erc1155_balance_of" - ERC1155BalanceOfBatchType EVMQueryType = "evm_query_erc1155_balance_of_batch" - ERC1155TotalSupplyType EVMQueryType = "evm_query_erc1155_total_supply" - // #nosec G101 -- the word Token triggers the credential detection - ERC1155TotalSupplyForTokenType EVMQueryType = "evm_query_erc1155_total_supply_for_token" - // #nosec G101 -- the word Token triggers the credential detection - ERC1155TokenExistsType EVMQueryType = "evm_query_erc1155_token_exists" - ERC1155NameSymbolType EVMQueryType = "evm_query_erc1155_name_symbol" - ERC1155UriType EVMQueryType = "evm_query_erc1155_uri" - ERC1155RoyaltyInfoType EVMQueryType = "evm_query_erc1155_royalty_info" - GetEvmAddressType EVMQueryType = "evm_query_get_evm_address" - GetSeiAddressType EVMQueryType = "evm_query_get_sei_address" - SupportsInterfaceType EVMQueryType = "evm_query_supports_interface" + StaticCallType EVMQueryType = "evm_query_static_call" + ERC20TransferType EVMQueryType = "evm_query_erc20_transfer" + ERC20TransferFromType EVMQueryType = "evm_query_erc20_transfer_from" + ERC20ApproveType EVMQueryType = "evm_query_erc20_approve" + ERC20AllowanceType EVMQueryType = "evm_query_erc20_allowance" + ERC20TokenInfoType EVMQueryType = "evm_query_erc20_token_info" //nolint:gosec + ERC20BalanceType EVMQueryType = "evm_query_erc20_balance" + ERC721OwnerType EVMQueryType = "evm_query_erc721_owner" + ERC721TransferType EVMQueryType = "evm_query_erc721_transfer" + ERC721ApproveType EVMQueryType = "evm_query_erc721_approve" + ERC721SetApprovalAllType EVMQueryType = "evm_query_erc721_set_approval_all" + ERC721ApprovedType EVMQueryType = "evm_query_erc721_approved" + ERC721IsApprovedForAllType EVMQueryType = "evm_query_erc721_is_approved_for_all" + ERC721TotalSupplyType EVMQueryType = "evm_query_erc721_total_supply" + ERC721NameSymbolType EVMQueryType = "evm_query_erc721_name_symbol" + ERC721UriType EVMQueryType = "evm_query_erc721_uri" + ERC721RoyaltyInfoType EVMQueryType = "evm_query_erc721_royalty_info" + ERC1155TransferType EVMQueryType = "evm_query_erc1155_transfer" + ERC1155BatchTransferType EVMQueryType = "evm_query_erc1155_batch_transfer" + ERC1155SetApprovalAllType EVMQueryType = "evm_query_erc1155_set_approval_all" + ERC1155IsApprovedForAllType EVMQueryType = "evm_query_erc1155_is_approved_for_all" + ERC1155BalanceOfType EVMQueryType = "evm_query_erc1155_balance_of" + ERC1155BalanceOfBatchType EVMQueryType = "evm_query_erc1155_balance_of_batch" + ERC1155TotalSupplyType EVMQueryType = "evm_query_erc1155_total_supply" + ERC1155TotalSupplyForTokenType EVMQueryType = "evm_query_erc1155_total_supply_for_token" //nolint:gosec + ERC1155TokenExistsType EVMQueryType = "evm_query_erc1155_token_exists" //nolint:gosec + ERC1155NameSymbolType EVMQueryType = "evm_query_erc1155_name_symbol" + ERC1155UriType EVMQueryType = "evm_query_erc1155_uri" + ERC1155RoyaltyInfoType EVMQueryType = "evm_query_erc1155_royalty_info" + GetEvmAddressType EVMQueryType = "evm_query_get_evm_address" + GetSeiAddressType EVMQueryType = "evm_query_get_sei_address" + SupportsInterfaceType EVMQueryType = "evm_query_supports_interface" ) func (q *SeiEVMQuery) GetQueryType() EVMQueryType { diff --git a/x/evm/client/wasm/encoder.go b/x/evm/client/wasm/encoder.go index 23767644cd..cc8836fe2a 100644 --- a/x/evm/client/wasm/encoder.go +++ b/x/evm/client/wasm/encoder.go @@ -4,7 +4,7 @@ import ( "encoding/base64" "encoding/json" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" wasmvmtypes "github.com/sei-protocol/sei-chain/sei-wasmvm/types" "github.com/sei-protocol/sei-chain/wasmbinding/bindings" diff --git a/x/evm/client/wasm/query.go b/x/evm/client/wasm/query.go index 4438597ac6..de3d97d617 100644 --- a/x/evm/client/wasm/query.go +++ b/x/evm/client/wasm/query.go @@ -8,8 +8,8 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw1155" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw721" "github.com/sei-protocol/sei-chain/x/evm/artifacts/native" diff --git a/x/evm/client/wasm/query_test.go b/x/evm/client/wasm/query_test.go index a9aa1f0339..45d31ac71f 100644 --- a/x/evm/client/wasm/query_test.go +++ b/x/evm/client/wasm/query_test.go @@ -10,14 +10,14 @@ import ( "strings" "testing" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/example/contracts/simplestorage" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/ante" "github.com/sei-protocol/sei-chain/x/evm/client/wasm" diff --git a/x/evm/config/config.go b/x/evm/config/config.go index 69ca47b500..c64a465c15 100644 --- a/x/evm/config/config.go +++ b/x/evm/config/config.go @@ -3,7 +3,7 @@ package config import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const DefaultChainID = int64(713714) diff --git a/x/evm/config/config_test.go b/x/evm/config/config_test.go index 7ad708739d..5732c5c33f 100644 --- a/x/evm/config/config_test.go +++ b/x/evm/config/config_test.go @@ -3,7 +3,7 @@ package config import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/x/evm/derived/derived.go b/x/evm/derived/derived.go index 5ab47c7abf..78fa7332c6 100644 --- a/x/evm/derived/derived.go +++ b/x/evm/derived/derived.go @@ -1,9 +1,9 @@ package derived import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type SignerVersion int diff --git a/x/evm/genesis.go b/x/evm/genesis.go index 84bd848fd2..545252e8fc 100644 --- a/x/evm/genesis.go +++ b/x/evm/genesis.go @@ -3,9 +3,9 @@ package evm import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/gov.go b/x/evm/gov.go index 0357cf0501..b053569b0f 100644 --- a/x/evm/gov.go +++ b/x/evm/gov.go @@ -5,8 +5,8 @@ import ( "fmt" "math" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/handler.go b/x/evm/handler.go index ea2bec5717..868bf6b9d1 100644 --- a/x/evm/handler.go +++ b/x/evm/handler.go @@ -3,9 +3,9 @@ package evm import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/integration_test.go b/x/evm/integration_test.go index a1e58c06e2..95af8a89b3 100644 --- a/x/evm/integration_test.go +++ b/x/evm/integration_test.go @@ -13,19 +13,19 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/client" - clienttx "github.com/cosmos/cosmos-sdk/client/tx" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" ethabi "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" pcommon "github.com/sei-protocol/sei-chain/precompiles/common" "github.com/sei-protocol/sei-chain/precompiles/pointer" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clienttx "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + xauthsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw1155" diff --git a/x/evm/keeper/abci.go b/x/evm/keeper/abci.go index c742a6d9ab..da4a75edae 100644 --- a/x/evm/keeper/abci.go +++ b/x/evm/keeper/abci.go @@ -7,12 +7,12 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/vm" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/utils/metrics" diff --git a/x/evm/keeper/address.go b/x/evm/keeper/address.go index 597e431a40..d097325115 100644 --- a/x/evm/keeper/address.go +++ b/x/evm/keeper/address.go @@ -1,9 +1,9 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/keeper/address_test.go b/x/evm/keeper/address_test.go index ed244f0093..f0077c5cfc 100644 --- a/x/evm/keeper/address_test.go +++ b/x/evm/keeper/address_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/testutil/keeper" evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/stretchr/testify/require" diff --git a/x/evm/keeper/ante.go b/x/evm/keeper/ante.go index 48b2552dc0..58ffb59716 100644 --- a/x/evm/keeper/ante.go +++ b/x/evm/keeper/ante.go @@ -1,9 +1,9 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/keeper/balance.go b/x/evm/keeper/balance.go index e9c2188648..fac6a1ed4b 100644 --- a/x/evm/keeper/balance.go +++ b/x/evm/keeper/balance.go @@ -3,7 +3,7 @@ package keeper import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/state" ) diff --git a/x/evm/keeper/code.go b/x/evm/keeper/code.go index d055f07cd6..5a219aa267 100644 --- a/x/evm/keeper/code.go +++ b/x/evm/keeper/code.go @@ -3,11 +3,11 @@ package keeper import ( "encoding/binary" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/keeper/code_test.go b/x/evm/keeper/code_test.go index 1a9a7f9a98..01bb3cf4b8 100644 --- a/x/evm/keeper/code_test.go +++ b/x/evm/keeper/code_test.go @@ -3,10 +3,10 @@ package keeper_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/stretchr/testify/require" ) diff --git a/x/evm/keeper/coinbase.go b/x/evm/keeper/coinbase.go index 39115f3bd3..163f578de1 100644 --- a/x/evm/keeper/coinbase.go +++ b/x/evm/keeper/coinbase.go @@ -3,10 +3,10 @@ package keeper import ( "errors" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" ) const CoinbaseSeedAddress = "0000000000000000000000000000000000000001" diff --git a/x/evm/keeper/deferred.go b/x/evm/keeper/deferred.go index 8509fa93a6..505bc72224 100644 --- a/x/evm/keeper/deferred.go +++ b/x/evm/keeper/deferred.go @@ -4,10 +4,10 @@ import ( "encoding/binary" "fmt" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/keeper/evm.go b/x/evm/keeper/evm.go index d385804012..eacfd85f02 100644 --- a/x/evm/keeper/evm.go +++ b/x/evm/keeper/evm.go @@ -6,13 +6,13 @@ import ( "math" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/params" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/precompiles/solo" "github.com/sei-protocol/sei-chain/utils" diff --git a/x/evm/keeper/evm_test.go b/x/evm/keeper/evm_test.go index 90d0c6e99e..04bd79c58a 100644 --- a/x/evm/keeper/evm_test.go +++ b/x/evm/keeper/evm_test.go @@ -4,10 +4,10 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/params" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/require" diff --git a/x/evm/keeper/fee.go b/x/evm/keeper/fee.go index e735bd75b8..f980658538 100644 --- a/x/evm/keeper/fee.go +++ b/x/evm/keeper/fee.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/keeper/fee_test.go b/x/evm/keeper/fee_test.go index b5eb4dc703..73f3ae7426 100644 --- a/x/evm/keeper/fee_test.go +++ b/x/evm/keeper/fee_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/keeper/genesis.go b/x/evm/keeper/genesis.go index b1d93b52fd..e619f501e8 100644 --- a/x/evm/keeper/genesis.go +++ b/x/evm/keeper/genesis.go @@ -3,9 +3,6 @@ package keeper import ( "fmt" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/rawdb" "github.com/ethereum/go-ethereum/core/state" @@ -14,6 +11,9 @@ import ( "github.com/ethereum/go-ethereum/triedb" "github.com/ethereum/go-ethereum/triedb/hashdb" "github.com/ethereum/go-ethereum/triedb/pathdb" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" "github.com/sei-protocol/sei-chain/x/evm/artifacts/erc1155" "github.com/sei-protocol/sei-chain/x/evm/artifacts/erc20" diff --git a/x/evm/keeper/grpc_query.go b/x/evm/keeper/grpc_query.go index feae9ff724..f468919a9c 100644 --- a/x/evm/keeper/grpc_query.go +++ b/x/evm/keeper/grpc_query.go @@ -4,9 +4,9 @@ import ( "context" "errors" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw1155" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw20" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw721" diff --git a/x/evm/keeper/grpc_query_test.go b/x/evm/keeper/grpc_query_test.go index 71abb6fe71..e1b82e7a0d 100644 --- a/x/evm/keeper/grpc_query_test.go +++ b/x/evm/keeper/grpc_query_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw1155" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw20" diff --git a/x/evm/keeper/keeper.go b/x/evm/keeper/keeper.go index dd193d708b..dddc16ce5b 100644 --- a/x/evm/keeper/keeper.go +++ b/x/evm/keeper/keeper.go @@ -11,13 +11,6 @@ import ( "sort" "sync" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/consensus" "github.com/ethereum/go-ethereum/consensus/misc/eip4844" @@ -30,6 +23,13 @@ import ( "github.com/ethereum/go-ethereum/params" "github.com/ethereum/go-ethereum/tests" "github.com/holiman/uint256" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" receipt "github.com/sei-protocol/sei-chain/sei-db/ledger_db/receipt" ibctransferkeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/apps/transfer/keeper" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" diff --git a/x/evm/keeper/keeper_test.go b/x/evm/keeper/keeper_test.go index 1e84288012..b51251123c 100644 --- a/x/evm/keeper/keeper_test.go +++ b/x/evm/keeper/keeper_test.go @@ -12,12 +12,12 @@ import ( "sync" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/rand" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/types" diff --git a/x/evm/keeper/log.go b/x/evm/keeper/log.go index 8448287fc9..18a3797ecb 100644 --- a/x/evm/keeper/log.go +++ b/x/evm/keeper/log.go @@ -3,10 +3,10 @@ package keeper import ( "encoding/binary" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/bitutil" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/keeper/msg_server.go b/x/evm/keeper/msg_server.go index 17e46f1bdb..3f32c617b2 100644 --- a/x/evm/keeper/msg_server.go +++ b/x/evm/keeper/msg_server.go @@ -11,15 +11,15 @@ import ( "strings" "github.com/armon/go-metrics" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" - occtypes "github.com/cosmos/cosmos-sdk/types/occ" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + occtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/occ" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/precompiles/wasmd" "github.com/sei-protocol/sei-chain/utils" diff --git a/x/evm/keeper/msg_server_test.go b/x/evm/keeper/msg_server_test.go index 97a9100af0..6e7bb4fbe9 100644 --- a/x/evm/keeper/msg_server_test.go +++ b/x/evm/keeper/msg_server_test.go @@ -9,14 +9,14 @@ import ( "os" "testing" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/tx/signing" + authsigning "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/signing" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/stretchr/testify/require" diff --git a/x/evm/keeper/nonce.go b/x/evm/keeper/nonce.go index 8f6fab2b5b..f2b9f5fec0 100644 --- a/x/evm/keeper/nonce.go +++ b/x/evm/keeper/nonce.go @@ -3,9 +3,9 @@ package keeper import ( "encoding/binary" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/keeper/params.go b/x/evm/keeper/params.go index 26f7d30550..2b1b005fbd 100644 --- a/x/evm/keeper/params.go +++ b/x/evm/keeper/params.go @@ -4,7 +4,7 @@ import ( "math/big" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/config" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/keeper/params_test.go b/x/evm/keeper/params_test.go index 8e1f3fa84c..3f49f302fe 100644 --- a/x/evm/keeper/params_test.go +++ b/x/evm/keeper/params_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/stretchr/testify/require" diff --git a/x/evm/keeper/pointer.go b/x/evm/keeper/pointer.go index 68638adad7..a019132c53 100644 --- a/x/evm/keeper/pointer.go +++ b/x/evm/keeper/pointer.go @@ -3,10 +3,10 @@ package keeper import ( "encoding/binary" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw1155" "github.com/sei-protocol/sei-chain/x/evm/artifacts/cw20" diff --git a/x/evm/keeper/pointer_test.go b/x/evm/keeper/pointer_test.go index 8a755ac0c6..fd3b0dbf48 100644 --- a/x/evm/keeper/pointer_test.go +++ b/x/evm/keeper/pointer_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" diff --git a/x/evm/keeper/pointer_upgrade.go b/x/evm/keeper/pointer_upgrade.go index ac97e7995d..7c6687d49a 100644 --- a/x/evm/keeper/pointer_upgrade.go +++ b/x/evm/keeper/pointer_upgrade.go @@ -3,11 +3,11 @@ package keeper import ( "math" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/vm" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/artifacts" "github.com/sei-protocol/sei-chain/x/evm/state" diff --git a/x/evm/keeper/pointer_upgrade_test.go b/x/evm/keeper/pointer_upgrade_test.go index 4e18b35f80..3994b4f054 100644 --- a/x/evm/keeper/pointer_upgrade_test.go +++ b/x/evm/keeper/pointer_upgrade_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/utils" "github.com/stretchr/testify/require" diff --git a/x/evm/keeper/receipt.go b/x/evm/keeper/receipt.go index 45d98d0383..3db00dc6d9 100644 --- a/x/evm/keeper/receipt.go +++ b/x/evm/keeper/receipt.go @@ -5,9 +5,9 @@ import ( "fmt" "time" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/core" ethtypes "github.com/ethereum/go-ethereum/core/types" diff --git a/x/evm/keeper/receipt_migration_test.go b/x/evm/keeper/receipt_migration_test.go index 973f9b9a05..54473e2daa 100644 --- a/x/evm/keeper/receipt_migration_test.go +++ b/x/evm/keeper/receipt_migration_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "testing" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/keeper/receipt_test.go b/x/evm/keeper/receipt_test.go index c21232b9ea..29d01c6245 100644 --- a/x/evm/keeper/receipt_test.go +++ b/x/evm/keeper/receipt_test.go @@ -4,9 +4,9 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/stretchr/testify/require" diff --git a/x/evm/keeper/replay.go b/x/evm/keeper/replay.go index 8430feddd5..639eb02954 100644 --- a/x/evm/keeper/replay.go +++ b/x/evm/keeper/replay.go @@ -5,10 +5,10 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/keeper/state.go b/x/evm/keeper/state.go index 4aae2c2252..ad848d46fb 100644 --- a/x/evm/keeper/state.go +++ b/x/evm/keeper/state.go @@ -1,9 +1,9 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/keeper/storage_cleanup.go b/x/evm/keeper/storage_cleanup.go index 6b9a2fc0c2..bc4f45e53f 100644 --- a/x/evm/keeper/storage_cleanup.go +++ b/x/evm/keeper/storage_cleanup.go @@ -3,7 +3,7 @@ package keeper import ( "bytes" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" seimetrics "github.com/sei-protocol/sei-chain/utils/metrics" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/keeper/tx.go b/x/evm/keeper/tx.go index 3966888423..261e03d0f2 100644 --- a/x/evm/keeper/tx.go +++ b/x/evm/keeper/tx.go @@ -1,8 +1,8 @@ package keeper import ( - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/keeper/tx_test.go b/x/evm/keeper/tx_test.go index d9df4d613f..278afaaabb 100644 --- a/x/evm/keeper/tx_test.go +++ b/x/evm/keeper/tx_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/keeper/view.go b/x/evm/keeper/view.go index 27a4d7fae1..6028f4e555 100644 --- a/x/evm/keeper/view.go +++ b/x/evm/keeper/view.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/artifacts" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/migrations/add_new_param_migration.go b/x/evm/migrations/add_new_param_migration.go index 8ac3df08a9..36ab8def9d 100644 --- a/x/evm/migrations/add_new_param_migration.go +++ b/x/evm/migrations/add_new_param_migration.go @@ -1,7 +1,7 @@ package migrations import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/migrations/disable_register_pointer.go b/x/evm/migrations/disable_register_pointer.go index 219d422e2b..ca14dcf387 100644 --- a/x/evm/migrations/disable_register_pointer.go +++ b/x/evm/migrations/disable_register_pointer.go @@ -1,7 +1,7 @@ package migrations import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" ) diff --git a/x/evm/migrations/fix_total_supply.go b/x/evm/migrations/fix_total_supply.go index e75cf046b7..7da966ea00 100644 --- a/x/evm/migrations/fix_total_supply.go +++ b/x/evm/migrations/fix_total_supply.go @@ -1,8 +1,8 @@ package migrations import ( - sdk "github.com/cosmos/cosmos-sdk/types" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/migrations/fix_total_supply_test.go b/x/evm/migrations/fix_total_supply_test.go index da0bb5bbe6..04b87d7c61 100644 --- a/x/evm/migrations/fix_total_supply_test.go +++ b/x/evm/migrations/fix_total_supply_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/migrations" "github.com/stretchr/testify/require" diff --git a/x/evm/migrations/migrate_all_pointers.go b/x/evm/migrations/migrate_all_pointers.go index 5925363bbc..75df4373a6 100644 --- a/x/evm/migrations/migrate_all_pointers.go +++ b/x/evm/migrations/migrate_all_pointers.go @@ -4,10 +4,10 @@ import ( "encoding/json" "fmt" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/migrations/migrate_all_pointers_test.go b/x/evm/migrations/migrate_all_pointers_test.go index dc41a4774e..6e41ac20fd 100644 --- a/x/evm/migrations/migrate_all_pointers_test.go +++ b/x/evm/migrations/migrate_all_pointers_test.go @@ -4,9 +4,9 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/keeper" diff --git a/x/evm/migrations/migrate_base_fee_off_by_one.go b/x/evm/migrations/migrate_base_fee_off_by_one.go index 28262e6024..14d7021d65 100644 --- a/x/evm/migrations/migrate_base_fee_off_by_one.go +++ b/x/evm/migrations/migrate_base_fee_off_by_one.go @@ -1,7 +1,7 @@ package migrations import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" ) diff --git a/x/evm/migrations/migrate_base_fee_off_by_one_test.go b/x/evm/migrations/migrate_base_fee_off_by_one_test.go index 79be90e7d2..bc650ce0bd 100644 --- a/x/evm/migrations/migrate_base_fee_off_by_one_test.go +++ b/x/evm/migrations/migrate_base_fee_off_by_one_test.go @@ -3,7 +3,7 @@ package migrations_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/migrations" "github.com/stretchr/testify/require" diff --git a/x/evm/migrations/migrate_block_bloom.go b/x/evm/migrations/migrate_block_bloom.go index e98e5244e1..28212ce941 100644 --- a/x/evm/migrations/migrate_block_bloom.go +++ b/x/evm/migrations/migrate_block_bloom.go @@ -1,7 +1,7 @@ package migrations import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/migrations/migrate_cast_address_balances.go b/x/evm/migrations/migrate_cast_address_balances.go index a620cb304e..df5c16dddf 100644 --- a/x/evm/migrations/migrate_cast_address_balances.go +++ b/x/evm/migrations/migrate_cast_address_balances.go @@ -3,8 +3,8 @@ package migrations import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" ) diff --git a/x/evm/migrations/migrate_cast_address_balances_test.go b/x/evm/migrations/migrate_cast_address_balances_test.go index e770637fa4..0e96eb6588 100644 --- a/x/evm/migrations/migrate_cast_address_balances_test.go +++ b/x/evm/migrations/migrate_cast_address_balances_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/migrations" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/migrations/migrate_deliver_tx_gas_limit.go b/x/evm/migrations/migrate_deliver_tx_gas_limit.go index 3c082f9738..1edab059a0 100644 --- a/x/evm/migrations/migrate_deliver_tx_gas_limit.go +++ b/x/evm/migrations/migrate_deliver_tx_gas_limit.go @@ -1,7 +1,7 @@ package migrations import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/migrations/migrate_eip_1559_max_base_fee.go b/x/evm/migrations/migrate_eip_1559_max_base_fee.go index f5d3fd9b66..8c40518a3c 100644 --- a/x/evm/migrations/migrate_eip_1559_max_base_fee.go +++ b/x/evm/migrations/migrate_eip_1559_max_base_fee.go @@ -1,7 +1,7 @@ package migrations import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/migrations/migrate_eip_1559_max_base_fee_test.go b/x/evm/migrations/migrate_eip_1559_max_base_fee_test.go index 541cb3daef..63e4d45be7 100644 --- a/x/evm/migrations/migrate_eip_1559_max_base_fee_test.go +++ b/x/evm/migrations/migrate_eip_1559_max_base_fee_test.go @@ -3,7 +3,7 @@ package migrations_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/migrations" diff --git a/x/evm/migrations/migrate_eip_1559_params.go b/x/evm/migrations/migrate_eip_1559_params.go index f3d8975c2b..310e1fcb79 100644 --- a/x/evm/migrations/migrate_eip_1559_params.go +++ b/x/evm/migrations/migrate_eip_1559_params.go @@ -1,7 +1,7 @@ package migrations import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/migrations/migrate_eip_1559_params_test.go b/x/evm/migrations/migrate_eip_1559_params_test.go index 5f60fa6b87..40c0062ac9 100644 --- a/x/evm/migrations/migrate_eip_1559_params_test.go +++ b/x/evm/migrations/migrate_eip_1559_params_test.go @@ -3,7 +3,7 @@ package migrations_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmtypes "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/migrations" diff --git a/x/evm/migrations/migrate_remove_curr_block_base_fee.go b/x/evm/migrations/migrate_remove_curr_block_base_fee.go index ad5b1f5b6c..47a703defb 100644 --- a/x/evm/migrations/migrate_remove_curr_block_base_fee.go +++ b/x/evm/migrations/migrate_remove_curr_block_base_fee.go @@ -1,7 +1,7 @@ package migrations import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/migrations/migrate_remove_curr_block_base_fee_test.go b/x/evm/migrations/migrate_remove_curr_block_base_fee_test.go index 5c20d1a886..3f4170c366 100644 --- a/x/evm/migrations/migrate_remove_curr_block_base_fee_test.go +++ b/x/evm/migrations/migrate_remove_curr_block_base_fee_test.go @@ -3,7 +3,7 @@ package migrations_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/migrations" "github.com/stretchr/testify/require" diff --git a/x/evm/migrations/migrate_remove_tx_hashes.go b/x/evm/migrations/migrate_remove_tx_hashes.go index 8e7d0d10c5..207d7d0d4c 100644 --- a/x/evm/migrations/migrate_remove_tx_hashes.go +++ b/x/evm/migrations/migrate_remove_tx_hashes.go @@ -1,8 +1,8 @@ package migrations import ( - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/migrations/migrate_sstore_gas.go b/x/evm/migrations/migrate_sstore_gas.go index e10f2caf7e..9d3e1cdcfa 100644 --- a/x/evm/migrations/migrate_sstore_gas.go +++ b/x/evm/migrations/migrate_sstore_gas.go @@ -1,7 +1,7 @@ package migrations import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/migrations/store_cw_pointer_code.go b/x/evm/migrations/store_cw_pointer_code.go index 651fc0476b..18fb37760f 100644 --- a/x/evm/migrations/store_cw_pointer_code.go +++ b/x/evm/migrations/store_cw_pointer_code.go @@ -1,8 +1,8 @@ package migrations import ( - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/artifacts/erc1155" "github.com/sei-protocol/sei-chain/x/evm/artifacts/erc20" "github.com/sei-protocol/sei-chain/x/evm/artifacts/erc721" diff --git a/x/evm/module.go b/x/evm/module.go index 13d1ebcdf2..43b8ec27ea 100644 --- a/x/evm/module.go +++ b/x/evm/module.go @@ -13,11 +13,11 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" "github.com/sei-protocol/sei-chain/x/evm/client/cli" "github.com/sei-protocol/sei-chain/x/evm/keeper" "github.com/sei-protocol/sei-chain/x/evm/migrations" @@ -59,7 +59,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the evm module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState - if err := cdc.UnmarshalJSON(bz, &genState); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } return genState.Validate() @@ -78,7 +78,7 @@ func (am AppModuleBasic) ValidateGenesisStream(cdc codec.JSONCodec, config clien defer close(genesisStateCh) for genesis := range genesisCh { var data types.GenesisState - err_ := cdc.UnmarshalJSON(genesis, &data) + err_ := cdc.UnmarshalAsJSON(genesis, &data) if err_ != nil { err = err_ doneCh <- struct{}{} diff --git a/x/evm/module_test.go b/x/evm/module_test.go index 8b3f3fbea7..bf18dd4c44 100644 --- a/x/evm/module_test.go +++ b/x/evm/module_test.go @@ -7,19 +7,19 @@ import ( "math/big" "testing" - "github.com/cosmos/cosmos-sdk/client" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/holiman/uint256" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/auth/vesting" - vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting" + vestingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/vesting/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm" diff --git a/x/evm/querier/config.go b/x/evm/querier/config.go index 8997594e23..2dbd6c2dec 100644 --- a/x/evm/querier/config.go +++ b/x/evm/querier/config.go @@ -1,7 +1,7 @@ package querier import ( - servertypes "github.com/cosmos/cosmos-sdk/server/types" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" "github.com/spf13/cast" ) diff --git a/x/evm/replay/config.go b/x/evm/replay/config.go index f718e1a565..0838f422db 100644 --- a/x/evm/replay/config.go +++ b/x/evm/replay/config.go @@ -1,7 +1,7 @@ package replay import ( - servertypes "github.com/cosmos/cosmos-sdk/server/types" + servertypes "github.com/sei-protocol/sei-chain/sei-cosmos/server/types" "github.com/spf13/cast" ) diff --git a/x/evm/state/balance.go b/x/evm/state/balance.go index 4e4008ec09..11161c9592 100644 --- a/x/evm/state/balance.go +++ b/x/evm/state/balance.go @@ -3,10 +3,10 @@ package state import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/state/balance_test.go b/x/evm/state/balance_test.go index 0aa2daf731..c621de944d 100644 --- a/x/evm/state/balance_test.go +++ b/x/evm/state/balance_test.go @@ -4,9 +4,9 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/core/tracing" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/state/expected_keepers.go b/x/evm/state/expected_keepers.go index acede4102c..689aafeebb 100644 --- a/x/evm/state/expected_keepers.go +++ b/x/evm/state/expected_keepers.go @@ -3,11 +3,11 @@ package state import ( "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + upgradekeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/upgrade/keeper" ) type EVMKeeper interface { diff --git a/x/evm/state/journal.go b/x/evm/state/journal.go index 202547c71e..73e03b6b1d 100644 --- a/x/evm/state/journal.go +++ b/x/evm/state/journal.go @@ -3,8 +3,8 @@ package state import ( "encoding/binary" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type journalEntry interface { diff --git a/x/evm/state/journal_test.go b/x/evm/state/journal_test.go index f77a590101..20fa68816a 100644 --- a/x/evm/state/journal_test.go +++ b/x/evm/state/journal_test.go @@ -4,8 +4,8 @@ import ( "encoding/binary" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/x/evm/state/mock_balances.go b/x/evm/state/mock_balances.go index d49de81c90..c04b2b0afa 100644 --- a/x/evm/state/mock_balances.go +++ b/x/evm/state/mock_balances.go @@ -18,8 +18,8 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/state/state.go b/x/evm/state/state.go index eeb64a13e5..0a090ff326 100644 --- a/x/evm/state/state.go +++ b/x/evm/state/state.go @@ -3,11 +3,11 @@ package state import ( "bytes" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/holiman/uint256" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" "github.com/sei-protocol/sei-chain/x/evm/types" ) diff --git a/x/evm/state/state_test.go b/x/evm/state/state_test.go index 96417720c9..097951ed1e 100644 --- a/x/evm/state/state_test.go +++ b/x/evm/state/state_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/tracing" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" "github.com/sei-protocol/sei-chain/x/evm/state" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/state/statedb.go b/x/evm/state/statedb.go index bf5a9b454e..62e9aab626 100644 --- a/x/evm/state/statedb.go +++ b/x/evm/state/statedb.go @@ -1,7 +1,6 @@ package state import ( - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/state" "github.com/ethereum/go-ethereum/core/stateless" @@ -9,6 +8,7 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" ethutils "github.com/ethereum/go-ethereum/trie/utils" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/x/evm/state/utils.go b/x/evm/state/utils.go index a79a3691df..225ee7655a 100644 --- a/x/evm/state/utils.go +++ b/x/evm/state/utils.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // UseiToSweiMultiplier Fields that were denominated in usei will be converted to swei (1usei = 10^12swei) diff --git a/x/evm/types/codec.go b/x/evm/types/codec.go index 4372c7e504..909749c43d 100644 --- a/x/evm/types/codec.go +++ b/x/evm/types/codec.go @@ -5,14 +5,14 @@ import ( "errors" fmt "fmt" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/gogo/protobuf/proto" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/evm/types/ethtx" ) diff --git a/x/evm/types/ethtx/access_list_tx.go b/x/evm/types/ethtx/access_list_tx.go index 06f4306a22..6acc097dce 100644 --- a/x/evm/types/ethtx/access_list_tx.go +++ b/x/evm/types/ethtx/access_list_tx.go @@ -5,7 +5,7 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" diff --git a/x/evm/types/ethtx/access_list_tx_setter.go b/x/evm/types/ethtx/access_list_tx_setter.go index a532518d58..5ad3e2ea18 100644 --- a/x/evm/types/ethtx/access_list_tx_setter.go +++ b/x/evm/types/ethtx/access_list_tx_setter.go @@ -1,6 +1,6 @@ package ethtx -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" func (tx *AccessListTx) SetTo(v string) { tx.To = v diff --git a/x/evm/types/ethtx/access_list_tx_test.go b/x/evm/types/ethtx/access_list_tx_test.go index b9dd1b62e9..5e98d9b809 100644 --- a/x/evm/types/ethtx/access_list_tx_test.go +++ b/x/evm/types/ethtx/access_list_tx_test.go @@ -5,9 +5,9 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/x/evm/types/ethtx/auth_list.go b/x/evm/types/ethtx/auth_list.go index 19726eb67a..635abf70f8 100644 --- a/x/evm/types/ethtx/auth_list.go +++ b/x/evm/types/ethtx/auth_list.go @@ -3,10 +3,10 @@ package ethtx import ( "math" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type AuthList []SetCodeAuthorization diff --git a/x/evm/types/ethtx/blob_tx.go b/x/evm/types/ethtx/blob_tx.go index b024fa7a89..e57f82f8e8 100644 --- a/x/evm/types/ethtx/blob_tx.go +++ b/x/evm/types/ethtx/blob_tx.go @@ -5,12 +5,12 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto/kzg4844" "github.com/ethereum/go-ethereum/params" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/x/evm/types/ethtx/blob_tx_setter.go b/x/evm/types/ethtx/blob_tx_setter.go index 7d5449cd52..a458760eb0 100644 --- a/x/evm/types/ethtx/blob_tx_setter.go +++ b/x/evm/types/ethtx/blob_tx_setter.go @@ -1,6 +1,6 @@ package ethtx -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" func (tx *BlobTx) SetTo(v string) { tx.To = v diff --git a/x/evm/types/ethtx/blob_tx_test.go b/x/evm/types/ethtx/blob_tx_test.go index 53ab9ec4ed..105dbdf4e9 100644 --- a/x/evm/types/ethtx/blob_tx_test.go +++ b/x/evm/types/ethtx/blob_tx_test.go @@ -5,11 +5,11 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto/kzg4844" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/x/evm/types/ethtx/dynamic_fee_tx.go b/x/evm/types/ethtx/dynamic_fee_tx.go index e118ab4566..9d67756107 100644 --- a/x/evm/types/ethtx/dynamic_fee_tx.go +++ b/x/evm/types/ethtx/dynamic_fee_tx.go @@ -5,9 +5,9 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func NewDynamicFeeTx(tx *ethtypes.Transaction) (*DynamicFeeTx, error) { diff --git a/x/evm/types/ethtx/dynamic_fee_tx_setter.go b/x/evm/types/ethtx/dynamic_fee_tx_setter.go index 2b173345f3..0fe3439c66 100644 --- a/x/evm/types/ethtx/dynamic_fee_tx_setter.go +++ b/x/evm/types/ethtx/dynamic_fee_tx_setter.go @@ -1,6 +1,6 @@ package ethtx -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" func (tx *DynamicFeeTx) SetTo(v string) { tx.To = v diff --git a/x/evm/types/ethtx/dynamic_fee_tx_test.go b/x/evm/types/ethtx/dynamic_fee_tx_test.go index 1031907f34..1186395f63 100644 --- a/x/evm/types/ethtx/dynamic_fee_tx_test.go +++ b/x/evm/types/ethtx/dynamic_fee_tx_test.go @@ -5,9 +5,9 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/x/evm/types/ethtx/legacy_tx.go b/x/evm/types/ethtx/legacy_tx.go index 657a9fd8e1..ede8ce4e19 100644 --- a/x/evm/types/ethtx/legacy_tx.go +++ b/x/evm/types/ethtx/legacy_tx.go @@ -5,9 +5,9 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/x/evm/types/ethtx/legacy_tx_setter.go b/x/evm/types/ethtx/legacy_tx_setter.go index a112c9af0b..7c87470c74 100644 --- a/x/evm/types/ethtx/legacy_tx_setter.go +++ b/x/evm/types/ethtx/legacy_tx_setter.go @@ -1,6 +1,6 @@ package ethtx -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" func (tx *LegacyTx) SetTo(v string) { tx.To = v diff --git a/x/evm/types/ethtx/legacy_tx_test.go b/x/evm/types/ethtx/legacy_tx_test.go index 3f784de4c3..b9fe5eeb58 100644 --- a/x/evm/types/ethtx/legacy_tx_test.go +++ b/x/evm/types/ethtx/legacy_tx_test.go @@ -5,9 +5,9 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" ) diff --git a/x/evm/types/ethtx/set_code_tx.go b/x/evm/types/ethtx/set_code_tx.go index 2688cdf9c3..80a579e148 100644 --- a/x/evm/types/ethtx/set_code_tx.go +++ b/x/evm/types/ethtx/set_code_tx.go @@ -5,10 +5,10 @@ import ( "fmt" "math/big" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/holiman/uint256" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func NewSetCodeTx(tx *ethtypes.Transaction) (*SetCodeTx, error) { diff --git a/x/evm/types/ethtx/set_code_tx_setter.go b/x/evm/types/ethtx/set_code_tx_setter.go index 38d2425ec7..928cc8ae65 100644 --- a/x/evm/types/ethtx/set_code_tx_setter.go +++ b/x/evm/types/ethtx/set_code_tx_setter.go @@ -1,6 +1,6 @@ package ethtx -import sdk "github.com/cosmos/cosmos-sdk/types" +import sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" func (tx *SetCodeTx) SetTo(v string) { tx.To = v diff --git a/x/evm/types/ethtx/tx.pb.go b/x/evm/types/ethtx/tx.pb.go index cbebf6d990..bde6b897d6 100644 --- a/x/evm/types/ethtx/tx.pb.go +++ b/x/evm/types/ethtx/tx.pb.go @@ -5,9 +5,9 @@ package ethtx import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -104,9 +104,9 @@ func (m *AssociateTx) XXX_DiscardUnknown() { var xxx_messageInfo_AssociateTx proto.InternalMessageInfo type SetCodeAuthorization struct { - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` + ChainID *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"chainID"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` // signature values V []byte `protobuf:"bytes,4,opt,name=v,proto3" json:"v,omitempty"` R []byte `protobuf:"bytes,5,opt,name=r,proto3" json:"r,omitempty"` @@ -147,12 +147,12 @@ func (m *SetCodeAuthorization) XXX_DiscardUnknown() { var xxx_messageInfo_SetCodeAuthorization proto.InternalMessageInfo type LegacyTx struct { - Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` - GasPrice *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_price,omitempty"` - GasLimit uint64 `protobuf:"varint,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` - To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` - Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` + Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` + GasPrice *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_price,omitempty"` + GasLimit uint64 `protobuf:"varint,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` + To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` + Amount *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,5,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` + Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // signature values V []byte `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"` R []byte `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"` @@ -193,14 +193,14 @@ func (m *LegacyTx) XXX_DiscardUnknown() { var xxx_messageInfo_LegacyTx proto.InternalMessageInfo type AccessListTx struct { - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` - Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` - GasPrice *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_price,omitempty"` - GasLimit uint64 `protobuf:"varint,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` - To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` - Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` - Accesses AccessList `protobuf:"bytes,8,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` + ChainID *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"chainID"` + Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` + GasPrice *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_price,omitempty"` + GasLimit uint64 `protobuf:"varint,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` + To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` + Amount *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,6,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` + Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` + Accesses AccessList `protobuf:"bytes,8,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` // signature values V []byte `protobuf:"bytes,9,opt,name=v,proto3" json:"v,omitempty"` R []byte `protobuf:"bytes,10,opt,name=r,proto3" json:"r,omitempty"` @@ -241,16 +241,16 @@ func (m *AccessListTx) XXX_DiscardUnknown() { var xxx_messageInfo_AccessListTx proto.InternalMessageInfo type SetCodeTx struct { - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` - Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` - GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_tip_cap,omitempty"` - GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_fee_cap,omitempty"` - GasLimit uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` - To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` - Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` - Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` - AuthList AuthList `protobuf:"bytes,10,rep,name=auth_list,json=authList,proto3,castrepeated=AuthList" json:"authList"` + ChainID *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"chainID"` + Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` + GasTipCap *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_tip_cap,omitempty"` + GasFeeCap *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_fee_cap,omitempty"` + GasLimit uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` + To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` + Amount *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` + Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` + Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` + AuthList AuthList `protobuf:"bytes,10,rep,name=auth_list,json=authList,proto3,castrepeated=AuthList" json:"authList"` // signature values V []byte `protobuf:"bytes,11,opt,name=v,proto3" json:"v,omitempty"` R []byte `protobuf:"bytes,12,opt,name=r,proto3" json:"r,omitempty"` @@ -291,15 +291,15 @@ func (m *SetCodeTx) XXX_DiscardUnknown() { var xxx_messageInfo_SetCodeTx proto.InternalMessageInfo type DynamicFeeTx struct { - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` - Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` - GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_tip_cap,omitempty"` - GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_fee_cap,omitempty"` - GasLimit uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` - To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` - Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` - Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` + ChainID *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"chainID"` + Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` + GasTipCap *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_tip_cap,omitempty"` + GasFeeCap *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_fee_cap,omitempty"` + GasLimit uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` + To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` + Amount *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` + Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` + Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` // signature values V []byte `protobuf:"bytes,10,opt,name=v,proto3" json:"v,omitempty"` R []byte `protobuf:"bytes,11,opt,name=r,proto3" json:"r,omitempty"` @@ -340,18 +340,18 @@ func (m *DynamicFeeTx) XXX_DiscardUnknown() { var xxx_messageInfo_DynamicFeeTx proto.InternalMessageInfo type BlobTx struct { - ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` - Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` - GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_tip_cap,omitempty"` - GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"gas_fee_cap,omitempty"` - GasLimit uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` - To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` - Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` - Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` - Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` - BlobFeeCap *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,10,opt,name=blob_fee_cap,json=blobFeeCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"blob_fee_cap,omitempty"` - BlobHashes [][]byte `protobuf:"bytes,11,rep,name=blob_hashes,json=blobHashes,proto3" json:"blob_hashes,omitempty"` - Sidecar *BlobTxSidecar `protobuf:"bytes,12,opt,name=sidecar,proto3" json:"sidecar,omitempty"` + ChainID *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"chainID"` + Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` + GasTipCap *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_tip_cap,omitempty"` + GasFeeCap *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"gas_fee_cap,omitempty"` + GasLimit uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` + To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` + Amount *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` + Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` + Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` + BlobFeeCap *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,10,opt,name=blob_fee_cap,json=blobFeeCap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"blob_fee_cap,omitempty"` + BlobHashes [][]byte `protobuf:"bytes,11,rep,name=blob_hashes,json=blobHashes,proto3" json:"blob_hashes,omitempty"` + Sidecar *BlobTxSidecar `protobuf:"bytes,12,opt,name=sidecar,proto3" json:"sidecar,omitempty"` // signature values V []byte `protobuf:"bytes,13,opt,name=v,proto3" json:"v,omitempty"` R []byte `protobuf:"bytes,14,opt,name=r,proto3" json:"r,omitempty"` @@ -503,63 +503,63 @@ func init() { func init() { proto.RegisterFile("eth/tx.proto", fileDescriptor_5aa89218db340ee8) } var fileDescriptor_5aa89218db340ee8 = []byte{ - // 893 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x97, 0x4f, 0x8b, 0xdb, 0x46, - 0x18, 0xc6, 0x57, 0xfe, 0x2b, 0xbd, 0xd2, 0x6e, 0x40, 0x2c, 0x45, 0xa4, 0xc5, 0x32, 0x0b, 0x69, - 0x97, 0x42, 0x6c, 0xd8, 0xf4, 0xd4, 0x53, 0xed, 0x4d, 0xd2, 0x26, 0xdd, 0xd0, 0xa2, 0xf8, 0xd4, - 0x1e, 0xcc, 0x58, 0x7a, 0x63, 0x0d, 0xb1, 0x34, 0x42, 0x33, 0x5e, 0xec, 0x7e, 0x82, 0x1e, 0xfb, - 0x11, 0x0a, 0x85, 0x1e, 0xfa, 0x15, 0xfa, 0x05, 0x72, 0x0c, 0xf4, 0x52, 0x7a, 0x70, 0xcb, 0xee, - 0xa1, 0xb0, 0xf4, 0x43, 0x94, 0x99, 0xd1, 0x3a, 0x1e, 0xb2, 0x86, 0x26, 0x6c, 0xe8, 0x21, 0x39, - 0x79, 0xde, 0xd1, 0xcc, 0x3b, 0xef, 0xfb, 0x3c, 0x3f, 0x8f, 0x10, 0x78, 0x28, 0xd2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 0x5f, 0x67, 0x1d, 0xeb, 0x87, 0xf3, 0xce, 0xce, 0xf3, 0xf3, 0xce, 0xce, 0xef, 0xe7, - 0x9d, 0x9d, 0x6f, 0xee, 0x6c, 0xc8, 0xcc, 0x91, 0xde, 0xbe, 0xd4, 0x42, 0x05, 0x4a, 0x8c, 0xfe, - 0xa2, 0x8f, 0xa7, 0x99, 0x56, 0xbc, 0x8f, 0x22, 0x15, 0x8b, 0x49, 0x4b, 0xad, 0xba, 0xf3, 0x6f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xec, 0x4c, 0x18, 0x12, 0x9f, 0x0d, 0x00, 0x00, + // 888 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x97, 0x41, 0x6b, 0xe3, 0x46, + 0x14, 0xc7, 0x2d, 0x5b, 0xb6, 0xa5, 0x27, 0x25, 0x0b, 0x22, 0x14, 0xb1, 0x2d, 0x96, 0x09, 0x2c, + 0xcd, 0xa5, 0x36, 0x64, 0xa1, 0x87, 0xbd, 0xd9, 0xc9, 0x2e, 0x5d, 0x9a, 0xa5, 0x8b, 0xd6, 0x50, + 0x08, 0x05, 0x33, 0x96, 0xdf, 0x5a, 0xc3, 0x5a, 0x1a, 0xa1, 0x19, 0x07, 0xbb, 0x9f, 0xa0, 0xc7, + 0x7e, 0x80, 0x1e, 0x7a, 0xee, 0x17, 0xe8, 0x37, 0x28, 0x7b, 0xdc, 0x63, 0xe9, 0xc1, 0x2d, 0xf1, + 0x2d, 0x5f, 0xa1, 0x97, 0x32, 0x1a, 0xc5, 0xeb, 0x61, 0x63, 0x0a, 0x4d, 0x52, 0xf6, 0xe0, 0xdb, + 0x7b, 0x33, 0x93, 0xff, 0xcc, 0xfb, 0xbf, 0xdf, 0x8c, 0x23, 0x70, 0x51, 0xc4, 0x5d, 0x31, 0xef, + 0x64, 0x39, 0x13, 0xcc, 0xf3, 0x39, 0xd2, 0x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bb, + 0x55, 0xab, 0xf2, 0xfb, 0xaa, 0x55, 0x39, 0x7f, 0xfc, 0xef, 0xb6, 0xcf, 0xbb, 0x78, 0x91, 0x28, + 0xc7, 0xbb, 0x28, 0x62, 0x31, 0x1f, 0x35, 0x8a, 0x55, 0x8f, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, + 0x52, 0x90, 0xf8, 0x9d, 0xcf, 0x0e, 0x00, 0x00, } func (m *AccessTuple) Marshal() (dAtA []byte, err error) { @@ -2213,7 +2213,7 @@ func (m *SetCodeAuthorization) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.ChainID = &v if err := m.ChainID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2471,7 +2471,7 @@ func (m *LegacyTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.GasPrice = &v if err := m.GasPrice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2558,7 +2558,7 @@ func (m *LegacyTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.Amount = &v if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2780,7 +2780,7 @@ func (m *AccessListTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.ChainID = &v if err := m.ChainID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2835,7 +2835,7 @@ func (m *AccessListTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.GasPrice = &v if err := m.GasPrice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2922,7 +2922,7 @@ func (m *AccessListTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.Amount = &v if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3178,7 +3178,7 @@ func (m *SetCodeTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.ChainID = &v if err := m.ChainID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3233,7 +3233,7 @@ func (m *SetCodeTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.GasTipCap = &v if err := m.GasTipCap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3269,7 +3269,7 @@ func (m *SetCodeTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.GasFeeCap = &v if err := m.GasFeeCap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3356,7 +3356,7 @@ func (m *SetCodeTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.Amount = &v if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3646,7 +3646,7 @@ func (m *DynamicFeeTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.ChainID = &v if err := m.ChainID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3701,7 +3701,7 @@ func (m *DynamicFeeTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.GasTipCap = &v if err := m.GasTipCap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3737,7 +3737,7 @@ func (m *DynamicFeeTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.GasFeeCap = &v if err := m.GasFeeCap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3824,7 +3824,7 @@ func (m *DynamicFeeTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.Amount = &v if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -4080,7 +4080,7 @@ func (m *BlobTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.ChainID = &v if err := m.ChainID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -4135,7 +4135,7 @@ func (m *BlobTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.GasTipCap = &v if err := m.GasTipCap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -4171,7 +4171,7 @@ func (m *BlobTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.GasFeeCap = &v if err := m.GasFeeCap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -4258,7 +4258,7 @@ func (m *BlobTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.Amount = &v if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -4362,7 +4362,7 @@ func (m *BlobTx) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.BlobFeeCap = &v if err := m.BlobFeeCap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/evm/types/gov.go b/x/evm/types/gov.go index b53197c205..0c36abd6ee 100644 --- a/x/evm/types/gov.go +++ b/x/evm/types/gov.go @@ -6,9 +6,9 @@ import ( "math" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) const ( diff --git a/x/evm/types/keys.go b/x/evm/types/keys.go index e125b69a02..9484f929d2 100644 --- a/x/evm/types/keys.go +++ b/x/evm/types/keys.go @@ -5,8 +5,8 @@ import ( "encoding/binary" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/x/evm/types/keys_test.go b/x/evm/types/keys_test.go index c0191bcfb5..89160a7166 100644 --- a/x/evm/types/keys_test.go +++ b/x/evm/types/keys_test.go @@ -4,7 +4,7 @@ import ( "sort" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/ethereum/go-ethereum/common" diff --git a/x/evm/types/message_associate.go b/x/evm/types/message_associate.go index 11427d70d2..5b540c8f22 100644 --- a/x/evm/types/message_associate.go +++ b/x/evm/types/message_associate.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const TypeMsgAssociate = "evm_associate" diff --git a/x/evm/types/message_associate_contract_address.go b/x/evm/types/message_associate_contract_address.go index 9f560964c7..ff9fc61ec8 100644 --- a/x/evm/types/message_associate_contract_address.go +++ b/x/evm/types/message_associate_contract_address.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const TypeMsgAssociateContractAddress = "evm_associate_contract_address" diff --git a/x/evm/types/message_claim.go b/x/evm/types/message_claim.go index f3f90351fb..c56949811d 100644 --- a/x/evm/types/message_claim.go +++ b/x/evm/types/message_claim.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const TypeMsgClaim = "evm_claim" diff --git a/x/evm/types/message_claim_specific.go b/x/evm/types/message_claim_specific.go index 19a19e7a7a..e5ae95e89c 100644 --- a/x/evm/types/message_claim_specific.go +++ b/x/evm/types/message_claim_specific.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/utils" ) diff --git a/x/evm/types/message_claim_test.go b/x/evm/types/message_claim_test.go index f3cea1b229..7cae46b094 100644 --- a/x/evm/types/message_claim_test.go +++ b/x/evm/types/message_claim_test.go @@ -3,8 +3,8 @@ package types_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/stretchr/testify/require" ) diff --git a/x/evm/types/message_evm_transaction.go b/x/evm/types/message_evm_transaction.go index c408b07571..78e9595d6f 100644 --- a/x/evm/types/message_evm_transaction.go +++ b/x/evm/types/message_evm_transaction.go @@ -1,11 +1,11 @@ package types import ( - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/gogo/protobuf/proto" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/x/evm/types/ethtx" ) diff --git a/x/evm/types/message_evm_transaction_test.go b/x/evm/types/message_evm_transaction_test.go index bf909321dd..c14f4f4177 100644 --- a/x/evm/types/message_evm_transaction_test.go +++ b/x/evm/types/message_evm_transaction_test.go @@ -5,10 +5,10 @@ import ( "math/big" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types" testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper" diff --git a/x/evm/types/message_internal_evm_call.go b/x/evm/types/message_internal_evm_call.go index 83e33eb7c5..1122339db5 100644 --- a/x/evm/types/message_internal_evm_call.go +++ b/x/evm/types/message_internal_evm_call.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/x/evm/types/message_internal_evm_delegate_call.go b/x/evm/types/message_internal_evm_delegate_call.go index c38cb60423..38e89b20af 100644 --- a/x/evm/types/message_internal_evm_delegate_call.go +++ b/x/evm/types/message_internal_evm_delegate_call.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) var ( diff --git a/x/evm/types/message_register_pointer.go b/x/evm/types/message_register_pointer.go index 84fb7331fc..962410c36a 100644 --- a/x/evm/types/message_register_pointer.go +++ b/x/evm/types/message_register_pointer.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const TypeMsgRegisterPointer = "evm_register_pointer" diff --git a/x/evm/types/message_send.go b/x/evm/types/message_send.go index d1f37e5377..af7bb305d2 100644 --- a/x/evm/types/message_send.go +++ b/x/evm/types/message_send.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) const TypeMsgSend = "evm_send" diff --git a/x/evm/types/message_send_test.go b/x/evm/types/message_send_test.go index 44bcdedf27..d7ab613419 100644 --- a/x/evm/types/message_send_test.go +++ b/x/evm/types/message_send_test.go @@ -1,8 +1,8 @@ package types_test import ( - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "testing" "github.com/sei-protocol/sei-chain/x/evm/types" diff --git a/x/evm/types/params.go b/x/evm/types/params.go index c7eedbec32..b6519c1186 100644 --- a/x/evm/types/params.go +++ b/x/evm/types/params.go @@ -4,8 +4,8 @@ import ( "errors" fmt "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "gopkg.in/yaml.v2" ) diff --git a/x/evm/types/params.pb.go b/x/evm/types/params.pb.go index bde24bab80..e7d575dd0b 100644 --- a/x/evm/types/params.pb.go +++ b/x/evm/types/params.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -30,13 +30,13 @@ type Params struct { // (gogoproto.moretags) = "yaml:\"base_denom\"", // (gogoproto.jsontag) = "base_denom" // ]; - PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` - BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` - MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` + PriorityNormalizer github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` + BaseFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` + MinimumFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // ]; @@ -44,14 +44,14 @@ type Params struct { // (gogoproto.moretags) = "yaml:\"whitelisted_codehashes_bank_send\"", // (gogoproto.jsontag) = "whitelisted_codehashes_bank_send" // ]; - WhitelistedCwCodeHashesForDelegateCall [][]byte `protobuf:"bytes,8,rep,name=whitelisted_cw_code_hashes_for_delegate_call,json=whitelistedCwCodeHashesForDelegateCall,proto3" json:"whitelisted_cw_code_hashes_for_delegate_call" yaml:"whitelisted_cw_code_hashes_for_delegate_call"` - DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,9,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` - MaxDynamicBaseFeeUpwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` - MaxDynamicBaseFeeDownwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` - TargetGasUsedPerBlock uint64 `protobuf:"varint,12,opt,name=target_gas_used_per_block,json=targetGasUsedPerBlock,proto3" json:"target_gas_used_per_block,omitempty"` - MaximumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=maximum_fee_per_gas,json=maximumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maximum_fee_per_gas" yaml:"maximum_fee_per_gas"` - RegisterPointerDisabled bool `protobuf:"varint,14,opt,name=register_pointer_disabled,json=registerPointerDisabled,proto3" json:"register_pointer_disabled" yaml:"register_pointer_disabled"` - SeiSstoreSetGasEip2200 uint64 `protobuf:"varint,15,opt,name=sei_sstore_set_gas_eip2200,json=seiSstoreSetGasEip2200,proto3" json:"sei_sstore_set_gas_eip2200,omitempty"` + WhitelistedCwCodeHashesForDelegateCall [][]byte `protobuf:"bytes,8,rep,name=whitelisted_cw_code_hashes_for_delegate_call,json=whitelistedCwCodeHashesForDelegateCall,proto3" json:"whitelisted_cw_code_hashes_for_delegate_call" yaml:"whitelisted_cw_code_hashes_for_delegate_call"` + DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,9,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` + MaxDynamicBaseFeeUpwardAdjustment github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` + MaxDynamicBaseFeeDownwardAdjustment github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` + TargetGasUsedPerBlock uint64 `protobuf:"varint,12,opt,name=target_gas_used_per_block,json=targetGasUsedPerBlock,proto3" json:"target_gas_used_per_block,omitempty"` + MaximumFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,13,opt,name=maximum_fee_per_gas,json=maximumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"maximum_fee_per_gas" yaml:"maximum_fee_per_gas"` + RegisterPointerDisabled bool `protobuf:"varint,14,opt,name=register_pointer_disabled,json=registerPointerDisabled,proto3" json:"register_pointer_disabled" yaml:"register_pointer_disabled"` + SeiSstoreSetGasEip2200 uint64 `protobuf:"varint,15,opt,name=sei_sstore_set_gas_eip2200,json=seiSstoreSetGasEip2200,proto3" json:"sei_sstore_set_gas_eip2200,omitempty"` } func (m *Params) Reset() { *m = Params{} } @@ -128,14 +128,14 @@ type ParamsPreV580 struct { // (gogoproto.jsontag) = "base_denom" // // ]; - PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` - BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` - MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` + PriorityNormalizer github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` + BaseFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` + MinimumFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // @@ -195,15 +195,15 @@ type ParamsPreV600 struct { // (gogoproto.jsontag) = "base_denom" // // ]; - PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` - BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` - MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` - DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,5,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` + PriorityNormalizer github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` + BaseFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` + MinimumFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` + DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,5,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // @@ -270,14 +270,14 @@ type ParamsPreV601 struct { // (gogoproto.jsontag) = "base_denom" // // ]; - PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` - BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` - MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` + PriorityNormalizer github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` + BaseFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` + MinimumFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // @@ -288,11 +288,11 @@ type ParamsPreV601 struct { // (gogoproto.jsontag) = "whitelisted_codehashes_bank_send" // // ]; - WhitelistedCwCodeHashesForDelegateCall [][]byte `protobuf:"bytes,8,rep,name=whitelisted_cw_code_hashes_for_delegate_call,json=whitelistedCwCodeHashesForDelegateCall,proto3" json:"whitelisted_cw_code_hashes_for_delegate_call" yaml:"whitelisted_cw_code_hashes_for_delegate_call"` - DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,9,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` - MaxDynamicBaseFeeUpwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` - MaxDynamicBaseFeeDownwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` - TargetGasUsedPerBlock uint64 `protobuf:"varint,12,opt,name=target_gas_used_per_block,json=targetGasUsedPerBlock,proto3" json:"target_gas_used_per_block,omitempty"` + WhitelistedCwCodeHashesForDelegateCall [][]byte `protobuf:"bytes,8,rep,name=whitelisted_cw_code_hashes_for_delegate_call,json=whitelistedCwCodeHashesForDelegateCall,proto3" json:"whitelisted_cw_code_hashes_for_delegate_call" yaml:"whitelisted_cw_code_hashes_for_delegate_call"` + DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,9,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` + MaxDynamicBaseFeeUpwardAdjustment github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` + MaxDynamicBaseFeeDownwardAdjustment github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` + TargetGasUsedPerBlock uint64 `protobuf:"varint,12,opt,name=target_gas_used_per_block,json=targetGasUsedPerBlock,proto3" json:"target_gas_used_per_block,omitempty"` } func (m *ParamsPreV601) Reset() { *m = ParamsPreV601{} } @@ -355,14 +355,14 @@ type ParamsPreV606 struct { // (gogoproto.jsontag) = "base_denom" // // ]; - PriorityNormalizer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` - BaseFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` - MinimumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` + PriorityNormalizer github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=priority_normalizer,json=priorityNormalizer,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"priority_normalizer" yaml:"priority_normalizer"` + BaseFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,3,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"base_fee_per_gas" yaml:"base_fee_per_gas"` + MinimumFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,4,opt,name=minimum_fee_per_gas,json=minimumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"minimum_fee_per_gas" yaml:"minimum_fee_per_gas"` // ChainConfig chain_config = 5 [(gogoproto.moretags) = "yaml:\"chain_config\"", (gogoproto.nullable) = false]; // // string chain_id = 6 [ // (gogoproto.moretags) = "yaml:\"chain_id\"", - // (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + // (gogoproto.customtype) = "github.com/sei-protocol/sei-chain/sei-cosmos/types.Int", // (gogoproto.nullable) = false, // (gogoproto.jsontag) = "chain_id" // @@ -373,12 +373,12 @@ type ParamsPreV606 struct { // (gogoproto.jsontag) = "whitelisted_codehashes_bank_send" // // ]; - WhitelistedCwCodeHashesForDelegateCall [][]byte `protobuf:"bytes,8,rep,name=whitelisted_cw_code_hashes_for_delegate_call,json=whitelistedCwCodeHashesForDelegateCall,proto3" json:"whitelisted_cw_code_hashes_for_delegate_call" yaml:"whitelisted_cw_code_hashes_for_delegate_call"` - DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,9,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` - MaxDynamicBaseFeeUpwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` - MaxDynamicBaseFeeDownwardAdjustment github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` - TargetGasUsedPerBlock uint64 `protobuf:"varint,12,opt,name=target_gas_used_per_block,json=targetGasUsedPerBlock,proto3" json:"target_gas_used_per_block,omitempty"` - MaximumFeePerGas github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=maximum_fee_per_gas,json=maximumFeePerGas,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maximum_fee_per_gas" yaml:"maximum_fee_per_gas"` + WhitelistedCwCodeHashesForDelegateCall [][]byte `protobuf:"bytes,8,rep,name=whitelisted_cw_code_hashes_for_delegate_call,json=whitelistedCwCodeHashesForDelegateCall,proto3" json:"whitelisted_cw_code_hashes_for_delegate_call" yaml:"whitelisted_cw_code_hashes_for_delegate_call"` + DeliverTxHookWasmGasLimit uint64 `protobuf:"varint,9,opt,name=deliver_tx_hook_wasm_gas_limit,json=deliverTxHookWasmGasLimit,proto3" json:"deliver_tx_hook_wasm_gas_limit,omitempty"` + MaxDynamicBaseFeeUpwardAdjustment github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,10,opt,name=max_dynamic_base_fee_upward_adjustment,json=maxDynamicBaseFeeUpwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_upward_adjustment" yaml:"max_dynamic_base_fee_upward_adjustment"` + MaxDynamicBaseFeeDownwardAdjustment github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,11,opt,name=max_dynamic_base_fee_downward_adjustment,json=maxDynamicBaseFeeDownwardAdjustment,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"max_dynamic_base_fee_downward_adjustment" yaml:"max_dynamic_base_fee_downward_adjustment"` + TargetGasUsedPerBlock uint64 `protobuf:"varint,12,opt,name=target_gas_used_per_block,json=targetGasUsedPerBlock,proto3" json:"target_gas_used_per_block,omitempty"` + MaximumFeePerGas github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,13,opt,name=maximum_fee_per_gas,json=maximumFeePerGas,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"maximum_fee_per_gas" yaml:"maximum_fee_per_gas"` } func (m *ParamsPreV606) Reset() { *m = ParamsPreV606{} } @@ -446,58 +446,58 @@ func init() { proto.RegisterFile("evm/params.proto", fileDescriptor_9272f3679901 var fileDescriptor_9272f3679901ea94 = []byte{ // 819 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcf, 0x6b, 0x2b, 0x45, - 0x1c, 0xcf, 0xfa, 0xfa, 0x1e, 0xaf, 0x6b, 0xab, 0x65, 0x9f, 0xfa, 0xb6, 0x3d, 0x64, 0xe3, 0x0a, - 0x25, 0x07, 0xf3, 0xc3, 0x16, 0x4b, 0xe9, 0xad, 0x69, 0x6c, 0x7a, 0x10, 0x09, 0x5b, 0xab, 0x20, - 0xc8, 0x30, 0xd9, 0xfd, 0x76, 0x33, 0x66, 0x27, 0xb3, 0xcc, 0x6c, 0x7e, 0x09, 0x5e, 0x05, 0x0f, - 0x82, 0x14, 0x0f, 0x1e, 0xfb, 0xcf, 0x08, 0x3d, 0xf6, 0x22, 0x8a, 0xe0, 0x22, 0x2d, 0x5e, 0x8a, - 0xa7, 0xfc, 0x05, 0xb2, 0xb3, 0xdb, 0x36, 0x69, 0x52, 0xdb, 0x14, 0x41, 0xfa, 0xd8, 0x53, 0x36, - 0xf3, 0xf9, 0xcc, 0x77, 0xbe, 0xbf, 0xbf, 0xc3, 0xa8, 0x4b, 0xd0, 0xa5, 0x25, 0x1f, 0x73, 0x4c, - 0x45, 0xd1, 0xe7, 0x2c, 0x60, 0x9a, 0x2e, 0x80, 0xc8, 0x2f, 0x9b, 0x79, 0x45, 0x01, 0xc4, 0x6e, - 0x62, 0xd2, 0x2e, 0x42, 0x97, 0xae, 0xbc, 0xe5, 0x32, 0x97, 0x49, 0xa8, 0x14, 0x7d, 0xc5, 0x7c, - 0xf3, 0x78, 0x41, 0x7d, 0x56, 0x97, 0x02, 0xb4, 0x1f, 0x15, 0xf5, 0x85, 0xcf, 0x09, 0xe3, 0x24, - 0x18, 0xa0, 0x36, 0xe3, 0x14, 0x7b, 0xe4, 0x6b, 0xe0, 0xfa, 0x6b, 0x39, 0x25, 0x3f, 0x5f, 0xb1, - 0x4f, 0x42, 0x23, 0xf3, 0x7b, 0x68, 0xac, 0xba, 0x24, 0x68, 0x76, 0x1a, 0x45, 0x9b, 0xd1, 0x92, - 0xcd, 0x04, 0x65, 0x22, 0xf9, 0x29, 0x08, 0xa7, 0x55, 0x0a, 0x06, 0x3e, 0x88, 0x62, 0x15, 0xec, - 0x8b, 0xd0, 0x98, 0x26, 0x6c, 0x18, 0x1a, 0x2b, 0x03, 0x4c, 0xbd, 0x2d, 0x73, 0x0a, 0x68, 0x5a, - 0xda, 0xe5, 0xea, 0x27, 0x57, 0x8b, 0xda, 0xb7, 0x8a, 0xba, 0xd4, 0xc0, 0x02, 0xd0, 0x21, 0x00, - 0xf2, 0x81, 0x23, 0x17, 0x0b, 0xfd, 0x89, 0xd4, 0xe9, 0xcb, 0x99, 0x75, 0x9a, 0x90, 0x34, 0x0c, - 0x8d, 0x97, 0xb1, 0x42, 0x37, 0x11, 0xd3, 0x5a, 0x8c, 0x96, 0x76, 0x01, 0xea, 0xc0, 0x6b, 0x58, - 0x68, 0x47, 0x8a, 0xfa, 0x82, 0x92, 0x36, 0xa1, 0x1d, 0x3a, 0xa6, 0xcb, 0xdc, 0x43, 0xfd, 0x33, - 0x45, 0xd8, 0xb5, 0x7f, 0xa6, 0x80, 0xa6, 0xb5, 0x94, 0xac, 0x5e, 0x2b, 0xf5, 0xb3, 0xa2, 0xbe, - 0xdf, 0x6b, 0x92, 0x00, 0x3c, 0x22, 0x02, 0x70, 0x90, 0xdd, 0x43, 0x36, 0x73, 0x00, 0x35, 0xb1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xe5, 0xeb, 0xf3, 0x5c, 0xe6, 0xf4, + 0x3c, 0x97, 0xf9, 0xfd, 0x3c, 0x97, 0xf9, 0x74, 0xed, 0x6e, 0xf7, 0x7a, 0x25, 0xe8, 0xd0, 0xd8, + 0xb3, 0xc6, 0xb4, 0xc4, 0x37, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x08, 0x71, 0xbc, 0xbd, 0xdc, + 0x17, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/evm/types/params_test.go b/x/evm/types/params_test.go index 152248c43d..6e89cb11d1 100644 --- a/x/evm/types/params_test.go +++ b/x/evm/types/params_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/stretchr/testify/require" diff --git a/x/evm/types/tx.pb.go b/x/evm/types/tx.pb.go index 405b1bfef4..2d336e4ad5 100644 --- a/x/evm/types/tx.pb.go +++ b/x/evm/types/tx.pb.go @@ -6,12 +6,12 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/codec/types" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/types" github_com_sei_protocol_sei_chain_x_evm_derived "github.com/sei-protocol/sei-chain/x/evm/derived" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -154,10 +154,10 @@ func (m *MsgEVMTransactionResponse) GetLogs() []*Log { } type MsgInternalEVMCall struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` - Value *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` - To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` - Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Value *github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,2,opt,name=value,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"value,omitempty"` + To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` } func (m *MsgInternalEVMCall) Reset() { *m = MsgInternalEVMCall{} } @@ -365,9 +365,9 @@ func (m *MsgInternalEVMDelegateCallResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgInternalEVMDelegateCallResponse proto.InternalMessageInfo type MsgSend struct { - FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` - ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` - Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` + ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` + Amount github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/sei-protocol/sei-chain/sei-cosmos/types.Coins" json:"amount"` } func (m *MsgSend) Reset() { *m = MsgSend{} } @@ -417,7 +417,7 @@ func (m *MsgSend) GetToAddress() string { return "" } -func (m *MsgSend) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins { +func (m *MsgSend) GetAmount() github_com_sei_protocol_sei_chain_sei_cosmos_types.Coins { if m != nil { return m.Amount } @@ -935,69 +935,68 @@ func init() { func init() { proto.RegisterFile("evm/tx.proto", fileDescriptor_d72e73a3d1d93781) } var fileDescriptor_d72e73a3d1d93781 = []byte{ - // 978 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4d, 0x6f, 0xdb, 0x46, - 0x13, 0x36, 0x6d, 0xf9, 0x43, 0x63, 0xbf, 0x56, 0x4c, 0x18, 0x81, 0xac, 0xb7, 0x91, 0x5c, 0xa6, - 0x4e, 0x95, 0xb6, 0x26, 0x6b, 0xa7, 0x45, 0x0e, 0x6d, 0x81, 0x5a, 0xb6, 0xd1, 0x04, 0x28, 0xd1, - 0x82, 0x71, 0x72, 0xe8, 0x45, 0x58, 0x2d, 0xc7, 0x34, 0x51, 0x91, 0x2b, 0x70, 0x57, 0x42, 0x7c, - 0xe8, 0x3f, 0xe8, 0x21, 0x28, 0x0a, 0xb4, 0xbf, 0xa1, 0xa7, 0x5e, 0x7b, 0xe9, 0x39, 0xc7, 0x1c, - 0x8b, 0x1c, 0xdc, 0xc2, 0xfe, 0x23, 0xc5, 0x7e, 0x90, 0xb1, 0x65, 0x50, 0x91, 0x7b, 0xd2, 0xce, - 0xec, 0x33, 0xb3, 0xcf, 0x33, 0xb3, 0xb3, 0x14, 0xac, 0xe0, 0x28, 0xf1, 0xc4, 0x73, 0x77, 0x90, - 0x31, 0xc1, 0xec, 0x3a, 0xc7, 0x58, 0xad, 0x28, 0xeb, 0xbb, 0x1c, 0x63, 0x7a, 0x42, 0xe2, 0xd4, - 0xc5, 0x51, 0xd2, 0x68, 0x52, 0xc6, 0x13, 0xc6, 0xbd, 0x1e, 0xe1, 0xe8, 0x8d, 0x76, 0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 0x69, 0x72, 0x5e, 0xf7, 0x32, 0xa1, 0x75, 0x58, 0xbc, 0xda, 0xab, 0xdc, 0x74, 0xb6, 0xe0, - 0xee, 0x84, 0x84, 0x45, 0x61, 0x7d, 0x58, 0xb9, 0x0c, 0x2b, 0x3d, 0x68, 0x0b, 0x56, 0xe9, 0x90, - 0x0b, 0x96, 0x74, 0x13, 0xe4, 0x9c, 0x44, 0x66, 0x28, 0x83, 0xff, 0x69, 0xaf, 0xaf, 0x9d, 0xce, - 0x6d, 0x58, 0xbf, 0x9c, 0xae, 0x38, 0xe6, 0x73, 0x58, 0xf2, 0x79, 0xb4, 0xdf, 0x27, 0x71, 0x32, - 0x49, 0x0b, 0x95, 0x00, 0x2c, 0xde, 0x27, 0x63, 0x3a, 0x3f, 0x5a, 0x30, 0xbf, 0xc7, 0x39, 0x0a, - 0xbb, 0x03, 0x40, 0xe4, 0x42, 0xb7, 0xd5, 0x52, 0x6d, 0xbd, 0x5b, 0xde, 0x56, 0x15, 0xa4, 0x9a, - 0x5a, 0x25, 0xf9, 0xd2, 0xbe, 0x0f, 0xb7, 0xa8, 0xa9, 0xc6, 0xd8, 0x45, 0xaf, 0xd1, 0xb1, 0xb2, - 0xaf, 0xc3, 0x7c, 0x88, 0x29, 0x4b, 0x4c, 0xdf, 0xb5, 0xe1, 0xfc, 0x00, 0xb7, 0x72, 0x31, 0x4f, - 0x06, 0x48, 0xe3, 0xe3, 0x98, 0xde, 0x5c, 0x94, 0xfd, 0x10, 0x16, 0x14, 0x27, 0x6e, 0x46, 0xa9, - 0xf5, 0x16, 0x19, 0x81, 0x81, 0xef, 0xfe, 0x59, 0x81, 0x39, 0x9f, 0x47, 0x76, 0x06, 0xab, 0x63, - 0x1f, 0xa7, 0x0f, 0xcb, 0x53, 0x5c, 0xfb, 0x64, 0x34, 0x1e, 0xdc, 0x00, 0x5c, 0xdc, 0xe7, 0x23, - 0xa8, 0xe8, 0x97, 0x64, 0x62, 0xb0, 0x84, 0x34, 0xee, 0xbf, 0x15, 0x52, 0x64, 0x1d, 0x42, 0x6d, - 0x7c, 0xb2, 0x3f, 0x9a, 0x18, 0x3d, 0x86, 0x6e, 0x7c, 0x72, 0x13, 0x74, 0x71, 0xec, 0x0b, 0x0b, - 0xea, 0xa5, 0x13, 0xf7, 0xe9, 0xc4, 0x94, 0x65, 0x61, 0x8d, 0x2f, 0xfe, 0x53, 0x58, 0x41, 0x89, - 0x42, 0xf5, 0xcd, 0x2c, 0xde, 0x9b, 0x2e, 0x57, 0xc3, 0x9d, 0x0e, 0x97, 0x1f, 0xd2, 0xf9, 0xea, - 0xe5, 0x79, 0xd3, 0x7a, 0x75, 0xde, 0xb4, 0xfe, 0x39, 0x6f, 0x5a, 0x2f, 0x2e, 0x9a, 0x33, 0xaf, - 0x2e, 0x9a, 0x33, 0x7f, 0x5d, 0x34, 0x67, 0xbe, 0xdb, 0x9e, 0xf6, 0xef, 0x89, 0x7a, 0xb6, 0x7b, - 0x0b, 0x6a, 0xff, 0xc1, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x57, 0x06, 0x9d, 0xc8, 0x09, - 0x00, 0x00, + // 973 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4b, 0x6f, 0xdb, 0x46, + 0x10, 0x36, 0x6d, 0xf9, 0xa1, 0xb1, 0x2a, 0xc5, 0x84, 0x11, 0xc8, 0x6a, 0x23, 0xb9, 0x4c, 0xdd, + 0x3a, 0x68, 0x43, 0xc2, 0x4e, 0xdb, 0x14, 0x7d, 0x00, 0xb5, 0x6c, 0xa3, 0x09, 0x50, 0xa2, 0x01, + 0xe3, 0xe4, 0xd0, 0x8b, 0xb0, 0x5a, 0x8e, 0x69, 0x02, 0x22, 0x57, 0xe0, 0xae, 0x84, 0xf8, 0xd0, + 0x7f, 0xd0, 0x43, 0x0e, 0x05, 0xda, 0x73, 0x8f, 0xfd,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 0x15, 0xe7, 0x27, 0xb8, 0x91, 0x93, 0x79, 0x3c, 0x44, 0x1a, 0x1f, 0xc6, 0xf4, + 0xfa, 0xa4, 0xec, 0xfb, 0xb0, 0xa0, 0x30, 0x71, 0xb3, 0x5a, 0x9d, 0x4b, 0x68, 0x04, 0xc6, 0x7d, + 0xfb, 0xaf, 0x0a, 0xcc, 0xf9, 0x3c, 0xb2, 0x33, 0xa8, 0x4f, 0x7c, 0xbc, 0x3e, 0x2e, 0x4f, 0x71, + 0xe1, 0x93, 0xd2, 0xba, 0x77, 0x0d, 0xe7, 0x62, 0x9e, 0x0f, 0xa0, 0xa2, 0x5f, 0x96, 0xa9, 0xc1, + 0xd2, 0xa5, 0x75, 0xe7, 0x52, 0x97, 0x22, 0xeb, 0x08, 0x1a, 0x93, 0x9b, 0xfd, 0xc9, 0xd4, 0xe8, + 0x09, 0xef, 0xd6, 0xa7, 0xd7, 0xf1, 0x2e, 0xae, 0x7d, 0x6e, 0x41, 0xb3, 0x74, 0xe3, 0x3e, 0x9b, + 0x9a, 0xb2, 0x2c, 0xac, 0xf5, 0xcd, 0x5b, 0x85, 0x15, 0x90, 0x28, 0x54, 0x5f, 0xef, 0xe2, 0x87, + 0x57, 0xcb, 0xd5, 0x72, 0xaf, 0xe6, 0x97, 0x5f, 0xd2, 0xfd, 0xee, 0xc5, 0x69, 0xdb, 0x7a, 0x79, + 0xda, 0xb6, 0xfe, 0x3b, 0x6d, 0x5b, 0xcf, 0xcf, 0xda, 0x33, 0x2f, 0xcf, 0xda, 0x33, 0xff, 0x9c, + 0xb5, 0x67, 0x7e, 0xbc, 0x7b, 0xd5, 0xbf, 0x2f, 0xea, 0xd9, 0xee, 0x2f, 0xa8, 0xf3, 0x7b, 0xff, + 0x07, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x4b, 0xcf, 0x5f, 0xe8, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2616,7 +2615,7 @@ func (m *MsgInternalEVMCall) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_cosmos_cosmos_sdk_types.Int + var v github_com_sei_protocol_sei_chain_sei_cosmos_types.Int m.Value = &v if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/evm/types/types.pb.go b/x/evm/types/types.pb.go index 9f4976c0ba..3819b71423 100644 --- a/x/evm/types/types.pb.go +++ b/x/evm/types/types.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -69,11 +69,11 @@ func (m *Whitelist) GetHashes() []string { } type DeferredInfo struct { - TxIndex uint32 `protobuf:"varint,1,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` - TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` - TxBloom []byte `protobuf:"bytes,3,opt,name=tx_bloom,json=txBloom,proto3" json:"tx_bloom,omitempty"` - Surplus github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=surplus,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"surplus"` - Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` + TxIndex uint32 `protobuf:"varint,1,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` + TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` + TxBloom []byte `protobuf:"bytes,3,opt,name=tx_bloom,json=txBloom,proto3" json:"tx_bloom,omitempty"` + Surplus github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,4,opt,name=surplus,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"surplus"` + Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` } func (m *DeferredInfo) Reset() { *m = DeferredInfo{} } @@ -145,28 +145,28 @@ func init() { func init() { proto.RegisterFile("evm/types.proto", fileDescriptor_6eba926c274d8fd0) } var fileDescriptor_6eba926c274d8fd0 = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x31, 0x6b, 0xf2, 0x40, - 0x18, 0xc7, 0x73, 0xaf, 0xaf, 0xa6, 0x1e, 0x4a, 0x69, 0x10, 0x7a, 0xed, 0x10, 0x43, 0x86, 0x92, - 0x0e, 0x26, 0x43, 0xa1, 0x43, 0xc7, 0x50, 0xa8, 0xae, 0x59, 0x0a, 0x5d, 0x24, 0xc6, 0x47, 0x73, - 0x34, 0xc9, 0xc9, 0x3d, 0xa7, 0x9c, 0xdf, 0xa2, 0x5f, 0xa8, 0xbb, 0xa3, 0x63, 0xe9, 0x20, 0x45, - 0xbf, 0x41, 0x3f, 0x41, 0x49, 0x8c, 0xa5, 0xd3, 0x3d, 0xbf, 0xfb, 0x3f, 0xff, 0x3b, 0xf8, 0xd1, - 0x73, 0x58, 0xe5, 0x81, 0x5a, 0x2f, 0x00, 0xfd, 0x85, 0x14, 0x4a, 0x58, 0x0c, 0x81, 0x57, 0x53, - 0x22, 0x32, 0x1f, 0x81, 0x27, 0x69, 0xcc, 0x0b, 0x1f, 0x56, 0xf9, 0x75, 0x6f, 0x2e, 0xe6, 0xa2, - 0x8a, 0x82, 0x72, 0x3a, 0xee, 0xbb, 0xf7, 0xb4, 0xfd, 0x9c, 0x72, 0x05, 0x19, 0x47, 0x65, 0xdd, - 0xd2, 0x56, 0x1a, 0x63, 0x0a, 0xc8, 0x88, 0xd3, 0xf0, 0xda, 0xe1, 0xc5, 0xf7, 0xae, 0xdf, 0x5d, - 0xc7, 0x79, 0xf6, 0xe0, 0x1e, 0xef, 0xdd, 0xa8, 0x5e, 0x70, 0xdf, 0x09, 0xed, 0x3c, 0xc2, 0x0c, - 0xa4, 0x84, 0xe9, 0xa8, 0x98, 0x09, 0xeb, 0x8a, 0x9e, 0x29, 0x3d, 0xe6, 0xc5, 0x14, 0x34, 0x23, - 0x0e, 0xf1, 0xba, 0x91, 0xa9, 0xf4, 0xa8, 0x44, 0xeb, 0x92, 0x9a, 0x4a, 0x8f, 0xcb, 0x22, 0xfb, - 0xe7, 0x10, 0xaf, 0x13, 0xb5, 0x94, 0x1e, 0xc6, 0x98, 0xd6, 0x9d, 0x49, 0x26, 0x44, 0xce, 0x1a, - 0x55, 0x62, 0x2a, 0x1d, 0x96, 0x68, 0x0d, 0xa9, 0x89, 0x4b, 0xb9, 0xc8, 0x96, 0xc8, 0xfe, 0x3b, - 0xc4, 0x6b, 0x87, 0xfe, 0x66, 0xd7, 0x37, 0x3e, 0x77, 0xfd, 0x9b, 0x39, 0x57, 0xe9, 0x72, 0xe2, - 0x27, 0x22, 0x0f, 0x12, 0x81, 0xb9, 0xc0, 0xfa, 0x18, 0xe0, 0xf4, 0xb5, 0x56, 0x31, 0x2a, 0x54, - 0x74, 0xaa, 0x5b, 0x3d, 0xda, 0x04, 0x29, 0x85, 0x64, 0xcd, 0xf2, 0x9d, 0xe8, 0x08, 0xe1, 0xd3, - 0x66, 0x6f, 0x93, 0xed, 0xde, 0x26, 0x5f, 0x7b, 0x9b, 0xbc, 0x1d, 0x6c, 0x63, 0x7b, 0xb0, 0x8d, - 0x8f, 0x83, 0x6d, 0xbc, 0x0c, 0xfe, 0x7c, 0x80, 0xc0, 0x07, 0x27, 0x9b, 0x15, 0x54, 0x3a, 0x03, - 0x1d, 0xfc, 0x6a, 0x9f, 0xb4, 0xaa, 0xfc, 0xee, 0x27, 0x00, 0x00, 0xff, 0xff, 0xc8, 0xbe, 0x17, - 0x45, 0x8a, 0x01, 0x00, 0x00, + // 323 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xbf, 0x6e, 0xf2, 0x30, + 0x14, 0xc5, 0xe3, 0x8f, 0x0f, 0x52, 0x2c, 0x50, 0xd5, 0x08, 0xa9, 0x6e, 0x87, 0x10, 0x65, 0x4a, + 0x07, 0x92, 0xa1, 0x12, 0x43, 0x87, 0x0e, 0x51, 0xa5, 0x96, 0x35, 0x4b, 0xab, 0x2e, 0x28, 0xc0, + 0x85, 0x58, 0x4a, 0x62, 0xe4, 0x6b, 0x90, 0x79, 0x8b, 0x3e, 0x16, 0x4b, 0x25, 0xc6, 0xaa, 0x03, + 0xaa, 0xe0, 0x0d, 0xfa, 0x04, 0x55, 0xfe, 0xd0, 0xb5, 0xdb, 0xf9, 0xf9, 0xdc, 0x7b, 0xac, 0x63, + 0xd3, 0x73, 0x58, 0x67, 0x81, 0xda, 0x2c, 0x01, 0xfd, 0xa5, 0x14, 0x4a, 0x58, 0x0c, 0x81, 0x97, + 0x6a, 0x2a, 0x52, 0x1f, 0x81, 0x4f, 0x93, 0x98, 0xe7, 0x3e, 0xac, 0xb3, 0xeb, 0xde, 0x42, 0x2c, + 0x44, 0x69, 0x05, 0x85, 0xaa, 0xe6, 0xdd, 0x21, 0x6d, 0x3f, 0x27, 0x5c, 0x41, 0xca, 0x51, 0x59, + 0x37, 0xb4, 0x95, 0xc4, 0x98, 0x00, 0x32, 0xe2, 0x34, 0xbc, 0x76, 0x78, 0xf1, 0xbd, 0xef, 0x77, + 0x37, 0x71, 0x96, 0xde, 0xb9, 0xd5, 0xb9, 0x1b, 0xd5, 0x03, 0xee, 0x3b, 0xa1, 0x9d, 0x07, 0x98, + 0x83, 0x94, 0x30, 0x1b, 0xe5, 0x73, 0x61, 0x5d, 0xd1, 0x33, 0xa5, 0xc7, 0x3c, 0x9f, 0x81, 0x66, + 0xc4, 0x21, 0x5e, 0x37, 0x32, 0x95, 0x1e, 0x15, 0x68, 0x5d, 0x52, 0x53, 0xe9, 0x71, 0xb1, 0xc8, + 0xfe, 0x39, 0xc4, 0xeb, 0x44, 0x2d, 0xa5, 0x9f, 0x62, 0x4c, 0xea, 0x9d, 0x49, 0x2a, 0x44, 0xc6, + 0x1a, 0xa5, 0x63, 0x2a, 0x1d, 0x16, 0x68, 0xbd, 0x50, 0x13, 0x57, 0x72, 0x99, 0xae, 0x90, 0xfd, + 0x77, 0x88, 0xd7, 0x0e, 0xef, 0xb7, 0xfb, 0xbe, 0xf1, 0xb9, 0xef, 0x0f, 0x17, 0x5c, 0x25, 0xab, + 0x89, 0x3f, 0x15, 0x59, 0x80, 0xc0, 0x07, 0xa7, 0xb2, 0x25, 0x94, 0x6d, 0x2b, 0x25, 0x30, 0x13, + 0x58, 0x3f, 0xcd, 0x28, 0x57, 0xd1, 0x29, 0xce, 0xea, 0xd1, 0x26, 0x48, 0x29, 0x24, 0x6b, 0x16, + 0xb9, 0x51, 0x05, 0xe1, 0xe3, 0xf6, 0x60, 0x93, 0xdd, 0xc1, 0x26, 0x5f, 0x07, 0x9b, 0xbc, 0x1d, + 0x6d, 0x63, 0x77, 0xb4, 0x8d, 0x8f, 0xa3, 0x6d, 0xbc, 0x0e, 0xfe, 0xbe, 0x50, 0x07, 0xbf, 0xdf, + 0x30, 0x69, 0x95, 0xfe, 0xed, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x01, 0xcc, 0xc3, 0xe3, 0x9a, + 0x01, 0x00, 0x00, } func (m *Whitelist) Marshal() (dAtA []byte, err error) { diff --git a/x/mint/client/cli/query.go b/x/mint/client/cli/query.go index 5a6027a6c1..bfe43f5932 100644 --- a/x/mint/client/cli/query.go +++ b/x/mint/client/cli/query.go @@ -6,8 +6,8 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/x/mint/client/cli/tx.go b/x/mint/client/cli/tx.go index 486c9a40cb..54053c23f2 100644 --- a/x/mint/client/cli/tx.go +++ b/x/mint/client/cli/tx.go @@ -4,15 +4,15 @@ import ( "fmt" "os" - sdk "github.com/cosmos/cosmos-sdk/types" - govcli "github.com/cosmos/cosmos-sdk/x/gov/client/cli" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govcli "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/cli" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - govclient "github.com/cosmos/cosmos-sdk/x/gov/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + govclient "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client" mintrest "github.com/sei-protocol/sei-chain/x/mint/client/rest" "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/x/mint/client/rest/grpc_query_test.go b/x/mint/client/rest/grpc_query_test.go index ae320ad500..751e0725ae 100644 --- a/x/mint/client/rest/grpc_query_test.go +++ b/x/mint/client/rest/grpc_query_test.go @@ -6,14 +6,14 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/testutil" - sdk "github.com/cosmos/cosmos-sdk/types" - grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + grpctypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/grpc" "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil/network" minttypes "github.com/sei-protocol/sei-chain/x/mint/types" ) @@ -32,14 +32,14 @@ func (s *IntegrationTestSuite) SetupSuite() { cfg.NumValidators = 1 var mintData minttypes.GenesisState - s.Require().NoError(cfg.Codec.UnmarshalJSON(genesisState[minttypes.ModuleName], &mintData)) + s.Require().NoError(cfg.Codec.UnmarshalAsJSON(genesisState[minttypes.ModuleName], &mintData)) inflation := sdk.MustNewDecFromStr("1.0") mintData.Minter.Inflation = inflation mintData.Params.InflationMin = inflation mintData.Params.InflationMax = inflation - mintDataBz, err := cfg.Codec.MarshalJSON(&mintData) + mintDataBz, err := cfg.Codec.MarshalAsJSON(&mintData) s.Require().NoError(err) genesisState[minttypes.ModuleName] = mintDataBz cfg.GenesisState = genesisState diff --git a/x/mint/client/rest/query.go b/x/mint/client/rest/query.go index bf085760eb..32c858305b 100644 --- a/x/mint/client/rest/query.go +++ b/x/mint/client/rest/query.go @@ -6,8 +6,8 @@ import ( "github.com/gorilla/mux" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/x/mint/client/rest/rest.go b/x/mint/client/rest/rest.go index dc3333c1ea..6add498804 100644 --- a/x/mint/client/rest/rest.go +++ b/x/mint/client/rest/rest.go @@ -3,16 +3,16 @@ package rest import ( "net/http" - sdk "github.com/cosmos/cosmos-sdk/types" - govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/gorilla/mux" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + govrest "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/client/rest" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/mint/types" - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" - "github.com/cosmos/cosmos-sdk/client/tx" - typesrest "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clientrest "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + typesrest "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" ) // RegisterRoutes registers minting module REST handlers on the provided router. diff --git a/x/mint/gov.go b/x/mint/gov.go index 272a63aee4..b663794832 100644 --- a/x/mint/gov.go +++ b/x/mint/gov.go @@ -1,7 +1,7 @@ package mint import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/mint/keeper" "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/x/mint/keeper/genesis.go b/x/mint/keeper/genesis.go index 431e4afc2d..ec71616bbe 100644 --- a/x/mint/keeper/genesis.go +++ b/x/mint/keeper/genesis.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/x/mint/keeper/grpc_query.go b/x/mint/keeper/grpc_query.go index d97e0fa469..3dca5f690e 100644 --- a/x/mint/keeper/grpc_query.go +++ b/x/mint/keeper/grpc_query.go @@ -3,7 +3,7 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/x/mint/keeper/grpc_query_test.go b/x/mint/keeper/grpc_query_test.go index 92b5f4d175..b7f20f0606 100644 --- a/x/mint/keeper/grpc_query_test.go +++ b/x/mint/keeper/grpc_query_test.go @@ -11,8 +11,8 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/mint/types" // TODO: Replace this with sei-chain. Leaving it for now otherwise tests fail ) diff --git a/x/mint/keeper/hooks.go b/x/mint/keeper/hooks.go index 366bae8b39..e43406fe22 100644 --- a/x/mint/keeper/hooks.go +++ b/x/mint/keeper/hooks.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" epochTypes "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/mint/keeper/integration_test.go b/x/mint/keeper/integration_test.go index a95fa0bde6..317b2b32ba 100644 --- a/x/mint/keeper/integration_test.go +++ b/x/mint/keeper/integration_test.go @@ -6,7 +6,7 @@ import ( "github.com/sei-protocol/sei-chain/app" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/x/mint/keeper/keeper.go b/x/mint/keeper/keeper.go index 6b2924ad64..f2a2e84a4e 100644 --- a/x/mint/keeper/keeper.go +++ b/x/mint/keeper/keeper.go @@ -4,9 +4,9 @@ import ( "fmt" "time" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" epochTypes "github.com/sei-protocol/sei-chain/x/epoch/types" "github.com/sei-protocol/sei-chain/x/mint/types" diff --git a/x/mint/keeper/keeper_test.go b/x/mint/keeper/keeper_test.go index 0c1c915524..0ae29d59b7 100644 --- a/x/mint/keeper/keeper_test.go +++ b/x/mint/keeper/keeper_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" epochTypes "github.com/sei-protocol/sei-chain/x/epoch/types" "github.com/sei-protocol/sei-chain/x/mint/keeper" mintKeeper "github.com/sei-protocol/sei-chain/x/mint/keeper" diff --git a/x/mint/keeper/migrations.go b/x/mint/keeper/migrations.go index dbea406ef9..49eaf9c2af 100644 --- a/x/mint/keeper/migrations.go +++ b/x/mint/keeper/migrations.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/mint/types" ) @@ -52,14 +52,14 @@ func (m Migrator) Migrate2to3(ctx sdk.Context) error { var v2TokenReleaseSchedules []types.Version2ScheduledTokenRelease v2TokenReleaseSchedulesBytes := m.keeper.GetParamSpace().GetRaw(ctx, types.KeyTokenReleaseSchedule) - err := codec.NewLegacyAmino().UnmarshalJSON(v2TokenReleaseSchedulesBytes, &v2TokenReleaseSchedules) + err := codec.NewLegacyAmino().UnmarshalAsJSON(v2TokenReleaseSchedulesBytes, &v2TokenReleaseSchedules) if err != nil { panic(fmt.Sprintf("Key not found or error: %s", err)) } var v2MintDenom string v2MintDenomBytes := m.keeper.GetParamSpace().GetRaw(ctx, types.KeyMintDenom) - err = codec.NewLegacyAmino().UnmarshalJSON(v2MintDenomBytes, &v2MintDenom) + err = codec.NewLegacyAmino().UnmarshalAsJSON(v2MintDenomBytes, &v2MintDenom) if err != nil { panic(fmt.Sprintf("Key not found or error: %s", err)) } diff --git a/x/mint/keeper/migrations_test.go b/x/mint/keeper/migrations_test.go index af62a79dbd..76103edbe5 100644 --- a/x/mint/keeper/migrations_test.go +++ b/x/mint/keeper/migrations_test.go @@ -3,14 +3,14 @@ package keeper_test import ( "testing" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/store" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - typesparams "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + typesparams "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/sei-protocol/sei-chain/x/mint/keeper" diff --git a/x/mint/module.go b/x/mint/module.go index c8fe1ed849..0abd75610a 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -6,20 +6,20 @@ import ( "fmt" "math/rand" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" "github.com/sei-protocol/sei-chain/x/mint/client/cli" "github.com/sei-protocol/sei-chain/x/mint/client/rest" "github.com/sei-protocol/sei-chain/x/mint/keeper" @@ -64,7 +64,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the mint module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var data types.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } diff --git a/x/mint/simulation/decoder.go b/x/mint/simulation/decoder.go index a22a8cc807..fa7a12c5dd 100644 --- a/x/mint/simulation/decoder.go +++ b/x/mint/simulation/decoder.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/x/mint/simulation/genesis.go b/x/mint/simulation/genesis.go index 4518e9f507..63ae41f3a9 100644 --- a/x/mint/simulation/genesis.go +++ b/x/mint/simulation/genesis.go @@ -8,8 +8,8 @@ import ( "math/rand" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" "github.com/sei-protocol/sei-chain/x/mint/types" ) diff --git a/x/mint/types/codec.go b/x/mint/types/codec.go index 3018320c12..23f51b4536 100644 --- a/x/mint/types/codec.go +++ b/x/mint/types/codec.go @@ -1,10 +1,10 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + cryptocodec "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/codec" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) var ( diff --git a/x/mint/types/expected_keepers.go b/x/mint/types/expected_keepers.go index 4ce2e3a31e..f0538c394c 100644 --- a/x/mint/types/expected_keepers.go +++ b/x/mint/types/expected_keepers.go @@ -1,8 +1,8 @@ package types // noalias import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" epochtypes "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/mint/types/gov.go b/x/mint/types/gov.go index 60bf1e3a62..5b807c7c7f 100644 --- a/x/mint/types/gov.go +++ b/x/mint/types/gov.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" ) const ( diff --git a/x/mint/types/hooks.go b/x/mint/types/hooks.go index ff2b3c3d4d..c6185b6d73 100644 --- a/x/mint/types/hooks.go +++ b/x/mint/types/hooks.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) type MintHooks interface { diff --git a/x/mint/types/keys.go b/x/mint/types/keys.go index 194ae055f8..e6e133a7da 100644 --- a/x/mint/types/keys.go +++ b/x/mint/types/keys.go @@ -22,6 +22,5 @@ const ( QueryMinter = "minter" // Format used for scheduling token releases - /*#nosec G101 Not a hard coded credential*/ - TokenReleaseDateFormat = "2006-01-02" + TokenReleaseDateFormat = "2006-01-02" //nolint:gosec ) diff --git a/x/mint/types/mint.pb.go b/x/mint/types/mint.pb.go index 26e0f995a3..10c186e36e 100644 --- a/x/mint/types/mint.pb.go +++ b/x/mint/types/mint.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -241,10 +241,10 @@ func (m *Params) GetTokenReleaseSchedule() []ScheduledTokenRelease { // Minter represents the most recent type Version2Minter struct { - LastMintAmount github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=last_mint_amount,json=lastMintAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"last_mint_amount" yaml:"last_mint_amount"` - LastMintDate string `protobuf:"bytes,2,opt,name=last_mint_date,json=lastMintDate,proto3" json:"last_mint_date,omitempty" yaml:"last_mint_date"` - LastMintHeight int64 `protobuf:"varint,3,opt,name=last_mint_height,json=lastMintHeight,proto3" json:"last_mint_height,omitempty" yaml:"last_mint_height"` - Denom string `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` + LastMintAmount github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,1,opt,name=last_mint_amount,json=lastMintAmount,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"last_mint_amount" yaml:"last_mint_amount"` + LastMintDate string `protobuf:"bytes,2,opt,name=last_mint_date,json=lastMintDate,proto3" json:"last_mint_date,omitempty" yaml:"last_mint_date"` + LastMintHeight int64 `protobuf:"varint,3,opt,name=last_mint_height,json=lastMintHeight,proto3" json:"last_mint_height,omitempty" yaml:"last_mint_height"` + Denom string `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` } func (m *Version2Minter) Reset() { *m = Version2Minter{} } @@ -419,45 +419,45 @@ func init() { func init() { proto.RegisterFile("mint/v1beta1/mint.proto", fileDescriptor_06339c129491fd39) } var fileDescriptor_06339c129491fd39 = []byte{ - // 601 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x41, 0x6b, 0x13, 0x41, - 0x14, 0xce, 0x26, 0x69, 0xda, 0x8e, 0x25, 0xd6, 0x35, 0xb1, 0x89, 0x92, 0xdd, 0xb0, 0x68, 0x09, - 0x42, 0x77, 0xdb, 0x78, 0x91, 0x5e, 0xc4, 0x10, 0xa1, 0x1e, 0x04, 0x89, 0xe2, 0xc1, 0x4b, 0x98, - 0xec, 0x3e, 0x92, 0xa5, 0xbb, 0x3b, 0x65, 0x67, 0x22, 0xf6, 0xec, 0x59, 0xf0, 0x22, 0x78, 0xf4, - 0x37, 0x08, 0x1e, 0xbd, 0xf7, 0x22, 0xf4, 0x28, 0x1e, 0x16, 0x49, 0x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x59, 0xa4, 0x6f, 0xc5, 0x9d, 0x2d, 0xf3, 0x19, - 0xe7, 0xdc, 0xf1, 0xe8, 0x9c, 0x3b, 0x70, 0x34, 0x9d, 0xfa, 0x2c, 0xd2, 0xab, 0xcb, 0x24, 0x32, - 0x6f, 0x2c, 0x19, 0xe7, 0x49, 0x86, 0x71, 0xe4, 0xd8, 0x0a, 0x9d, 0x3b, 0x59, 0x7d, 0xc4, 0x08, - 0x63, 0xd9, 0x55, 0xea, 0x76, 0xf2, 0x8a, 0x8a, 0x58, 0x7e, 0x73, 0x16, 0xe9, 0x1b, 0xf1, 0x59, - 0x0c, 0x1b, 0xf3, 0x77, 0x65, 0x00, 0x69, 0x24, 0xd7, 0x96, 0x6d, 0x42, 0x95, 0x14, 0x53, 0xf6, - 0xc3, 0xf5, 0x85, 0xf6, 0x92, 0x52, 0x0b, 0x99, 0xf6, 0xfa, 0xae, 0x9c, 0x8d, 0xe7, 0xdf, 0x6c, - 0xf6, 0xf1, 0x6f, 0x36, 0x7b, 0x78, 0x89, 0xcd, 0x2e, 0x95, 0x74, 0x05, 0x76, 0xeb, 0x1c, 0x9c, - 0x4c, 0x34, 0xe5, 0x74, 0xa2, 0x29, 0xbf, 0x26, 0x9a, 0xf2, 0x61, 0xaa, 0xe5, 0x4e, 0xa7, 0x5a, - 0xee, 0xc7, 0x54, 0xcb, 0xbd, 0x36, 0x53, 0x9e, 0xe2, 0xe0, 0xee, 0x24, 0x1d, 0xe2, 0x06, 0x5b, - 0xb4, 0xde, 0xe2, 0x4f, 0x36, 0xf6, 0xd7, 0xa0, 0x84, 0x80, 0x07, 0xbf, 0x03, 0x00, 0x00, 0xff, - 0xff, 0xec, 0x81, 0x8e, 0x2d, 0x86, 0x05, 0x00, 0x00, + // 597 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xc1, 0x6b, 0x13, 0x4f, + 0x14, 0xce, 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0xfb, 0xc4, 0xca, 0xbc, 0x72, 0x2f, 0xf7, 0xd8, 0x5b, 0xfc, + 0xeb, 0x6a, 0x7f, 0xf5, 0x0a, 0x08, 0xb8, 0xf7, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x99, 0x28, + 0x4e, 0x97, 0x05, 0x00, 0x00, } func (m *Minter) Marshal() (dAtA []byte, err error) { diff --git a/x/mint/types/minter.go b/x/mint/types/minter.go index 595b62285b..b3e10da670 100644 --- a/x/mint/types/minter.go +++ b/x/mint/types/minter.go @@ -4,7 +4,7 @@ import ( fmt "fmt" "time" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/utils/metrics" epochTypes "github.com/sei-protocol/sei-chain/x/epoch/types" ) diff --git a/x/mint/types/minter_test.go b/x/mint/types/minter_test.go index 53b156a6bf..5eb6429d29 100644 --- a/x/mint/types/minter_test.go +++ b/x/mint/types/minter_test.go @@ -6,8 +6,8 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" epochTypes "github.com/sei-protocol/sei-chain/x/epoch/types" "github.com/sei-protocol/sei-chain/x/mint/types" "github.com/stretchr/testify/require" diff --git a/x/mint/types/params.go b/x/mint/types/params.go index abe826f336..96b55e1931 100644 --- a/x/mint/types/params.go +++ b/x/mint/types/params.go @@ -7,8 +7,8 @@ import ( yaml "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // Parameter store keys diff --git a/x/oracle/abci.go b/x/oracle/abci.go index c68fa34e8b..24cae99387 100755 --- a/x/oracle/abci.go +++ b/x/oracle/abci.go @@ -9,8 +9,8 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/types" "github.com/sei-protocol/sei-chain/x/oracle/utils" - "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func MidBlocker(ctx sdk.Context, k keeper.Keeper) { diff --git a/x/oracle/abci_test.go b/x/oracle/abci_test.go index e3608477c0..bc5357bfbe 100755 --- a/x/oracle/abci_test.go +++ b/x/oracle/abci_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/oracle" "github.com/sei-protocol/sei-chain/x/oracle/keeper" diff --git a/x/oracle/ante.go b/x/oracle/ante.go index bf57c9e733..16ae4f32fc 100644 --- a/x/oracle/ante.go +++ b/x/oracle/ante.go @@ -1,9 +1,9 @@ package oracle import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/x/oracle/keeper" "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/x/oracle/ante_test.go b/x/oracle/ante_test.go index fac0e9789d..c61fc9f867 100644 --- a/x/oracle/ante_test.go +++ b/x/oracle/ante_test.go @@ -3,9 +3,9 @@ package oracle_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/sei-protocol/sei-chain/app" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/sei-protocol/sei-chain/x/oracle" "github.com/sei-protocol/sei-chain/x/oracle/keeper/testutils" diff --git a/x/oracle/client/cli/query.go b/x/oracle/client/cli/query.go index c77f02b024..e0237e8bae 100755 --- a/x/oracle/client/cli/query.go +++ b/x/oracle/client/cli/query.go @@ -9,9 +9,9 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/oracle/client/cli/tx.go b/x/oracle/client/cli/tx.go index 3e6722d918..27888fbdce 100755 --- a/x/oracle/client/cli/tx.go +++ b/x/oracle/client/cli/tx.go @@ -8,10 +8,10 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/spf13/cobra" ) diff --git a/x/oracle/client/rest/query.go b/x/oracle/client/rest/query.go index abcfd79a9e..dae30edc60 100755 --- a/x/oracle/client/rest/query.go +++ b/x/oracle/client/rest/query.go @@ -9,9 +9,9 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/types" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" ) func registerQueryRoutes(cliCtx client.Context, rtr *mux.Router) { @@ -39,7 +39,7 @@ func queryExchangeRateHandlerFunction(cliCtx client.Context) http.HandlerFunc { } params := types.NewQueryExchangeRateParams(denom) - bz, err := cliCtx.LegacyAmino.MarshalJSON(params) + bz, err := cliCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -100,7 +100,7 @@ func queryTwapsHandlerFunction(cliCtx client.Context) http.HandlerFunc { } params := types.NewQueryTwapsParams(lookbackSeconds) - bz, err := cliCtx.LegacyAmino.MarshalJSON(params) + bz, err := cliCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -162,7 +162,7 @@ func queryFeederDelegationHandlerFunction(cliCtx client.Context) http.HandlerFun } params := types.NewQueryFeederDelegationParams(voterAddr) - bz, err := cliCtx.LegacyAmino.MarshalJSON(params) + bz, err := cliCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } @@ -189,7 +189,7 @@ func queryVotePenaltyCounterHandlerFunction(cliCtx client.Context) http.HandlerF } params := types.NewQueryVotePenaltyCounterParams(voterAddr) - bz, err := cliCtx.LegacyAmino.MarshalJSON(params) + bz, err := cliCtx.LegacyAmino.MarshalAsJSON(params) if rest.CheckBadRequestError(w, err) { return } diff --git a/x/oracle/client/rest/rest.go b/x/oracle/client/rest/rest.go index fa7d8474e7..92ccd7f449 100755 --- a/x/oracle/client/rest/rest.go +++ b/x/oracle/client/rest/rest.go @@ -1,8 +1,8 @@ package rest import ( - "github.com/cosmos/cosmos-sdk/client" - clientrest "github.com/cosmos/cosmos-sdk/client/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + clientrest "github.com/sei-protocol/sei-chain/sei-cosmos/client/rest" "github.com/gorilla/mux" ) diff --git a/x/oracle/client/rest/tx.go b/x/oracle/client/rest/tx.go index d66b4850d6..a54802d0d6 100755 --- a/x/oracle/client/rest/tx.go +++ b/x/oracle/client/rest/tx.go @@ -6,10 +6,10 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/rest" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/rest" "github.com/gorilla/mux" ) diff --git a/x/oracle/client/wasm/query.go b/x/oracle/client/wasm/query.go index 933df8dd7a..7a68c52fe0 100644 --- a/x/oracle/client/wasm/query.go +++ b/x/oracle/client/wasm/query.go @@ -1,7 +1,7 @@ package wasm import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" oraclekeeper "github.com/sei-protocol/sei-chain/x/oracle/keeper" "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/x/oracle/common_test.go b/x/oracle/common_test.go index 75ab123778..442de2e0a7 100755 --- a/x/oracle/common_test.go +++ b/x/oracle/common_test.go @@ -9,8 +9,8 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/keeper/testutils" "github.com/sei-protocol/sei-chain/x/oracle/utils" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" ) var ( diff --git a/x/oracle/genesis.go b/x/oracle/genesis.go index daa9b7fba8..eccbd4287d 100755 --- a/x/oracle/genesis.go +++ b/x/oracle/genesis.go @@ -3,7 +3,7 @@ package oracle import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/oracle/keeper" "github.com/sei-protocol/sei-chain/x/oracle/types" diff --git a/x/oracle/genesis_test.go b/x/oracle/genesis_test.go index ec1a236a6b..3ed34d5173 100755 --- a/x/oracle/genesis_test.go +++ b/x/oracle/genesis_test.go @@ -9,7 +9,7 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/keeper/testutils" "github.com/sei-protocol/sei-chain/x/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestExportInitGenesis(t *testing.T) { diff --git a/x/oracle/handler.go b/x/oracle/handler.go index 8490bcadc7..163860a927 100755 --- a/x/oracle/handler.go +++ b/x/oracle/handler.go @@ -1,8 +1,8 @@ package oracle import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" "github.com/sei-protocol/sei-chain/x/oracle/keeper" "github.com/sei-protocol/sei-chain/x/oracle/types" diff --git a/x/oracle/handler_test.go b/x/oracle/handler_test.go index 19ece24c41..55beb790df 100755 --- a/x/oracle/handler_test.go +++ b/x/oracle/handler_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/x/oracle/keeper/testutils" "github.com/sei-protocol/sei-chain/x/oracle/types" diff --git a/x/oracle/keeper/alias_functions.go b/x/oracle/keeper/alias_functions.go index a255edb2aa..c38ed021f8 100755 --- a/x/oracle/keeper/alias_functions.go +++ b/x/oracle/keeper/alias_functions.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/x/oracle/keeper/ballot.go b/x/oracle/keeper/ballot.go index f4248f91a3..96a9e852af 100755 --- a/x/oracle/keeper/ballot.go +++ b/x/oracle/keeper/ballot.go @@ -6,8 +6,8 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // OrganizeBallotByDenom collects all oracle votes for the period, categorized by the votes' denom parameter diff --git a/x/oracle/keeper/ballot_test.go b/x/oracle/keeper/ballot_test.go index ad04f7aa33..9526a51ba4 100755 --- a/x/oracle/keeper/ballot_test.go +++ b/x/oracle/keeper/ballot_test.go @@ -10,8 +10,8 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/types" "github.com/sei-protocol/sei-chain/x/oracle/utils" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" ) func TestOrganizeAggregate(t *testing.T) { diff --git a/x/oracle/keeper/keeper.go b/x/oracle/keeper/keeper.go index c57fd4bea8..17ea04a58b 100755 --- a/x/oracle/keeper/keeper.go +++ b/x/oracle/keeper/keeper.go @@ -11,11 +11,11 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/x/oracle/keeper/keeper_test.go b/x/oracle/keeper/keeper_test.go index 2c7c94aa07..9441c803c3 100755 --- a/x/oracle/keeper/keeper_test.go +++ b/x/oracle/keeper/keeper_test.go @@ -11,10 +11,10 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/types" "github.com/sei-protocol/sei-chain/x/oracle/utils" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestExchangeRate(t *testing.T) { diff --git a/x/oracle/keeper/migrations.go b/x/oracle/keeper/migrations.go index 96ccf73fac..6f9b91fd4d 100644 --- a/x/oracle/keeper/migrations.go +++ b/x/oracle/keeper/migrations.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" gogotypes "github.com/gogo/protobuf/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/x/oracle/keeper/migrations_test.go b/x/oracle/keeper/migrations_test.go index 8a0f89bd9a..1432daacec 100644 --- a/x/oracle/keeper/migrations_test.go +++ b/x/oracle/keeper/migrations_test.go @@ -11,8 +11,8 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/types" "github.com/sei-protocol/sei-chain/x/oracle/utils" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" ) func TestMigrate2to3(t *testing.T) { diff --git a/x/oracle/keeper/msg_server.go b/x/oracle/keeper/msg_server.go index e3a3059db1..8dcb4ab1ae 100755 --- a/x/oracle/keeper/msg_server.go +++ b/x/oracle/keeper/msg_server.go @@ -3,9 +3,9 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/x/oracle/keeper/params.go b/x/oracle/keeper/params.go index 6635a1d7d8..404848754d 100755 --- a/x/oracle/keeper/params.go +++ b/x/oracle/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( "github.com/sei-protocol/sei-chain/x/oracle/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // VotePeriod returns the number of blocks during which voting takes place. diff --git a/x/oracle/keeper/querier.go b/x/oracle/keeper/querier.go index 49373143ba..5006d61c28 100755 --- a/x/oracle/keeper/querier.go +++ b/x/oracle/keeper/querier.go @@ -6,7 +6,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/x/oracle/keeper/querier_test.go b/x/oracle/keeper/querier_test.go index 68585d718a..35b6fb1acf 100755 --- a/x/oracle/keeper/querier_test.go +++ b/x/oracle/keeper/querier_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/oracle/keeper" "github.com/sei-protocol/sei-chain/x/oracle/keeper/testutils" diff --git a/x/oracle/keeper/slash.go b/x/oracle/keeper/slash.go index 5b0bc18d0f..39b0a27ba5 100755 --- a/x/oracle/keeper/slash.go +++ b/x/oracle/keeper/slash.go @@ -3,8 +3,8 @@ package keeper import ( "strconv" - cosmostelemetry "github.com/cosmos/cosmos-sdk/telemetry" - sdk "github.com/cosmos/cosmos-sdk/types" + cosmostelemetry "github.com/sei-protocol/sei-chain/sei-cosmos/telemetry" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/x/oracle/keeper/slash_test.go b/x/oracle/keeper/slash_test.go index bdb5289e61..0d41e48d93 100755 --- a/x/oracle/keeper/slash_test.go +++ b/x/oracle/keeper/slash_test.go @@ -6,9 +6,9 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/keeper/testutils" "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) func TestSlashAndResetMissCounters(t *testing.T) { diff --git a/x/oracle/keeper/testutils/test_utils.go b/x/oracle/keeper/testutils/test_utils.go index 5661494802..3f5b6458dc 100644 --- a/x/oracle/keeper/testutils/test_utils.go +++ b/x/oracle/keeper/testutils/test_utils.go @@ -16,33 +16,33 @@ import ( tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/std" - "github.com/cosmos/cosmos-sdk/store" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/auth" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/cosmos/cosmos-sdk/x/auth/tx" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/cosmos/cosmos-sdk/x/bank" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/cosmos-sdk/x/distribution" - distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/cosmos/cosmos-sdk/x/params" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" appparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/std" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth" + authkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/keeper" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/tx" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution" + distrkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/keeper" + distrtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/distribution/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params" + paramskeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/keeper" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking" + stakingkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/keeper" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" oraclekeeper "github.com/sei-protocol/sei-chain/x/oracle/keeper" ) diff --git a/x/oracle/keeper/vote_target.go b/x/oracle/keeper/vote_target.go index 1b928cd79c..d7ddcc75fc 100755 --- a/x/oracle/keeper/vote_target.go +++ b/x/oracle/keeper/vote_target.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/x/oracle/module.go b/x/oracle/module.go index 846b754cbf..2c5e149c83 100644 --- a/x/oracle/module.go +++ b/x/oracle/module.go @@ -12,12 +12,12 @@ import ( abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" "github.com/sei-protocol/sei-chain/x/oracle/client/cli" "github.com/sei-protocol/sei-chain/x/oracle/client/rest" @@ -61,7 +61,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the oracle module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var data types.GenesisState - if err := cdc.UnmarshalJSON(bz, &data); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &data); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } diff --git a/x/oracle/simulation/decoder.go b/x/oracle/simulation/decoder.go index 871409bc5b..a24000ad11 100644 --- a/x/oracle/simulation/decoder.go +++ b/x/oracle/simulation/decoder.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/kv" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/kv" "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/x/oracle/simulation/genesis.go b/x/oracle/simulation/genesis.go index 9e5fe920fd..fa991aa0ab 100644 --- a/x/oracle/simulation/genesis.go +++ b/x/oracle/simulation/genesis.go @@ -7,8 +7,8 @@ import ( "fmt" "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" "github.com/sei-protocol/sei-chain/x/oracle/types" "github.com/sei-protocol/sei-chain/x/oracle/utils" diff --git a/x/oracle/simulation/operations.go b/x/oracle/simulation/operations.go index dd9fba925f..917388f97e 100644 --- a/x/oracle/simulation/operations.go +++ b/x/oracle/simulation/operations.go @@ -5,12 +5,12 @@ package simulation import ( "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" seiappparams "github.com/sei-protocol/sei-chain/app/params" + "github.com/sei-protocol/sei-chain/sei-cosmos/baseapp" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" "github.com/sei-protocol/sei-chain/x/oracle/keeper" "github.com/sei-protocol/sei-chain/x/oracle/types" diff --git a/x/oracle/simulation/params.go b/x/oracle/simulation/params.go index 3015677bbe..4611abc1d3 100644 --- a/x/oracle/simulation/params.go +++ b/x/oracle/simulation/params.go @@ -6,8 +6,8 @@ import ( "fmt" "math/rand" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/simulation" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/simulation" "github.com/sei-protocol/sei-chain/x/oracle/types" ) diff --git a/x/oracle/tally.go b/x/oracle/tally.go index 76608a34b8..bb24ad3ae1 100755 --- a/x/oracle/tally.go +++ b/x/oracle/tally.go @@ -1,7 +1,7 @@ package oracle import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/oracle/keeper" "github.com/sei-protocol/sei-chain/x/oracle/types" diff --git a/x/oracle/types/ballot.go b/x/oracle/types/ballot.go index 8abf577fb3..19709b5ba0 100755 --- a/x/oracle/types/ballot.go +++ b/x/oracle/types/ballot.go @@ -6,7 +6,7 @@ import ( "sort" "strconv" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // NOTE: we don't need to implement proto interface on this file diff --git a/x/oracle/types/ballot_test.go b/x/oracle/types/ballot_test.go index c32285d167..fd8bf8c768 100755 --- a/x/oracle/types/ballot_test.go +++ b/x/oracle/types/ballot_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" diff --git a/x/oracle/types/codec.go b/x/oracle/types/codec.go index d84dcaaed5..2192cfb4ee 100755 --- a/x/oracle/types/codec.go +++ b/x/oracle/types/codec.go @@ -1,10 +1,10 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" ) func RegisterCodec(cdc *codec.LegacyAmino) { diff --git a/x/oracle/types/errors.go b/x/oracle/types/errors.go index 311e16e40a..34f1647fd4 100755 --- a/x/oracle/types/errors.go +++ b/x/oracle/types/errors.go @@ -3,8 +3,8 @@ package types import ( "fmt" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/ed25519" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // Oracle Errors diff --git a/x/oracle/types/expected_keeper.go b/x/oracle/types/expected_keeper.go index feed39e429..1adaffa9d5 100755 --- a/x/oracle/types/expected_keeper.go +++ b/x/oracle/types/expected_keeper.go @@ -1,10 +1,10 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" ) // StakingKeeper is expected keeper for staking module diff --git a/x/oracle/types/genesis.go b/x/oracle/types/genesis.go index 83990b6e64..79b50a0e60 100755 --- a/x/oracle/types/genesis.go +++ b/x/oracle/types/genesis.go @@ -3,7 +3,7 @@ package types import ( "encoding/json" - "github.com/cosmos/cosmos-sdk/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" ) // NewGenesisState creates a new GenesisState object diff --git a/x/oracle/types/keys.go b/x/oracle/types/keys.go index 862f4df072..bf2ee69edd 100755 --- a/x/oracle/types/keys.go +++ b/x/oracle/types/keys.go @@ -3,8 +3,8 @@ package types import ( "encoding/binary" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/address" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/address" ) const ( diff --git a/x/oracle/types/msgs.go b/x/oracle/types/msgs.go index 965c597ffe..a06cad12fb 100755 --- a/x/oracle/types/msgs.go +++ b/x/oracle/types/msgs.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // ensure Msg interface compliance at compile time diff --git a/x/oracle/types/msgs_test.go b/x/oracle/types/msgs_test.go index 8fe3e058e2..aff00dce26 100755 --- a/x/oracle/types/msgs_test.go +++ b/x/oracle/types/msgs_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestMsgFeederDelegation(t *testing.T) { diff --git a/x/oracle/types/oracle.pb.go b/x/oracle/types/oracle.pb.go index bcb7884901..f119c33cf8 100644 --- a/x/oracle/types/oracle.pb.go +++ b/x/oracle/types/oracle.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_sei_protocol_sei_chain_sei_cosmos_types "github.com/sei-protocol/sei-chain/sei-cosmos/types" io "io" math "math" math_bits "math/bits" @@ -26,16 +26,16 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type Params struct { // The number of blocks per voting window, at the end of the vote period, the oracle votes are assessed and exchange rates are calculated. If the vote period is 1 this is equivalent to having oracle votes assessed and exchange rates calculated in each block. - VotePeriod uint64 `protobuf:"varint,1,opt,name=vote_period,json=votePeriod,proto3" json:"vote_period,omitempty" yaml:"vote_period"` - VoteThreshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=vote_threshold,json=voteThreshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"vote_threshold" yaml:"vote_threshold"` - RewardBand github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=reward_band,json=rewardBand,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"reward_band" yaml:"reward_band"` - Whitelist DenomList `protobuf:"bytes,4,rep,name=whitelist,proto3,castrepeated=DenomList" json:"whitelist" yaml:"whitelist"` - SlashFraction github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=slash_fraction,json=slashFraction,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction" yaml:"slash_fraction"` + VotePeriod uint64 `protobuf:"varint,1,opt,name=vote_period,json=votePeriod,proto3" json:"vote_period,omitempty" yaml:"vote_period"` + VoteThreshold github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=vote_threshold,json=voteThreshold,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"vote_threshold" yaml:"vote_threshold"` + RewardBand github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,3,opt,name=reward_band,json=rewardBand,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"reward_band" yaml:"reward_band"` + Whitelist DenomList `protobuf:"bytes,4,rep,name=whitelist,proto3,castrepeated=DenomList" json:"whitelist" yaml:"whitelist"` + SlashFraction github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,5,opt,name=slash_fraction,json=slashFraction,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"slash_fraction" yaml:"slash_fraction"` // The interval in blocks at which the oracle module will assess validator penalty counters, and penalize validators with too poor performance. SlashWindow uint64 `protobuf:"varint,6,opt,name=slash_window,json=slashWindow,proto3" json:"slash_window,omitempty" yaml:"slash_window"` // The minimum percentage of voting windows for which a validator must have `success`es in order to not be penalized at the end of the slash window. - MinValidPerWindow github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=min_valid_per_window,json=minValidPerWindow,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_valid_per_window" yaml:"min_valid_per_window"` - LookbackDuration uint64 `protobuf:"varint,9,opt,name=lookback_duration,json=lookbackDuration,proto3" json:"lookback_duration,omitempty" yaml:"lookback_duration"` + MinValidPerWindow github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,7,opt,name=min_valid_per_window,json=minValidPerWindow,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"min_valid_per_window" yaml:"min_valid_per_window"` + LookbackDuration uint64 `protobuf:"varint,9,opt,name=lookback_duration,json=lookbackDuration,proto3" json:"lookback_duration,omitempty" yaml:"lookback_duration"` } func (m *Params) Reset() { *m = Params{} } @@ -172,8 +172,8 @@ func (m *AggregateExchangeRateVote) XXX_DiscardUnknown() { var xxx_messageInfo_AggregateExchangeRateVote proto.InternalMessageInfo type ExchangeRateTuple struct { - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` - ExchangeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=exchange_rate,json=exchangeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"exchange_rate" yaml:"exchange_rate"` + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"` + ExchangeRate github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=exchange_rate,json=exchangeRate,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"exchange_rate" yaml:"exchange_rate"` } func (m *ExchangeRateTuple) Reset() { *m = ExchangeRateTuple{} } @@ -209,9 +209,9 @@ func (m *ExchangeRateTuple) XXX_DiscardUnknown() { var xxx_messageInfo_ExchangeRateTuple proto.InternalMessageInfo type OracleExchangeRate struct { - ExchangeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=exchange_rate,json=exchangeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"exchange_rate" yaml:"exchange_rate"` - LastUpdate github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=last_update,json=lastUpdate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"last_update" yaml:"last_update"` - LastUpdateTimestamp int64 `protobuf:"varint,3,opt,name=last_update_timestamp,json=lastUpdateTimestamp,proto3" json:"last_update_timestamp,omitempty" yaml:"last_update_timestamp"` + ExchangeRate github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,1,opt,name=exchange_rate,json=exchangeRate,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"exchange_rate" yaml:"exchange_rate"` + LastUpdate github_com_sei_protocol_sei_chain_sei_cosmos_types.Int `protobuf:"bytes,2,opt,name=last_update,json=lastUpdate,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Int" json:"last_update" yaml:"last_update"` + LastUpdateTimestamp int64 `protobuf:"varint,3,opt,name=last_update_timestamp,json=lastUpdateTimestamp,proto3" json:"last_update_timestamp,omitempty" yaml:"last_update_timestamp"` } func (m *OracleExchangeRate) Reset() { *m = OracleExchangeRate{} } @@ -351,9 +351,9 @@ func (m *PriceSnapshot) GetPriceSnapshotItems() PriceSnapshotItems { } type OracleTwap struct { - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - Twap github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=twap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"twap" yaml:"twap"` - LookbackSeconds int64 `protobuf:"varint,3,opt,name=lookback_seconds,json=lookbackSeconds,proto3" json:"lookback_seconds,omitempty"` + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Twap github_com_sei_protocol_sei_chain_sei_cosmos_types.Dec `protobuf:"bytes,2,opt,name=twap,proto3,customtype=github.com/sei-protocol/sei-chain/sei-cosmos/types.Dec" json:"twap" yaml:"twap"` + LookbackSeconds int64 `protobuf:"varint,3,opt,name=lookback_seconds,json=lookbackSeconds,proto3" json:"lookback_seconds,omitempty"` } func (m *OracleTwap) Reset() { *m = OracleTwap{} } @@ -478,68 +478,68 @@ func init() { func init() { proto.RegisterFile("oracle/oracle.proto", fileDescriptor_dc470b50b143d488) } var fileDescriptor_dc470b50b143d488 = []byte{ - // 973 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xbf, 0x6f, 0x23, 0x45, - 0x14, 0xf6, 0x26, 0x4e, 0xc0, 0x63, 0x9b, 0x8b, 0x27, 0x3e, 0xf0, 0x71, 0x77, 0xde, 0x68, 0x4e, - 0x9c, 0x42, 0x71, 0x36, 0x3a, 0x0a, 0x84, 0x25, 0x0a, 0x4c, 0x38, 0x14, 0x74, 0x88, 0x30, 0x67, - 0x82, 0x44, 0xb3, 0x1a, 0xef, 0x0e, 0xf6, 0x28, 0xbb, 0x3b, 0xab, 0x9d, 0xf1, 0xf9, 0x52, 0x40, - 0x41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, 0xc5, 0xac, 0x07, 0xba, 0xb0, 0x52, 0x60, 0x98, - 0x14, 0x30, 0x74, 0xe2, 0x00, 0x60, 0xe4, 0x1a, 0x4c, 0x49, 0xf2, 0x0f, 0xb5, 0xf8, 0x04, 0x94, - 0xe5, 0x94, 0x24, 0xb6, 0xf7, 0xde, 0x59, 0xb9, 0xcd, 0xed, 0x95, 0xa8, 0x38, 0x10, 0xd6, 0x54, - 0xf0, 0x75, 0xb0, 0xb8, 0x5e, 0x3d, 0x41, 0x7d, 0x1e, 0x07, 0xc2, 0x74, 0x1a, 0xbe, 0x31, 0xc7, - 0x9f, 0x18, 0x18, 0x7d, 0x09, 0xe0, 0xa1, 0x7e, 0x3a, 0xc4, 0x24, 0x94, 0xc7, 0xef, 0xf1, 0x49, - 0x2c, 0x69, 0x0a, 0xef, 0x02, 0x10, 0x31, 0x21, 0x3c, 0x5f, 0xd9, 0xe6, 0xe9, 0x81, 0x2b, 0x0a, - 0xd1, 0x01, 0xf0, 0x1e, 0xa8, 0x93, 0xa1, 0x90, 0x84, 0xc5, 0x36, 0x62, 0x4d, 0x47, 0xd4, 0x2c, - 0xb8, 0x08, 0x12, 0x13, 0xdf, 0xa7, 0x0b, 0x9a, 0x75, 0x13, 0x64, 0x41, 0x1d, 0xd4, 0xff, 0xf0, - 0xf9, 0x59, 0xdb, 0x39, 0x3d, 0x6b, 0x3b, 0xbf, 0x9f, 0xb5, 0x9d, 0x6f, 0xcf, 0xdb, 0xa5, 0xd3, - 0xf3, 0x76, 0xe9, 0x97, 0xf3, 0x76, 0xe9, 0xf3, 0x37, 0x72, 0x02, 0x08, 0xca, 0x1e, 0xcc, 0xab, - 0xa8, 0x0d, 0x5d, 0xc6, 0xee, 0x33, 0xfb, 0xdc, 0x32, 0x72, 0x0c, 0x37, 0x75, 0xc8, 0x9b, 0x7f, - 0x07, 0x00, 0x00, 0xff, 0xff, 0x43, 0x2e, 0xc5, 0x25, 0x8c, 0x09, 0x00, 0x00, + // 971 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xcf, 0x8b, 0x23, 0x45, + 0x14, 0x4e, 0xcf, 0x64, 0x46, 0x53, 0x49, 0xdc, 0x49, 0x4d, 0x56, 0xb3, 0xee, 0x6e, 0x7a, 0xa8, + 0x45, 0x19, 0x0f, 0x26, 0xb2, 0x82, 0x62, 0x6e, 0xc6, 0x51, 0x18, 0x59, 0x71, 0xa8, 0x8d, 0xb3, + 0x20, 0x48, 0x53, 0xe9, 0x2e, 0x93, 0x62, 0xbb, 0xbb, 0x9a, 0xae, 0xca, 0x66, 0x07, 0xd1, 0xb3, + 0x27, 0x11, 0x4f, 0x82, 0x97, 0x39, 0x7b, 0xf2, 0x7f, 0x10, 0x64, 0x8f, 0x73, 0x14, 0x0f, 0xad, + 0xcc, 0x5c, 0x3c, 0x08, 0x42, 0xae, 0x5e, 0xa4, 0x7e, 0x24, 0xe9, 0x99, 0x1e, 0x47, 0x21, 0xb2, + 0xa7, 0xf4, 0xfb, 0xde, 0xab, 0xaf, 0xde, 0xfb, 0xea, 0xbd, 0x47, 0xc0, 0x36, 0x4f, 0x89, 0x1f, + 0xd2, 0xae, 0xf9, 0xe9, 0x24, 0x29, 0x97, 0x1c, 0xde, 0x14, 0x94, 0xe9, 0x2f, 0x9f, 0x87, 0x1d, + 0x41, 0x99, 0x3f, 0x26, 0x2c, 0xee, 0x98, 0x90, 0x17, 0x9b, 0x23, 0x3e, 0xe2, 0xda, 0xdb, 0x55, + 0x5f, 0xe6, 0x08, 0xfa, 0x71, 0x13, 0x6c, 0x1e, 0x90, 0x94, 0x44, 0x02, 0xbe, 0x09, 0xaa, 0x8f, + 0xb8, 0xa4, 0x5e, 0x42, 0x53, 0xc6, 0x83, 0x96, 0xb3, 0xe3, 0xec, 0x96, 0xfb, 0xcf, 0xcf, 0x32, + 0x17, 0x1e, 0x91, 0x28, 0xec, 0xa1, 0x9c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x9a, 0x75, + 0x13, 0x64, 0x41, 0x1d, 0xd4, 0x7f, 0xff, 0xc9, 0x69, 0xdb, 0x39, 0x39, 0x6d, 0x3b, 0xbf, 0x9d, + 0xb6, 0x9d, 0xaf, 0xcf, 0xda, 0xa5, 0x93, 0xb3, 0x76, 0xe9, 0xe7, 0xb3, 0x76, 0xe9, 0xe3, 0xd7, + 0xfe, 0x5d, 0x90, 0xc7, 0xf6, 0xff, 0x9e, 0x91, 0x63, 0xb8, 0xa9, 0x43, 0x5e, 0xff, 0x3b, 0x00, + 0x00, 0xff, 0xff, 0x10, 0xb7, 0x30, 0xca, 0x0d, 0x0a, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { diff --git a/x/oracle/types/params.go b/x/oracle/types/params.go index ef76e14611..dc8d42c539 100644 --- a/x/oracle/types/params.go +++ b/x/oracle/types/params.go @@ -7,8 +7,8 @@ import ( "github.com/sei-protocol/sei-chain/x/oracle/utils" - sdk "github.com/cosmos/cosmos-sdk/types" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + paramstypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // Parameter keys diff --git a/x/oracle/types/params_test.go b/x/oracle/types/params_test.go index 83b4a3fbe7..812dcc58be 100755 --- a/x/oracle/types/params_test.go +++ b/x/oracle/types/params_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func TestParamsValid(t *testing.T) { diff --git a/x/oracle/types/querier.go b/x/oracle/types/querier.go index 11250923c8..996d8468d0 100755 --- a/x/oracle/types/querier.go +++ b/x/oracle/types/querier.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // Defines the prefix of each query path diff --git a/x/oracle/types/snapshots_test.go b/x/oracle/types/snapshots_test.go index 02ce3a3891..8269f22159 100644 --- a/x/oracle/types/snapshots_test.go +++ b/x/oracle/types/snapshots_test.go @@ -3,7 +3,7 @@ package types import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/oracle/utils" "github.com/stretchr/testify/require" ) diff --git a/x/oracle/types/test_utils.go b/x/oracle/types/test_utils.go index 9ca324191a..0597c824f3 100755 --- a/x/oracle/types/test_utils.go +++ b/x/oracle/types/test_utils.go @@ -5,10 +5,10 @@ import ( "math/rand" "time" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - sdk "github.com/cosmos/cosmos-sdk/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/keys/secp256k1" + cryptotypes "github.com/sei-protocol/sei-chain/sei-cosmos/crypto/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + stakingtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/staking/types" tmprotocrypto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/crypto" ) diff --git a/x/oracle/types/vote.go b/x/oracle/types/vote.go index ed8c728b59..ef15a45bd5 100755 --- a/x/oracle/types/vote.go +++ b/x/oracle/types/vote.go @@ -6,7 +6,7 @@ import ( "gopkg.in/yaml.v2" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // NewAggregateExchangeRateVote creates a AggregateExchangeRateVote instance diff --git a/x/oracle/utils/period.go b/x/oracle/utils/period.go index c9d86e6a00..3bb804768d 100644 --- a/x/oracle/utils/period.go +++ b/x/oracle/utils/period.go @@ -1,7 +1,7 @@ package utils import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) const ( diff --git a/x/store/handler.go b/x/store/handler.go index ab64b9a051..133feed662 100644 --- a/x/store/handler.go +++ b/x/store/handler.go @@ -1,7 +1,7 @@ package store import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func GetCachedContext(ctx sdk.Context) (sdk.Context, sdk.CacheMultiStore) { diff --git a/x/tokenfactory/client/cli/query.go b/x/tokenfactory/client/cli/query.go index 582e30fbe3..f93634d2c7 100644 --- a/x/tokenfactory/client/cli/query.go +++ b/x/tokenfactory/client/cli/query.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/client/cli/tx.go b/x/tokenfactory/client/cli/tx.go index 27bf615e5d..1075821db7 100644 --- a/x/tokenfactory/client/cli/tx.go +++ b/x/tokenfactory/client/cli/tx.go @@ -12,12 +12,12 @@ import ( "github.com/spf13/cobra" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/codec" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/flags" + "github.com/sei-protocol/sei-chain/sei-cosmos/client/tx" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" @@ -306,7 +306,7 @@ func ParseMetadataJSON(cdc *codec.LegacyAmino, metadataFile string) (banktypes.M return proposal, err } - if err := cdc.UnmarshalJSON(contents, &proposal); err != nil { + if err := cdc.UnmarshalAsJSON(contents, &proposal); err != nil { return proposal, err } diff --git a/x/tokenfactory/client/cli/tx_test.go b/x/tokenfactory/client/cli/tx_test.go index 981e58d120..23026e0693 100644 --- a/x/tokenfactory/client/cli/tx_test.go +++ b/x/tokenfactory/client/cli/tx_test.go @@ -4,15 +4,15 @@ import ( "bytes" "context" "fmt" - "github.com/cosmos/cosmos-sdk/client" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "google.golang.org/grpc" "os" "testing" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/testutil" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/testutil" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" evmtypes "github.com/sei-protocol/sei-chain/x/evm/types" "github.com/stretchr/testify/require" ) diff --git a/x/tokenfactory/client/wasm/encoder.go b/x/tokenfactory/client/wasm/encoder.go index 8772400f91..2ace8f7a80 100644 --- a/x/tokenfactory/client/wasm/encoder.go +++ b/x/tokenfactory/client/wasm/encoder.go @@ -3,7 +3,7 @@ package wasm import ( "encoding/json" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/wasmbinding/bindings" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/client/wasm/query.go b/x/tokenfactory/client/wasm/query.go index 1b476e513a..d3f4375d53 100644 --- a/x/tokenfactory/client/wasm/query.go +++ b/x/tokenfactory/client/wasm/query.go @@ -1,7 +1,7 @@ package wasm import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tokenfactorykeeper "github.com/sei-protocol/sei-chain/x/tokenfactory/keeper" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/handler.go b/x/tokenfactory/handler.go index 496148d340..5e6ce7093c 100644 --- a/x/tokenfactory/handler.go +++ b/x/tokenfactory/handler.go @@ -1,9 +1,9 @@ package tokenfactory import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + govtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/gov/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/keeper" ) diff --git a/x/tokenfactory/keeper/admins.go b/x/tokenfactory/keeper/admins.go index 627da9aefa..5a9157b90c 100644 --- a/x/tokenfactory/keeper/admins.go +++ b/x/tokenfactory/keeper/admins.go @@ -1,8 +1,8 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gogo/protobuf/proto" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/keeper/admins_test.go b/x/tokenfactory/keeper/admins_test.go index 0431c090c7..93553b660c 100644 --- a/x/tokenfactory/keeper/admins_test.go +++ b/x/tokenfactory/keeper/admins_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/keeper/bankactions.go b/x/tokenfactory/keeper/bankactions.go index 21cc1c4208..9254c85424 100644 --- a/x/tokenfactory/keeper/bankactions.go +++ b/x/tokenfactory/keeper/bankactions.go @@ -3,7 +3,7 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/keeper/bankactions_test.go b/x/tokenfactory/keeper/bankactions_test.go index c056bf33f8..224eba3684 100644 --- a/x/tokenfactory/keeper/bankactions_test.go +++ b/x/tokenfactory/keeper/bankactions_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/keeper/createdenom.go b/x/tokenfactory/keeper/createdenom.go index 4394ffb616..d6946f4ebb 100644 --- a/x/tokenfactory/keeper/createdenom.go +++ b/x/tokenfactory/keeper/createdenom.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/keeper/createdenom_test.go b/x/tokenfactory/keeper/createdenom_test.go index a81c9c1175..0ee269b47f 100644 --- a/x/tokenfactory/keeper/createdenom_test.go +++ b/x/tokenfactory/keeper/createdenom_test.go @@ -2,9 +2,9 @@ package keeper_test import ( "fmt" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/keeper/creators.go b/x/tokenfactory/keeper/creators.go index 2cec5c2d73..f5d3d99701 100644 --- a/x/tokenfactory/keeper/creators.go +++ b/x/tokenfactory/keeper/creators.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (k Keeper) addDenomFromCreator(ctx sdk.Context, creator, denom string) { diff --git a/x/tokenfactory/keeper/genesis.go b/x/tokenfactory/keeper/genesis.go index 6a3a0b82a2..412da24730 100644 --- a/x/tokenfactory/keeper/genesis.go +++ b/x/tokenfactory/keeper/genesis.go @@ -1,7 +1,7 @@ package keeper import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/keeper/genesis_test.go b/x/tokenfactory/keeper/genesis_test.go index e4ec747cdf..c8044c40c4 100644 --- a/x/tokenfactory/keeper/genesis_test.go +++ b/x/tokenfactory/keeper/genesis_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" diff --git a/x/tokenfactory/keeper/grpc_query.go b/x/tokenfactory/keeper/grpc_query.go index cc46dfb4cf..b2cc282949 100644 --- a/x/tokenfactory/keeper/grpc_query.go +++ b/x/tokenfactory/keeper/grpc_query.go @@ -3,7 +3,7 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/tokenfactory/keeper/grpc_query_test.go b/x/tokenfactory/keeper/grpc_query_test.go index 288ef36d6b..46371a66e0 100644 --- a/x/tokenfactory/keeper/grpc_query_test.go +++ b/x/tokenfactory/keeper/grpc_query_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "context" "fmt" - sdk "github.com/cosmos/cosmos-sdk/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/keeper" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" "reflect" diff --git a/x/tokenfactory/keeper/keeper.go b/x/tokenfactory/keeper/keeper.go index 2e98732cea..78d7587028 100644 --- a/x/tokenfactory/keeper/keeper.go +++ b/x/tokenfactory/keeper/keeper.go @@ -5,14 +5,14 @@ import ( "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + "github.com/sei-protocol/sei-chain/sei-cosmos/store/prefix" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) type ( diff --git a/x/tokenfactory/keeper/keeper_test.go b/x/tokenfactory/keeper/keeper_test.go index f1be27988c..c500da2551 100644 --- a/x/tokenfactory/keeper/keeper_test.go +++ b/x/tokenfactory/keeper/keeper_test.go @@ -1,10 +1,10 @@ package keeper_test import ( - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/stretchr/testify/suite" diff --git a/x/tokenfactory/keeper/migrations.go b/x/tokenfactory/keeper/migrations.go index 736c3d6e61..81b2ba40bd 100644 --- a/x/tokenfactory/keeper/migrations.go +++ b/x/tokenfactory/keeper/migrations.go @@ -4,9 +4,9 @@ import ( "fmt" "strings" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/keeper/migrations_test.go b/x/tokenfactory/keeper/migrations_test.go index 8e4d195c71..0408a5a463 100644 --- a/x/tokenfactory/keeper/migrations_test.go +++ b/x/tokenfactory/keeper/migrations_test.go @@ -4,15 +4,15 @@ import ( "strings" "testing" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - - "github.com/cosmos/cosmos-sdk/codec" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/cosmos/cosmos-sdk/store" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - typesparams "github.com/cosmos/cosmos-sdk/x/params/types" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" + + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + codectypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/store" + storetypes "github.com/sei-protocol/sei-chain/sei-cosmos/store/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + typesparams "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "github.com/sei-protocol/sei-chain/sei-tendermint/libs/log" tmproto "github.com/sei-protocol/sei-chain/sei-tendermint/proto/tendermint/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" diff --git a/x/tokenfactory/keeper/msg_server.go b/x/tokenfactory/keeper/msg_server.go index 5e27331865..7c98ded3de 100644 --- a/x/tokenfactory/keeper/msg_server.go +++ b/x/tokenfactory/keeper/msg_server.go @@ -4,7 +4,7 @@ import ( "context" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) diff --git a/x/tokenfactory/keeper/params.go b/x/tokenfactory/keeper/params.go index a78483ca81..6be72cd586 100644 --- a/x/tokenfactory/keeper/params.go +++ b/x/tokenfactory/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( "github.com/sei-protocol/sei-chain/x/tokenfactory/types" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) // GetParams returns the total set params. diff --git a/x/tokenfactory/module.go b/x/tokenfactory/module.go index e08add9bac..78b9d6f190 100644 --- a/x/tokenfactory/module.go +++ b/x/tokenfactory/module.go @@ -14,17 +14,17 @@ import ( "fmt" "math/rand" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/sei-protocol/sei-chain/sei-cosmos/client" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/module" abci "github.com/sei-protocol/sei-chain/sei-tendermint/abci/types" "github.com/spf13/cobra" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + simtypes "github.com/sei-protocol/sei-chain/sei-cosmos/types/simulation" "github.com/sei-protocol/sei-chain/x/tokenfactory/client/cli" "github.com/sei-protocol/sei-chain/x/tokenfactory/keeper" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" @@ -68,7 +68,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { // ValidateGenesis performs genesis state validation for the x/tokenfactory module. func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState - if err := cdc.UnmarshalJSON(bz, &genState); err != nil { + if err := cdc.UnmarshalAsJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) } diff --git a/x/tokenfactory/types/authority_metadata.go b/x/tokenfactory/types/authority_metadata.go index b45bffcab5..9da0fb1854 100644 --- a/x/tokenfactory/types/authority_metadata.go +++ b/x/tokenfactory/types/authority_metadata.go @@ -1,7 +1,7 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" ) func (metadata DenomAuthorityMetadata) Validate() error { diff --git a/x/tokenfactory/types/codec.go b/x/tokenfactory/types/codec.go index 0525131e3b..6867529d80 100644 --- a/x/tokenfactory/types/codec.go +++ b/x/tokenfactory/types/codec.go @@ -1,12 +1,12 @@ package types import ( - "github.com/cosmos/cosmos-sdk/codec" - cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/codec" + cdctypes "github.com/sei-protocol/sei-chain/sei-cosmos/codec/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" // this line is used by starport scaffolding # 1 - "github.com/cosmos/cosmos-sdk/types/msgservice" + "github.com/sei-protocol/sei-chain/sei-cosmos/types/msgservice" ) func RegisterCodec(cdc *codec.LegacyAmino) { diff --git a/x/tokenfactory/types/denoms.go b/x/tokenfactory/types/denoms.go index 1968019027..b869dbbd81 100644 --- a/x/tokenfactory/types/denoms.go +++ b/x/tokenfactory/types/denoms.go @@ -4,9 +4,9 @@ import ( fmt "fmt" "strings" - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + bankkeeper "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/keeper" ) const ( diff --git a/x/tokenfactory/types/errors.go b/x/tokenfactory/types/errors.go index 0450a779fe..780e5685bd 100644 --- a/x/tokenfactory/types/errors.go +++ b/x/tokenfactory/types/errors.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // x/tokenfactory module sentinel errors diff --git a/x/tokenfactory/types/events.go b/x/tokenfactory/types/events.go index 0eead1aadd..20b4e0da55 100644 --- a/x/tokenfactory/types/events.go +++ b/x/tokenfactory/types/events.go @@ -1,14 +1,12 @@ -/*#nosec G101 */ package types // event types // nolint const ( - AttributeAmount = "amount" - AttributeCreator = "creator" - AttributeSubdenom = "subdenom" - //nolint:gosec - AttributeNewTokenDenom = "new_token_denom" + AttributeAmount = "amount" + AttributeCreator = "creator" + AttributeSubdenom = "subdenom" + AttributeNewTokenDenom = "new_token_denom" //nolint:gosec AttributeUpdatedTokenDenom = "updated_token_denom" AttributeMintToAddress = "mint_to_address" AttributeBurnFromAddress = "burn_from_address" diff --git a/x/tokenfactory/types/expected_keepers.go b/x/tokenfactory/types/expected_keepers.go index 5ec60b8512..94ab18dbc1 100644 --- a/x/tokenfactory/types/expected_keepers.go +++ b/x/tokenfactory/types/expected_keepers.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + authtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/auth/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) type BankKeeper interface { diff --git a/x/tokenfactory/types/genesis.go b/x/tokenfactory/types/genesis.go index b1ba181fab..d4ffa80c83 100644 --- a/x/tokenfactory/types/genesis.go +++ b/x/tokenfactory/types/genesis.go @@ -1,8 +1,8 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" ) // this line is used by starport scaffolding # genesis/types/import diff --git a/x/tokenfactory/types/msgs.go b/x/tokenfactory/types/msgs.go index d2ef73174e..0ef112da5c 100644 --- a/x/tokenfactory/types/msgs.go +++ b/x/tokenfactory/types/msgs.go @@ -1,9 +1,9 @@ package types import ( - sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" + sdkerrors "github.com/sei-protocol/sei-chain/sei-cosmos/types/errors" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" ) // constants diff --git a/x/tokenfactory/types/msgs_test.go b/x/tokenfactory/types/msgs_test.go index 101fdf65ca..432b73098f 100644 --- a/x/tokenfactory/types/msgs_test.go +++ b/x/tokenfactory/types/msgs_test.go @@ -2,10 +2,10 @@ package types_test import ( "fmt" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + banktypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" "testing" - sdk "github.com/cosmos/cosmos-sdk/types" + sdk "github.com/sei-protocol/sei-chain/sei-cosmos/types" "github.com/stretchr/testify/require" "github.com/sei-protocol/sei-chain/x/tokenfactory/types" diff --git a/x/tokenfactory/types/params.go b/x/tokenfactory/types/params.go index 544a837c49..db0a89992e 100644 --- a/x/tokenfactory/types/params.go +++ b/x/tokenfactory/types/params.go @@ -3,7 +3,7 @@ package types import ( "fmt" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramtypes "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" ) // DefaultDenomAllowListMaxSize default denom allowlist max size and can be overridden by governance proposal. diff --git a/x/tokenfactory/types/params_test.go b/x/tokenfactory/types/params_test.go index b0c32db5c5..97561afad8 100644 --- a/x/tokenfactory/types/params_test.go +++ b/x/tokenfactory/types/params_test.go @@ -2,7 +2,7 @@ package types import ( "bytes" - "github.com/cosmos/cosmos-sdk/x/params/types" + "github.com/sei-protocol/sei-chain/sei-cosmos/x/params/types" "reflect" "testing" ) diff --git a/x/tokenfactory/types/query.pb.go b/x/tokenfactory/types/query.pb.go index 297a3b6e01..169be20217 100644 --- a/x/tokenfactory/types/query.pb.go +++ b/x/tokenfactory/types/query.pb.go @@ -6,10 +6,10 @@ package types import ( context "context" fmt "fmt" - types "github.com/cosmos/cosmos-sdk/x/bank/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/tokenfactory/types/tx.pb.go b/x/tokenfactory/types/tx.pb.go index 9a7277a57d..a4944a5284 100644 --- a/x/tokenfactory/types/tx.pb.go +++ b/x/tokenfactory/types/tx.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" - types1 "github.com/cosmos/cosmos-sdk/types" - types "github.com/cosmos/cosmos-sdk/x/bank/types" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" + types1 "github.com/sei-protocol/sei-chain/sei-cosmos/types" + types "github.com/sei-protocol/sei-chain/sei-cosmos/x/bank/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status"