Lighthouse: Cannot start local test network using scripts/local_testnet

Created on 27 Nov 2020  路  1Comment  路  Source: sigp/lighthouse

Description

I want to spin a local testnet following the instructions here, but the script beacon_node.sh fails.

Version

I'm building from stable branch.

Present Behaviour

The script beacon_node.sh fails with the message:

$ ./beacon_node.sh
error: The argument '--testnet-dir <DIR>' cannot be used with '--network <network>'

USAGE:
    lighthouse beacon_node --auto-compact-db <auto-compact-db> --datadir <DIR> --debug-level <LEVEL> --dummy-eth1 --enr-address <ADDRESS> --enr-tcp-port <PORT> --enr-udp-port <PORT> --eth1-blocks-per-log-query <BLOCKS> --http --http-address <ADDRESS> --http-port <PORT> --listen-address <ADDRESS> --metrics-address <ADDRESS> --metrics-port <PORT> --network <network> --port <PORT> --target-peers <target-peers> --testnet-dir <DIR>

For more information try --help

Surprisingly there is no --network argument in the failing script.

Expected Behaviour

The scripts to start a test network should be working. There is no --network parameter in the scripts but still fails with this error message:

error: The argument '--testnet-dir <DIR>' cannot be used with '--network <network>'

Might be related to this issue?

bug

Most helpful comment

I can reproduce this. I'll take it

>All comments

I can reproduce this. I'll take it

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paulhauner picture paulhauner  路  5Comments

wschwab picture wschwab  路  3Comments

paulhauner picture paulhauner  路  5Comments

michaelsproul picture michaelsproul  路  4Comments

JustinDrake picture JustinDrake  路  3Comments