Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
go-version:
- "1.21"
- "1.20"
- "1.22"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -31,7 +31,7 @@ jobs:
matrix:
go-version:
- "1.21"
- "1.20"
- "1.22"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -48,7 +48,7 @@ jobs:
matrix:
go-version:
- "1.21"
- "1.20"
- "1.22"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
go-version:
description: "Golang version to use"
required: false
default: "1.20"
default: "1.21"
runs:
using: "composite"
steps:
Expand All @@ -18,6 +18,6 @@ runs:
shell: bash
run: |
asdf plugin-add protoc
asdf install protoc 25.2
asdf global protoc 25.2
asdf install protoc 25.3
asdf global protoc 25.3
make bootstrap
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20 as build
FROM golang:1.21 as build

ENV GO111MODULE on

Expand All @@ -11,7 +11,7 @@ RUN go mod download
COPY . ./
RUN make bin

FROM golang:1.20 as deploy
FROM golang:1.21 as deploy

WORKDIR /app/

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ It aims to provide an efficient and flexible way to access the on-chain data:

## Quick Start

Make sure your local go version is 1.20 by running the following commands:
Make sure your local go version is 1.21 by running the following commands:
```shell
brew install go@1.20
brew install go@1.21
brew unlink go
brew link go@1.20
brew link go@1.21

brew install protobuf@25.2
brew install protobuf@25.3
brew unlink protobuf
brew link protobuf

Expand Down
6 changes: 3 additions & 3 deletions docker-compose-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ volumes:

services:
localstack:
image: localstack/localstack:3.1.0
image: localstack/localstack:3.2.0
ports:
- 4566:4566
- 4510-4559:4510-4559 # external services port range
Expand All @@ -31,7 +31,7 @@ services:
volumes:
- postgres_data:/var/lib/postgresql/data
temporal:
image: temporalio/auto-setup:1.22.4
image: temporalio/auto-setup:1.22.5
depends_on:
- postgresql
ports:
Expand Down Expand Up @@ -62,6 +62,6 @@ services:
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:1.22.0
image: temporalio/admin-tools:1.22.5
stdin_open: true
tty: true
81 changes: 40 additions & 41 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
module github.com/coinbase/chainstorage

go 1.20
go 1.21

toolchain go1.21.7

require (
cloud.google.com/go/firestore v1.14.0
cloud.google.com/go/storage v1.37.0
cloud.google.com/go/storage v1.38.0
github.com/VividCortex/ewma v1.2.0
github.com/aws/aws-sdk-go v1.50.4
github.com/aws/aws-sdk-go v1.50.28
github.com/btcsuite/btcd/btcutil v1.1.5
github.com/cenkalti/backoff v2.2.1+incompatible
github.com/cenkalti/backoff/v4 v4.2.1
github.com/coinbase/rosetta-sdk-go v0.8.3
github.com/coinbase/rosetta-sdk-go v0.8.4
github.com/coinbase/rosetta-sdk-go/types v1.0.0
github.com/ethereum/go-ethereum v1.13.11
github.com/ethereum/go-ethereum v1.13.14
github.com/fatih/color v1.16.0
github.com/gagliardetto/solana-go v1.8.4
github.com/go-playground/validator/v10 v10.17.0
github.com/go-playground/validator/v10 v10.18.0
github.com/gogo/status v1.1.1
github.com/golang/protobuf v1.5.3
github.com/google/go-cmp v0.6.0
Expand All @@ -30,40 +32,40 @@ require (
github.com/spf13/cobra v1.8.0
github.com/spf13/viper v1.18.2
github.com/stretchr/testify v1.8.4
github.com/uber-go/tally/v4 v4.1.10
github.com/uber-go/tally/v4 v4.1.11
github.com/valyala/fasttemplate v1.2.2
go.temporal.io/api v1.26.0
go.temporal.io/sdk v1.25.1
go.temporal.io/sdk/contrib/tally v0.2.0
go.uber.org/atomic v1.11.0
go.uber.org/fx v1.20.1
go.uber.org/mock v0.4.0
go.uber.org/zap v1.26.0
golang.org/x/crypto v0.18.0
golang.org/x/exp v0.0.0-20240119083558-1b970713d09a
golang.org/x/net v0.20.0
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.20.0
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225
golang.org/x/net v0.21.0
golang.org/x/sync v0.6.0
golang.org/x/text v0.14.0
golang.org/x/time v0.5.0
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028
google.golang.org/api v0.158.0
google.golang.org/grpc v1.61.0
google.golang.org/api v0.167.0
google.golang.org/grpc v1.62.0
google.golang.org/protobuf v1.32.0
gopkg.in/DataDog/dd-trace-go.v1 v1.59.1
gopkg.in/DataDog/dd-trace-go.v1 v1.60.3
gopkg.in/yaml.v2 v2.4.0
logur.dev/adapter/zap v0.5.0
logur.dev/logur v0.17.0
)

require (
cloud.google.com/go v0.112.0 // indirect
cloud.google.com/go/compute v1.23.3 // indirect
cloud.google.com/go/compute v1.23.4 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.5 // indirect
cloud.google.com/go/longrunning v0.5.4 // indirect
cloud.google.com/go/iam v1.1.6 // indirect
cloud.google.com/go/longrunning v0.5.5 // indirect
contrib.go.opencensus.io/exporter/stackdriver v0.13.4 // indirect
filippo.io/edwards25519 v1.0.0-rc.1 // indirect
github.com/DataDog/appsec-internal-go v1.4.0 // indirect
github.com/DataDog/appsec-internal-go v1.4.1 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.0 // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 // indirect
github.com/DataDog/datadog-go/v5 v5.3.0 // indirect
Expand Down Expand Up @@ -95,12 +97,12 @@ require (
github.com/dfuse-io/logging v0.0.0-20201110202154-26697de88c79 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/ebitengine/purego v0.5.2 // indirect
github.com/ethereum-optimism/superchain-registry/superchain v0.0.0-20231211205419-ff2e152c624f // indirect
github.com/ethereum-optimism/superchain-registry/superchain v0.0.0-20240131175747-1300b1825140 // indirect
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
github.com/gagliardetto/binary v0.7.7 // indirect
github.com/gagliardetto/treeout v0.1.4 // indirect
github.com/go-logr/logr v1.4.1 // indirect
Expand All @@ -116,9 +118,9 @@ require (
github.com/golang/mock v1.6.0 // indirect
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/uuid v1.5.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/googleapis/gax-go/v2 v2.12.1 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
Expand All @@ -130,7 +132,7 @@ require (
github.com/klauspost/compress v1.17.1 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
Expand All @@ -155,7 +157,7 @@ require (
github.com/prometheus/procfs v0.7.3 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/robfig/cron v1.2.0 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/secure-systems-lab/go-securesystemslib v0.7.0 // indirect
Expand All @@ -180,30 +182,27 @@ require (
github.com/valyala/bytebufferpool v1.0.0 // indirect
go.mongodb.org/mongo-driver v1.12.1 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 // indirect
go.opentelemetry.io/otel v1.22.0 // indirect
go.opentelemetry.io/otel/metric v1.22.0 // indirect
go.opentelemetry.io/otel/trace v1.22.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0 // indirect
go.opentelemetry.io/otel v1.23.0 // indirect
go.opentelemetry.io/otel/metric v1.23.0 // indirect
go.opentelemetry.io/otel/trace v1.23.0 // indirect
go.uber.org/dig v1.17.0 // indirect
go.uber.org/multierr v1.10.0 // indirect
go4.org/intern v0.0.0-20230525184215-6c62f75575cb // indirect
go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/term v0.16.0 // indirect
golang.org/x/tools v0.17.0 // indirect
golang.org/x/mod v0.15.0 // indirect
golang.org/x/oauth2 v0.17.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/term v0.17.0 // indirect
golang.org/x/tools v0.18.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20240116215550-a9fa1716bcac // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240122161410-6c6643bf1457 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240116215550-a9fa1716bcac // indirect
google.golang.org/genproto v0.0.0-20240205150955-31a09d347014 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240205150955-31a09d347014 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240213162025-012b6fc9bca9 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
inet.af/netaddr v0.0.0-20230525184311-b8eac61e914a // indirect
rsc.io/tmplfunc v0.0.3 // indirect
)

replace github.com/gogo/protobuf v1.3.3 => github.com/gogo/protobuf v1.3.2

replace github.com/ethereum/go-ethereum => github.com/ethereum-optimism/op-geth v1.101305.1
replace github.com/ethereum/go-ethereum => github.com/ethereum-optimism/op-geth v1.101305.3
Loading