1 import ./make-test-python.nix ({ pkgs, ... }: {
3 meta = with pkgs.lib; {
4 maintainers = with maintainers; [bachp ];
7 nodes.machine = { ... }: {
8 services.geth."mainnet" = {
14 services.geth."testnet" = {
28 machine.wait_for_unit("geth-mainnet.service")
29 machine.wait_for_unit("geth-testnet.service")
30 machine.wait_for_open_port(8545)
31 machine.wait_for_open_port(18545)
34 'geth attach --exec eth.blockNumber http://localhost:8545 | grep \'^0$\' '
38 'geth attach --exec "eth.chainId()" http://localhost:18545 | grep \'"0x5"\' '