Skip to content

Commit 7a35020

Browse files
AvalancheGo@v1.11.6 (#246)
* update avalanchego * update rosetta * fix build * fix transaction test * use coreth metadata
1 parent 6c5bc6a commit 7a35020

File tree

7 files changed

+92
-79
lines changed

7 files changed

+92
-79
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ------------------------------------------------------------------------------
22
# Build avalanche
33
# ------------------------------------------------------------------------------
4-
FROM golang:1.21.8 AS avalanche
4+
FROM golang:1.21.10 AS avalanche
55

66
ARG AVALANCHE_VERSION
77

@@ -16,7 +16,7 @@ RUN git checkout $AVALANCHE_VERSION && \
1616
# ------------------------------------------------------------------------------
1717
# Build avalanche rosetta
1818
# ------------------------------------------------------------------------------
19-
FROM golang:1.21.8 AS rosetta
19+
FROM golang:1.21.10 AS rosetta
2020

2121
ARG ROSETTA_VERSION
2222

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ DOCKER_ORG ?= avaplatform
1111
DOCKER_IMAGE ?= ${DOCKER_ORG}/${PROJECT}
1212
DOCKER_LABEL ?= latest
1313
DOCKER_TAG ?= ${DOCKER_IMAGE}:${DOCKER_LABEL}
14-
AVALANCHE_VERSION ?= v1.11.3
14+
AVALANCHE_VERSION ?= v1.11.6
1515

1616
build:
1717
export CGO_CFLAGS="-O -D__BLST_PORTABLE__" && go build -o ./rosetta-server ./cmd/server

go.mod

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,55 @@
11
module github.com/ava-labs/avalanche-rosetta
22

3-
go 1.21
3+
go 1.21.10
44

55
require (
6-
github.com/ava-labs/avalanchego v1.11.3
7-
github.com/ava-labs/coreth v0.13.2-rc.2
6+
github.com/ava-labs/avalanchego v1.11.6
7+
github.com/ava-labs/coreth v0.13.4-rc.0
88
github.com/coinbase/rosetta-sdk-go v0.6.5
9-
github.com/ethereum/go-ethereum v1.12.2
9+
github.com/ethereum/go-ethereum v1.13.8
1010
github.com/stretchr/testify v1.8.4
1111
go.uber.org/mock v0.4.0
12-
golang.org/x/crypto v0.18.0
12+
golang.org/x/crypto v0.21.0
1313
golang.org/x/sync v0.6.0
1414
)
1515

1616
require (
1717
github.com/DataDog/zstd v1.5.2 // indirect
1818
github.com/NYTimes/gziphandler v1.1.1 // indirect
19-
github.com/VictoriaMetrics/fastcache v1.10.0 // indirect
19+
github.com/VictoriaMetrics/fastcache v1.12.1 // indirect
2020
github.com/beorn7/perks v1.0.1 // indirect
21-
github.com/bits-and-blooms/bitset v1.7.0 // indirect
21+
github.com/bits-and-blooms/bitset v1.10.0 // indirect
2222
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
2323
github.com/btcsuite/btcd/btcutil v1.1.3 // indirect
2424
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
2525
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
2626
github.com/cespare/xxhash/v2 v2.2.0 // indirect
2727
github.com/cockroachdb/errors v1.9.1 // indirect
2828
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
29-
github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811 // indirect
29+
github.com/cockroachdb/pebble v0.0.0-20230928194634-aa077af62593 // indirect
3030
github.com/cockroachdb/redact v1.1.3 // indirect
31+
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
3132
github.com/consensys/bavard v0.1.13 // indirect
32-
github.com/consensys/gnark-crypto v0.10.0 // indirect
33+
github.com/consensys/gnark-crypto v0.12.1 // indirect
3334
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
34-
github.com/crate-crypto/go-kzg-4844 v0.3.0 // indirect
35+
github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233 // indirect
36+
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
3537
github.com/davecgh/go-spew v1.1.1 // indirect
3638
github.com/deckarep/golang-set/v2 v2.1.0 // indirect
3739
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
3840
github.com/dlclark/regexp2 v1.7.0 // indirect
39-
github.com/dop251/goja v0.0.0-20230605162241-28ee0ee714f3 // indirect
40-
github.com/ethereum/c-kzg-4844 v0.3.1 // indirect
41+
github.com/dop251/goja v0.0.0-20230806174421-c933cf95e127 // indirect
42+
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
4143
github.com/fatih/color v1.13.0 // indirect
4244
github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 // indirect
4345
github.com/fsnotify/fsnotify v1.6.0 // indirect
4446
github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 // indirect
47+
github.com/gballet/go-verkle v0.1.1-0.20231031103413-a67434b50f46 // indirect
4548
github.com/getsentry/sentry-go v0.18.0 // indirect
4649
github.com/go-logr/logr v1.4.1 // indirect
4750
github.com/go-logr/stdr v1.2.2 // indirect
4851
github.com/go-ole/go-ole v1.2.6 // indirect
4952
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
50-
github.com/go-stack/stack v1.8.1 // indirect
5153
github.com/gogo/protobuf v1.3.2 // indirect
5254
github.com/golang/protobuf v1.5.3 // indirect
5355
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
@@ -63,13 +65,13 @@ require (
6365
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
6466
github.com/holiman/billy v0.0.0-20230718173358-1c7e68d277a7 // indirect
6567
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
66-
github.com/holiman/uint256 v1.2.3 // indirect
68+
github.com/holiman/uint256 v1.2.4 // indirect
6769
github.com/klauspost/compress v1.15.15 // indirect
6870
github.com/kr/pretty v0.3.1 // indirect
6971
github.com/kr/text v0.2.0 // indirect
7072
github.com/mattn/go-colorable v0.1.13 // indirect
71-
github.com/mattn/go-isatty v0.0.16 // indirect
72-
github.com/mattn/go-runewidth v0.0.9 // indirect
73+
github.com/mattn/go-isatty v0.0.17 // indirect
74+
github.com/mattn/go-runewidth v0.0.13 // indirect
7375
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
7476
github.com/mitchellh/mapstructure v1.5.0 // indirect
7577
github.com/mitchellh/pointerstructure v1.2.0 // indirect
@@ -82,8 +84,9 @@ require (
8284
github.com/pmezard/go-difflib v1.0.0 // indirect
8385
github.com/prometheus/client_golang v1.14.0 // indirect
8486
github.com/prometheus/client_model v0.3.0 // indirect
85-
github.com/prometheus/common v0.39.0 // indirect
86-
github.com/prometheus/procfs v0.9.0 // indirect
87+
github.com/prometheus/common v0.42.0 // indirect
88+
github.com/prometheus/procfs v0.10.1 // indirect
89+
github.com/rivo/uniseg v0.2.0 // indirect
8790
github.com/rogpeppe/go-internal v1.10.0 // indirect
8891
github.com/rs/cors v1.7.0 // indirect
8992
github.com/russross/blackfriday/v2 v2.1.0 // indirect
@@ -93,10 +96,10 @@ require (
9396
github.com/status-im/keycard-go v0.2.0 // indirect
9497
github.com/supranational/blst v0.3.11 // indirect
9598
github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a // indirect
96-
github.com/tklauser/go-sysconf v0.3.5 // indirect
97-
github.com/tklauser/numcpus v0.2.2 // indirect
99+
github.com/tklauser/go-sysconf v0.3.12 // indirect
100+
github.com/tklauser/numcpus v0.6.1 // indirect
98101
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
99-
github.com/urfave/cli/v2 v2.24.1 // indirect
102+
github.com/urfave/cli/v2 v2.25.7 // indirect
100103
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
101104
github.com/yusufpapurcu/wmi v1.2.2 // indirect
102105
go.opentelemetry.io/otel v1.22.0 // indirect
@@ -110,9 +113,9 @@ require (
110113
go.uber.org/multierr v1.10.0 // indirect
111114
go.uber.org/zap v1.26.0 // indirect
112115
golang.org/x/exp v0.0.0-20231127185646-65229373498e // indirect
113-
golang.org/x/net v0.20.0 // indirect
114-
golang.org/x/sys v0.16.0 // indirect
115-
golang.org/x/term v0.16.0 // indirect
116+
golang.org/x/net v0.23.0 // indirect
117+
golang.org/x/sys v0.18.0 // indirect
118+
golang.org/x/term v0.18.0 // indirect
116119
golang.org/x/text v0.14.0 // indirect
117120
golang.org/x/time v0.3.0 // indirect
118121
gonum.org/v1/gonum v0.11.0 // indirect

0 commit comments

Comments
 (0)