Commit Graph

564 Commits

Author SHA1 Message Date
kdeme 2e5899c6d7 Bump nim-eth for discv5 fixes 2020-03-11 16:05:11 +00:00
Dmitriy Ryajov 50df0051a8 bumping libp2p to latest master 2020-03-11 10:02:28 -06:00
Jacek Sieka cf2dd002f6
bump stew 2020-03-10 12:54:06 +01:00
Jacek Sieka 1f1f06e8d9
Revert "bump modules"
This reverts commit e93bb880cf.
2020-03-06 23:46:34 +01:00
Jacek Sieka e93bb880cf
bump modules 2020-03-06 23:12:25 +01:00
Jacek Sieka 435ce15b04
bump modules 2020-03-05 17:52:26 +01:00
kdeme 02717a6354 Use randomNodes from discv5 instead of lookup 2020-03-05 13:17:34 +02:00
Zahary Karadjov 2623ac191f
Force the nodes in the local sim to announce 127.0.0.1 in discovery 2020-02-27 20:45:26 +02:00
Ștefan Talpalaru c2c570fcb0
bump submodules
plus a few small modifications
2020-02-26 01:14:20 +01:00
Zahary Karadjov e4ed51a144
Add nim-testutils 2020-02-24 15:39:50 +02:00
Ștefan Talpalaru 8b8a99135f
bump vendor/nim-eth
and improve htop processes in launch_local_testnet.sh
2020-02-23 01:56:29 +01:00
Zahary Karadjov fa0f3b4468
Use the specified extip address in the advertised ENR records 2020-02-22 20:54:15 +02:00
Dmitriy Ryajov 08915ed597 bump libp2p and increase bootstrap timeout 2020-02-21 12:03:19 -06:00
Ștefan Talpalaru c10d53faaf
bump submodules 2020-02-21 01:35:54 +01:00
Ștefan Talpalaru fbb16d8aa3
bump vendor/nim-libbacktrace 2020-02-20 22:06:40 +01:00
Jacek Sieka c25f8d4adf
sqlite kvstore backend (#749) 2020-02-20 11:49:34 +01:00
Zahary Karadjov 55886ff0ac
More proper fix replacing hotfix 052a6ac3bc
nim-eth was bumped to take advantage of a fixed `==` for public eth keys
2020-02-19 11:59:38 +02:00
Zahary Karadjov 2d53f42fc4 Switch to the merged PR in Chronos and nim-eth 2020-02-18 12:53:49 +02:00
Zahary Karadjov b2d5aba749 Advertise the TCP port of the bootstrap node properly 2020-02-18 12:53:49 +02:00
Zahary Karadjov 2c814db750 Temporary switch to supporting only ENR bootstrap addresses
Turns out the DiscV5 code relies heavily on the presence of ENR
records at the moment, so we cannot drive it with ENodes. @kdeme
is working on refactoring that will relax these requirements.
2020-02-18 12:53:49 +02:00
Zahary Karadjov d2f59ebab9 Switch to ENR records in the bootstrap_nodes.txt file 2020-02-18 12:53:49 +02:00
Zahary Karadjov a620c83916 Handle status bar spanning multiple lines (relevant for the Tmux network sim) 2020-02-18 12:53:49 +02:00
Ștefan Talpalaru 14b207e22d
bump vendor/nim-libp2p 2020-02-18 01:13:53 +01:00
Mamy André-Ratsimbazafy 59bfc1c7b5 Rebrand "fixtures" -> scenario + move to "vendor" 2020-02-17 15:26:11 +00:00
Ștefan Talpalaru e72dfeed73
nim-libbacktrace: don't build the C++ wrapper 2020-02-15 12:58:58 +01:00
Ștefan Talpalaru e5629ebc1f
bump vendor/nim-libbacktrace 2020-02-14 12:50:59 +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
Ștefan Talpalaru 1ce6d6bf31
fix Azure Pipelines 64-bit build 2020-02-12 02:05:24 +01:00
Ștefan Talpalaru 649d691081
bump submodules 2020-02-11 23:16:02 +01:00
Ștefan Talpalaru b2b284dd25
fork NimYAML
because of https://github.com/flyx/NimYAML/issues/77
2020-02-11 22:21:07 +01:00
Jacek Sieka 5cea471c4b
bump libp2p 2020-02-08 20:19:33 +01:00
Dmitriy Ryajov 0bc16518ed bumping libp2p to latest 2020-02-05 20:59:32 +01:00
Zahary Karadjov d634eba3fd
Produce a json log file in the data dir of each node in the local network sim 2020-02-04 16:09:21 +01:00
Ștefan Talpalaru 2a7ef4e5e5
Nim 1.0.6 2020-01-31 22:26:10 +01:00
Ștefan Talpalaru 28264aa293
Nim 1.0.6 RC 2020-01-31 22:26:07 +01:00
Zahary Karadjov 1f1a244f3f Implement more checks and wire up the invalid SSZ tests 2020-01-29 10:10:28 +02:00
Zahary Karadjov 70a387d1c7
Bump Chronos 2020-01-28 22:29:18 +02:00
Zahary Karadjov 257771d9af
Bump Chronos 2020-01-28 00:59:37 +02:00
Jacek Sieka 4568d290b4
result -> stew/result 2020-01-24 09:36:04 +01:00
Zahary Karadjov 9daa10ee6d Bump modules 2020-01-21 01:26:57 +02:00
Zahary Karadjov 4848b12050 Detect and use Lighthouse's boot_enr.yaml files 2020-01-21 01:26:57 +02:00
Zahary Karadjov 52878405b7 Integrate Discovery V5 and support ENR bootstrap records 2020-01-21 01:26:57 +02:00
Zahary Karadjov ff140689da Bump nim-libp2p and nim-eth (switched to enr branch) 2020-01-21 01:26:57 +02:00
Jacek Sieka 2a67ac3c05 trie -> kv store
* simplify data storage to key-value, tries are not relevant for NBC
* locked-down version of lmdb dependency
* easier to build / maintain on various platforms
2020-01-20 13:39:37 +00:00
Ștefan Talpalaru 6a9baf9688
bump vendor/nim-libp2p 2020-01-13 19:53:42 +01:00
Jacek Sieka 746659bdc6
bump stew, fix warnings (#655) 2019-12-20 14:25:33 +01:00
Jacek Sieka b994da78a7 Move some attestation/block logic out of beacon node
* state data cache in block pool
* keep head state around
* more attestation logic in attestation pool
* first fork choice tests (!)
* fix fork choice (it's still likely broken / out of date)
2019-12-19 16:17:45 +00:00
Ștefan Talpalaru bc8264a043
bump nim-eth & nim-nat-traversal 2019-12-12 02:35:15 +01:00
Ștefan Talpalaru 6dd54393ed
bump vendor/nim-nat-traversal 2019-12-10 16:46:31 +01:00
Jacek Sieka 2d5605524a
bump submodules 2019-12-10 15:52:15 +01:00
Jacek Sieka a3145f0f5c cleanups
* move stuff out of beaconnode
* fix use-after-free in query
2019-12-10 14:47:52 +00:00
Zahary Karadjov 10e6d4842f Local sim finalizes with native LibP2P 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
Ștefan Talpalaru f8e2496b06
bump vendor/nimbus-build-system [skip ci] 2019-12-03 17:18:35 +01: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 7682a010a9 remove getCurrentExceptionMsg() 2019-12-02 22:06:42 +02: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
Ștefan Talpalaru d5f20846ad Jenkinsfile setup 2019-11-28 17:32:46 +02:00
Zahary Karadjov 34ed2b0fa4 Bump nim-eth 2019-11-26 02:45:25 +02:00
Yuriy Glukhov 2e875ea17e Better connection error handling in MainchainMonitor 2019-11-25 13:45:53 +02:00
Ștefan Talpalaru 38077162b9
bump vendor/nimbus-build-system 2019-11-18 09:18:20 +01:00
Ștefan Talpalaru 99164bbfdd
bump vendor/nim-nat-traversal and vendor/nimbus-build-system 2019-11-14 17:52:01 +01: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
Zahary Karadjov ac5aabd569 Use the latest confutils 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
Ștefan Talpalaru 3192d1fb4d
bump vendor/nim-metrics 2019-11-10 18:57:51 +01:00
Ștefan Talpalaru c1a63035b9 beacon_node: "--version" option [skip ci]
fixes #466
2019-11-09 17:43:42 +00:00
Mamy André-Ratsimbazafy 9be6bfce35 bump nimyaml 2019-11-07 17:22:15 +00:00
Yuriy Glukhov 9b39c792d0 Revert f79f9deeb3 a0fbf5464a 94a9c51d8a (#523) 2019-11-06 16:56:54 +02:00
cheatfate 94a9c51d8a
Initial commit. 2019-11-06 16:41:23 +02:00
Ștefan Talpalaru 03f57aab43
bump vendor/nim-libp2p 2019-11-05 23:31:01 +01:00
Ștefan Talpalaru f8e8dc6c7a
bump vendor/nim-web3 2019-11-05 15:15:31 +01:00
Zahary Karadjov 14374504cf
Finalization experiements
* Switched to FloodSub
* Testnet0 switched to the minimal preset. All validators deployed on the master node.
2019-11-05 03:13:16 +02:00
Zahary Karadjov a6f350f35f
Bump modules 2019-10-30 18:35:52 +02:00
Yuriy Glukhov abbe4075fa Fixed deposit contract deployment 2019-10-30 17:23:34 +02:00
Ștefan Talpalaru f91918f1b6
bump vendor/nimbus-build-system 2019-10-29 16:10:05 +01:00
Ștefan Talpalaru c22d02e9a3
bump vendor/nimbus-build-system 2019-10-29 15:30:39 +01:00
Ștefan Talpalaru 18d32f4882
Merge branch 'master' of github.com:status-im/nim-beacon-chain 2019-10-29 15:16:29 +01:00
Ștefan Talpalaru bc9d0dd8de
bump vendor/nim-confutils 2019-10-29 15:16:13 +01:00
Zahary Karadjov f92db449e1
nims script for connecting to testnets published in the eth2-testnets repo
See https://github.com/ethereum/eth2.0-pm/pull/93 for more info
2019-10-29 01:07:31 +02:00
Zahary Karadjov ba0037738b
Removed all code related to the old network metadata files
Also switched to a more "standard" naming convention for the
command-line parameters.
2019-10-29 01:04:52 +02:00
Yuriy Glukhov 9d3889cbab
WIP Goerli testnet 2019-10-28 15:51:17 +02:00
Zahary Karadjov 1bcd045a2f
Bump modules 2019-10-28 15:00:25 +02:00
Zahary Karadjov 97fdb3399c
Switch to the final Nim v1.0.2 2019-10-28 15:00:25 +02:00
Zahary Karadjov e3380ea8f4
Bump modules 2019-10-28 15:00:25 +02:00
andri lim 47799a2b8a
bump stint 2019-10-28 15:00:25 +02:00
Zahary Karadjov 4bccbdce71
Use confutils compatible with Nim v1.0 2019-10-28 15:00:25 +02:00
Zahary Karadjov a876488075
Add nim-bearssl 2019-10-28 15:00:25 +02:00
Zahary Karadjov dfe3a6f0fb
Switch to Nim v1.0.2 2019-10-28 15:00:25 +02:00
Ștefan Talpalaru 3a2fc249a2
simulation: metric visualisation 2019-10-23 20:57:59 +02:00
Zahary Karadjov 021661180b
Use the latest nim-eth 2019-10-23 19:37:06 +03:00
Zahary Karadjov d3f88929da Integrate nim-prompt 2019-10-07 23:56:34 +09: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 5619f9e4e6 update nim-blscurve to integrate the Domain changes 2019-09-26 17:53:59 +03:00
Jacek Sieka ef92ea1321
bump modules 2019-09-11 20:29:51 -04:00
Zahary Karadjov c3adac44f2
Use Secp256k1 keys in accordance to the interop spec 2019-09-10 10:11:56 -04:00
Zahary Karadjov 9dec05f9c9 Sending chunked responses 2019-09-10 09:49:54 -04:00
Zahary Karadjov 2bbfa8c877 Changes related to the new ETH interop spec
* Hello is no longer a handshake message
  (all handshakes related code was deleted for clarity)

* Deal with the single-parameter inlining defined in the new spec
2019-09-10 09:49:54 -04:00
Yuriy Glukhov d4c480ff5f
Eth1 validators (#393) 2019-09-09 18:59:02 +03:00
Ștefan Talpalaru 026d569d8e bump go-libp2p-daemon to support Go 1.13 (#397)
* bump go-libp2p-daemon to support Go 1.13

* bump vendor/nimbus-build-system [skip ci]
2019-09-07 16:23:13 -04:00
zah 93cdb43f1e Integrate nim-metrics and add some metrics from the ETH2 spec (#394) 2019-09-07 19:48:05 +02:00
Ștefan Talpalaru 94ade77c99
move "go-checks" to nimbus-build-system [skip ci] 2019-09-05 13:58:42 +02:00
Ștefan Talpalaru 9547553066
Makefile: "nat-libs" is now included in "deps" 2019-09-04 19:19:39 +02:00
Ștefan Talpalaru 4d27a41924
move some submodules to nimbus-build-system 2019-08-28 15:16:44 +02:00
Ștefan Talpalaru 59fa03be89
process_lfs.sh: proper error message when `git-lfs` is missing
(and bump 2 submodules)
2019-08-27 17:01:19 +02:00
Ștefan Talpalaru 60dfa7081b
move build_p2pd.sh to nimbus-build-system 2019-08-25 15:44:45 +02:00
Ștefan Talpalaru c91727e7e5
bump submodules 2019-08-24 21:56:35 +02:00
Mamy André-Ratsimbazafy 39403ca39f
bump nim-serialization 2019-08-24 19:13:53 +02:00
Ștefan Talpalaru a19734e47f
bump vendor/nimbus-build-system 2019-08-23 20:26:35 +02:00
Ștefan Talpalaru fe18fcdc06
env.sh: exec -> source
bump vendor/nimbus-build-system
2019-08-23 19:07:50 +02:00
Ștefan Talpalaru 569985746a bump submodule 2019-08-23 14:36:29 +03:00
Ștefan Talpalaru 69ac78b2e0 new build system and submodules
- better p2pd building, with CI caching
2019-08-23 14:36:29 +03:00