diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml new file mode 100644 index 0000000..ca86831 --- /dev/null +++ b/.github/workflows/actions.yml @@ -0,0 +1,31 @@ +on: + workflow_dispatch: + +jobs: + converge: + name: Converge + runs-on: ubuntu-latest + steps: + + - name: Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Install werf + uses: werf/actions/install@v1.2 + + - name: Log in to registry + # This is where you will update the personal access token to GITHUB_TOKEN + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin + + - name: Run echo + run: | + werf version + docker version + echo $GITHUB_REPOSITORY + echo $GITHUB_SHA + - name: Run Build + run: | + . $(werf ci-env github --as-file) + werf export service --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA diff --git a/.github/workflows/actions_onlymain.yml b/.github/workflows/actions_onlymain.yml new file mode 100644 index 0000000..65459ed --- /dev/null +++ b/.github/workflows/actions_onlymain.yml @@ -0,0 +1,33 @@ +on: + push: + branches: + - 'main' + +jobs: + converge: + name: Converge + runs-on: ubuntu-latest + steps: + + - name: Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Install werf + uses: werf/actions/install@v1.2 + + - name: Log in to registry + # This is where you will update the personal access token to GITHUB_TOKEN + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin + + - name: Run echo + run: | + werf version + docker version + echo $GITHUB_REPOSITORY + echo $GITHUB_SHA + - name: Run Build + run: | + . $(werf ci-env github --as-file) + werf export service --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml new file mode 100644 index 0000000..0d1d099 --- /dev/null +++ b/.github/workflows/tag.yml @@ -0,0 +1,33 @@ +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' + +jobs: + converge: + name: Converge + runs-on: ubuntu-latest + steps: + + - name: Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Install werf + uses: werf/actions/install@v1.2 + + - name: Log in to registry + # This is where you will update the personal access token to GITHUB_TOKEN + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin + + - name: Run echo + run: | + werf version + docker version + echo $GITHUB_REPOSITORY + echo $GITHUB_REF_NAME + - name: Run Build + run: | + . $(werf ci-env github --as-file) + werf export service --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index ffbfe0e..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,175 +0,0 @@ -default: - image: - name: "tokend/werf:0.0.12" - entrypoint: [""] - services: - - name: docker:20-dind - alias: docker - # in our experience although you'd assume this would be sufficient, this did - # nothing to prevent connection errors without `DOCKER_TLS_CERTDIR` being set - # to an empty string, and I would call that beyond mildly infuriating. - command: ["--tls=false"] - tags: - - "tokend" - - -variables: - DOCKER_DRIVER: overlay2 - DOCKER_HOST: tcp://docker:2375 - DOCKER_TLS_CERTDIR: "" - SERVICE: $CI_PROJECT_NAME - REGISTRY: registry.gitlab.com/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME - IMAGE_NAME: $REGISTRY:$CI_COMMIT_SHA - IMAGE_NAME_TAG: $REGISTRY:$CI_COMMIT_TAG - DH_IMAGE_NAME: $CI_PROJECT_ROOT_NAMESPACE/$CI_PROJECT_NAME - WERF_LOG_COLOR_MODE: "on" - WERF_IMAGES_REPO: $CI_REGISTRY_IMAGE - WERF_BUILDAH_MODE: auto - -.before_script_template: &before_script_templ - before_script: - - werf version - - docker version - - echo $CI_REGISTRY - - echo $CI_REGISTRY_USER - - echo $CI_REGISTRY_PASSWORD - - echo $WERF_IMAGES_REPO - - echo $WERF_ADD_CUSTOM_TAG_1 - -stages: - - build-and-publish - - code-review - #- deploy - #- update - - cleanup - -Build and Publish: - stage: build-and-publish - <<: *before_script_templ - script: - - type werf && source $(werf ci-env gitlab --as-file) - - werf build --report-path=images-report.json - - docker pull $(cat images-report.json | jq -r .Images.service.DockerImageName) - - docker tag $(cat images-report.json | jq -r .Images.service.DockerImageName) $IMAGE_NAME - - docker push $IMAGE_NAME - except: [schedules] - interruptible: true - -Build and Publish Tag: - stage: build-and-publish - only: - - tags - <<: *before_script_templ - script: - - type werf && source $(werf ci-env gitlab --as-file) - - werf build --report-path=images-report.json - - docker pull $(cat images-report.json | jq -r .Images.service.DockerImageName) - - docker tag $(cat images-report.json | jq -r .Images.service.DockerImageName) $IMAGE_NAME_TAG - - docker push $IMAGE_NAME_TAG - except: [schedules] - interruptible: true - -# Code-Review: -# image: golang:1.16 -# stage: code-review -# only: -# - merge_requests -# except: [schedules] -# interruptible: true -# variables: -# GIT_STRATEGY: clone -# GIT_CHECKOUT: "true" -# GIT_DEPTH: "0" -# before_script: -# - | -# raw='runner: -# \n\tgolangci-lint: -# \n\t\tcmd: golangci-lint run -# \n\t\terrorformat: -# \n\t\t\t- "%f:%l:%c: %m"' -# - echo -e $raw > reviewdog.yml -# - curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b ./bin -# - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.43.0 -# script: -# - if [ -f reviewdog.yml ]; then ./bin/reviewdog -reporter=gitlab-mr-discussion -tee; fi -# needs: [] - -########################## -# use for deployment via # -# helm chart must be in # -# the .helm directory # -########################## - -# Deploy to Staging: -# services: -# - docker:18-dind -# image: dtzar/helm-kubectl:latest -# tags: -# - tokend-deploy -# stage: deploy -# script: -# - mkdir ~/.kube/ -# - echo ${k8sconfig} | base64 -d > config -# - mv config ~/.kube/ -# - helm upgrade -i "webclient" ".helm" --set global.IngressDomain=stage.${DOMAIN} --set "image.repository=${REGISTRY}" --set "image.tag=${CI_COMMIT_SHA}" --create-namespace --namespace $CI_PROJECT_NAME-stage -# interruptible: true - -# Deploy to Production: -# services: -# - docker:18-dind -# image: dtzar/helm-kubectl:latest -# tags: -# - tokend-deploy -# stage: deploy -# script: -# - mkdir ~/.kube/ -# - echo ${k8sconfig} | base64 -d > config -# - mv config ~/.kube/ -# - helm upgrade -i "webclient" ".helm" --set global.IngressDomain=${DOMAIN} --set "image.repository=${REGISTRY}" --set "image.tag=${CI_COMMIT_TAG}" --create-namespace --namespace $CI_PROJECT_NAME-prod -# when: manual -# interruptible: true - -############################## -# can be used if deployment # -# via helm was not initially # -# configured # -############################## - -# Update to Staging: -# services: -# - docker:18-dind -# image: dtzar/helm-kubectl:latest -# tags: -# - tokend-deploy -# stage: update -# script: -# - mkdir ~/.kube/ -# - echo ${k8sconfig} | base64 -d > config -# - mv config ~/.kube/ -# - kubectl set image deployment/my-deployment mycontainer=myimage:1.9.1 -n mynamespace -# interruptible: true - -# Update to Production: -# services: -# - docker:18-dind -# image: dtzar/helm-kubectl:latest -# tags: -# - tokend-deploy -# stage: update -# script: -# - mkdir ~/.kube/ -# - echo ${k8sconfig} | base64 -d > config -# - mv config ~/.kube/ -# - kubectl set image deployment/my-deployment mycontainer=myimage:1.9.1 -n mynamespace -# when: manual -# interruptible: true - -Cleanup: - stage: cleanup - <<: *before_script_templ - script: - - type multiwerf && . $(multiwerf use 1.1 stable --as-file) - - type werf && source $(werf ci-env gitlab --as-file) - - docker login -u nobody -p ${WERF_IMAGES_CLEANUP_PASSWORD} ${WERF_IMAGES_REPO} - - werf cleanup --dev - only: [schedules] diff --git a/Dockerfile b/Dockerfile index b4caceb..f7c3464 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,15 @@ FROM golang:1.20-alpine as buildbase -WORKDIR /go/src/gitlab.com/rarimo/bdjuno +WORKDIR /go/src/github.com/rarimo/bdjuno RUN apk add build-base COPY vendor . COPY . . ENV GO111MODULE="on" ENV CGO_ENABLED=1 ENV GOOS="linux" -RUN go build -o /usr/local/bin/bdjuno gitlab.com/rarimo/bdjuno/cmd/bdjuno +RUN go mod tidy +RUN go mod vendor +RUN go build -o /usr/local/bin/bdjuno github.com/rarimo/bdjuno/cmd/bdjuno ### diff --git a/LICENSE b/LICENSE index 8e04bb1..bbd9549 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Forbole Ltd. +Copyright (c) 2023 Zero Block Global Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index f74fd61..ba86149 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,4 @@ # BDJuno -[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/forbole/bdjuno/Tests)](https://github.com/forbole/bdjuno/actions?query=workflow%3ATests) -[![Go Report Card](https://goreportcard.com/badge/github.com/forbole/bdjuno)](https://goreportcard.com/report/github.com/forbole/bdjuno) -![Codecov branch](https://img.shields.io/codecov/c/github/forbole/bdjuno/cosmos/v0.40.x) BDJuno (shorthand for BigDipper Juno) is the [Juno](https://github.com/forbole/juno) implementation for [BigDipper](https://github.com/forbole/big-dipper). diff --git a/cmd/bdjuno/main.go b/cmd/bdjuno/main.go index a7f6999..dbb933a 100644 --- a/cmd/bdjuno/main.go +++ b/cmd/bdjuno/main.go @@ -7,15 +7,15 @@ import ( parsetypes "github.com/forbole/juno/v4/cmd/parse/types" startcmd "github.com/forbole/juno/v4/cmd/start" "github.com/forbole/juno/v4/modules/messages" - migratecmd "gitlab.com/rarimo/bdjuno/cmd/migrate" - parsecmd "gitlab.com/rarimo/bdjuno/cmd/parse" - "gitlab.com/rarimo/bdjuno/types/config" + migratecmd "github.com/rarimo/bdjuno/cmd/migrate" + parsecmd "github.com/rarimo/bdjuno/cmd/parse" + "github.com/rarimo/bdjuno/types/config" - "gitlab.com/rarimo/bdjuno/database" - "gitlab.com/rarimo/bdjuno/modules" + "github.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/modules" - migratedbcmd "gitlab.com/rarimo/bdjuno/cmd/migrate_db" - rarimoapp "gitlab.com/rarimo/rarimo-core/app" + migratedbcmd "github.com/rarimo/bdjuno/cmd/migrate_db" + rarimoapp "github.com/rarimo/rarimo-core/app" ) func main() { diff --git a/cmd/migrate/cmd.go b/cmd/migrate/cmd.go index ebcdbac..338cae2 100644 --- a/cmd/migrate/cmd.go +++ b/cmd/migrate/cmd.go @@ -7,7 +7,7 @@ import ( parsecmdtypes "github.com/forbole/juno/v4/cmd/parse/types" "github.com/spf13/cobra" - v3 "gitlab.com/rarimo/bdjuno/cmd/migrate/v3" + v3 "github.com/rarimo/bdjuno/cmd/migrate/v3" ) type Migrator func(parseCfg *parsecmdtypes.Config) error diff --git a/cmd/migrate/v3/migrate.go b/cmd/migrate/v3/migrate.go index d841eef..d77945b 100644 --- a/cmd/migrate/v3/migrate.go +++ b/cmd/migrate/v3/migrate.go @@ -4,7 +4,7 @@ import ( "fmt" "io/ioutil" - "gitlab.com/rarimo/bdjuno/modules/actions" + "github.com/rarimo/bdjuno/modules/actions" parsecmdtypes "github.com/forbole/juno/v4/cmd/parse/types" diff --git a/cmd/migrate/v3/types.go b/cmd/migrate/v3/types.go index b221124..0f2ac1f 100644 --- a/cmd/migrate/v3/types.go +++ b/cmd/migrate/v3/types.go @@ -3,7 +3,7 @@ package v3 import ( v4 "github.com/forbole/juno/v4/cmd/migrate/v4" - "gitlab.com/rarimo/bdjuno/modules/actions" + "github.com/rarimo/bdjuno/modules/actions" ) type Config struct { diff --git a/cmd/migrate_db/migrate_db.go b/cmd/migrate_db/migrate_db.go index 2e4ad96..0defc74 100644 --- a/cmd/migrate_db/migrate_db.go +++ b/cmd/migrate_db/migrate_db.go @@ -6,9 +6,9 @@ import ( parsecmdtypes "github.com/forbole/juno/v4/cmd/parse/types" "github.com/forbole/juno/v4/logging" "github.com/forbole/juno/v4/types/config" + "github.com/rarimo/bdjuno/database" migrate "github.com/rubenv/sql-migrate" "github.com/spf13/cobra" - "gitlab.com/rarimo/bdjuno/database" ) var migrations = &migrate.EmbedFileSystemMigrationSource{ diff --git a/cmd/parse/auth/vesting.go b/cmd/parse/auth/vesting.go index b116710..b5626fe 100644 --- a/cmd/parse/auth/vesting.go +++ b/cmd/parse/auth/vesting.go @@ -8,9 +8,9 @@ import ( "github.com/forbole/juno/v4/types/config" "github.com/spf13/cobra" - "gitlab.com/rarimo/bdjuno/database" - authutils "gitlab.com/rarimo/bdjuno/modules/auth" - "gitlab.com/rarimo/bdjuno/utils" + "github.com/rarimo/bdjuno/database" + authutils "github.com/rarimo/bdjuno/modules/auth" + "github.com/rarimo/bdjuno/utils" ) // vestingCmd returns a Cobra command that allows to fix the vesting data for the accounts diff --git a/cmd/parse/feegrant/allowance.go b/cmd/parse/feegrant/allowance.go index ddafe93..b464bcd 100644 --- a/cmd/parse/feegrant/allowance.go +++ b/cmd/parse/feegrant/allowance.go @@ -7,12 +7,12 @@ import ( parsecmdtypes "github.com/forbole/juno/v4/cmd/parse/types" "github.com/forbole/juno/v4/types/config" - "gitlab.com/rarimo/bdjuno/modules/feegrant" - "gitlab.com/rarimo/bdjuno/utils" + "github.com/rarimo/bdjuno/modules/feegrant" + "github.com/rarimo/bdjuno/utils" "github.com/spf13/cobra" - "gitlab.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/database" "sort" diff --git a/cmd/parse/gov/proposal.go b/cmd/parse/gov/proposal.go index 8e7d828..8e3cfc1 100644 --- a/cmd/parse/gov/proposal.go +++ b/cmd/parse/gov/proposal.go @@ -3,14 +3,14 @@ package gov import ( "encoding/hex" "fmt" - "gitlab.com/rarimo/bdjuno/modules/bridge" - "gitlab.com/rarimo/bdjuno/modules/oraclemanager" - "gitlab.com/rarimo/bdjuno/modules/rarimocore" - "gitlab.com/rarimo/bdjuno/modules/tokenmanager" + "github.com/rarimo/bdjuno/modules/bridge" + "github.com/rarimo/bdjuno/modules/oraclemanager" + "github.com/rarimo/bdjuno/modules/rarimocore" + "github.com/rarimo/bdjuno/modules/tokenmanager" "strconv" + modulestypes "github.com/rarimo/bdjuno/modules/types" "github.com/rs/zerolog/log" - modulestypes "gitlab.com/rarimo/bdjuno/modules/types" govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" parsecmdtypes "github.com/forbole/juno/v4/cmd/parse/types" @@ -19,13 +19,13 @@ import ( "github.com/forbole/juno/v4/parser" - "gitlab.com/rarimo/bdjuno/database" - "gitlab.com/rarimo/bdjuno/modules/distribution" - "gitlab.com/rarimo/bdjuno/modules/gov" - "gitlab.com/rarimo/bdjuno/modules/mint" - "gitlab.com/rarimo/bdjuno/modules/slashing" - "gitlab.com/rarimo/bdjuno/modules/staking" - "gitlab.com/rarimo/bdjuno/utils" + "github.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/modules/distribution" + "github.com/rarimo/bdjuno/modules/gov" + "github.com/rarimo/bdjuno/modules/mint" + "github.com/rarimo/bdjuno/modules/slashing" + "github.com/rarimo/bdjuno/modules/staking" + "github.com/rarimo/bdjuno/utils" ) // proposalCmd returns the Cobra command allowing to fix all things related to a proposal diff --git a/cmd/parse/parse.go b/cmd/parse/parse.go index 392a474..e24cb89 100644 --- a/cmd/parse/parse.go +++ b/cmd/parse/parse.go @@ -9,10 +9,10 @@ import ( parsegenesis "github.com/forbole/juno/v4/cmd/parse/genesis" parsetransaction "github.com/forbole/juno/v4/cmd/parse/transactions" - parseauth "gitlab.com/rarimo/bdjuno/cmd/parse/auth" - parsefeegrant "gitlab.com/rarimo/bdjuno/cmd/parse/feegrant" - parsegov "gitlab.com/rarimo/bdjuno/cmd/parse/gov" - parsestaking "gitlab.com/rarimo/bdjuno/cmd/parse/staking" + parseauth "github.com/rarimo/bdjuno/cmd/parse/auth" + parsefeegrant "github.com/rarimo/bdjuno/cmd/parse/feegrant" + parsegov "github.com/rarimo/bdjuno/cmd/parse/gov" + parsestaking "github.com/rarimo/bdjuno/cmd/parse/staking" ) // NewParseCmd returns the Cobra command allowing to parse some chain data without having to re-sync the whole database diff --git a/cmd/parse/staking/validators.go b/cmd/parse/staking/validators.go index dc64e31..dc2d379 100644 --- a/cmd/parse/staking/validators.go +++ b/cmd/parse/staking/validators.go @@ -3,14 +3,14 @@ package staking import ( "fmt" - modulestypes "gitlab.com/rarimo/bdjuno/modules/types" + modulestypes "github.com/rarimo/bdjuno/modules/types" parsecmdtypes "github.com/forbole/juno/v4/cmd/parse/types" "github.com/forbole/juno/v4/types/config" "github.com/spf13/cobra" - "gitlab.com/rarimo/bdjuno/database" - "gitlab.com/rarimo/bdjuno/modules/staking" + "github.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/modules/staking" ) // validatorsCmd returns a Cobra command that allows to fix the validator infos for all validators. diff --git a/database/auth.go b/database/auth.go index 5485e1c..1ac7566 100644 --- a/database/auth.go +++ b/database/auth.go @@ -9,10 +9,10 @@ import ( "github.com/gogo/protobuf/proto" "github.com/lib/pq" - dbtypes "gitlab.com/rarimo/bdjuno/database/types" - dbutils "gitlab.com/rarimo/bdjuno/database/utils" + dbtypes "github.com/rarimo/bdjuno/database/types" + dbutils "github.com/rarimo/bdjuno/database/utils" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // SaveAccounts saves the given accounts inside the database diff --git a/database/bank.go b/database/bank.go index 3c14e1e..03d215b 100644 --- a/database/bank.go +++ b/database/bank.go @@ -3,7 +3,7 @@ package database import ( "fmt" - dbtypes "gitlab.com/rarimo/bdjuno/database/types" + dbtypes "github.com/rarimo/bdjuno/database/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/lib/pq" diff --git a/database/bridge.go b/database/bridge.go index ca897c6..86e80ff 100644 --- a/database/bridge.go +++ b/database/bridge.go @@ -2,7 +2,7 @@ package database import ( "fmt" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" "strings" ) diff --git a/database/consensus.go b/database/consensus.go index 93c211c..08c16ab 100644 --- a/database/consensus.go +++ b/database/consensus.go @@ -4,9 +4,9 @@ import ( "fmt" "time" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" - dbtypes "gitlab.com/rarimo/bdjuno/database/types" + dbtypes "github.com/rarimo/bdjuno/database/types" ) // GetLastBlock returns the last block stored inside the database based on the heights diff --git a/database/distribution.go b/database/distribution.go index 6f27c15..683cdbe 100644 --- a/database/distribution.go +++ b/database/distribution.go @@ -4,9 +4,9 @@ import ( "encoding/json" "fmt" - dbtypes "gitlab.com/rarimo/bdjuno/database/types" + dbtypes "github.com/rarimo/bdjuno/database/types" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/lib/pq" diff --git a/database/feegrant.go b/database/feegrant.go index 1a02446..71ae7d8 100644 --- a/database/feegrant.go +++ b/database/feegrant.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // SaveFeeGrantAllowance allows to store the fee grant allowances for the given block height diff --git a/database/gov.go b/database/gov.go index d54e4e8..4e4ffa1 100644 --- a/database/gov.go +++ b/database/gov.go @@ -6,9 +6,9 @@ import ( govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" "strings" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" - dbtypes "gitlab.com/rarimo/bdjuno/database/types" + dbtypes "github.com/rarimo/bdjuno/database/types" "github.com/lib/pq" ) diff --git a/database/mint.go b/database/mint.go index b2c468e..6a637ea 100644 --- a/database/mint.go +++ b/database/mint.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // SaveMintParams allows to store the given params inside the database diff --git a/database/multisig.go b/database/multisig.go index c9ddbf1..bf87b72 100644 --- a/database/multisig.go +++ b/database/multisig.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" "github.com/lib/pq" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" "strings" ) diff --git a/database/oraclemanager.go b/database/oraclemanager.go index b926538..23398d0 100644 --- a/database/oraclemanager.go +++ b/database/oraclemanager.go @@ -2,7 +2,7 @@ package database import ( "fmt" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" "strings" ) diff --git a/database/pricefeed.go b/database/pricefeed.go index f891a7a..568410e 100644 --- a/database/pricefeed.go +++ b/database/pricefeed.go @@ -3,8 +3,8 @@ package database import ( "fmt" - dbtypes "gitlab.com/rarimo/bdjuno/database/types" - "gitlab.com/rarimo/bdjuno/types" + dbtypes "github.com/rarimo/bdjuno/database/types" + "github.com/rarimo/bdjuno/types" "strings" "github.com/lib/pq" diff --git a/database/rarimocore.go b/database/rarimocore.go index 96900f8..2c30b8e 100644 --- a/database/rarimocore.go +++ b/database/rarimocore.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" "github.com/lib/pq" - dbtypes "gitlab.com/rarimo/bdjuno/database/types" - "gitlab.com/rarimo/bdjuno/types" + dbtypes "github.com/rarimo/bdjuno/database/types" + "github.com/rarimo/bdjuno/types" "strings" ) diff --git a/database/slashing.go b/database/slashing.go index 713b11c..d0d70ca 100644 --- a/database/slashing.go +++ b/database/slashing.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // SaveValidatorsSigningInfos saves the given infos inside the database diff --git a/database/staking_params.go b/database/staking_params.go index e1ac990..8a2f1be 100644 --- a/database/staking_params.go +++ b/database/staking_params.go @@ -6,8 +6,8 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - dbtypes "gitlab.com/rarimo/bdjuno/database/types" - "gitlab.com/rarimo/bdjuno/types" + dbtypes "github.com/rarimo/bdjuno/database/types" + "github.com/rarimo/bdjuno/types" ) // SaveStakingParams allows to store the given params into the database diff --git a/database/staking_pool.go b/database/staking_pool.go index f767dd4..695b75c 100644 --- a/database/staking_pool.go +++ b/database/staking_pool.go @@ -3,7 +3,7 @@ package database import ( "fmt" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // SaveStakingPool allows to save for the given height the given stakingtypes pool diff --git a/database/staking_validators.go b/database/staking_validators.go index ada9772..3217f61 100644 --- a/database/staking_validators.go +++ b/database/staking_validators.go @@ -4,9 +4,9 @@ import ( "fmt" "strings" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" - dbtypes "gitlab.com/rarimo/bdjuno/database/types" + dbtypes "github.com/rarimo/bdjuno/database/types" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" diff --git a/database/tokenmanager.go b/database/tokenmanager.go index ab2b0c1..8147dc8 100644 --- a/database/tokenmanager.go +++ b/database/tokenmanager.go @@ -3,8 +3,8 @@ package database import ( "encoding/json" "fmt" - dbtypes "gitlab.com/rarimo/bdjuno/database/types" - "gitlab.com/rarimo/bdjuno/types" + dbtypes "github.com/rarimo/bdjuno/database/types" + "github.com/rarimo/bdjuno/types" "strings" ) diff --git a/database/utils/bank.go b/database/utils/bank.go index f93ce7c..6c5c758 100644 --- a/database/utils/bank.go +++ b/database/utils/bank.go @@ -1,6 +1,6 @@ package utils -import "gitlab.com/rarimo/bdjuno/types" +import "github.com/rarimo/bdjuno/types" const ( maxPostgreSQLParams = 65535 diff --git a/go.mod b/go.mod index af8f2f6..44ea6da 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitlab.com/rarimo/bdjuno +module github.com/rarimo/bdjuno go 1.20 @@ -13,22 +13,22 @@ require ( github.com/lib/pq v1.10.7 github.com/pelletier/go-toml v1.9.5 github.com/prometheus/client_golang v1.14.0 + github.com/rarimo/rarimo-core v1.0.7-0.20231015135728-36de84c73c67 github.com/rs/zerolog v1.29.1 github.com/rubenv/sql-migrate v1.2.0 github.com/spf13/cobra v1.7.0 github.com/stretchr/testify v1.8.3 github.com/tendermint/tendermint v0.34.27 - gitlab.com/rarimo/rarimo-core v0.0.0-20230717151930-21f3f2a703e4 - google.golang.org/grpc v1.55.0 + google.golang.org/grpc v1.58.0 gopkg.in/yaml.v3 v3.0.1 ) require ( - cloud.google.com/go v0.110.0 // indirect - cloud.google.com/go/compute v1.19.0 // indirect + cloud.google.com/go v0.110.6 // indirect + cloud.google.com/go/compute v1.23.0 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v0.13.0 // indirect - cloud.google.com/go/storage v1.28.1 // indirect + cloud.google.com/go/iam v1.1.1 // indirect + cloud.google.com/go/storage v1.30.1 // indirect cosmossdk.io/errors v1.0.0-beta.7 // indirect filippo.io/edwards25519 v1.0.0-rc.1 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect @@ -88,10 +88,10 @@ require ( github.com/google/btree v1.1.2 // indirect github.com/google/go-cmp v0.5.9 // indirect github.com/google/orderedcode v0.0.1 // indirect - github.com/google/s2a-go v0.1.3 // indirect + github.com/google/s2a-go v0.1.4 // indirect github.com/google/uuid v1.3.0 // indirect github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect - github.com/googleapis/gax-go/v2 v2.8.0 // indirect + github.com/googleapis/gax-go/v2 v2.11.0 // indirect github.com/gorilla/handlers v1.5.1 // indirect github.com/gorilla/mux v1.8.0 // indirect github.com/gorilla/websocket v1.5.0 // indirect @@ -142,6 +142,7 @@ require ( github.com/prometheus/procfs v0.9.0 // indirect github.com/prometheus/tsdb v0.7.1 // indirect github.com/rakyll/statik v0.1.7 // indirect + github.com/rarimo/go-merkle v0.0.0-20231004122345-36fa49031c66 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/regen-network/cosmos-proto v0.3.1 // indirect github.com/rivo/uniseg v0.2.0 // indirect @@ -172,25 +173,24 @@ require ( github.com/ulikunitz/xz v0.5.8 // indirect github.com/zondax/hid v0.9.1 // indirect github.com/zondax/ledger-go v0.14.1 // indirect - gitlab.com/rarimo/go-merkle v0.0.0-20221212103215-4a9612e1bed1 // indirect go.etcd.io/bbolt v1.3.6 // indirect go.opencensus.io v0.24.0 // indirect - golang.org/x/crypto v0.9.0 // indirect + golang.org/x/crypto v0.13.0 // indirect golang.org/x/exp v0.0.0-20230206171751-46f607a40771 // indirect golang.org/x/mod v0.10.0 // indirect - golang.org/x/net v0.10.0 // indirect - golang.org/x/oauth2 v0.8.0 // indirect + golang.org/x/net v0.15.0 // indirect + golang.org/x/oauth2 v0.12.0 // indirect golang.org/x/sync v0.2.0 // indirect - golang.org/x/sys v0.8.0 // indirect - golang.org/x/term v0.8.0 // indirect - golang.org/x/text v0.9.0 // indirect + golang.org/x/sys v0.12.0 // indirect + golang.org/x/term v0.12.0 // indirect + golang.org/x/text v0.13.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.122.0 // indirect + google.golang.org/api v0.126.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230526203410-71b5a4ffd15e // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect - google.golang.org/protobuf v1.30.0 // indirect + google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect + google.golang.org/protobuf v1.31.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect gopkg.in/yaml.v2 v2.4.0 // indirect @@ -200,7 +200,7 @@ require ( replace ( github.com/btcsuite/btcd => github.com/btcsuite/btcd v0.22.0-beta github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0 - github.com/cosmos/cosmos-sdk => gitlab.com/rarimo/cosmos-sdk v0.46.7-rc.6 + github.com/cosmos/cosmos-sdk => github.com/rarimo/cosmos-sdk v0.46.7 github.com/cosmos/iavl => github.com/cosmos/iavl v0.19.4 github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/tendermint/tendermint => github.com/tendermint/tendermint v0.34.24 diff --git a/go.sum b/go.sum index 6be9dfe..f95dfdb 100644 --- a/go.sum +++ b/go.sum @@ -34,8 +34,9 @@ cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34h 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 h1:Zc8gqp3+a9/Eyph2KDmcGaPtbKRIoqq4YTlL4NMD0Ys= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= +cloud.google.com/go v0.110.6 h1:8uYAkj3YHTP/1iwReuHPxLSbdcyc+dSBbzFMrVwDR6Q= +cloud.google.com/go v0.110.6/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= 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= @@ -145,8 +146,8 @@ cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x 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 h1:+9zda3WGgW1ZSTlVppLCYFIr48Pa35q1uG2N1itbCEQ= -cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= +cloud.google.com/go/compute v1.23.0 h1:tP41Zoavr8ptEqaW6j+LQOnyBBhO7OkOMAGrgLopTwY= +cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= 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= @@ -268,8 +269,8 @@ cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQE 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 h1:+CmB+K0J/33d0zSQ9SlFWUeCCEn5XJA0ZMZ3pHE9u8k= -cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= +cloud.google.com/go/iam v1.1.1 h1:lW7fzj15aVIXYHREOqjRBV9PsH0Z6u8Y46a1YGvQP4Y= +cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= 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= @@ -295,7 +296,6 @@ cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9 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 h1:v+yFJOfKC3yZdY6ZUI933pIYdhyhV8S3NpWrXWmg7jM= 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= @@ -458,8 +458,9 @@ cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3f 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 h1:F5QDG5ChchaAVQhINh24U99OWHURqrW8OmQcGKXcbgI= cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= +cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM= +cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= 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= @@ -868,8 +869,8 @@ github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLe 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/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.3 h1:FAgZmpLl/SXurPEZyCMPBIiiYeTbqfjlbdnCNTAkbGE= -github.com/google/s2a-go v0.1.3/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= +github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= +github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= 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 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= @@ -890,8 +891,8 @@ github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK 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.8.0 h1:UBtEZqx1bjXtOQ5BVTkuYghXrr3N4V123VKJK67vJZc= -github.com/googleapis/gax-go/v2 v2.8.0/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= +github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= +github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= 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= @@ -1170,6 +1171,12 @@ github.com/prometheus/tsdb v0.7.1 h1:YZcsG11NqnK4czYLrWd9mpEuAJIHVQLwdrleYfszMAA github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/rakyll/statik v0.1.7 h1:OF3QCZUuyPxuGEP7B4ypUa7sB/iHtqOTDYZXGM8KOdQ= github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Unghqrcc= +github.com/rarimo/cosmos-sdk v0.46.7 h1:jU2PiWzc+19SF02cXM0O0puKPeH1C6Q6t2lzJ9s1ejc= +github.com/rarimo/cosmos-sdk v0.46.7/go.mod h1:fqKqz39U5IlEFb4nbQ72951myztsDzFKKDtffYJ63nk= +github.com/rarimo/go-merkle v0.0.0-20231004122345-36fa49031c66 h1:1KAU4rfWWJwAJ/kencagL3k5BXN3HhP004QNkEUgvDE= +github.com/rarimo/go-merkle v0.0.0-20231004122345-36fa49031c66/go.mod h1:5Pt9Lk8w7fWhyRO/NMb5x8DRhF2lESRVPT5uOlezInQ= +github.com/rarimo/rarimo-core v1.0.7-0.20231015135728-36de84c73c67 h1:0TJ1YitngTSh4rzTBtWQtGgvNJ4VOvdz7Rdk1j1uzGU= +github.com/rarimo/rarimo-core v1.0.7-0.20231015135728-36de84c73c67/go.mod h1:Onkd0EJP94hw4dT/2KH7QXRwDG4eIGeaMffSjA1i6/s= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/regen-network/cosmos-proto v0.3.1 h1:rV7iM4SSFAagvy8RiyhiACbWEGotmqzywPxOvwMdxcg= @@ -1319,14 +1326,6 @@ github.com/zondax/hid v0.9.1 h1:gQe66rtmyZ8VeGFcOpbuH3r7erYtNEAezCAYu8LdkJo= github.com/zondax/hid v0.9.1/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= github.com/zondax/ledger-go v0.14.1 h1:Pip65OOl4iJ84WTpA4BKChvOufMhhbxED3BaihoZN4c= github.com/zondax/ledger-go v0.14.1/go.mod h1:fZ3Dqg6qcdXWSOJFKMG8GCTnD7slO/RL2feOQv8K320= -gitlab.com/rarimo/cosmos-sdk v0.46.7-rc.6 h1:+rleF7jtwnoqPepJuiBexpebQmW63qi/V60sN4F1ANE= -gitlab.com/rarimo/cosmos-sdk v0.46.7-rc.6/go.mod h1:fqKqz39U5IlEFb4nbQ72951myztsDzFKKDtffYJ63nk= -gitlab.com/rarimo/go-merkle v0.0.0-20221212103215-4a9612e1bed1 h1:/NTsZ61HpUSxJuzZp9nUbeVeMIIlmFGygFuVOBsUqlY= -gitlab.com/rarimo/go-merkle v0.0.0-20221212103215-4a9612e1bed1/go.mod h1:O4/lUka2v/6HvcxNielMJ2HsTZaizQN6uBYimSIithE= -gitlab.com/rarimo/rarimo-core v0.0.0-20230713073353-20bcfef13ce6 h1:0Ft0UnXs0ZxYrd8DzEDda3RKLJCNdO58piZGIJq+l7g= -gitlab.com/rarimo/rarimo-core v0.0.0-20230713073353-20bcfef13ce6/go.mod h1:jtjUjEZu/v0oSXC6GjpCQhdtfQDnA3ye69/jQqEIr50= -gitlab.com/rarimo/rarimo-core v0.0.0-20230717151930-21f3f2a703e4 h1:U3i29lGB4CAvNWCVY2ll2GZ8RPeY9KcPzuq28rNwcwM= -gitlab.com/rarimo/rarimo-core v0.0.0-20230717151930-21f3f2a703e4/go.mod h1:jtjUjEZu/v0oSXC6GjpCQhdtfQDnA3ye69/jQqEIr50= go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= @@ -1371,8 +1370,8 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= -golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= +golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= 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= @@ -1497,8 +1496,8 @@ golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= 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.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8= +golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= 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= @@ -1527,8 +1526,8 @@ 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.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= -golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= +golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4= +golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4= 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= @@ -1648,8 +1647,8 @@ 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.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -1657,8 +1656,8 @@ 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.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU= +golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= 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= @@ -1673,8 +1672,8 @@ 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.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 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= 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= @@ -1821,8 +1820,8 @@ google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/ 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.122.0 h1:zDobeejm3E7pEG1mNHvdxvjs5XJoCMzyNH+CmwL94Es= -google.golang.org/api v0.122.0/go.mod h1:gcitW0lvnyWjSp9nKxAbdHKIZ6vF4aajGueeslZOyms= +google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= +google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= 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= @@ -1957,12 +1956,12 @@ google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ 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-20230306155012-7f2fa6fef1f4/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= -google.golang.org/genproto v0.0.0-20230526203410-71b5a4ffd15e h1:Ao9GzfUMPH3zjVfzXG5rlWlk+Q8MXWKwWpwVQE1MXfw= -google.golang.org/genproto v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= -google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc h1:kVKPf/IiYSBWEWtkIn6wZXwWGCnLKcC8oWfZvXjsGnM= -google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc h1:XSJ8Vk1SWuNr8S18z1NZSziL0CPIXLCCMDOEFtHBOFc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 h1:L6iMMGrtzgHsWofoFcihmDEMYeDR9KN/ThbPWGrh++g= +google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5/go.mod h1:oH/ZOT02u4kWEp7oYBGYFFkCdKS/uYR9Z7+0/xuuFp8= +google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d h1:DoPTO70H+bcDXcd39vOqb2viZxgqeBeSGtZ55yZU4/Q= +google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d h1:uvYuEyMHKNt+lT4K3bN6fGswmK8qSvcreM3BwjDh+y4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= google.golang.org/grpc v1.55.0 h1:3Oj82/tFSCeUrRTg/5E/7d/W5A1tj6Ky1ABAuZuv5ag= google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= @@ -1981,8 +1980,9 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ 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.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= 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= diff --git a/modules/actions/handle_additional_operations.go b/modules/actions/handle_additional_operations.go index d6a6a9d..53ec020 100644 --- a/modules/actions/handle_additional_operations.go +++ b/modules/actions/handle_additional_operations.go @@ -6,8 +6,8 @@ import ( "sync" "syscall" - "gitlab.com/rarimo/bdjuno/modules/actions/handlers" - actionstypes "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/handlers" + actionstypes "github.com/rarimo/bdjuno/modules/actions/types" ) var ( diff --git a/modules/actions/handlers/account_balance.go b/modules/actions/handlers/account_balance.go index bd07a3c..f172112 100644 --- a/modules/actions/handlers/account_balance.go +++ b/modules/actions/handlers/account_balance.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" "github.com/rs/zerolog/log" ) diff --git a/modules/actions/handlers/delegation.go b/modules/actions/handlers/delegation.go index 458d773..0ea9158 100644 --- a/modules/actions/handlers/delegation.go +++ b/modules/actions/handlers/delegation.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" "google.golang.org/grpc/codes" diff --git a/modules/actions/handlers/delegation_total.go b/modules/actions/handlers/delegation_total.go index 5ff9465..32caf96 100644 --- a/modules/actions/handlers/delegation_total.go +++ b/modules/actions/handlers/delegation_total.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/rs/zerolog/log" diff --git a/modules/actions/handlers/delegator_reward.go b/modules/actions/handlers/delegator_reward.go index d104f07..d615ee4 100644 --- a/modules/actions/handlers/delegator_reward.go +++ b/modules/actions/handlers/delegator_reward.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" "github.com/rs/zerolog/log" ) diff --git a/modules/actions/handlers/delegator_withdraw_address.go b/modules/actions/handlers/delegator_withdraw_address.go index 2acdb7a..8f161c8 100644 --- a/modules/actions/handlers/delegator_withdraw_address.go +++ b/modules/actions/handlers/delegator_withdraw_address.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" "github.com/rs/zerolog/log" ) diff --git a/modules/actions/handlers/redelegation.go b/modules/actions/handlers/redelegation.go index 361e422..56cd1de 100644 --- a/modules/actions/handlers/redelegation.go +++ b/modules/actions/handlers/redelegation.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/rs/zerolog/log" diff --git a/modules/actions/handlers/unbonding_delegation_total.go b/modules/actions/handlers/unbonding_delegation_total.go index fe6c03c..8fc7d42 100644 --- a/modules/actions/handlers/unbonding_delegation_total.go +++ b/modules/actions/handlers/unbonding_delegation_total.go @@ -4,7 +4,7 @@ import ( "fmt" "math/big" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" "github.com/rs/zerolog/log" ) diff --git a/modules/actions/handlers/unbonding_delegations.go b/modules/actions/handlers/unbonding_delegations.go index ca256d5..0a71f6a 100644 --- a/modules/actions/handlers/unbonding_delegations.go +++ b/modules/actions/handlers/unbonding_delegations.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" "github.com/rs/zerolog/log" ) diff --git a/modules/actions/handlers/validator_commission.go b/modules/actions/handlers/validator_commission.go index e78386c..90c151d 100644 --- a/modules/actions/handlers/validator_commission.go +++ b/modules/actions/handlers/validator_commission.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" "github.com/rs/zerolog/log" ) diff --git a/modules/actions/handlers/validator_delegation.go b/modules/actions/handlers/validator_delegation.go index 7c918fa..91d7f59 100644 --- a/modules/actions/handlers/validator_delegation.go +++ b/modules/actions/handlers/validator_delegation.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/rs/zerolog/log" diff --git a/modules/actions/handlers/validator_redelegations_from.go b/modules/actions/handlers/validator_redelegations_from.go index 9220839..90ba8e0 100644 --- a/modules/actions/handlers/validator_redelegations_from.go +++ b/modules/actions/handlers/validator_redelegations_from.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/rs/zerolog/log" diff --git a/modules/actions/handlers/validator_unbonding_delegations.go b/modules/actions/handlers/validator_unbonding_delegations.go index c838758..0c1ca46 100644 --- a/modules/actions/handlers/validator_unbonding_delegations.go +++ b/modules/actions/handlers/validator_unbonding_delegations.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "gitlab.com/rarimo/bdjuno/modules/actions/types" + "github.com/rarimo/bdjuno/modules/actions/types" "github.com/rs/zerolog/log" ) diff --git a/modules/actions/module.go b/modules/actions/module.go index 84f8fa3..59a0bfc 100644 --- a/modules/actions/module.go +++ b/modules/actions/module.go @@ -8,7 +8,7 @@ import ( nodeconfig "github.com/forbole/juno/v4/node/config" "github.com/forbole/juno/v4/types/config" - modulestypes "gitlab.com/rarimo/bdjuno/modules/types" + modulestypes "github.com/rarimo/bdjuno/modules/types" ) const ( diff --git a/modules/actions/types/handler.go b/modules/actions/types/handler.go index f5acdbf..3b2bc2a 100644 --- a/modules/actions/types/handler.go +++ b/modules/actions/types/handler.go @@ -5,7 +5,7 @@ import ( "github.com/forbole/juno/v4/node" - modulestypes "gitlab.com/rarimo/bdjuno/modules/types" + modulestypes "github.com/rarimo/bdjuno/modules/types" ) // Context contains the data about a Hasura actions worker execution diff --git a/modules/actions/types/worker.go b/modules/actions/types/worker.go index cb0456e..b28c8aa 100644 --- a/modules/actions/types/worker.go +++ b/modules/actions/types/worker.go @@ -7,7 +7,7 @@ import ( "net/http" "time" - "gitlab.com/rarimo/bdjuno/modules/actions/logging" + "github.com/rarimo/bdjuno/modules/actions/logging" "github.com/rs/zerolog/log" ) diff --git a/modules/auth/auth_accounts.go b/modules/auth/auth_accounts.go index 48b4036..b36127c 100644 --- a/modules/auth/auth_accounts.go +++ b/modules/auth/auth_accounts.go @@ -7,7 +7,7 @@ import ( authttypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // GetGenesisAccounts parses the given appState and returns the genesis accounts diff --git a/modules/auth/handle_msg.go b/modules/auth/handle_msg.go index f0aa3c7..236c1f8 100644 --- a/modules/auth/handle_msg.go +++ b/modules/auth/handle_msg.go @@ -12,8 +12,8 @@ import ( authttypes "github.com/cosmos/cosmos-sdk/x/auth/types" vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "gitlab.com/rarimo/bdjuno/modules/utils" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/modules/utils" + "github.com/rarimo/bdjuno/types" ) // HandleMsg implements modules.MessageModule diff --git a/modules/auth/module.go b/modules/auth/module.go index 56791cc..62a9165 100644 --- a/modules/auth/module.go +++ b/modules/auth/module.go @@ -3,7 +3,7 @@ package auth import ( "github.com/cosmos/cosmos-sdk/codec" - "gitlab.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/database" "github.com/forbole/juno/v4/modules" "github.com/forbole/juno/v4/modules/messages" diff --git a/modules/bank/handle_periodic_operations.go b/modules/bank/handle_periodic_operations.go index 91d12b7..824d506 100644 --- a/modules/bank/handle_periodic_operations.go +++ b/modules/bank/handle_periodic_operations.go @@ -6,7 +6,7 @@ import ( "github.com/go-co-op/gocron" "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/modules/utils" + "github.com/rarimo/bdjuno/modules/utils" ) // RegisterPeriodicOperations implements modules.Module diff --git a/modules/bank/module.go b/modules/bank/module.go index 3a960ac..d384705 100644 --- a/modules/bank/module.go +++ b/modules/bank/module.go @@ -3,8 +3,8 @@ package bank import ( "github.com/cosmos/cosmos-sdk/codec" - "gitlab.com/rarimo/bdjuno/database" - "gitlab.com/rarimo/bdjuno/modules/bank/source" + "github.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/modules/bank/source" junomessages "github.com/forbole/juno/v4/modules/messages" diff --git a/modules/bank/source/local/source.go b/modules/bank/source/local/source.go index 8c414ee..6737696 100644 --- a/modules/bank/source/local/source.go +++ b/modules/bank/source/local/source.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/forbole/juno/v4/node/local" - "gitlab.com/rarimo/bdjuno/modules/bank/source" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/modules/bank/source" + "github.com/rarimo/bdjuno/types" ) var ( diff --git a/modules/bank/source/remote/source.go b/modules/bank/source/remote/source.go index 207efeb..467fa17 100644 --- a/modules/bank/source/remote/source.go +++ b/modules/bank/source/remote/source.go @@ -8,8 +8,8 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/forbole/juno/v4/node/remote" - bankkeeper "gitlab.com/rarimo/bdjuno/modules/bank/source" - "gitlab.com/rarimo/bdjuno/types" + bankkeeper "github.com/rarimo/bdjuno/modules/bank/source" + "github.com/rarimo/bdjuno/types" ) var ( diff --git a/modules/bank/source/remote/source_actions.go b/modules/bank/source/remote/source_actions.go index 8ebb8bd..9d274dd 100644 --- a/modules/bank/source/remote/source_actions.go +++ b/modules/bank/source/remote/source_actions.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "gitlab.com/rarimo/bdjuno/utils" + "github.com/rarimo/bdjuno/utils" ) // GetAccountBalances implements bankkeeper.Source diff --git a/modules/bank/source/source.go b/modules/bank/source/source.go index 97de1eb..c6006ed 100644 --- a/modules/bank/source/source.go +++ b/modules/bank/source/source.go @@ -3,7 +3,7 @@ package source import ( sdk "github.com/cosmos/cosmos-sdk/types" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) type Source interface { diff --git a/modules/bridge/handle_genesis.go b/modules/bridge/handle_genesis.go index fdb3f6e..370245e 100644 --- a/modules/bridge/handle_genesis.go +++ b/modules/bridge/handle_genesis.go @@ -3,10 +3,10 @@ package bridge import ( "encoding/json" "fmt" + "github.com/rarimo/bdjuno/types" + bridgetypes "github.com/rarimo/rarimo-core/x/bridge/types" "github.com/rs/zerolog/log" tmtypes "github.com/tendermint/tendermint/types" - "gitlab.com/rarimo/bdjuno/types" - bridgetypes "gitlab.com/rarimo/rarimo-core/x/bridge/types" ) // HandleGenesis implements modules.Module diff --git a/modules/bridge/handle_msg.go b/modules/bridge/handle_msg.go index db727ae..9b066a6 100644 --- a/modules/bridge/handle_msg.go +++ b/modules/bridge/handle_msg.go @@ -3,8 +3,8 @@ package bridge import ( sdk "github.com/cosmos/cosmos-sdk/types" juno "github.com/forbole/juno/v4/types" - "gitlab.com/rarimo/bdjuno/types" - bridgetypes "gitlab.com/rarimo/rarimo-core/x/bridge/types" + "github.com/rarimo/bdjuno/types" + bridgetypes "github.com/rarimo/rarimo-core/x/bridge/types" ) // HandleMsg implements modules.MessageModule diff --git a/modules/bridge/module.go b/modules/bridge/module.go index 8b02515..326e382 100644 --- a/modules/bridge/module.go +++ b/modules/bridge/module.go @@ -2,8 +2,8 @@ package bridge import ( "github.com/cosmos/cosmos-sdk/codec" - "gitlab.com/rarimo/bdjuno/database" - bridge "gitlab.com/rarimo/bdjuno/modules/bridge/source" + "github.com/rarimo/bdjuno/database" + bridge "github.com/rarimo/bdjuno/modules/bridge/source" "github.com/forbole/juno/v4/modules" ) diff --git a/modules/bridge/source/remote/source.go b/modules/bridge/source/remote/source.go index df31f9f..999055b 100644 --- a/modules/bridge/source/remote/source.go +++ b/modules/bridge/source/remote/source.go @@ -2,8 +2,8 @@ package remote import ( "github.com/forbole/juno/v4/node/remote" - bridgesource "gitlab.com/rarimo/bdjuno/modules/bridge/source" - bridgetypes "gitlab.com/rarimo/rarimo-core/x/bridge/types" + bridgesource "github.com/rarimo/bdjuno/modules/bridge/source" + bridgetypes "github.com/rarimo/rarimo-core/x/bridge/types" ) var ( diff --git a/modules/bridge/source/source.go b/modules/bridge/source/source.go index 8d39115..b68ca31 100644 --- a/modules/bridge/source/source.go +++ b/modules/bridge/source/source.go @@ -1,6 +1,6 @@ package source -import bridgetypes "gitlab.com/rarimo/rarimo-core/x/bridge/types" +import bridgetypes "github.com/rarimo/rarimo-core/x/bridge/types" type Source interface { Params(height int64) (bridgetypes.Params, error) diff --git a/modules/bridge/utils_params.go b/modules/bridge/utils_params.go index 956407a..ae74139 100644 --- a/modules/bridge/utils_params.go +++ b/modules/bridge/utils_params.go @@ -2,9 +2,9 @@ package bridge import ( "fmt" + "github.com/rarimo/bdjuno/types" + bridgetypes "github.com/rarimo/rarimo-core/x/bridge/types" "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/types" - bridgetypes "gitlab.com/rarimo/rarimo-core/x/bridge/types" ) func (m *Module) UpdateParams(height int64) error { diff --git a/modules/consensus/handle_genesis.go b/modules/consensus/handle_genesis.go index d5cd8fe..699fe07 100644 --- a/modules/consensus/handle_genesis.go +++ b/modules/consensus/handle_genesis.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" "github.com/rs/zerolog/log" tmtypes "github.com/tendermint/tendermint/types" diff --git a/modules/consensus/handle_periodic_operations.go b/modules/consensus/handle_periodic_operations.go index a79ccf5..6967d37 100644 --- a/modules/consensus/handle_periodic_operations.go +++ b/modules/consensus/handle_periodic_operations.go @@ -6,7 +6,7 @@ import ( "github.com/go-co-op/gocron" "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/modules/utils" + "github.com/rarimo/bdjuno/modules/utils" ) // RegisterPeriodicOperations implements modules.Module diff --git a/modules/consensus/module.go b/modules/consensus/module.go index ed8f912..9699d7d 100644 --- a/modules/consensus/module.go +++ b/modules/consensus/module.go @@ -1,7 +1,7 @@ package consensus import ( - "gitlab.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/database" "github.com/forbole/juno/v4/modules" ) diff --git a/modules/distribution/handle_genesis.go b/modules/distribution/handle_genesis.go index 9449fed..813b4a3 100644 --- a/modules/distribution/handle_genesis.go +++ b/modules/distribution/handle_genesis.go @@ -6,7 +6,7 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" "github.com/rs/zerolog/log" diff --git a/modules/distribution/handle_periodic_operations.go b/modules/distribution/handle_periodic_operations.go index e5946d6..b46da2e 100644 --- a/modules/distribution/handle_periodic_operations.go +++ b/modules/distribution/handle_periodic_operations.go @@ -6,7 +6,7 @@ import ( "github.com/go-co-op/gocron" "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/modules/utils" + "github.com/rarimo/bdjuno/modules/utils" ) // RegisterPeriodicOperations implements modules.PeriodicOperationsModule diff --git a/modules/distribution/module.go b/modules/distribution/module.go index 41315a2..dd36ada 100644 --- a/modules/distribution/module.go +++ b/modules/distribution/module.go @@ -3,11 +3,11 @@ package distribution import ( "github.com/cosmos/cosmos-sdk/codec" - distrsource "gitlab.com/rarimo/bdjuno/modules/distribution/source" + distrsource "github.com/rarimo/bdjuno/modules/distribution/source" "github.com/forbole/juno/v4/modules" - "gitlab.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/database" ) var ( diff --git a/modules/distribution/source/local/source.go b/modules/distribution/source/local/source.go index 902c456..e736a07 100644 --- a/modules/distribution/source/local/source.go +++ b/modules/distribution/source/local/source.go @@ -7,7 +7,7 @@ import ( distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" "github.com/forbole/juno/v4/node/local" - distrsource "gitlab.com/rarimo/bdjuno/modules/distribution/source" + distrsource "github.com/rarimo/bdjuno/modules/distribution/source" ) var ( diff --git a/modules/distribution/source/remote/source.go b/modules/distribution/source/remote/source.go index 55f0fed..7b58644 100644 --- a/modules/distribution/source/remote/source.go +++ b/modules/distribution/source/remote/source.go @@ -5,7 +5,7 @@ import ( distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" "github.com/forbole/juno/v4/node/remote" - distrsource "gitlab.com/rarimo/bdjuno/modules/distribution/source" + distrsource "github.com/rarimo/bdjuno/modules/distribution/source" ) var ( diff --git a/modules/distribution/source/remote/source_actions.go b/modules/distribution/source/remote/source_actions.go index e8906c7..7e66576 100644 --- a/modules/distribution/source/remote/source_actions.go +++ b/modules/distribution/source/remote/source_actions.go @@ -7,7 +7,7 @@ import ( distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" "github.com/forbole/juno/v4/node/remote" - "gitlab.com/rarimo/bdjuno/utils" + "github.com/rarimo/bdjuno/utils" ) // DelegatorTotalRewards implements distrsource.Source diff --git a/modules/distribution/utils_params.go b/modules/distribution/utils_params.go index 4c9a644..e1baa91 100644 --- a/modules/distribution/utils_params.go +++ b/modules/distribution/utils_params.go @@ -5,7 +5,7 @@ import ( "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // UpdateParams gets the updated params and stores them inside the database diff --git a/modules/feegrant/handle_block.go b/modules/feegrant/handle_block.go index 7f2f0b2..1bc9ed0 100644 --- a/modules/feegrant/handle_block.go +++ b/modules/feegrant/handle_block.go @@ -11,7 +11,7 @@ import ( "github.com/rs/zerolog/log" tmctypes "github.com/tendermint/tendermint/rpc/core/types" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // HandleBlock implements BlockModule diff --git a/modules/feegrant/handle_msg.go b/modules/feegrant/handle_msg.go index fbfbc6b..da87e8f 100644 --- a/modules/feegrant/handle_msg.go +++ b/modules/feegrant/handle_msg.go @@ -7,7 +7,7 @@ import ( feegranttypes "github.com/cosmos/cosmos-sdk/x/feegrant" juno "github.com/forbole/juno/v4/types" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // HandleMsg implements modules.MessageModule diff --git a/modules/feegrant/module.go b/modules/feegrant/module.go index 11b6d44..7e29400 100644 --- a/modules/feegrant/module.go +++ b/modules/feegrant/module.go @@ -3,7 +3,7 @@ package feegrant import ( "github.com/cosmos/cosmos-sdk/codec" - "gitlab.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/database" "github.com/forbole/juno/v4/modules" ) diff --git a/modules/gov/expected_modules.go b/modules/gov/expected_modules.go index fdb31d8..45dcac6 100644 --- a/modules/gov/expected_modules.go +++ b/modules/gov/expected_modules.go @@ -2,10 +2,10 @@ package gov import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + tokenmanagertypes "github.com/rarimo/rarimo-core/x/tokenmanager/types" tmctypes "github.com/tendermint/tendermint/rpc/core/types" - tokenmanagertypes "gitlab.com/rarimo/rarimo-core/x/tokenmanager/types" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) type ParamsUpdater interface { diff --git a/modules/gov/handle_genesis.go b/modules/gov/handle_genesis.go index 12fdf43..e77d357 100644 --- a/modules/gov/handle_genesis.go +++ b/modules/gov/handle_genesis.go @@ -7,7 +7,7 @@ import ( "github.com/gogo/protobuf/proto" tmtypes "github.com/tendermint/tendermint/types" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" gov "github.com/cosmos/cosmos-sdk/x/gov/types" govtypesv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" diff --git a/modules/gov/handle_msg.go b/modules/gov/handle_msg.go index 82fe65c..dd5d3ab 100644 --- a/modules/gov/handle_msg.go +++ b/modules/gov/handle_msg.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" diff --git a/modules/gov/module.go b/modules/gov/module.go index 6550c76..d2bff4b 100644 --- a/modules/gov/module.go +++ b/modules/gov/module.go @@ -3,9 +3,9 @@ package gov import ( "github.com/cosmos/cosmos-sdk/codec" - "gitlab.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/database" - govsource "gitlab.com/rarimo/bdjuno/modules/gov/source" + govsource "github.com/rarimo/bdjuno/modules/gov/source" "github.com/forbole/juno/v4/modules" ) diff --git a/modules/gov/source/local/source.go b/modules/gov/source/local/source.go index 81a64c7..2e7b3d7 100644 --- a/modules/gov/source/local/source.go +++ b/modules/gov/source/local/source.go @@ -8,7 +8,7 @@ import ( govtypesv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/forbole/juno/v4/node/local" - govsource "gitlab.com/rarimo/bdjuno/modules/gov/source" + govsource "github.com/rarimo/bdjuno/modules/gov/source" ) var ( diff --git a/modules/gov/source/remote/source.go b/modules/gov/source/remote/source.go index b22f746..398b0d8 100644 --- a/modules/gov/source/remote/source.go +++ b/modules/gov/source/remote/source.go @@ -5,7 +5,7 @@ import ( "github.com/forbole/juno/v4/node/remote" govtypesv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - govsource "gitlab.com/rarimo/bdjuno/modules/gov/source" + govsource "github.com/rarimo/bdjuno/modules/gov/source" ) var ( diff --git a/modules/gov/utils_bridge.go b/modules/gov/utils_bridge.go index 8bd41a8..e7f20f3 100644 --- a/modules/gov/utils_bridge.go +++ b/modules/gov/utils_bridge.go @@ -3,7 +3,7 @@ package gov import ( "fmt" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - oraclemanagertypes "gitlab.com/rarimo/rarimo-core/x/oraclemanager/types" + oraclemanagertypes "github.com/rarimo/rarimo-core/x/oraclemanager/types" ) func (m *Module) handleBridgeProposal(height int64, proposal govtypes.Proposal) error { diff --git a/modules/gov/utils_oraclemanager.go b/modules/gov/utils_oraclemanager.go index ffe2f2e..661e664 100644 --- a/modules/gov/utils_oraclemanager.go +++ b/modules/gov/utils_oraclemanager.go @@ -3,7 +3,7 @@ package gov import ( "fmt" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - oraclemanagertypes "gitlab.com/rarimo/rarimo-core/x/oraclemanager/types" + oraclemanagertypes "github.com/rarimo/rarimo-core/x/oraclemanager/types" ) func (m *Module) handleOracleManagerProposal(height int64, proposal govtypes.Proposal) error { diff --git a/modules/gov/utils_params.go b/modules/gov/utils_params.go index 1517ed9..06ff992 100644 --- a/modules/gov/utils_params.go +++ b/modules/gov/utils_params.go @@ -5,7 +5,7 @@ import ( "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // UpdateParams updates the governance parameters for the given height diff --git a/modules/gov/utils_proposal.go b/modules/gov/utils_proposal.go index b9f758f..7a63d44 100644 --- a/modules/gov/utils_proposal.go +++ b/modules/gov/utils_proposal.go @@ -12,7 +12,7 @@ import ( "google.golang.org/grpc/codes" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" diff --git a/modules/gov/utils_rarimocore.go b/modules/gov/utils_rarimocore.go index 437f7d5..d34d3b6 100644 --- a/modules/gov/utils_rarimocore.go +++ b/modules/gov/utils_rarimocore.go @@ -3,7 +3,7 @@ package gov import ( "fmt" govtypesv1beta "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - rarimocoretypes "gitlab.com/rarimo/rarimo-core/x/rarimocore/types" + rarimocoretypes "github.com/rarimo/rarimo-core/x/rarimocore/types" ) func (m *Module) handleRarimoCoreProposal(height int64, proposal govtypesv1beta.Proposal) error { diff --git a/modules/gov/utils_tokenmanager.go b/modules/gov/utils_tokenmanager.go index c4a38a1..7f57d33 100644 --- a/modules/gov/utils_tokenmanager.go +++ b/modules/gov/utils_tokenmanager.go @@ -5,7 +5,7 @@ import ( govtypesv1beta "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/crypto" - tokenmanagertypes "gitlab.com/rarimo/rarimo-core/x/tokenmanager/types" + tokenmanagertypes "github.com/rarimo/rarimo-core/x/tokenmanager/types" "math/big" ) diff --git a/modules/mint/handle_genesis.go b/modules/mint/handle_genesis.go index e287d5a..b008dad 100644 --- a/modules/mint/handle_genesis.go +++ b/modules/mint/handle_genesis.go @@ -6,7 +6,7 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" "github.com/rs/zerolog/log" diff --git a/modules/mint/module.go b/modules/mint/module.go index 276f658..00a7895 100644 --- a/modules/mint/module.go +++ b/modules/mint/module.go @@ -4,8 +4,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/forbole/juno/v4/modules" - "gitlab.com/rarimo/bdjuno/database" - mintsource "gitlab.com/rarimo/bdjuno/modules/mint/source" + "github.com/rarimo/bdjuno/database" + mintsource "github.com/rarimo/bdjuno/modules/mint/source" ) var ( diff --git a/modules/mint/source/local/source.go b/modules/mint/source/local/source.go index 1b38b08..f01c6d1 100644 --- a/modules/mint/source/local/source.go +++ b/modules/mint/source/local/source.go @@ -7,7 +7,7 @@ import ( minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" "github.com/forbole/juno/v4/node/local" - mintsource "gitlab.com/rarimo/bdjuno/modules/mint/source" + mintsource "github.com/rarimo/bdjuno/modules/mint/source" ) var ( diff --git a/modules/mint/source/remote/source.go b/modules/mint/source/remote/source.go index 0434d44..2a3cb98 100644 --- a/modules/mint/source/remote/source.go +++ b/modules/mint/source/remote/source.go @@ -4,7 +4,7 @@ import ( minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" "github.com/forbole/juno/v4/node/remote" - mintsource "gitlab.com/rarimo/bdjuno/modules/mint/source" + mintsource "github.com/rarimo/bdjuno/modules/mint/source" ) var ( diff --git a/modules/mint/utils_params.go b/modules/mint/utils_params.go index acb1154..7ef6dd3 100644 --- a/modules/mint/utils_params.go +++ b/modules/mint/utils_params.go @@ -5,7 +5,7 @@ import ( "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // UpdateParams gets the updated params and stores them inside the database diff --git a/modules/modules/module.go b/modules/modules/module.go index c57c046..55d402c 100644 --- a/modules/modules/module.go +++ b/modules/modules/module.go @@ -4,7 +4,7 @@ import ( "github.com/forbole/juno/v4/modules" "github.com/forbole/juno/v4/types/config" - "gitlab.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/database" ) var ( diff --git a/modules/multisig/handle_block.go b/modules/multisig/handle_block.go index fec4b1a..f711b73 100644 --- a/modules/multisig/handle_block.go +++ b/modules/multisig/handle_block.go @@ -5,9 +5,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" juno "github.com/forbole/juno/v4/types" + multisigtypes "github.com/rarimo/rarimo-core/x/multisig/types" "github.com/rs/zerolog/log" tmctypes "github.com/tendermint/tendermint/rpc/core/types" - multisigtypes "gitlab.com/rarimo/rarimo-core/x/multisig/types" ) // HandleBlock implements BlockModule diff --git a/modules/multisig/handle_genesis.go b/modules/multisig/handle_genesis.go index 76f22fd..b736a82 100644 --- a/modules/multisig/handle_genesis.go +++ b/modules/multisig/handle_genesis.go @@ -3,10 +3,10 @@ package multisig import ( "encoding/json" "fmt" + "github.com/rarimo/bdjuno/types" + multisigtypes "github.com/rarimo/rarimo-core/x/multisig/types" "github.com/rs/zerolog/log" tmtypes "github.com/tendermint/tendermint/types" - "gitlab.com/rarimo/bdjuno/types" - multisigtypes "gitlab.com/rarimo/rarimo-core/x/multisig/types" ) // HandleGenesis implements modules.Module diff --git a/modules/multisig/handle_msg.go b/modules/multisig/handle_msg.go index e1a3cf8..731cc28 100644 --- a/modules/multisig/handle_msg.go +++ b/modules/multisig/handle_msg.go @@ -4,7 +4,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" juno "github.com/forbole/juno/v4/types" - multisigtypes "gitlab.com/rarimo/rarimo-core/x/multisig/types" + multisigtypes "github.com/rarimo/rarimo-core/x/multisig/types" "strconv" ) diff --git a/modules/multisig/module.go b/modules/multisig/module.go index ddabf3c..9a1284f 100644 --- a/modules/multisig/module.go +++ b/modules/multisig/module.go @@ -2,9 +2,9 @@ package multisig import ( "github.com/cosmos/cosmos-sdk/codec" - "gitlab.com/rarimo/bdjuno/database" - "gitlab.com/rarimo/bdjuno/modules/auth" - multisig "gitlab.com/rarimo/bdjuno/modules/multisig/source" + "github.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/modules/auth" + multisig "github.com/rarimo/bdjuno/modules/multisig/source" "github.com/forbole/juno/v4/modules" ) diff --git a/modules/multisig/source/remote/source.go b/modules/multisig/source/remote/source.go index 3c0944c..c50f712 100644 --- a/modules/multisig/source/remote/source.go +++ b/modules/multisig/source/remote/source.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/cosmos/cosmos-sdk/types/query" "github.com/forbole/juno/v4/node/remote" - multisigsource "gitlab.com/rarimo/bdjuno/modules/multisig/source" - multisigtypes "gitlab.com/rarimo/rarimo-core/x/multisig/types" + multisigsource "github.com/rarimo/bdjuno/modules/multisig/source" + multisigtypes "github.com/rarimo/rarimo-core/x/multisig/types" ) var ( diff --git a/modules/multisig/source/source.go b/modules/multisig/source/source.go index 4fe4ce3..5df3f3e 100644 --- a/modules/multisig/source/source.go +++ b/modules/multisig/source/source.go @@ -1,6 +1,6 @@ package source -import multisigtypes "gitlab.com/rarimo/rarimo-core/x/multisig/types" +import multisigtypes "github.com/rarimo/rarimo-core/x/multisig/types" type Source interface { Params(height int64) (multisigtypes.Params, error) diff --git a/modules/multisig/utils_groups.go b/modules/multisig/utils_groups.go index c134cf3..e8de0f5 100644 --- a/modules/multisig/utils_groups.go +++ b/modules/multisig/utils_groups.go @@ -2,8 +2,8 @@ package multisig import ( "fmt" - "gitlab.com/rarimo/bdjuno/types" - multisigtypes "gitlab.com/rarimo/rarimo-core/x/multisig/types" + "github.com/rarimo/bdjuno/types" + multisigtypes "github.com/rarimo/rarimo-core/x/multisig/types" ) func (m *Module) saveGroups(slice []multisigtypes.Group) error { diff --git a/modules/multisig/utils_proposal.go b/modules/multisig/utils_proposal.go index 27a955a..da7ca9e 100644 --- a/modules/multisig/utils_proposal.go +++ b/modules/multisig/utils_proposal.go @@ -2,8 +2,8 @@ package multisig import ( "fmt" - "gitlab.com/rarimo/bdjuno/types" - multisigtypes "gitlab.com/rarimo/rarimo-core/x/multisig/types" + "github.com/rarimo/bdjuno/types" + multisigtypes "github.com/rarimo/rarimo-core/x/multisig/types" ) func (m *Module) saveProposals(slice []multisigtypes.Proposal) error { diff --git a/modules/oraclemanager/handle_genesis.go b/modules/oraclemanager/handle_genesis.go index bf0ebc6..1095439 100644 --- a/modules/oraclemanager/handle_genesis.go +++ b/modules/oraclemanager/handle_genesis.go @@ -3,10 +3,10 @@ package oraclemanager import ( "encoding/json" "fmt" + "github.com/rarimo/bdjuno/types" + oraclemanagertypes "github.com/rarimo/rarimo-core/x/oraclemanager/types" "github.com/rs/zerolog/log" tmtypes "github.com/tendermint/tendermint/types" - "gitlab.com/rarimo/bdjuno/types" - oraclemanagertypes "gitlab.com/rarimo/rarimo-core/x/oraclemanager/types" ) // HandleGenesis implements modules.Module diff --git a/modules/oraclemanager/handle_msg.go b/modules/oraclemanager/handle_msg.go index e091363..c1fc609 100644 --- a/modules/oraclemanager/handle_msg.go +++ b/modules/oraclemanager/handle_msg.go @@ -5,10 +5,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common/hexutil" juno "github.com/forbole/juno/v4/types" - "gitlab.com/rarimo/bdjuno/types" - oracletypes "gitlab.com/rarimo/rarimo-core/x/oraclemanager/types" - "gitlab.com/rarimo/rarimo-core/x/rarimocore/crypto/pkg" - rarimocoretypes "gitlab.com/rarimo/rarimo-core/x/rarimocore/types" + "github.com/rarimo/bdjuno/types" + oracletypes "github.com/rarimo/rarimo-core/x/oraclemanager/types" + "github.com/rarimo/rarimo-core/x/rarimocore/crypto/pkg" + rarimocoretypes "github.com/rarimo/rarimo-core/x/rarimocore/types" ) // HandleMsg implements modules.MessageModule diff --git a/modules/oraclemanager/module.go b/modules/oraclemanager/module.go index 366503b..dbe869b 100644 --- a/modules/oraclemanager/module.go +++ b/modules/oraclemanager/module.go @@ -2,9 +2,9 @@ package oraclemanager import ( "github.com/cosmos/cosmos-sdk/codec" - "gitlab.com/rarimo/bdjuno/database" - oraclemanager "gitlab.com/rarimo/bdjuno/modules/oraclemanager/source" - "gitlab.com/rarimo/bdjuno/modules/rarimocore" + "github.com/rarimo/bdjuno/database" + oraclemanager "github.com/rarimo/bdjuno/modules/oraclemanager/source" + "github.com/rarimo/bdjuno/modules/rarimocore" "github.com/forbole/juno/v4/modules" ) diff --git a/modules/oraclemanager/source/remote/source.go b/modules/oraclemanager/source/remote/source.go index b58741a..d562537 100644 --- a/modules/oraclemanager/source/remote/source.go +++ b/modules/oraclemanager/source/remote/source.go @@ -2,8 +2,8 @@ package remote import ( "github.com/forbole/juno/v4/node/remote" - oraclemanagersource "gitlab.com/rarimo/bdjuno/modules/oraclemanager/source" - oraclemanagertypes "gitlab.com/rarimo/rarimo-core/x/oraclemanager/types" + oraclemanagersource "github.com/rarimo/bdjuno/modules/oraclemanager/source" + oraclemanagertypes "github.com/rarimo/rarimo-core/x/oraclemanager/types" ) var ( diff --git a/modules/oraclemanager/source/source.go b/modules/oraclemanager/source/source.go index 6206024..f8aaee6 100644 --- a/modules/oraclemanager/source/source.go +++ b/modules/oraclemanager/source/source.go @@ -1,6 +1,6 @@ package source -import oraclemanagertypes "gitlab.com/rarimo/rarimo-core/x/oraclemanager/types" +import oraclemanagertypes "github.com/rarimo/rarimo-core/x/oraclemanager/types" type Source interface { Params(height int64) (oraclemanagertypes.Params, error) diff --git a/modules/oraclemanager/utils_params.go b/modules/oraclemanager/utils_params.go index 653f347..8b546ce 100644 --- a/modules/oraclemanager/utils_params.go +++ b/modules/oraclemanager/utils_params.go @@ -2,9 +2,9 @@ package oraclemanager import ( "fmt" + "github.com/rarimo/bdjuno/types" + oraclemanagertypes "github.com/rarimo/rarimo-core/x/oraclemanager/types" "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/types" - oraclemanagertypes "gitlab.com/rarimo/rarimo-core/x/oraclemanager/types" ) func (m *Module) UpdateParams(height int64) error { diff --git a/modules/pricefeed/coingecko/apis.go b/modules/pricefeed/coingecko/apis.go index 022b366..43fca63 100644 --- a/modules/pricefeed/coingecko/apis.go +++ b/modules/pricefeed/coingecko/apis.go @@ -8,7 +8,7 @@ import ( "net/http" "strings" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // GetCoinsList allows to fetch from the remote APIs the list of all the supported tokens diff --git a/modules/pricefeed/coingecko/apis_test.go b/modules/pricefeed/coingecko/apis_test.go index fc751df..945258c 100644 --- a/modules/pricefeed/coingecko/apis_test.go +++ b/modules/pricefeed/coingecko/apis_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "gitlab.com/rarimo/bdjuno/modules/pricefeed/coingecko" + "github.com/rarimo/bdjuno/modules/pricefeed/coingecko" ) func TestConvertCoingeckoPrices(t *testing.T) { diff --git a/modules/pricefeed/config.go b/modules/pricefeed/config.go index 773cb03..a991daa 100644 --- a/modules/pricefeed/config.go +++ b/modules/pricefeed/config.go @@ -3,7 +3,7 @@ package pricefeed import ( "gopkg.in/yaml.v3" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // Config contains the configuration about the pricefeed module diff --git a/modules/pricefeed/handle_additional_operations.go b/modules/pricefeed/handle_additional_operations.go index aca7c9f..48ba90c 100644 --- a/modules/pricefeed/handle_additional_operations.go +++ b/modules/pricefeed/handle_additional_operations.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" "github.com/rs/zerolog/log" ) diff --git a/modules/pricefeed/handle_periodic_operations.go b/modules/pricefeed/handle_periodic_operations.go index 226f398..191f558 100644 --- a/modules/pricefeed/handle_periodic_operations.go +++ b/modules/pricefeed/handle_periodic_operations.go @@ -7,10 +7,10 @@ import ( "github.com/go-co-op/gocron" "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" - "gitlab.com/rarimo/bdjuno/modules/pricefeed/coingecko" - "gitlab.com/rarimo/bdjuno/modules/utils" + "github.com/rarimo/bdjuno/modules/pricefeed/coingecko" + "github.com/rarimo/bdjuno/modules/utils" ) // RegisterPeriodicOperations implements modules.PeriodicOperationsModule diff --git a/modules/pricefeed/module.go b/modules/pricefeed/module.go index e1c5bcf..343591b 100644 --- a/modules/pricefeed/module.go +++ b/modules/pricefeed/module.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/forbole/juno/v4/types/config" - "gitlab.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/database" "github.com/forbole/juno/v4/modules" ) diff --git a/modules/rarimocore/handle_genesis.go b/modules/rarimocore/handle_genesis.go index fa33561..006bde2 100644 --- a/modules/rarimocore/handle_genesis.go +++ b/modules/rarimocore/handle_genesis.go @@ -3,9 +3,9 @@ package rarimocore import ( "encoding/json" "fmt" + rarimocoretypes "github.com/rarimo/rarimo-core/x/rarimocore/types" "github.com/rs/zerolog/log" tmtypes "github.com/tendermint/tendermint/types" - rarimocoretypes "gitlab.com/rarimo/rarimo-core/x/rarimocore/types" ) // HandleGenesis implements modules.Module diff --git a/modules/rarimocore/handle_msg.go b/modules/rarimocore/handle_msg.go index ea10805..0f35734 100644 --- a/modules/rarimocore/handle_msg.go +++ b/modules/rarimocore/handle_msg.go @@ -6,11 +6,11 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/crypto" juno "github.com/forbole/juno/v4/types" - "gitlab.com/rarimo/bdjuno/types" - oracletypes "gitlab.com/rarimo/rarimo-core/x/oraclemanager/types" - "gitlab.com/rarimo/rarimo-core/x/rarimocore/crypto/pkg" - rarimocoretypes "gitlab.com/rarimo/rarimo-core/x/rarimocore/types" - tokenmanagertypes "gitlab.com/rarimo/rarimo-core/x/tokenmanager/types" + "github.com/rarimo/bdjuno/types" + oracletypes "github.com/rarimo/rarimo-core/x/oraclemanager/types" + "github.com/rarimo/rarimo-core/x/rarimocore/crypto/pkg" + rarimocoretypes "github.com/rarimo/rarimo-core/x/rarimocore/types" + tokenmanagertypes "github.com/rarimo/rarimo-core/x/tokenmanager/types" "math/big" ) diff --git a/modules/rarimocore/module.go b/modules/rarimocore/module.go index 84bf8c6..4177566 100644 --- a/modules/rarimocore/module.go +++ b/modules/rarimocore/module.go @@ -2,10 +2,10 @@ package rarimocore import ( "github.com/cosmos/cosmos-sdk/codec" - rarimocore "gitlab.com/rarimo/bdjuno/modules/rarimocore/source" - tokenmanager "gitlab.com/rarimo/bdjuno/modules/tokenmanager/source" + rarimocore "github.com/rarimo/bdjuno/modules/rarimocore/source" + tokenmanager "github.com/rarimo/bdjuno/modules/tokenmanager/source" - "gitlab.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/database" "github.com/forbole/juno/v4/modules" ) diff --git a/modules/rarimocore/source/remote/source.go b/modules/rarimocore/source/remote/source.go index ffca34e..6cc1990 100644 --- a/modules/rarimocore/source/remote/source.go +++ b/modules/rarimocore/source/remote/source.go @@ -2,8 +2,8 @@ package remote import ( "github.com/forbole/juno/v4/node/remote" - rarimocoresource "gitlab.com/rarimo/bdjuno/modules/rarimocore/source" - rarimocoretypes "gitlab.com/rarimo/rarimo-core/x/rarimocore/types" + rarimocoresource "github.com/rarimo/bdjuno/modules/rarimocore/source" + rarimocoretypes "github.com/rarimo/rarimo-core/x/rarimocore/types" ) var ( diff --git a/modules/rarimocore/source/source.go b/modules/rarimocore/source/source.go index afd46e9..d5d0bea 100644 --- a/modules/rarimocore/source/source.go +++ b/modules/rarimocore/source/source.go @@ -1,6 +1,6 @@ package source -import rarimocoretypes "gitlab.com/rarimo/rarimo-core/x/rarimocore/types" +import rarimocoretypes "github.com/rarimo/rarimo-core/x/rarimocore/types" type Source interface { Params(height int64) (rarimocoretypes.Params, error) diff --git a/modules/rarimocore/utils_operation.go b/modules/rarimocore/utils_operation.go index b0292dd..17b4b95 100644 --- a/modules/rarimocore/utils_operation.go +++ b/modules/rarimocore/utils_operation.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/cosmos/cosmos-sdk/types/errors" "github.com/gogo/protobuf/proto" + "github.com/rarimo/bdjuno/types" + rarimocoretypes "github.com/rarimo/rarimo-core/x/rarimocore/types" "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/types" - rarimocoretypes "gitlab.com/rarimo/rarimo-core/x/rarimocore/types" ) func (m *Module) SaveOperationByIndex(height int64, index string) error { diff --git a/modules/rarimocore/utils_params.go b/modules/rarimocore/utils_params.go index 9508c6d..b38e9c4 100644 --- a/modules/rarimocore/utils_params.go +++ b/modules/rarimocore/utils_params.go @@ -2,9 +2,9 @@ package rarimocore import ( "fmt" + "github.com/rarimo/bdjuno/types" + rarimocoretypes "github.com/rarimo/rarimo-core/x/rarimocore/types" "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/types" - rarimocoretypes "gitlab.com/rarimo/rarimo-core/x/rarimocore/types" ) func (m *Module) UpdateParams(height int64) error { diff --git a/modules/rarimocore/utils_violation_report.go b/modules/rarimocore/utils_violation_report.go index 07c3c29..a0707ee 100644 --- a/modules/rarimocore/utils_violation_report.go +++ b/modules/rarimocore/utils_violation_report.go @@ -1,8 +1,8 @@ package rarimocore import ( - "gitlab.com/rarimo/bdjuno/types" - rarimocoretypes "gitlab.com/rarimo/rarimo-core/x/rarimocore/types" + "github.com/rarimo/bdjuno/types" + rarimocoretypes "github.com/rarimo/rarimo-core/x/rarimocore/types" ) func (m *Module) saveViolationReports(slice []rarimocoretypes.ViolationReport) error { diff --git a/modules/registrar.go b/modules/registrar.go index 316dfbf..a79eea4 100644 --- a/modules/registrar.go +++ b/modules/registrar.go @@ -1,18 +1,18 @@ package modules import ( - "gitlab.com/rarimo/bdjuno/modules/actions" - "gitlab.com/rarimo/bdjuno/modules/bridge" - "gitlab.com/rarimo/bdjuno/modules/multisig" - "gitlab.com/rarimo/bdjuno/modules/oraclemanager" - "gitlab.com/rarimo/bdjuno/modules/rarimocore" - "gitlab.com/rarimo/bdjuno/modules/tokenmanager" - "gitlab.com/rarimo/bdjuno/modules/types" + "github.com/rarimo/bdjuno/modules/actions" + "github.com/rarimo/bdjuno/modules/bridge" + "github.com/rarimo/bdjuno/modules/multisig" + "github.com/rarimo/bdjuno/modules/oraclemanager" + "github.com/rarimo/bdjuno/modules/rarimocore" + "github.com/rarimo/bdjuno/modules/tokenmanager" + "github.com/rarimo/bdjuno/modules/types" "github.com/forbole/juno/v4/modules/pruning" "github.com/forbole/juno/v4/modules/telemetry" - "gitlab.com/rarimo/bdjuno/modules/slashing" + "github.com/rarimo/bdjuno/modules/slashing" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" @@ -20,20 +20,20 @@ import ( "github.com/forbole/juno/v4/modules/messages" "github.com/forbole/juno/v4/modules/registrar" - "gitlab.com/rarimo/bdjuno/utils" + "github.com/rarimo/bdjuno/utils" - "gitlab.com/rarimo/bdjuno/database" - "gitlab.com/rarimo/bdjuno/modules/auth" - "gitlab.com/rarimo/bdjuno/modules/bank" - "gitlab.com/rarimo/bdjuno/modules/consensus" - "gitlab.com/rarimo/bdjuno/modules/distribution" - "gitlab.com/rarimo/bdjuno/modules/feegrant" + "github.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/modules/auth" + "github.com/rarimo/bdjuno/modules/bank" + "github.com/rarimo/bdjuno/modules/consensus" + "github.com/rarimo/bdjuno/modules/distribution" + "github.com/rarimo/bdjuno/modules/feegrant" - "gitlab.com/rarimo/bdjuno/modules/gov" - "gitlab.com/rarimo/bdjuno/modules/mint" - "gitlab.com/rarimo/bdjuno/modules/modules" - "gitlab.com/rarimo/bdjuno/modules/pricefeed" - "gitlab.com/rarimo/bdjuno/modules/staking" + "github.com/rarimo/bdjuno/modules/gov" + "github.com/rarimo/bdjuno/modules/mint" + "github.com/rarimo/bdjuno/modules/modules" + "github.com/rarimo/bdjuno/modules/pricefeed" + "github.com/rarimo/bdjuno/modules/staking" ) // UniqueAddressesParser returns a wrapper around the given parser that removes all duplicated addresses diff --git a/modules/slashing/handle_genesis.go b/modules/slashing/handle_genesis.go index 7af266a..50625c0 100644 --- a/modules/slashing/handle_genesis.go +++ b/modules/slashing/handle_genesis.go @@ -6,7 +6,7 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" "github.com/rs/zerolog/log" diff --git a/modules/slashing/module.go b/modules/slashing/module.go index 897bbb1..244b6da 100644 --- a/modules/slashing/module.go +++ b/modules/slashing/module.go @@ -4,8 +4,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/forbole/juno/v4/modules" - "gitlab.com/rarimo/bdjuno/database" - slashingsource "gitlab.com/rarimo/bdjuno/modules/slashing/source" + "github.com/rarimo/bdjuno/database" + slashingsource "github.com/rarimo/bdjuno/modules/slashing/source" ) var ( diff --git a/modules/slashing/source/local/source.go b/modules/slashing/source/local/source.go index 5be7f4e..3602208 100644 --- a/modules/slashing/source/local/source.go +++ b/modules/slashing/source/local/source.go @@ -8,7 +8,7 @@ import ( slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" "github.com/forbole/juno/v4/node/local" - slashingsource "gitlab.com/rarimo/bdjuno/modules/slashing/source" + slashingsource "github.com/rarimo/bdjuno/modules/slashing/source" ) var ( diff --git a/modules/slashing/source/remote/source.go b/modules/slashing/source/remote/source.go index d0ad151..c1a32c9 100644 --- a/modules/slashing/source/remote/source.go +++ b/modules/slashing/source/remote/source.go @@ -7,7 +7,7 @@ import ( slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" "github.com/forbole/juno/v4/node/remote" - slashingsource "gitlab.com/rarimo/bdjuno/modules/slashing/source" + slashingsource "github.com/rarimo/bdjuno/modules/slashing/source" ) var ( diff --git a/modules/slashing/utils_params.go b/modules/slashing/utils_params.go index f70ecc9..dffad9d 100644 --- a/modules/slashing/utils_params.go +++ b/modules/slashing/utils_params.go @@ -5,7 +5,7 @@ import ( "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // UpdateParams gets the slashing params for the given height, and stores them inside the database diff --git a/modules/slashing/utils_signing_info.go b/modules/slashing/utils_signing_info.go index ee43647..17016f6 100644 --- a/modules/slashing/utils_signing_info.go +++ b/modules/slashing/utils_signing_info.go @@ -3,7 +3,7 @@ package slashing import ( sdk "github.com/cosmos/cosmos-sdk/types" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) func (m *Module) getSigningInfos(height int64) ([]types.ValidatorSigningInfo, error) { diff --git a/modules/staking/handle_block.go b/modules/staking/handle_block.go index 04e4550..4ec11a2 100644 --- a/modules/staking/handle_block.go +++ b/modules/staking/handle_block.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "fmt" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" juno "github.com/forbole/juno/v4/types" diff --git a/modules/staking/handle_genesis.go b/modules/staking/handle_genesis.go index 1d16020..d6fd87e 100644 --- a/modules/staking/handle_genesis.go +++ b/modules/staking/handle_genesis.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/tx" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" tmtypes "github.com/tendermint/tendermint/types" diff --git a/modules/staking/handle_periodic_operations.go b/modules/staking/handle_periodic_operations.go index 901e8e4..4efde67 100644 --- a/modules/staking/handle_periodic_operations.go +++ b/modules/staking/handle_periodic_operations.go @@ -6,7 +6,7 @@ import ( "github.com/go-co-op/gocron" "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/modules/utils" + "github.com/rarimo/bdjuno/modules/utils" ) // RegisterPeriodicOperations implements modules.PeriodicOperationsModule diff --git a/modules/staking/module.go b/modules/staking/module.go index fc30ab6..c4bbdaf 100644 --- a/modules/staking/module.go +++ b/modules/staking/module.go @@ -4,8 +4,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/forbole/juno/v4/modules" - "gitlab.com/rarimo/bdjuno/database" - stakingsource "gitlab.com/rarimo/bdjuno/modules/staking/source" + "github.com/rarimo/bdjuno/database" + stakingsource "github.com/rarimo/bdjuno/modules/staking/source" ) var ( diff --git a/modules/staking/source/local/source.go b/modules/staking/source/local/source.go index 2619298..4cd43a2 100644 --- a/modules/staking/source/local/source.go +++ b/modules/staking/source/local/source.go @@ -8,7 +8,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/forbole/juno/v4/node/local" - stakingsource "gitlab.com/rarimo/bdjuno/modules/staking/source" + stakingsource "github.com/rarimo/bdjuno/modules/staking/source" ) var ( diff --git a/modules/staking/source/remote/source.go b/modules/staking/source/remote/source.go index ad1e0c0..42889e0 100644 --- a/modules/staking/source/remote/source.go +++ b/modules/staking/source/remote/source.go @@ -7,7 +7,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/forbole/juno/v4/node/remote" - stakingsource "gitlab.com/rarimo/bdjuno/modules/staking/source" + stakingsource "github.com/rarimo/bdjuno/modules/staking/source" ) var ( diff --git a/modules/staking/source/remote/source_actions.go b/modules/staking/source/remote/source_actions.go index 258dc34..041ca90 100644 --- a/modules/staking/source/remote/source_actions.go +++ b/modules/staking/source/remote/source_actions.go @@ -5,7 +5,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/forbole/juno/v4/node/remote" - "gitlab.com/rarimo/bdjuno/utils" + "github.com/rarimo/bdjuno/utils" ) // GetDelegationsWithPagination implements stakingsource.Source diff --git a/modules/staking/utils_gentx.go b/modules/staking/utils_gentx.go index 340e737..42ff565 100644 --- a/modules/staking/utils_gentx.go +++ b/modules/staking/utils_gentx.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "gitlab.com/rarimo/bdjuno/modules/staking/keybase" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/modules/staking/keybase" + "github.com/rarimo/bdjuno/types" ) // StoreValidatorFromMsgCreateValidator handles properly a MsgCreateValidator instance by diff --git a/modules/staking/utils_params.go b/modules/staking/utils_params.go index 01b6b1a..7006534 100644 --- a/modules/staking/utils_params.go +++ b/modules/staking/utils_params.go @@ -5,7 +5,7 @@ import ( "github.com/rs/zerolog/log" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) // UpdateParams gets the updated params and stores them inside the database diff --git a/modules/staking/utils_staking_pool.go b/modules/staking/utils_staking_pool.go index 3f65bd6..831c009 100644 --- a/modules/staking/utils_staking_pool.go +++ b/modules/staking/utils_staking_pool.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/types" ) func (m *Module) GetStakingPool(height int64) (*types.Pool, error) { diff --git a/modules/staking/utils_validators.go b/modules/staking/utils_validators.go index 607d5d1..dce9632 100644 --- a/modules/staking/utils_validators.go +++ b/modules/staking/utils_validators.go @@ -6,8 +6,8 @@ import ( juno "github.com/forbole/juno/v4/types" tmctypes "github.com/tendermint/tendermint/rpc/core/types" - "gitlab.com/rarimo/bdjuno/modules/staking/keybase" - "gitlab.com/rarimo/bdjuno/types" + "github.com/rarimo/bdjuno/modules/staking/keybase" + "github.com/rarimo/bdjuno/types" "github.com/rs/zerolog/log" diff --git a/modules/tokenmanager/handle_genesis.go b/modules/tokenmanager/handle_genesis.go index 863d58f..7a638de 100644 --- a/modules/tokenmanager/handle_genesis.go +++ b/modules/tokenmanager/handle_genesis.go @@ -3,9 +3,9 @@ package tokenmanager import ( "encoding/json" "fmt" + tokenmanagertypes "github.com/rarimo/rarimo-core/x/tokenmanager/types" "github.com/rs/zerolog/log" tmtypes "github.com/tendermint/tendermint/types" - tokenmanagertypes "gitlab.com/rarimo/rarimo-core/x/tokenmanager/types" ) // HandleGenesis implements modules.Module diff --git a/modules/tokenmanager/module.go b/modules/tokenmanager/module.go index 188205b..591a344 100644 --- a/modules/tokenmanager/module.go +++ b/modules/tokenmanager/module.go @@ -2,9 +2,9 @@ package tokenmanager import ( "github.com/cosmos/cosmos-sdk/codec" - tokenmanager "gitlab.com/rarimo/bdjuno/modules/tokenmanager/source" + tokenmanager "github.com/rarimo/bdjuno/modules/tokenmanager/source" - "gitlab.com/rarimo/bdjuno/database" + "github.com/rarimo/bdjuno/database" "github.com/forbole/juno/v4/modules" ) diff --git a/modules/tokenmanager/source/remote/source.go b/modules/tokenmanager/source/remote/source.go index 6ab2480..61dd5c8 100644 --- a/modules/tokenmanager/source/remote/source.go +++ b/modules/tokenmanager/source/remote/source.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/cosmos/cosmos-sdk/types/query" "github.com/forbole/juno/v4/node/remote" - tokenmanagersource "gitlab.com/rarimo/bdjuno/modules/tokenmanager/source" - "gitlab.com/rarimo/bdjuno/types" - tokenmanagertypes "gitlab.com/rarimo/rarimo-core/x/tokenmanager/types" + tokenmanagersource "github.com/rarimo/bdjuno/modules/tokenmanager/source" + "github.com/rarimo/bdjuno/types" + tokenmanagertypes "github.com/rarimo/rarimo-core/x/tokenmanager/types" ) var ( diff --git a/modules/tokenmanager/source/source.go b/modules/tokenmanager/source/source.go index 9c1e859..975e124 100644 --- a/modules/tokenmanager/source/source.go +++ b/modules/tokenmanager/source/source.go @@ -1,8 +1,8 @@ package source import ( - "gitlab.com/rarimo/bdjuno/types" - tokenmanagertypes "gitlab.com/rarimo/rarimo-core/x/tokenmanager/types" + "github.com/rarimo/bdjuno/types" + tokenmanagertypes "github.com/rarimo/rarimo-core/x/tokenmanager/types" ) type Source interface { diff --git a/modules/tokenmanager/utils_genesis.go b/modules/tokenmanager/utils_genesis.go index 2e92cfe..254c412 100644 --- a/modules/tokenmanager/utils_genesis.go +++ b/modules/tokenmanager/utils_genesis.go @@ -2,8 +2,8 @@ package tokenmanager import ( "fmt" - "gitlab.com/rarimo/bdjuno/types" - tokenmanagertypes "gitlab.com/rarimo/rarimo-core/x/tokenmanager/types" + "github.com/rarimo/bdjuno/types" + tokenmanagertypes "github.com/rarimo/rarimo-core/x/tokenmanager/types" ) func (m *Module) saveParams(params tokenmanagertypes.Params, height int64) (err error) { diff --git a/modules/tokenmanager/utils_module.go b/modules/tokenmanager/utils_module.go index 6a41202..875115f 100644 --- a/modules/tokenmanager/utils_module.go +++ b/modules/tokenmanager/utils_module.go @@ -2,8 +2,8 @@ package tokenmanager import ( "fmt" - "gitlab.com/rarimo/bdjuno/types" - tokenmanagertypes "gitlab.com/rarimo/rarimo-core/x/tokenmanager/types" + "github.com/rarimo/bdjuno/types" + tokenmanagertypes "github.com/rarimo/rarimo-core/x/tokenmanager/types" ) func (m *Module) UpdateItems(items []*tokenmanagertypes.Item) (err error) { diff --git a/modules/types/sources.go b/modules/types/sources.go index 2a3a079..e939518 100644 --- a/modules/types/sources.go +++ b/modules/types/sources.go @@ -4,16 +4,16 @@ import ( "fmt" govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" govtypesv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - bridgesource "gitlab.com/rarimo/bdjuno/modules/bridge/source" - multisigsource "gitlab.com/rarimo/bdjuno/modules/multisig/source" - oraclemanagersource "gitlab.com/rarimo/bdjuno/modules/oraclemanager/source" - rarimocoresource "gitlab.com/rarimo/bdjuno/modules/rarimocore/source" - tokenmanagersource "gitlab.com/rarimo/bdjuno/modules/tokenmanager/source" - bridgetypes "gitlab.com/rarimo/rarimo-core/x/bridge/types" - multisigtypes "gitlab.com/rarimo/rarimo-core/x/multisig/types" - oraclemanagertypes "gitlab.com/rarimo/rarimo-core/x/oraclemanager/types" - rarimocoretypes "gitlab.com/rarimo/rarimo-core/x/rarimocore/types" - tokenmanagertypes "gitlab.com/rarimo/rarimo-core/x/tokenmanager/types" + bridgesource "github.com/rarimo/bdjuno/modules/bridge/source" + multisigsource "github.com/rarimo/bdjuno/modules/multisig/source" + oraclemanagersource "github.com/rarimo/bdjuno/modules/oraclemanager/source" + rarimocoresource "github.com/rarimo/bdjuno/modules/rarimocore/source" + tokenmanagersource "github.com/rarimo/bdjuno/modules/tokenmanager/source" + bridgetypes "github.com/rarimo/rarimo-core/x/bridge/types" + multisigtypes "github.com/rarimo/rarimo-core/x/multisig/types" + oraclemanagertypes "github.com/rarimo/rarimo-core/x/oraclemanager/types" + rarimocoretypes "github.com/rarimo/rarimo-core/x/rarimocore/types" + tokenmanagertypes "github.com/rarimo/rarimo-core/x/tokenmanager/types" "os" "github.com/cosmos/cosmos-sdk/simapp" @@ -32,29 +32,29 @@ import ( nodeconfig "github.com/forbole/juno/v4/node/config" - banksource "gitlab.com/rarimo/bdjuno/modules/bank/source" - localbanksource "gitlab.com/rarimo/bdjuno/modules/bank/source/local" - remotebanksource "gitlab.com/rarimo/bdjuno/modules/bank/source/remote" - remotebridgesource "gitlab.com/rarimo/bdjuno/modules/bridge/source/remote" - distrsource "gitlab.com/rarimo/bdjuno/modules/distribution/source" - localdistrsource "gitlab.com/rarimo/bdjuno/modules/distribution/source/local" - remotedistrsource "gitlab.com/rarimo/bdjuno/modules/distribution/source/remote" - govsource "gitlab.com/rarimo/bdjuno/modules/gov/source" - localgovsource "gitlab.com/rarimo/bdjuno/modules/gov/source/local" - remotegovsource "gitlab.com/rarimo/bdjuno/modules/gov/source/remote" - mintsource "gitlab.com/rarimo/bdjuno/modules/mint/source" - localmintsource "gitlab.com/rarimo/bdjuno/modules/mint/source/local" - remotemintsource "gitlab.com/rarimo/bdjuno/modules/mint/source/remote" - remotemultisigsource "gitlab.com/rarimo/bdjuno/modules/multisig/source/remote" - remoteoraclemanagersource "gitlab.com/rarimo/bdjuno/modules/oraclemanager/source/remote" - remoterarimocoresource "gitlab.com/rarimo/bdjuno/modules/rarimocore/source/remote" - slashingsource "gitlab.com/rarimo/bdjuno/modules/slashing/source" - localslashingsource "gitlab.com/rarimo/bdjuno/modules/slashing/source/local" - remoteslashingsource "gitlab.com/rarimo/bdjuno/modules/slashing/source/remote" - stakingsource "gitlab.com/rarimo/bdjuno/modules/staking/source" - localstakingsource "gitlab.com/rarimo/bdjuno/modules/staking/source/local" - remotestakingsource "gitlab.com/rarimo/bdjuno/modules/staking/source/remote" - remotetokenmanagersource "gitlab.com/rarimo/bdjuno/modules/tokenmanager/source/remote" + banksource "github.com/rarimo/bdjuno/modules/bank/source" + localbanksource "github.com/rarimo/bdjuno/modules/bank/source/local" + remotebanksource "github.com/rarimo/bdjuno/modules/bank/source/remote" + remotebridgesource "github.com/rarimo/bdjuno/modules/bridge/source/remote" + distrsource "github.com/rarimo/bdjuno/modules/distribution/source" + localdistrsource "github.com/rarimo/bdjuno/modules/distribution/source/local" + remotedistrsource "github.com/rarimo/bdjuno/modules/distribution/source/remote" + govsource "github.com/rarimo/bdjuno/modules/gov/source" + localgovsource "github.com/rarimo/bdjuno/modules/gov/source/local" + remotegovsource "github.com/rarimo/bdjuno/modules/gov/source/remote" + mintsource "github.com/rarimo/bdjuno/modules/mint/source" + localmintsource "github.com/rarimo/bdjuno/modules/mint/source/local" + remotemintsource "github.com/rarimo/bdjuno/modules/mint/source/remote" + remotemultisigsource "github.com/rarimo/bdjuno/modules/multisig/source/remote" + remoteoraclemanagersource "github.com/rarimo/bdjuno/modules/oraclemanager/source/remote" + remoterarimocoresource "github.com/rarimo/bdjuno/modules/rarimocore/source/remote" + slashingsource "github.com/rarimo/bdjuno/modules/slashing/source" + localslashingsource "github.com/rarimo/bdjuno/modules/slashing/source/local" + remoteslashingsource "github.com/rarimo/bdjuno/modules/slashing/source/remote" + stakingsource "github.com/rarimo/bdjuno/modules/staking/source" + localstakingsource "github.com/rarimo/bdjuno/modules/staking/source/local" + remotestakingsource "github.com/rarimo/bdjuno/modules/staking/source/remote" + remotetokenmanagersource "github.com/rarimo/bdjuno/modules/tokenmanager/source/remote" ) type Sources struct { diff --git a/modules/utils/addresses_test.go b/modules/utils/addresses_test.go index 249cd6a..5090413 100644 --- a/modules/utils/addresses_test.go +++ b/modules/utils/addresses_test.go @@ -3,7 +3,7 @@ package utils_test import ( "testing" - "gitlab.com/rarimo/bdjuno/modules/utils" + "github.com/rarimo/bdjuno/modules/utils" "github.com/stretchr/testify/require" ) diff --git a/types/bridge.go b/types/bridge.go index 5fddc8d..28cd028 100644 --- a/types/bridge.go +++ b/types/bridge.go @@ -1,7 +1,7 @@ package types import ( - bridgetypes "gitlab.com/rarimo/rarimo-core/x/bridge/types" + bridgetypes "github.com/rarimo/rarimo-core/x/bridge/types" ) // BridgeParams contains the data of the x/bridge module params instance diff --git a/types/config/config.go b/types/config/config.go index 847da21..a7b138f 100644 --- a/types/config/config.go +++ b/types/config/config.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" "gopkg.in/yaml.v3" - "gitlab.com/rarimo/bdjuno/modules/actions" + "github.com/rarimo/bdjuno/modules/actions" ) // Config represents the BDJuno configuration diff --git a/types/config/encoding.go b/types/config/encoding.go index cf5abfb..25497b5 100644 --- a/types/config/encoding.go +++ b/types/config/encoding.go @@ -3,7 +3,7 @@ package config import ( "github.com/cosmos/cosmos-sdk/simapp/params" "github.com/cosmos/cosmos-sdk/types/module" - enccodec "gitlab.com/rarimo/rarimo-core/ethermint/encoding/codec" + enccodec "github.com/rarimo/rarimo-core/ethermint/encoding/codec" ) // MakeEncodingConfig creates an EncodingConfig to properly handle all the messages diff --git a/types/multisig.go b/types/multisig.go index af1c5d8..d319b7a 100644 --- a/types/multisig.go +++ b/types/multisig.go @@ -4,7 +4,7 @@ import ( "encoding/json" "github.com/cosmos/cosmos-sdk/codec/types" "github.com/ethereum/go-ethereum/common/hexutil" - multisigtypes "gitlab.com/rarimo/rarimo-core/x/multisig/types" + multisigtypes "github.com/rarimo/rarimo-core/x/multisig/types" ) //-------------------------------------------------------- diff --git a/types/oraclemanager.go b/types/oraclemanager.go index e3eb079..e6f6ece 100644 --- a/types/oraclemanager.go +++ b/types/oraclemanager.go @@ -1,7 +1,7 @@ package types import ( - oraclemanagertypes "gitlab.com/rarimo/rarimo-core/x/oraclemanager/types" + oraclemanagertypes "github.com/rarimo/rarimo-core/x/oraclemanager/types" ) // OracleManagerParams contains the data of the x/oraclemanager module params instance diff --git a/types/rarimocore.go b/types/rarimocore.go index dfe7581..03a63b2 100644 --- a/types/rarimocore.go +++ b/types/rarimocore.go @@ -1,8 +1,8 @@ package types import ( - rarimocoretypes "gitlab.com/rarimo/rarimo-core/x/rarimocore/types" - "gitlab.com/rarimo/rarimo-core/x/tokenmanager/types" + rarimocoretypes "github.com/rarimo/rarimo-core/x/rarimocore/types" + "github.com/rarimo/rarimo-core/x/tokenmanager/types" ) //-------------------------------------------------------- diff --git a/types/tokenmanager.go b/types/tokenmanager.go index 0a5dc3b..4122df2 100644 --- a/types/tokenmanager.go +++ b/types/tokenmanager.go @@ -3,7 +3,7 @@ package types import ( "encoding/json" "fmt" - tokenmanagertypes "gitlab.com/rarimo/rarimo-core/x/tokenmanager/types" + tokenmanagertypes "github.com/rarimo/rarimo-core/x/tokenmanager/types" ) //-------------------------------------------------------- diff --git a/werf-giterminism.yaml b/werf-giterminism.yaml deleted file mode 100644 index 30f1fdc..0000000 --- a/werf-giterminism.yaml +++ /dev/null @@ -1,4 +0,0 @@ -giterminismConfigVersion: 1 -config: - goTemplateRendering: - allowEnvVariables: ["CI_JOB_TOKEN"] diff --git a/werf.yaml b/werf.yaml index 5f48184..2b99d13 100644 --- a/werf.yaml +++ b/werf.yaml @@ -1,13 +1,13 @@ configVersion: 1 -project: "backend" +project: "bdjuno" --- image: builder from: golang:1.20-alpine docker: - WORKDIR: /go/src/gitlab.com/rarimo/bdjuno + WORKDIR: /go/src/github.com/rarimo/bdjuno git: - add: / - to: /go/src/gitlab.com/rarimo/bdjuno + to: /go/src/github.com/rarimo/bdjuno stageDependencies: install: - go.mod @@ -17,23 +17,21 @@ git: shell: install: - apk add git build-base - - git config --global url."https://gitlab-ci-token:{{ env "CI_JOB_TOKEN" }}@gitlab.com/".insteadOf https://gitlab.com/ - - echo "machine gitlab.com login gitlab-ci-token password {{ env "CI_JOB_TOKEN" }}" > ~/.netrc - - go env -w GOPRIVATE=gitlab.com/* - - go env -w GONOSUMDB=gitlab.com/* - - go env -w GONOPROXY=gitlab.com/* - - cd /go/src/gitlab.com/rarimo/bdjuno + - go env -w GOPRIVATE=github.com/* + - go env -w GONOSUMDB=github.com/* + - go env -w GONOPROXY=github.com/* + - cd /go/src/github.com/rarimo/bdjuno - go mod tidy - go mod vendor setup: - - export GOPRIVATE=gitlab.com/* - - export GONOSUMDB=gitlab.com/* - - export GONOPROXY=gitlab.com/* + - export GOPRIVATE=github.com/* + - export GONOSUMDB=github.com/* + - export GONOPROXY=github.com/* - export CGO_ENABLED=1 - export GO111MODULE=on - export GOOS=linux - - cd /go/src/gitlab.com/rarimo/bdjuno - - go build -o /usr/local/bin/bdjuno /go/src/gitlab.com/rarimo/bdjuno/cmd/bdjuno + - cd /go/src/github.com/rarimo/bdjuno + - go build -o /usr/local/bin/bdjuno /go/src/github.com/rarimo/bdjuno/cmd/bdjuno --- image: service