From 3a542945e929a87937fa1c848336435e8c908a9d Mon Sep 17 00:00:00 2001 From: Magic Cat <37407870+MonikaCat@users.noreply.github.com> Date: Mon, 5 Feb 2024 15:21:32 +0700 Subject: [PATCH] chore: update BDJuno name to Callisto (#704) ## Description Closes: #XXXX --- ### Author Checklist *All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.* I have... - [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title - [ ] added `!` to the type prefix if API or client breaking change - [x] targeted the correct branch - [ ] provided a link to the relevant issue or specification - [x] added a changelog entry to `CHANGELOG.md` - [x] included comments for [documenting Go code](https://blog.golang.org/godoc) - [x] updated the relevant documentation or specification - [ ] reviewed "Files changed" and left comments if necessary - [x] confirmed all CI checks have passed ### Reviewers Checklist *All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.* I have... - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title - [ ] confirmed `!` in the type prefix if API or client breaking change - [ ] confirmed all author checklist items have been addressed - [ ] reviewed API design and naming - [ ] reviewed documentation is accurate - [ ] reviewed tests and test coverage - [ ] manually tested (if applicable) --------- Co-authored-by: Kwun Yeung --- .github/workflows/docker-build.yml | 6 +-- CHANGELOG.md | 1 + Dockerfile.cosmwasm | 8 ++-- Dockerfile.default | 8 ++-- Makefile | 18 ++++----- README.md | 10 ++--- Requirements.md | 6 +-- cmd/{bdjuno => callisto}/main.go | 12 +++--- cmd/migrate/cmd.go | 4 +- cmd/migrate/v3/migrate.go | 2 +- cmd/migrate/v3/types.go | 2 +- cmd/migrate/v5/migrate.go | 2 +- cmd/parse/auth/vesting.go | 6 +-- cmd/parse/bank/supply.go | 6 +-- cmd/parse/distribution/communitypool.go | 6 +-- cmd/parse/feegrant/allowance.go | 6 +-- cmd/parse/gov/proposal.go | 16 ++++---- cmd/parse/mint/inflation.go | 6 +-- cmd/parse/parse.go | 16 ++++---- cmd/parse/pricefeed/price.go | 4 +- cmd/parse/pricefeed/pricehistory.go | 4 +- cmd/parse/staking/staking.go | 6 +-- cmd/parse/staking/validators.go | 6 +-- database/auth.go | 6 +-- database/auth_test.go | 4 +- database/bank.go | 2 +- database/bank_test.go | 4 +- database/consensus.go | 4 +- database/consensus_test.go | 4 +- database/database_test.go | 6 +-- database/distribution.go | 4 +- database/distribution_test.go | 6 +-- database/feegrant.go | 2 +- database/feegrant_test.go | 4 +- database/gov.go | 4 +- database/gov_test.go | 6 +-- database/message_type.go | 2 +- database/migrate/v5/migrate.go | 4 +- database/mint.go | 2 +- database/mint_test.go | 4 +- database/pricefeed.go | 4 +- database/pricefeed_test.go | 4 +- database/slashing.go | 2 +- database/slashing_test.go | 4 +- database/staking_params.go | 4 +- database/staking_params_test.go | 4 +- database/staking_pool.go | 2 +- database/staking_pool_test.go | 4 +- database/staking_validators.go | 4 +- database/staking_validators_test.go | 4 +- database/utils/bank.go | 2 +- database/utils_test.go | 2 +- docker-compose.yml | 6 +-- go.mod | 2 +- hasura/metadata/databases/databases.yaml | 6 +-- .../actions/handle_additional_operations.go | 4 +- modules/actions/handlers/account_balance.go | 2 +- modules/actions/handlers/delegation.go | 2 +- modules/actions/handlers/delegation_total.go | 2 +- modules/actions/handlers/delegator_reward.go | 2 +- .../handlers/delegator_withdraw_address.go | 2 +- modules/actions/handlers/redelegation.go | 2 +- .../handlers/unbonding_delegation_total.go | 2 +- .../actions/handlers/unbonding_delegations.go | 2 +- .../actions/handlers/validator_commission.go | 2 +- .../actions/handlers/validator_delegation.go | 2 +- .../handlers/validator_redelegations_from.go | 2 +- .../validator_unbonding_delegations.go | 2 +- modules/actions/logging/prometheus.go | 6 +-- modules/actions/module.go | 2 +- modules/actions/types/handler.go | 2 +- modules/actions/types/worker.go | 2 +- modules/auth/auth_accounts.go | 2 +- modules/auth/handle_msg.go | 4 +- modules/auth/module.go | 2 +- modules/bank/handle_periodic_operations.go | 2 +- modules/bank/module.go | 4 +- modules/bank/source/local/source.go | 4 +- modules/bank/source/remote/source.go | 4 +- modules/bank/source/remote/source_actions.go | 2 +- modules/bank/source/source.go | 2 +- modules/consensus/handle_genesis.go | 2 +- .../consensus/handle_periodic_operations.go | 2 +- modules/consensus/module.go | 2 +- modules/daily_refetch/module.go | 6 +-- modules/distribution/handle_genesis.go | 2 +- .../handle_periodic_operations.go | 2 +- modules/distribution/module.go | 4 +- modules/distribution/source/local/source.go | 2 +- modules/distribution/source/remote/source.go | 2 +- .../source/remote/source_actions.go | 2 +- modules/distribution/utils_params.go | 2 +- modules/feegrant/handle_block.go | 2 +- modules/feegrant/handle_msg.go | 2 +- modules/feegrant/module.go | 2 +- modules/gov/expected_modules.go | 2 +- modules/gov/handle_genesis.go | 2 +- modules/gov/handle_msg.go | 2 +- modules/gov/handle_periodic_operations.go | 2 +- modules/gov/module.go | 4 +- modules/gov/source/local/source.go | 2 +- modules/gov/source/remote/source.go | 2 +- modules/gov/utils_params.go | 2 +- modules/gov/utils_proposal.go | 2 +- modules/message_type/handle_msg.go | 4 +- modules/message_type/module.go | 2 +- modules/mint/handle_genesis.go | 2 +- modules/mint/handle_periodic_operations.go | 2 +- modules/mint/module.go | 4 +- modules/mint/source/local/source.go | 2 +- modules/mint/source/remote/source.go | 2 +- modules/mint/utils_params.go | 2 +- modules/modules/module.go | 2 +- modules/pricefeed/coingecko/apis.go | 2 +- modules/pricefeed/coingecko/apis_test.go | 2 +- modules/pricefeed/config.go | 2 +- .../pricefeed/handle_additional_operations.go | 2 +- .../pricefeed/handle_periodic_operations.go | 6 +-- modules/pricefeed/module.go | 2 +- modules/registrar.go | 40 +++++++++---------- modules/slashing/handle_genesis.go | 2 +- modules/slashing/module.go | 4 +- modules/slashing/source/local/source.go | 2 +- modules/slashing/source/remote/source.go | 2 +- modules/slashing/utils_params.go | 2 +- modules/slashing/utils_signing_info.go | 2 +- modules/staking/handle_block.go | 2 +- modules/staking/handle_genesis.go | 2 +- modules/staking/handle_periodic_operations.go | 2 +- modules/staking/module.go | 4 +- modules/staking/source/local/source.go | 2 +- modules/staking/source/remote/source.go | 2 +- .../staking/source/remote/source_actions.go | 2 +- modules/staking/utils_gentx.go | 4 +- modules/staking/utils_params.go | 2 +- modules/staking/utils_staking_pool.go | 2 +- modules/staking/utils_validators.go | 6 +-- modules/types/sources.go | 34 ++++++++-------- modules/upgrade/module.go | 2 +- modules/utils/addresses_test.go | 2 +- types/config/config.go | 4 +- 141 files changed, 284 insertions(+), 283 deletions(-) rename cmd/{bdjuno => callisto}/main.go (86%) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 4fad2e902..b89ab3946 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -13,18 +13,18 @@ jobs: - name: Checkout 🛎️ uses: actions/checkout@v4 - - name: Set BDJuno chain name 🔧 + - name: Set Callisto chain name 🔧 shell: bash run: echo "CHAIN_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')" >> $GITHUB_ENV - - name: Set BDJuno version 🔧 + - name: Set Callisto version 🔧 shell: bash run: echo "GITHUB_VERSION=$(git describe --tags)" >> $GITHUB_ENV - name: Prepare tags 🏷️ id: prep run: | - DOCKER_IMAGE=${{ secrets.DOCKERHUB_BDJUNO_REPO }} + DOCKER_IMAGE=${{ secrets.DOCKERHUB_CALLISTO_REPO }} CHAIN_NAME="${{env.CHAIN_NAME}}" VERSION="${{env.GITHUB_VERSION}}" TAGS="${DOCKER_IMAGE}:${CHAIN_NAME}-${VERSION}" diff --git a/CHANGELOG.md b/CHANGELOG.md index c70bcee57..8fc98af55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - ([\#610](https://github.com/forbole/bdjuno/pull/610)) Add support for gov `v1` proposals - ([\#652](https://github.com/forbole/bdjuno/pull/652)) Update gov module parsing - ([\#702](https://github.com/forbole/bdjuno/pull/702)) Add `message_type` module and store msg types inside `message_type` table, add `messages_by_type` function to allow to query messages by their types +- ([\#704](https://github.com/forbole/bdjuno/pull/704)) Update `BDJuno` name to `Callisto` ## Version v4.0.0 ## Notes diff --git a/Dockerfile.cosmwasm b/Dockerfile.cosmwasm index 43cf18f5c..841c6dafc 100644 --- a/Dockerfile.cosmwasm +++ b/Dockerfile.cosmwasm @@ -2,7 +2,7 @@ FROM golang:1.20-alpine AS builder RUN apk update && apk add --no-cache make git -WORKDIR /go/src/github.com/forbole/bdjuno +WORKDIR /go/src/github.com/forbole/callisto COPY . ./ RUN apk update && apk add --no-cache ca-certificates build-base git @@ -17,6 +17,6 @@ RUN LINK_STATICALLY=true BUILD_TAGS="muslc" make build FROM alpine:latest RUN apk update && apk add --no-cache ca-certificates build-base -WORKDIR /bdjuno -COPY --from=builder /go/src/github.com/forbole/bdjuno/build/bdjuno /usr/bin/bdjuno -CMD [ "bdjuno" ] \ No newline at end of file +WORKDIR /callisto +COPY --from=builder /go/src/github.com/forbole/callisto/build/callisto /usr/bin/callisto +CMD [ "callisto" ] \ No newline at end of file diff --git a/Dockerfile.default b/Dockerfile.default index 92c367093..935226c2e 100644 --- a/Dockerfile.default +++ b/Dockerfile.default @@ -1,11 +1,11 @@ FROM golang:1.20-alpine AS builder RUN apk update && apk add --no-cache make git -WORKDIR /go/src/github.com/forbole/bdjuno +WORKDIR /go/src/github.com/forbole/callisto COPY . ./ RUN go mod download RUN make build FROM alpine:latest -WORKDIR /bdjuno -COPY --from=builder /go/src/github.com/forbole/bdjuno/build/bdjuno /usr/bin/bdjuno -CMD [ "bdjuno" ] \ No newline at end of file +WORKDIR /callisto +COPY --from=builder /go/src/github.com/forbole/callisto/build/callisto /usr/bin/callisto +CMD [ "callisto" ] \ No newline at end of file diff --git a/Makefile b/Makefile index 24e444404..b1ba105a2 100644 --- a/Makefile +++ b/Makefile @@ -32,11 +32,11 @@ BUILD_FLAGS := -ldflags '$(LD_FLAGS)' -tags "$(build_tags)" build: go.sum ifeq ($(OS),Windows_NT) - @echo "building bdjuno binary..." - @go build -mod=readonly $(BUILD_FLAGS) -o build/bdjuno.exe ./cmd/bdjuno + @echo "building callisto binary..." + @go build -mod=readonly $(BUILD_FLAGS) -o build/callisto.exe ./cmd/callisto else - @echo "building bdjuno binary..." - @go build -mod=readonly $(BUILD_FLAGS) -o build/bdjuno ./cmd/bdjuno + @echo "building callisto binary..." + @go build -mod=readonly $(BUILD_FLAGS) -o build/callisto ./cmd/callisto endif .PHONY: build @@ -45,8 +45,8 @@ endif ############################################################################### install: go.sum - @echo "installing bdjuno binary..." - @go install -mod=readonly $(BUILD_FLAGS) ./cmd/bdjuno + @echo "installing callisto binary..." + @go install -mod=readonly $(BUILD_FLAGS) ./cmd/callisto .PHONY: install ############################################################################### @@ -55,12 +55,12 @@ install: go.sum stop-docker-test: @echo "Stopping Docker container..." - @docker stop bdjuno-test-db || true && docker rm bdjuno-test-db || true + @docker stop callisto-test-db || true && docker rm callisto-test-db || true .PHONY: stop-docker-test start-docker-test: stop-docker-test @echo "Starting Docker container..." - @docker run --name bdjuno-test-db -e POSTGRES_USER=bdjuno -e POSTGRES_PASSWORD=password -e POSTGRES_DB=bdjuno -d -p 6433:5432 postgres + @docker run --name callisto-test-db -e POSTGRES_USER=callisto -e POSTGRES_PASSWORD=password -e POSTGRES_DB=callisto -d -p 6433:5432 postgres .PHONY: start-docker-test test-unit: start-docker-test @@ -86,7 +86,7 @@ lint-fix: format: find . -name '*.go' -type f -not -path "*.git*" -not -name '*.pb.go' -not -name '*_mocks.go' | xargs gofmt -w -s find . -name '*.go' -type f -not -path "*.git*" -not -name '*.pb.go' -not -name '*_mocks.go' | xargs misspell -w - find . -name '*.go' -type f -not -path "*.git*" -not -name '*.pb.go' -not -name '*_mocks.go' | xargs goimports -w -local github.com/forbole/bdjuno + find . -name '*.go' -type f -not -path "*.git*" -not -name '*.pb.go' -not -name '*_mocks.go' | xargs goimports -w -local github.com/forbole/callisto .PHONY: format clean: diff --git a/README.md b/README.md index f74fd6193..d3422a17f 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# BDJuno +# Callisto [![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). +Callisto (formerly BDJuno) is the [Juno](https://github.com/forbole/juno) implementation +for [Big Dipper](https://github.com/forbole/big-dipper). -It extends the custom Juno behavior by adding different handlers and custom operations to make it easier for BigDipper +It extends the custom Juno behavior by adding different handlers and custom operations to make it easier for Big Dipper showing the data inside the UI. All the chains' data that are queried from the RPC and gRPC endpoints are stored inside @@ -14,7 +14,7 @@ a [PostgreSQL](https://www.postgresql.org/) database on top of which [GraphQL](h created using [Hasura](https://hasura.io/). ## Usage -To know how to setup and run BDJuno, please refer to +To know how to setup and run Callisto, please refer to the [docs website](https://docs.bigdipper.live/cosmos-based/parser/overview/). ## Testing diff --git a/Requirements.md b/Requirements.md index 8ea424af7..92ac43a74 100644 --- a/Requirements.md +++ b/Requirements.md @@ -1,5 +1,5 @@ -# Requirements of BDjuno -The BDjuno is working as a backend for Big Dipper. The followings are the features currently supported in Big Dipper in the backend which BDjuno should adapt. +# Requirements of Callisto +The Callisto is working as a backend for Big Dipper. The followings are the features currently supported in Big Dipper in the backend which Callisto should adapt. ## On every block ### Done by Juno by default @@ -7,7 +7,7 @@ The BDjuno is working as a backend for Big Dipper. The followings are the featur - [x] Parsing all transactions - [x] Store validator set of the block -### Custom BDJuno implementations +### Custom Callisto implementations - [x] Update missed block records - [x] Read the latest consensus state - [x] [x/auth] Store vesting accounts and vesting periods details diff --git a/cmd/bdjuno/main.go b/cmd/callisto/main.go similarity index 86% rename from cmd/bdjuno/main.go rename to cmd/callisto/main.go index 018efb7f6..75f66e58c 100644 --- a/cmd/bdjuno/main.go +++ b/cmd/callisto/main.go @@ -8,15 +8,15 @@ import ( startcmd "github.com/forbole/juno/v5/cmd/start" "github.com/forbole/juno/v5/modules/messages" - migratecmd "github.com/forbole/bdjuno/v4/cmd/migrate" - parsecmd "github.com/forbole/bdjuno/v4/cmd/parse" + migratecmd "github.com/forbole/callisto/v4/cmd/migrate" + parsecmd "github.com/forbole/callisto/v4/cmd/parse" - "github.com/forbole/bdjuno/v4/types/config" + "github.com/forbole/callisto/v4/types/config" "cosmossdk.io/simapp" - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/modules" + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/modules" ) func main() { @@ -28,7 +28,7 @@ func main() { WithEncodingConfigBuilder(config.MakeEncodingConfig(getBasicManagers())). WithRegistrar(modules.NewRegistrar(getAddressesParser())) - cfg := cmd.NewConfig("bdjuno"). + cfg := cmd.NewConfig("callisto"). WithInitConfig(initCfg). WithParseConfig(parseCfg) diff --git a/cmd/migrate/cmd.go b/cmd/migrate/cmd.go index 9e44cf1e5..e5c2b67f5 100644 --- a/cmd/migrate/cmd.go +++ b/cmd/migrate/cmd.go @@ -7,8 +7,8 @@ import ( parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types" "github.com/spf13/cobra" - v3 "github.com/forbole/bdjuno/v4/cmd/migrate/v3" - v5 "github.com/forbole/bdjuno/v4/cmd/migrate/v5" + v3 "github.com/forbole/callisto/v4/cmd/migrate/v3" + v5 "github.com/forbole/callisto/v4/cmd/migrate/v5" ) type Migrator func(parseCfg *parsecmdtypes.Config) error diff --git a/cmd/migrate/v3/migrate.go b/cmd/migrate/v3/migrate.go index c32361c39..e0f9c1575 100644 --- a/cmd/migrate/v3/migrate.go +++ b/cmd/migrate/v3/migrate.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/forbole/bdjuno/v4/modules/actions" + "github.com/forbole/callisto/v4/modules/actions" parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types" diff --git a/cmd/migrate/v3/types.go b/cmd/migrate/v3/types.go index 01d44c815..69fd3ef3b 100644 --- a/cmd/migrate/v3/types.go +++ b/cmd/migrate/v3/types.go @@ -3,7 +3,7 @@ package v3 import ( v3 "github.com/forbole/juno/v5/cmd/migrate/v3" - "github.com/forbole/bdjuno/v4/modules/actions" + "github.com/forbole/callisto/v4/modules/actions" ) type Config struct { diff --git a/cmd/migrate/v5/migrate.go b/cmd/migrate/v5/migrate.go index 1c0c0ebc1..c8910bd3d 100644 --- a/cmd/migrate/v5/migrate.go +++ b/cmd/migrate/v5/migrate.go @@ -3,7 +3,7 @@ package v5 import ( "fmt" - v5db "github.com/forbole/bdjuno/v4/database/migrate/v5" + v5db "github.com/forbole/callisto/v4/database/migrate/v5" parse "github.com/forbole/juno/v5/cmd/parse/types" "github.com/forbole/juno/v5/database" "github.com/forbole/juno/v5/database/postgresql" diff --git a/cmd/parse/auth/vesting.go b/cmd/parse/auth/vesting.go index a3e6253db..82ff2d439 100644 --- a/cmd/parse/auth/vesting.go +++ b/cmd/parse/auth/vesting.go @@ -8,9 +8,9 @@ import ( "github.com/forbole/juno/v5/types/config" "github.com/spf13/cobra" - "github.com/forbole/bdjuno/v4/database" - authutils "github.com/forbole/bdjuno/v4/modules/auth" - "github.com/forbole/bdjuno/v4/utils" + "github.com/forbole/callisto/v4/database" + authutils "github.com/forbole/callisto/v4/modules/auth" + "github.com/forbole/callisto/v4/utils" ) // vestingCmd returns a Cobra command that allows to fix the vesting data for the accounts diff --git a/cmd/parse/bank/supply.go b/cmd/parse/bank/supply.go index dab2d8fc9..526ff48d3 100644 --- a/cmd/parse/bank/supply.go +++ b/cmd/parse/bank/supply.go @@ -3,14 +3,14 @@ package bank import ( "fmt" - modulestypes "github.com/forbole/bdjuno/v4/modules/types" + modulestypes "github.com/forbole/callisto/v4/modules/types" parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types" "github.com/forbole/juno/v5/types/config" "github.com/spf13/cobra" - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/modules/bank" + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/modules/bank" ) // supplyCmd returns the Cobra command allowing to refresh x/bank total supply diff --git a/cmd/parse/distribution/communitypool.go b/cmd/parse/distribution/communitypool.go index e898df353..f1f4dbdd8 100644 --- a/cmd/parse/distribution/communitypool.go +++ b/cmd/parse/distribution/communitypool.go @@ -7,9 +7,9 @@ import ( "github.com/forbole/juno/v5/types/config" "github.com/spf13/cobra" - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/modules/distribution" - modulestypes "github.com/forbole/bdjuno/v4/modules/types" + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/modules/distribution" + modulestypes "github.com/forbole/callisto/v4/modules/types" ) // communityPoolCmd returns the Cobra command allowing to refresh community pool diff --git a/cmd/parse/feegrant/allowance.go b/cmd/parse/feegrant/allowance.go index c2c74dc45..f359ce64b 100644 --- a/cmd/parse/feegrant/allowance.go +++ b/cmd/parse/feegrant/allowance.go @@ -8,12 +8,12 @@ import ( parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types" "github.com/forbole/juno/v5/types/config" - "github.com/forbole/bdjuno/v4/modules/feegrant" - "github.com/forbole/bdjuno/v4/utils" + "github.com/forbole/callisto/v4/modules/feegrant" + "github.com/forbole/callisto/v4/utils" "github.com/spf13/cobra" - "github.com/forbole/bdjuno/v4/database" + "github.com/forbole/callisto/v4/database" tmctypes "github.com/cometbft/cometbft/rpc/core/types" diff --git a/cmd/parse/gov/proposal.go b/cmd/parse/gov/proposal.go index eb8ab8768..e0aaeb9dc 100644 --- a/cmd/parse/gov/proposal.go +++ b/cmd/parse/gov/proposal.go @@ -7,7 +7,7 @@ import ( "github.com/rs/zerolog/log" - modulestypes "github.com/forbole/bdjuno/v4/modules/types" + modulestypes "github.com/forbole/callisto/v4/modules/types" govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types" @@ -15,13 +15,13 @@ import ( "github.com/forbole/juno/v5/types/config" "github.com/spf13/cobra" - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/modules/distribution" - "github.com/forbole/bdjuno/v4/modules/gov" - "github.com/forbole/bdjuno/v4/modules/mint" - "github.com/forbole/bdjuno/v4/modules/slashing" - "github.com/forbole/bdjuno/v4/modules/staking" - "github.com/forbole/bdjuno/v4/utils" + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/modules/distribution" + "github.com/forbole/callisto/v4/modules/gov" + "github.com/forbole/callisto/v4/modules/mint" + "github.com/forbole/callisto/v4/modules/slashing" + "github.com/forbole/callisto/v4/modules/staking" + "github.com/forbole/callisto/v4/utils" ) // proposalCmd returns the Cobra command allowing to fix all things related to a proposal diff --git a/cmd/parse/mint/inflation.go b/cmd/parse/mint/inflation.go index b2d514fc5..547085f85 100644 --- a/cmd/parse/mint/inflation.go +++ b/cmd/parse/mint/inflation.go @@ -7,9 +7,9 @@ import ( "github.com/forbole/juno/v5/types/config" "github.com/spf13/cobra" - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/modules/mint" - modulestypes "github.com/forbole/bdjuno/v4/modules/types" + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/modules/mint" + modulestypes "github.com/forbole/callisto/v4/modules/types" ) // inflationCmd returns the Cobra command allowing to refresh x/mint inflation diff --git a/cmd/parse/parse.go b/cmd/parse/parse.go index ab6425591..be483521b 100644 --- a/cmd/parse/parse.go +++ b/cmd/parse/parse.go @@ -10,14 +10,14 @@ import ( parsetransaction "github.com/forbole/juno/v5/cmd/parse/transactions" - parseauth "github.com/forbole/bdjuno/v4/cmd/parse/auth" - parsebank "github.com/forbole/bdjuno/v4/cmd/parse/bank" - parsedistribution "github.com/forbole/bdjuno/v4/cmd/parse/distribution" - parsefeegrant "github.com/forbole/bdjuno/v4/cmd/parse/feegrant" - parsegov "github.com/forbole/bdjuno/v4/cmd/parse/gov" - parsemint "github.com/forbole/bdjuno/v4/cmd/parse/mint" - parsepricefeed "github.com/forbole/bdjuno/v4/cmd/parse/pricefeed" - parsestaking "github.com/forbole/bdjuno/v4/cmd/parse/staking" + parseauth "github.com/forbole/callisto/v4/cmd/parse/auth" + parsebank "github.com/forbole/callisto/v4/cmd/parse/bank" + parsedistribution "github.com/forbole/callisto/v4/cmd/parse/distribution" + parsefeegrant "github.com/forbole/callisto/v4/cmd/parse/feegrant" + parsegov "github.com/forbole/callisto/v4/cmd/parse/gov" + parsemint "github.com/forbole/callisto/v4/cmd/parse/mint" + parsepricefeed "github.com/forbole/callisto/v4/cmd/parse/pricefeed" + parsestaking "github.com/forbole/callisto/v4/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/pricefeed/price.go b/cmd/parse/pricefeed/price.go index 209f0fd1e..308719d4a 100644 --- a/cmd/parse/pricefeed/price.go +++ b/cmd/parse/pricefeed/price.go @@ -7,8 +7,8 @@ import ( "github.com/forbole/juno/v5/types/config" "github.com/spf13/cobra" - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/modules/pricefeed" + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/modules/pricefeed" ) // priceCmd returns the Cobra command allowing to refresh token price diff --git a/cmd/parse/pricefeed/pricehistory.go b/cmd/parse/pricefeed/pricehistory.go index d0b0f57fb..aa4b210df 100644 --- a/cmd/parse/pricefeed/pricehistory.go +++ b/cmd/parse/pricefeed/pricehistory.go @@ -7,8 +7,8 @@ import ( "github.com/forbole/juno/v5/types/config" "github.com/spf13/cobra" - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/modules/pricefeed" + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/modules/pricefeed" ) // priceHistoryCmd returns the Cobra command allowing to store token price history diff --git a/cmd/parse/staking/staking.go b/cmd/parse/staking/staking.go index 1a89d208e..ff476e8e2 100644 --- a/cmd/parse/staking/staking.go +++ b/cmd/parse/staking/staking.go @@ -7,9 +7,9 @@ import ( "github.com/forbole/juno/v5/types/config" "github.com/spf13/cobra" - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/modules/staking" - modulestypes "github.com/forbole/bdjuno/v4/modules/types" + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/modules/staking" + modulestypes "github.com/forbole/callisto/v4/modules/types" ) // poolCmd returns the Cobra command allowing to refresh x/staking pool diff --git a/cmd/parse/staking/validators.go b/cmd/parse/staking/validators.go index eb5560cf3..7f74209d6 100644 --- a/cmd/parse/staking/validators.go +++ b/cmd/parse/staking/validators.go @@ -3,14 +3,14 @@ package staking import ( "fmt" - modulestypes "github.com/forbole/bdjuno/v4/modules/types" + modulestypes "github.com/forbole/callisto/v4/modules/types" parsecmdtypes "github.com/forbole/juno/v5/cmd/parse/types" "github.com/forbole/juno/v5/types/config" "github.com/spf13/cobra" - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/modules/staking" + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/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 4b406ddd9..88745c594 100644 --- a/database/auth.go +++ b/database/auth.go @@ -9,10 +9,10 @@ import ( "github.com/cosmos/gogoproto/proto" "github.com/lib/pq" - dbtypes "github.com/forbole/bdjuno/v4/database/types" - dbutils "github.com/forbole/bdjuno/v4/database/utils" + dbtypes "github.com/forbole/callisto/v4/database/types" + dbutils "github.com/forbole/callisto/v4/database/utils" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" ) // SaveAccounts saves the given accounts inside the database diff --git a/database/auth_test.go b/database/auth_test.go index e4ad0ee2b..96014ddf5 100644 --- a/database/auth_test.go +++ b/database/auth_test.go @@ -4,9 +4,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authttypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" ) func (suite *DbTestSuite) TestSaveAccount() { diff --git a/database/bank.go b/database/bank.go index fc1e9519d..91bfa3cab 100644 --- a/database/bank.go +++ b/database/bank.go @@ -3,7 +3,7 @@ package database import ( "fmt" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/lib/pq" diff --git a/database/bank_test.go b/database/bank_test.go index 28edd87eb..386f68bde 100644 --- a/database/bank_test.go +++ b/database/bank_test.go @@ -3,9 +3,9 @@ package database_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" - bddbtypes "github.com/forbole/bdjuno/v4/database/types" + bddbtypes "github.com/forbole/callisto/v4/database/types" ) func (suite *DbTestSuite) TestBigDipperDb_SaveSupply() { diff --git a/database/consensus.go b/database/consensus.go index 681cd4d48..afb74f2ca 100644 --- a/database/consensus.go +++ b/database/consensus.go @@ -4,9 +4,9 @@ import ( "fmt" "time" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" ) // GetLastBlock returns the last block stored inside the database based on the heights diff --git a/database/consensus_test.go b/database/consensus_test.go index 8190a771e..6537a5bdf 100644 --- a/database/consensus_test.go +++ b/database/consensus_test.go @@ -3,8 +3,8 @@ package database_test import ( "time" - dbtypes "github.com/forbole/bdjuno/v4/database/types" - "github.com/forbole/bdjuno/v4/types" + dbtypes "github.com/forbole/callisto/v4/database/types" + "github.com/forbole/callisto/v4/types" ) func (suite *DbTestSuite) TestSaveConsensus_GetBlockHeightTimeMinuteAgo() { diff --git a/database/database_test.go b/database/database_test.go index 27aa2b4ee..402abc304 100644 --- a/database/database_test.go +++ b/database/database_test.go @@ -14,8 +14,8 @@ import ( junodb "github.com/forbole/juno/v5/database" - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/types" juno "github.com/forbole/juno/v5/types" @@ -47,7 +47,7 @@ func (suite *DbTestSuite) SetupTest() { // Build the database dbCfg := dbconfig.NewDatabaseConfig( - "postgresql://bdjuno:password@localhost:6433/bdjuno?sslmode=disable&search_path=public", + "postgresql://callisto:password@localhost:6433/callisto?sslmode=disable&search_path=public", "", "", "", diff --git a/database/distribution.go b/database/distribution.go index 750f503a0..89e8caa57 100644 --- a/database/distribution.go +++ b/database/distribution.go @@ -4,9 +4,9 @@ import ( "encoding/json" "fmt" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/lib/pq" diff --git a/database/distribution_test.go b/database/distribution_test.go index 6aa4f7bab..356311dda 100644 --- a/database/distribution_test.go +++ b/database/distribution_test.go @@ -5,12 +5,12 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - bddbtypes "github.com/forbole/bdjuno/v4/database/types" + bddbtypes "github.com/forbole/callisto/v4/database/types" ) func (suite *DbTestSuite) TestBigDipperDb_SaveCommunityPool() { diff --git a/database/feegrant.go b/database/feegrant.go index 9ffaf4286..7737953ee 100644 --- a/database/feegrant.go +++ b/database/feegrant.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" ) // SaveFeeGrantAllowance allows to store the fee grant allowances for the given block height diff --git a/database/feegrant_test.go b/database/feegrant_test.go index eec74e308..a41e283b9 100644 --- a/database/feegrant_test.go +++ b/database/feegrant_test.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" feegranttypes "github.com/cosmos/cosmos-sdk/x/feegrant" - dbtypes "github.com/forbole/bdjuno/v4/database/types" - "github.com/forbole/bdjuno/v4/types" + dbtypes "github.com/forbole/callisto/v4/database/types" + "github.com/forbole/callisto/v4/types" ) func (suite *DbTestSuite) TestBigDipperDb_SaveFeeGrantAllowance() { diff --git a/database/gov.go b/database/gov.go index 96af2ac87..f00be1925 100644 --- a/database/gov.go +++ b/database/gov.go @@ -12,8 +12,8 @@ import ( upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" "github.com/lib/pq" - dbtypes "github.com/forbole/bdjuno/v4/database/types" - "github.com/forbole/bdjuno/v4/types" + dbtypes "github.com/forbole/callisto/v4/database/types" + "github.com/forbole/callisto/v4/types" ) // SaveGovParams saves the given x/gov parameters inside the database diff --git a/database/gov_test.go b/database/gov_test.go index f5e4aa6ab..149654dd5 100644 --- a/database/gov_test.go +++ b/database/gov_test.go @@ -10,14 +10,14 @@ import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" - "github.com/forbole/bdjuno/v4/testutils" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/testutils" + "github.com/forbole/callisto/v4/types" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" ) func (suite *DbTestSuite) TestBigDipperDb_SaveGovParams() { diff --git a/database/message_type.go b/database/message_type.go index 99fa81b4c..aafaac00b 100644 --- a/database/message_type.go +++ b/database/message_type.go @@ -1,7 +1,7 @@ package database import ( - types "github.com/forbole/bdjuno/v4/types" + types "github.com/forbole/callisto/v4/types" ) // SaveMessageType stores the given message type inside the database diff --git a/database/migrate/v5/migrate.go b/database/migrate/v5/migrate.go index 2c39d9297..0fd00b242 100644 --- a/database/migrate/v5/migrate.go +++ b/database/migrate/v5/migrate.go @@ -3,8 +3,8 @@ package v5 import ( "fmt" - utils "github.com/forbole/bdjuno/v4/modules/utils" - "github.com/forbole/bdjuno/v4/types" + utils "github.com/forbole/callisto/v4/modules/utils" + "github.com/forbole/callisto/v4/types" ) // Migrate implements database.Migrator diff --git a/database/mint.go b/database/mint.go index ef080eef1..ec450dbd8 100644 --- a/database/mint.go +++ b/database/mint.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" ) // SaveInflation allows to store the inflation for the given block height as well as timestamp diff --git a/database/mint_test.go b/database/mint_test.go index d55d2a556..40c9f5177 100644 --- a/database/mint_test.go +++ b/database/mint_test.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" ) func (suite *DbTestSuite) TestBigDipperDb_SaveInflation() { diff --git a/database/pricefeed.go b/database/pricefeed.go index aca814382..19f6d9bba 100644 --- a/database/pricefeed.go +++ b/database/pricefeed.go @@ -3,9 +3,9 @@ package database import ( "fmt" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" "github.com/lib/pq" ) diff --git a/database/pricefeed_test.go b/database/pricefeed_test.go index a246df41c..d1bfe534d 100644 --- a/database/pricefeed_test.go +++ b/database/pricefeed_test.go @@ -4,9 +4,9 @@ import ( "fmt" "time" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" ) func (suite *DbTestSuite) insertToken(name string) { diff --git a/database/slashing.go b/database/slashing.go index 55a4bbeda..2bf127c87 100644 --- a/database/slashing.go +++ b/database/slashing.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" ) // SaveValidatorsSigningInfos saves the given infos inside the database diff --git a/database/slashing_test.go b/database/slashing_test.go index ed0e85c85..39ca15589 100644 --- a/database/slashing_test.go +++ b/database/slashing_test.go @@ -4,12 +4,12 @@ import ( "encoding/json" "time" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" sdk "github.com/cosmos/cosmos-sdk/types" slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" ) func (suite *DbTestSuite) TestBigDipperDb_ValidatorSigningInfo() { diff --git a/database/staking_params.go b/database/staking_params.go index f6e5924a0..b24942af7 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 "github.com/forbole/bdjuno/v4/database/types" - "github.com/forbole/bdjuno/v4/types" + dbtypes "github.com/forbole/callisto/v4/database/types" + "github.com/forbole/callisto/v4/types" ) // SaveStakingParams allows to store the given params into the database diff --git a/database/staking_params_test.go b/database/staking_params_test.go index 68253ec8f..7a99945f9 100644 --- a/database/staking_params_test.go +++ b/database/staking_params_test.go @@ -8,8 +8,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - dbtypes "github.com/forbole/bdjuno/v4/database/types" - "github.com/forbole/bdjuno/v4/types" + dbtypes "github.com/forbole/callisto/v4/database/types" + "github.com/forbole/callisto/v4/types" ) func (suite *DbTestSuite) TestSaveStakingParams() { diff --git a/database/staking_pool.go b/database/staking_pool.go index 0e2d83bf9..b9f31affd 100644 --- a/database/staking_pool.go +++ b/database/staking_pool.go @@ -3,7 +3,7 @@ package database import ( "fmt" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" ) // SaveStakingPool allows to save for the given height the given stakingtypes pool diff --git a/database/staking_pool_test.go b/database/staking_pool_test.go index ceaeecd55..3e4f116f5 100644 --- a/database/staking_pool_test.go +++ b/database/staking_pool_test.go @@ -3,8 +3,8 @@ package database_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - dbtypes "github.com/forbole/bdjuno/v4/database/types" - "github.com/forbole/bdjuno/v4/types" + dbtypes "github.com/forbole/callisto/v4/database/types" + "github.com/forbole/callisto/v4/types" ) func (suite *DbTestSuite) TestBigDipperDb_SaveStakingPool() { diff --git a/database/staking_validators.go b/database/staking_validators.go index 675ce9158..f57674699 100644 --- a/database/staking_validators.go +++ b/database/staking_validators.go @@ -3,9 +3,9 @@ package database import ( "fmt" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" diff --git a/database/staking_validators_test.go b/database/staking_validators_test.go index 4e2523969..ff070724c 100644 --- a/database/staking_validators_test.go +++ b/database/staking_validators_test.go @@ -3,12 +3,12 @@ package database_test import ( tmtypes "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - dbtypes "github.com/forbole/bdjuno/v4/database/types" + dbtypes "github.com/forbole/callisto/v4/database/types" ) func newDecPts(value int64, prec int64) *sdk.Dec { diff --git a/database/utils/bank.go b/database/utils/bank.go index 5a0af8bb7..a0109df1f 100644 --- a/database/utils/bank.go +++ b/database/utils/bank.go @@ -1,6 +1,6 @@ package utils -import "github.com/forbole/bdjuno/v4/types" +import "github.com/forbole/callisto/v4/types" const ( maxPostgreSQLParams = 65535 diff --git a/database/utils_test.go b/database/utils_test.go index 99600801c..af45d44c2 100644 --- a/database/utils_test.go +++ b/database/utils_test.go @@ -1,7 +1,7 @@ package database_test import ( - "github.com/forbole/bdjuno/v4/database/types" + "github.com/forbole/callisto/v4/database/types" ) func (suite *DbTestSuite) TestBigDipperDb_InsertEnableModules() { diff --git a/docker-compose.yml b/docker-compose.yml index b382d6379..352c1d838 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,12 +15,12 @@ services: HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log ## uncomment next line to set an admin secret # HASURA_GRAPHQL_ADMIN_SECRET: myadminsecretkey - bdjuno: + callisto: build: context: . dockerfile: Dockerfile restart: always - command: bdjuno parse --home /bdjuno/.bdjuno + command: callisto parse --home /callisto/.callisto volumes: ## Modify first path to match configuration file. - - /bdjuno/.bdjuno:/bdjuno/.bdjuno + - /callisto/.callisto:/callisto/.callisto diff --git a/go.mod b/go.mod index eebe25270..379072321 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/forbole/bdjuno/v4 +module github.com/forbole/callisto/v4 go 1.20 diff --git a/hasura/metadata/databases/databases.yaml b/hasura/metadata/databases/databases.yaml index 44731b435..bb932c950 100644 --- a/hasura/metadata/databases/databases.yaml +++ b/hasura/metadata/databases/databases.yaml @@ -1,4 +1,4 @@ -- name: bdjuno +- name: callisto kind: postgres configuration: connection_info: @@ -11,5 +11,5 @@ max_connections: 50 retries: 1 use_prepared_statements: true - tables: "!include bdjuno/tables/tables.yaml" - functions: "!include bdjuno/functions/functions.yaml" + tables: "!include callisto/tables/tables.yaml" + functions: "!include callisto/functions/functions.yaml" diff --git a/modules/actions/handle_additional_operations.go b/modules/actions/handle_additional_operations.go index e555de208..8978b7de4 100644 --- a/modules/actions/handle_additional_operations.go +++ b/modules/actions/handle_additional_operations.go @@ -6,8 +6,8 @@ import ( "sync" "syscall" - "github.com/forbole/bdjuno/v4/modules/actions/handlers" - actionstypes "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/modules/actions/handlers" + actionstypes "github.com/forbole/callisto/v4/modules/actions/types" ) var ( diff --git a/modules/actions/handlers/account_balance.go b/modules/actions/handlers/account_balance.go index 8aa693ad4..ba6597c81 100644 --- a/modules/actions/handlers/account_balance.go +++ b/modules/actions/handlers/account_balance.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/modules/actions/types" "github.com/rs/zerolog/log" ) diff --git a/modules/actions/handlers/delegation.go b/modules/actions/handlers/delegation.go index c0f7d98f9..0466b73b4 100644 --- a/modules/actions/handlers/delegation.go +++ b/modules/actions/handlers/delegation.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/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 b6d81083b..8352b71c3 100644 --- a/modules/actions/handlers/delegation_total.go +++ b/modules/actions/handlers/delegation_total.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/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 0eb29f16e..fa72d27fa 100644 --- a/modules/actions/handlers/delegator_reward.go +++ b/modules/actions/handlers/delegator_reward.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/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 92debf01e..df53d4235 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" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/modules/actions/types" "github.com/rs/zerolog/log" ) diff --git a/modules/actions/handlers/redelegation.go b/modules/actions/handlers/redelegation.go index 5334ca3a5..7a65d1fee 100644 --- a/modules/actions/handlers/redelegation.go +++ b/modules/actions/handlers/redelegation.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/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 6f79fdd32..41aca678d 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" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/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 bdd227609..2c8867511 100644 --- a/modules/actions/handlers/unbonding_delegations.go +++ b/modules/actions/handlers/unbonding_delegations.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/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 7a1ece22b..9fb7d3deb 100644 --- a/modules/actions/handlers/validator_commission.go +++ b/modules/actions/handlers/validator_commission.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/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 bb3598c88..cdc14cc5b 100644 --- a/modules/actions/handlers/validator_delegation.go +++ b/modules/actions/handlers/validator_delegation.go @@ -3,7 +3,7 @@ package handlers import ( "fmt" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/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 d04f8608e..c281865c4 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" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/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 be6258655..e048f91ac 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" - "github.com/forbole/bdjuno/v4/modules/actions/types" + "github.com/forbole/callisto/v4/modules/actions/types" "github.com/rs/zerolog/log" ) diff --git a/modules/actions/logging/prometheus.go b/modules/actions/logging/prometheus.go index e6d54c63d..3e7e00417 100644 --- a/modules/actions/logging/prometheus.go +++ b/modules/actions/logging/prometheus.go @@ -7,7 +7,7 @@ import ( // ActionResponseTime represents the Telemetry counter used to classify each executed action by response time var ActionResponseTime = prometheus.NewHistogramVec( prometheus.HistogramOpts{ - Name: "bdjuno_action_response_time", + Name: "callisto_action_response_time", Help: "Time it has taken to execute an action", Buckets: []float64{0.5, 1, 2, 3, 4, 5}, }, []string{"path"}) @@ -15,14 +15,14 @@ var ActionResponseTime = prometheus.NewHistogramVec( // ActionCounter represents the Telemetry counter used to track the total number of actions executed var ActionCounter = prometheus.NewCounterVec( prometheus.CounterOpts{ - Name: "bdjuno_actions_total_count", + Name: "callisto_actions_total_count", Help: "Total number of actions executed.", }, []string{"path", "http_status_code"}) // ActionErrorCounter represents the Telemetry counter used to track the number of action's errors emitted var ActionErrorCounter = prometheus.NewCounterVec( prometheus.CounterOpts{ - Name: "bdjuno_actions_error_count", + Name: "callisto_actions_error_count", Help: "Total number of errors emitted.", }, []string{"path", "http_status_code"}, ) diff --git a/modules/actions/module.go b/modules/actions/module.go index 3de3bca89..20e613fc0 100644 --- a/modules/actions/module.go +++ b/modules/actions/module.go @@ -8,7 +8,7 @@ import ( "github.com/forbole/juno/v5/types/config" "github.com/forbole/juno/v5/types/params" - modulestypes "github.com/forbole/bdjuno/v4/modules/types" + modulestypes "github.com/forbole/callisto/v4/modules/types" ) const ( diff --git a/modules/actions/types/handler.go b/modules/actions/types/handler.go index 2df8600a0..a9716fe70 100644 --- a/modules/actions/types/handler.go +++ b/modules/actions/types/handler.go @@ -5,7 +5,7 @@ import ( "github.com/forbole/juno/v5/node" - modulestypes "github.com/forbole/bdjuno/v4/modules/types" + modulestypes "github.com/forbole/callisto/v4/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 64bc28d49..984b67628 100644 --- a/modules/actions/types/worker.go +++ b/modules/actions/types/worker.go @@ -7,7 +7,7 @@ import ( "net/http" "time" - "github.com/forbole/bdjuno/v4/modules/actions/logging" + "github.com/forbole/callisto/v4/modules/actions/logging" "github.com/rs/zerolog/log" ) diff --git a/modules/auth/auth_accounts.go b/modules/auth/auth_accounts.go index 4ad7e7244..d14b24c51 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" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 e82f8f4c0..a9b60bcc9 100644 --- a/modules/auth/handle_msg.go +++ b/modules/auth/handle_msg.go @@ -13,8 +13,8 @@ import ( authttypes "github.com/cosmos/cosmos-sdk/x/auth/types" vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "github.com/forbole/bdjuno/v4/modules/utils" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/modules/utils" + "github.com/forbole/callisto/v4/types" ) // HandleMsgExec implements modules.AuthzMessageModule diff --git a/modules/auth/module.go b/modules/auth/module.go index 32bb89a99..7058543df 100644 --- a/modules/auth/module.go +++ b/modules/auth/module.go @@ -3,7 +3,7 @@ package auth import ( "github.com/cosmos/cosmos-sdk/codec" - "github.com/forbole/bdjuno/v4/database" + "github.com/forbole/callisto/v4/database" "github.com/forbole/juno/v5/modules" "github.com/forbole/juno/v5/modules/messages" diff --git a/modules/bank/handle_periodic_operations.go b/modules/bank/handle_periodic_operations.go index 1435aab3d..a282d6afb 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" - "github.com/forbole/bdjuno/v4/modules/utils" + "github.com/forbole/callisto/v4/modules/utils" ) // RegisterPeriodicOperations implements modules.Module diff --git a/modules/bank/module.go b/modules/bank/module.go index bf1e6c148..ac16161e2 100644 --- a/modules/bank/module.go +++ b/modules/bank/module.go @@ -3,8 +3,8 @@ package bank import ( "github.com/cosmos/cosmos-sdk/codec" - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/modules/bank/source" + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/modules/bank/source" junomessages "github.com/forbole/juno/v5/modules/messages" diff --git a/modules/bank/source/local/source.go b/modules/bank/source/local/source.go index 25c346a7d..6ad623c02 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/v5/node/local" - "github.com/forbole/bdjuno/v4/modules/bank/source" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/modules/bank/source" + "github.com/forbole/callisto/v4/types" ) var ( diff --git a/modules/bank/source/remote/source.go b/modules/bank/source/remote/source.go index c2ede4d67..4e50cfcc0 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/v5/node/remote" - bankkeeper "github.com/forbole/bdjuno/v4/modules/bank/source" - "github.com/forbole/bdjuno/v4/types" + bankkeeper "github.com/forbole/callisto/v4/modules/bank/source" + "github.com/forbole/callisto/v4/types" ) var ( diff --git a/modules/bank/source/remote/source_actions.go b/modules/bank/source/remote/source_actions.go index f2a0efae7..8e9927ec5 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" - "github.com/forbole/bdjuno/v4/utils" + "github.com/forbole/callisto/v4/utils" ) // GetAccountBalances implements bankkeeper.Source diff --git a/modules/bank/source/source.go b/modules/bank/source/source.go index a1a2ac9a4..2cd5504ac 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" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" ) type Source interface { diff --git a/modules/consensus/handle_genesis.go b/modules/consensus/handle_genesis.go index c2e8d1cb2..a02611611 100644 --- a/modules/consensus/handle_genesis.go +++ b/modules/consensus/handle_genesis.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" tmtypes "github.com/cometbft/cometbft/types" "github.com/rs/zerolog/log" diff --git a/modules/consensus/handle_periodic_operations.go b/modules/consensus/handle_periodic_operations.go index 32c61c11e..15499fb04 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" - "github.com/forbole/bdjuno/v4/modules/utils" + "github.com/forbole/callisto/v4/modules/utils" ) // RegisterPeriodicOperations implements modules.Module diff --git a/modules/consensus/module.go b/modules/consensus/module.go index 2fccc9eb3..a2ccc9f72 100644 --- a/modules/consensus/module.go +++ b/modules/consensus/module.go @@ -1,7 +1,7 @@ package consensus import ( - "github.com/forbole/bdjuno/v4/database" + "github.com/forbole/callisto/v4/database" "github.com/forbole/juno/v5/modules" ) diff --git a/modules/daily_refetch/module.go b/modules/daily_refetch/module.go index a9673f431..3f38ffac3 100644 --- a/modules/daily_refetch/module.go +++ b/modules/daily_refetch/module.go @@ -3,7 +3,7 @@ package daily_refetch import ( "github.com/forbole/juno/v5/node" - bdjunodb "github.com/forbole/bdjuno/v4/database" + callistodb "github.com/forbole/callisto/v4/database" "github.com/forbole/juno/v5/modules" ) @@ -15,13 +15,13 @@ var ( type Module struct { node node.Node - database *bdjunodb.Db + database *callistodb.Db } // NewModule builds a new Module instance func NewModule( node node.Node, - database *bdjunodb.Db, + database *callistodb.Db, ) *Module { return &Module{ node: node, diff --git a/modules/distribution/handle_genesis.go b/modules/distribution/handle_genesis.go index 623fa9345..532e2931d 100644 --- a/modules/distribution/handle_genesis.go +++ b/modules/distribution/handle_genesis.go @@ -6,7 +6,7 @@ import ( tmtypes "github.com/cometbft/cometbft/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 4c3c9d2c9..534ef2b8a 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" - "github.com/forbole/bdjuno/v4/modules/utils" + "github.com/forbole/callisto/v4/modules/utils" ) // RegisterPeriodicOperations implements modules.PeriodicOperationsModule diff --git a/modules/distribution/module.go b/modules/distribution/module.go index 88ec8ef1a..ee72027e2 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 "github.com/forbole/bdjuno/v4/modules/distribution/source" + distrsource "github.com/forbole/callisto/v4/modules/distribution/source" "github.com/forbole/juno/v5/modules" - "github.com/forbole/bdjuno/v4/database" + "github.com/forbole/callisto/v4/database" ) var ( diff --git a/modules/distribution/source/local/source.go b/modules/distribution/source/local/source.go index 42ccd311b..511a70a28 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/v5/node/local" - distrsource "github.com/forbole/bdjuno/v4/modules/distribution/source" + distrsource "github.com/forbole/callisto/v4/modules/distribution/source" ) var ( diff --git a/modules/distribution/source/remote/source.go b/modules/distribution/source/remote/source.go index e2f3f9346..3292b14a1 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/v5/node/remote" - distrsource "github.com/forbole/bdjuno/v4/modules/distribution/source" + distrsource "github.com/forbole/callisto/v4/modules/distribution/source" ) var ( diff --git a/modules/distribution/source/remote/source_actions.go b/modules/distribution/source/remote/source_actions.go index 120440407..ed9d3eab1 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/v5/node/remote" - "github.com/forbole/bdjuno/v4/utils" + "github.com/forbole/callisto/v4/utils" ) // DelegatorTotalRewards implements distrsource.Source diff --git a/modules/distribution/utils_params.go b/modules/distribution/utils_params.go index fbbf53213..d8a53a585 100644 --- a/modules/distribution/utils_params.go +++ b/modules/distribution/utils_params.go @@ -5,7 +5,7 @@ import ( "github.com/rs/zerolog/log" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 97808f89b..8324b8762 100644 --- a/modules/feegrant/handle_block.go +++ b/modules/feegrant/handle_block.go @@ -11,7 +11,7 @@ import ( tmctypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/rs/zerolog/log" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" ) // HandleBlock implements BlockModule diff --git a/modules/feegrant/handle_msg.go b/modules/feegrant/handle_msg.go index bfddf22d9..1594f4c0e 100644 --- a/modules/feegrant/handle_msg.go +++ b/modules/feegrant/handle_msg.go @@ -8,7 +8,7 @@ import ( feegranttypes "github.com/cosmos/cosmos-sdk/x/feegrant" juno "github.com/forbole/juno/v5/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" ) // HandleMsgExec implements modules.AuthzMessageModule diff --git a/modules/feegrant/module.go b/modules/feegrant/module.go index deeae8609..64e96e421 100644 --- a/modules/feegrant/module.go +++ b/modules/feegrant/module.go @@ -3,7 +3,7 @@ package feegrant import ( "github.com/cosmos/cosmos-sdk/codec" - "github.com/forbole/bdjuno/v4/database" + "github.com/forbole/callisto/v4/database" "github.com/forbole/juno/v5/modules" ) diff --git a/modules/gov/expected_modules.go b/modules/gov/expected_modules.go index 876ab3dc8..eb0abb5dd 100644 --- a/modules/gov/expected_modules.go +++ b/modules/gov/expected_modules.go @@ -1,7 +1,7 @@ package gov import ( - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" ) type DistrModule interface { diff --git a/modules/gov/handle_genesis.go b/modules/gov/handle_genesis.go index 44a1c8d2d..0ad0521ba 100644 --- a/modules/gov/handle_genesis.go +++ b/modules/gov/handle_genesis.go @@ -6,7 +6,7 @@ import ( tmtypes "github.com/cometbft/cometbft/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" gov "github.com/cosmos/cosmos-sdk/x/gov/types" govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" diff --git a/modules/gov/handle_msg.go b/modules/gov/handle_msg.go index 1232c8082..8e8573b82 100644 --- a/modules/gov/handle_msg.go +++ b/modules/gov/handle_msg.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/authz" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" "google.golang.org/grpc/codes" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/modules/gov/handle_periodic_operations.go b/modules/gov/handle_periodic_operations.go index 874d3ba42..7a52375a7 100644 --- a/modules/gov/handle_periodic_operations.go +++ b/modules/gov/handle_periodic_operations.go @@ -6,7 +6,7 @@ import ( "github.com/go-co-op/gocron" "github.com/rs/zerolog/log" - "github.com/forbole/bdjuno/v4/modules/utils" + "github.com/forbole/callisto/v4/modules/utils" ) // RegisterPeriodicOperations implements modules.PeriodicOperationsModule diff --git a/modules/gov/module.go b/modules/gov/module.go index 01e3875ca..5db42c0ad 100644 --- a/modules/gov/module.go +++ b/modules/gov/module.go @@ -3,9 +3,9 @@ package gov import ( "github.com/cosmos/cosmos-sdk/codec" - "github.com/forbole/bdjuno/v4/database" + "github.com/forbole/callisto/v4/database" - govsource "github.com/forbole/bdjuno/v4/modules/gov/source" + govsource "github.com/forbole/callisto/v4/modules/gov/source" "github.com/forbole/juno/v5/modules" ) diff --git a/modules/gov/source/local/source.go b/modules/gov/source/local/source.go index cf04babba..0b1360eb5 100644 --- a/modules/gov/source/local/source.go +++ b/modules/gov/source/local/source.go @@ -7,7 +7,7 @@ import ( govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" "github.com/forbole/juno/v5/node/local" - govsource "github.com/forbole/bdjuno/v4/modules/gov/source" + govsource "github.com/forbole/callisto/v4/modules/gov/source" ) var ( diff --git a/modules/gov/source/remote/source.go b/modules/gov/source/remote/source.go index 17b836b5f..2ea04ea5d 100644 --- a/modules/gov/source/remote/source.go +++ b/modules/gov/source/remote/source.go @@ -4,7 +4,7 @@ import ( govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" "github.com/forbole/juno/v5/node/remote" - govsource "github.com/forbole/bdjuno/v4/modules/gov/source" + govsource "github.com/forbole/callisto/v4/modules/gov/source" ) var ( diff --git a/modules/gov/utils_params.go b/modules/gov/utils_params.go index 03422b61f..08a371ee8 100644 --- a/modules/gov/utils_params.go +++ b/modules/gov/utils_params.go @@ -5,7 +5,7 @@ import ( "github.com/rs/zerolog/log" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 79f437f67..0f89b606a 100644 --- a/modules/gov/utils_proposal.go +++ b/modules/gov/utils_proposal.go @@ -18,7 +18,7 @@ import ( upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" "google.golang.org/grpc/codes" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" gov "github.com/cosmos/cosmos-sdk/x/gov/types" ) diff --git a/modules/message_type/handle_msg.go b/modules/message_type/handle_msg.go index c64915097..f1d95623a 100644 --- a/modules/message_type/handle_msg.go +++ b/modules/message_type/handle_msg.go @@ -3,8 +3,8 @@ package message_type import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/gogoproto/proto" - utils "github.com/forbole/bdjuno/v4/modules/utils" - msgtypes "github.com/forbole/bdjuno/v4/types" + utils "github.com/forbole/callisto/v4/modules/utils" + msgtypes "github.com/forbole/callisto/v4/types" "github.com/forbole/juno/v5/types" ) diff --git a/modules/message_type/module.go b/modules/message_type/module.go index efa91d0f1..e328c6cd7 100644 --- a/modules/message_type/module.go +++ b/modules/message_type/module.go @@ -2,7 +2,7 @@ package message_type import ( "github.com/cosmos/cosmos-sdk/codec" - "github.com/forbole/bdjuno/v4/database" + "github.com/forbole/callisto/v4/database" "github.com/forbole/juno/v5/modules" "github.com/forbole/juno/v5/modules/messages" ) diff --git a/modules/mint/handle_genesis.go b/modules/mint/handle_genesis.go index a48c55ee1..c5e1f56b5 100644 --- a/modules/mint/handle_genesis.go +++ b/modules/mint/handle_genesis.go @@ -6,7 +6,7 @@ import ( tmtypes "github.com/cometbft/cometbft/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" "github.com/rs/zerolog/log" diff --git a/modules/mint/handle_periodic_operations.go b/modules/mint/handle_periodic_operations.go index 0a926f8bf..25895135d 100644 --- a/modules/mint/handle_periodic_operations.go +++ b/modules/mint/handle_periodic_operations.go @@ -1,7 +1,7 @@ package mint import ( - "github.com/forbole/bdjuno/v4/modules/utils" + "github.com/forbole/callisto/v4/modules/utils" "github.com/go-co-op/gocron" "github.com/rs/zerolog/log" diff --git a/modules/mint/module.go b/modules/mint/module.go index 1462dde5b..ddee8fa98 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/v5/modules" - "github.com/forbole/bdjuno/v4/database" - mintsource "github.com/forbole/bdjuno/v4/modules/mint/source" + "github.com/forbole/callisto/v4/database" + mintsource "github.com/forbole/callisto/v4/modules/mint/source" ) var ( diff --git a/modules/mint/source/local/source.go b/modules/mint/source/local/source.go index 56b74a789..846467b42 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/v5/node/local" - mintsource "github.com/forbole/bdjuno/v4/modules/mint/source" + mintsource "github.com/forbole/callisto/v4/modules/mint/source" ) var ( diff --git a/modules/mint/source/remote/source.go b/modules/mint/source/remote/source.go index 8471e6c59..ee2c44548 100644 --- a/modules/mint/source/remote/source.go +++ b/modules/mint/source/remote/source.go @@ -5,7 +5,7 @@ import ( minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" "github.com/forbole/juno/v5/node/remote" - mintsource "github.com/forbole/bdjuno/v4/modules/mint/source" + mintsource "github.com/forbole/callisto/v4/modules/mint/source" ) var ( diff --git a/modules/mint/utils_params.go b/modules/mint/utils_params.go index af4805702..f8dcc4d8d 100644 --- a/modules/mint/utils_params.go +++ b/modules/mint/utils_params.go @@ -5,7 +5,7 @@ import ( "github.com/rs/zerolog/log" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 ae22fb7c6..5798936fb 100644 --- a/modules/modules/module.go +++ b/modules/modules/module.go @@ -4,7 +4,7 @@ import ( "github.com/forbole/juno/v5/modules" "github.com/forbole/juno/v5/types/config" - "github.com/forbole/bdjuno/v4/database" + "github.com/forbole/callisto/v4/database" ) var ( diff --git a/modules/pricefeed/coingecko/apis.go b/modules/pricefeed/coingecko/apis.go index 2cf80fbcc..db03cec08 100644 --- a/modules/pricefeed/coingecko/apis.go +++ b/modules/pricefeed/coingecko/apis.go @@ -8,7 +8,7 @@ import ( "net/http" "strings" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 5164f6f5a..7da790832 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" - "github.com/forbole/bdjuno/v4/modules/pricefeed/coingecko" + "github.com/forbole/callisto/v4/modules/pricefeed/coingecko" ) func TestConvertCoingeckoPrices(t *testing.T) { diff --git a/modules/pricefeed/config.go b/modules/pricefeed/config.go index db3819e86..2b2f8842b 100644 --- a/modules/pricefeed/config.go +++ b/modules/pricefeed/config.go @@ -3,7 +3,7 @@ package pricefeed import ( "gopkg.in/yaml.v3" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 944a2cbb1..5265cabab 100644 --- a/modules/pricefeed/handle_additional_operations.go +++ b/modules/pricefeed/handle_additional_operations.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" "github.com/rs/zerolog/log" ) diff --git a/modules/pricefeed/handle_periodic_operations.go b/modules/pricefeed/handle_periodic_operations.go index 0b893ffa8..28125b3e6 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" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" - "github.com/forbole/bdjuno/v4/modules/pricefeed/coingecko" - "github.com/forbole/bdjuno/v4/modules/utils" + "github.com/forbole/callisto/v4/modules/pricefeed/coingecko" + "github.com/forbole/callisto/v4/modules/utils" ) // RegisterPeriodicOperations implements modules.PeriodicOperationsModule diff --git a/modules/pricefeed/module.go b/modules/pricefeed/module.go index 21b42634c..86718b0a1 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/v5/types/config" - "github.com/forbole/bdjuno/v4/database" + "github.com/forbole/callisto/v4/database" "github.com/forbole/juno/v5/modules" ) diff --git a/modules/registrar.go b/modules/registrar.go index 78d099d02..da5842d15 100644 --- a/modules/registrar.go +++ b/modules/registrar.go @@ -1,35 +1,35 @@ package modules import ( - "github.com/forbole/bdjuno/v4/modules/actions" - "github.com/forbole/bdjuno/v4/modules/types" + "github.com/forbole/callisto/v4/modules/actions" + "github.com/forbole/callisto/v4/modules/types" "github.com/forbole/juno/v5/modules/pruning" "github.com/forbole/juno/v5/modules/telemetry" - "github.com/forbole/bdjuno/v4/modules/slashing" + "github.com/forbole/callisto/v4/modules/slashing" jmodules "github.com/forbole/juno/v5/modules" "github.com/forbole/juno/v5/modules/messages" "github.com/forbole/juno/v5/modules/registrar" - "github.com/forbole/bdjuno/v4/utils" - - "github.com/forbole/bdjuno/v4/database" - "github.com/forbole/bdjuno/v4/modules/auth" - "github.com/forbole/bdjuno/v4/modules/bank" - "github.com/forbole/bdjuno/v4/modules/consensus" - "github.com/forbole/bdjuno/v4/modules/distribution" - "github.com/forbole/bdjuno/v4/modules/feegrant" - - dailyrefetch "github.com/forbole/bdjuno/v4/modules/daily_refetch" - "github.com/forbole/bdjuno/v4/modules/gov" - messagetype "github.com/forbole/bdjuno/v4/modules/message_type" - "github.com/forbole/bdjuno/v4/modules/mint" - "github.com/forbole/bdjuno/v4/modules/modules" - "github.com/forbole/bdjuno/v4/modules/pricefeed" - "github.com/forbole/bdjuno/v4/modules/staking" - "github.com/forbole/bdjuno/v4/modules/upgrade" + "github.com/forbole/callisto/v4/utils" + + "github.com/forbole/callisto/v4/database" + "github.com/forbole/callisto/v4/modules/auth" + "github.com/forbole/callisto/v4/modules/bank" + "github.com/forbole/callisto/v4/modules/consensus" + "github.com/forbole/callisto/v4/modules/distribution" + "github.com/forbole/callisto/v4/modules/feegrant" + + dailyrefetch "github.com/forbole/callisto/v4/modules/daily_refetch" + "github.com/forbole/callisto/v4/modules/gov" + messagetype "github.com/forbole/callisto/v4/modules/message_type" + "github.com/forbole/callisto/v4/modules/mint" + "github.com/forbole/callisto/v4/modules/modules" + "github.com/forbole/callisto/v4/modules/pricefeed" + "github.com/forbole/callisto/v4/modules/staking" + "github.com/forbole/callisto/v4/modules/upgrade" juno "github.com/forbole/juno/v5/types" ) diff --git a/modules/slashing/handle_genesis.go b/modules/slashing/handle_genesis.go index b5ee5e685..be1d10d7f 100644 --- a/modules/slashing/handle_genesis.go +++ b/modules/slashing/handle_genesis.go @@ -6,7 +6,7 @@ import ( tmtypes "github.com/cometbft/cometbft/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 70ada3ee8..f2b107811 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/v5/modules" - "github.com/forbole/bdjuno/v4/database" - slashingsource "github.com/forbole/bdjuno/v4/modules/slashing/source" + "github.com/forbole/callisto/v4/database" + slashingsource "github.com/forbole/callisto/v4/modules/slashing/source" ) var ( diff --git a/modules/slashing/source/local/source.go b/modules/slashing/source/local/source.go index 95271bead..58d330347 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/v5/node/local" - slashingsource "github.com/forbole/bdjuno/v4/modules/slashing/source" + slashingsource "github.com/forbole/callisto/v4/modules/slashing/source" ) var ( diff --git a/modules/slashing/source/remote/source.go b/modules/slashing/source/remote/source.go index 89722d2ab..a898375cf 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/v5/node/remote" - slashingsource "github.com/forbole/bdjuno/v4/modules/slashing/source" + slashingsource "github.com/forbole/callisto/v4/modules/slashing/source" ) var ( diff --git a/modules/slashing/utils_params.go b/modules/slashing/utils_params.go index 1e4c468be..fff588d31 100644 --- a/modules/slashing/utils_params.go +++ b/modules/slashing/utils_params.go @@ -5,7 +5,7 @@ import ( "github.com/rs/zerolog/log" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 fe07c3154..17d832d8a 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" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 741e16b53..171141e3c 100644 --- a/modules/staking/handle_block.go +++ b/modules/staking/handle_block.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "fmt" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" juno "github.com/forbole/juno/v5/types" diff --git a/modules/staking/handle_genesis.go b/modules/staking/handle_genesis.go index a0c09348c..f829ac02b 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" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/types" tmtypes "github.com/cometbft/cometbft/types" diff --git a/modules/staking/handle_periodic_operations.go b/modules/staking/handle_periodic_operations.go index 646ca2d2b..884d06cae 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" - "github.com/forbole/bdjuno/v4/modules/utils" + "github.com/forbole/callisto/v4/modules/utils" ) // RegisterPeriodicOperations implements modules.PeriodicOperationsModule diff --git a/modules/staking/module.go b/modules/staking/module.go index c92c67350..f3c83c1bc 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/v5/modules" - "github.com/forbole/bdjuno/v4/database" - stakingsource "github.com/forbole/bdjuno/v4/modules/staking/source" + "github.com/forbole/callisto/v4/database" + stakingsource "github.com/forbole/callisto/v4/modules/staking/source" ) var ( diff --git a/modules/staking/source/local/source.go b/modules/staking/source/local/source.go index d1d1825fb..916f6a6b2 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/v5/node/local" - stakingsource "github.com/forbole/bdjuno/v4/modules/staking/source" + stakingsource "github.com/forbole/callisto/v4/modules/staking/source" ) var ( diff --git a/modules/staking/source/remote/source.go b/modules/staking/source/remote/source.go index dd1d51fa7..6b3ebaa2a 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/v5/node/remote" - stakingsource "github.com/forbole/bdjuno/v4/modules/staking/source" + stakingsource "github.com/forbole/callisto/v4/modules/staking/source" ) var ( diff --git a/modules/staking/source/remote/source_actions.go b/modules/staking/source/remote/source_actions.go index 3af79ff51..9edd7b17d 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/v5/node/remote" - "github.com/forbole/bdjuno/v4/utils" + "github.com/forbole/callisto/v4/utils" ) // GetDelegationsWithPagination implements stakingsource.Source diff --git a/modules/staking/utils_gentx.go b/modules/staking/utils_gentx.go index 42726c63b..bbe5c2060 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" - "github.com/forbole/bdjuno/v4/modules/staking/keybase" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/modules/staking/keybase" + "github.com/forbole/callisto/v4/types" ) // StoreValidatorFromMsgCreateValidator handles properly a MsgCreateValidator instance by diff --git a/modules/staking/utils_params.go b/modules/staking/utils_params.go index eff89883c..9c16f63a9 100644 --- a/modules/staking/utils_params.go +++ b/modules/staking/utils_params.go @@ -5,7 +5,7 @@ import ( "github.com/rs/zerolog/log" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 3cc64cbbf..2323b7645 100644 --- a/modules/staking/utils_staking_pool.go +++ b/modules/staking/utils_staking_pool.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/query" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/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 30ae17f40..f0a80d806 100644 --- a/modules/staking/utils_validators.go +++ b/modules/staking/utils_validators.go @@ -3,8 +3,8 @@ package staking import ( "fmt" - "github.com/forbole/bdjuno/v4/modules/staking/keybase" - "github.com/forbole/bdjuno/v4/types" + "github.com/forbole/callisto/v4/modules/staking/keybase" + "github.com/forbole/callisto/v4/types" "github.com/rs/zerolog/log" @@ -32,7 +32,7 @@ func (m *Module) getValidatorConsAddr(validator stakingtypes.Validator) (sdk.Con // --------------------------------------------------------------------------------------------------------------------- -// ConvertValidator converts the given staking validator into a BDJuno validator +// ConvertValidator converts the given staking validator into a Callisto validator func (m *Module) convertValidator(height int64, validator stakingtypes.Validator) (types.Validator, error) { consAddr, err := m.getValidatorConsAddr(validator) if err != nil { diff --git a/modules/types/sources.go b/modules/types/sources.go index 262c46fef..b9adf0f1b 100644 --- a/modules/types/sources.go +++ b/modules/types/sources.go @@ -20,23 +20,23 @@ import ( nodeconfig "github.com/forbole/juno/v5/node/config" - banksource "github.com/forbole/bdjuno/v4/modules/bank/source" - localbanksource "github.com/forbole/bdjuno/v4/modules/bank/source/local" - remotebanksource "github.com/forbole/bdjuno/v4/modules/bank/source/remote" - distrsource "github.com/forbole/bdjuno/v4/modules/distribution/source" - remotedistrsource "github.com/forbole/bdjuno/v4/modules/distribution/source/remote" - govsource "github.com/forbole/bdjuno/v4/modules/gov/source" - localgovsource "github.com/forbole/bdjuno/v4/modules/gov/source/local" - remotegovsource "github.com/forbole/bdjuno/v4/modules/gov/source/remote" - mintsource "github.com/forbole/bdjuno/v4/modules/mint/source" - localmintsource "github.com/forbole/bdjuno/v4/modules/mint/source/local" - remotemintsource "github.com/forbole/bdjuno/v4/modules/mint/source/remote" - slashingsource "github.com/forbole/bdjuno/v4/modules/slashing/source" - localslashingsource "github.com/forbole/bdjuno/v4/modules/slashing/source/local" - remoteslashingsource "github.com/forbole/bdjuno/v4/modules/slashing/source/remote" - stakingsource "github.com/forbole/bdjuno/v4/modules/staking/source" - localstakingsource "github.com/forbole/bdjuno/v4/modules/staking/source/local" - remotestakingsource "github.com/forbole/bdjuno/v4/modules/staking/source/remote" + banksource "github.com/forbole/callisto/v4/modules/bank/source" + localbanksource "github.com/forbole/callisto/v4/modules/bank/source/local" + remotebanksource "github.com/forbole/callisto/v4/modules/bank/source/remote" + distrsource "github.com/forbole/callisto/v4/modules/distribution/source" + remotedistrsource "github.com/forbole/callisto/v4/modules/distribution/source/remote" + govsource "github.com/forbole/callisto/v4/modules/gov/source" + localgovsource "github.com/forbole/callisto/v4/modules/gov/source/local" + remotegovsource "github.com/forbole/callisto/v4/modules/gov/source/remote" + mintsource "github.com/forbole/callisto/v4/modules/mint/source" + localmintsource "github.com/forbole/callisto/v4/modules/mint/source/local" + remotemintsource "github.com/forbole/callisto/v4/modules/mint/source/remote" + slashingsource "github.com/forbole/callisto/v4/modules/slashing/source" + localslashingsource "github.com/forbole/callisto/v4/modules/slashing/source/local" + remoteslashingsource "github.com/forbole/callisto/v4/modules/slashing/source/remote" + stakingsource "github.com/forbole/callisto/v4/modules/staking/source" + localstakingsource "github.com/forbole/callisto/v4/modules/staking/source/local" + remotestakingsource "github.com/forbole/callisto/v4/modules/staking/source/remote" ) type Sources struct { diff --git a/modules/upgrade/module.go b/modules/upgrade/module.go index 463c3fa18..0b67826b8 100644 --- a/modules/upgrade/module.go +++ b/modules/upgrade/module.go @@ -1,7 +1,7 @@ package upgrade import ( - "github.com/forbole/bdjuno/v4/database" + "github.com/forbole/callisto/v4/database" "github.com/forbole/juno/v5/modules" ) diff --git a/modules/utils/addresses_test.go b/modules/utils/addresses_test.go index 303f78141..0d1580984 100644 --- a/modules/utils/addresses_test.go +++ b/modules/utils/addresses_test.go @@ -3,7 +3,7 @@ package utils_test import ( "testing" - "github.com/forbole/bdjuno/v4/modules/utils" + "github.com/forbole/callisto/v4/modules/utils" "github.com/stretchr/testify/require" ) diff --git a/types/config/config.go b/types/config/config.go index d7dcb24b6..dbea5fad4 100644 --- a/types/config/config.go +++ b/types/config/config.go @@ -6,10 +6,10 @@ import ( "github.com/spf13/cobra" "gopkg.in/yaml.v3" - "github.com/forbole/bdjuno/v4/modules/actions" + "github.com/forbole/callisto/v4/modules/actions" ) -// Config represents the BDJuno configuration +// Config represents the Callisto configuration type Config struct { JunoConfig junoconfig.Config `yaml:"-,inline"` ActionsConfig *actions.Config `yaml:"actions"`