kdeme
769225b591
Bump nimbus-build-system to use nim-1-2-6-RC1-hotfixed
...
This should practically solve the segfaults we have been seeing in
issue #2134
2021-03-04 23:00:44 +02:00
nbc-bump-bot[bot]
9408a9af1c
auto-bump nim-libp2p ( #2373 )
...
Co-authored-by: = <arnetheduck@users.noreply.github.com>
2021-03-04 10:14:00 +01:00
Mamy Ratsimbazafy
5d7f9c3a04
Consensus object pools [reorg 4/5] ( #2374 )
...
* Add documentation
* make test doesn't try to build the beacon node :/
2021-03-04 10:13:44 +01:00
tersec
4278e80657
document two uint64 -> int64 conversions ( #2375 )
...
* document two uint64 -> int64 conversions
* fix minimal preset slot time & calculation
2021-03-04 10:13:23 +01:00
Jacek Sieka
c4edff504b
remove obsolete todo
...
issue has been fixed
2021-03-03 09:28:26 +01:00
Mamy Ratsimbazafy
2f17ac7b64
Move SSZ, deposit_contracts & eth1_monitor [reorg files 3/5] ( #2371 )
...
* move deposit_contract
* Move SSZ
* fix ssz import in tests
* move also eth1_monitor
* forgot to delete the original
* fix comma [skip ci]
* Fix "make" & tools imports
* Fix import
* Fix import again
* rename deposit_contract -> eth1
* Revert ssz move to subfolder
* path fixes [skip ci]
2021-03-03 07:23:05 +01:00
tersec
451cc03d76
datatypes spec ref url updates ( #2372 )
2021-03-02 17:31:34 +01:00
Mamy Ratsimbazafy
19775c1b22
Move tools ( #2370 )
...
* Delete tracing and styled stacktraces
* Move NBC tooling to ncli folder
* fix inspector import [skip ci]
* fix comma
2021-03-02 15:02:10 +01:00
tersec
2b5a3a6810
remove more int64 usage ( #2369 )
...
* remove more int64 usage
* explain loop bounds
2021-03-02 13:40:28 +00:00
Mamy Ratsimbazafy
3276dfc683
Consolidate modules by areas [part 1] ( #2365 )
...
* Move sync in subfolder
* move validator related thingies in validators
* fix binary builds
* update bounds comment [skip ci]
2021-03-02 11:27:45 +01:00
tersec
de643d9926
allow multiple hard fork datatypes to coexist ( #2328 )
...
* allow multiple hard fork datatypes to coexist
* update to 1.0.1
* merge recent datatypes.nim updates
* trigger rebuild now the out-of-disk-space machine offline
2021-03-02 10:13:39 +00:00
tersec
28e9568d3c
update docs to use v1.0.1 spec ref URLs ( #2368 )
2021-03-02 09:32:07 +01:00
tersec
5653b2e13c
more spec v1.0.1 spec ref URL and copyright year updates ( #2367 )
2021-03-02 06:04:14 +00:00
tersec
e661f7d0c7
prevent uint64 to int64-induced RangeError/RangeDefects in metrics ( #2358 )
...
* prevent uint64 to int64-induced RangeError/RangeDefects in metrics
* remove redundant min(foo, int64.high)
* adjust spacing to be consistent
2021-03-01 20:55:25 +01:00
Jacek Sieka
3f8764ee61
fix replays stalling processing ( #2361 )
...
* fix replays stalling processing
Occasionally, attestations will arrive that vote for a target derived
either from the finalized block or earlier. In these cases, Nimbus would
replay the state transition of up to 32 epochs worth of blocks because
the finalized state has been pruned, delaying other processing and
leading to poor inclusion distance.
* put cheap attestation checks before forming EpochRef
* check that attestation target is not from an unviable history with
regards to finalization
* fix overly aggressive state pruning removing the state close to the
finalized checkpoint resulting in rare long replays for valid
attestations
* log long replays
* harden logging and traversal of nil BlockSlot
* simplify target check
no need to lookup target in chain dag again
* fixup
* fixup
2021-03-01 20:50:43 +01:00
Jacek Sieka
3e2c0a220c
refactor slot loop ( #2355 )
...
* refactor slot loop
* fix attestations being sent out early when _any_ block arrives (as
opposed to the block for the "correct" slot)
* fix attestations being sent out late when block already arrived
* refactor slot processing loop
* shutdown if clock moves backwards significantly
* fix docs
* notify caller whether the block actually arrived
2021-03-01 17:36:06 +01:00
nbc-bump-bot[bot]
965972dd0b
auto-bump nim-libp2p ( #2360 )
...
Co-authored-by: = <sinkingsugar@users.noreply.github.com>
2021-03-01 10:26:16 +00:00
Mamy Ratsimbazafy
8dcea299d0
Migrate audit tasks from Notion ( #2363 )
2021-03-01 11:22:35 +01:00
Mamy Ratsimbazafy
08f063aba9
[RFC - Doc] State of Nimbus block & attestation flows ( #2351 )
...
* Expand documentation on block flow [skip ci]
* address review comments [skip ci]
* Update with GossipFlow out [skip ci]
* LocalBlockProposer -> LocalValidatorDuties + WeakSubjectivitySync
* First outline of attestation flow
* finish up prose
2021-03-01 11:22:16 +01:00
tersec
9c241f805b
don't trigger doppelganger detection on old attestations ( #2364 )
2021-03-01 10:09:05 +00:00
nbc-bump-bot[bot]
037a3e8946
auto-bump nim-libp2p ( #2359 )
...
Co-authored-by: = <sinkingsugar@users.noreply.github.com>
2021-02-26 09:43:35 +00:00
tersec
97f7284e51
bump spec refs from v1.0.0 to v1.0.1 and update copyright years ( #2357 )
2021-02-25 13:37:22 +00:00
Dustin Brody
f14e7babb6
update eth2 specs to version v1.0.1
2021-02-25 14:21:59 +02:00
Ștefan Talpalaru
44a1263ece
fix Eth2Digest compile-time comparison
2021-02-25 14:20:26 +02:00
Ștefan Talpalaru
16abf2989b
bump NimYAML
2021-02-25 14:20:26 +02:00
Ștefan Talpalaru
22620afa8f
bump NimYAML for Nim-1.4 compatibility
2021-02-25 14:20:26 +02:00
nbc-bump-bot[bot]
45087f36bd
auto-bump nim-libp2p ( #2350 )
...
Co-authored-by: = <sinkingsugar@users.noreply.github.com>
2021-02-25 11:25:00 +00:00
Eugene Kabanov
8478345619
Bump nim-bearssl to include latest fixes in submodule repository and cacert.pem. ( #2354 )
2021-02-24 19:22:40 +01:00
Jacek Sieka
0dbc7162ac
startup cleanup
...
* fix several memory leaks due to temporaries not being reset during
init
* avoid massive main() function with lots of stuff in it
* disable nim-prompt (unused)
* reuse validator pool instance in eth2_processor
* style cleanup
2021-02-22 23:32:54 +02:00
Zahary Karadjov
3f6834cce7
Fix a crash occurring with --slashing-db-kind=both
2021-02-22 21:05:08 +02:00
Zahary Karadjov
f39491e8b4
Final 1.0.8 changelog tweaks
2021-02-22 17:36:54 +02:00
Zahary Karadjov
7e9648e52c
Use the latest Teku bootstrap nodes
2021-02-22 17:16:53 +02:00
Zahary Karadjov
5f62a3938e
v1.0.8
2021-02-21 21:28:28 +02:00
Zahary Karadjov
e1d6df1e5d
Continue using the V1 Slashing DB by default
2021-02-20 22:46:35 +02:00
Ștefan Talpalaru
ee3f466dfe
CI, dist: faster Nim compiler builds
2021-02-19 18:46:38 +02:00
Ștefan Talpalaru
786137ffb4
reinstate LOG_LEVEL
...
and introduce RUNTIME_LOG_LEVEL
2021-02-19 18:11:34 +02:00
Mamy Ratsimbazafy
5daafd480f
Slashing protection updates ( #2333 )
...
* Fix slashing protection always try to migrate at startup
* Add CLI option for dual DB
2021-02-19 17:18:17 +02:00
Sacha Saint-Leger
37838db82e
docs readme update ( #2346 )
...
* update nimbus book readme
* Revert "update nimbus book readme"
This reverts commit d568f0f7a3
.
* update docs readme
2021-02-19 15:59:40 +01:00
Mamy André-Ratsimbazafy
597374605a
Fork choice update for HF1
2021-02-19 15:57:20 +02:00
Sacha Saint-Leger
3d25f0db01
book updates ( #2345 )
...
* edit log rotation page
* update command line options
* add github edit button
2021-02-19 12:17:48 +01:00
tersec
a3a0df17f8
remove too-aggressive assertion ( #2343 )
2021-02-19 10:54:47 +00:00
Zahary Karadjov
5f924c0038
Bump modules; Compile with DEBUG logs by default
2021-02-19 08:44:13 +02:00
Jacek Sieka
ff94e1a212
Document log rotation ( #2327 )
...
* Document log rotation
* phrasing updates
Co-authored-by: Dustin Brody <tersec@users.noreply.github.com>
2021-02-18 07:57:41 +01:00
Ștefan Talpalaru
8ac8b15866
Docker: remove old fleet setup
...
These files have been replaced months ago, with another scheme inside
the "infra-nimbus" repo.
2021-02-16 19:19:59 +02:00
Dustin Brody
c7093c4ab5
show next attestation slot & wait time in Slot end log
2021-02-15 22:49:20 +02:00
Ștefan Talpalaru
f398720fc4
compile_nim_program.sh: bring back Nim warnings with V=0 ( #2325 )
2021-02-15 18:08:18 +01:00
Kim De Mey
aa29be288e
Bump eth2-testnets for updated LH bootstrap nodes ( #2322 )
2021-02-15 17:56:34 +01:00
tersec
5cab17dc1a
database state storage benchmarking via ncli_db ( #2312 )
...
* database state storage benchmarking via ncli_db
* more cleanups from immutable validator state branch
* unexport some eth2_network constants and remove unused variables/templates
* make two PeerScore constants public
2021-02-15 17:40:00 +01:00
Jacek Sieka
946608b572
bump json-rpc ( #2321 )
2021-02-15 13:47:57 +01:00
Ștefan Talpalaru
4bb90351f6
books: sanity checks and docs ( #2320 )
2021-02-15 08:33:49 +01:00