about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@nextrem.ch>2022-01-26 13:31:17 +0100
committerGitHub <noreply@github.com>2022-01-26 13:31:17 +0100
commit5374a4a005be4022016c2627c8fb1605fdc83e66 (patch)
tree4f284476ddb775ddfbfc05cea521c71fde3dd109 /nixos
parenta10f2feb8ca29f455beb9ca664b493a010110b14 (diff)
parentaf628f46a1beaf74b1848593ee7ba200b4d4a67b (diff)
Merge pull request #156220 from B4dM4n/nixos-tests-geth
nixos/tests/geth: fix api check
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/geth.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/geth.nix b/nixos/tests/geth.nix
index 10cbd6d9038ca..af8230553bbbb 100644
--- a/nixos/tests/geth.nix
+++ b/nixos/tests/geth.nix
@@ -31,7 +31,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
     machine.wait_for_open_port(18545)
 
     machine.succeed(
-        'geth attach --exec "eth.chainId()" http://localhost:8545 | grep \'"0x0"\' '
+        'geth attach --exec eth.blockNumber http://localhost:8545 | grep \'^0$\' '
     )
 
     machine.succeed(