Jacek Sieka
24c435abae
libp2p: disable self triggering ( #3826 )
...
All message processing is done in the validation callbacks, so there's
no need to trigger data handlers for messages we publish - the
self-publish is async, and therefore has an associated cost
2022-06-30 11:54:49 +02:00
Jacek Sieka
c145916414
cleanups ( #3819 )
...
* avoid circular panda imports
* move deposit merkleization helpers to spec/
* normalize validator signature helpers to spec names / params
* remove redundant functions for remote signing
2022-06-29 18:53:59 +02:00
zah
f08f9e2bd7
Bump nim-json-rpc and nim-websock (use news by default) ( #3820 )
2022-06-29 17:35:09 +03:00
Zahary Karadjov
c75d39fc54
Merge stable into unstable
2022-06-29 11:33:59 +03:00
tersec
31772a2ac2
don't use JWT if one hasn't set up a JWT secret ( #3822 )
2022-06-29 07:36:22 +00:00
Zahary Karadjov
2444e9948f
Version 22.6.1
2022-06-29 01:08:56 +03:00
zah
fa7d7fcc42
Avoid overflow in the initial 'nextExchangeTransitionConfTime' calculation ( #3809 )
2022-06-29 00:58:57 +03:00
Eugene Kabanov
725b120bc3
Fix proper timing check for bellatrix epoch. ( #3807 )
2022-06-29 00:27:57 +03:00
tersec
b178999225
use eth_chainId instead of net_version ( #3804 )
...
* use eth_chainId instead of net_version
* Update beacon_chain/eth1/eth1_monitor.nim
Co-authored-by: Etan Kissling <etan@status.im>
* fix logging for Quantity types
Co-authored-by: Etan Kissling <etan@status.im>
2022-06-29 00:19:18 +03:00
tersec
baf38c3416
use JWT when and only when the user specifies a JWT secret explicitly ( #3786 )
2022-06-29 00:17:49 +03:00
tersec
3514d39fd2
bump nim-web3 for eth_chainId support ( #3785 )
2022-06-29 00:17:41 +03:00
Zahary Karadjov
5a44f347bc
Correct a typo in the release notes
2022-06-29 00:09:27 +03:00
tersec
2d2cda735b
bump nim-eth to fix Nim 1.6 warnings ( #3818 )
2022-06-28 22:56:48 +02:00
zah
c01341851d
Backticks in Github Actions YAML need escaping
2022-06-28 23:56:17 +03:00
Etan Kissling
bc1cc8f643
encapsulate LC config into one type ( #3817 )
...
Separate LC initialization options from the main ChainDAGRef options to
allow ChainDAGRef to treat them as opaque and reduce risk for conflicts
when extending those options in the future.
2022-06-28 22:52:29 +02:00
zah
2c3e47d7e6
Avoid overflow in the initial 'nextExchangeTransitionConfTime' calculation ( #3809 )
2022-06-28 23:50:40 +03:00
Jacek Sieka
ff12c7f9ce
remove web3 url prompt in launcher script ( #3810 )
...
* remove web3 url prompt in launcher script
The interactive prompt for web3 has outlived its utility as we now load
url:s from command line params and config files, preventing the prompt
from correctly detecting when it's needed.
Also, after the merge, a JWT secret will (likely) be needed.
* log notice when web3 url is missing
* fix docs to not mention default that doesn't exist
* fix scripts to properly quote arguments
2022-06-28 23:49:52 +03:00
Jacek Sieka
0152f4ade5
Make deb/rpm packages when creating release ( #3796 )
...
* Make deb/rpm packages when creating release
A step towards #3782
* fix arch for arm
2022-06-28 23:34:18 +03:00
Zahary Karadjov
45ad4abe30
TTD value for Sepolia
2022-06-28 19:25:11 +03:00
Zahary Karadjov
73227508db
Fix regressions in launch_local_simulation
2022-06-28 19:22:06 +03:00
Mamy Ratsimbazafy
c4e5cd9f06
update nim blscurve: use builtin EIP2333 for BLST https://github.com/status-im/nim-blscurve/pull/142
2022-06-28 15:11:20 +02:00
Nikolay Mitev
a48d741022
Update local-testnet-simulation with changes from kiln-dev-auth branch
2022-06-28 13:33:49 +02:00
Eugene Kabanov
d1581a2d8c
Fix proper timing check for bellatrix epoch. ( #3807 )
2022-06-28 10:21:16 +00:00
Etan Kissling
e8e9ce1aab
introduce types for LC merkle proofs ( #3808 )
...
Merkle proofs tend to have long underlying type definitions, e.g.,
`array[log2trunc(NEXT_SYNC_COMMITTEE_INDEX), Eth2Digest]`. For the
ones used in the LC sync protocol, dedicated types are introduced
to improve readability. Furthermore, the `CachedLightClientBootstrap`
wrapper that solely wrapped a merkle branch is eliminated.
2022-06-28 07:52:23 +02:00
tersec
fd2040ae04
increase Jenkins git timeout to 15 minutes ( #3813 )
2022-06-27 23:44:26 +00:00
tersec
5145c04be2
Revert "Switch back to nim-websock ( #3665 )" ( #3812 )
...
This reverts commit 8d3afd8285
.
2022-06-27 22:21:30 +00:00
tersec
1af053792c
bump merge-testnets for new sepolia TTD ( #3811 )
2022-06-27 22:23:49 +02:00
tersec
8de316ff73
use eth_chainId instead of net_version ( #3804 )
...
* use eth_chainId instead of net_version
* Update beacon_chain/eth1/eth1_monitor.nim
Co-authored-by: Etan Kissling <etan@status.im>
* fix logging for Quantity types
Co-authored-by: Etan Kissling <etan@status.im>
2022-06-27 15:02:12 +00:00
Jacek Sieka
8b6f05a146
vc: initial documentation ( #3798 )
...
* vc: initial documentation
bare-bones, but enough to get started
* fixup
* Apply suggestions from code review
* remove prater, link upgrade
* reword
2022-06-27 17:24:55 +03:00
Etan Kissling
91d543440a
add option to configure max historic LC data periods ( #3799 )
...
Adds a `--light-client-data-max-periods` option to override the number
of sync committee periods to retain light client data.
Raising it above the default enables archive nodes to serve full data.
Lowering below the default speeds up import times (still no persistence)
2022-06-27 13:24:38 +02:00
zah
b318a74d83
Add support for launching Geth and Nimbus-eth1 nodes in launch_local_testnet ( #3790 )
...
* Add support for launching Geth and Nimbus-eth1 nodes in launch_local_simulation
* Prevent undefined variables errors when Nimbus and Geth are not launched
Co-authored-by: Nikolay Mitev <github@hmel.org>
2022-06-27 11:34:12 +03:00
Etan Kissling
07f9936b33
bump nim-ssz-serialization to `f1b14875792df7b1e76c98c9ee669026d7cfe6bb` ( #3802 )
...
Update nim-ssz-serialization to get rid of a style check warning.
2022-06-26 23:17:40 +00:00
tersec
c02c383b91
bump nim-web3 so default payload status is safe ( #3801 )
2022-06-26 18:31:32 +00:00
Etan Kissling
aa1b8e4a17
bump nim-ssz-serialization to `3db6cc0f282708aca6c290914488edd832971d61` ( #3119 )
...
This updates `nim-ssz-serialization` to
`3db6cc0f282708aca6c290914488edd832971d61`.
Notable changes:
- Use `uint64` for `GeneralizedIndex`
- Add support for building merkle multiproofs
2022-06-26 19:33:06 +02:00
Jacek Sieka
b764f4f0d7
bump bearssl ( #3797 )
...
cross compile path fix
2022-06-24 22:45:26 +00:00
Etan Kissling
2e98c7722f
encapsulate LC data variables into single structure ( #3777 )
...
Combines the LC data configuration options (serve / importMode), the
callbacks (finality / optimistic LC update) as well as the cache storing
light client data, into a new `LightClientDataStore` structure.
Also moves the structure into a light client specific file.
2022-06-24 16:57:50 +02:00
Tanguy
c45c017349
Bump libp2p to fix write on closed channel ( #3795 )
2022-06-24 12:52:10 +00:00
Ivan Yonchovski
d701887a9f
Bump libbacktrace ( #3794 )
2022-06-24 07:04:29 +02:00
Mamy Ratsimbazafy
e25cfe56a6
bump blst fix 32-bit builds on ADX CPUs ( #3789 )
2022-06-23 16:45:43 +02:00
Jacek Sieka
369d696ee7
fix action tracker validator decay ( #3792 )
...
Validators were staying around 32x as long as they should - the effect
is minimal because it's rare validators disappear, but still..
2022-06-23 14:08:13 +02:00
Eugene Kabanov
beaf05b8d1
Fix assertion crash in pollForSyncCommitteeDuties() because forks schedule is not available yet. ( #3791 )
...
Fix syncCommitteeeDutiesLoop() not being restarted on crash.
2022-06-23 03:59:37 +00:00
tersec
4908ba7c13
use JWT when and only when the user specifies a JWT secret explicitly ( #3786 )
2022-06-22 18:44:00 +03:00
tersec
4bb42eea7d
bump nim-web3 for eth_chainId support ( #3785 )
2022-06-21 21:09:29 +00:00
tersec
56cd6e2b45
rm unused imports and fix stylecheck issues ( #3784 )
2022-06-21 21:01:45 +02:00
Tanguy
8d3afd8285
Switch back to nim-websock ( #3665 )
2022-06-21 17:43:55 +02:00
Jacek Sieka
f3852cc4cd
sqlite: bump ( #3783 )
...
new nimterop
2022-06-21 15:56:48 +02:00
Jacek Sieka
1e213567fe
lock down mdbook version
2022-06-21 10:31:34 +02:00
Jacek Sieka
347a485b5b
bearssl: split abi ( #3755 )
2022-06-21 10:29:16 +02:00
Zahary Karadjov
f5ded5590e
Add the urgency guidelines automatically to each release
2022-06-21 00:08:42 +03:00
Zahary Karadjov
61d5eda6e6
Correct a typo in the release notes
2022-06-21 00:06:40 +03:00