From fa2c60af37ec0e7342cd799b337c0aa1721a62a4 Mon Sep 17 00:00:00 2001 From: Artem Date: Thu, 1 Feb 2024 14:39:44 +0100 Subject: [PATCH] Change package name --- build/api/Dockerfile | 8 ++++---- build/indexer/Dockerfile | 8 ++++---- cmd/api/bus/dispatcher.go | 2 +- cmd/api/bus/observer.go | 2 +- cmd/api/cache/cache.go | 2 +- cmd/api/config.go | 4 ++-- cmd/api/handler/address.go | 6 +++--- cmd/api/handler/address_test.go | 8 ++++---- cmd/api/handler/block.go | 6 +++--- cmd/api/handler/block_test.go | 14 ++++++------- cmd/api/handler/constant.go | 4 ++-- cmd/api/handler/constant_test.go | 6 +++--- cmd/api/handler/responses/action.go | 6 +++--- cmd/api/handler/responses/address.go | 4 ++-- cmd/api/handler/responses/block.go | 6 +++--- cmd/api/handler/responses/constants.go | 4 ++-- cmd/api/handler/responses/rollup.go | 4 ++-- cmd/api/handler/responses/rollup_action.go | 2 +- cmd/api/handler/responses/state.go | 4 ++-- cmd/api/handler/responses/stats.go | 2 +- cmd/api/handler/responses/tx.go | 6 +++--- cmd/api/handler/responses/validator.go | 4 ++-- cmd/api/handler/responses/validator_test.go | 2 +- cmd/api/handler/rollup.go | 4 ++-- cmd/api/handler/rollup_test.go | 8 ++++---- cmd/api/handler/search.go | 4 ++-- cmd/api/handler/search_test.go | 6 +++--- cmd/api/handler/state.go | 4 ++-- cmd/api/handler/state_test.go | 6 +++--- cmd/api/handler/stats.go | 4 ++-- cmd/api/handler/stats_test.go | 6 +++--- cmd/api/handler/tx.go | 8 ++++---- cmd/api/handler/tx_test.go | 8 ++++---- cmd/api/handler/validator.go | 6 +++--- cmd/api/handler/validator_test.go | 8 ++++---- cmd/api/handler/validators.go | 2 +- cmd/api/handler/websocket/channel_test.go | 6 +++--- cmd/api/handler/websocket/filters.go | 2 +- cmd/api/handler/websocket/manager.go | 6 +++--- cmd/api/handler/websocket/processors.go | 4 ++-- cmd/api/init.go | 14 ++++++------- cmd/api/main.go | 2 +- cmd/indexer/init.go | 4 ++-- cmd/indexer/main.go | 2 +- docker-compose.yml | 4 ++-- go.mod | 2 +- internal/storage/action.go | 4 ++-- internal/storage/address.go | 2 +- internal/storage/address_action.go | 4 ++-- internal/storage/balance.go | 2 +- internal/storage/balance_update.go | 2 +- internal/storage/block.go | 4 ++-- internal/storage/block_signature.go | 2 +- internal/storage/block_stats.go | 2 +- internal/storage/constant.go | 2 +- internal/storage/generic.go | 2 +- internal/storage/mock/action.go | 4 ++-- internal/storage/mock/address.go | 2 +- internal/storage/mock/balance.go | 2 +- internal/storage/mock/balance_update.go | 2 +- internal/storage/mock/block.go | 4 ++-- internal/storage/mock/block_signature.go | 4 ++-- internal/storage/mock/block_stats.go | 4 ++-- internal/storage/mock/constant.go | 4 ++-- internal/storage/mock/generic.go | 4 ++-- internal/storage/mock/rollup.go | 4 ++-- internal/storage/mock/state.go | 2 +- internal/storage/mock/stats.go | 2 +- internal/storage/mock/tx.go | 4 ++-- internal/storage/mock/validator.go | 2 +- internal/storage/postgres/action.go | 4 ++-- internal/storage/postgres/action_test.go | 4 ++-- internal/storage/postgres/address.go | 2 +- internal/storage/postgres/address_test.go | 2 +- internal/storage/postgres/block.go | 4 ++-- internal/storage/postgres/block_signature.go | 4 ++-- .../storage/postgres/block_signature_test.go | 2 +- internal/storage/postgres/block_stats.go | 4 ++-- internal/storage/postgres/constant.go | 4 ++-- internal/storage/postgres/core.go | 2 +- internal/storage/postgres/custom_types.go | 2 +- internal/storage/postgres/index.go | 2 +- internal/storage/postgres/rollup.go | 4 ++-- internal/storage/postgres/scopes.go | 2 +- internal/storage/postgres/search.go | 2 +- internal/storage/postgres/state.go | 2 +- internal/storage/postgres/stats.go | 2 +- internal/storage/postgres/stats_test.go | 2 +- internal/storage/postgres/transaction.go | 4 ++-- internal/storage/postgres/transaction_test.go | 10 +++++----- internal/storage/postgres/tx.go | 4 ++-- internal/storage/postgres/tx_test.go | 4 ++-- internal/storage/postgres/validator.go | 2 +- internal/storage/rollup.go | 2 +- internal/storage/rollup_action.go | 2 +- internal/storage/rollup_address.go | 2 +- internal/storage/state.go | 2 +- internal/storage/tx.go | 4 ++-- internal/storage/validator.go | 2 +- internal/test_suite/block.go | 2 +- pkg/indexer/config/config.go | 2 +- pkg/indexer/decode/actions.go | 6 +++--- pkg/indexer/decode/actions_test.go | 8 ++++---- pkg/indexer/decode/address.go | 6 +++--- pkg/indexer/decode/rollups.go | 4 ++-- pkg/indexer/decode/tx.go | 6 +++--- pkg/indexer/genesis/constant.go | 8 ++++---- pkg/indexer/genesis/genesis.go | 6 +++--- pkg/indexer/genesis/genesis_test.go | 8 ++++---- pkg/indexer/genesis/parse.go | 8 ++++---- pkg/indexer/genesis/save.go | 4 ++-- pkg/indexer/indexer.go | 20 +++++++++---------- pkg/indexer/parser/listen.go | 2 +- pkg/indexer/parser/parse.go | 6 +++--- pkg/indexer/parser/parseTxs.go | 8 ++++---- pkg/indexer/parser/parseTxs_test.go | 8 ++++---- pkg/indexer/parser/parser_test.go | 4 ++-- pkg/indexer/receiver/receiver.go | 8 ++++---- pkg/indexer/receiver/receiver_test.go | 8 ++++---- pkg/indexer/receiver/sequencer.go | 2 +- pkg/indexer/receiver/sequencer_test.go | 4 ++-- pkg/indexer/receiver/sync.go | 2 +- pkg/indexer/receiver/sync_test.go | 6 +++--- pkg/indexer/receiver/worker.go | 2 +- pkg/indexer/rollback/address.go | 4 ++-- pkg/indexer/rollback/balances.go | 4 ++-- pkg/indexer/rollback/rollback.go | 10 +++++----- pkg/indexer/rollback/rollback_test.go | 12 +++++------ pkg/indexer/rollback/rollup.go | 6 +++--- pkg/indexer/rollback/rollup_test.go | 4 ++-- pkg/indexer/storage/action.go | 2 +- pkg/indexer/storage/address.go | 2 +- pkg/indexer/storage/address_test.go | 6 +++--- pkg/indexer/storage/block_signature.go | 4 ++-- pkg/indexer/storage/rollup.go | 2 +- pkg/indexer/storage/state.go | 4 ++-- pkg/indexer/storage/state_test.go | 2 +- pkg/indexer/storage/storage.go | 6 +++--- pkg/indexer/storage/storage_test.go | 6 +++--- pkg/indexer/storage/tx.go | 2 +- pkg/node/api.go | 4 ++-- pkg/node/mock/api.go | 4 ++-- pkg/node/rpc/api.go | 2 +- pkg/node/rpc/block.go | 4 ++-- pkg/node/rpc/genesis.go | 2 +- pkg/node/rpc/getBlockResults.go | 4 ++-- pkg/node/rpc/head.go | 2 +- pkg/node/rpc/status.go | 2 +- pkg/node/types/genesis.go | 2 +- pkg/node/types/status.go | 2 +- 150 files changed, 322 insertions(+), 322 deletions(-) diff --git a/build/api/Dockerfile b/build/api/Dockerfile index 16d1a58..caa32ac 100644 --- a/build/api/Dockerfile +++ b/build/api/Dockerfile @@ -10,17 +10,17 @@ ENV GOOS=linux RUN apk --no-cache add ca-certificates RUN apk add --update git -RUN mkdir -p $GOPATH/src/github.com/aopoltorzhicky/astria/ +RUN mkdir -p $GOPATH/src/github.com/celenium-io/astria-indexer/ -COPY ./go.* $GOPATH/src/github.com/aopoltorzhicky/astria/ -WORKDIR $GOPATH/src/github.com/aopoltorzhicky/astria +COPY ./go.* $GOPATH/src/github.com/celenium-io/astria-indexer/ +WORKDIR $GOPATH/src/github.com/celenium-io/astria-indexer RUN go mod download COPY cmd/api cmd/api COPY internal internal COPY pkg pkg -WORKDIR $GOPATH/src/github.com/aopoltorzhicky/astria/cmd/api/ +WORKDIR $GOPATH/src/github.com/celenium-io/astria-indexer/cmd/api/ RUN go build -a -installsuffix cgo -o /go/bin/api . # --------------------------------------------------------------------- diff --git a/build/indexer/Dockerfile b/build/indexer/Dockerfile index 1d0a145..9cfdea2 100644 --- a/build/indexer/Dockerfile +++ b/build/indexer/Dockerfile @@ -10,17 +10,17 @@ ENV GOOS=linux RUN apk --no-cache add ca-certificates RUN apk add --update git musl-dev gcc build-base -RUN mkdir -p $GOPATH/src/github.com/aopoltorzhicky/astria/ +RUN mkdir -p $GOPATH/src/github.com/celenium-io/astria-indexer/ -COPY ./go.* $GOPATH/src/github.com/aopoltorzhicky/astria/ -WORKDIR $GOPATH/src/github.com/aopoltorzhicky/astria +COPY ./go.* $GOPATH/src/github.com/celenium-io/astria-indexer/ +WORKDIR $GOPATH/src/github.com/celenium-io/astria-indexer RUN go mod download COPY cmd/indexer cmd/indexer COPY internal internal COPY pkg pkg -WORKDIR $GOPATH/src/github.com/aopoltorzhicky/astria/cmd/indexer/ +WORKDIR $GOPATH/src/github.com/celenium-io/astria-indexer/cmd/indexer/ RUN go build -a -o /go/bin/indexer . # --------------------------------------------------------------------- diff --git a/cmd/api/bus/dispatcher.go b/cmd/api/bus/dispatcher.go index 676d90a..ca07aae 100644 --- a/cmd/api/bus/dispatcher.go +++ b/cmd/api/bus/dispatcher.go @@ -9,7 +9,7 @@ import ( "strconv" "sync" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/dipdup-io/workerpool" "github.com/lib/pq" "github.com/pkg/errors" diff --git a/cmd/api/bus/observer.go b/cmd/api/bus/observer.go index 4ba4432..2223975 100644 --- a/cmd/api/bus/observer.go +++ b/cmd/api/bus/observer.go @@ -4,7 +4,7 @@ package bus import ( - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/dipdup-io/workerpool" ) diff --git a/cmd/api/cache/cache.go b/cmd/api/cache/cache.go index c21365a..4e58615 100644 --- a/cmd/api/cache/cache.go +++ b/cmd/api/cache/cache.go @@ -8,7 +8,7 @@ import ( "net/http" "sync" - "github.com/aopoltorzhicky/astria/cmd/api/bus" + "github.com/celenium-io/astria-indexer/cmd/api/bus" "github.com/dipdup-io/workerpool" "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" diff --git a/cmd/api/config.go b/cmd/api/config.go index 680f645..9ca3d32 100644 --- a/cmd/api/config.go +++ b/cmd/api/config.go @@ -4,8 +4,8 @@ package main import ( - "github.com/aopoltorzhicky/astria/internal/profiler" - indexerConfig "github.com/aopoltorzhicky/astria/pkg/indexer/config" + "github.com/celenium-io/astria-indexer/internal/profiler" + indexerConfig "github.com/celenium-io/astria-indexer/pkg/indexer/config" "github.com/dipdup-net/go-lib/config" ) diff --git a/cmd/api/handler/address.go b/cmd/api/handler/address.go index 870dcdf..4655ebe 100644 --- a/cmd/api/handler/address.go +++ b/cmd/api/handler/address.go @@ -8,9 +8,9 @@ import ( "net/http" "time" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - storageTypes "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + storageTypes "github.com/celenium-io/astria-indexer/internal/storage/types" "github.com/labstack/echo/v4" ) diff --git a/cmd/api/handler/address_test.go b/cmd/api/handler/address_test.go index 1546107..b651c2e 100644 --- a/cmd/api/handler/address_test.go +++ b/cmd/api/handler/address_test.go @@ -11,10 +11,10 @@ import ( "net/url" "testing" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/mock" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/mock" + "github.com/celenium-io/astria-indexer/internal/storage/types" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/labstack/echo/v4" "github.com/stretchr/testify/suite" diff --git a/cmd/api/handler/block.go b/cmd/api/handler/block.go index c05875b..f2813df 100644 --- a/cmd/api/handler/block.go +++ b/cmd/api/handler/block.go @@ -6,10 +6,10 @@ package handler import ( "net/http" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/labstack/echo/v4" ) diff --git a/cmd/api/handler/block_test.go b/cmd/api/handler/block_test.go index d3645d1..1abbb40 100644 --- a/cmd/api/handler/block_test.go +++ b/cmd/api/handler/block_test.go @@ -13,15 +13,15 @@ import ( "net/url" "testing" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" "github.com/shopspring/decimal" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/currency" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/mock" - "github.com/aopoltorzhicky/astria/internal/storage/types" - testsuite "github.com/aopoltorzhicky/astria/internal/test_suite" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/currency" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/mock" + "github.com/celenium-io/astria-indexer/internal/storage/types" + testsuite "github.com/celenium-io/astria-indexer/internal/test_suite" "github.com/labstack/echo/v4" "github.com/stretchr/testify/suite" "go.uber.org/mock/gomock" diff --git a/cmd/api/handler/constant.go b/cmd/api/handler/constant.go index 767b526..e64b0c5 100644 --- a/cmd/api/handler/constant.go +++ b/cmd/api/handler/constant.go @@ -6,8 +6,8 @@ package handler import ( "net/http" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/labstack/echo/v4" ) diff --git a/cmd/api/handler/constant_test.go b/cmd/api/handler/constant_test.go index 3b4df17..79412e3 100644 --- a/cmd/api/handler/constant_test.go +++ b/cmd/api/handler/constant_test.go @@ -10,9 +10,9 @@ import ( "net/http/httptest" "testing" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/mock" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/mock" "github.com/labstack/echo/v4" "github.com/stretchr/testify/suite" "go.uber.org/mock/gomock" diff --git a/cmd/api/handler/responses/action.go b/cmd/api/handler/responses/action.go index 21f0082..d9d017b 100644 --- a/cmd/api/handler/responses/action.go +++ b/cmd/api/handler/responses/action.go @@ -7,9 +7,9 @@ import ( "encoding/hex" "time" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/types" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" ) type Action struct { diff --git a/cmd/api/handler/responses/address.go b/cmd/api/handler/responses/address.go index cbd3edd..c0e8944 100644 --- a/cmd/api/handler/responses/address.go +++ b/cmd/api/handler/responses/address.go @@ -6,8 +6,8 @@ package responses import ( "encoding/hex" - "github.com/aopoltorzhicky/astria/internal/storage" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" ) // Address model info diff --git a/cmd/api/handler/responses/block.go b/cmd/api/handler/responses/block.go index d3db8f7..f19a8e2 100644 --- a/cmd/api/handler/responses/block.go +++ b/cmd/api/handler/responses/block.go @@ -7,9 +7,9 @@ import ( "strconv" "time" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/types" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" ) type Block struct { diff --git a/cmd/api/handler/responses/constants.go b/cmd/api/handler/responses/constants.go index a5d6de5..5e9eb3d 100644 --- a/cmd/api/handler/responses/constants.go +++ b/cmd/api/handler/responses/constants.go @@ -4,8 +4,8 @@ package responses import ( - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/types" "github.com/shopspring/decimal" ) diff --git a/cmd/api/handler/responses/rollup.go b/cmd/api/handler/responses/rollup.go index 006325a..a1ff292 100644 --- a/cmd/api/handler/responses/rollup.go +++ b/cmd/api/handler/responses/rollup.go @@ -6,8 +6,8 @@ package responses import ( "encoding/hex" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" ) type Rollup struct { diff --git a/cmd/api/handler/responses/rollup_action.go b/cmd/api/handler/responses/rollup_action.go index bdb44dd..849d7ff 100644 --- a/cmd/api/handler/responses/rollup_action.go +++ b/cmd/api/handler/responses/rollup_action.go @@ -3,7 +3,7 @@ package responses -import "github.com/aopoltorzhicky/astria/internal/storage" +import "github.com/celenium-io/astria-indexer/internal/storage" type RollupAction struct { Action diff --git a/cmd/api/handler/responses/state.go b/cmd/api/handler/responses/state.go index 8812b80..2ef74d5 100644 --- a/cmd/api/handler/responses/state.go +++ b/cmd/api/handler/responses/state.go @@ -7,9 +7,9 @@ import ( "encoding/hex" "time" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" ) type State struct { diff --git a/cmd/api/handler/responses/stats.go b/cmd/api/handler/responses/stats.go index bd04c56..0a54541 100644 --- a/cmd/api/handler/responses/stats.go +++ b/cmd/api/handler/responses/stats.go @@ -6,7 +6,7 @@ package responses import ( "time" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" ) type SeriesItem struct { diff --git a/cmd/api/handler/responses/tx.go b/cmd/api/handler/responses/tx.go index 36ddf7c..5327059 100644 --- a/cmd/api/handler/responses/tx.go +++ b/cmd/api/handler/responses/tx.go @@ -7,10 +7,10 @@ import ( "encoding/hex" "time" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/types" ) type Tx struct { diff --git a/cmd/api/handler/responses/validator.go b/cmd/api/handler/responses/validator.go index 24e5978..99fbd0f 100644 --- a/cmd/api/handler/responses/validator.go +++ b/cmd/api/handler/responses/validator.go @@ -6,8 +6,8 @@ package responses import ( "fmt" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" ) type Validator struct { diff --git a/cmd/api/handler/responses/validator_test.go b/cmd/api/handler/responses/validator_test.go index 4b3b0c3..875fd60 100644 --- a/cmd/api/handler/responses/validator_test.go +++ b/cmd/api/handler/responses/validator_test.go @@ -6,7 +6,7 @@ package responses import ( "testing" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/stretchr/testify/require" ) diff --git a/cmd/api/handler/rollup.go b/cmd/api/handler/rollup.go index df59fb1..df1debe 100644 --- a/cmd/api/handler/rollup.go +++ b/cmd/api/handler/rollup.go @@ -7,8 +7,8 @@ import ( "encoding/hex" "net/http" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/labstack/echo/v4" ) diff --git a/cmd/api/handler/rollup_test.go b/cmd/api/handler/rollup_test.go index c2537c0..2af24a1 100644 --- a/cmd/api/handler/rollup_test.go +++ b/cmd/api/handler/rollup_test.go @@ -11,10 +11,10 @@ import ( "net/url" "testing" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/mock" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/mock" + "github.com/celenium-io/astria-indexer/internal/storage/types" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/labstack/echo/v4" "github.com/stretchr/testify/suite" diff --git a/cmd/api/handler/search.go b/cmd/api/handler/search.go index aa3af13..e4d163b 100644 --- a/cmd/api/handler/search.go +++ b/cmd/api/handler/search.go @@ -6,8 +6,8 @@ package handler import ( "encoding/hex" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/labstack/echo/v4" ) diff --git a/cmd/api/handler/search_test.go b/cmd/api/handler/search_test.go index 691526a..8ea1d12 100644 --- a/cmd/api/handler/search_test.go +++ b/cmd/api/handler/search_test.go @@ -11,9 +11,9 @@ import ( "net/url" "testing" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/mock" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/mock" "github.com/labstack/echo/v4" "github.com/stretchr/testify/suite" "go.uber.org/mock/gomock" diff --git a/cmd/api/handler/state.go b/cmd/api/handler/state.go index 0c2685d..6feb35b 100644 --- a/cmd/api/handler/state.go +++ b/cmd/api/handler/state.go @@ -6,8 +6,8 @@ package handler import ( "net/http" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/labstack/echo/v4" ) diff --git a/cmd/api/handler/state_test.go b/cmd/api/handler/state_test.go index f8895da..7b468cc 100644 --- a/cmd/api/handler/state_test.go +++ b/cmd/api/handler/state_test.go @@ -11,9 +11,9 @@ import ( "testing" "time" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/mock" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/mock" "github.com/labstack/echo/v4" "github.com/shopspring/decimal" "github.com/stretchr/testify/suite" diff --git a/cmd/api/handler/stats.go b/cmd/api/handler/stats.go index 9b68c22..3a22a27 100644 --- a/cmd/api/handler/stats.go +++ b/cmd/api/handler/stats.go @@ -7,8 +7,8 @@ import ( "encoding/hex" "net/http" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/labstack/echo/v4" ) diff --git a/cmd/api/handler/stats_test.go b/cmd/api/handler/stats_test.go index c7a6da5..9c16a1e 100644 --- a/cmd/api/handler/stats_test.go +++ b/cmd/api/handler/stats_test.go @@ -10,9 +10,9 @@ import ( "net/http/httptest" "testing" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/mock" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/mock" "github.com/labstack/echo/v4" "github.com/shopspring/decimal" "github.com/stretchr/testify/suite" diff --git a/cmd/api/handler/tx.go b/cmd/api/handler/tx.go index 53c9967..931522e 100644 --- a/cmd/api/handler/tx.go +++ b/cmd/api/handler/tx.go @@ -8,10 +8,10 @@ import ( "net/http" "time" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/types" - storageTypes "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/types" + storageTypes "github.com/celenium-io/astria-indexer/internal/storage/types" "github.com/labstack/echo/v4" ) diff --git a/cmd/api/handler/tx_test.go b/cmd/api/handler/tx_test.go index a72caed..970c354 100644 --- a/cmd/api/handler/tx_test.go +++ b/cmd/api/handler/tx_test.go @@ -13,10 +13,10 @@ import ( "testing" "time" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/mock" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/mock" + "github.com/celenium-io/astria-indexer/internal/storage/types" "github.com/labstack/echo/v4" "github.com/stretchr/testify/suite" "go.uber.org/mock/gomock" diff --git a/cmd/api/handler/validator.go b/cmd/api/handler/validator.go index 8891b41..c14ea7e 100644 --- a/cmd/api/handler/validator.go +++ b/cmd/api/handler/validator.go @@ -6,9 +6,9 @@ package handler import ( "net/http" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/labstack/echo/v4" ) diff --git a/cmd/api/handler/validator_test.go b/cmd/api/handler/validator_test.go index 4dd1d7a..218c913 100644 --- a/cmd/api/handler/validator_test.go +++ b/cmd/api/handler/validator_test.go @@ -11,10 +11,10 @@ import ( "net/url" "testing" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/mock" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/mock" + "github.com/celenium-io/astria-indexer/pkg/types" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/labstack/echo/v4" "github.com/stretchr/testify/suite" diff --git a/cmd/api/handler/validators.go b/cmd/api/handler/validators.go index ad72253..d8bf303 100644 --- a/cmd/api/handler/validators.go +++ b/cmd/api/handler/validators.go @@ -7,7 +7,7 @@ import ( "net/http" "regexp" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/internal/storage/types" "github.com/go-playground/validator/v10" "github.com/labstack/echo/v4" ) diff --git a/cmd/api/handler/websocket/channel_test.go b/cmd/api/handler/websocket/channel_test.go index fb66899..6b3f6f4 100644 --- a/cmd/api/handler/websocket/channel_test.go +++ b/cmd/api/handler/websocket/channel_test.go @@ -8,9 +8,9 @@ import ( "sync" "testing" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/gorilla/websocket" "github.com/labstack/echo/v4" "github.com/stretchr/testify/require" diff --git a/cmd/api/handler/websocket/filters.go b/cmd/api/handler/websocket/filters.go index 3e1ae40..b30a7ad 100644 --- a/cmd/api/handler/websocket/filters.go +++ b/cmd/api/handler/websocket/filters.go @@ -4,7 +4,7 @@ package websocket import ( - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" ) type Filterable[M any] interface { diff --git a/cmd/api/handler/websocket/manager.go b/cmd/api/handler/websocket/manager.go index db0245b..a267793 100644 --- a/cmd/api/handler/websocket/manager.go +++ b/cmd/api/handler/websocket/manager.go @@ -11,9 +11,9 @@ import ( "github.com/dipdup-io/workerpool" sdkSync "github.com/dipdup-net/indexer-sdk/pkg/sync" - "github.com/aopoltorzhicky/astria/cmd/api/bus" - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/cmd/api/bus" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/gorilla/websocket" "github.com/labstack/echo/v4" "github.com/rs/zerolog/log" diff --git a/cmd/api/handler/websocket/processors.go b/cmd/api/handler/websocket/processors.go index 96fd972..9a75481 100644 --- a/cmd/api/handler/websocket/processors.go +++ b/cmd/api/handler/websocket/processors.go @@ -4,8 +4,8 @@ package websocket import ( - "github.com/aopoltorzhicky/astria/cmd/api/handler/responses" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/cmd/api/handler/responses" + "github.com/celenium-io/astria-indexer/internal/storage" ) func headProcessor(state storage.State) *responses.State { diff --git a/cmd/api/init.go b/cmd/api/init.go index a40de78..2ca01a4 100644 --- a/cmd/api/init.go +++ b/cmd/api/init.go @@ -11,13 +11,13 @@ import ( "strings" "time" - "github.com/aopoltorzhicky/astria/cmd/api/bus" - "github.com/aopoltorzhicky/astria/cmd/api/cache" - "github.com/aopoltorzhicky/astria/cmd/api/handler" - "github.com/aopoltorzhicky/astria/cmd/api/handler/websocket" - "github.com/aopoltorzhicky/astria/internal/profiler" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/postgres" + "github.com/celenium-io/astria-indexer/cmd/api/bus" + "github.com/celenium-io/astria-indexer/cmd/api/cache" + "github.com/celenium-io/astria-indexer/cmd/api/handler" + "github.com/celenium-io/astria-indexer/cmd/api/handler/websocket" + "github.com/celenium-io/astria-indexer/internal/profiler" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/postgres" "github.com/dipdup-net/go-lib/config" "github.com/getsentry/sentry-go" "github.com/grafana/pyroscope-go" diff --git a/cmd/api/main.go b/cmd/api/main.go index 5fa2d28..00a0535 100644 --- a/cmd/api/main.go +++ b/cmd/api/main.go @@ -10,7 +10,7 @@ import ( "os/signal" "syscall" - _ "github.com/aopoltorzhicky/astria/cmd/api/docs" + _ "github.com/celenium-io/astria-indexer/cmd/api/docs" "github.com/pkg/errors" "github.com/spf13/cobra" ) diff --git a/cmd/indexer/init.go b/cmd/indexer/init.go index cfcd37a..dcd8985 100644 --- a/cmd/indexer/init.go +++ b/cmd/indexer/init.go @@ -7,8 +7,8 @@ import ( "os" "strconv" - "github.com/aopoltorzhicky/astria/internal/profiler" - "github.com/aopoltorzhicky/astria/pkg/indexer/config" + "github.com/celenium-io/astria-indexer/internal/profiler" + "github.com/celenium-io/astria-indexer/pkg/indexer/config" goLibConfig "github.com/dipdup-net/go-lib/config" "github.com/grafana/pyroscope-go" "github.com/rs/zerolog" diff --git a/cmd/indexer/main.go b/cmd/indexer/main.go index acf2c32..3d94109 100644 --- a/cmd/indexer/main.go +++ b/cmd/indexer/main.go @@ -11,7 +11,7 @@ import ( "github.com/dipdup-net/indexer-sdk/pkg/modules/stopper" - "github.com/aopoltorzhicky/astria/pkg/indexer" + "github.com/celenium-io/astria-indexer/pkg/indexer" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/docker-compose.yml b/docker-compose.yml index 35f4a8e..88e536e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.6" services: indexer: - image: ghcr.io/aopoltorzhicky/astria:${TAG:-master} + image: ghcr.io/celenium-io/astria-indexer:${TAG:-master} build: dockerfile: build/indexer/Dockerfile context: . @@ -20,7 +20,7 @@ services: api: restart: always - image: ghcr.io/aopoltorzhicky/astria-api:${TAG:-master} + image: ghcr.io/celenium-io/astria-indexer-api:${TAG:-master} build: context: . dockerfile: build/api/Dockerfile diff --git a/go.mod b/go.mod index c068f7b..37b000a 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/aopoltorzhicky/astria +module github.com/celenium-io/astria-indexer go 1.21.2 diff --git a/internal/storage/action.go b/internal/storage/action.go index 0fa0c93..1dfffb3 100644 --- a/internal/storage/action.go +++ b/internal/storage/action.go @@ -7,9 +7,9 @@ import ( "context" "time" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/internal/storage/types" "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/uptrace/bun" ) diff --git a/internal/storage/address.go b/internal/storage/address.go index 5908a7d..1c93df7 100644 --- a/internal/storage/address.go +++ b/internal/storage/address.go @@ -7,7 +7,7 @@ import ( "context" "encoding/hex" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/uptrace/bun" diff --git a/internal/storage/address_action.go b/internal/storage/address_action.go index f34ffd9..0ae4647 100644 --- a/internal/storage/address_action.go +++ b/internal/storage/address_action.go @@ -6,8 +6,8 @@ package storage import ( "time" - "github.com/aopoltorzhicky/astria/internal/storage/types" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" "github.com/uptrace/bun" ) diff --git a/internal/storage/balance.go b/internal/storage/balance.go index 1a8c051..aafe441 100644 --- a/internal/storage/balance.go +++ b/internal/storage/balance.go @@ -4,7 +4,7 @@ package storage import ( - "github.com/aopoltorzhicky/astria/internal/currency" + "github.com/celenium-io/astria-indexer/internal/currency" "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/shopspring/decimal" "github.com/uptrace/bun" diff --git a/internal/storage/balance_update.go b/internal/storage/balance_update.go index be1ccd9..207f2fe 100644 --- a/internal/storage/balance_update.go +++ b/internal/storage/balance_update.go @@ -4,7 +4,7 @@ package storage import ( - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/shopspring/decimal" "github.com/uptrace/bun" diff --git a/internal/storage/block.go b/internal/storage/block.go index 86cb5d6..3791b6a 100644 --- a/internal/storage/block.go +++ b/internal/storage/block.go @@ -7,8 +7,8 @@ import ( "context" "time" - "github.com/aopoltorzhicky/astria/internal/storage/types" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/uptrace/bun" diff --git a/internal/storage/block_signature.go b/internal/storage/block_signature.go index 5cceaf2..34c4f67 100644 --- a/internal/storage/block_signature.go +++ b/internal/storage/block_signature.go @@ -7,7 +7,7 @@ import ( "context" "time" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/uptrace/bun" ) diff --git a/internal/storage/block_stats.go b/internal/storage/block_stats.go index 30f3cad..07de78f 100644 --- a/internal/storage/block_stats.go +++ b/internal/storage/block_stats.go @@ -7,7 +7,7 @@ import ( "context" "time" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" "github.com/shopspring/decimal" "github.com/uptrace/bun" ) diff --git a/internal/storage/constant.go b/internal/storage/constant.go index f5409ba..fb1c376 100644 --- a/internal/storage/constant.go +++ b/internal/storage/constant.go @@ -6,7 +6,7 @@ package storage import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/internal/storage/types" "github.com/uptrace/bun" ) diff --git a/internal/storage/generic.go b/internal/storage/generic.go index df80b10..fd28ccf 100644 --- a/internal/storage/generic.go +++ b/internal/storage/generic.go @@ -7,7 +7,7 @@ import ( "context" "io" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/lib/pq" ) diff --git a/internal/storage/mock/action.go b/internal/storage/mock/action.go index 2b27f1e..fc104b6 100644 --- a/internal/storage/mock/action.go +++ b/internal/storage/mock/action.go @@ -15,8 +15,8 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" - types "github.com/aopoltorzhicky/astria/pkg/types" + storage "github.com/celenium-io/astria-indexer/internal/storage" + types "github.com/celenium-io/astria-indexer/pkg/types" storage0 "github.com/dipdup-net/indexer-sdk/pkg/storage" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/address.go b/internal/storage/mock/address.go index 0cc86c9..482044d 100644 --- a/internal/storage/mock/address.go +++ b/internal/storage/mock/address.go @@ -15,7 +15,7 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" + storage "github.com/celenium-io/astria-indexer/internal/storage" storage0 "github.com/dipdup-net/indexer-sdk/pkg/storage" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/balance.go b/internal/storage/mock/balance.go index 7353caf..7476455 100644 --- a/internal/storage/mock/balance.go +++ b/internal/storage/mock/balance.go @@ -15,7 +15,7 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" + storage "github.com/celenium-io/astria-indexer/internal/storage" storage0 "github.com/dipdup-net/indexer-sdk/pkg/storage" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/balance_update.go b/internal/storage/mock/balance_update.go index aca7216..a1a23d0 100644 --- a/internal/storage/mock/balance_update.go +++ b/internal/storage/mock/balance_update.go @@ -15,7 +15,7 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" + storage "github.com/celenium-io/astria-indexer/internal/storage" storage0 "github.com/dipdup-net/indexer-sdk/pkg/storage" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/block.go b/internal/storage/mock/block.go index 5ef881c..032cc20 100644 --- a/internal/storage/mock/block.go +++ b/internal/storage/mock/block.go @@ -15,8 +15,8 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" - types "github.com/aopoltorzhicky/astria/pkg/types" + storage "github.com/celenium-io/astria-indexer/internal/storage" + types "github.com/celenium-io/astria-indexer/pkg/types" storage0 "github.com/dipdup-net/indexer-sdk/pkg/storage" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/block_signature.go b/internal/storage/mock/block_signature.go index 1ba2915..dfd557e 100644 --- a/internal/storage/mock/block_signature.go +++ b/internal/storage/mock/block_signature.go @@ -15,8 +15,8 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" - types "github.com/aopoltorzhicky/astria/pkg/types" + storage "github.com/celenium-io/astria-indexer/internal/storage" + types "github.com/celenium-io/astria-indexer/pkg/types" storage0 "github.com/dipdup-net/indexer-sdk/pkg/storage" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/block_stats.go b/internal/storage/mock/block_stats.go index 7f6828d..17cebf8 100644 --- a/internal/storage/mock/block_stats.go +++ b/internal/storage/mock/block_stats.go @@ -15,8 +15,8 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" - types "github.com/aopoltorzhicky/astria/pkg/types" + storage "github.com/celenium-io/astria-indexer/internal/storage" + types "github.com/celenium-io/astria-indexer/pkg/types" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/constant.go b/internal/storage/mock/constant.go index c39c38e..c3525dc 100644 --- a/internal/storage/mock/constant.go +++ b/internal/storage/mock/constant.go @@ -15,8 +15,8 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" - types "github.com/aopoltorzhicky/astria/internal/storage/types" + storage "github.com/celenium-io/astria-indexer/internal/storage" + types "github.com/celenium-io/astria-indexer/internal/storage/types" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/generic.go b/internal/storage/mock/generic.go index 0eb0e2f..0297ec8 100644 --- a/internal/storage/mock/generic.go +++ b/internal/storage/mock/generic.go @@ -15,8 +15,8 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" - types "github.com/aopoltorzhicky/astria/pkg/types" + storage "github.com/celenium-io/astria-indexer/internal/storage" + types "github.com/celenium-io/astria-indexer/pkg/types" storage0 "github.com/dipdup-net/indexer-sdk/pkg/storage" pq "github.com/lib/pq" bun "github.com/uptrace/bun" diff --git a/internal/storage/mock/rollup.go b/internal/storage/mock/rollup.go index 066c1ea..4c3e1a6 100644 --- a/internal/storage/mock/rollup.go +++ b/internal/storage/mock/rollup.go @@ -15,8 +15,8 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" - types "github.com/aopoltorzhicky/astria/pkg/types" + storage "github.com/celenium-io/astria-indexer/internal/storage" + types "github.com/celenium-io/astria-indexer/pkg/types" storage0 "github.com/dipdup-net/indexer-sdk/pkg/storage" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/state.go b/internal/storage/mock/state.go index 3aa6276..21be0f8 100644 --- a/internal/storage/mock/state.go +++ b/internal/storage/mock/state.go @@ -15,7 +15,7 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" + storage "github.com/celenium-io/astria-indexer/internal/storage" storage0 "github.com/dipdup-net/indexer-sdk/pkg/storage" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/stats.go b/internal/storage/mock/stats.go index 1eb6e9c..25272e7 100644 --- a/internal/storage/mock/stats.go +++ b/internal/storage/mock/stats.go @@ -15,7 +15,7 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" + storage "github.com/celenium-io/astria-indexer/internal/storage" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/tx.go b/internal/storage/mock/tx.go index b61a785..faf5d92 100644 --- a/internal/storage/mock/tx.go +++ b/internal/storage/mock/tx.go @@ -15,8 +15,8 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" - types "github.com/aopoltorzhicky/astria/pkg/types" + storage "github.com/celenium-io/astria-indexer/internal/storage" + types "github.com/celenium-io/astria-indexer/pkg/types" storage0 "github.com/dipdup-net/indexer-sdk/pkg/storage" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/mock/validator.go b/internal/storage/mock/validator.go index d9a2b98..4b13c68 100644 --- a/internal/storage/mock/validator.go +++ b/internal/storage/mock/validator.go @@ -15,7 +15,7 @@ import ( context "context" reflect "reflect" - storage "github.com/aopoltorzhicky/astria/internal/storage" + storage "github.com/celenium-io/astria-indexer/internal/storage" storage0 "github.com/dipdup-net/indexer-sdk/pkg/storage" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/storage/postgres/action.go b/internal/storage/postgres/action.go index badc251..78923db 100644 --- a/internal/storage/postgres/action.go +++ b/internal/storage/postgres/action.go @@ -6,8 +6,8 @@ package postgres import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/go-lib/database" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/dipdup-net/indexer-sdk/pkg/storage/postgres" diff --git a/internal/storage/postgres/action_test.go b/internal/storage/postgres/action_test.go index 82696f0..a0aa53c 100644 --- a/internal/storage/postgres/action_test.go +++ b/internal/storage/postgres/action_test.go @@ -7,8 +7,8 @@ import ( "context" "time" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/types" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" ) diff --git a/internal/storage/postgres/address.go b/internal/storage/postgres/address.go index 3c802ac..5dc0f4f 100644 --- a/internal/storage/postgres/address.go +++ b/internal/storage/postgres/address.go @@ -6,7 +6,7 @@ package postgres import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/dipdup-net/go-lib/database" "github.com/dipdup-net/indexer-sdk/pkg/storage/postgres" ) diff --git a/internal/storage/postgres/address_test.go b/internal/storage/postgres/address_test.go index 62c1484..fd1a474 100644 --- a/internal/storage/postgres/address_test.go +++ b/internal/storage/postgres/address_test.go @@ -8,7 +8,7 @@ import ( "encoding/hex" "time" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" ) diff --git a/internal/storage/postgres/block.go b/internal/storage/postgres/block.go index 2d87b4f..de081a0 100644 --- a/internal/storage/postgres/block.go +++ b/internal/storage/postgres/block.go @@ -6,8 +6,8 @@ package postgres import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/go-lib/database" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/dipdup-net/indexer-sdk/pkg/storage/postgres" diff --git a/internal/storage/postgres/block_signature.go b/internal/storage/postgres/block_signature.go index e3943f9..fd854ff 100644 --- a/internal/storage/postgres/block_signature.go +++ b/internal/storage/postgres/block_signature.go @@ -6,8 +6,8 @@ package postgres import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/go-lib/database" "github.com/dipdup-net/indexer-sdk/pkg/storage/postgres" ) diff --git a/internal/storage/postgres/block_signature_test.go b/internal/storage/postgres/block_signature_test.go index 0aff238..e9c66f4 100644 --- a/internal/storage/postgres/block_signature_test.go +++ b/internal/storage/postgres/block_signature_test.go @@ -7,7 +7,7 @@ import ( "context" "time" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" ) func (s *StorageTestSuite) TestBlockSignatureLevels() { diff --git a/internal/storage/postgres/block_stats.go b/internal/storage/postgres/block_stats.go index 5989924..78ffbea 100644 --- a/internal/storage/postgres/block_stats.go +++ b/internal/storage/postgres/block_stats.go @@ -6,8 +6,8 @@ package postgres import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/go-lib/database" ) diff --git a/internal/storage/postgres/constant.go b/internal/storage/postgres/constant.go index 66a4755..00fe8ba 100644 --- a/internal/storage/postgres/constant.go +++ b/internal/storage/postgres/constant.go @@ -8,8 +8,8 @@ import ( "database/sql" "errors" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/types" "github.com/dipdup-net/go-lib/database" ) diff --git a/internal/storage/postgres/core.go b/internal/storage/postgres/core.go index 22bb7bd..c6b700d 100644 --- a/internal/storage/postgres/core.go +++ b/internal/storage/postgres/core.go @@ -6,7 +6,7 @@ package postgres import ( "context" - models "github.com/aopoltorzhicky/astria/internal/storage" + models "github.com/celenium-io/astria-indexer/internal/storage" "github.com/dipdup-net/go-lib/config" "github.com/dipdup-net/go-lib/database" "github.com/dipdup-net/indexer-sdk/pkg/storage" diff --git a/internal/storage/postgres/custom_types.go b/internal/storage/postgres/custom_types.go index 40c6f0d..73ed94e 100644 --- a/internal/storage/postgres/custom_types.go +++ b/internal/storage/postgres/custom_types.go @@ -7,7 +7,7 @@ import ( "context" "database/sql" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/internal/storage/types" "github.com/dipdup-net/go-lib/database" "github.com/rs/zerolog/log" "github.com/uptrace/bun" diff --git a/internal/storage/postgres/index.go b/internal/storage/postgres/index.go index def5a82..1e0eece 100644 --- a/internal/storage/postgres/index.go +++ b/internal/storage/postgres/index.go @@ -7,7 +7,7 @@ import ( "context" "database/sql" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/dipdup-net/go-lib/database" "github.com/rs/zerolog/log" "github.com/uptrace/bun" diff --git a/internal/storage/postgres/rollup.go b/internal/storage/postgres/rollup.go index 8efb238..eb367f0 100644 --- a/internal/storage/postgres/rollup.go +++ b/internal/storage/postgres/rollup.go @@ -6,8 +6,8 @@ package postgres import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/go-lib/database" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/dipdup-net/indexer-sdk/pkg/storage/postgres" diff --git a/internal/storage/postgres/scopes.go b/internal/storage/postgres/scopes.go index d2d8d28..be886b8 100644 --- a/internal/storage/postgres/scopes.go +++ b/internal/storage/postgres/scopes.go @@ -4,7 +4,7 @@ package postgres import ( - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/uptrace/bun" ) diff --git a/internal/storage/postgres/search.go b/internal/storage/postgres/search.go index 9ac7410..23344d4 100644 --- a/internal/storage/postgres/search.go +++ b/internal/storage/postgres/search.go @@ -7,7 +7,7 @@ import ( "context" "strings" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/dipdup-net/go-lib/database" ) diff --git a/internal/storage/postgres/state.go b/internal/storage/postgres/state.go index 2f3dfe1..16572a5 100644 --- a/internal/storage/postgres/state.go +++ b/internal/storage/postgres/state.go @@ -6,7 +6,7 @@ package postgres import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/dipdup-net/go-lib/database" "github.com/dipdup-net/indexer-sdk/pkg/storage/postgres" ) diff --git a/internal/storage/postgres/stats.go b/internal/storage/postgres/stats.go index 08e74b2..cd7ee54 100644 --- a/internal/storage/postgres/stats.go +++ b/internal/storage/postgres/stats.go @@ -6,7 +6,7 @@ package postgres import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/dipdup-net/go-lib/database" "github.com/pkg/errors" ) diff --git a/internal/storage/postgres/stats_test.go b/internal/storage/postgres/stats_test.go index eb6436a..d864eab 100644 --- a/internal/storage/postgres/stats_test.go +++ b/internal/storage/postgres/stats_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/dipdup-net/go-lib/config" "github.com/dipdup-net/go-lib/database" "github.com/go-testfixtures/testfixtures/v3" diff --git a/internal/storage/postgres/transaction.go b/internal/storage/postgres/transaction.go index 9201523..0ac38bf 100644 --- a/internal/storage/postgres/transaction.go +++ b/internal/storage/postgres/transaction.go @@ -6,10 +6,10 @@ package postgres import ( "context" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/uptrace/bun" - models "github.com/aopoltorzhicky/astria/internal/storage" + models "github.com/celenium-io/astria-indexer/internal/storage" "github.com/dipdup-net/indexer-sdk/pkg/storage" ) diff --git a/internal/storage/postgres/transaction_test.go b/internal/storage/postgres/transaction_test.go index e486800..804bc17 100644 --- a/internal/storage/postgres/transaction_test.go +++ b/internal/storage/postgres/transaction_test.go @@ -12,11 +12,11 @@ import ( "testing" "time" - "github.com/aopoltorzhicky/astria/internal/currency" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/types" - testsuite "github.com/aopoltorzhicky/astria/internal/test_suite" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/currency" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/types" + testsuite "github.com/celenium-io/astria-indexer/internal/test_suite" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/go-lib/config" "github.com/dipdup-net/go-lib/database" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" diff --git a/internal/storage/postgres/tx.go b/internal/storage/postgres/tx.go index fb1f6eb..5f23b60 100644 --- a/internal/storage/postgres/tx.go +++ b/internal/storage/postgres/tx.go @@ -6,8 +6,8 @@ package postgres import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/go-lib/database" "github.com/dipdup-net/indexer-sdk/pkg/storage/postgres" ) diff --git a/internal/storage/postgres/tx_test.go b/internal/storage/postgres/tx_test.go index d530e5c..278acd3 100644 --- a/internal/storage/postgres/tx_test.go +++ b/internal/storage/postgres/tx_test.go @@ -8,8 +8,8 @@ import ( "encoding/hex" "time" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/types" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" ) diff --git a/internal/storage/postgres/validator.go b/internal/storage/postgres/validator.go index f22a883..ee462dd 100644 --- a/internal/storage/postgres/validator.go +++ b/internal/storage/postgres/validator.go @@ -4,7 +4,7 @@ package postgres import ( - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/dipdup-net/go-lib/database" "github.com/dipdup-net/indexer-sdk/pkg/storage/postgres" ) diff --git a/internal/storage/rollup.go b/internal/storage/rollup.go index 02e3ed6..b7b750b 100644 --- a/internal/storage/rollup.go +++ b/internal/storage/rollup.go @@ -7,7 +7,7 @@ import ( "context" "encoding/hex" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/indexer-sdk/pkg/storage" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/uptrace/bun" diff --git a/internal/storage/rollup_action.go b/internal/storage/rollup_action.go index 4e1c4f4..019fea2 100644 --- a/internal/storage/rollup_action.go +++ b/internal/storage/rollup_action.go @@ -6,7 +6,7 @@ package storage import ( "time" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/uptrace/bun" ) diff --git a/internal/storage/rollup_address.go b/internal/storage/rollup_address.go index 69f97a1..3bc86a3 100644 --- a/internal/storage/rollup_address.go +++ b/internal/storage/rollup_address.go @@ -6,7 +6,7 @@ package storage import ( "fmt" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/uptrace/bun" ) diff --git a/internal/storage/state.go b/internal/storage/state.go index 1359dbb..a2c1345 100644 --- a/internal/storage/state.go +++ b/internal/storage/state.go @@ -7,7 +7,7 @@ import ( "context" "time" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/shopspring/decimal" diff --git a/internal/storage/tx.go b/internal/storage/tx.go index 5c8fa26..82454e6 100644 --- a/internal/storage/tx.go +++ b/internal/storage/tx.go @@ -7,9 +7,9 @@ import ( "context" "time" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/internal/storage/types" "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/uptrace/bun" ) diff --git a/internal/storage/validator.go b/internal/storage/validator.go index 281d0f7..5d844d6 100644 --- a/internal/storage/validator.go +++ b/internal/storage/validator.go @@ -4,7 +4,7 @@ package storage import ( - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/shopspring/decimal" diff --git a/internal/test_suite/block.go b/internal/test_suite/block.go index 00817df..de69755 100644 --- a/internal/test_suite/block.go +++ b/internal/test_suite/block.go @@ -7,7 +7,7 @@ import ( "encoding/base64" "time" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" tmTypes "github.com/cometbft/cometbft/types" ) diff --git a/pkg/indexer/config/config.go b/pkg/indexer/config/config.go index 716b4a3..27d2c99 100644 --- a/pkg/indexer/config/config.go +++ b/pkg/indexer/config/config.go @@ -4,7 +4,7 @@ package config import ( - "github.com/aopoltorzhicky/astria/internal/profiler" + "github.com/celenium-io/astria-indexer/internal/profiler" "github.com/dipdup-net/go-lib/config" ) diff --git a/pkg/indexer/decode/actions.go b/pkg/indexer/decode/actions.go index 42fc118..8df9500 100644 --- a/pkg/indexer/decode/actions.go +++ b/pkg/indexer/decode/actions.go @@ -10,9 +10,9 @@ import ( "time" astria "buf.build/gen/go/astria/astria/protocolbuffers/go/astria/sequencer/v1alpha1" - "github.com/aopoltorzhicky/astria/internal/storage" - storageTypes "github.com/aopoltorzhicky/astria/internal/storage/types" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + storageTypes "github.com/celenium-io/astria-indexer/internal/storage/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/cometbft/cometbft/libs/bytes" "github.com/pkg/errors" "github.com/shopspring/decimal" diff --git a/pkg/indexer/decode/actions_test.go b/pkg/indexer/decode/actions_test.go index 3e82080..1764a41 100644 --- a/pkg/indexer/decode/actions_test.go +++ b/pkg/indexer/decode/actions_test.go @@ -12,10 +12,10 @@ import ( "buf.build/gen/go/cosmos/cosmos-sdk/protocolbuffers/go/tendermint/abci" "buf.build/gen/go/cosmos/cosmos-sdk/protocolbuffers/go/tendermint/crypto" ibcv1alpha1 "buf.build/gen/go/penumbra-zone/penumbra/protocolbuffers/go/penumbra/core/component/ibc/v1alpha1" - "github.com/aopoltorzhicky/astria/internal/currency" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/types" - testsuite "github.com/aopoltorzhicky/astria/internal/test_suite" + "github.com/celenium-io/astria-indexer/internal/currency" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/types" + testsuite "github.com/celenium-io/astria-indexer/internal/test_suite" "github.com/shopspring/decimal" "github.com/stretchr/testify/require" "google.golang.org/protobuf/types/known/anypb" diff --git a/pkg/indexer/decode/address.go b/pkg/indexer/decode/address.go index 7467f1f..133969c 100644 --- a/pkg/indexer/decode/address.go +++ b/pkg/indexer/decode/address.go @@ -4,9 +4,9 @@ package decode import ( - "github.com/aopoltorzhicky/astria/internal/currency" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/currency" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/cometbft/cometbft/libs/bytes" "github.com/shopspring/decimal" ) diff --git a/pkg/indexer/decode/rollups.go b/pkg/indexer/decode/rollups.go index de29dd0..7ca8708 100644 --- a/pkg/indexer/decode/rollups.go +++ b/pkg/indexer/decode/rollups.go @@ -6,8 +6,8 @@ package decode import ( "encoding/hex" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" ) type Rollups map[string]*storage.Rollup diff --git a/pkg/indexer/decode/tx.go b/pkg/indexer/decode/tx.go index 3f36660..9f1cfad 100644 --- a/pkg/indexer/decode/tx.go +++ b/pkg/indexer/decode/tx.go @@ -5,9 +5,9 @@ package decode import ( astria "buf.build/gen/go/astria/astria/protocolbuffers/go/astria/sequencer/v1alpha1" - "github.com/aopoltorzhicky/astria/internal/storage" - storageTypes "github.com/aopoltorzhicky/astria/internal/storage/types" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + storageTypes "github.com/celenium-io/astria-indexer/internal/storage/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/pkg/errors" "github.com/shopspring/decimal" "google.golang.org/protobuf/proto" diff --git a/pkg/indexer/genesis/constant.go b/pkg/indexer/genesis/constant.go index e060c31..19f4385 100644 --- a/pkg/indexer/genesis/constant.go +++ b/pkg/indexer/genesis/constant.go @@ -7,10 +7,10 @@ import ( "strconv" "strings" - "github.com/aopoltorzhicky/astria/internal/storage" - storageTypes "github.com/aopoltorzhicky/astria/internal/storage/types" - nodeTypes "github.com/aopoltorzhicky/astria/pkg/node/types" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + storageTypes "github.com/celenium-io/astria-indexer/internal/storage/types" + nodeTypes "github.com/celenium-io/astria-indexer/pkg/node/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" ) func (module *Module) parseConstants(appState nodeTypes.AppState, consensus pkgTypes.ConsensusParams, data *parsedData) { diff --git a/pkg/indexer/genesis/genesis.go b/pkg/indexer/genesis/genesis.go index 1e445b6..cb197e9 100644 --- a/pkg/indexer/genesis/genesis.go +++ b/pkg/indexer/genesis/genesis.go @@ -6,9 +6,9 @@ package genesis import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage/postgres" - "github.com/aopoltorzhicky/astria/pkg/indexer/config" - "github.com/aopoltorzhicky/astria/pkg/node/types" + "github.com/celenium-io/astria-indexer/internal/storage/postgres" + "github.com/celenium-io/astria-indexer/pkg/indexer/config" + "github.com/celenium-io/astria-indexer/pkg/node/types" "github.com/dipdup-net/indexer-sdk/pkg/modules" ) diff --git a/pkg/indexer/genesis/genesis_test.go b/pkg/indexer/genesis/genesis_test.go index 2cff6cb..0f2503e 100644 --- a/pkg/indexer/genesis/genesis_test.go +++ b/pkg/indexer/genesis/genesis_test.go @@ -7,10 +7,10 @@ import ( "os" "testing" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/postgres" - "github.com/aopoltorzhicky/astria/pkg/indexer/config" - "github.com/aopoltorzhicky/astria/pkg/node/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/postgres" + "github.com/celenium-io/astria-indexer/pkg/indexer/config" + "github.com/celenium-io/astria-indexer/pkg/node/types" "github.com/goccy/go-json" "github.com/shopspring/decimal" "github.com/stretchr/testify/require" diff --git a/pkg/indexer/genesis/parse.go b/pkg/indexer/genesis/parse.go index c7ab1a7..8a72b9c 100644 --- a/pkg/indexer/genesis/parse.go +++ b/pkg/indexer/genesis/parse.go @@ -4,10 +4,10 @@ package genesis import ( - "github.com/aopoltorzhicky/astria/internal/currency" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/node/types" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/currency" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/node/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" "github.com/pkg/errors" "github.com/shopspring/decimal" ) diff --git a/pkg/indexer/genesis/save.go b/pkg/indexer/genesis/save.go index 3621ec8..cffd2bd 100644 --- a/pkg/indexer/genesis/save.go +++ b/pkg/indexer/genesis/save.go @@ -7,8 +7,8 @@ import ( "context" "time" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/postgres" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/postgres" ) func (module *Module) save(ctx context.Context, data parsedData) error { diff --git a/pkg/indexer/indexer.go b/pkg/indexer/indexer.go index 70247c9..8f5fb43 100644 --- a/pkg/indexer/indexer.go +++ b/pkg/indexer/indexer.go @@ -11,18 +11,18 @@ import ( "github.com/dipdup-net/indexer-sdk/pkg/modules" - internalStorage "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/indexer/genesis" - "github.com/aopoltorzhicky/astria/pkg/indexer/parser" - "github.com/aopoltorzhicky/astria/pkg/indexer/rollback" - "github.com/aopoltorzhicky/astria/pkg/indexer/storage" - "github.com/aopoltorzhicky/astria/pkg/node" - "github.com/aopoltorzhicky/astria/pkg/node/rpc" + internalStorage "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/indexer/genesis" + "github.com/celenium-io/astria-indexer/pkg/indexer/parser" + "github.com/celenium-io/astria-indexer/pkg/indexer/rollback" + "github.com/celenium-io/astria-indexer/pkg/indexer/storage" + "github.com/celenium-io/astria-indexer/pkg/node" + "github.com/celenium-io/astria-indexer/pkg/node/rpc" "github.com/pkg/errors" - "github.com/aopoltorzhicky/astria/internal/storage/postgres" - "github.com/aopoltorzhicky/astria/pkg/indexer/config" - "github.com/aopoltorzhicky/astria/pkg/indexer/receiver" + "github.com/celenium-io/astria-indexer/internal/storage/postgres" + "github.com/celenium-io/astria-indexer/pkg/indexer/config" + "github.com/celenium-io/astria-indexer/pkg/indexer/receiver" "github.com/rs/zerolog" "github.com/rs/zerolog/log" ) diff --git a/pkg/indexer/parser/listen.go b/pkg/indexer/parser/listen.go index f612375..1dc8235 100644 --- a/pkg/indexer/parser/listen.go +++ b/pkg/indexer/parser/listen.go @@ -6,7 +6,7 @@ package parser import ( "context" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" ) func (p *Module) listen(ctx context.Context) { diff --git a/pkg/indexer/parser/parse.go b/pkg/indexer/parser/parse.go index cefe3b4..12a27cf 100644 --- a/pkg/indexer/parser/parse.go +++ b/pkg/indexer/parser/parse.go @@ -9,9 +9,9 @@ import ( "strings" "time" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/indexer/decode" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/indexer/decode" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/pkg/errors" "github.com/shopspring/decimal" ) diff --git a/pkg/indexer/parser/parseTxs.go b/pkg/indexer/parser/parseTxs.go index 5a988be..68775ab 100644 --- a/pkg/indexer/parser/parseTxs.go +++ b/pkg/indexer/parser/parseTxs.go @@ -4,10 +4,10 @@ package parser import ( - "github.com/aopoltorzhicky/astria/internal/storage" - storageTypes "github.com/aopoltorzhicky/astria/internal/storage/types" - "github.com/aopoltorzhicky/astria/pkg/indexer/decode" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + storageTypes "github.com/celenium-io/astria-indexer/internal/storage/types" + "github.com/celenium-io/astria-indexer/pkg/indexer/decode" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/pkg/errors" ) diff --git a/pkg/indexer/parser/parseTxs_test.go b/pkg/indexer/parser/parseTxs_test.go index 98cc95b..2ad4b0a 100644 --- a/pkg/indexer/parser/parseTxs_test.go +++ b/pkg/indexer/parser/parseTxs_test.go @@ -6,10 +6,10 @@ package parser import ( "testing" - storageTypes "github.com/aopoltorzhicky/astria/internal/storage/types" - testsuite "github.com/aopoltorzhicky/astria/internal/test_suite" - "github.com/aopoltorzhicky/astria/pkg/indexer/decode" - "github.com/aopoltorzhicky/astria/pkg/types" + storageTypes "github.com/celenium-io/astria-indexer/internal/storage/types" + testsuite "github.com/celenium-io/astria-indexer/internal/test_suite" + "github.com/celenium-io/astria-indexer/pkg/indexer/decode" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/stretchr/testify/assert" ) diff --git a/pkg/indexer/parser/parser_test.go b/pkg/indexer/parser/parser_test.go index dae4209..04e6e43 100644 --- a/pkg/indexer/parser/parser_test.go +++ b/pkg/indexer/parser/parser_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" cometTypes "github.com/cometbft/cometbft/types" "github.com/dipdup-net/indexer-sdk/pkg/modules" "github.com/shopspring/decimal" diff --git a/pkg/indexer/receiver/receiver.go b/pkg/indexer/receiver/receiver.go index 261e832..8a6b1f1 100644 --- a/pkg/indexer/receiver/receiver.go +++ b/pkg/indexer/receiver/receiver.go @@ -7,10 +7,10 @@ import ( "context" "sync" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/indexer/config" - "github.com/aopoltorzhicky/astria/pkg/node" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/indexer/config" + "github.com/celenium-io/astria-indexer/pkg/node" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-io/workerpool" "github.com/dipdup-net/indexer-sdk/pkg/modules" sdkSync "github.com/dipdup-net/indexer-sdk/pkg/sync" diff --git a/pkg/indexer/receiver/receiver_test.go b/pkg/indexer/receiver/receiver_test.go index 89349b5..d1ac7e8 100644 --- a/pkg/indexer/receiver/receiver_test.go +++ b/pkg/indexer/receiver/receiver_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" - "github.com/aopoltorzhicky/astria/internal/storage" - ic "github.com/aopoltorzhicky/astria/pkg/indexer/config" - "github.com/aopoltorzhicky/astria/pkg/node/mock" - nodeTypes "github.com/aopoltorzhicky/astria/pkg/node/types" + "github.com/celenium-io/astria-indexer/internal/storage" + ic "github.com/celenium-io/astria-indexer/pkg/indexer/config" + "github.com/celenium-io/astria-indexer/pkg/node/mock" + nodeTypes "github.com/celenium-io/astria-indexer/pkg/node/types" "github.com/dipdup-net/indexer-sdk/pkg/modules/stopper" "go.uber.org/mock/gomock" diff --git a/pkg/indexer/receiver/sequencer.go b/pkg/indexer/receiver/sequencer.go index c65473e..ed8fdb6 100644 --- a/pkg/indexer/receiver/sequencer.go +++ b/pkg/indexer/receiver/sequencer.go @@ -8,7 +8,7 @@ import ( "context" "encoding/hex" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" ) func (r *Module) sequencer(ctx context.Context) { diff --git a/pkg/indexer/receiver/sequencer_test.go b/pkg/indexer/receiver/sequencer_test.go index 457cce7..3e0bd17 100644 --- a/pkg/indexer/receiver/sequencer_test.go +++ b/pkg/indexer/receiver/sequencer_test.go @@ -10,8 +10,8 @@ import ( "testing" "time" - // "github.com/aopoltorzhicky/astria/pkg/indexer/rollback" - "github.com/aopoltorzhicky/astria/pkg/types" + // "github.com/celenium-io/astria-indexer/pkg/indexer/rollback" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/indexer-sdk/pkg/modules" "github.com/dipdup-net/indexer-sdk/pkg/modules/stopper" "github.com/stretchr/testify/assert" diff --git a/pkg/indexer/receiver/sync.go b/pkg/indexer/receiver/sync.go index cd083ea..5e4fc37 100644 --- a/pkg/indexer/receiver/sync.go +++ b/pkg/indexer/receiver/sync.go @@ -7,7 +7,7 @@ import ( "context" "time" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/pkg/errors" ) diff --git a/pkg/indexer/receiver/sync_test.go b/pkg/indexer/receiver/sync_test.go index c11840e..7eca1bc 100644 --- a/pkg/indexer/receiver/sync_test.go +++ b/pkg/indexer/receiver/sync_test.go @@ -8,9 +8,9 @@ import ( "sort" "time" - ic "github.com/aopoltorzhicky/astria/pkg/indexer/config" - nodeTypes "github.com/aopoltorzhicky/astria/pkg/node/types" - "github.com/aopoltorzhicky/astria/pkg/types" + ic "github.com/celenium-io/astria-indexer/pkg/indexer/config" + nodeTypes "github.com/celenium-io/astria-indexer/pkg/node/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/dipdup-net/indexer-sdk/pkg/modules/stopper" "github.com/pkg/errors" "go.uber.org/mock/gomock" diff --git a/pkg/indexer/receiver/worker.go b/pkg/indexer/receiver/worker.go index e49f40b..7308ae4 100644 --- a/pkg/indexer/receiver/worker.go +++ b/pkg/indexer/receiver/worker.go @@ -7,7 +7,7 @@ import ( "context" "time" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/pkg/errors" ) diff --git a/pkg/indexer/rollback/address.go b/pkg/indexer/rollback/address.go index 3554e9b..f65fb07 100644 --- a/pkg/indexer/rollback/address.go +++ b/pkg/indexer/rollback/address.go @@ -6,8 +6,8 @@ package rollback import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" ) func rollbackAddress( diff --git a/pkg/indexer/rollback/balances.go b/pkg/indexer/rollback/balances.go index 8c9fe8f..8ef9d33 100644 --- a/pkg/indexer/rollback/balances.go +++ b/pkg/indexer/rollback/balances.go @@ -6,8 +6,8 @@ package rollback import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" ) func rollbackBalances( diff --git a/pkg/indexer/rollback/rollback.go b/pkg/indexer/rollback/rollback.go index 1765e41..0f2a7bb 100644 --- a/pkg/indexer/rollback/rollback.go +++ b/pkg/indexer/rollback/rollback.go @@ -7,13 +7,13 @@ import ( "bytes" "context" - "github.com/aopoltorzhicky/astria/pkg/node" + "github.com/celenium-io/astria-indexer/pkg/node" - "github.com/aopoltorzhicky/astria/pkg/indexer/config" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/indexer/config" + "github.com/celenium-io/astria-indexer/pkg/types" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/postgres" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/postgres" "github.com/dipdup-net/indexer-sdk/pkg/modules" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" "github.com/pkg/errors" diff --git a/pkg/indexer/rollback/rollback_test.go b/pkg/indexer/rollback/rollback_test.go index e6cfe58..14edffe 100644 --- a/pkg/indexer/rollback/rollback_test.go +++ b/pkg/indexer/rollback/rollback_test.go @@ -8,12 +8,12 @@ import ( "testing" "time" - "github.com/aopoltorzhicky/astria/internal/currency" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/mock" - "github.com/aopoltorzhicky/astria/internal/storage/types" - testsuite "github.com/aopoltorzhicky/astria/internal/test_suite" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/currency" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/mock" + "github.com/celenium-io/astria-indexer/internal/storage/types" + testsuite "github.com/celenium-io/astria-indexer/internal/test_suite" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" "github.com/shopspring/decimal" "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" diff --git a/pkg/indexer/rollback/rollup.go b/pkg/indexer/rollback/rollup.go index df58177..f2e37ce 100644 --- a/pkg/indexer/rollback/rollup.go +++ b/pkg/indexer/rollback/rollup.go @@ -7,9 +7,9 @@ import ( "context" "encoding/base64" - "github.com/aopoltorzhicky/astria/internal/storage" - storageTypes "github.com/aopoltorzhicky/astria/internal/storage/types" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + storageTypes "github.com/celenium-io/astria-indexer/internal/storage/types" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/pkg/errors" ) diff --git a/pkg/indexer/rollback/rollup_test.go b/pkg/indexer/rollback/rollup_test.go index f4f3710..f94495c 100644 --- a/pkg/indexer/rollback/rollup_test.go +++ b/pkg/indexer/rollback/rollup_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/types" "github.com/stretchr/testify/require" ) diff --git a/pkg/indexer/storage/action.go b/pkg/indexer/storage/action.go index 80b56d9..4f71b1e 100644 --- a/pkg/indexer/storage/action.go +++ b/pkg/indexer/storage/action.go @@ -6,7 +6,7 @@ package storage import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" ) func saveAction( diff --git a/pkg/indexer/storage/address.go b/pkg/indexer/storage/address.go index 10fe3a6..1d6a20e 100644 --- a/pkg/indexer/storage/address.go +++ b/pkg/indexer/storage/address.go @@ -6,7 +6,7 @@ package storage import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" ) func saveAddresses( diff --git a/pkg/indexer/storage/address_test.go b/pkg/indexer/storage/address_test.go index e204415..7570229 100644 --- a/pkg/indexer/storage/address_test.go +++ b/pkg/indexer/storage/address_test.go @@ -7,9 +7,9 @@ import ( "context" "testing" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/mock" - testsuite "github.com/aopoltorzhicky/astria/internal/test_suite" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/mock" + testsuite "github.com/celenium-io/astria-indexer/internal/test_suite" "github.com/shopspring/decimal" "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" diff --git a/pkg/indexer/storage/block_signature.go b/pkg/indexer/storage/block_signature.go index ed9e6b2..3b0db40 100644 --- a/pkg/indexer/storage/block_signature.go +++ b/pkg/indexer/storage/block_signature.go @@ -6,8 +6,8 @@ package storage import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" "github.com/pkg/errors" ) diff --git a/pkg/indexer/storage/rollup.go b/pkg/indexer/storage/rollup.go index 283c5a1..7f419b9 100644 --- a/pkg/indexer/storage/rollup.go +++ b/pkg/indexer/storage/rollup.go @@ -6,7 +6,7 @@ package storage import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" ) func (module *Module) saveRollup( diff --git a/pkg/indexer/storage/state.go b/pkg/indexer/storage/state.go index cc15f02..c66133f 100644 --- a/pkg/indexer/storage/state.go +++ b/pkg/indexer/storage/state.go @@ -4,8 +4,8 @@ package storage import ( - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/pkg/types" ) func updateState(block *storage.Block, totalAccounts, totalRollups int64, state *storage.State) { diff --git a/pkg/indexer/storage/state_test.go b/pkg/indexer/storage/state_test.go index e1e54f4..b57256d 100644 --- a/pkg/indexer/storage/state_test.go +++ b/pkg/indexer/storage/state_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/shopspring/decimal" ) diff --git a/pkg/indexer/storage/storage.go b/pkg/indexer/storage/storage.go index 27c2194..e74530b 100644 --- a/pkg/indexer/storage/storage.go +++ b/pkg/indexer/storage/storage.go @@ -9,11 +9,11 @@ import ( "strconv" "time" - "github.com/aopoltorzhicky/astria/pkg/indexer/config" + "github.com/celenium-io/astria-indexer/pkg/indexer/config" "github.com/pkg/errors" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/postgres" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/postgres" "github.com/dipdup-net/indexer-sdk/pkg/modules" sdk "github.com/dipdup-net/indexer-sdk/pkg/storage" ) diff --git a/pkg/indexer/storage/storage_test.go b/pkg/indexer/storage/storage_test.go index eca556c..4a7c8b0 100644 --- a/pkg/indexer/storage/storage_test.go +++ b/pkg/indexer/storage/storage_test.go @@ -10,9 +10,9 @@ import ( "testing" "time" - "github.com/aopoltorzhicky/astria/internal/storage" - "github.com/aopoltorzhicky/astria/internal/storage/postgres" - indexerCfg "github.com/aopoltorzhicky/astria/pkg/indexer/config" + "github.com/celenium-io/astria-indexer/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage/postgres" + indexerCfg "github.com/celenium-io/astria-indexer/pkg/indexer/config" "github.com/dipdup-net/go-lib/config" "github.com/dipdup-net/go-lib/database" "github.com/go-testfixtures/testfixtures/v3" diff --git a/pkg/indexer/storage/tx.go b/pkg/indexer/storage/tx.go index 4b498d7..c07917e 100644 --- a/pkg/indexer/storage/tx.go +++ b/pkg/indexer/storage/tx.go @@ -6,7 +6,7 @@ package storage import ( "context" - "github.com/aopoltorzhicky/astria/internal/storage" + "github.com/celenium-io/astria-indexer/internal/storage" "github.com/pkg/errors" ) diff --git a/pkg/node/api.go b/pkg/node/api.go index 03e2546..42d2084 100644 --- a/pkg/node/api.go +++ b/pkg/node/api.go @@ -6,9 +6,9 @@ package node import ( "context" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" - "github.com/aopoltorzhicky/astria/pkg/node/types" + "github.com/celenium-io/astria-indexer/pkg/node/types" ) //go:generate mockgen -source=$GOFILE -destination=mock/$GOFILE -package=mock -typed diff --git a/pkg/node/mock/api.go b/pkg/node/mock/api.go index 86a615e..2ac0b6e 100644 --- a/pkg/node/mock/api.go +++ b/pkg/node/mock/api.go @@ -15,8 +15,8 @@ import ( context "context" reflect "reflect" - types "github.com/aopoltorzhicky/astria/pkg/node/types" - types0 "github.com/aopoltorzhicky/astria/pkg/types" + types "github.com/celenium-io/astria-indexer/pkg/node/types" + types0 "github.com/celenium-io/astria-indexer/pkg/types" gomock "go.uber.org/mock/gomock" ) diff --git a/pkg/node/rpc/api.go b/pkg/node/rpc/api.go index 6b00edb..5829c14 100644 --- a/pkg/node/rpc/api.go +++ b/pkg/node/rpc/api.go @@ -11,7 +11,7 @@ import ( "net/url" "time" - "github.com/aopoltorzhicky/astria/pkg/node/types" + "github.com/celenium-io/astria-indexer/pkg/node/types" jsoniter "github.com/json-iterator/go" "github.com/pkg/errors" diff --git a/pkg/node/rpc/block.go b/pkg/node/rpc/block.go index be587d0..7ed5f7f 100644 --- a/pkg/node/rpc/block.go +++ b/pkg/node/rpc/block.go @@ -7,9 +7,9 @@ import ( "context" "strconv" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" - "github.com/aopoltorzhicky/astria/pkg/node/types" + "github.com/celenium-io/astria-indexer/pkg/node/types" "github.com/pkg/errors" ) diff --git a/pkg/node/rpc/genesis.go b/pkg/node/rpc/genesis.go index fa2afd7..2047e5c 100644 --- a/pkg/node/rpc/genesis.go +++ b/pkg/node/rpc/genesis.go @@ -7,7 +7,7 @@ import ( "context" "strconv" - "github.com/aopoltorzhicky/astria/pkg/node/types" + "github.com/celenium-io/astria-indexer/pkg/node/types" "github.com/pkg/errors" ) diff --git a/pkg/node/rpc/getBlockResults.go b/pkg/node/rpc/getBlockResults.go index 3eb52eb..2f75922 100644 --- a/pkg/node/rpc/getBlockResults.go +++ b/pkg/node/rpc/getBlockResults.go @@ -7,9 +7,9 @@ import ( "context" "strconv" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" - "github.com/aopoltorzhicky/astria/pkg/node/types" + "github.com/celenium-io/astria-indexer/pkg/node/types" "github.com/pkg/errors" ) diff --git a/pkg/node/rpc/head.go b/pkg/node/rpc/head.go index 8388fad..0ffc757 100644 --- a/pkg/node/rpc/head.go +++ b/pkg/node/rpc/head.go @@ -6,7 +6,7 @@ package rpc import ( "context" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" ) func (api *API) Head(ctx context.Context) (types.ResultBlock, error) { diff --git a/pkg/node/rpc/status.go b/pkg/node/rpc/status.go index 750b72e..cdf785b 100644 --- a/pkg/node/rpc/status.go +++ b/pkg/node/rpc/status.go @@ -6,7 +6,7 @@ package rpc import ( "context" - "github.com/aopoltorzhicky/astria/pkg/node/types" + "github.com/celenium-io/astria-indexer/pkg/node/types" "github.com/pkg/errors" ) diff --git a/pkg/node/types/genesis.go b/pkg/node/types/genesis.go index ae4490f..cb7a7a3 100644 --- a/pkg/node/types/genesis.go +++ b/pkg/node/types/genesis.go @@ -7,7 +7,7 @@ import ( "encoding/json" "time" - "github.com/aopoltorzhicky/astria/pkg/types" + "github.com/celenium-io/astria-indexer/pkg/types" ) type Genesis struct { diff --git a/pkg/node/types/status.go b/pkg/node/types/status.go index 9ae69a3..9005fe1 100644 --- a/pkg/node/types/status.go +++ b/pkg/node/types/status.go @@ -6,7 +6,7 @@ package types import ( "time" - pkgTypes "github.com/aopoltorzhicky/astria/pkg/types" + pkgTypes "github.com/celenium-io/astria-indexer/pkg/types" ) type Status struct {