From 9510279aaa20e0fbfc1d3a437da9a5be86579b29 Mon Sep 17 00:00:00 2001 From: muXxer Date: Fri, 16 Feb 2024 16:06:36 +0100 Subject: [PATCH] Update inx-app to d7dfe94bdc1e --- .github/workflows/build.yml | 9 ++-- .github/workflows/gendoc.yml | 7 +-- .github/workflows/release.yml | 4 ++ Dockerfile | 10 +++-- Dockerfile.debug | 4 +- components/app/app.go | 2 +- go.mod | 42 +++++++++--------- go.sum | 84 +++++++++++++++++------------------ scripts/get_hive.sh | 23 ++++++++++ tools/gendoc/go.mod | 42 +++++++++--------- tools/gendoc/go.sum | 84 +++++++++++++++++------------------ tools/snap-to-db/go.mod | 2 +- 12 files changed, 172 insertions(+), 141 deletions(-) create mode 100755 scripts/get_hive.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a5eebf5..e838623 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,16 +9,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version-file: 'go.mod' + cache: false id: go - name: Print Go version run: go version - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build run: go build -v . @@ -31,7 +32,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build Docker image run: docker build . --file Dockerfile --tag inx-indexer:latest diff --git a/.github/workflows/gendoc.yml b/.github/workflows/gendoc.yml index 10e0598..c1f8a88 100644 --- a/.github/workflows/gendoc.yml +++ b/.github/workflows/gendoc.yml @@ -10,16 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version-file: 'tools/gendoc/go.mod' + cache: false id: go - name: Print Go version run: go version - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run gendoc working-directory: tools/gendoc diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87b674b..d8ec12e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ name: Release on: release: types: [published] + workflow_dispatch: jobs: docker: @@ -30,6 +31,7 @@ jobs: type=match,pattern=v(\d+.\d+),suffix=-alpha,group=1,enable=${{ contains(github.ref, '-alpha') }} type=match,pattern=v(\d+.\d+),suffix=-beta,group=1,enable=${{ contains(github.ref, '-beta') }} type=match,pattern=v(\d+.\d+),suffix=-rc,group=1,enable=${{ contains(github.ref, '-rc') }} + type=raw,value=${{ github.ref_name }},enable=${{ github.ref_type != 'tag' }} - name: Login to DockerHub uses: docker/login-action@v2 @@ -43,4 +45,6 @@ jobs: file: ./Dockerfile platforms: linux/amd64,linux/arm64 push: true + build-args: | + BUILD_VERSION=${{ github.ref_name }} tags: ${{ steps.meta.outputs.tags }} diff --git a/Dockerfile b/Dockerfile index d5a1eca..da1c58a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ # https://hub.docker.com/_/golang -FROM golang:1.21-bullseye AS build +FROM golang:1.22-bullseye AS build + +ARG BUILD_VERSION=v2.0.0-develop # Ensure ca-certificates are up to date RUN update-ca-certificates @@ -19,7 +21,7 @@ RUN go mod download RUN go mod verify # Build the binary -RUN go build -o /app/inx-indexer -a +RUN go build -o /app/inx-indexer -a -ldflags="-w -s -X=github.com/iotaledger/inx-indexer/components/app.Version=${BUILD_VERSION}" # Copy the assets COPY ./config_defaults.json /app/config.json @@ -27,9 +29,9 @@ COPY ./config_defaults.json /app/config.json ############################ # Image ############################ -# https://console.cloud.google.com/gcr/images/distroless/global/cc-debian11 +# https://console.cloud.google.com/gcr/images/distroless/global/cc-debian12 # using distroless cc "nonroot" image, which includes everything in the base image (glibc, libssl and openssl) -FROM gcr.io/distroless/cc-debian11:nonroot +FROM gcr.io/distroless/cc-debian12:nonroot HEALTHCHECK --interval=10s --timeout=5s --retries=30 CMD [ "/app/inx-indexer", "tools", "health"] diff --git a/Dockerfile.debug b/Dockerfile.debug index 59f9850..edcf52b 100644 --- a/Dockerfile.debug +++ b/Dockerfile.debug @@ -1,5 +1,5 @@ # https://hub.docker.com/_/golang -FROM golang:1.21-bookworm AS build +FROM golang:1.22-bookworm AS build # Ensure ca-certificates are up to date RUN update-ca-certificates @@ -28,7 +28,7 @@ COPY ./config_defaults.json /app/config.json ############################ # Image ############################ -FROM golang:1.21-bookworm +FROM golang:1.22-bookworm ## Install delve RUN CGO_ENABLED=0 go install -ldflags "-s -w -extldflags '-static'" github.com/go-delve/delve/cmd/dlv@latest diff --git a/components/app/app.go b/components/app/app.go index a9f461f..34f7372 100644 --- a/components/app/app.go +++ b/components/app/app.go @@ -15,7 +15,7 @@ var ( Name = "inx-indexer" // Version of the app. - Version = "2.0.0-alpha.22" + Version = "v2.0.0-develop" ) func App() *app.App { diff --git a/go.mod b/go.mod index 7a612a7..679a9af 100644 --- a/go.mod +++ b/go.mod @@ -1,20 +1,20 @@ module github.com/iotaledger/inx-indexer -go 1.21 +go 1.22 require ( github.com/ethereum/go-ethereum v1.13.12 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 - github.com/iotaledger/hive.go/app v0.0.0-20240214175801-9ca9f93790f5 - github.com/iotaledger/hive.go/crypto v0.0.0-20240214175801-9ca9f93790f5 - github.com/iotaledger/hive.go/ds v0.0.0-20240214175801-9ca9f93790f5 - github.com/iotaledger/hive.go/ierrors v0.0.0-20240214175801-9ca9f93790f5 - github.com/iotaledger/hive.go/lo v0.0.0-20240214175801-9ca9f93790f5 - github.com/iotaledger/hive.go/log v0.0.0-20240214175801-9ca9f93790f5 - github.com/iotaledger/hive.go/runtime v0.0.0-20240214175801-9ca9f93790f5 - github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240214181534-9a393ea95057 - github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240214181217-a6dd0abaab8d - github.com/iotaledger/iota.go/v4 v4.0.0-20240214180848-ff6a4bb7bc41 + github.com/iotaledger/hive.go/app v0.0.0-20240216135101-261e99d9d84a + github.com/iotaledger/hive.go/crypto v0.0.0-20240216135101-261e99d9d84a + github.com/iotaledger/hive.go/ds v0.0.0-20240216135101-261e99d9d84a + github.com/iotaledger/hive.go/ierrors v0.0.0-20240216135101-261e99d9d84a + github.com/iotaledger/hive.go/lo v0.0.0-20240216135101-261e99d9d84a + github.com/iotaledger/hive.go/log v0.0.0-20240216135101-261e99d9d84a + github.com/iotaledger/hive.go/runtime v0.0.0-20240216135101-261e99d9d84a + github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240216141618-d7dfe94bdc1e + github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240216141023-6d5f4ef12ac5 + github.com/iotaledger/iota.go/v4 v4.0.0-20240216140514-c867d6524642 github.com/labstack/echo-contrib v0.15.0 github.com/labstack/echo/v4 v4.11.4 github.com/pkg/errors v0.9.1 @@ -23,9 +23,9 @@ require ( github.com/stretchr/testify v1.8.4 go.uber.org/dig v1.17.1 golang.org/x/text v0.14.0 - gorm.io/driver/postgres v1.5.4 - gorm.io/driver/sqlite v1.5.4 - gorm.io/gorm v1.25.5 + gorm.io/driver/postgres v1.5.6 + gorm.io/driver/sqlite v1.5.5 + gorm.io/gorm v1.25.7 ) require ( @@ -50,13 +50,13 @@ require ( github.com/hashicorp/go-version v1.6.0 // indirect github.com/holiman/uint256 v1.2.4 // indirect github.com/iancoleman/orderedmap v0.3.0 // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20240214175801-9ca9f93790f5 // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20240216135101-261e99d9d84a // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 // indirect - github.com/jackc/pgx/v5 v5.5.2 // indirect + github.com/jackc/pgx/v5 v5.5.3 // indirect github.com/jackc/puddle/v2 v2.2.1 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect @@ -65,7 +65,7 @@ require ( github.com/labstack/gommon v0.4.2 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mattn/go-sqlite3 v1.14.19 // indirect + github.com/mattn/go-sqlite3 v1.14.22 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect @@ -75,7 +75,7 @@ require ( github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/prometheus/client_model v0.5.0 // indirect - github.com/prometheus/common v0.46.0 // indirect + github.com/prometheus/common v0.47.0 // indirect github.com/prometheus/procfs v0.12.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/spf13/cast v1.6.0 // indirect diff --git a/go.sum b/go.sum index 585c5fc..285c1f5 100644 --- a/go.sum +++ b/go.sum @@ -186,40 +186,40 @@ github.com/holiman/uint256 v1.2.4/go.mod h1:EOMSn4q6Nyt9P6efbI3bueV4e1b3dGlUCXei github.com/iancoleman/orderedmap v0.3.0 h1:5cbR2grmZR/DiVt+VJopEhtVs9YGInGIxAoMJn+Ichc= github.com/iancoleman/orderedmap v0.3.0/go.mod h1:XuLcCUkdL5owUCQeF2Ue9uuw1EptkJDkXXS7VoV7XGE= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= -github.com/iotaledger/hive.go/app v0.0.0-20240214175801-9ca9f93790f5 h1:/ZbVYgtYR3d7UQi11cBz4/uLxuZCZaWtOlsf19oo8yw= -github.com/iotaledger/hive.go/app v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:ohkNhGs3N6FKoWKM2eTdfGx4oNC7NR61eRvjTUpVzyk= -github.com/iotaledger/hive.go/constraints v0.0.0-20240214175801-9ca9f93790f5 h1:PC1CUm0M8/JiXQdmVKWtIYDJIAffwAh7AQZ9hSlMwl0= -github.com/iotaledger/hive.go/constraints v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240214175801-9ca9f93790f5 h1:1DX9RGuwYqOf6kzVb+LIPYJM3Jw6ykf63hJcYfLO8Qs= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240214175801-9ca9f93790f5/go.mod h1:S25had16ycO2LflaIqJq7EuQs45cWrtmy/zr84VqF9A= -github.com/iotaledger/hive.go/crypto v0.0.0-20240214175801-9ca9f93790f5 h1:Ogf77ffMx/oxb0s2Dsn2wjNDtECSQAtAQpXUdNDFSQE= -github.com/iotaledger/hive.go/crypto v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:ECGlcMlvm7hO5L9etoXCILu9et9PeZOyY1WQiXP6ohs= -github.com/iotaledger/hive.go/ds v0.0.0-20240214175801-9ca9f93790f5 h1:vAf85G2ir//BA96yI7wWWbK3yUuXbcEBC15XzFbEQXQ= -github.com/iotaledger/hive.go/ds v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:UxnYEJlWz87/hQxmSngDwAxPjFqbTgnDpDczL8mqXVk= -github.com/iotaledger/hive.go/ierrors v0.0.0-20240214175801-9ca9f93790f5 h1:KGyJMMNe6rEtQzuu1m/fccRPFkMQXb0xHaAlAN0gFxA= -github.com/iotaledger/hive.go/ierrors v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/lo v0.0.0-20240214175801-9ca9f93790f5 h1:MM41w6kwBZeGpp8ks/b+T19MsKXPZWN06kAu++dMNn0= -github.com/iotaledger/hive.go/lo v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:emwj7JQEo+BOIxtkcQwfr9x4MgmdHcDMjxFZohJ+sIk= -github.com/iotaledger/hive.go/log v0.0.0-20240214175801-9ca9f93790f5 h1:hn4wslFGS11fePJS6OTbal0f3y9hH5pSSoANkLRNqQk= -github.com/iotaledger/hive.go/log v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:wDmhnVYX4ETSxFjuJNKe1LtNRmWs1GvOIZNkWY9yFHc= -github.com/iotaledger/hive.go/runtime v0.0.0-20240214175801-9ca9f93790f5 h1:JRQusGWXgL94LajsVxioEHJFwc5ObpcMJOpPHciBKXI= -github.com/iotaledger/hive.go/runtime v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:DAl3k9cClMCxIWbGQX44mdV3ZExly2kJW979G0bZ3cU= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240214175801-9ca9f93790f5 h1:Y4Rb0YK8bOhfQPJmyLDV71VWti8GXrzmPc6Hy8QNOfU= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240214175801-9ca9f93790f5/go.mod h1:Wz93StLE7p0UjPIPy/DDw0xZtuxPIUwBUa2fSmCWL9A= -github.com/iotaledger/hive.go/stringify v0.0.0-20240214175801-9ca9f93790f5 h1:KkZln2uZARc3UqQOyCQDLxNQnr2DK7bITXSg3ZCY+GM= -github.com/iotaledger/hive.go/stringify v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= -github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240214181534-9a393ea95057 h1:a/jsShkb8Sn19q9Th3dHG2n5UPQPToLd0VjuNm8gf4M= -github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240214181534-9a393ea95057/go.mod h1:2HpA49Jxx1dPQ1VrgCW8cvNrH2T2kouYDXaBalWFyuo= -github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240214181217-a6dd0abaab8d h1:S9VWiJA/mHDlrObYMDH2wF3eiKeXo7U5Cn0l6Y8A2lM= -github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240214181217-a6dd0abaab8d/go.mod h1:F69nogeefy6epbuj1Bk132mL9ZZMP0bp2V0eHNnehNM= -github.com/iotaledger/iota.go/v4 v4.0.0-20240214180848-ff6a4bb7bc41 h1:vhB52blViIuGCozUMts7DL24Sh5SmuycjwKXgncdPKs= -github.com/iotaledger/iota.go/v4 v4.0.0-20240214180848-ff6a4bb7bc41/go.mod h1:C0sa6gQvtBQdAcSa7AME4Tu7E9MhkrKAxjUAHUBK9u0= +github.com/iotaledger/hive.go/app v0.0.0-20240216135101-261e99d9d84a h1:o5viyYlzi6kgClLNgUW5Pay0tXMylc0FPivYgSlAc4g= +github.com/iotaledger/hive.go/app v0.0.0-20240216135101-261e99d9d84a/go.mod h1:O9agBfrnt1ykrDOzF6GXZf4ivcw+SxM9c9C86YtbxLU= +github.com/iotaledger/hive.go/constraints v0.0.0-20240216135101-261e99d9d84a h1:9xeffzciYdw9L/ebAOPg/39Bqn3p5iyOROQhQHaAEUs= +github.com/iotaledger/hive.go/constraints v0.0.0-20240216135101-261e99d9d84a/go.mod h1:JF7jjkL6tSUOXm23SWadBzBrl7eJk1DQRLc/fNoVZ+o= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240216135101-261e99d9d84a h1:+l3NjL4v700Iv+ZF7KjPALkygFOxzkByoRIoSK9bOzc= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240216135101-261e99d9d84a/go.mod h1:9HM/YmzOfdlWXYHVEWVjYhKQHOlgxBVMsr5Vf5yn5IE= +github.com/iotaledger/hive.go/crypto v0.0.0-20240216135101-261e99d9d84a h1:ux81+J6mcxYw6usZpEPLZjE6J+TNs3RaRcTHa9+5ERM= +github.com/iotaledger/hive.go/crypto v0.0.0-20240216135101-261e99d9d84a/go.mod h1:7kZh98nwJInQsIybiPXSABc/on/IsDdXyeiPLfaH+2I= +github.com/iotaledger/hive.go/ds v0.0.0-20240216135101-261e99d9d84a h1:7M1+k0H53jahg2ZDN10SociepCB+jymIZoiYaSenpbQ= +github.com/iotaledger/hive.go/ds v0.0.0-20240216135101-261e99d9d84a/go.mod h1:sE/HabIH9FWTvgaHioLN6o4rrxFMf4BuqRQwloxcamo= +github.com/iotaledger/hive.go/ierrors v0.0.0-20240216135101-261e99d9d84a h1:ugcQ43xbMZo5XYTfanIHOxQGKNpxhcatcz9ZXcX6W1o= +github.com/iotaledger/hive.go/ierrors v0.0.0-20240216135101-261e99d9d84a/go.mod h1:GQY0/35sjgT9Poi1Vrs9kFVvAkuKzGXfVh4j6CBXsAA= +github.com/iotaledger/hive.go/lo v0.0.0-20240216135101-261e99d9d84a h1:eUAtyEIYRlAPeZ2qhlEA+7T8DVoYK2h9eotlst/84SU= +github.com/iotaledger/hive.go/lo v0.0.0-20240216135101-261e99d9d84a/go.mod h1:0ycE1W59kkNjQ87odL6H4x5Ik9bXhbNk88wmo+mIYt0= +github.com/iotaledger/hive.go/log v0.0.0-20240216135101-261e99d9d84a h1:XzIuUsWPtDP7h9UbQPFW5/bjeqVjodcSCMRuF7zP5jk= +github.com/iotaledger/hive.go/log v0.0.0-20240216135101-261e99d9d84a/go.mod h1:JCv/LVVTAMoCPLzou534RoIif7CAezcWZlGYabrHsck= +github.com/iotaledger/hive.go/runtime v0.0.0-20240216135101-261e99d9d84a h1:qmfoYLK2XyPOXfldG21qHyCrbIf0sl7iJoFirvTrnO0= +github.com/iotaledger/hive.go/runtime v0.0.0-20240216135101-261e99d9d84a/go.mod h1:lAR3vbqE9g65M9VwWHiaXab2q+d89dBOFjhKgnDfK7c= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240216135101-261e99d9d84a h1:ahUFo0X9Th+8/aE6KSWiy7Eap5p0YFL6CDapP1o8dLo= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240216135101-261e99d9d84a/go.mod h1:yXQNGZUz++dB1T9RAHhWSresuTLzTC856ntdins9ivo= +github.com/iotaledger/hive.go/stringify v0.0.0-20240216135101-261e99d9d84a h1:xLreq/rXeSPdb86RnZNEPH3PUIWt56BQxK1+11+hM4I= +github.com/iotaledger/hive.go/stringify v0.0.0-20240216135101-261e99d9d84a/go.mod h1:O4p7UmsfoeLqtAUwrKbq0lXMxjY/MLQSpZSavvvvGig= +github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240216141618-d7dfe94bdc1e h1:I6KnVRg96X7mL1k/h3xovdJL3I31q8C6wPiUJanvOdY= +github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240216141618-d7dfe94bdc1e/go.mod h1:rCLE9iv2S0qiL4s7TPj/2ieTLhV2m0Nor3g2JJHhu6M= +github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240216141023-6d5f4ef12ac5 h1:ebh2IKHPVG/qMjTk56hIBG9DcZ0XN02pP8UJ+vB2IpM= +github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240216141023-6d5f4ef12ac5/go.mod h1:Go1Gp6s+RCwNyaTjSw/TCk1Li5xd3+926aCu61kL+ks= +github.com/iotaledger/iota.go/v4 v4.0.0-20240216140514-c867d6524642 h1:s3nISWsyLwNA4+fh19yp1CQip3pHpIgsbYIRITpl8aA= +github.com/iotaledger/iota.go/v4 v4.0.0-20240216140514-c867d6524642/go.mod h1:IZNS0qmVdoRjIbFe4VTPG7k3bzSJQBvAHL2eC/2kFT0= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 h1:L0QtFUgDarD7Fpv9jeVMgy/+Ec0mtnmYuImjTz6dtDA= github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= -github.com/jackc/pgx/v5 v5.5.2 h1:iLlpgp4Cp/gC9Xuscl7lFL1PhhW+ZLtXZcrfCt4C3tA= -github.com/jackc/pgx/v5 v5.5.2/go.mod h1:ez9gk+OAat140fv9ErkZDYFWmXLfV+++K0uAOiwgm1A= +github.com/jackc/pgx/v5 v5.5.3 h1:Ces6/M3wbDXYpM8JyyPD57ivTtJACFZJd885pdIaV2s= +github.com/jackc/pgx/v5 v5.5.3/go.mod h1:ez9gk+OAat140fv9ErkZDYFWmXLfV+++K0uAOiwgm1A= github.com/jackc/puddle/v2 v2.2.1 h1:RhxXJtFG022u4ibrCSMSiu5aOq1i77R3OHKNJj77OAk= github.com/jackc/puddle/v2 v2.2.1/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= @@ -270,8 +270,8 @@ github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Ky github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-sqlite3 v1.14.19 h1:fhGleo2h1p8tVChob4I9HpmVFIAkKGpiukdrgQbWfGI= -github.com/mattn/go-sqlite3 v1.14.19/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= +github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU= +github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= @@ -337,8 +337,8 @@ github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.46.0 h1:doXzt5ybi1HBKpsZOL0sSkaNHJJqkyfEWZGGqqScV0Y= -github.com/prometheus/common v0.46.0/go.mod h1:Tp0qkxpb9Jsg54QMe+EAmqXkSV7Evdy1BTn+g2pa/hQ= +github.com/prometheus/common v0.47.0 h1:p5Cz0FNHo7SnWOmWmoRozVcjEp0bIVU8cV7OShpjL1k= +github.com/prometheus/common v0.47.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= @@ -404,8 +404,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20240119083558-1b970713d09a h1:Q8/wZp0KX97QFTc2ywcOE0YRjZPVIx+MXInMzdvQqcA= -golang.org/x/exp v0.0.0-20240119083558-1b970713d09a/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= @@ -570,12 +570,12 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gorm.io/driver/postgres v1.5.4 h1:Iyrp9Meh3GmbSuyIAGyjkN+n9K+GHX9b9MqsTL4EJCo= -gorm.io/driver/postgres v1.5.4/go.mod h1:Bgo89+h0CRcdA33Y6frlaHHVuTdOf87pmyzwW9C/BH0= -gorm.io/driver/sqlite v1.5.4 h1:IqXwXi8M/ZlPzH/947tn5uik3aYQslP9BVveoax0nV0= -gorm.io/driver/sqlite v1.5.4/go.mod h1:qxAuCol+2r6PannQDpOP1FP6ag3mKi4esLnB/jHed+4= -gorm.io/gorm v1.25.5 h1:zR9lOiiYf09VNh5Q1gphfyia1JpiClIWG9hQaxB/mls= -gorm.io/gorm v1.25.5/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= +gorm.io/driver/postgres v1.5.6 h1:ydr9xEd5YAM0vxVDY0X139dyzNz10spDiDlC7+ibLeU= +gorm.io/driver/postgres v1.5.6/go.mod h1:3e019WlBaYI5o5LIdNV+LyxCMNtLOQETBXL2h4chKpA= +gorm.io/driver/sqlite v1.5.5 h1:7MDMtUZhV065SilG62E0MquljeArQZNfJnjd9i9gx3E= +gorm.io/driver/sqlite v1.5.5/go.mod h1:6NgQ7sQWAIFsPrJJl1lSNSu2TABh0ZZ/zm5fosATavE= +gorm.io/gorm v1.25.7 h1:VsD6acwRjz2zFxGO50gPO6AkNs7KKnvfzUjHQhZDz/A= +gorm.io/gorm v1.25.7/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= diff --git a/scripts/get_hive.sh b/scripts/get_hive.sh new file mode 100755 index 0000000..8c3bd06 --- /dev/null +++ b/scripts/get_hive.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +COMMIT=$1 +if [ -z "$COMMIT" ] +then + echo "ERROR: no commit hash given!" + exit 1 +fi + +pushd ./.. + +HIVE_MODULES=$(grep -E "^\sgithub.com/iotaledger/hive.go" "go.mod" | awk '{print $1}') +for dependency in $HIVE_MODULES +do + echo "go get -u $dependency@$COMMIT..." + go get -u "$dependency@$COMMIT" >/dev/null +done + +popd + +# Run go mod tidy +echo "Running go mod tidy..." +./go_mod_tidy.sh diff --git a/tools/gendoc/go.mod b/tools/gendoc/go.mod index 6d6f350..5dd654c 100644 --- a/tools/gendoc/go.mod +++ b/tools/gendoc/go.mod @@ -1,11 +1,11 @@ module github.com/iotaledger/inx-mqtt/tools/gendoc -go 1.21 +go 1.22 replace github.com/iotaledger/inx-indexer => ../../ require ( - github.com/iotaledger/hive.go/app v0.0.0-20240214175801-9ca9f93790f5 + github.com/iotaledger/hive.go/app v0.0.0-20240216135101-261e99d9d84a github.com/iotaledger/hive.go/apputils v0.0.0-20231019112237-c749a64b9b29 github.com/iotaledger/inx-indexer v0.0.0-00010101000000-000000000000 ) @@ -34,22 +34,22 @@ require ( github.com/hashicorp/go-version v1.6.0 // indirect github.com/holiman/uint256 v1.2.4 // indirect github.com/iancoleman/orderedmap v0.3.0 // indirect - github.com/iotaledger/hive.go/constraints v0.0.0-20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/crypto v0.0.0-20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/ds v0.0.0-20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/ierrors v0.0.0-20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/lo v0.0.0-20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/log v0.0.0-20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/runtime v0.0.0-20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/hive.go/stringify v0.0.0-20240214175801-9ca9f93790f5 // indirect - github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240214181534-9a393ea95057 // indirect - github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240214181217-a6dd0abaab8d // indirect - github.com/iotaledger/iota.go/v4 v4.0.0-20240214180848-ff6a4bb7bc41 // indirect + github.com/iotaledger/hive.go/constraints v0.0.0-20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/crypto v0.0.0-20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/ds v0.0.0-20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/ierrors v0.0.0-20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/lo v0.0.0-20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/log v0.0.0-20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/runtime v0.0.0-20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240216135101-261e99d9d84a // indirect + github.com/iotaledger/hive.go/stringify v0.0.0-20240216135101-261e99d9d84a // indirect + github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240216141618-d7dfe94bdc1e // indirect + github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240216141023-6d5f4ef12ac5 // indirect + github.com/iotaledger/iota.go/v4 v4.0.0-20240216140514-c867d6524642 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 // indirect - github.com/jackc/pgx/v5 v5.5.2 // indirect + github.com/jackc/pgx/v5 v5.5.3 // indirect github.com/jackc/puddle/v2 v2.2.1 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect @@ -60,7 +60,7 @@ require ( github.com/labstack/gommon v0.4.2 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mattn/go-sqlite3 v1.14.19 // indirect + github.com/mattn/go-sqlite3 v1.14.22 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect @@ -71,7 +71,7 @@ require ( github.com/pkg/errors v0.9.1 // indirect github.com/prometheus/client_golang v1.18.0 // indirect github.com/prometheus/client_model v0.5.0 // indirect - github.com/prometheus/common v0.46.0 // indirect + github.com/prometheus/common v0.47.0 // indirect github.com/prometheus/procfs v0.12.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/spf13/cast v1.6.0 // indirect @@ -91,7 +91,7 @@ require ( google.golang.org/protobuf v1.32.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - gorm.io/driver/postgres v1.5.4 // indirect - gorm.io/driver/sqlite v1.5.4 // indirect - gorm.io/gorm v1.25.5 // indirect + gorm.io/driver/postgres v1.5.6 // indirect + gorm.io/driver/sqlite v1.5.5 // indirect + gorm.io/gorm v1.25.7 // indirect ) diff --git a/tools/gendoc/go.sum b/tools/gendoc/go.sum index 00b7adb..0d1dc09 100644 --- a/tools/gendoc/go.sum +++ b/tools/gendoc/go.sum @@ -188,42 +188,42 @@ github.com/holiman/uint256 v1.2.4/go.mod h1:EOMSn4q6Nyt9P6efbI3bueV4e1b3dGlUCXei github.com/iancoleman/orderedmap v0.3.0 h1:5cbR2grmZR/DiVt+VJopEhtVs9YGInGIxAoMJn+Ichc= github.com/iancoleman/orderedmap v0.3.0/go.mod h1:XuLcCUkdL5owUCQeF2Ue9uuw1EptkJDkXXS7VoV7XGE= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= -github.com/iotaledger/hive.go/app v0.0.0-20240214175801-9ca9f93790f5 h1:/ZbVYgtYR3d7UQi11cBz4/uLxuZCZaWtOlsf19oo8yw= -github.com/iotaledger/hive.go/app v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:ohkNhGs3N6FKoWKM2eTdfGx4oNC7NR61eRvjTUpVzyk= +github.com/iotaledger/hive.go/app v0.0.0-20240216135101-261e99d9d84a h1:o5viyYlzi6kgClLNgUW5Pay0tXMylc0FPivYgSlAc4g= +github.com/iotaledger/hive.go/app v0.0.0-20240216135101-261e99d9d84a/go.mod h1:O9agBfrnt1ykrDOzF6GXZf4ivcw+SxM9c9C86YtbxLU= github.com/iotaledger/hive.go/apputils v0.0.0-20231019112237-c749a64b9b29 h1:N72VaVStZwtaJtiunXLiuqr3aR853LtTdb4vMyY3Pk8= github.com/iotaledger/hive.go/apputils v0.0.0-20231019112237-c749a64b9b29/go.mod h1:mH4kng98qb1XXek26Z1I12dLrua+EkDRIXFCMBHKsEM= -github.com/iotaledger/hive.go/constraints v0.0.0-20240214175801-9ca9f93790f5 h1:PC1CUm0M8/JiXQdmVKWtIYDJIAffwAh7AQZ9hSlMwl0= -github.com/iotaledger/hive.go/constraints v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:dOBOM2s4se3HcWefPe8sQLUalGXJ8yVXw58oK8jke3s= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240214175801-9ca9f93790f5 h1:1DX9RGuwYqOf6kzVb+LIPYJM3Jw6ykf63hJcYfLO8Qs= -github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240214175801-9ca9f93790f5/go.mod h1:S25had16ycO2LflaIqJq7EuQs45cWrtmy/zr84VqF9A= -github.com/iotaledger/hive.go/crypto v0.0.0-20240214175801-9ca9f93790f5 h1:Ogf77ffMx/oxb0s2Dsn2wjNDtECSQAtAQpXUdNDFSQE= -github.com/iotaledger/hive.go/crypto v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:ECGlcMlvm7hO5L9etoXCILu9et9PeZOyY1WQiXP6ohs= -github.com/iotaledger/hive.go/ds v0.0.0-20240214175801-9ca9f93790f5 h1:vAf85G2ir//BA96yI7wWWbK3yUuXbcEBC15XzFbEQXQ= -github.com/iotaledger/hive.go/ds v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:UxnYEJlWz87/hQxmSngDwAxPjFqbTgnDpDczL8mqXVk= -github.com/iotaledger/hive.go/ierrors v0.0.0-20240214175801-9ca9f93790f5 h1:KGyJMMNe6rEtQzuu1m/fccRPFkMQXb0xHaAlAN0gFxA= -github.com/iotaledger/hive.go/ierrors v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:HcE8B5lP96enc/OALTb2/rIIi+yOLouRoHOKRclKmC8= -github.com/iotaledger/hive.go/lo v0.0.0-20240214175801-9ca9f93790f5 h1:MM41w6kwBZeGpp8ks/b+T19MsKXPZWN06kAu++dMNn0= -github.com/iotaledger/hive.go/lo v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:emwj7JQEo+BOIxtkcQwfr9x4MgmdHcDMjxFZohJ+sIk= -github.com/iotaledger/hive.go/log v0.0.0-20240214175801-9ca9f93790f5 h1:hn4wslFGS11fePJS6OTbal0f3y9hH5pSSoANkLRNqQk= -github.com/iotaledger/hive.go/log v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:wDmhnVYX4ETSxFjuJNKe1LtNRmWs1GvOIZNkWY9yFHc= -github.com/iotaledger/hive.go/runtime v0.0.0-20240214175801-9ca9f93790f5 h1:JRQusGWXgL94LajsVxioEHJFwc5ObpcMJOpPHciBKXI= -github.com/iotaledger/hive.go/runtime v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:DAl3k9cClMCxIWbGQX44mdV3ZExly2kJW979G0bZ3cU= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240214175801-9ca9f93790f5 h1:Y4Rb0YK8bOhfQPJmyLDV71VWti8GXrzmPc6Hy8QNOfU= -github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240214175801-9ca9f93790f5/go.mod h1:Wz93StLE7p0UjPIPy/DDw0xZtuxPIUwBUa2fSmCWL9A= -github.com/iotaledger/hive.go/stringify v0.0.0-20240214175801-9ca9f93790f5 h1:KkZln2uZARc3UqQOyCQDLxNQnr2DK7bITXSg3ZCY+GM= -github.com/iotaledger/hive.go/stringify v0.0.0-20240214175801-9ca9f93790f5/go.mod h1:FTo/UWzNYgnQ082GI9QVM9HFDERqf9rw9RivNpqrnTs= -github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240214181534-9a393ea95057 h1:a/jsShkb8Sn19q9Th3dHG2n5UPQPToLd0VjuNm8gf4M= -github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240214181534-9a393ea95057/go.mod h1:2HpA49Jxx1dPQ1VrgCW8cvNrH2T2kouYDXaBalWFyuo= -github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240214181217-a6dd0abaab8d h1:S9VWiJA/mHDlrObYMDH2wF3eiKeXo7U5Cn0l6Y8A2lM= -github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240214181217-a6dd0abaab8d/go.mod h1:F69nogeefy6epbuj1Bk132mL9ZZMP0bp2V0eHNnehNM= -github.com/iotaledger/iota.go/v4 v4.0.0-20240214180848-ff6a4bb7bc41 h1:vhB52blViIuGCozUMts7DL24Sh5SmuycjwKXgncdPKs= -github.com/iotaledger/iota.go/v4 v4.0.0-20240214180848-ff6a4bb7bc41/go.mod h1:C0sa6gQvtBQdAcSa7AME4Tu7E9MhkrKAxjUAHUBK9u0= +github.com/iotaledger/hive.go/constraints v0.0.0-20240216135101-261e99d9d84a h1:9xeffzciYdw9L/ebAOPg/39Bqn3p5iyOROQhQHaAEUs= +github.com/iotaledger/hive.go/constraints v0.0.0-20240216135101-261e99d9d84a/go.mod h1:JF7jjkL6tSUOXm23SWadBzBrl7eJk1DQRLc/fNoVZ+o= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240216135101-261e99d9d84a h1:+l3NjL4v700Iv+ZF7KjPALkygFOxzkByoRIoSK9bOzc= +github.com/iotaledger/hive.go/core v1.0.0-rc.3.0.20240216135101-261e99d9d84a/go.mod h1:9HM/YmzOfdlWXYHVEWVjYhKQHOlgxBVMsr5Vf5yn5IE= +github.com/iotaledger/hive.go/crypto v0.0.0-20240216135101-261e99d9d84a h1:ux81+J6mcxYw6usZpEPLZjE6J+TNs3RaRcTHa9+5ERM= +github.com/iotaledger/hive.go/crypto v0.0.0-20240216135101-261e99d9d84a/go.mod h1:7kZh98nwJInQsIybiPXSABc/on/IsDdXyeiPLfaH+2I= +github.com/iotaledger/hive.go/ds v0.0.0-20240216135101-261e99d9d84a h1:7M1+k0H53jahg2ZDN10SociepCB+jymIZoiYaSenpbQ= +github.com/iotaledger/hive.go/ds v0.0.0-20240216135101-261e99d9d84a/go.mod h1:sE/HabIH9FWTvgaHioLN6o4rrxFMf4BuqRQwloxcamo= +github.com/iotaledger/hive.go/ierrors v0.0.0-20240216135101-261e99d9d84a h1:ugcQ43xbMZo5XYTfanIHOxQGKNpxhcatcz9ZXcX6W1o= +github.com/iotaledger/hive.go/ierrors v0.0.0-20240216135101-261e99d9d84a/go.mod h1:GQY0/35sjgT9Poi1Vrs9kFVvAkuKzGXfVh4j6CBXsAA= +github.com/iotaledger/hive.go/lo v0.0.0-20240216135101-261e99d9d84a h1:eUAtyEIYRlAPeZ2qhlEA+7T8DVoYK2h9eotlst/84SU= +github.com/iotaledger/hive.go/lo v0.0.0-20240216135101-261e99d9d84a/go.mod h1:0ycE1W59kkNjQ87odL6H4x5Ik9bXhbNk88wmo+mIYt0= +github.com/iotaledger/hive.go/log v0.0.0-20240216135101-261e99d9d84a h1:XzIuUsWPtDP7h9UbQPFW5/bjeqVjodcSCMRuF7zP5jk= +github.com/iotaledger/hive.go/log v0.0.0-20240216135101-261e99d9d84a/go.mod h1:JCv/LVVTAMoCPLzou534RoIif7CAezcWZlGYabrHsck= +github.com/iotaledger/hive.go/runtime v0.0.0-20240216135101-261e99d9d84a h1:qmfoYLK2XyPOXfldG21qHyCrbIf0sl7iJoFirvTrnO0= +github.com/iotaledger/hive.go/runtime v0.0.0-20240216135101-261e99d9d84a/go.mod h1:lAR3vbqE9g65M9VwWHiaXab2q+d89dBOFjhKgnDfK7c= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240216135101-261e99d9d84a h1:ahUFo0X9Th+8/aE6KSWiy7Eap5p0YFL6CDapP1o8dLo= +github.com/iotaledger/hive.go/serializer/v2 v2.0.0-rc.1.0.20240216135101-261e99d9d84a/go.mod h1:yXQNGZUz++dB1T9RAHhWSresuTLzTC856ntdins9ivo= +github.com/iotaledger/hive.go/stringify v0.0.0-20240216135101-261e99d9d84a h1:xLreq/rXeSPdb86RnZNEPH3PUIWt56BQxK1+11+hM4I= +github.com/iotaledger/hive.go/stringify v0.0.0-20240216135101-261e99d9d84a/go.mod h1:O4p7UmsfoeLqtAUwrKbq0lXMxjY/MLQSpZSavvvvGig= +github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240216141618-d7dfe94bdc1e h1:I6KnVRg96X7mL1k/h3xovdJL3I31q8C6wPiUJanvOdY= +github.com/iotaledger/inx-app v1.0.0-rc.3.0.20240216141618-d7dfe94bdc1e/go.mod h1:rCLE9iv2S0qiL4s7TPj/2ieTLhV2m0Nor3g2JJHhu6M= +github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240216141023-6d5f4ef12ac5 h1:ebh2IKHPVG/qMjTk56hIBG9DcZ0XN02pP8UJ+vB2IpM= +github.com/iotaledger/inx/go v1.0.0-rc.2.0.20240216141023-6d5f4ef12ac5/go.mod h1:Go1Gp6s+RCwNyaTjSw/TCk1Li5xd3+926aCu61kL+ks= +github.com/iotaledger/iota.go/v4 v4.0.0-20240216140514-c867d6524642 h1:s3nISWsyLwNA4+fh19yp1CQip3pHpIgsbYIRITpl8aA= +github.com/iotaledger/iota.go/v4 v4.0.0-20240216140514-c867d6524642/go.mod h1:IZNS0qmVdoRjIbFe4VTPG7k3bzSJQBvAHL2eC/2kFT0= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 h1:L0QtFUgDarD7Fpv9jeVMgy/+Ec0mtnmYuImjTz6dtDA= github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= -github.com/jackc/pgx/v5 v5.5.2 h1:iLlpgp4Cp/gC9Xuscl7lFL1PhhW+ZLtXZcrfCt4C3tA= -github.com/jackc/pgx/v5 v5.5.2/go.mod h1:ez9gk+OAat140fv9ErkZDYFWmXLfV+++K0uAOiwgm1A= +github.com/jackc/pgx/v5 v5.5.3 h1:Ces6/M3wbDXYpM8JyyPD57ivTtJACFZJd885pdIaV2s= +github.com/jackc/pgx/v5 v5.5.3/go.mod h1:ez9gk+OAat140fv9ErkZDYFWmXLfV+++K0uAOiwgm1A= github.com/jackc/puddle/v2 v2.2.1 h1:RhxXJtFG022u4ibrCSMSiu5aOq1i77R3OHKNJj77OAk= github.com/jackc/puddle/v2 v2.2.1/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= @@ -274,8 +274,8 @@ github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Ky github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-sqlite3 v1.14.19 h1:fhGleo2h1p8tVChob4I9HpmVFIAkKGpiukdrgQbWfGI= -github.com/mattn/go-sqlite3 v1.14.19/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= +github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU= +github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= @@ -341,8 +341,8 @@ github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.46.0 h1:doXzt5ybi1HBKpsZOL0sSkaNHJJqkyfEWZGGqqScV0Y= -github.com/prometheus/common v0.46.0/go.mod h1:Tp0qkxpb9Jsg54QMe+EAmqXkSV7Evdy1BTn+g2pa/hQ= +github.com/prometheus/common v0.47.0 h1:p5Cz0FNHo7SnWOmWmoRozVcjEp0bIVU8cV7OShpjL1k= +github.com/prometheus/common v0.47.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= @@ -408,8 +408,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20240119083558-1b970713d09a h1:Q8/wZp0KX97QFTc2ywcOE0YRjZPVIx+MXInMzdvQqcA= -golang.org/x/exp v0.0.0-20240119083558-1b970713d09a/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= @@ -574,12 +574,12 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gorm.io/driver/postgres v1.5.4 h1:Iyrp9Meh3GmbSuyIAGyjkN+n9K+GHX9b9MqsTL4EJCo= -gorm.io/driver/postgres v1.5.4/go.mod h1:Bgo89+h0CRcdA33Y6frlaHHVuTdOf87pmyzwW9C/BH0= -gorm.io/driver/sqlite v1.5.4 h1:IqXwXi8M/ZlPzH/947tn5uik3aYQslP9BVveoax0nV0= -gorm.io/driver/sqlite v1.5.4/go.mod h1:qxAuCol+2r6PannQDpOP1FP6ag3mKi4esLnB/jHed+4= -gorm.io/gorm v1.25.5 h1:zR9lOiiYf09VNh5Q1gphfyia1JpiClIWG9hQaxB/mls= -gorm.io/gorm v1.25.5/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= +gorm.io/driver/postgres v1.5.6 h1:ydr9xEd5YAM0vxVDY0X139dyzNz10spDiDlC7+ibLeU= +gorm.io/driver/postgres v1.5.6/go.mod h1:3e019WlBaYI5o5LIdNV+LyxCMNtLOQETBXL2h4chKpA= +gorm.io/driver/sqlite v1.5.5 h1:7MDMtUZhV065SilG62E0MquljeArQZNfJnjd9i9gx3E= +gorm.io/driver/sqlite v1.5.5/go.mod h1:6NgQ7sQWAIFsPrJJl1lSNSu2TABh0ZZ/zm5fosATavE= +gorm.io/gorm v1.25.7 h1:VsD6acwRjz2zFxGO50gPO6AkNs7KKnvfzUjHQhZDz/A= +gorm.io/gorm v1.25.7/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= diff --git a/tools/snap-to-db/go.mod b/tools/snap-to-db/go.mod index 0f99ca1..99c28db 100644 --- a/tools/snap-to-db/go.mod +++ b/tools/snap-to-db/go.mod @@ -1,5 +1,5 @@ module github.com/iotaledger/inx-mqtt/tools/snap-to-db -go 1.21 +go 1.22 replace github.com/iotaledger/inx-indexer => ../../