Commit Graph

746 Commits

Author SHA1 Message Date
Zahary Karadjov d3f88929da Integrate nim-prompt 2019-10-07 23:56:34 +09:00
Dustin Brody 4c0b2a9a32
implement beacon_pending_deposits, beacon_processed_deposits_total, beacon_previous_validators, and beacon_current_validators metrics (#478)
* implement additional beacon_current_validators and beacon_previous_validators metrics

* tentatively implement beacon_pending_deposits additional metric

* implement beacon_processed_deposits_total additional metric
2019-10-06 04:31:50 +00:00
Dustin Brody 1a62c122d8
Finish remaining required interop metrics (#477)
* implement beacon_finalized_root, beacon_current_justified_root, and beacon_previous_justified_root interop metrics
2019-10-03 18:16:25 +00:00
Dustin Brody 255980c9f6 fix issue #367 and remove too-small range type usage for ValidatorIndex 2019-10-03 16:41:25 +03:00
Dustin Brody 2122bb44c9
implement beacon_finalized_epoch, beacon_current_justified_epoch, and beacon_previous_justified_epoch (#476) 2019-10-03 10:36:31 +00:00
Yuriy Glukhov 2b7b7b1471 Deposit contract script additions (#455)
* Deposit contract script additions

* Cleanup/cosmetics
2019-10-03 09:21:28 +00:00
Jacek Sieka 2a28a95cfc update test as well 2019-10-02 12:27:51 +03:00
Jacek Sieka f111a6a444 fix attestation being added twice to block (fixes #361) 2019-10-02 12:27:51 +03:00
Jacek Sieka b8ddb776ca fix attestation selection when calculating rewards and penalties
Previously, the we'd use the first source attestation regardless if it
matches the filter or not leading to the wrong minimum being used
2019-10-02 12:17:02 +03:00
Jacek Sieka 3e3ed79874 sign the right attestation data 2019-10-02 12:11:47 +03:00
Zahary Karadjov 806836714a Add an accidentally forgotten fix 2019-10-01 17:50:13 +03:00
mratsim f19dc27c52
Use https instead of requiring SSH token with clone rights - closes #444 2019-10-01 16:42:51 +02:00
Jacek Sieka 4fd5af6d05
multinet: fix lodestar startup 2019-10-01 16:26:17 +02:00
Eugene Kabanov 13bde5aee3 Add gossipsub messages monitoring tool. (#458)
* Add gossipsub messages monitoring tool.

* Add support of bootstrap nodes file.

* Move topic constants to spec/network.nim.

* Add ability to monitor custom topics.
2019-10-01 15:52:28 +02:00
Mamy Ratsimbazafy 48d22d53dc
Ensure that we use the interop deposit signatures (#467)
* Ensure that we use the interop deposit signatures

* Add all interop keys to the test
2019-10-01 15:44:38 +02:00
Dustin Brody 9fa6e3db0c
minor tweak to avoid build error (#465) 2019-09-30 19:39:14 +00:00
Ștefan Talpalaru 5f02f42658
fix typo [skip ci] 2019-09-29 16:22:18 +02:00
Ștefan Talpalaru 1664565934
replace the AppVeyor badge with the Azure one [skip ci] 2019-09-29 16:19:58 +02:00
Jacek Sieka 66f03f491f
log raw incoming gossip data 2019-09-28 21:20:09 +02:00
Jacek Sieka e984ecb64f
fix readme 2019-09-28 21:18:30 +02:00
Jacek Sieka 2b20bf9bed
ncli: move to separate folder 2019-09-28 18:23:02 +02:00
Zahary Karadjov 66984c44ce Another innocent fix from the interop branch 2019-09-27 23:29:58 +03:00
Zahary Karadjov a336285922 Fix a potential OOB error in SSZ deserialization 2019-09-27 23:29:58 +03:00
Zahary Karadjov c39d4f1817 Fix an overflow in the justification bits processing 2019-09-27 23:29:58 +03:00
Jacek Sieka 5a1a878bbd
multinet: script fixes 2019-09-27 19:42:53 +02:00
Zahary Karadjov ff0281c9db
Merge the latest multinet scripts from the interop branch 2019-09-27 19:17:03 +03:00
Zahary Karadjov 1555efd9d8
Implement the latest modification of the spec 2019-09-27 19:10:37 +03:00
Zahary Karadjov 37043f0d91
Handle gracefully a pre-mature closing of a libp2p stream by another peer 2019-09-27 19:10:24 +03:00
Zahary Karadjov b5fad0c9e8
Add more diagnostic for crashes during SSZ serialization 2019-09-27 19:07:22 +03:00
Zahary Karadjov 2bbe2cb23c
Implement the outputBootstrapNodes option (taken from the interop branch) 2019-09-27 19:05:17 +03:00
Zahary Karadjov b56c96a4fd
Support downloading SSZ genesis files with curl 2019-09-27 18:59:28 +03:00
Zahary Karadjov 5152c42c8e
Don't crash hard on P2P daemon errors during the initial connection 2019-09-27 18:58:51 +03:00
Jacek Sieka 73a8456d67
Merge pull request #460 from status-im/testnet-maintaince-scripts
Testnet maintaince scripts
2019-09-27 15:27:59 +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
Mamy André-Ratsimbazafy c1918d1253 bump again for unary var having precedence over | for tpe constraint 2019-09-26 17:53:59 +03:00
Mamy André-Ratsimbazafy c6c4cf82dd bum blscurve to fix in-place init signature - f9a29c2af9 2019-09-26 17:53:59 +03:00
Mamy André-Ratsimbazafy 90b20fab52 Domain is now array[8, byte] instead of uint64 2019-09-26 17:53:59 +03:00
Mamy André-Ratsimbazafy 5619f9e4e6 update nim-blscurve to integrate the Domain changes 2019-09-26 17:53:59 +03:00
Jacek Sieka 6d7af234c7
Merge pull request #454 from status-im/justification-finalization-unit-tests
Fix and activate the justification and finalization unit tests.
2019-09-26 13:41:08 +02:00
Mamy André-Ratsimbazafy 763e296731
Fix and activate the justification and finalization unit tests. 2019-09-24 16:56:12 +02:00
Ștefan Talpalaru ff5e4c2f26
Merge branch 'azure' 2019-09-23 18:42:07 +02:00
Ștefan Talpalaru a0156ae850
add azure-pipelines.yml 2019-09-23 18:32:34 +02:00
Mamy Ratsimbazafy a7a1f78499
Fix TRACE chronicles_log_level (#451) 2019-09-23 17:00:10 +02:00
Mamy Ratsimbazafy b100ceef56
Add detailed finalization and justification debug logs (#449)
* Add detailed finalization and justification debug logs

* log was wrongfully reporting rule 123 instead of rule 12
2019-09-23 15:48:26 +02:00
Mamy Ratsimbazafy 0b68f3dc63
[Interop branch] Log improvements - part 1 (#439)
* use service/category/process for blockpool logs
Only track fork choice logs in block pool (vs beacon_node)
Reduce verbosity on usual event in block pool

* rework beacon node logs

* log for attestations in blockpool

* log - att pool improvement

* use logScope and topics cf review and discussion

* use 7 letters for beacon_node

[log] report peers at slot start + fix bracket prefix [Block pool] Attestation sent
2019-09-23 11:35:41 +02:00
Mamy Ratsimbazafy 6be5805462
Enable more tests (#442)
* enable all sanity slots tests

* enable more tests in sanity blocks

* win64 strikes again #435

* workaround invalid handle in win64 CI

* empty_epoch_transition_not_finalizing only valid in minimal preset

* sanity block ETH1 data votes are also minimal only
2019-09-12 17:28:33 -04:00
Ștefan Talpalaru 1f05e1cdb2
README: minimum Git version [skip ci] 2019-09-12 18:33:23 +02:00
Mamy Ratsimbazafy aed770d34b
Bump nim-serialization to potentially solve #435 (#436)
* Bump nim-serialization to include https://github.com/status-im/nim-serialization/pull/10 and maybe solve #435

* bump again - https://github.com/status-im/nim-serialization/pull/12

* fix null pointer dereference if stream is empty: https://github.com/status-im/nim-serialization/pull/13

* pull https://github.com/status-im/nim-serialization/pull/15, hopefully the last bump
2019-09-12 09:48:03 -04:00