Skip to content

Commit

Permalink
Renamed image and repo. (#33)
Browse files Browse the repository at this point in the history
* Renamed image and repo.

* Renamed image and repo.

* feat: "finding-forwarder" to "onchain-mon"

---------

Co-authored-by: Sergey Wh1te <[email protected]>
  • Loading branch information
Vinnie161 and sergeyWh1te authored Oct 9, 2024
1 parent 534ef25 commit ab94d0f
Show file tree
Hide file tree
Showing 28 changed files with 66 additions and 125 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- devel

env:
IMAGE_NAME: forta-finding-forwarder
IMAGE_NAME: onchain-mon
IMAGE_TAG: latest

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

env:
IMAGE_NAME: forta-finding-forwarder
IMAGE_NAME: onchain-mon
IMAGE_TAG: stable

jobs:
Expand Down
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 08.10.2024
1. Split up feeder, forwarder to independent bin applications
2. Added mechanism for using UniqueKey for collecting quorum
3. Renamed repo from "finding-forwarder" to "onchain-mon"

## 04.10.2024
1. Removed Forta integration.
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ COPY . .

RUN apk add git=2.45.2-r0

RUN go build -ldflags="-X github.com/lidofinance/finding-forwarder/internal/connectors/metrics.Commit=$(git rev-parse HEAD)" -o ./bin/feeder ./cmd/feeder
RUN go build -ldflags="-X github.com/lidofinance/finding-forwarder/internal/connectors/metrics.Commit=$(git rev-parse HEAD)" -o ./bin/forwarder ./cmd/forwarder
RUN go build -ldflags="-X github.com/lidofinance/onchain-mon/internal/connectors/metrics.Commit=$(git rev-parse HEAD)" -o ./bin/feeder ./cmd/feeder
RUN go build -ldflags="-X github.com/lidofinance/onchain-mon/internal/connectors/metrics.Commit=$(git rev-parse HEAD)" -o ./bin/forwarder ./cmd/forwarder

# Run stage
FROM alpine:3.20
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### GO tools
# Makefile
generate-docker:
docker build -t ff-monitoring -f Dockerfile .
docker build -t lidofinance/onchain-mon:stable -f Dockerfile .
.PHONY: generate-docker

.PHONY: tools
Expand All @@ -23,7 +23,7 @@ vet:
go vet ./cmd/... && go vet ./internal/...

imports:
bin/goimports -local github.com/lidofinance/finding-forwarder -w -d $(shell find . -type f -name '*.go'| grep -v "/vendor/\|/.git/\|/tools/")
bin/goimports -local github.com/lidofinance/onchain-mon -w -d $(shell find . -type f -name '*.go'| grep -v "/vendor/\|/.git/\|/tools/")

fix-lint:
bin/golangci-lint run --config=.golangci.yml --fix ./cmd... ./internal/...
Expand Down
12 changes: 6 additions & 6 deletions cmd/feeder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import (
"github.com/prometheus/client_golang/prometheus"
"golang.org/x/sync/errgroup"

"github.com/lidofinance/finding-forwarder/internal/app/feeder"
"github.com/lidofinance/finding-forwarder/internal/app/server"
"github.com/lidofinance/finding-forwarder/internal/connectors/logger"
"github.com/lidofinance/finding-forwarder/internal/connectors/metrics"
nc "github.com/lidofinance/finding-forwarder/internal/connectors/nats"
"github.com/lidofinance/finding-forwarder/internal/env"
"github.com/lidofinance/onchain-mon/internal/app/feeder"
"github.com/lidofinance/onchain-mon/internal/app/server"
"github.com/lidofinance/onchain-mon/internal/connectors/logger"
"github.com/lidofinance/onchain-mon/internal/connectors/metrics"
nc "github.com/lidofinance/onchain-mon/internal/connectors/nats"
"github.com/lidofinance/onchain-mon/internal/env"
)

func main() {
Expand Down
18 changes: 9 additions & 9 deletions cmd/forwarder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ import (
"github.com/prometheus/client_golang/prometheus"
"golang.org/x/sync/errgroup"

"github.com/lidofinance/finding-forwarder/internal/app/forwarder"
"github.com/lidofinance/finding-forwarder/internal/app/server"
"github.com/lidofinance/finding-forwarder/internal/connectors/logger"
"github.com/lidofinance/finding-forwarder/internal/connectors/metrics"
nc "github.com/lidofinance/finding-forwarder/internal/connectors/nats"
"github.com/lidofinance/finding-forwarder/internal/connectors/redis"
"github.com/lidofinance/finding-forwarder/internal/env"
"github.com/lidofinance/finding-forwarder/internal/utils/registry"
"github.com/lidofinance/finding-forwarder/internal/utils/registry/teams"
"github.com/lidofinance/onchain-mon/internal/app/forwarder"
"github.com/lidofinance/onchain-mon/internal/app/server"
"github.com/lidofinance/onchain-mon/internal/connectors/logger"
"github.com/lidofinance/onchain-mon/internal/connectors/metrics"
nc "github.com/lidofinance/onchain-mon/internal/connectors/nats"
"github.com/lidofinance/onchain-mon/internal/connectors/redis"
"github.com/lidofinance/onchain-mon/internal/env"
"github.com/lidofinance/onchain-mon/internal/utils/registry"
"github.com/lidofinance/onchain-mon/internal/utils/registry/teams"
)

const maxMsgSize = 3 * 1024 * 1024 // 3 Mb
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
- ./nats/nats.conf:/etc/nats/nats.conf

forwarder:
image: ff-monitoring
image: lidofinance/onchain-mon:stable
container_name: forwarder
build: ./
restart: always
Expand Down Expand Up @@ -59,7 +59,7 @@ services:
- nats

feeder:
image: ff-monitoring
image: lidofinance/onchain-mon:stable
container_name: feeder
build: ./
restart: always
Expand Down
18 changes: 0 additions & 18 deletions forta-local-config.yml

This file was deleted.

18 changes: 2 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
module github.com/lidofinance/finding-forwarder
module github.com/lidofinance/onchain-mon

go 1.23.1

require (
github.com/go-chi/chi/v5 v5.1.0
github.com/go-openapi/errors v0.22.0
github.com/go-openapi/strfmt v0.23.0
github.com/go-openapi/swag v0.23.0
github.com/go-openapi/validate v0.24.0
github.com/mailru/easyjson v0.7.7 // indirect
github.com/nats-io/nats.go v1.37.0
github.com/prometheus/client_golang v1.20.4
github.com/spf13/viper v1.19.0
Expand All @@ -21,29 +16,20 @@ require (
github.com/google/uuid v1.6.0
github.com/hashicorp/golang-lru/v2 v2.0.7
github.com/samber/slog-chi v1.11.1
google.golang.org/protobuf v1.34.2
)

require (
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-openapi/analysis v0.23.0 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/loads v0.22.0 // indirect
github.com/go-openapi/spec v0.21.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/nats-io/nkeys v0.4.7 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
github.com/oklog/ulid v1.3.1 // indirect
github.com/onsi/gomega v1.34.2 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
Expand All @@ -57,7 +43,6 @@ require (
github.com/spf13/cast v1.7.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
go.mongodb.org/mongo-driver v1.16.1 // indirect
go.opentelemetry.io/otel v1.29.0 // indirect
go.opentelemetry.io/otel/trace v1.29.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
Expand All @@ -66,6 +51,7 @@ require (
golang.org/x/net v0.29.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/text v0.18.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
28 changes: 0 additions & 28 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so=
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw=
github.com/avast/retry-go/v4 v4.6.0 h1:K9xNA+KeB8HHc2aWFuLb25Offp+0iVRXEvFx8IinRJA=
github.com/avast/retry-go/v4 v4.6.0/go.mod h1:gvWlPhBVsvBbLkVGDg/KwvBv0bEkCOLRRSHKIr2PyOE=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
Expand All @@ -17,24 +15,6 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw=
github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
github.com/go-openapi/analysis v0.23.0 h1:aGday7OWupfMs+LbmLZG4k0MYXIANxcuBTYUC03zFCU=
github.com/go-openapi/analysis v0.23.0/go.mod h1:9mz9ZWaSlV8TvjQHLl2mUW2PbZtemkE8yA5v22ohupo=
github.com/go-openapi/errors v0.22.0 h1:c4xY/OLxUBSTiepAg3j/MHuAv5mJhnf53LLMWFB+u/w=
github.com/go-openapi/errors v0.22.0/go.mod h1:J3DmZScxCDufmIMsdOuDHxJbdOGC0xtUynjIx092vXE=
github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ=
github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY=
github.com/go-openapi/jsonreference v0.21.0 h1:Rs+Y7hSXT83Jacb7kFyjn4ijOuVGSvOdF2+tg1TRrwQ=
github.com/go-openapi/jsonreference v0.21.0/go.mod h1:LmZmgsrTkVg9LG4EaHeY8cBDslNPMo06cago5JNLkm4=
github.com/go-openapi/loads v0.22.0 h1:ECPGd4jX1U6NApCGG1We+uEozOAvXvJSF4nnwHZ8Aco=
github.com/go-openapi/loads v0.22.0/go.mod h1:yLsaTCS92mnSAZX5WWoxszLj0u+Ojl+Zs5Stn1oF+rs=
github.com/go-openapi/spec v0.21.0 h1:LTVzPc3p/RzRnkQqLRndbAzjY0d0BCL72A6j3CdL9ZY=
github.com/go-openapi/spec v0.21.0/go.mod h1:78u6VdPw81XU44qEWGhtr982gJ5BWg2c0I5XwVMotYk=
github.com/go-openapi/strfmt v0.23.0 h1:nlUS6BCqcnAk0pyhi9Y+kdDVZdZMHfEKQiS4HaMgO/c=
github.com/go-openapi/strfmt v0.23.0/go.mod h1:NrtIpfKtWIygRkKVsxh7XQMDQW5HKQl6S5ik2elW+K4=
github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE=
github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ=
github.com/go-openapi/validate v0.24.0 h1:LdfDKwNbpB6Vn40xhTdNZAnfLECL81w+VX3BumrGD58=
github.com/go-openapi/validate v0.24.0/go.mod h1:iyeX1sEufmv3nPbBdX3ieNviWnOZaJ1+zquzJEf2BAQ=
github.com/go-redis/redis/v8 v8.11.5 h1:AcZZR7igkdvfVmQTPnu9WE37LRrO/YrBH5zWyjDC0oI=
github.com/go-redis/redis/v8 v8.11.5/go.mod h1:gREzHqY1hg6oD9ngVRbLStwAWKhA0FEgq8Jd4h5lpwo=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
Expand All @@ -45,8 +25,6 @@ github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs
github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
Expand All @@ -57,8 +35,6 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY=
github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
Expand All @@ -71,8 +47,6 @@ github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw=
github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c=
github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4=
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU=
github.com/onsi/gomega v1.34.2 h1:pNCwDkzrsv7MS9kpaQvVb1aVLahQXyJ/Tv5oAZMI3i8=
Expand Down Expand Up @@ -111,8 +85,6 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
go.mongodb.org/mongo-driver v1.16.1 h1:rIVLL3q0IHM39dvE+z2ulZLp9ENZKThVfuvN/IiN4l8=
go.mongodb.org/mongo-driver v1.16.1/go.mod h1:oB6AhJQvFQL4LEHyXi6aJzQJtBiTQHiAd83l0GdFaiw=
go.opentelemetry.io/otel v1.29.0 h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw=
go.opentelemetry.io/otel v1.29.0/go.mod h1:N/WtXPs1CNCUEx+Agz5uouwCba+i+bJGFicT8SR4NP8=
go.opentelemetry.io/otel/trace v1.29.0 h1:J/8ZNK4XgR7a21DZUAsbF8pZ5Jcw1VhACmnYt39JTi4=
Expand Down
6 changes: 3 additions & 3 deletions internal/app/feeder/feeder.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"github.com/nats-io/nats.go/jetstream"
"github.com/prometheus/client_golang/prometheus"

"github.com/lidofinance/finding-forwarder/generated/databus"
"github.com/lidofinance/finding-forwarder/internal/connectors/metrics"
"github.com/lidofinance/finding-forwarder/internal/pkg/chain/entity"
"github.com/lidofinance/onchain-mon/generated/databus"
"github.com/lidofinance/onchain-mon/internal/connectors/metrics"
"github.com/lidofinance/onchain-mon/internal/pkg/chain/entity"
)

type ChainSrv interface {
Expand Down
8 changes: 4 additions & 4 deletions internal/app/forwarder/forwarder.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import (
"github.com/prometheus/client_golang/prometheus"
"golang.org/x/sync/errgroup"

"github.com/lidofinance/finding-forwarder/generated/databus"
"github.com/lidofinance/finding-forwarder/internal/connectors/metrics"
"github.com/lidofinance/finding-forwarder/internal/pkg/notifiler"
"github.com/lidofinance/finding-forwarder/internal/utils/registry"
"github.com/lidofinance/onchain-mon/generated/databus"
"github.com/lidofinance/onchain-mon/internal/connectors/metrics"
"github.com/lidofinance/onchain-mon/internal/pkg/notifiler"
"github.com/lidofinance/onchain-mon/internal/utils/registry"
)

type carrier struct {
Expand Down
6 changes: 3 additions & 3 deletions internal/app/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
"github.com/prometheus/client_golang/prometheus/promhttp"
slogchi "github.com/samber/slog-chi"

"github.com/lidofinance/finding-forwarder/internal/connectors/metrics"
"github.com/lidofinance/finding-forwarder/internal/env"
"github.com/lidofinance/finding-forwarder/internal/http/handlers/health"
"github.com/lidofinance/onchain-mon/internal/connectors/metrics"
"github.com/lidofinance/onchain-mon/internal/env"
"github.com/lidofinance/onchain-mon/internal/http/handlers/health"
)

const (
Expand Down
10 changes: 5 additions & 5 deletions internal/app/server/usecase.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"net/http"
"time"

"github.com/lidofinance/finding-forwarder/internal/app/feeder"
"github.com/lidofinance/finding-forwarder/internal/connectors/metrics"
"github.com/lidofinance/finding-forwarder/internal/env"
"github.com/lidofinance/finding-forwarder/internal/pkg/chain"
"github.com/lidofinance/finding-forwarder/internal/pkg/notifiler"
"github.com/lidofinance/onchain-mon/internal/app/feeder"
"github.com/lidofinance/onchain-mon/internal/connectors/metrics"
"github.com/lidofinance/onchain-mon/internal/env"
"github.com/lidofinance/onchain-mon/internal/pkg/chain"
"github.com/lidofinance/onchain-mon/internal/pkg/notifiler"
)

type Services struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/connectors/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"strings"

"github.com/lidofinance/finding-forwarder/internal/env"
"github.com/lidofinance/onchain-mon/internal/env"
)

func New(cfg *env.AppConfig) *slog.Logger {
Expand Down
2 changes: 1 addition & 1 deletion internal/connectors/nats/nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/nats-io/nats.go"

"github.com/lidofinance/finding-forwarder/internal/env"
"github.com/lidofinance/onchain-mon/internal/env"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/chain/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"github.com/google/uuid"
"github.com/prometheus/client_golang/prometheus"

"github.com/lidofinance/finding-forwarder/internal/connectors/metrics"
"github.com/lidofinance/finding-forwarder/internal/pkg/chain/entity"
"github.com/lidofinance/onchain-mon/internal/connectors/metrics"
"github.com/lidofinance/onchain-mon/internal/pkg/chain/entity"
)

type chain struct {
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/chain/chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/prometheus/client_golang/prometheus"

"github.com/lidofinance/finding-forwarder/internal/connectors/metrics"
"github.com/lidofinance/finding-forwarder/internal/env"
"github.com/lidofinance/onchain-mon/internal/connectors/metrics"
"github.com/lidofinance/onchain-mon/internal/env"
)

func Test_chain_GetLatestBlock(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/notifiler/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package notifiler
import (
"context"

"github.com/lidofinance/finding-forwarder/generated/databus"
"github.com/lidofinance/onchain-mon/generated/databus"
)

type FindingSender interface {
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/notifiler/discord.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

"github.com/prometheus/client_golang/prometheus"

"github.com/lidofinance/finding-forwarder/generated/databus"
"github.com/lidofinance/finding-forwarder/internal/connectors/metrics"
"github.com/lidofinance/onchain-mon/generated/databus"
"github.com/lidofinance/onchain-mon/internal/connectors/metrics"
)

type discord struct {
Expand Down
6 changes: 3 additions & 3 deletions internal/pkg/notifiler/discord_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"net/http"
"testing"

"github.com/lidofinance/finding-forwarder/generated/databus"
"github.com/lidofinance/finding-forwarder/internal/connectors/metrics"
"github.com/lidofinance/finding-forwarder/internal/env"
"github.com/lidofinance/onchain-mon/generated/databus"
"github.com/lidofinance/onchain-mon/internal/connectors/metrics"
"github.com/lidofinance/onchain-mon/internal/env"
"github.com/prometheus/client_golang/prometheus"
)

Expand Down
Loading

0 comments on commit ab94d0f

Please sign in to comment.