Commit Graph

1030 Commits

Author SHA1 Message Date
Zahary Karadjov 6ae4070d3f Slightly safer testnet reset detection 2019-12-10 15:02:16 +02:00
Zahary Karadjov 98656377a3 Eliminate the code duplication in the LibP2P back-ends 2019-12-10 15:02:16 +02:00
Zahary Karadjov 889031453f The beacon node can be compiled with the LibP2P native back-end
This hasn't been tested yet even in local sim.
2019-12-10 15:02:16 +02:00
Jacek Sieka eea523a89e logging fixes
* don't log out-of-sync when there's no work to do
* small logging fixes
2019-12-10 10:18:30 +00:00
Zahary Karadjov 8ab0248209
Revert "tighten a few imports"
This reverts commit b24a9200d9.
2019-12-10 02:18:47 +02:00
Jacek Sieka b24a9200d9 tighten a few imports 2019-12-09 12:58:28 +00:00
Jacek Sieka ba933c9933
remove unusued file 2019-12-09 11:40:57 +01:00
Dustin Brody eef040954c remove unused hasSigningRoot(...); stop running time-consuming-but-stubbed-out tests; add timing for peer connection tests 2019-12-06 16:48:32 +00:00
Dustin Brody 362ef752dc dedeplicate some functions duplicated between libp2p_backend and libp2p_daemon_backend; remove some unused declared variables 2019-12-06 12:55:13 +00:00
Dustin Brody 5729ceb58e rename notice field 2019-12-06 12:12:59 +00:00
Dustin Brody 86f267bc5d switch debug to notice and add some contextual information 2019-12-06 12:12:59 +00:00
Ștefan Talpalaru 3d2fde0cd4 alternative prompt solution and noise reduction 2019-12-05 10:43:41 +00:00
Ștefan Talpalaru 40648b463a connect_to_testnet.nims: default to "n" on the interactive prompt [skip ci] 2019-12-05 10:43:41 +00:00
Dustin Brody 570de0839d measure/find slow tests (#624) 2019-12-05 11:27:00 +01:00
kdeme 5599c76d46
Update README.md with const_preset option [skip ci] 2019-12-05 10:07:07 +01:00
Ștefan Talpalaru c7f6b70e8a
Makefile: cosmetic changes 2019-12-04 15:40:36 +01:00
Dustin Brody c762c0232d render get_beacon_proposer_index(...) return value an option and remove overly aggressive assertion formerly causing crashes when missing validators (#617)
* render get_beacon_proposer_index(...) return value an option and remove overly aggressive assertion formerly causing crashes when missing validators

* follow addBlock(...) after refactoring

* [skip ci] fix typo
2019-12-04 11:49:59 +01:00
Dustin Brody 6b56e19572 initial refactor of testutil to delineate between less and more expensive dependencies; make now-monotonic timing available across test suite, not just in state_sim 2019-12-04 00:34:43 +02:00
Ștefan Talpalaru d39f961ecf
Merge branch 'jenkins' into devel 2019-12-03 23:09:51 +01:00
Ștefan Talpalaru 45e2e41c1a
change format of Unicode characters
This makes Azure Pipelines happy.
2019-12-03 23:02:36 +01:00
Ștefan Talpalaru 36e77856d5
Jenkins caching 2019-12-03 22:36:44 +01:00
Ștefan Talpalaru 0b783780be
third time's a charm 2019-12-03 20:39:54 +01:00
Ștefan Talpalaru 68fe8129d7
Azure: try another fix 2019-12-03 20:24:58 +01:00
Ștefan Talpalaru afb6aa4229
fix Azure 2019-12-03 20:11:28 +01:00
Mamy Ratsimbazafy 52cdb73e96
Fix instr when cloning from scratch (#621)
* Fix build instruction (make update deps is not enough on first install)

* use underline instead of bold

* Alternative fix

* Makefile: fix the default target on fresh clone

* fix ANSI escape code bleeding into my shell prompt
2019-12-03 19:52:54 +01:00
Ștefan Talpalaru 2ce2cbf869
Merge branch 'jenkins' into devel 2019-12-03 18:27:02 +01:00
Ștefan Talpalaru 115e708fbc
Jenkins: delete the workspace after a build 2019-12-03 17:43:00 +01:00
Ștefan Talpalaru f8e2496b06
bump vendor/nimbus-build-system [skip ci] 2019-12-03 17:18:35 +01:00
kdeme c4aebe423b
Update README.md with bls verification disable [skip ci] 2019-12-03 16:04:02 +01:00
kdeme 41841c7133 Add libnfuzz documentation [skip ci] 2019-12-03 15:08:03 +02:00
kdeme 5a51676a18 Address review comments 2019-12-03 14:33:47 +02:00
kdeme 3b3a2b10f1 First attempt to have some fuzz tests exported for the fuzzing framework 2019-12-03 14:33:47 +02:00
Zahary Karadjov a1198e5532
web3 fixes suggested by @yglukhov [skip ci] 2019-12-03 14:10:47 +02:00
Jacek Sieka afc0686b36 save ssz dummps during processing (#471) 2019-12-03 11:32:27 +00:00
Jacek Sieka c457904a61 avoid recursion when getting lmd ancestors 2019-12-03 13:24:16 +02:00
Zahary Karadjov a641331448
Reduce the sync-related tracing in the testnets [skip ci] 2019-12-03 13:07:43 +02:00
Zahary Karadjov ee2448b221 Simple validator onboarding
On your very first connection to each testnet, you'll be asked to
become a validator. Please consult our private repo for a Goerli
Eth1 private key that you can use for deposits.

Other changes:

* Added a simple wrapper ./connect-to-testnet script calling the
  nims file in the correct environment. No extension was used to
  make the command the same on Unix and Windows.

* Bumped a number of modules with fixes from this week

* `make testnet0` and `make testnet1` will no longer delete your
  existing database. This is considered a more appropriate behavior
  for testing forward sync.
2019-12-03 02:23:17 +02:00
zah 94f9658e7b Update README.md 2019-12-02 22:21:45 +02:00
Mamy Ratsimbazafy 68caaa4e39 Update README.md
Co-Authored-By: Jacek Sieka <jacek@status.im>
2019-12-02 22:21:45 +02:00
Mamy André-Ratsimbazafy 0d0e5ea080 add back archlinux instruction (note that pakku is broken and unmaintained) 2019-12-02 22:21:45 +02:00
Mamy André-Ratsimbazafy dcab811197 build instructions where missing make x2 2019-12-02 22:21:45 +02:00
Ștefan Talpalaru 7682a010a9 remove getCurrentExceptionMsg() 2019-12-02 22:06:42 +02:00
Dustin Brody e88e559caf render visible gradual validator emptying on catchup 2019-12-02 18:24:30 +02:00
Jacek Sieka 90212eed2a avoid producing blocks/attestations when out of sync
this is a temporary measure until we figure something better out - as it
stands, we'll advance with empty slots and crash because all validators
are out.
2019-12-02 15:26:42 +00:00
Ștefan Talpalaru fd55096ec3 nim.cfg: add "-d:nimOldCaseObjects" to work around confutils bug 2019-11-29 19:20:33 +00:00
Mamy Ratsimbazafy e7b0c8d8dd [Ready] README polish (#602)
* README polish

* Update README.md

Co-Authored-By: Jacek Sieka <jacek@status.im>

* Update README.md

Co-Authored-By: Jacek Sieka <jacek@status.im>

* Update README.md

Co-Authored-By: kdeme <kim.demey@gmail.com>

* Address comments
2019-11-29 15:39:46 +00:00
Ștefan Talpalaru 84c189fd1b Nim 1.0.4 (#604)
* Nim 1.0.4

* Azure: try to fix cache key

* mock_validator_keys.nim: fix index out of bounds

* Travis: make Nim building verbose
2019-11-29 10:17:18 +01:00
Jacek Sieka 2a728d9468 fix stack overflow in isAncestor recursion 2019-11-28 17:36:07 +02:00
Jacek Sieka c98a0d28ae add workaround for stack overflow on block add 2019-11-28 17:36:07 +02:00
Ștefan Talpalaru d5f20846ad Jenkinsfile setup 2019-11-28 17:32:46 +02:00