Commit Graph

6784 Commits

Author SHA1 Message Date
Etan Kissling b9d85a0bd5
remove `Consolidation`, `SignedConsolidation` 2024-06-26 11:32:48 +02:00
Etan Kissling 754e9c3b10
Merge branch 'dev/etan/lc-electra' into feat_eip-7688 2024-06-25 14:57:39 +02:00
Etan Kissling 8bc5ac6ea2
regenerate test reports to cover new Electra tests 2024-06-24 14:36:28 +02:00
Etan Kissling 0c4e87a40b
Merge branch 'unstable' into dev/etan/lc-electra 2024-06-24 12:51:51 +02:00
Etan Kissling 7b680bb72d
bump nim-libp2p to `v1.2.1-rc` (#6354)
- chore(README): small PRs
- Send IDONTWANT before validating message
- chore(peer-scoring): enhance score trace logs (x2)
- chore: fix typos
- fix(multicodec): remove unnecessary "!=" operator
2024-06-24 10:05:01 +00:00
tersec a787c85589
Merge remote-tracking branch 'origin/stable' into unstable 2024-06-24 09:23:31 +00:00
Etan Kissling cd4de1357a
during proposal duties, perform sync aggregation duties if not received (#6384)
Including sync contributions into a block affects validator rewards.
When we have not received aggregate sync contributions, but have seen
individual messages, we can produce the contributions locally, improving
validator rewards when subscribing to all subnets or when having a
non-aggregating attached validator in the sync committee.
2024-06-24 09:13:15 +00:00
tersec 7d00786d5e
version v24.6.0 2024-06-24 07:25:15 +00:00
Etan Kissling e4efe9ed75
ensure that rarely ran files are compiled on PR (#6379)
* ensure that rarely ran files are compiled on PR

Add some missing files to `isMainModule` developer internal builds CI.

* fix fork choice compilation

* fix `rest_api_benchmark` compilation

* skip linking

* fix loop

* fix `mock_genesis`

* fix signedness
2024-06-23 23:35:56 +00:00
Etan Kissling eb8ba1a3ff
rename variable 2024-06-23 23:52:35 +02:00
Etan Kissling 4e8e316012
Merge branch 'unstable' into dev/etan/lc-electra 2024-06-23 15:54:46 +02:00
Etan Kissling f3e3c0de8f
split function into multiple parts 2024-06-23 15:54:09 +02:00
Etan Kissling 6d0c9d37fa
produce Elctra attestations when running tests (#6383)
Test blocks don't include Electra attestations currently so finality
breaks and tests fail if prolonged. Fix that.
2024-06-23 13:06:58 +00:00
Etan Kissling c01fb9f0da
further reduce stack size 2024-06-23 12:29:09 +02:00
Etan Kissling 3f83028cf2
Merge branch 'unstable' into dev/etan/lc-electra 2024-06-22 10:48:08 +02:00
Etan Kissling 347c88972d
adjust fork schedule in light client data tests 2024-06-22 10:19:51 +02:00
Etan Kissling e7349be3e5
put correct sync committee branch version into DB 2024-06-22 10:19:35 +02:00
tersec 9b6b42c8f9
some consensus spec URL updates to v1.5.0-alpha.3 (#6382) 2024-06-22 07:28:19 +02:00
tersec b759038ba8
increase TNS state download timeout to 90 (#6363) 2024-06-21 22:14:28 +00:00
Etan Kissling 8bc53bde71
bump holesky to `874c199423ccd180607320c38cbaca05d9a1573a` (#6377)
- Add Chainlens explorer for Holesky
- update repository layout
2024-06-21 21:51:25 +00:00
Etan Kissling 35c6e68d84
bump nim-ssz-serialization to `b71ebc41c8e5027580be77a9707df1a64e6d9c8b` (#6381)
- Digest fallback when using llvm-mingw on Windows
2024-06-21 20:23:16 +00:00
Etan Kissling 573e0f09e1
bump nim-libbacktrace to `4db9cae5ac0225e3439f577f5c5cd67086232b3f` (#6380)
- bump whereami to `f5e3eac441acbb4ec1fe3e2c32646248ae463398`
2024-06-21 20:09:18 +00:00
Etan Kissling 784a5d3e02
remove prater reference from era file docs (#6378)
Prater network is no longer relevant, remove reference from docs.
2024-06-21 20:06:54 +00:00
Etan Kissling c0d07e1b24
try reduce stack size in test 2024-06-21 18:36:54 +02:00
Etan Kissling 0d89dcd363
fix initialization when Electra not scheduled 2024-06-21 16:20:51 +02:00
Etan Kissling 4c242c44aa
workaround `version-2-0`: `Error: cannot instantiate: 'SomeUnsignedInt'` 2024-06-21 15:26:11 +02:00
Etan Kissling 65ae4d8eb1
extend light client protocol for Electra
Add missing Electra support for light client protocol:

- https://github.com/ethereum/consensus-specs/pull/3811

Tested against PR consensus-spec-tests, the test runner automatically
picks up the new tests once available.
2024-06-21 15:02:01 +02:00
Etan Kissling 31653d5869
fix DB size estimates for light client data (#6373)
Addresses two inaccuracies in light client data size documentation:

1. `SyncCommittee` pubkeys serialize are 48 bytes not 64 bytes
2. Some of the estimates used 1000 vs 1024 bytes/KB, aligned to 1024
2024-06-21 12:39:38 +00:00
Etan Kissling 22b5bc6256
cleanup Electra fork references (#6372)
Adjust two fork references to match surrounding code style.
2024-06-20 21:09:41 +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
Etan Kissling f30f670584
bump nim-sqlite3-abi to `262fa35f092cb254abd6eff2a9d46b99392a6dca` (#6356)
- bump `sqlite-amalgamation` to `3.45.3`
2024-06-19 03:31:07 +00:00
Kim De Mey 7a8c1d818a
Bump nim-eth for Opt changes and make Opt related adjustments (#6369) 2024-06-18 23:46:51 +02:00
Jakub Sokołowski cb2c379b37
update links to public API endpoints in readme
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-18 09:03:58 +02:00
tersec bfd1a36fcf
add engine API consolidation requests support for getPayloadV4/newPayloadV4 (#6368) 2024-06-18 07:35:36 +02:00
Miran 597f47317f
use Nim 2.0.6 (#6366) 2024-06-18 03:54:15 +02:00
Eugene Kabanov 3a0e037c7d
Bump nim-stew. (#6367) 2024-06-18 00:08:40 +00:00
tersec 350c4eaa39
rm Goerli remnant; add explanatory comment about opt sync validation (#6365) 2024-06-17 09:40:41 +00:00
tersec 88fa8b17ea
automated consensus spec URL updating to v1.5.0-alpha.3 (#6364) 2024-06-16 02:59:25 +02:00
tersec 0fab9682a6
use EF consensus-specs v1.5.0-alpha.3 test vectors (#6362) 2024-06-16 00:15:27 +02:00
Etan Kissling 7920dd0bb9
bump nim-metrics to `2e29df095059a7a787b234f040612b742567b2bc` (#6353)
- use monotonic clock for update checks
- Adopt asyncraises and add metrics middleware implementation
2024-06-15 02:39:18 +00:00
Etan Kissling 20923a2465
bump nimbus-build-system to `8cdaec502b5a48f2514e11209f0d81a001d2a2b1` (#6357)
- bump rocksdb
2024-06-15 02:37:44 +00:00
tersec a93ab7cf3b
Revert "bump nim-kzg4844 for gcc-14 compatibility (#6342)" (#6360)
This reverts commit c5326619a4.
2024-06-14 23:23:19 +00:00
tersec 05d2271a9f
Revert "Revert "bump nim-bearssl for gcc-14 compatibility (#6337)" (#6346)" (#6359)
This reverts commit 3d65bdcb09.
2024-06-14 19:06:58 +02:00
tersec 50894ad0d5
add Grandine to known libp2p agents 2024-06-14 04:25:42 +00:00
Etan Kissling 9fc870777c
remove Bellatrix EL syncing support from light client (#6352)
Bellatrix light client data does not contain the EL block hash, so we
had to follow blocks gossip to learn the EL `block_hash` of such blocks.
Now that Bellatrix is obsolete, we can simplify EL syncing logic under
light client scenarios. Bellatrix light client data can still be used
to advance the light client sync itself, but will no longer result in
`engine_forkchoiceUpdated` calls until the sync reaches Capella. This
also frees up some memory as we no longer have to retain blocks.
2024-06-14 01:23:17 +00:00
Eugene Kabanov c5326619a4
bump nim-kzg4844 for gcc-14 compatibility (#6342)
* Bump nim-kzg4844.

* Fix code to use proper KZG types.

* Add missing coma.

* Fix compilation issue.

* Bump nim-kzg4844.
2024-06-14 00:46:03 +00:00
Etan Kissling b6d6247fa1
fix light client topic subscriptions (#6351)
Using `let contextFork = consensusFork` no longer seems to work to avoid
capturing the `var` loop variable; it ends up being `Electra` for all
handlers. Use `closureScope` as a more sustainable fix.
2024-06-14 00:45:40 +00:00
Etan Kissling 81e6fe5045
bump 'nim-serialization' to `005ee90cb6aa563cdd690910455ea05f916ead3f` (#6349)
- Work around Nim bug that erases type `{.pragma.}` when making alias
2024-06-13 15:22:54 +00:00
Etan Kissling 524c136d8c
bump `nim-libbacktrace` to `aab85b6d242df38706664373f089675235953ab8` (#6350)
- bump `libbacktrace` to `11427f31a64b11583fec94b4c2a265c7dafb1ab3`
- bump `whereami` to `a08044b0f9d7a18b9ddd15bfcb490e422fa1f6c4`
2024-06-13 15:22:48 +00:00
andri lim fb0494e739
Bump nim-eth for revert GasInt back to int64 (#6347)
* Bump nim-eth for revert GasInt back to int64

* Fix libnimbus_lc
2024-06-13 15:25:59 +02:00