git.iko.soy/typeable/nixpkgs
on master help sign in
erigon: 2021.05.02 -> 2021.08.01
commita74eaeba5a3b5ba416c848929930045ddda914e4 authorDavid Terry <me@xwvvvvwx.com> dateTue 8 Jun 2021, 15:41 (5 years ago) parentc708f2f
4 files changed+22−8
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml+7 nixos/doc/manual/release-notes/rl-2111.section.md+2 pkgs/applications/blockchains/erigon.nix+12−8 pkgs/top-level/aliases.nix+1
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml+7
@@ -167,6 +167,13 @@
167167 from 1.0.4 to 3.0.1
168168 </para>
169169 </listitem>
170+ <listitem>
171+ <para>
172+ The <literal>erigon</literal> ethereum node has moved to a new
173+ database format in <literal>2021-05-04</literal>, and requires
174+ a full resync
175+ </para>
176+ </listitem>
170177 <listitem>
171178 <para>
172179 <literal>services.geoip-updater</literal> was broken and has
nixos/doc/manual/release-notes/rl-2111.section.md+2
@@ -52,6 +52,8 @@ pt-services.clipcat.enable).
5252
5353- The `staticjinja` package has been upgraded from 1.0.4 to 3.0.1
5454
55+- The `erigon` ethereum node has moved to a new database format in `2021-05-04`, and requires a full resync
56+
5557- `services.geoip-updater` was broken and has been replaced by [services.geoipupdate](options.html#opt-services.geoipupdate.enable).
5658
5759- PHP 7.3 is no longer supported due to upstream not supporting this version for the entire lifecycle of the 21.11 release.
pkgs/applications/blockchains/erigon.nix+12−8
@@ -1,29 +1,33 @@
1−{ lib, buildGoModule, fetchFromGitHub }:
1+{ stdenv, lib, buildGoModule, fetchFromGitHub }:
22
33buildGoModule rec {
4− pname = "turbo-geth";
5− version = "2021.05.02";
4+ pname = "erigon";
5+ version = "2021.08.01";
66
77 src = fetchFromGitHub {
88 owner = "ledgerwatch";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "sha256-7sTRAAlKZOdwi/LRbIEDKWpBe1ol8pZfEf2KIC4s0xk=";
11+ sha256 = "sha256-fjMkCCeQa/IHB4yXlL7Qi8J9wtZm90l3xIA72LeoW8M=";
1212 };
1313
14− vendorSha256 = "1d0ahdb2b5v8nxq3kdxw151phnyv6habb8kr8qjaq3kyhcnyk6ng";
14+ vendorSha256 = "1vsgd19an592dblm9afasmh8cd0x2frw5pvnxkxd2fikhy2mibbs";
1515 runVend = true;
1616
17+ # Build errors in mdbx when format hardening is enabled:
18+ # cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
19+ hardeningDisable = [ "format" ];
20+
1721 subPackages = [
18− "cmd/tg"
22+ "cmd/erigon"
1923 "cmd/evm"
2024 "cmd/rpcdaemon"
2125 "cmd/rlpdump"
2226 ];
2327
2428 meta = with lib; {
25− homepage = "https://github.com/ledgerwatch/turbo-geth/";
26− description = "Ethereum node and geth fork focused on scalability and modularity";
29+ homepage = "https://github.com/ledgerwatch/erigon/";
30+ description = "Ethereum node implementation focused on scalability and modularity";
2731 license = with licenses; [ lgpl3Plus gpl3Plus ];
2832 maintainers = with maintainers; [ d-xo ];
2933 };
pkgs/top-level/aliases.nix+1
@@ -874,6 +874,7 @@ mapAliases ({
874874 truecrypt = veracrypt; # added 2018-10-24
875875 tshark = wireshark-cli; # added 2018-04-25
876876 tuijam = throw "tuijam has been removed because Google Play Music was discontinued"; # added 2021-03-07
877+ turbo-geth = throw "turbo-geth has been renamed to erigon"; # added 20201-08-08
877878 uberwriter = apostrophe; # added 2020-04-23
878879 ubootBeagleboneBlack = ubootAmx335xEVM; # added 2020-01-21
879880 ucsFonts = ucs-fonts; # added 2016-07-15