Merge pull request #156220 from B4dM4n/nixos-tests-geth

nixos/tests/geth: fix api check
This commit is contained in:
Pascal Bach 2022-01-26 13:31:17 +01:00 committed by GitHub
commit 5374a4a005
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(