Commit Graph

6927 Commits

Author SHA1 Message Date
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
Etan Kissling 20af24efdb
align field name across `SomeSig` (#6348)
`ValidatorSig` uses `blob` but `TrustedSig` uses `data`, aligning the
names reduces code duplication and improves clarity. It also simplifies
`StableContainer` compatibility checks.
2024-06-13 13:11:04 +00:00
tersec 3d65bdcb09
Revert "bump nim-bearssl for gcc-14 compatibility (#6337)" (#6346)
This reverts commit 45d50f041a.
2024-06-12 14:30:17 +02:00
andri lim 238589868c
Bump nim-web3 and nim-eth (#6345)
In nim-web3 all std.Option are replaced by results.Opt. The same goes in nim-eth, with additional fields name changes and GasInt changed from int64 to uint64.
2024-06-12 08:46:39 +07:00
Eugene Kabanov 27664291c4
VC/NIMBUS-BN validators protection. (#6329)
* Beacon node side implementation.

* Validator client side implementation.

* Address review comments and fix the test.

* Only 400 errors could be IndexedErrorMessage, 500 errors are always ErrorMessage.

* Remove VC shutdown functionality.

* Remove magic constants.

* Make arguments more visible and disable default values.

* Address review comments.
2024-06-11 19:38:16 +00:00
Kim De Mey 741075aada
Bump nim-eth module and add async raises for eth2 discovery (#6344) 2024-06-11 19:50:08 +02:00
tersec 77d926525f
stop using deprecated stew/results (#6343)
* stop using deprecated stew/results

* exception tracking linting
2024-06-11 02:34:56 +00:00
tersec d3bbd41570
bump nim-stew (#6341) 2024-06-10 23:33:52 +02:00
Eugene Kabanov fbf40542be
Bump nim-blscurve. (#6340) 2024-06-10 20:35:01 +00:00
Eugene Kabanov 18a441d8ba
Bump nim-nat-traversal. (#6339) 2024-06-10 22:29:50 +02:00
tersec 45d50f041a
bump nim-bearssl for gcc-14 compatibility (#6337)
* bump nim-bearssl for gcc-14 compatibility

* Bump chronos.

* Fix flaky test.

---------

Co-authored-by: cheatfate <eugene.kabanov@status.im>
2024-06-10 19:13:15 +00:00
Etan Kissling cccd81a47b
add ANSI art placeholder for Electra 🦒 (#6338)
Trigger ANSI art on upgrade to Electra

Art created by http://beatscribe.com (beatscribe#1008 on Discord)
2024-06-10 16:45:40 +00:00
tersec de01ad4f9b
bump nim-stew (#6336) 2024-06-10 06:46:17 +02:00
tersec 598485ee1a
add consolidations block body packing plumbing and correct electra MEV block body htr override (#6335) 2024-06-10 05:05:51 +02:00
tersec e3d4ad5d39
properly (re)factor consolidation signature checking (#6334) 2024-06-09 19:37:41 +02:00
Eugene Kabanov 0512d02766
VC enable block monitoring by default. (#6331) 2024-06-07 15:04:29 +00:00
Etan Kissling e7e69daf95
bump 'geth' to `v1.14.5` (#6327)
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.5
2024-06-07 02:37:04 +02:00
dependabot[bot] f97703e6ae
Bump tornado from 6.3.3 to 6.4.1 in /ncli (#6328)
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.3.3 to 6.4.1.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](https://github.com/tornadoweb/tornado/compare/v6.3.3...v6.4.1)

---
updated-dependencies:
- dependency-name: tornado
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-06 23:38:04 +00:00
Etan Kissling 9afe538f38
bump 'geth' to `v1.14.4` (#6326)
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.4
2024-06-05 12:03:49 +00:00
Etan Kissling ab892c1a04
bump `mainnet` to `f6b7882618a5ad2c1d2731ae35e5d16a660d5bb7` (#6310)
* bump `mainnet` to `f6b7882618a5ad2c1d2731ae35e5d16a660d5bb7`

- Initial commit

* fix soft links
2024-05-30 09:28:16 +00:00
Jacek Sieka d033ae0a34
hashtree: bump (#6292)
Fixes compilation on osx/arm64
2024-05-29 18:38:23 +02:00
Jakub Sokołowski 90cf1753bd
use self-hosted runners for Developer builds GH action
Otherwise we get:
```
Error: The operation was canceled.
```
Which is most probably due to OOM error.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-29 15:45:44 +02:00
Etan Kissling a810894635
bump `nim-libp2p` to `2fa2c4425f4bb835c0517efc03009925dcd28239` (#6314)
- fix(CI): rename branch from unstable to master in bumper workflow
- fix(transport): various tcp transport races
- chore(gossipsub): cleanups
- fix(yamux): set EoF when remote peer half closes the stream in yamux
2024-05-29 10:11:50 +00:00
Etan Kissling dc3eddde72
bump `nim-secp256k1` to `194b715b16766e383b5aef92dd779fb182faf45d` (#6316)
- bump `secp256k1` to `v0.5.0`
2024-05-29 10:08:51 +00:00
Eugene Kabanov 1cdb32222b
VC: Add block scoring (#6303)
* Add scoring for blocks.

* Update Alltests.
2024-05-29 10:07:39 +00:00
Etan Kissling dc6951eee9
bump `nim-web3` to `46b4b4c8bc42013196a6290ee53029131f97931a` (#6319)
- CI do not install openssl on macos+nim devel anymore
- Fixed encoding of (multidimentional) dynamic arrays
2024-05-25 11:13:30 +02:00
Etan Kissling 0efc81d96d
use correct minimum size when reading block / state headers (#6263)
`sizeof` also includes padding between fields, while SSZ defines
`fixedPortionSize` (on type) or `sszSize` (on value) to denote
required bytes to encode. Switch forked block/state readers to SSZ size.
As blocks/states are much larger than the padding, this doesn't affect
practical use cases but is slightly more correct this way.
2024-05-25 07:30:05 +02:00
Etan Kissling de740199f5
bump `nim-kzg4844` to `f12616d0675d9f6346141ca95f0840ab227eb213` (#6313)
- bump `csources` to `v1.0.2`
2024-05-25 00:36:08 +02:00
Etan Kissling ad2f14e76a
bump `nim-stint` to `9d2b382c5dc34f0d6bbd93b2a5d65dde85067e0f` (#6318)
- Fix pointer deref issue on Macos and Nim >= 2.0
- Fix GCC-14 [-Wincompatible-pointer-types] issue.
2024-05-24 22:35:50 +00:00
Etan Kissling 1150aa3e11
bump `gnosis-chain-configs` to `9ed6c63314899d17e2c3f669adbe2bc915610982` (#6311)
- Update spec
2024-05-25 00:33:34 +02:00