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" = {
32 machine.wait_for_unit("geth-mainnet.service")
33 machine.wait_for_unit("geth-testnet.service")
34 machine.wait_for_open_port(8545)
35 machine.wait_for_open_port(18545)
38 'geth attach --exec "eth.blockNumber" http://localhost:8545 | grep \'^0$\' '
42 'geth attach --exec "eth.blockNumber" http://localhost:18545 | grep \'^0$\' '