Zahary Karadjov
52043a8fe7
Toledo genesis state
2020-11-10 00:56:46 +02:00
tersec
a010ef2061
update tests from v1.0.0-rc.0 to v1.0.0 ( #1976 )
2020-11-09 17:44:18 +00:00
Zahary Karadjov
2343934bc8
Add backwards compatibility target for signing_process
2020-11-09 14:40:06 +02:00
Zahary Karadjov
94e9ce3c1f
Add metadata for the toledo network
2020-11-09 11:38:52 +02:00
Jacek Sieka
aaf20c1554
bump libp2p ( #1963 )
2020-11-06 13:18:16 +01:00
Zahary Karadjov
18639c3eff
Don't require requests that might fail on non-archive Geth nodes
2020-11-03 23:23:10 +02:00
Jacek Sieka
ee663d9fc2
move libp2p back a few commits ( #1948 )
...
to see if it helps with connectivity issues
2020-11-03 17:04:16 +01:00
Jacek Sieka
937decb0e9
Revert "Gossip11 post audit ( #1917 )" ( #1947 )
...
This reverts commit 63173ab2c1
.
It appears the cluster is having trouble staying connected - since the culprit is unknown, this is a first step on the way to what was stable.
Notably, this does not fully revert libp2p itself, merely the gossip version.
2020-11-03 11:45:40 +01:00
nbc-bump-bot[bot]
446f8cc738
auto-bump nim-libp2p ( #1934 )
...
Co-authored-by: = <dryajov@users.noreply.github.com>
2020-11-01 23:04:05 +01:00
nbc-bump-bot[bot]
9e3ca74ee0
auto-bump nim-libp2p ( #1930 )
...
Co-authored-by: = <sinkingsugar@users.noreply.github.com>
2020-10-31 15:06:18 +09:00
Giovanni Petrantoni
63173ab2c1
Gossip11 post audit ( #1917 )
...
* bump libp2p gossip
* use gossip 1.1
* use proper libp2p commit hash
* switch to master libp2p, has audit fixes now
2020-10-30 14:26:35 +00:00
nbc-bump-bot[bot]
8d998a5a8b
auto-bump nim-libp2p ( #1914 )
...
Co-authored-by: = <dryajov@users.noreply.github.com>
2020-10-30 13:35:01 +01:00
Ștefan Talpalaru
2396417581
bump nim-libbacktrace ( #1799 )
...
so stack traces work with LTO
2020-10-27 13:09:03 +01:00
Eugene Kabanov
eee01a32d5
Regression fix of eth2_network_simulation on Windows. ( #1900 )
...
* Concentrate all sensitive writeFile/createPath calls in one place.
Fix eth2_network_simulation for Windows.
* Remove artifacts.
* fix import
Co-authored-by: Jacek Sieka <jacek@status.im>
2020-10-27 12:04:17 +01:00
Mamy Ratsimbazafy
677f099110
BLS signature v4 ( #1912 )
2020-10-27 09:37:04 +01:00
Kim De Mey
8102d5dc4d
Bump eth2-testnets for more discv5.1 bootstrap nodes on medalla ( #1911 )
...
And improve logging UX a bit by ignoring comments or newlines
2020-10-27 08:44:46 +01:00
Kim De Mey
756b62fdf5
Bump nim-eth to get UseDiscv51 flag ( #1895 )
...
* Bump nim-eth to get UseDiscv51 flag
* Switch medalla to discovery v5.1, other targets to v5.0
* Bump nim-eth for better discv5.1 logging
* Bump eth2-testnets for updated medalla bootnodes
2020-10-23 18:59:58 +02:00
tersec
decfd66a78
bump libp2p: seq[byte] message IDs and improve reject/ignore handling ( #1898 )
...
* bump libp2p: use seq[byte] message IDs and improve reject/ignore handling
* bump libp2p to pick up debug message details
2020-10-21 20:03:12 +00:00
tersec
a136c2e95a
bump libp2p; integrate pubsub.ValidationResult into extended validation ( #1893 )
2020-10-20 12:31:20 +00:00
Zahary Karadjov
dbc90e998a
Add Disc v5.1 bootstrap nodes for Zinken
...
Also prepares the Makefiles for supporting Medalla
through a separate binary
2020-10-18 12:44:52 +03:00
Zahary Karadjov
d98be078c3
Address #1690 Min password entropy
2020-10-16 19:34:26 +03:00
cheatfate
7ad59b1852
Bump nim-stew.
2020-10-15 20:18:33 +03:00
cheatfate
84fe294c00
Fix protection of data folder and security files using Windows ACL.
2020-10-15 20:18:33 +03:00
Zahary Karadjov
ce1fda1195
Store the deposits and the immutable validator data in Sqlite
2020-10-15 20:15:51 +03:00
Zahary Karadjov
e6320e5881
Address #1584 Don't keep all deposits in memory (persist them to disk)
2020-10-15 20:15:51 +03:00
Zahary Karadjov
8ce0fc3a89
Address #1687
...
This addresses the issues by detecting and rejecting keystores with
incorrect PBKDF2 and SCrypt params. It also bumps the version of
nim-json-serialization to include a bugfix for incorrect parsing
of json files featuring comments.
2020-10-15 20:15:51 +03:00
Mamy Ratsimbazafy
bcd9088114
Bump blscurve/blst (missed in #1775 ) ( #1870 )
2020-10-15 14:25:12 +02:00
Ștefan Talpalaru
1ae3fb90ba
Linux AMD64 binary distribution ( #1844 )
...
* Linux AMD64 binary distribution
The builds are reproducible, as long as our base Docker Hub image
remains available.
tl;dr: `make dist`
* use UTC dates
2020-10-15 12:19:41 +00:00
tersec
513ba72b9a
add v1.0.0-rc.0 support behind compile-time flag ( #1852 )
...
* add v1.0.0-rc.0 support behind compile-time flag
* keep runtime presets consistent
2020-10-13 17:21:25 +00:00
tersec
15c989f70d
bump eth2-testnets ( #1856 )
2020-10-12 12:40:01 +00:00
Zahary Karadjov
5bf2cd623a
Add a genesis state for zinken
2020-10-10 13:26:26 +03:00
Zahary Karadjov
00a8a68671
Address #1695
...
Better error messages when the beacon node is asked to listen on a
reserved port (0) or an already taken one.
2020-10-09 16:39:03 +03:00
Zahary Karadjov
d534570cf6
Use latest Zinken metadata (correct genesis time and bootstrap nodes)
2020-10-08 11:20:06 +03:00
Zahary Karadjov
b46c8410a6
Retire Spadina and prepare for the Zinken network
2020-10-07 18:12:21 +03:00
Mamy Ratsimbazafy
6b9090398e
[JSON-RPC] Prevent silent uint conversion ( #1819 )
...
* Prevent silent uint conversion
* bump json-rpc
2020-10-07 15:02:54 +02:00
nbc-bump-bot[bot]
078c626554
auto-bump nim-libp2p ( #1806 )
...
Co-authored-by: = <sinkingsugar@users.noreply.github.com>
2020-10-07 12:52:25 +02:00
Ștefan Talpalaru
e9b2253fac
bump nim-nat-traversal and nimbus-build-system ( #1824 )
...
* bump nim-nat-traversal and nimbus-build-system
The "clean-cross" target has been moved to the latter.
* Windows fix
2020-10-07 12:01:27 +02:00
Zahary Karadjov
aed291128a
Add support for starting from weak subjectivity checkpoints
...
Also removes the `genesis.ssz` file stored in the data folder.
The `medalla-fast-sync` target has been adapted to use the new features.
2020-10-07 09:32:03 +03:00
Zahary Karadjov
fec4b5014d
Address #1694
2020-10-06 15:46:22 +03:00
Jacek Sieka
f484d06f6b
bump json-rpc ( #1813 )
...
gets rid of ugly inf logs
2020-10-06 10:50:15 +02:00
cheatfate
5555d39ea9
Bump nim-stew.
2020-10-05 22:19:50 +03:00
cheatfate
c5c788a9db
Secure network key file and data directory.
2020-10-05 22:19:50 +03:00
Jacek Sieka
596600058a
bump nimcrypto ( #1802 )
2020-10-03 11:21:45 +02:00
Mamy Ratsimbazafy
b57693ec0d
Logging update ( #1795 )
...
* Fix discovery log message trigger
* Bump chronicles - include https://github.com/status-im/nim-chronicles/pull/89 for better NOTICE/WARNING color
2020-10-03 08:35:45 +02:00
nbc-bump-bot[bot]
7a5f389f64
auto-bump nim-libp2p ( #1738 )
...
Co-authored-by: = <sinkingsugar@users.noreply.github.com>
2020-10-03 08:21:38 +02:00
Zahary Karadjov
f5340998b9
Add a fuzzing test for the beacon node CLI parser
2020-10-02 12:42:32 +03:00
Mamy Ratsimbazafy
a455dc1bc0
Bump confutils to allow overriding CLI options https://github.com/status-im/nim-confutils/pull/22 ( #1781 )
2020-09-30 16:37:29 +02:00
Mamy Ratsimbazafy
98661914f1
Revert "bump nim-libbacktrace ( #1769 )" ( #1773 )
...
This reverts commit de1b3315e8
.
2020-09-28 22:37:18 +02:00
Ștefan Talpalaru
de1b3315e8
bump nim-libbacktrace ( #1769 )
...
* bump nim-libbacktrace
so it works with LTO
* macOS fix
2020-09-28 21:23:53 +02:00
Mamy Ratsimbazafy
9a39bda5f1
BLSCurve EIP2333 updates for Spadina (breaks old keystore recovery) ( #1742 )
...
* BLSCurve EIP2333 updates for Spadina (breaks old keystore recovery)
* Workaround blst.h and vect.h having conflicting definition of limb_t
2020-09-25 19:52:02 +02:00
Jacek Sieka
7837646079
anonymize libp2p messages ( #1756 )
...
* anonymize libp2p messages
* bump
2020-09-25 18:40:30 +02:00
Jacek Sieka
b3a9afa0b1
libp2p: limit max gossip writes ( #1739 )
...
* libp2p: limit max gossip writes
* bump
2020-09-24 19:03:17 +02:00
tersec
0eb53f2802
avoid unpacking phase 1 tests to reduce Azure CI disk usage ( #1736 )
2020-09-24 17:16:00 +02:00
Viktor Kirilov
410a72667b
fixed interop with geth after updating nim-web3
2020-09-24 16:07:57 +03:00
Mamy Ratsimbazafy
1f5b487fc6
Github Actions CI ( #1693 )
...
* Clean up PR + bump nimbus-build-system
* pcre on 32-bit + Improve env variable handling + cache mingw
* Add badge + fix setting env variable
* Auto cancel if commit becomes outdated
* fix shell for deriving env variable
* Add more cancellation points
* Add finalization tests to Github Action
* Fix case
* change cancel actions + fixes for windows and finalization
* have to use matrix variable for cache path/key
* ARCH_OVERRIDE=LATFORM issue rebuild cache
* Update scripts - deactivate workflows with identified issues + reactivate caching
* workaround mac getopt
* Disable all aAVX512f extensions (Error: invalid register for .seh_savexmm in Cygwin)
* Fix cross compile of libminiupmp #1723
* Cache fetch-dlls to avoid being a drag on nim-lang.org
* Fix windows downloading DLLs twice and set CFLAGS env variable for Linux32
* fix silly yaml mistake
* .
* reactivate win32 after https://github.com/status-im/nim-beacon-chain/pull/1726
* Comment out minimal tests for now
2020-09-24 13:45:34 +02:00
nbc-bump-bot[bot]
4ded755d32
auto-bump nim-libp2p ( #1732 )
...
Co-authored-by: = <arnetheduck@users.noreply.github.com>
2020-09-24 09:57:15 +02:00
nbc-bump-bot[bot]
d7bfef3c78
auto-bump nim-libp2p ( #1711 )
...
Co-authored-by: = <arnetheduck@users.noreply.github.com>
2020-09-24 07:26:56 +02:00
Jacek Sieka
e1c177cdd1
bump libp2p ( #1721 )
...
gossipsub 1.1 can be enabled with -d:nbc_gossipsub_11
2020-09-22 19:34:34 +02:00
Zahary Karadjov
73724b2c4b
Add attacknet-beta1-mc-0
2020-09-22 18:51:51 +03:00
Zahary Karadjov
10cfd1ec37
Adds the Spedina testnet; Upgrades the spec presets to spec v0.12.3
...
Other changes:
* Removed all references to Altona
* Refactored the Makefile to avoid code duplication
2020-09-22 18:51:51 +03:00
tersec
3190c695b0
minimal v0.12.3 update ( #1716 )
2020-09-21 15:58:35 +00:00
Jacek Sieka
f8e782fb5f
bump nim-eth ( #1708 )
...
fixes WAL file growth in sqlite - might cause nbc to freeze once for a
minute or two while clearing the wal
2020-09-21 11:07:59 +02:00
Jacek Sieka
59a3862f6f
bump nim-stew, get bitops intrinsics
2020-09-21 08:46:29 +02:00
Ștefan Talpalaru
2b6c287dbb
update: delete "nimcache" dirs ( #1706 )
2020-09-21 08:39:13 +02:00
Mamy Ratsimbazafy
ea4ec6a785
Upgrade blst ( #1682 )
...
* Bump BLST
* Test for https://github.com/supranational/blst/issues/22 regression
* Use SHA256 from BLST + bump nim-blscurve to reenable fno-tree-vectorize
* SHA256 on non-blst platforms import fixes
* import fixes again
* can't prefix with nimcrypto
* address review comment [skip ci]
* {.noInit.} on the digests
2020-09-18 16:55:55 +02:00
nbc-bump-bot[bot]
df685f0c12
auto-bump nim-libp2p ( #1659 )
...
Co-authored-by: = <arnetheduck@users.noreply.github.com>
2020-09-16 14:22:19 +02:00
nbc-bump-bot[bot]
88eb0c06c7
auto-bump nim-libp2p ( #1606 )
...
Co-authored-by: = <arnetheduck@users.noreply.github.com>
2020-09-15 16:17:25 +02:00
Eugene Kabanov
617c295839
Bump chronos to fix memory leaks. ( #1648 )
2020-09-15 11:45:00 +02:00
tersec
aca1a318f2
cleanly close kvstore databases and bump nim-eth ( #1630 )
...
* cleanly close kvstore databases
* close databases for all subcommands and during error conditions
2020-09-12 05:35:58 +00:00
Kim De Mey
5fff800cf8
Bump nim-eth to use lrucache for discovery sessions ( #1622 )
2020-09-11 17:46:48 +00:00
Eugene Kabanov
9db05c484d
Bump chronos to help investigate Index problem. ( #1625 )
2020-09-11 07:12:12 +02:00
Jacek Sieka
7c21fa983a
bump libp2p, introduce AsyncQueue BufferStream ( #1599 )
...
* Syncing workers now not bound to peers.
Sync status is now printed in statusbar.
* Add `SyncQueue.outSlot` to statusbar too.
* Add `inRangeEvent` and `rangeAge` parameter.
* Fix rangeAge is not depends on SyncQueue latest slot.
Fix syncManager to start from latest local head slot.
* Add notInRange event.
* bump libp2p, introduce AsyncQueue BufferStream
* bump
Co-authored-by: cheatfate <eugene.kabanov@status.im>
2020-09-10 08:22:39 +02:00
Jacek Sieka
4c3dd853e1
bump libp2p ( #1609 )
2020-09-07 14:17:15 +02:00
nbc-bump-bot[bot]
c5f8ef8e40
auto-bump nim-libp2p ( #1604 )
...
Co-authored-by: = <arnetheduck@users.noreply.github.com>
2020-09-05 08:28:03 +02:00
Jacek Sieka
f61fdf93d3
bump chronos ( #1598 )
...
* bump chronos
this reverts backwards-incompatible changes to CancelledError and
resores other functionality.
chronos metrics are lost and will need to be reimplemented.
* bump
2020-09-04 21:27:54 +02:00
Ștefan Talpalaru
aa3298f0ea
support spaces in $(MAKE) ( #1603 )
2020-09-04 08:33:37 +02:00
nbc-bump-bot[bot]
6000a49e84
auto-bump nim-libp2p ( #1484 )
...
Co-authored-by: = <arnetheduck@users.noreply.github.com>
2020-09-01 11:26:20 +02:00
tersec
d9f926b33d
bump nim-eth ( #1579 )
2020-08-31 10:50:48 +02:00
Ștefan Talpalaru
ecc70c6405
remove BUILD_LOG_LEVEL
2020-08-27 18:44:10 +03:00
Jacek Sieka
2081c4f505
avoid unnecessary seq allocations ( #1573 )
...
"sigh"
2020-08-27 08:32:51 +02:00
Zahary Karadjov
207397775b
Update the Nimbus bootstrap nodes
2020-08-26 21:22:21 +03:00
Ștefan Talpalaru
ab22bad188
bump vendor/nim-metrics ( #1565 )
2020-08-25 09:26:56 +02:00
Ștefan Talpalaru
ddd8489de0
bump vendor/nim-blscurve ( #1560 )
...
and log the BLS backend
2020-08-24 14:56:45 +02:00
Zahary Karadjov
8809f8d200
Implement 'wallets restore' and 'wallets list'; Update 'nextAccount' properly after making deposits multiple times
2020-08-22 00:16:18 +03:00
Ștefan Talpalaru
1d1e0217ca
bump vendor/nim-nat-traversal
2020-08-22 00:09:45 +03:00
Zahary Karadjov
2c19e3f8cd
[skip ci] Use GOSSIP_MAX_SIZE when snappy decoding in the inspector as well; Bumps
2020-08-19 14:33:52 +03:00
Zahary Karadjov
3433c77c35
Prevent Snappy decompression bombs
2020-08-19 10:13:04 +03:00
Zahary Karadjov
4cf54eadf9
Bump libp2p in order to restore interop with Lighthouse
2020-08-18 20:06:43 +03:00
Zahary Karadjov
17ca72cf55
Bump nim-libp2p
2020-08-17 17:24:36 +03:00
Jacek Sieka
8c56a01706
restore NBC finalization
...
the root cause is a deadlock where the bufferstream space is exhausted
and libp2p stops reading from the socket, eventually timing it out
2020-08-17 17:24:36 +03:00
Dmitriy Ryajov
87f983c639
use split out pubsub
2020-08-17 17:24:36 +03:00
Mamy Ratsimbazafy
454b9d0724
Bump nim-blscurve ( #1491 )
...
* Bump BLSCurve
* Use unified aggregation API
* use new blscurve with unified aggregate API
* bump
* fix toRaw
* replace state_sim combine with AggregateSignature
* Fix 32-bit
* Fix 32-bit for real and test deactivating ccache for fno-tree-lopp-vectorize flag
* change compilation switches to narrow down Linux issue
* Use -fno-tree-vectorize to disable both tree-loop-vectorize and tree-slp-vectorize
* blscurve now disables both Loop and SLP vectorization
* Add tests for the miracl/milagro fallback
* Travis has max log size of 4MB
* Test with Miracl in the finalization test
* fix state_sim log level
* Coment out the slow fallback tests
2020-08-15 19:33:58 +02:00
Eugene Kabanov
37cb0a2249
Bump nimcrypto ( #1492 )
2020-08-14 21:21:55 +02:00
Jacek Sieka
936440fccd
use libp2p peer events to track peer ( #1468 )
...
this resolves some peer counting issues that were happening because the
lifetime future in PeerInfo was unreliable (multiple PeerInfo instances
existed per peer)
In addition, this solves another race condition: when connecting to a
peer and later dialling that protocol, it is not certain that the same
connection will be used if there's a concurrent incoming peer connection
ongoing - better not make too many assumptions about who sent statuses
when.
2020-08-10 12:58:34 +02:00
Ștefan Talpalaru
cd0f4a2d23
bump vendor/nim-metrics
2020-08-09 16:38:30 +02:00
Ștefan Talpalaru
5e9c91381e
bump submodules ( #1472 )
...
* fork News
* bump submodules
2020-08-08 18:00:19 +02:00
nbc-bump-bot[bot]
3d39757321
auto-bump nim-libp2p ( #1461 )
...
Co-authored-by: = <arnetheduck@users.noreply.github.com>
2020-08-07 18:29:13 +02:00
nbc-bump-bot[bot]
8d14e0aca6
auto-bump nim-libp2p ( #1446 )
...
Co-authored-by: = <arnetheduck@users.noreply.github.com>
2020-08-06 12:45:14 +02:00
Jacek Sieka
6d3f1b93be
bump
2020-08-05 19:34:59 +03:00
Jacek Sieka
221f372dbc
use peer id in a number of places
2020-08-05 19:34:59 +03:00