8a72ae89b9
* fix mainnet finalization and swith eth2_network_simulation to a kind of small-mainnet profile * Fix slot reference in trace logging * bump a couple of spec refs from v0.11.0 to v0.11.1 * bump another spec ref to v0.11.1, one more try at Jenkins test vector download CI issue * fix other slot reference in trace logging and skip past single-block/multi-slot gaps to re-approach from ancestry side by state_transitioning, by requiring exact match on both root hash and slot for fast path * make more precise the fast path condition * redo logic to make uniform with BeaconChainDB; fix chronos deprecation warning * revert not-working replacement of deprecated chronos futures `or` * switch testnet1 to mainnet |
||
---|---|---|
.. | ||
README.md | ||
attach_validators.sh | ||
connect_to_testnet.nims | ||
depositContract.v.py | ||
launch_local_testnet.sh | ||
load-testnet-nim-flags.sh | ||
reset_testnet.sh | ||
reset_testnet0.sh | ||
reset_testnet1.sh | ||
setup_official_tests.sh | ||
testnet0.env | ||
testnet1.env |
README.md
Work in progress. Things may and probably will break for the foreseeable future. Do not rely on this for anything.
Connecting to Testnet
To connect to a short-lived testnet we may or may not have running at the moment, use the connect_to_testnet
script like so:
scripts/connect_to_testnet.sh testnet0
Running your own testnet
The beacon_node
binary has a createTestnet
command.
nim c -r beacon_chain/beacon_node \
--data-dir=$NETWORK_DIR/data \
createTestnet \
--validators-dir=$NETWORK_DIR \
--total-validators=$VALIDATOR_COUNT \
--last-user-validator=$LAST_USER_VALIDATOR \
--output-genesis=$NETWORK_DIR/genesis.ssz \
--output-bootstrap-file=$NETWORK_DIR/bootstrap_nodes.txt \
--bootstrap-address=$PUBLIC_IP \
--genesis-offset=600 # Delay in seconds
Replace ENV vars with values that make sense to you.
Full tutorial coming soon.
Maintaining the Status testnets
For detailed instructions, please see https://github.com/status-im/nimbus-private/blob/master/testnets-maintenance.md