cheatfate
6e8a518077
Fix getPersistentNetIdentity() do not use daemon anymore.
...
Fix change PeerInfo to MultiAddress.
2019-11-12 23:43:38 +00:00
Ștefan Talpalaru
2630ffa058
nim.cfg: add comment [skip ci]
2019-11-13 00:22:21 +01:00
Ștefan Talpalaru
48d7f656b5
Makefile: fix clean-testnet* targets [skip ci]
2019-11-12 23:20:12 +01:00
Zahary Karadjov
048a786d7c
Fix the local simulation on Linux [skip ci]
2019-11-12 19:24:43 +00:00
Zahary Karadjov
92fb3d8233
Fix the local network sim when multitail is used
2019-11-12 19:08:12 +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
7fe18732d5
Bump confutils
2019-11-12 19:08:12 +00:00
Ștefan Talpalaru
39b326a5b6
Merge branch 'CI'
2019-11-12 19:03:16 +01:00
Ștefan Talpalaru
96baff297c
disable "--debugger:native" on macOS
2019-11-12 19:02:21 +01:00
Mamy André-Ratsimbazafy
a44925cd24
Enable testing of a third of the SSZ consensus objects (minimal and mainnet)
2019-11-12 15:57:27 +00:00
Mamy André-Ratsimbazafy
f14d4c4796
Remove the old SSZ tests [skip ci]
2019-11-12 15:57:27 +00:00
Dustin Brody
1f352bf440
fix trace compilation
2019-11-12 16:35:12 +01:00
Ștefan Talpalaru
f95af56bf7
Merge branch 'master' of github.com:status-im/nim-beacon-chain
2019-11-12 15:58:18 +01:00
Ștefan Talpalaru
6c021f8c12
connect_to_testnet.nims: fix warning and enforce verbosity [skip ci]
2019-11-12 15:57:33 +01:00
Dustin Brody
8e259368a3
flip all but 3 test fixtures to 0.9.1 test vectors
2019-11-12 14:49:26 +00:00
Dustin Brody
637054e765
stop downloading 0.8.3 test vectors
2019-11-12 14:49:26 +00:00
Dustin Brody
fb5d9edb7c
keep types consistent
2019-11-12 14:49:26 +00:00
Dustin Brody
d5ce142511
fix network sim finalization; remove get_attestation_data_slot(...); remove 2 more get_crosslink_committee(...) calls
2019-11-12 14:49:26 +00:00
Ștefan Talpalaru
6b22485197
32-bit Windows: use PAE to access more than 2 GiB of RAM
2019-11-12 15:34:12 +01:00
Ștefan Talpalaru
52035c676d
top level nim.cfg: add "--debugger:native"
2019-11-12 15:28:37 +01:00
Zahary Karadjov
07f0bd9378
Log the executable version at start-up [skip ci]
2019-11-12 00:05:59 +00:00
Zahary Karadjov
47940928a6
Reduce compilation differences between client and server nodes
2019-11-11 23:30:21 +00:00
Zahary Karadjov
ac5aabd569
Use the latest confutils
2019-11-11 23:29:36 +00:00
Zahary Karadjov
ed9cb274a2
Restore a change mysteriously lost during rebasing
2019-11-11 23:29:36 +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
7df6c241a7
Fix a strange build failure in the tests
2019-11-11 23:29:36 +00:00
Zahary Karadjov
f5e9b9a922
Allow running local nodes without attached validators
...
The number of user nodes is now specified with `USER_NODES`.
To make the instructions more stable, the "numeric id" of the user
nodes will be starting from 0 (so you can always use `run_node.sh 0`
to start a user node).
If you specify a node index above the total number of nodes, you'll
launch a node without any validators attached (this is useful for
testing the sync for example).
2019-11-11 23:29:36 +00:00
Zahary Karadjov
22591deced
Safer testnet restarts; Working CLI queries for inspecting the genesis states
...
When the connect_to_testnet script is invoked it will first verify that
the genesis file of the testnet hasn't changed. If it has changed, any
previously created database associated with the testnet will be erased.
To facilitate this, the genesis file of each network is written to the
data folder of the beacon node. The beacon node will refuse to start if
it detects a discrepancy between the data folder and any state snapshot
specified on the command-line.
Since the testnet sharing spec requires us to use SSZ snapshots, the Json
support is now phased out. To help with the transition and to preserve the
functionality of the multinet scripts, the beacon node now supports a CLI
query command that can extract any data from the genesis state. This is
based on new developments in the SSZ navigators.
2019-11-11 23:29:36 +00:00
Zahary Karadjov
a644839b79
Dynamic SSZ navigator
2019-11-11 23:29:36 +00:00
Zahary Karadjov
fb180a1313
A `query` CLI command for inspecting the state of the database (WIP)
2019-11-11 23:29:36 +00:00
Zahary Karadjov
9d858eef90
Switch testnet1 to a preset that is harder to finalize
2019-11-11 23:29:36 +00:00
Zahary Karadjov
627b60dc10
Use 4 validating nodes in testnet0
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
93d501cd43
Jenkinsfile
2019-11-11 22:16:17 +01:00
Dustin Brody
d457dfee81
switch all but 4 remaining callers to get_crosslink_committee(...) to get_beacon_committee(...)
2019-11-11 11:46:03 +00:00
Dustin Brody
568fa1dcb9
mark functions, constants, and data structures unchanged by 0.9.1 as such
2019-11-11 10:25:57 +00:00
Dustin Brody
949d735155
fix remaining test 0.9.0 test fixtures and switch back to non-transitiontest setup; remove get_committee_count(...); keep SHARD_COUNT consistent with MAX_COMMITTEES_PER_SLOT
2019-11-11 10:25:57 +00:00
Ștefan Talpalaru
3192d1fb4d
bump vendor/nim-metrics
2019-11-10 18:57:51 +01:00
Dustin Brody
cb4a86756b
update get_seed(...) and get_beacon_proposer_index(...) to 0.9.0, implement compute_proposer_index(...), and render 3 more test fixtures working ( #532 )
...
* update get_seed(...) and get_beacon_proposer_index(...) to 0.9.0, implement compute_proposer_index(...), and render 3 more test fixtures working
* rm stray Crosslink reference which prevented static SSZ tests from building
* remove references to removed tests in attestations test fixture; add minimal-preset block sanity test, plus all but one of mainnet tests for block sanity to transition fixtures
2019-11-10 01:03:41 +01:00
Dustin Brody
f02aa20873
innocuous phrasing change to trigger CI build
2019-11-09 18:52:48 +01:00
Ștefan Talpalaru
c1a63035b9
beacon_node: "--version" option [skip ci]
...
fixes #466
2019-11-09 17:43:42 +00:00
Mamy André-Ratsimbazafy
d92d90eb0f
add v0.9.1 fixtures
2019-11-09 10:03:11 +00:00
Dustin Brody
7e3fbbebd0
rename working_tests to more descriptive transition_0_9_0 tests
2019-11-08 13:23:08 +00:00
Dustin Brody
e1cdbb5516
fix typo
2019-11-08 13:23:08 +00:00
Dustin Brody
e984b2c932
mark is_valid_merkle_branch(...), process_justification_and_finalization(...), and process_rewards_and_penalties(...) as 0.9.0; update check_attestation(...) to 0.9.0; add 11 working test fixtures, having updated SSZ fixture directory to 0.9.0
2019-11-08 13:23:08 +00:00
Dustin Brody
275fb22c00
flip targeted spec version and ssz test fixtures to 0.9.0; almost completely update BeaconState to 0.9.0; update minimal and mainnet preset constants to 0.9.0; update process_proposer_slashing(...), get_attestation_deltas(...), and get_matching_head_attestations(...) to 0.9.0; mark process_final_updates(...) as 0.9.0
2019-11-08 13:23:08 +00:00
Dustin Brody
6bb63f3563
root out remaining Transfer references in ncli
2019-11-08 13:23:08 +00:00
Dustin Brody
6d860e1829
fix ncli build after removing Transfer
2019-11-08 13:23:08 +00:00
Dustin Brody
3bb95f571f
remove remaining Crosslink and CompactCommittee vestiges
2019-11-08 13:23:08 +00:00
Dustin Brody
61c2cf9415
rm get_compact_committees_root(...), Transfer, and references to 0.9-removed BeaconState.{active_index_roots,compact_committees_roots; temporarily disable genesis interop test pending 0.9 BeaconState
2019-11-08 13:23:08 +00:00