From c51f85d6e82a721276a876609e635406c30be730 Mon Sep 17 00:00:00 2001 From: Darioush Jalali Date: Mon, 9 Dec 2024 10:28:35 -0800 Subject: [PATCH 1/7] Release notes and avalanchego update --- RELEASES.md | 8 ++++++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 64a6fb87ee..9bdebdc145 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,13 @@ # Release Notes +## [v0.13.9](https://github.com/ava-labs/coreth/releases/tag/v0.13.9) +- Bump avalanchego to v1.12.0 +- Remove unused historical opcodes CALLEX, BALANCEMC +- Remove unused pre-AP2 handling of genesis contract +- Fix to track tx size in block building +- Test fixes +- Update go version to 1.22 + ## [v0.13.8](https://github.com/ava-labs/coreth/releases/tag/v0.13.8) - Update geth dependency to v1.13.14 - eupgrade: lowering the base fee to 1 nAVAX diff --git a/go.mod b/go.mod index a3f0c501c5..0a97bc616c 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.22.8 require ( github.com/VictoriaMetrics/fastcache v1.12.1 - github.com/ava-labs/avalanchego v1.12.0-initial-poc.9.0.20241129153017-3f46a5a4a084 + github.com/ava-labs/avalanchego v1.12.0 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 4ccdf04f33..c9d1127f26 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.12.0-initial-poc.9.0.20241129153017-3f46a5a4a084 h1:sZcRy4DXLquvwj/GBr9jE4NkQN3Vy+UK1eENbefxQ0w= -github.com/ava-labs/avalanchego v1.12.0-initial-poc.9.0.20241129153017-3f46a5a4a084/go.mod h1:8f6zzG+5CDDw8+Lxkz5ODe94I8ZH8kT4BTroCNtTATo= +github.com/ava-labs/avalanchego v1.12.0 h1:NBx0vSOY1dCT0PeJzojIhNhx0NMQNem4GgTEN+v8Sx4= +github.com/ava-labs/avalanchego v1.12.0/go.mod h1:yhD5dpZyStIVbxQ550EDi5w5SL7DQ/xGE6TIxosb7U0= 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= From c527666476b0cae0e1cd8b1f600659ef2ba29ba3 Mon Sep 17 00:00:00 2001 From: Darioush Jalali Date: Mon, 9 Dec 2024 10:32:52 -0800 Subject: [PATCH 2/7] restore avago version --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 0a97bc616c..a3f0c501c5 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.22.8 require ( github.com/VictoriaMetrics/fastcache v1.12.1 - github.com/ava-labs/avalanchego v1.12.0 + github.com/ava-labs/avalanchego v1.12.0-initial-poc.9.0.20241129153017-3f46a5a4a084 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 c9d1127f26..4ccdf04f33 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.12.0 h1:NBx0vSOY1dCT0PeJzojIhNhx0NMQNem4GgTEN+v8Sx4= -github.com/ava-labs/avalanchego v1.12.0/go.mod h1:yhD5dpZyStIVbxQ550EDi5w5SL7DQ/xGE6TIxosb7U0= +github.com/ava-labs/avalanchego v1.12.0-initial-poc.9.0.20241129153017-3f46a5a4a084 h1:sZcRy4DXLquvwj/GBr9jE4NkQN3Vy+UK1eENbefxQ0w= +github.com/ava-labs/avalanchego v1.12.0-initial-poc.9.0.20241129153017-3f46a5a4a084/go.mod h1:8f6zzG+5CDDw8+Lxkz5ODe94I8ZH8kT4BTroCNtTATo= 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= From c2945427336f4bf8ddacabf5a1fce0d84cece160 Mon Sep 17 00:00:00 2001 From: Darioush Jalali Date: Tue, 10 Dec 2024 07:08:53 -0800 Subject: [PATCH 3/7] bump avago to master --- go.mod | 2 +- go.sum | 6 ++++-- scripts/versions.sh | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index a3f0c501c5..2a6106661b 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.22.8 require ( github.com/VictoriaMetrics/fastcache v1.12.1 - github.com/ava-labs/avalanchego v1.12.0-initial-poc.9.0.20241129153017-3f46a5a4a084 + github.com/ava-labs/avalanchego v1.12.1-0.20241209214115-1dc4192013aa 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 4ccdf04f33..742d0de9e9 100644 --- a/go.sum +++ b/go.sum @@ -54,8 +54,10 @@ 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.12.0-initial-poc.9.0.20241129153017-3f46a5a4a084 h1:sZcRy4DXLquvwj/GBr9jE4NkQN3Vy+UK1eENbefxQ0w= -github.com/ava-labs/avalanchego v1.12.0-initial-poc.9.0.20241129153017-3f46a5a4a084/go.mod h1:8f6zzG+5CDDw8+Lxkz5ODe94I8ZH8kT4BTroCNtTATo= +github.com/ava-labs/avalanchego v1.12.0 h1:NBx0vSOY1dCT0PeJzojIhNhx0NMQNem4GgTEN+v8Sx4= +github.com/ava-labs/avalanchego v1.12.0/go.mod h1:yhD5dpZyStIVbxQ550EDi5w5SL7DQ/xGE6TIxosb7U0= +github.com/ava-labs/avalanchego v1.12.1-0.20241209214115-1dc4192013aa h1:8eSy+tegp9Kq2zft54wk0FyWU87utdrVwsj9EBIb/NA= +github.com/ava-labs/avalanchego v1.12.1-0.20241209214115-1dc4192013aa/go.mod h1:256D2s2FIKo07uUeY25uDXFuqBo6TeWIJqeEA+Xchwk= 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= diff --git a/scripts/versions.sh b/scripts/versions.sh index 2f7a86f576..33282d011a 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:-'3f46a5a4a084'} +AVALANCHE_VERSION=${AVALANCHE_VERSION:-'1dc4192013aa'} From 8fa3a613743af0e5f63b232fec3977a5c921b9fb Mon Sep 17 00:00:00 2001 From: Darioush Jalali Date: Tue, 10 Dec 2024 07:09:51 -0800 Subject: [PATCH 4/7] ammend notes --- RELEASES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index 9bdebdc145..de3f1bf7f0 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,7 +1,7 @@ # Release Notes ## [v0.13.9](https://github.com/ava-labs/coreth/releases/tag/v0.13.9) -- Bump avalanchego to v1.12.0 +- Bump avalanchego to a version greater than v1.12.0 - Remove unused historical opcodes CALLEX, BALANCEMC - Remove unused pre-AP2 handling of genesis contract - Fix to track tx size in block building From a86f05a69f89198e0404a0564a47a3bbefc3aaf4 Mon Sep 17 00:00:00 2001 From: Darioush Jalali Date: Tue, 10 Dec 2024 07:11:34 -0800 Subject: [PATCH 5/7] go mod tidy --- go.sum | 2 -- 1 file changed, 2 deletions(-) diff --git a/go.sum b/go.sum index 742d0de9e9..9ddf41790c 100644 --- a/go.sum +++ b/go.sum @@ -54,8 +54,6 @@ 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.12.0 h1:NBx0vSOY1dCT0PeJzojIhNhx0NMQNem4GgTEN+v8Sx4= -github.com/ava-labs/avalanchego v1.12.0/go.mod h1:yhD5dpZyStIVbxQ550EDi5w5SL7DQ/xGE6TIxosb7U0= github.com/ava-labs/avalanchego v1.12.1-0.20241209214115-1dc4192013aa h1:8eSy+tegp9Kq2zft54wk0FyWU87utdrVwsj9EBIb/NA= github.com/ava-labs/avalanchego v1.12.1-0.20241209214115-1dc4192013aa/go.mod h1:256D2s2FIKo07uUeY25uDXFuqBo6TeWIJqeEA+Xchwk= github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g= From 306ae3c409d63466ddd31fbbd3148acbe84befaf Mon Sep 17 00:00:00 2001 From: Darioush Jalali Date: Tue, 10 Dec 2024 10:20:26 -0800 Subject: [PATCH 6/7] bump version --- plugin/evm/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/evm/version.go b/plugin/evm/version.go index 6151bbbe8e..b4772b640e 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.9" + Version string = "v0.14.0" ) func init() { From e7c606aab285cbf767bdadd22fbcdf1f4b5c736a Mon Sep 17 00:00:00 2001 From: Darioush Jalali Date: Tue, 10 Dec 2024 10:22:21 -0800 Subject: [PATCH 7/7] update notes --- RELEASES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index de3f1bf7f0..6a088dac32 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,7 +1,7 @@ # Release Notes -## [v0.13.9](https://github.com/ava-labs/coreth/releases/tag/v0.13.9) -- Bump avalanchego to a version greater than v1.12.0 +## [v0.14.0](https://github.com/ava-labs/coreth/releases/tag/v0.14.0) +- Minor version update to correspond to avalanchego v1.12.0 / Etna. - Remove unused historical opcodes CALLEX, BALANCEMC - Remove unused pre-AP2 handling of genesis contract - Fix to track tx size in block building