From c77383895e4b3b7b22a39efe639329bde2d565af Mon Sep 17 00:00:00 2001 From: Darioush Jalali Date: Thu, 6 Jun 2024 11:05:31 -0700 Subject: [PATCH] prepare v0.13.5 release (#573) * prepare v0.13.5 release * fix * Update RELEASES.md Signed-off-by: Darioush Jalali --------- Signed-off-by: Darioush Jalali --- .github/workflows/ci.yml | 6 +++--- Dockerfile | 2 +- RELEASES.md | 8 ++++++++ go.mod | 4 ++-- go.sum | 7 +++---- plugin/evm/atomic_trie_test.go | 2 +- plugin/evm/version.go | 2 +- scripts/versions.sh | 2 +- 8 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7156af11b5..5b671f6549 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: token: ${{ secrets.AVALANCHE_PAT }} - uses: actions/setup-go@v5 with: - go-version: '~1.21.9' + go-version: '~1.21.11' check-latest: true - name: change avalanchego dep if: ${{ github.event_name == 'workflow_dispatch' }} @@ -70,7 +70,7 @@ jobs: token: ${{ secrets.AVALANCHE_PAT }} - uses: actions/setup-go@v5 with: - go-version: '~1.21.9' + go-version: '~1.21.11' check-latest: true - name: change avalanchego dep if: ${{ github.event_name == 'workflow_dispatch' }} @@ -109,7 +109,7 @@ jobs: token: ${{ secrets.AVALANCHE_PAT }} - uses: actions/setup-go@v5 with: - go-version: '~1.21.9' + go-version: '~1.21.11' check-latest: true - name: Run e2e tests run: E2E_SERIAL=1 ./scripts/tests.e2e.sh diff --git a/Dockerfile b/Dockerfile index 841a65dd4f..128839934d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # ============= Compilation Stage ================ -FROM golang:1.21.9-bullseye AS builder +FROM golang:1.21.11-bullseye AS builder ARG AVALANCHE_VERSION diff --git a/RELEASES.md b/RELEASES.md index 0614251f26..6536ffe044 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,13 @@ # Release Notes +## [v0.13.5](https://github.com/ava-labs/coreth/releases/tag/v0.13.5) +- Bump AvalancheGo to v1.11.7 +- Bump golang version requirement to 1.21.11 +- Switches timestamp log back to "timestamp" (as was before v0.13.4) +- Add missing fields to "toCallArg" +- Fix state sync ETA overflow +- Fix state sync crash bug + ## [v0.13.4](https://github.com/ava-labs/coreth/releases/tag/v0.13.4) - Fixes snapshot use when state sync was explicitly enabled - Fixes v0.13.3 locking regression in async snapshot generation diff --git a/go.mod b/go.mod index f5581107f6..840f9d1558 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ module github.com/ava-labs/coreth -go 1.21.10 +go 1.21.11 require ( github.com/VictoriaMetrics/fastcache v1.12.1 - github.com/ava-labs/avalanchego v1.11.7-remove-optional-gatherer + github.com/ava-labs/avalanchego v1.11.7 github.com/cespare/cp v0.1.0 github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233 github.com/davecgh/go-spew v1.1.1 diff --git a/go.sum b/go.sum index 6a769c45d0..e5573656e7 100644 --- a/go.sum +++ b/go.sum @@ -54,8 +54,8 @@ github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah4HI848JfFxHt+iPb26b4zyfspmqY0/8= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/ava-labs/avalanchego v1.11.7-remove-optional-gatherer h1:zypQAMneAPjwuifqoZYhisqH58GZ2pquFeRqVTLI2p8= -github.com/ava-labs/avalanchego v1.11.7-remove-optional-gatherer/go.mod h1:s8U9tOakcU6ftSL4JcRcFrNNYI5JbekNCjTkdqZWYdE= +github.com/ava-labs/avalanchego v1.11.7 h1:BemCJEa6+f79fzRLdR0+iJAA3v9shOyhVniAKuibFyk= +github.com/ava-labs/avalanchego v1.11.7/go.mod h1:aPYTETkM0KjtC7vFwPO6S8z2L0QTKaXjVUi98pTdNO4= github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= @@ -437,9 +437,8 @@ github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1Cpa github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw= github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= -github.com/onsi/gomega v1.29.0 h1:KIA/t2t5UBzoirT4H9tsML45GEbo3ouUnBHsCfD2tVg= -github.com/onsi/gomega v1.29.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= diff --git a/plugin/evm/atomic_trie_test.go b/plugin/evm/atomic_trie_test.go index db3b675a41..67d16423ad 100644 --- a/plugin/evm/atomic_trie_test.go +++ b/plugin/evm/atomic_trie_test.go @@ -661,7 +661,7 @@ func BenchmarkAtomicTrieIterate(b *testing.B) { } func levelDB(t testing.TB) database.Database { - db, err := leveldb.New(t.TempDir(), nil, logging.NoLog{}, "", prometheus.NewRegistry()) + db, err := leveldb.New(t.TempDir(), nil, logging.NoLog{}, prometheus.NewRegistry()) if err != nil { t.Fatal(err) } diff --git a/plugin/evm/version.go b/plugin/evm/version.go index c6b5b62ced..3d2eb43cd8 100644 --- a/plugin/evm/version.go +++ b/plugin/evm/version.go @@ -11,7 +11,7 @@ var ( // GitCommit is set by the build script GitCommit string // Version is the version of Coreth - Version string = "v0.13.4" + Version string = "v0.13.5" ) func init() { diff --git a/scripts/versions.sh b/scripts/versions.sh index ef48fc6805..50936e6a56 100644 --- a/scripts/versions.sh +++ b/scripts/versions.sh @@ -6,4 +6,4 @@ set -euo pipefail # Don't export them as they're used in the context of other calls -AVALANCHE_VERSION=${AVALANCHE_VERSION:-'v1.11.7-remove-optional-gatherer'} +AVALANCHE_VERSION=${AVALANCHE_VERSION:-'v1.11.7'}