Skip to content

Commit

Permalink
Disable geth version check
Browse files Browse the repository at this point in the history
- Use nodejs 20 like nvmrc.
  • Loading branch information
sveitser committed Dec 13, 2023
1 parent ece147f commit 10e1d2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
go = prev."go_1_${toString goVersion}";
# Overlaying nodejs here to ensure nodePackages use the desired
# version of nodejs.
nodejs = prev.nodejs-18_x;
nodejs = prev.nodejs_20;
pnpm = prev.nodePackages.pnpm;
yarn = prev.nodePackages.yarn;
})
Expand Down
7 changes: 6 additions & 1 deletion ops/scripts/geth-version-checker.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#!/usr/bin/env bash

# Disable this check, we have nix, if necessary we can also find a nixpkgs
# commit with the right geth version, but at the moment we have only a minor
# version higher than `.gethrc` and that's likely to work.
exit 0

# Extract the version from the geth command output
GETH_VERSION="v$(geth version | grep '^Version:' | awk '{print $2}')"
Expand Down

0 comments on commit 10e1d2b

Please sign in to comment.