Merge pull request #156220 from B4dM4n/nixos-tests-geth
nixos/tests/geth: fix api check
This commit is contained in:
commit
5374a4a005
|
@ -31,7 +31,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||||
machine.wait_for_open_port(18545)
|
machine.wait_for_open_port(18545)
|
||||||
|
|
||||||
machine.succeed(
|
machine.succeed(
|
||||||
'geth attach --exec "eth.chainId()" http://localhost:8545 | grep \'"0x0"\' '
|
'geth attach --exec eth.blockNumber http://localhost:8545 | grep \'^0$\' '
|
||||||
)
|
)
|
||||||
|
|
||||||
machine.succeed(
|
machine.succeed(
|
||||||
|
|
Loading…
Reference in a new issue