Viktor Kirilov
d9f9949ef0
use a separate process for the private keys (Off by default) - there is a new signing_process binary which loads all validators of the beacon node and the BN dictates through stdin of the signing process what to be signed and when and reads from stdout of the process
2020-09-02 12:47:00 +03:00
Zahary Karadjov
d58668157a
Use consistent naming for the synonyms 'deposits-dir' and 'validators-dir'
2020-08-02 23:00:43 +03:00
Zahary Karadjov
1def383ad1
Reword the Tmux setup to handle all simulation scenarios in more visible way
2020-06-22 17:30:04 +03:00
Zahary Karadjov
e9d68e2f7b
Add simulation mode that bootstraps from an Eth1 ganache instance
2020-06-22 17:30:04 +03:00
Zahary Karadjov
e3378e52ac
Distribute the keystore secret files to the testnet hosts
2020-06-11 17:40:08 +03:00
Zahary Karadjov
a8113cf2bc
Restore the local sim to a working state
2020-06-11 17:40:08 +03:00
Zahary Karadjov
17343442ea
Implement more of the KeyStore spec and integrate it in the beacon node
2020-06-11 17:40:08 +03:00
Ștefan Talpalaru
e2025c5752
Prometheus & Grafana refactoring
...
- moved "process_dashboard.nim" in "tools/"
- README: made Witti the documented testnet and added instructions for
getting metrics out of the local node
- moved Prometheus config file generation in its own script
- the static Grafana dashboard definition now covers all nodes, using
a variable; only the remote testnet dashboards need to be dynamically
generated
- "launch_local_testnet.sh" no longer needs a "--grafana" option
2020-06-10 19:55:26 +02:00
Ștefan Talpalaru
7c7b6fb361
Grafana: only show one node per page [skip ci]
...
by using Grafana variables to get dropdown menus
2020-06-07 01:42:54 +02:00
Ștefan Talpalaru
3a6a9f8135
generate Grafana dashboards for remote testnet nodes
2020-06-03 12:44:16 +03:00
Ștefan Talpalaru
82447e22b2
cleanup [skip ci]
2020-02-11 18:43:57 +01:00
Ștefan Talpalaru
8df447d497
Docker: optimise container beacon_node for server CPU [skip ci]
...
This means that we can no longer do "docker run" locally, so we compile
a local beacon_node with the same flags as the container one.
2020-02-11 18:41:25 +01:00
Ștefan Talpalaru
6007b01d47
testnet: don't use -march=native when building the Docker image [skip ci]
...
(because we run that Docker image both locally and remotely, we can't
use the server's "-march" either)
- reduce the genesis offset to 5 minutes
2020-02-09 03:22:42 +01:00
Zahary Karadjov
b1c247fa4a
Change the testnet servers domain names
2020-01-28 22:28:52 +02:00
Zahary Karadjov
7781536576
Handle the option of not resetting the network properly
2020-01-22 21:11:15 +02:00
Ștefan Talpalaru
13b9f61f6f
reset_testnet.sh: `make build` moved earlier [skip ci]
2020-01-13 14:48:19 +01:00
Ștefan Talpalaru
05f0950f41
cosmetic change [skip ci]
2020-01-13 14:40:40 +01:00
Ștefan Talpalaru
cc1c3f9181
reset_testnet.sh: restart the nodes [skip ci]
...
Watchtower seems broken, so we need to restart them explicitly.
2020-01-13 13:55:09 +01:00
Ștefan Talpalaru
c6f8fdab13
reset_testnet.sh: add newline [skip ci]
2020-01-13 13:37:50 +01:00
Ștefan Talpalaru
6e1b60de36
reset_testnet.sh: avoid "unbound variable" error [skip ci]
2020-01-13 13:21:22 +01:00
Ștefan Talpalaru
c39ca5b5c3
reset_testnet.sh: push the Docker image right after building it [skip ci]
...
and let Watchtower manage container restart
2020-01-13 12:58:16 +01:00
Zahary Karadjov
67991065d6
Cache the Nim build in docker; Use unique keys for the testnet bootstrap nodes
2019-11-19 02:05:46 +02:00
Zahary Karadjov
9af418c30d
Bugfix: the testnet nim flags were not being passed to Docker properly [skip ci]
2019-11-13 01:28:00 +00:00
Zahary Karadjov
f40675509a
Make all testnet env file values optional [skip CI]
...
Also removes some usages of SHARD_COUNT
2019-11-12 23:43:38 +00:00
Zahary Karadjov
5a6a8e9520
Finalizing setup for testnet1; Auto-restart of the docker containers after testnet resets
2019-11-12 19:08:12 +00:00
Zahary Karadjov
88010a1cd1
Allow running the reset_testnet script outside of the Nimbus env [skip ci]
2019-11-11 23:29:36 +00:00
Zahary Karadjov
13068c6b57
Safer testnet resets
...
* Delete the node database on all containers when resetting a testnet
* Add a simple mechanism for switching the URL of the eth2-testnets repo
* More flexible code for validator assignments
2019-11-11 23:29:36 +00:00
Ștefan Talpalaru
0794337ba6
simplify handling of eth2-clients/eth2-testnets repo [skip ci]
2019-11-07 21:10:59 +01:00
Ștefan Talpalaru
e8a64e4206
Dockerfile: less verbosity, faster build [skip ci]
2019-11-07 02:32:59 +01:00
Zahary Karadjov
efa063d4bc
Safer handling of the git operations in the eth2-testnets repo [skip ci]
2019-10-31 20:07:48 +02:00
Yuriy Glukhov
abbe4075fa
Fixed deposit contract deployment
2019-10-30 17:23:34 +02:00
Zahary Karadjov
068cc8066e
Store the testnet metadata in the official eth2-clients repo [skip ci]
2019-10-29 20:22:25 +02:00
Zahary Karadjov
efa6d2d08e
Fix some obsolete paths and delete obsolete scripts
2019-10-29 19:16:32 +02:00
Zahary Karadjov
1ef9f458ac
Remove hard-coded variables from the manage_testnet_hosts script
2019-10-29 19:16:32 +02:00
Zahary Karadjov
3da4d4f23a
Remove some obsolete code
2019-10-29 19:16:32 +02:00
Zahary Karadjov
f5fb4277b4
Testnet reset script fixes
2019-10-29 19:16:32 +02:00
Zahary Karadjov
f1ea0cec32
Add support for testnets with mixed quickstart/random deposits
2019-10-29 19:16:32 +02:00
Zahary Karadjov
734ab64da8
Unix-style command-line params for the 'deposit_contract' binary
2019-10-29 02:20:47 +02:00
Zahary Karadjov
ba0037738b
Removed all code related to the old network metadata files
...
Also switched to a more "standard" naming convention for the
command-line parameters.
2019-10-29 01:04:52 +02:00
Yuriy Glukhov
9d3889cbab
WIP Goerli testnet
2019-10-28 15:51:17 +02:00
Zahary Karadjov
df7531f9bf
More testnet scripts fixes cherry-picked from the interop branch
2019-09-26 19:07:38 +03:00
Zahary Karadjov
0eaa433e84
Automated scripts for resetting the Status testnets
...
For detailed instructions, please see
https://github.com/status-im/nimbus-private/blob/master/testnets-maintenance.md
2019-09-26 18:58:51 +03:00
Zahary Karadjov
e59bb6ecab
Switch testnet1 to the minimal preset, so it's compatible with interop clients
2019-09-26 18:58:51 +03:00
Jacek Sieka
65ff8f2886
remove networkId (unused)
2019-09-11 20:29:57 -04:00
Jacek Sieka
7b73b40bab
interop updates
...
* add interop launcher scripts
* stick validator_keygen into beacon_node
* fix lmd ghost slot number on missing block
* use mocked eth1data when producing blocks
* use bls public key method for withdrawal credentials
* fix deposit domain
* prefer lowercase for a bunch of toHex
* build simulation binary in data folder to avoid data types confusion
2019-09-02 22:14:18 +03:00
Zahary Karadjov
7d174b548a
Switch the testnet1 back-end to libp2p_native
...
Further simplifications and removal of support for multiple network
back-ends per testnet.
2019-06-24 19:38:19 +03:00
Zahary Karadjov
1bcd94a7da
Switch to a model where the testnets are stricly associated with a network back-end type
2019-06-24 05:34:22 +03:00
Zahary Karadjov
976438d7fc
reset all testnet flavours together
2019-06-24 05:34:22 +03:00
Zahary Karadjov
b3d23c052c
Switch to 30 seconds slot duration; UX improvements
...
* On the testnet site, the first N instead of the last N validators
will be considered reserved for users
* The number of validators is consistently named `totalValidators`
in all commands
* Proper keys are generated by default in validator_keygen
2019-03-27 18:13:39 +02:00
Zahary Karadjov
6629897567
We don't need the more complicated port setup anymore
2019-03-27 18:13:39 +02:00