Ștefan Talpalaru
f146b71197
testnet finalisation testing in CI (disabled)
2020-02-19 03:26:56 +01:00
Zahary Karadjov
052a6ac3bc
Hotfix: disable the bootstrap node connectivity check
...
This used to behave properly before the rebase, but currently
it forces the bootstrap node to exit, because it ends up being
launched with an ENR list telling it to connect to itself.
The root cause will be investigated in a follow-up PR.
2020-02-18 20:42:25 +02:00
Ștefan Talpalaru
48c2c5df38
tests/simulation/start.sh: Windows support
2020-02-18 17:53:05 +01:00
Zahary Karadjov
2d53f42fc4
Switch to the merged PR in Chronos and nim-eth
2020-02-18 12:53:49 +02:00
Zahary Karadjov
57811dce89
Don't log unwanted lines in beacon_node --help
2020-02-18 12:53:49 +02:00
Zahary Karadjov
b2d5aba749
Advertise the TCP port of the bootstrap node properly
2020-02-18 12:53:49 +02:00
Zahary Karadjov
2a3e40e298
Fix test_discovery_helpers
2020-02-18 12:53:49 +02:00
Zahary Karadjov
2c814db750
Temporary switch to supporting only ENR bootstrap addresses
...
Turns out the DiscV5 code relies heavily on the presence of ENR
records at the moment, so we cannot drive it with ENodes. @kdeme
is working on refactoring that will relax these requirements.
2020-02-18 12:53:49 +02:00
Zahary Karadjov
7f395e554a
WIP Working local network sim with discovery
...
* The bootstrap_nodes.txt file in the node's data dir is now optional
* Log more data on start-up
* Use the latest ENR APIs
* Fix simulation build errors
2020-02-18 12:53:49 +02:00
Zahary Karadjov
d2f59ebab9
Switch to ENR records in the bootstrap_nodes.txt file
2020-02-18 12:53:49 +02:00
Zahary Karadjov
94a0efd7f3
Add a test for ENR to ENode conversion
2020-02-18 12:53:49 +02:00
Zahary Karadjov
ee7c2c9dff
Unify the bootstrap nodes handling code
...
We no longer discriminate between ENR, MultiAddress or ENode
bootstrap records (all of them are remapped to ENodes).
The discovery loop will stochastically try to reconnect to
accidentally disconnected nodes.
2020-02-18 12:53:49 +02:00
Zahary Karadjov
4fb654f2af
Remove some SSZ compilation warnings
2020-02-18 12:53:49 +02:00
Zahary Karadjov
a620c83916
Handle status bar spanning multiple lines (relevant for the Tmux network sim)
2020-02-18 12:53:49 +02:00
Ștefan Talpalaru
ef29e11976
Merge branch 'bump2' into devel
2020-02-18 02:09:23 +01:00
Ștefan Talpalaru
14b207e22d
bump vendor/nim-libp2p
2020-02-18 01:13:53 +01:00
Dustin Brody
bde1eefdcf
improve option naming
2020-02-17 22:00:41 +00:00
Dustin Brody
e13846bec6
allow beacon_node to verify finalization when appropriate, and enable by default for make eth2_network_simulation
2020-02-17 22:00:41 +00:00
Mamy André-Ratsimbazafy
11bd8e6e80
Update nbench readme with new path
2020-02-17 15:26:11 +00:00
Mamy André-Ratsimbazafy
37446302b2
Use the new nim-eth2-scenarios path for the test vectors
2020-02-17 15:26:11 +00:00
Mamy André-Ratsimbazafy
59bfc1c7b5
Rebrand "fixtures" -> scenario + move to "vendor"
2020-02-17 15:26:11 +00:00
Ștefan Talpalaru
4d62f3f1e1
Merge branch 'simstart' into devel
2020-02-15 13:02:30 +01:00
Ștefan Talpalaru
e72dfeed73
nim-libbacktrace: don't build the C++ wrapper
2020-02-15 12:58:58 +01:00
Ștefan Talpalaru
98160d3227
tests/simulation/start.sh: refactoring [skip ci]
...
to avoid NIMFLAGS duplication
2020-02-14 13:35:23 +01:00
Ștefan Talpalaru
e5629ebc1f
bump vendor/nim-libbacktrace
2020-02-14 12:50:59 +01:00
Ștefan Talpalaru
7d774b908a
Dockerfile changes
2020-02-13 19:17:58 +01:00
Ștefan Talpalaru
e4f4b88b24
Merge branch 'libbacktrace' into devel
2020-02-13 17:57:04 +01:00
Ștefan Talpalaru
06322385d9
lightweight stack traces
...
- plus some light test runner refactoring and some Makefile cosmetic changes
- compile tools with LOG_LEVEL=TRACE in CI
- bump a couple of submodules
2020-02-13 17:54:53 +01:00
Ștefan Talpalaru
edf55a4dec
Merge branch 'azure' into devel
2020-02-12 15:19:45 +01:00
Ștefan Talpalaru
812386edd2
replace "-fno-asynchronous-unwind-tables" with "-mno-avx512vl"
2020-02-12 14:23:49 +01:00
Ștefan Talpalaru
39c57a49b1
Azure Pipelines: discard old NimBinaries cache
2020-02-12 12:05:04 +01:00
Ștefan Talpalaru
8c8fbbc003
Merge branch 'azure' into devel
2020-02-12 02:06:35 +01:00
Ștefan Talpalaru
1ce6d6bf31
fix Azure Pipelines 64-bit build
2020-02-12 02:05:24 +01:00
Ștefan Talpalaru
18234c031b
Mingw-w64 workaround
2020-02-11 23:52:20 +01:00
Ștefan Talpalaru
d8a8078a65
debug Azure Pipelines 64-bit failure
2020-02-11 23:36:20 +01:00
Ștefan Talpalaru
649d691081
bump submodules
2020-02-11 23:16:02 +01:00
Ștefan Talpalaru
b2b284dd25
fork NimYAML
...
because of https://github.com/flyx/NimYAML/issues/77
2020-02-11 22:21:07 +01: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
e54f738715
testnets: replace watchtower with direct container management [skip ci]
2020-02-11 17:45:52 +01:00
Dustin Brody
04f63da2cc
print messages for skipped tests
2020-02-11 15:38:41 +00:00
Dustin Brody
ebc8630d5a
finish conversion of manual iteration to automatic iteration over EF test vectors per section
2020-02-11 15:38:41 +00:00
Ștefan Talpalaru
d78a7f4a6a
Merge branch 'runtimeloglevel' into devel
2020-02-09 03:38:14 +01:00
Ștefan Talpalaru
9d1fb0fe97
Merge branch 'ci_testnet' into devel
2020-02-09 03:34:58 +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
Ștefan Talpalaru
a58fadea6d
CI: add "-d:testnet_servers_image"
2020-02-08 23:21:43 +01:00
Jacek Sieka
5cea471c4b
bump libp2p
2020-02-08 20:19:33 +01:00
Jacek Sieka
d99ce1bcf0
fix json compile
2020-02-08 19:42:45 +01:00
Stefan Talpalaru
7feaa11372
make testnetX: propagate LOG_LEVEL to beacon_node runtime [skip ci]
...
This allows running `make LOG_LEVEL=TRACE testnet1` and having that log
level also enabled at runtime, not just at compile time.
2020-02-08 00:57:48 +01:00
Jacek Sieka
521b0ed6ba
Clean 20200205 ( #729 )
...
* beacon node code cleanup
* rudimentary error checking on mainnet monitor
* start client even when sending deposit
* work around missing block number exception
* connect to testnet with web3 url
* pretty-print digests in json
2020-02-07 08:13:38 +01:00