diff --git a/modules/nethermind/args.nix b/modules/nethermind/args.nix index 4925b4f11..d1701c8b3 100644 --- a/modules/nethermind/args.nix +++ b/modules/nethermind/args.nix @@ -122,5 +122,14 @@ with lib; { description = "If 'true' then Health Check endpoints is enabled at /health"; }; }; + + # https://docs.nethermind.io/fundamentals/configuration/#sync + Sync = { + FastSync = mkOption { + type = types.bool; + default = true; + description = "Whether to use the Fast sync mode (the eth/63 synchronization algorithm)."; + }; + }; }; } diff --git a/pkgs/nethermind/default.nix b/pkgs/nethermind/default.nix index 3d22c152b..7266f9000 100644 --- a/pkgs/nethermind/default.nix +++ b/pkgs/nethermind/default.nix @@ -12,13 +12,13 @@ }: let self = buildDotnetModule rec { pname = "nethermind"; - version = "1.31.0"; + version = "1.31.1"; src = fetchFromGitHub { owner = "NethermindEth"; repo = pname; rev = version; - hash = "sha256-lR/WHOR8idHYr0QDwgNSvaUBaBmEUXlXkXvKrRpxBl8="; + hash = "sha256-B86iVpDAztR9zZVBmMhN7M79PfpSXof4ny6iFb5GWpc="; fetchSubmodules = true; };