Commit Graph

63 Commits

Author SHA1 Message Date
Mamy André-Ratsimbazafy 47ccae4ad6 Disable compilation of bench_bls_sig_agggregation 2020-03-13 12:20:41 +00:00
cheatfate abcc71daa0 Add logtrace to Makefile. 2020-03-11 17:26:30 +00:00
Ștefan Talpalaru 929fcf0036
eth2_network_simulation: propagate LOG_LEVEL [skip ci]
also add a "--log-level" option to launch_local_testnet.sh
2020-03-09 01:37:57 +01:00
Ștefan Talpalaru e533e9f344
Makefile: build libnfuzz in the default target 2020-03-05 18:56:07 +01:00
Ștefan Talpalaru 0b05fecedc
make SCRIPT_PARAMS="--skipGoerliKey" testnet1 2020-02-25 02:49:47 +01:00
Ștefan Talpalaru ad36808b7d
Make: add USE_LIBBACKTRACE flag 2020-02-20 17:41:10 +01: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
Ștefan Talpalaru 98160d3227
tests/simulation/start.sh: refactoring [skip ci]
to avoid NIMFLAGS duplication
2020-02-14 13:35:23 +01:00
Ștefan Talpalaru 06322385d9
lightweight stack traces
- plus some light test runner refactoring and some Makefile cosmetic changes
- compile tools with LOG_LEVEL=TRACE in CI
- bump a couple of submodules
2020-02-13 17:54:53 +01:00
Stefan Talpalaru 7feaa11372
make testnetX: propagate LOG_LEVEL to beacon_node runtime [skip ci]
This allows running `make LOG_LEVEL=TRACE testnet1` and having that log
level also enabled at runtime, not just at compile time.
2020-02-08 00:57:48 +01:00
Dustin Brody 79893cd241 rm ncli_signing_root 2019-12-17 00:06:03 +02:00
Jacek Sieka 784932274e
build inspector always 2019-12-15 18:46:20 +01:00
Ștefan Talpalaru c7f6b70e8a
Makefile: cosmetic changes 2019-12-04 15:40:36 +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 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
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 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
Ștefan Talpalaru d5f20846ad Jenkinsfile setup 2019-11-28 17:32:46 +02:00
Ștefan Talpalaru e46e9b12a2 remove last traces of git-lfs usage 2019-11-22 14:15:04 +00:00
Ștefan Talpalaru 69154f4885
Makefile: "testnetX" target cleans up by default, before starting [skip ci] 2019-11-14 22:45:47 +01:00
Ștefan Talpalaru 48d7f656b5
Makefile: fix clean-testnet* targets [skip ci] 2019-11-12 23:20:12 +01:00
Ștefan Talpalaru 6c021f8c12
connect_to_testnet.nims: fix warning and enforce verbosity [skip ci] 2019-11-12 15:57:33 +01:00
Ștefan Talpalaru 35da46cc3c
Makefile: "testnetX" targets verbosity level [skip ci] 2019-11-05 23:54:52 +01:00
Mamy Ratsimbazafy 753d5af447
Test vectors: use tarballs, allow multiple spec versions for progressive spec updates (#514)
* update test submodule [skip ci]

* rename the process_lfs script to setup_official_tests [skip ci]

* clarify that the existing LFS is for json files [skip ci]

* Update again to use download/unpack function library

* update the test downloading script [skip ci]

* Update EF fixtures with new test path

* fix symlink order

* Fix relative:absolute symlink issue

* add symlink existence check

* setup_official_tests.sh: refactoring
2019-11-01 09:44:16 +01:00
Zahary Karadjov efa6d2d08e
Fix some obsolete paths and delete obsolete scripts 2019-10-29 19:16:32 +02:00
Yuriy Glukhov 9d3889cbab
WIP Goerli testnet 2019-10-28 15:51:17 +02:00
Ștefan Talpalaru 3a2fc249a2
simulation: metric visualisation 2019-10-23 20:57:59 +02:00
Jacek Sieka 2b20bf9bed
ncli: move to separate folder 2019-09-28 18:23:02 +02:00
Ștefan Talpalaru f5b0474aa2
Makefile: define SHELL for when submodules haven't been fetched yet [skip ci] 2019-09-10 02:50:09 +02:00
Jacek Sieka ea8ef2d6ed
add p2pd to deps target 2019-09-05 14:30:24 +02:00
Ștefan Talpalaru 94ade77c99
move "go-checks" to nimbus-build-system [skip ci] 2019-09-05 13:58:42 +02:00
Ștefan Talpalaru 83e01b00aa
remove unused variable [skip ci] 2019-09-05 13:18:18 +02:00
Ștefan Talpalaru 33a9370c99
improve tests/simulation/start.sh and friends [skip ci] 2019-09-05 12:55:47 +02:00
Ștefan Talpalaru 9547553066
Makefile: "nat-libs" is now included in "deps" 2019-09-04 19:19:39 +02:00
Jacek Sieka 7b73b40bab interop updates
* add interop launcher scripts
* stick validator_keygen into beacon_node
* fix lmd ghost slot number on missing block
* use mocked eth1data when producing blocks
* use bls public key method for withdrawal credentials
* fix deposit domain
* prefer lowercase for a bunch of toHex
* build simulation binary in data folder to avoid data types confusion
2019-09-02 22:14:18 +03:00
Ștefan Talpalaru 60dfa7081b
move build_p2pd.sh to nimbus-build-system 2019-08-25 15:44:45 +02:00
Ștefan Talpalaru 5dc6f60b08
process_lfs.sh: better verbosity handling 2019-08-24 03:54:04 +02:00
Ștefan Talpalaru 69ac78b2e0 new build system and submodules
- better p2pd building, with CI caching
2019-08-23 14:36:29 +03:00
Ștefan Talpalaru 6a4d27f4ac
Makefile: allow disabling the LFS script 2019-08-14 23:53:48 +02:00
Ștefan Talpalaru 28efbbd70f
undo the Makefile change 2019-08-14 23:16:39 +02:00
Ștefan Talpalaru 94a819a5c7
Makefile: try to fix Go version detection in `sanity-checks`
- set the Go version to 1.12.x for Travis
2019-08-14 22:23:33 +02:00
Ștefan Talpalaru 7fff9a09fc handle LFS fixtures for the test suite (#339)
* handle LFS fixtures for the test suite

* test_fixture_ssz_static.nim: allow the tests to fail properly

- switch to a debug build for the failing tests

* try -d:debug
2019-08-14 13:19:17 +02:00
Ștefan Talpalaru 2e9004a1c9
Makefile: add "p2pd" as a dep for "$(TOOLS)"
This also covers "eth2_network_simulation" since it depends on a couple
of those tools.
2019-07-23 17:28:04 +02:00
Ștefan Talpalaru 44af08cc86
beacon node wrapper script
Bonus: `make NIMFLAGS="--stackTrace:on" testnet1` now works as expected
2019-07-11 13:52:59 +02:00
Ștefan Talpalaru d554374409
Makefile: mark the "p2pd" target as phony 2019-07-11 12:28:11 +02:00