Jacek Sieka
23daa966be
better deserialization log
2020-05-20 15:41:02 +02:00
Zahary Karadjov
202bbbab6c
Bump some modules
2020-05-20 15:51:45 +03:00
Zahary Karadjov
52c3ebf631
Fuzzing tests for SSZ
2020-05-20 15:51:45 +03:00
Jacek Sieka
30f84224a4
create dumpdir in beaconnode binary
2020-05-20 11:03:24 +00:00
Dustin Brody
3fa2f70853
update all remaining beacon chain spec references from v0.11.1 and v0.11.2 to v0.11.3
2020-05-20 08:48:18 +00:00
Jacek Sieka
418888f1d0
use ethkeys to parse enr key
2020-05-20 07:35:34 +02:00
Ștefan Talpalaru
383b22795c
bump submodules ( #1043 )
2020-05-20 06:57:39 +02:00
Ștefan Talpalaru
c4462af4ab
beacon_node: graceful shutdown ( #1033 )
...
* beacon_node: graceful shutdown
* separate BeaconNodeStatus and BeaconNode instances
2020-05-19 20:57:35 +02:00
Dustin Brody
f4d38611ef
check that process_slots() succeeds
2020-05-19 17:16:55 +00:00
Dustin Brody
6c941b1ff7
spec v0.11.3 update
2020-05-19 17:16:55 +00:00
Mamy Ratsimbazafy
c014f0b301
Split quarantine ( #1038 )
...
* split blockpool into hotDB and Quarantine
* Rename hotdb -> dag/candidate chains
2020-05-19 16:18:07 +02:00
Zahary Karadjov
a99977b772
Progress towards #991 ; Enable the distinct ssz.List type
2020-05-19 15:53:03 +03:00
Eugene Kabanov
ea95021073
Fix sync issues. ( #1035 )
...
* Fix sync issues.
* Add documentation about zero-point.
Add more comments about syncing loops.
Change to 4 blocks per request.
2020-05-19 14:08:50 +02:00
Jacek Sieka
4359147efc
fix snappy debug message
2020-05-19 09:23:17 +02:00
tersec
8432932c11
update to spec v0.11.2 to keep compatible with Schlesi ( #1036 )
...
* update to spec v0.11.2 to keep compatible with Schlesi
* update spec/state_transition_epoch spec references to v0.11.2
* bump other spec refs
2020-05-18 23:05:27 +00:00
Dmitriy Ryajov
398166369b
bump libp2p to latest master
2020-05-18 21:51:03 +00:00
Dmitriy Ryajov
0649d47df0
use proper transport flags
2020-05-18 21:51:03 +00:00
Jacek Sieka
a1689f2aaf
error when snappy frame is short
2020-05-18 21:15:04 +00:00
Jacek Sieka
6be7d64e8c
bump libp2p ( #1031 )
2020-05-18 10:11:21 +02:00
Zahary Karadjov
24a17f5814
Fix an RPC error in Lighthouse triggered by the getMetadata message
2020-05-16 09:56:13 +03:00
Ștefan Talpalaru
2f9dc31b2e
Merge pull request #1029 from status-im/makefiles
...
bump vendor/nimbus-build-system
2020-05-15 17:10:52 +02:00
tersec
74db0f3c8d
fix some XDeclaredButNotUsed hints ( #1027 )
2020-05-15 14:41:00 +02:00
Ștefan Talpalaru
c232fd0b3d
bump vendor/nimbus-build-system
2020-05-15 14:27:21 +02:00
Mamy Ratsimbazafy
1916e1d2da
Revive nbench ( #1022 )
...
* Fix nbench compilation with HashedBeaconState
* Add nbench to tooling
* use newClone - fix 265e01e404 (r425198575)
* Detail advance_slot and hashTreeRoot
* Report throughput
* Fallback for ARM
* windows does not support inline ASM
2020-05-15 00:54:10 +02:00
Ștefan Talpalaru
8b4065bc19
Jenkins: support running 2 parallel jobs on the same node ( #1025 )
...
* Jenkins: support running 2 parallel jobs on the same node
* try escaping $
2020-05-14 19:34:47 +02:00
Dustin Brody
2ddc507e5b
update datatypes v0.11.1 spec references to v0.11.2
2020-05-14 16:33:11 +00:00
Dustin Brody
d6c76f6b2f
re-enable all but the finalization tests for block pool in mainnet presets
2020-05-14 16:33:11 +00:00
Dustin Brody
2d691b2e14
bump spec ref versions
2020-05-14 16:41:46 +03:00
Dustin Brody
2db99545cd
allow inspector tool to log interop attestations
2020-05-14 16:41:46 +03:00
Dustin Brody
57519bebac
remove some unused imports, add tests for pubsub topics, and subscribe to interop attestations
2020-05-14 16:41:46 +03:00
Jacek Sieka
6c9e2d98a8
bump libp2p
2020-05-14 16:41:19 +03:00
Jacek Sieka
3c98f18d47
document snappy decompression assumptions
2020-05-14 16:41:19 +03:00
Jacek Sieka
a605c7244e
simplify libp2p snappy
...
* handle a few more exceptions gracefully (in libp2p also)
* unify libp2p varint parsing
* decompress directly into seq
* avoid seq slice
* stop oversized snappy processing earlier (lowers risk)
2020-05-14 16:41:19 +03:00
Mamy André-Ratsimbazafy
cdc866007d
workaround stack overflow in test_beacon_chain_db
2020-05-14 12:53:46 +00:00
Mamy André-Ratsimbazafy
e9ff9617df
Wrap all suite in a proc to avoid polluting globals
2020-05-14 12:53:46 +00:00
Viktor Kirilov
926d1c546e
updated news, also no longer allowing event handlers to raise anything other than a Defect in the Web3 API
2020-05-14 14:10:26 +03:00
Diederik Loerakker
be806e6801
API fixes - minimal changes to HTTP RPC for Eth2Stats support ( #1017 )
...
* add api for eth2stats
* fix chain head rpc
2020-05-14 11:18:08 +02:00
Zahary Karadjov
e537ed94d6
Bump some modules
2020-05-13 12:19:58 +03:00
Zahary Karadjov
75c1c6a95c
Enable Snappy by default (using LibP2P steams for now)
...
This refactors the newly added Snappy streaming back-ends trying to
make them more similar and to reduce the code duplication to a minimum.
2020-05-13 12:18:42 +03:00
Zahary Karadjov
f055fad08a
Make the Snappy FastStreams integration optional by duplicating it for LibP2P streams
2020-05-13 12:18:42 +03:00
Zahary Karadjov
3ecb197635
Memory-optimal hash_tree_root
...
The work on this was started last week while I was waiting
for a decision on the "Async Snappy" PR. It was prompted by
a failing test in the test suite, where the HashingStream
was inserting some incorrectly padded chunks that affected
the result of `hash_tree_root`. Instead of working around
the problem in the HashingStream, I've decided to implement
a planned optimisation that allows us to remove the hashing
stream altogether.
With the optimisation in place, `hash_tree_root` will now
use only stack memory and only the precise amount neccesary
to build the chunks-merging tree.
2020-05-13 12:18:42 +03:00
Zahary Karadjov
7e846a0bce
Implement sszSize
2020-05-13 12:18:42 +03:00
Zahary Karadjov
dbe0010504
Bump nim-snappy
2020-05-13 12:18:42 +03:00
Zahary Karadjov
15f0153441
Cosmetic improvements
2020-05-13 12:18:42 +03:00
Zahary Karadjov
e8a15aa0ce
Document the SSZ hashing stream
2020-05-13 12:18:42 +03:00
Zahary Karadjov
9538b60704
Integrate the async Snappy implementation
2020-05-13 12:18:42 +03:00
Zahary Karadjov
a739d7e8d6
Adapt SSZ to the latest FastStreams API
2020-05-13 12:18:42 +03:00
tersec
9ad05d44e4
reintroduce finalization verification to beacon node, because otherwise the consensus layer can get detached without noticing it ( #1013 )
2020-05-13 08:36:33 +00:00
Eugene Kabanov
da0b1a4993
Fix status handling. ( #1008 )
...
* Fix status handling.
Add log map of received blocks.
* Fix review comments.
Fix UnusedImport in sync_protocol.nim
2020-05-13 08:37:58 +02:00
Ștefan Talpalaru
010a00963f
Merge pull request #1011 from status-im/ene
...
remove potentially GC leak-inducing acyclicity tag
2020-05-12 23:29:45 +02:00