From 59ba3dd5184fa06da8eab8de7390785c792b81fc Mon Sep 17 00:00:00 2001 From: gileri Date: Sun, 12 May 2024 23:34:00 +0200 Subject: [PATCH] go-ethereum: 1.13.5 -> 1.14.3 --- nixos/doc/manual/release-notes/rl-2405.section.md | 8 ++++++++ pkgs/applications/blockchains/go-ethereum/default.nix | 10 ++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md index a43e8f26cabe7..8528b334d37ba 100644 --- a/nixos/doc/manual/release-notes/rl-2405.section.md +++ b/nixos/doc/manual/release-notes/rl-2405.section.md @@ -534,6 +534,14 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m - `icu` no longer includes `install-sh` and `mkinstalldirs` in the shared folder. +- The `go-ethereum` package has been updated to v1.14.3. Geth v1.14.0 introduced a brand new live-tracing feature, + which required a number of breaking internal API changes. If you had your own native tracers implemented before this change, + the [changelog](https://github.com/ethereum/go-ethereum/blob/master/core/tracing/CHANGELOG.md) contains the necessary steps needed to update your old code for the new APIs. + Geth v1.14.0 drops support for running pre-merge networks ([#29169](https://github.com/ethereum/go-ethereum/pull/29169)). + It also stops automatically constructing the pending block ([#28623](https://github.com/ethereum/go-ethereum/pull/28623)), + removes support for filtering pending logs, switched to using Go v1.22 by default (#28946), which means we've dropped support for Go v1.20. + See [the 1.14.0 release notes](https://github.com/ethereum/go-ethereum/releases/tag/v1.14.0) for more details. + ## Other Notable Changes {#sec-release-24.05-notable-changes} diff --git a/pkgs/applications/blockchains/go-ethereum/default.nix b/pkgs/applications/blockchains/go-ethereum/default.nix index f56fdb09a707b..028232f6cc707 100644 --- a/pkgs/applications/blockchains/go-ethereum/default.nix +++ b/pkgs/applications/blockchains/go-ethereum/default.nix @@ -9,16 +9,17 @@ let in buildGoModule rec { pname = "go-ethereum"; - version = "1.13.5"; + version = "1.14.3"; src = fetchFromGitHub { owner = "ethereum"; repo = pname; rev = "v${version}"; - sha256 = "sha256-UbRsY9fSUYAwPcLfGGDHeqvSsLKUKR+2a93jH5xA9uQ="; + sha256 = "sha256-h2i/q4gfvqO8SgFxjoIhm4y0icpt+qe0Tq+3W6Ld8KM="; }; - vendorHash = "sha256-dOvpOCMxxmcAaticSLVlro1L4crAVJWyvgx/JZZ7buE="; + proxyVendor = true; + vendorHash = "sha256-ugoRsxzJjPOS5yPhwqXhMPuThvyqCWvZD7PBnrkm0sQ="; doCheck = false; @@ -32,12 +33,13 @@ in buildGoModule rec { subPackages = [ "cmd/abidump" "cmd/abigen" + "cmd/blsync" "cmd/bootnode" "cmd/clef" "cmd/devp2p" + "cmd/era" "cmd/ethkey" "cmd/evm" - "cmd/faucet" "cmd/geth" "cmd/p2psim" "cmd/rlpdump"