Agnish Ghosh
eb1e809a54
adds peerdas-supernode flag ( #6764 )
...
* adds peerdas-supernode flag instead of launching a peerdas supernode in subscribeAllSubnets
* make the flag default and _hidden_
* fix indentation
2024-12-17 00:14:39 +00:00
tersec
ed6669bae4
increase default gas limit from 30M to 36M ( #6763 )
2024-12-16 00:33:20 +00:00
tersec
f7ae15e107
rm experimental Yamux support ( #6636 )
2024-10-17 00:23:13 +00:00
Jacek Sieka
b20f1ba8b3
Update nim-eth types ( #6583 )
...
Minimal changes needed for compatiblity with
https://github.com/status-im/nim-eth/pull/733 which aligns core types
with execution spec.
2024-09-29 13:32:55 +02:00
Agnish Ghosh
5a44e39e31
bump nim-kzg4844, enable ckzg2.0.0, fix whatever needed ( #6502 )
2024-09-02 11:47:00 +00:00
Etan Kissling
3375875e05
remove option to select Capella fork choice algo ( #6478 )
...
* remove option to select Capella fork choice algo
With Deneb having run stable for quite a while now, it's time to remove
the option to select the prior fork choice algo from Capella.
* also remove usage from test
2024-08-07 14:48:05 +00:00
tersec
6fa852400d
pause deployment of long-range sync option default ( #6436 )
2024-07-21 07:10:26 +02:00
Kim De Mey
ca15c4e433
Replace deprecated ENR functions ( #6419 )
2024-07-12 17:18:24 +02:00
Eugene Kabanov
61610fd243
BN: Disable genesis sync via long-range-sync argument. ( #6361 )
...
* Initial commit.
* Update options.md.
* Add pre-database initialization weak subjectivity period check.
* Add proper log message.
2024-06-20 18:57:08 +00:00
Eugene Kabanov
0512d02766
VC enable block monitoring by default. ( #6331 )
2024-06-07 15:04:29 +00:00
Eugene Kabanov
d7c5bc0397
[VC] Add builderBoostFactor support. ( #6294 )
...
* Initial commit.
* Replace localBlockValueBoost with builderBoostFactor.
* Add test.
* Update AllTests.
* Update options.md
* Recover `localBlockValueBoost` for BN-only mode.
* Address review comments.
2024-05-19 04:49:43 +03:00
Eugene Kabanov
c9b54bf1aa
Enable IPv6 for discovery5 using dualstack support. ( #6242 )
...
* Make listen-address default to use dualstack.
* Use correct newProtocol().
* Bump nim-eth.
* Bump nim-eth one more time.
* Use `*` instead of IPv6 address for dualstack sockets.
* Bump chronos and nim-eth.
* Use new constructor.
* Fix listenAddress should be Opt[T] not Option[T].
* Fix options.md.
2024-05-01 19:29:39 +00:00
tersec
c5f0d1def3
Revert "Revert "Set default localBlockValueBoost to 10 ( #6103 )" ( #6118 )" ( #6126 )
...
This reverts commit 213076e4cd
.
2024-03-23 10:17:29 +01:00
tersec
213076e4cd
Revert "Set default localBlockValueBoost to 10 ( #6103 )" ( #6118 )
...
This reverts commit d66a769135
.
2024-03-21 15:13:58 +00:00
Fredrik Svantes
d66a769135
Set default localBlockValueBoost to 10 ( #6103 )
...
* Set default localBlockValueBoost to 10
* Updated local-block-value-boost in documentation to say 10 as default
2024-03-21 02:06:03 +00:00
Eugene Kabanov
72c844534f
Add Keymanager API graffiti endpoints. ( #6054 )
...
* Initial commit.
* Add more tests.
* Fix API mistypes.
* Fix mistypes in tests.
* Fix one more mistype.
* Fix affected tests because of error code 401.
* Add GetGraffitiResponse object.
* Add more tests.
* Fix compilation errors.
* Recover old behavior.
* Recover old behavior.
* Fix mistype.
* Test could not know default graffiti value.
* Make VC use adopted graffiti settings.
* Make BN use adopted graffiti settings.
* Update Alltests.
* Fix test.
* Revert "Fix test."
This reverts commit c735f855d3cb9c4a1c8e8af29d3f4438d068e31f.
* Workaround {.push raises.} requirement.
* Fix comment.
* Update Alltests.
2024-03-14 03:44:00 +00:00
Etan Kissling
8bd8ffe2bb
align default `syncHorizon` computation logic across networks ( #6066 )
...
The `syncHorizon` describes the number of empty slots before the beacon
node considers itself to be out of sync. There are two places where we
currently set this to 50 slots, but it makes more sense to base it on
wall time, e.g., the 10 minutes that the default 50 are derived from.
2024-03-12 21:51:18 +01:00
tersec
11d522dd86
use debug- prefix for Yamux experimental support ( #6010 )
2024-03-07 19:52:13 +01:00
tersec
042169ac9d
rm some unnecessary stew/shims/net imports to reduce deprecation warnings ( #5806 )
2024-01-20 16:42:19 +00:00
Eugene Kabanov
3648df7d4c
Fix VC not always be able to obtain feeRecipient value. ( #5781 )
...
Use state's validator value to obtain feeRecipient value.
Make feeRecipient and gasLimit calculation equal for BN and VC.
2024-01-19 14:36:04 +00:00
Etan Kissling
7443a4ac08
load Ethereum mainnet KZG setup on Gnosis networks ( #5756 )
...
Gnosis networks re-use the trusted setup from Ethereum mainnet.
Load it to support Deneb.
2024-01-16 01:58:07 +01:00
Etan Kissling
39a2a91003
only show upcoming fork info if one is scheduled ( #5751 )
...
This ensures that information about the next scheduled fork is only
displayed if one is actually scheduled. Current fork name is no longer
shown.
2024-01-15 17:48:03 +01:00
Etan Kissling
16256a5230
display current fork (+ next fork if applicable) in slot start / status ( #5731 )
...
Extend slot start message and default status bar with information about
current head fork and the next fork transition (corresponding to head).
This is useful to know whether a synced client is aware of a future fork
and can also be useful when syncing from old forks to follow progress
across the various forks.
```
peers: 8 ❯ finalized: 741c2ce2:230474 ❯ head: b330f58b:230477:20 ❯ fork: Capella (next: Deneb:231680) ❯ time: 230599:24 (7379192) ❯ sync: 00h24m (99.63%) 2.6492slots/s (QwQUwQPQDQ:7375263)/opt
```
```
INF 2024-01-12 12:18:00.001+01:00 Slot start topics="beacnde" slot=7379190 epoch=230599 fork="Capella (next: Deneb:231680)" sync="--h--m (99.62%) 0.0000slots/s (wwwwwwwwww:7375167)/opt" peers=0 head=741c2ce2:7375168 finalized=230472:723abe7e delay=1ms861us
```
2024-01-12 21:40:34 +01:00
Jacek Sieka
62cbdeefc5
verify `genesis_time` more strictly ( fixes #1667 ) ( #5694 )
...
Bogus values lead to crashes down the line when timers overflow
2024-01-06 15:26:56 +01:00
tersec
06ba2286c0
fix issue #5665 ( #5671 )
2023-12-16 18:30:46 +02:00
andri lim
15147cccb1
Bump nim-web3 to dcabb8f29ee55afedefdf93cd3e102bb1daee354 ( #5664 )
...
* bump nim-web3 to dcabb8f29ee55afedefdf93cd3e102bb1daee354
also bump json-rpc to a8731e91bc336d930ac66f985d3b88ed7cf2a7d7
2023-12-12 22:15:00 +07:00
Jacek Sieka
9d155ebb35
avoid json-rpc server import ( #5649 )
2023-12-05 22:08:18 +01:00
tersec
6dee4d59fe
switch engine authentication from `Option` to `Opt` ( #5624 )
...
* switch engine authentication from Option to Opt
* el_conf updates
* LC and el_conf tests
2023-11-27 14:48:29 +00:00
Eugene Kabanov
6bc038e8d5
VC: Obol middleware support ( #5375 )
2023-11-08 14:03:51 +02:00
Etan Kissling
29fe958908
allow to pass trusted node sync options during BN startup ( #5545 )
...
Using trusted node sync currently requires to run two commands -
first the `trustedNodeSync` command to initialize the database,
followed by the regular startup command to continue syncing.
The `trustedNodeSync` options are now also available during regular
startup, and are used when the database is empty to simplify setting up
a new Nimbus beacon node. This also aligns behaviour closer with other
Ethereum consensus implementations.
The new logic only applies if the database has not yet been initialized;
same as before. Also, the database needs to be removed under the same
conditions as before when a fresh sync is desired.
2023-11-03 16:07:49 +01:00
tersec
ed446b1d5a
replace ValidIpAddress with IpAddress in configurations ( #5536 )
2023-11-01 08:33:00 +01:00
tersec
9fd52ebe9f
use consensus spec v1.4.0-beta.3 test vectors ( #5512 )
2023-10-19 05:14:02 +00:00
zah
35bf03a3fb
Add the --verifying-web3-signer-url configuration option ( #5504 )
2023-10-13 15:42:00 +03:00
Etan Kissling
0cca65904d
reduce `ProveField` warnings in `conf.nim` ( #5485 )
...
Address some verbose `ProveField` warnings and `XCannotRaiseY` hints
in `conf.nim`.
2023-10-05 17:15:03 +03:00
Etan Kissling
47639ef89c
replace `Eth2NetworkMetadata` case object with `Result` ( #5452 )
...
`Eth2NetworkMetadata` has an `incompatible` case to hold an error string
in case the loaded file is not compatible with the compile-time config.
The same can be modeled with a `Result[Eth2NetworkMetadata, string]` and
avoids followup checks for the `incompatible` case.
2023-09-22 23:45:24 +02:00
Tanguy
4918a4e2e0
Fix direct peers ( #5427 )
...
* Fix direct peers
* Support ENRs in DP, use DP in local testnet
* fix docs
* bump libp2p
2023-09-15 18:45:55 +00:00
Etan Kissling
8fa5580c50
add infrastructure to select fork choice version ( #5387 )
...
To allow testing https://github.com/ethereum/consensus-specs/issues/3466
add support for selecting fork choice version at launch. This means we
can deploy a different logic when `DENEB_FORK_EPOCH != FAR_FUTURE_EPOCH`
that won't be used on Mainnet.
2023-09-12 09:52:51 +02:00
tersec
2b4f987c80
remove pre-v1.4.0 attestation stability subnets ( #5402 )
...
* remove pre-v1.4.0 attestation stability subnets
* re-add most of should register stability subnets on attester duties test
2023-09-11 16:03:34 +00:00
Zahary Karadjov
c7db7d0f2c
Add CLI options `--genesis-state` and `--genesis-state-url`
2023-09-08 13:10:18 +03:00
zah
2b5bd74e15
Rename --validator-source to --web3-signer-url and document it ( #5389 )
...
Also allows multiple instances to be configured
2023-09-06 22:04:10 +03:00
Eugene Kabanov
afb5fdae34
Dynamic validators loop ( #5385 )
...
* Add periodic dynamic validators polling.
* Add dynamic validators tests.
2023-09-04 22:14:58 +03:00
Eugene Kabanov
757328372a
Dynamic validators set. ( #5366 )
...
* Initial commit.
* Fix argument to be optional.
* Adopt options.md.
2023-08-31 15:16:15 +03:00
tersec
8e413d9abb
rename --stop-at-epoch flag to --debug-stop-at-epoch ( #5361 )
2023-08-30 14:15:19 +03:00
Etan Kissling
c211a3849e
remove `{.raises: [Defect].}` Nim 1.2 compatibility ( #5352 )
...
In Nim 1.6, `{.raises: [Defect].}` is no longer necessary. Remove it.
2023-08-25 11:29:07 +02:00
Tanguy
36413c8f21
Bump libp2p for gossipsub improvements ( #5229 )
...
* Bump libp2p
* Add bandwidthEstimate param
* Fix typo and type
* Add config for light client
* Fix unit
* Add debug prefix
---------
Co-authored-by: Jacek Sieka <jacek@status.im>
Co-authored-by: diegomrsantos <diegomrsantos@gmail.com>
Co-authored-by: Diego <diego@status.im>
2023-08-24 16:04:19 +02:00
tersec
f8520c8b1c
use v1.4.0 stability subnets by default ( #5276 )
2023-08-08 19:01:04 +00:00
tersec
565edfa351
remove unused code ( #5158 )
...
* remove unused code
* add copyright header
2023-07-15 16:30:52 +00:00
tersec
ba94dc849f
opt-out support for v1.4.0 attestation stability subnets ( #5128 )
...
* opt-out support for v1.4.0 attestation stability subnets
* document debug-prefix-flag-policy and remove temporary from flag name
2023-06-30 05:23:15 +00:00
Tanguy
11d18acfeb
Add Yamux experimental support ( #5080 )
2023-06-23 09:16:30 +02:00
Zahary Karadjov
503cde366c
Switch to --history:prune by default
2023-06-20 02:08:48 +03:00