tersec
1b3c19dc21
default to v0.12.1 beacon chain spec, keeping witti working ( #1222 )
...
* default to v0.12.1 beacon chain spec, keeping witti working
* a couple of fixes that help for the Onyx testnet
2020-06-23 19:40:44 +00:00
Ștefan Talpalaru
62d5b5995d
Makefile: don't delete "build" in the "clean" target
2020-06-23 18:49:41 +02:00
tersec
807b920c19
state_transition implements the spec fairly directly ( #1220 )
2020-06-23 13:54:24 +00:00
tersec
a683656238
send and validate with v0.12.1 attestations ( #1213 )
...
* send and validate with v0.12.1 attestations
* use EpochRef instead of empty cache in attestation validation
2020-06-23 10:38:59 +00:00
Eugene Kabanov
f60235b3e9
Attestation validator now populates list of missing blocks. ( #1211 )
2020-06-23 11:29:08 +02:00
Zahary Karadjov
eb48c05b7f
Don't assign validator keys to the bootstrap node; Ganache mode for launch_local_testnet
2020-06-23 07:59:35 +00:00
Ștefan Talpalaru
8cdb262189
Merge pull request #1218 from status-im/testnets
...
run 6 nodes per testnet [skip ci]
2020-06-22 22:11:44 +02:00
Ștefan Talpalaru
f3a8666bb3
run 6 nodes per testnet [skip ci]
2020-06-22 21:51:47 +02:00
Jacek Sieka
1d709c09f4
secp: requiresInit ( #1210 )
...
* secp: requiresInit
* bump
2020-06-22 21:40:19 +02:00
Zahary Karadjov
a2e28bef27
Further removal of enum support; Bump modules
2020-06-22 20:14:14 +03:00
Ștefan Talpalaru
c06682f588
Makefile: move "nat-libs" to "deps"
2020-06-22 17:08:29 +02:00
Zahary Karadjov
7211a99086
Smooth out the differences between Ganache and Infura; Working local sim and Altona target
2020-06-22 17:30:04 +03:00
Zahary Karadjov
14274587cf
More user-friendly logging during mainchain monitoring
2020-06-22 17:30:04 +03:00
Zahary Karadjov
e65c1f49ce
Allow Ganache to bundle more deposits in a single block
2020-06-22 17:30:04 +03:00
Zahary Karadjov
ffb613d3c6
Usability enhancements for Tmux
...
* Press 'q' to quit Tmux
* In case of errors, Tmux will wait for a keypress before closing a pane
2020-06-22 17:30:04 +03:00
Zahary Karadjov
01ea66f24e
Some documentation and better defaults
2020-06-22 17:30:04 +03:00
Zahary Karadjov
3d9aff5d23
Fix some logical typos introduced in the rebase
2020-06-22 17:30:04 +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
4275abbefe
Makefile targets for ctail and ntu
2020-06-22 17:30:04 +03:00
Zahary Karadjov
7d3160b0b5
Local sim now includes a prometheus server, a Ganache instance and a simulation dashboard server (in Tmux mode)
2020-06-22 17:30:04 +03:00
Dustin Brody
62a7e7fede
fix is_valid_indexed_attestation() to check for too-high attestation indices
2020-06-22 14:15:51 +00:00
Eugene Kabanov
47eaaa7696
Fix connection workers race. ( #1204 )
2020-06-21 18:49:48 +02:00
Jacek Sieka
a661ecbae1
bump libp2p ( #1209 )
2020-06-21 18:45:28 +02:00
Jacek Sieka
7e0e4dc327
don't crash on unknown disconnection reason, fix disconnection reason enum ( #1208 )
2020-06-20 09:24:33 +02:00
tersec
7b4e129316
re-add minimal constant checking; organize presets by spec version ( #1203 )
...
* re-add minimal preset constant checking; organize presets to better support multiple spec versions
* bump spec ref
* increase Azure timeout to 90 minutes to accomodate Nim compiler building
2020-06-20 09:12:45 +02:00
Ștefan Talpalaru
089b365c37
README: add comment
2020-06-19 18:12:27 +02:00
Dustin Brody
4ecbc655ea
switch 11 beaconstate.nim spec refs from v0.11.x to v0.12.1
2020-06-19 11:54:37 +00:00
Viktor Kirilov
72dfe7f578
- updated the validator shell script after the keystore changes
...
- better logging & retrying requests on the VC side if the BN fails for some reason
- VC now fetches the attestation duties 1 epoch in advance - in the future it will tell the BN to subscribe to the appropriate attestation topics in advance based on that info
- a bunch of other code cleanup & fixes such as better naming for consoles when using multitail, etc.
reviewed in PR #1184 - proper review of the API & VC are pending
2020-06-19 12:21:22 +03:00
tersec
dc1a565b3f
support v0.12.1 attestation topics in beacon node/inspector subscribing ( #1187 )
...
* support v0.12.1 attestation topics in beacon node and inspector subscribing
* bump is_valid_merkle_branch() spec ref
2020-06-18 15:10:25 +02:00
Eugene Kabanov
4436c85ff7
Forward sync refactoring. ( #1191 )
...
* Forward sync refactoring.
Rename Quarantine.pending to Quarantine.orphans.
Removing "old" fields.
* Fix test's FetchRecord.
* Fix `checkResponse` to not allow duplicates in response.
2020-06-18 12:03:36 +02:00
Dustin Brody
db870fead4
update 20 beacon chain protocol spec refs
2020-06-18 08:39:28 +00:00
Dustin Brody
e96a58b7d7
remove orphaned/unmaintained minimal preset test result summaries
2020-06-18 07:52:55 +00:00
Jacek Sieka
e813111b3b
peers rpc call
...
simple way to display nbc peer table
2020-06-18 07:29:20 +00:00
tersec
ee9f4a2e3f
remove skipMerkleValidation and skipBlockParentRootValidation ( #1197 )
2020-06-18 07:56:47 +02:00
Ștefan Talpalaru
a9c7e19450
Merge pull request #1195 from status-im/nbclog
...
connect_to_testnet.nims changes [skip ci]
2020-06-17 23:42:10 +02:00
Ștefan Talpalaru
5db3ee0af8
Merge pull request #1198 from status-im/CIpresets
...
disable "minimal" preset tests
2020-06-17 23:41:19 +02:00
Ștefan Talpalaru
6fc68bbee5
disable "minimal" preset tests
2020-06-17 19:41:59 +02:00
Ștefan Talpalaru
e61776b9ab
Merge pull request #1105 from status-im/Nim-1-2-2
...
Nim-1.2.2
2020-06-17 19:28:11 +02:00
Ștefan Talpalaru
3a3d3f9bde
timestamps in log files
2020-06-17 16:44:48 +02:00
Ștefan Talpalaru
673eeb6a65
connect_to_testnet.nims changes [skip ci]
...
- remove `--dev-build` option
- unconditionally write the "nbc.log" file, but do it after a chdir to
dataDir because Chronicles doesn't seem to support proper paths for
"file(...)" in sink definitions
- change base RPC port (9090 -> 9190) because 9090 is the default
Prometheus daemon listening port
2020-06-17 16:03:34 +02:00
Jacek Sieka
073046f8ab
bump libp2p
2020-06-17 13:21:12 +00:00
Ștefan Talpalaru
e072997e97
Nim-1.2.2
2020-06-17 14:42:22 +02:00
Dustin Brody
ffca27b45f
update 24 v0.11.x spec refs to v0.12.1
2020-06-17 12:11:03 +00:00
Jacek Sieka
8fbbd59885
metric names ( #1188 )
...
* fix metric names to not clash with native libp2p metrics
* run testnet node with rpc enabled by default
2020-06-17 13:04:24 +02:00
Dustin Brody
5b6ade043c
remove unused import
2020-06-17 09:25:54 +00:00
Dustin Brody
ec85a8bdbf
update a dozen unchanged spec refs to v0.12.1
2020-06-17 09:25:54 +00:00
Viktor Kirilov
00537b391c
updated news - includes a fix for the test suite of nim-web3
2020-06-17 11:15:55 +03:00
Ștefan Talpalaru
f7731b1be2
state/block_sim: spec version in filename ( #1171 )
...
* genesim_{const_preset}_{validators}_{SPEC_VERSION}.ssz
2020-06-16 22:34:34 +02:00
Dustin Brody
044ced53be
ensure SPEC_VERSION stays synchronized with actual spec tested
2020-06-16 15:43:40 +00:00