Zahary Karadjov
e4ed51a144
Add nim-testutils
2020-02-24 15:39:50 +02:00
Ștefan Talpalaru
8b8a99135f
bump vendor/nim-eth
...
and improve htop processes in launch_local_testnet.sh
2020-02-23 01:56:29 +01:00
Ștefan Talpalaru
9922267ca2
Merge branch 'extip-in-enr' into devel
2020-02-23 01:55:14 +01:00
Zahary Karadjov
fa0f3b4468
Use the specified extip address in the advertised ENR records
2020-02-22 20:54:15 +02:00
Dustin Brody
425b0e13da
remove potential error condition in getAttestationTopic; subscribe to all topics in parallel; add test cases for larger-than-ATTESTATION_SUBNET_COUNT committee indexes
2020-02-21 19:44:03 +00:00
Dustin Brody
62584b633e
update relevant portions of attestation aggregation spec version; tweak inspector
2020-02-21 19:44:03 +00:00
Dustin Brody
a8567cafb5
mark out where/how AttestationData and Attestation construction are honest validator-compliant
2020-02-21 19:44:03 +00:00
Dustin Brody
32872c7ee6
bump spec version to 0.10.1 (more accurate than 0.10.0); fix inspector building
2020-02-21 19:44:03 +00:00
Dustin Brody
6c87af9aab
split attestation beacon topic per honest validator spec
2020-02-21 19:44:03 +00:00
Dustin Brody
bced5ca656
implement is_proposer(...)
2020-02-21 19:44:03 +00:00
Dustin Brody
4782ae06e6
implement get_committee_assignment(...) by spec transcription
2020-02-21 19:44:03 +00:00
acolytec3
fb771d52f0
Add android build prereqs
2020-02-21 19:43:00 +00:00
Ștefan Talpalaru
4fe49bc6e2
Merge branch 'implicit-subscribe' into devel
2020-02-21 20:32:46 +01:00
Dmitriy Ryajov
08915ed597
bump libp2p and increase bootstrap timeout
2020-02-21 12:03:19 -06:00
Ștefan Talpalaru
bd194da3d1
launch_local_testnet.sh: copy validator keys to nodes
2020-02-21 14:19:34 +01:00
Ștefan Talpalaru
c10d53faaf
bump submodules
2020-02-21 01:35:54 +01:00
Ștefan Talpalaru
fbb16d8aa3
bump vendor/nim-libbacktrace
2020-02-20 22:06:40 +01:00
Ștefan Talpalaru
ad36808b7d
Make: add USE_LIBBACKTRACE flag
2020-02-20 17:41:10 +01:00
Ștefan Talpalaru
571818495f
small modifications
...
- Jenkins: we don't need LOG_LEVEL=TRACE twice for the same binaries
- eth2_network_simulation: allow overriding NETWORK_TYPE and
BOOTSTRAP_NODE_NETWORK_TYPE from the environment
2020-02-20 16:17:55 +01:00
Jacek Sieka
c25f8d4adf
sqlite kvstore backend ( #749 )
2020-02-20 11:49:34 +01:00
Zahary Karadjov
9e58e22761
[skip ci] remove an obsolete comment
2020-02-20 10:58:38 +02:00
cheatfate
5742299c94
Fix freezes in connection initialization.
2020-02-20 10:58:38 +02:00
Ștefan Talpalaru
60fdde6368
Merge branch 'testnetCI' into devel
2020-02-19 13:00:21 +01:00
Zahary Karadjov
880b981a0a
Don't wait for 10 seconds when connecting to the network
2020-02-19 12:45:34 +02:00
Zahary Karadjov
55886ff0ac
More proper fix replacing hotfix 052a6ac3bc
...
nim-eth was bumped to take advantage of a fixed `==` for public eth keys
2020-02-19 11:59:38 +02:00
Zahary Karadjov
3b9e9fefa8
Make the persistent network keys compatible with the Go daemon
...
The daemon requires its key file to be encoded as ProtoBuf value
with a proper `key scheme` discriminator.
2020-02-19 10:58:10 +02:00
Zahary Karadjov
1b1cd915db
Support ENR boot records with the Go daemon
2020-02-19 10:26:32 +02:00
Ș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