Jason McPheron
aebf13a7a6
Fix #3587 in v22.4.0 changelog, --threads should be --num-threads ( #3591 )
...
Co-authored-by: Jason McPheron <jason.mcpheron@wvm.edu>
2022-04-13 18:19:22 +00:00
tersec
06da9f4868
remove proposer boosting option (always enabled now) ( #3586 )
2022-04-13 12:14:00 +03:00
tersec
8b74847f85
only initialize JWT if useJwt is set ( #3585 )
2022-04-12 22:28:01 +00:00
Dustin Brody
6ab5cb1729
fix underlying issue
2022-04-12 20:17:32 +00:00
tersec
287a9c5f51
bump nim-stew to remove pragma disabling checks ( #3555 )
...
* bump nim-stew to remove pragma disabling checks
* use V=1 to try to capture the build VM overflow stack trace
2022-04-12 12:07:06 +02:00
tersec
ff6c581273
keep proposer boosting permanently enabled ( #3565 )
2022-04-12 12:06:30 +02:00
Zahary Karadjov
039bece917
version 22.4.0
2022-04-12 00:02:28 +03:00
Zahary Karadjov
def69e2a06
Revert "More sparse state snapshots in the Gnosis network"
...
This reverts commit 557717b517
.
2022-04-11 13:56:42 +03:00
Jacek Sieka
2d3d819fd2
fix crash when using >1024 file descriptors
...
* fixes the crash part of #3521 , which in turn is a result of the leaks
fixed in #3582
2022-04-11 12:10:16 +02:00
zah
0304f7b2e6
Fix #3521 (HTTP connection leaks leading to crashes) ( #3582 )
2022-04-11 09:39:59 +03:00
Zahary Karadjov
ac4e7723ea
Fix the build
2022-04-10 23:10:40 +03:00
tersec
992ba8a44d
bump nim-ssz-serialization: treat List[byte, ...] as hex strings for JSON ( #3581 )
...
* bump nim-ssz-serialization: treat List[byte, ...] as hex strings for JSON
* use to0xHex commit
2022-04-09 17:38:08 +00:00
Zahary Karadjov
557717b517
More sparse state snapshots in the Gnosis network
2022-04-09 18:07:36 +03:00
tersec
3796810bcd
rm unused imports ( #3580 )
2022-04-08 21:35:52 +00:00
Jacek Sieka
d1a8daec7e
`gnosis-chain` -> `gnosis` ( #3577 )
...
* `gnosis-chain` -> `gnosis`
Use same name as LH/Teku throughout
* fixes #3504
* fixes large stack temporary that can cause crashes during genesis
detection
2022-04-08 23:11:37 +03:00
Zahary Karadjov
d450681b15
Fix another off-by-one causing rejected sync contributions at period boundaries
2022-04-08 22:47:47 +03:00
Jacek Sieka
f70ff38b53
enable `styleCheck:usages` ( #3573 )
...
Some upstream repos still need fixes, but this gets us close enough that
style hints can be enabled by default.
In general, "canonical" spellings are preferred even if they violate
nep-1 - this applies in particular to spec-related stuff like
`genesis_validators_root` which appears throughout the codebase.
2022-04-08 16:22:49 +00:00
Jacek Sieka
f20c53be82
Revert "Polish, remove beta warning for validator monitor ( #3531 )" ( #3578 )
...
This reverts commit 540fc5a1af
.
2022-04-08 15:05:17 +00:00
Jacek Sieka
f9f4a49c65
stop calling `eth_protocolVersion` ( fixes #3532 )
...
no longer supported by geth
2022-04-08 13:08:35 +02:00
Jacek Sieka
7207185bc3
bump nim-ssz-serialization ( #3576 )
...
currently pointing to a branch that was merged and no longer exists
2022-04-07 20:08:20 +00:00
Jacek Sieka
7103b663ae
remove `nim-protobuf-serialization` ( #3575 )
...
tests don't compile in the nimbus-eth2 environment due to missing
dependencies, and the project itself is not used within nimbus-eth2
2022-04-07 18:06:33 +00:00
tersec
34b62181de
bump nim-web3 ( #3572 )
2022-04-07 13:16:16 +00:00
dependabot[bot]
ad55622f21
Bump notebook from 6.4.7 to 6.4.10 in /ncli ( #3571 )
...
Bumps [notebook](http://jupyter.org ) from 6.4.7 to 6.4.10.
---
updated-dependencies:
- dependency-name: notebook
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 10:24:16 +00:00
Jacek Sieka
540fc5a1af
Polish, remove beta warning for validator monitor ( #3531 )
...
Validator monitoring improves logging by giving more specific monitoring
information, and can now be seen as complete.
Previously, logging has focused on "Attestation sent" messages which
carry little informational value when things go wrong, and are overly
aggressive when everything works as expected (sending attestations is
the norm).
* lower "Attestation sent" log to `INFO`
* mark 1.7.0 as the start of the validator monitor feature - previous
versions had significant bugs in totals mode
2022-04-06 19:44:03 +03:00
Jacek Sieka
30eef0a369
Validator monitor polish ( #3569 )
...
* lower "Previous epoch attestation missing" to `NOTICE` for easier
filtering
* add delay logging to validator monitor logs
* simplify delay logging code post-`BeaconTime`
2022-04-06 09:23:01 +00:00
Jacek Sieka
6f4fa32c1d
remove bundled pyrmont support ( #3568 )
...
The `pyrmont` testnet has been discontinued.
For experiments, it's still possible to run pyrmont nodes by passing a
genesis/config, but this PR removes the bundled `--network:pyrmont`
option.
* update docs
* remove empty docs
* remove obsolete `eth2-stats` page
2022-04-05 12:59:25 +00:00
tersec
759a793764
use Eth1Monitor as abstraction; increase timeouts; handle newPayload 'accepted' ( #3563 )
2022-04-05 08:40:59 +00:00
Jacek Sieka
d2c8271d60
bumps ( #3567 )
...
style/tests/no significant changes
2022-04-04 16:53:16 +00:00
Jacek Sieka
0f023dc04d
drop rocksdb ( #3566 )
...
rocksdb was never actually used in nimbus-eth2 and existed only to satisfy nim-eth dependencies for test running - these have since moved to nimbus-eth1.
* bump nim-eth
2022-04-04 15:38:42 +00:00
Etan Kissling
509aa6c252
serve light client data on `prater` by default ( #3559 )
...
Applies a `prater` testnet specific config default to serve light client
data on that network.
2022-04-01 23:58:06 +02:00
tersec
a18b39c9c1
JWT support ( #3561 )
2022-03-31 14:43:05 +00:00
zah
f89c604fb0
Add Nimble lock file ( #3560 )
2022-03-30 22:00:03 +00:00
Kim De Mey
e222405b86
Bump nim-eth vendor module ( #3556 )
...
Changes in nim-eth relevant to nimbus-eth2:
- Debug logs providing info for the initial discoveryv5 configuration
- net/nat.nim: "raises" annotations
2022-03-30 08:30:36 +02:00
Jacek Sieka
5092fc41c7
use snappy-framed format for compressing bellatrix+ database entries ( #3551 )
...
`.era` files and Req/Resp protocols use framed formats - aligning the
database with these makes for less recompression work overall as gossip
is sent only once while req/resp repeats (potentially) - this also
allows efficient pruning-to-era where snappy-recompression is the major
cycle thief.
2022-03-29 11:33:06 +00:00
Etan Kissling
2c5f725543
reformat long lines ( #3539 )
...
Shortens some long lines by introducing temp variables and line breaks.
2022-03-29 09:15:42 +02:00
Ștefan Talpalaru
46e5175267
Windows: latest Mingw can't handle '\' as path sep ( #3553 )
2022-03-29 08:39:24 +02:00
tersec
391d4ddd0d
bump faststreams to avoid triggering Nim checks ( #3552 )
2022-03-28 22:04:43 +00:00
tersec
d63b836f61
cap number of threads for --num-threads=0 ( #3547 )
...
* cap number of threads for --num-threads=0
* cap at 16 threads instead
2022-03-28 16:33:25 +00:00
Dustin Brody
57fc9d5433
revert
2022-03-28 12:08:42 +00:00
Dustin Brody
146a4c097d
bump faststreams to avoid triggering Nim checks
2022-03-28 12:05:57 +00:00
Ștefan Talpalaru
d7d7398fe6
dist: build Windows binary with newer compiler ( #3548 )
...
We went from (Mingw-w64) GCC 5.5.0 to 11.2.0. Progress!
2022-03-28 10:03:11 +02:00
tersec
9b43a76f2f
kiln beacon node ( #3540 )
...
* kiln bn
* use version of beacon_chain_db
* have Eth1Monitor abstract more tightly over web3provider
2022-03-25 11:40:10 +00:00
tersec
b37bf8c94b
remove TaintedString ( #3546 )
...
* remove TaintedString
* dumpDir is used as a helper function for more specific types of dumpDirs
2022-03-24 21:44:34 +00:00
Jacek Sieka
e009728858
work around Nim assignment bug that breaks state pruning ( #3545 )
...
See https://github.com/nim-lang/Nim/issues/19613
2022-03-24 14:37:37 +00:00
Jacek Sieka
6983dacc26
fix bellatrix table names ( #3544 )
...
this should/will cause existing nimbus databases to revert to the altair
merge and resync with the new table name
2022-03-24 14:36:31 +01:00
Dustin Brody
3d9ef9b9b6
clean up action tracker
2022-03-24 10:57:20 +00:00
tersec
a058b1d1ce
bump confutils to fix 64-bit cmdline args on 32-bit platforms ( #3542 )
2022-03-24 09:58:48 +01:00
tersec
50f5754e3c
exists{Dir,File} -> {dir,file}Exists; rm unused imports ( #3543 )
2022-03-24 00:38:48 +00:00
Jacek Sieka
bc4d4e1741
remove redundant `process_block` overloads ( #3541 )
2022-03-23 12:49:54 +00:00
Jacek Sieka
bc80ac3be1
harden REST API `atSlot` against non-finalized blocks ( #3538 )
...
* harden validator API against pre-finalized slot requests
* check `syncHorizon` when responding to validator api requests too far
from `head`
* limit state-id based requests to one epoch ahead of `head`
* put historic data bounds on block/attestation/etc validator production API, preventing them from being used with already-finalized slots
* add validator block smoke tests
* make rest test create a new genesis with the tests running roughly in
the first epoch to allow testing a few more boundary conditions
2022-03-23 12:42:16 +01:00