Commit Graph

6820 Commits

Author SHA1 Message Date
tersec 535819263d
clear old electra attestations from attestation pool 2024-08-07 11:14:57 +00:00
Etan Kissling 053f78dcec
bump nim-toml-serialization to `cb1fc73f3519fed5f3a8fbfa90afc9a96d5f5f5c` (#6475)
- Fix syntax highlighting in README.md
- Do not close `nil` stream when it failed to open
2024-08-06 20:58:17 +00:00
Etan Kissling 5075d9c33a
bump nim-stint to `7c81df9adc80088f46a4c2b8bf2a46c26fab057c` (#6474)
- hash limbs instead of bytes
- fix modmul 256-bit perf
2024-08-06 20:58:04 +00:00
Etan Kissling 51ca617d9f
fix LC header upgrade to Electra (#6473)
Followup on incorrect upgrade procedure in #6375 where `blob_gas_used`
was accidentally copied into `excess_blob_gas` when running Electra
`LightClientStore` with earlier `LightClient(Bootstrap|Update)`.
2024-08-06 15:48:15 +00:00
Etan Kissling ad9b90cab6
bump nim-stew to `af07b0a70dbd5528cbca9d944b0aa8b7bea92963` (#6472)
- fix deprecation warnings from results; deprecate shims/io module;
  rm deprecated shims/os module
- Reduce declared but unused warnings in keyed-queue
- Add truncate()/ftruncate() cross-platform implementation
- Fix OpenFlags.Append mode for io2.openFile()
2024-08-06 15:47:44 +00:00
tersec c0fc0f41dd
calculate next slot's withdrawals properly even across epoch boundary (#6470) 2024-08-06 13:33:16 +02:00
tersec 8333365848
replace validator Bloom filter with partial bucket sort (#6469) 2024-08-02 07:30:22 +02:00
tersec 6a576978ba
Merge remote-tracking branch 'origin/stable' into unstable 2024-07-29 03:47:56 +00:00
tersec 09c847b823
Revert "bump nim-nat-traversal to `459fc4968799bde97592137f42d93e5069f06e73` …" (#6466)
This reverts commit 19159a5453.
2024-07-29 05:22:24 +02:00
tersec 99f657e548
add missing colon at end of changelog line 2024-07-29 02:17:37 +00:00
tersec 0a4d3ac9c3
version v24.7.0 2024-07-29 00:45:51 +00:00
Etan Kissling 9e75136d0c
bump nim-unicodedb to `8c8959d84c12ecda6ea14c67bd68675b1936f8cf` (#6464)
- bump Nim 2.0.x version in CI
2024-07-27 01:44:27 +00:00
Etan Kissling 4fc1cb63a3
bump nim-metrics to `4337ccd62c0b7d57492402dd4cb838ddc0c78a84` (#6460)
- don't test alternative API with `--mm:ORC`
- Remove outdated upstream reference
- Do not set conflicting `--mm` params
2024-07-27 01:19:29 +00:00
Etan Kissling 96b36366a6
bump nim-secp256k1 to `c1795d1fb64b6cfe932a8d977a123b55a562dc52` (#6463)
- fix running out of registers in GCC
2024-07-27 01:17:41 +00:00
Etan Kissling 4d774bda55
bump nim-normalize to `331d1a252f309f5d0813f7cdbabafc15606369a2` (#6462)
- use latest Nim versions in CIs
2024-07-27 00:48:41 +00:00
Etan Kissling 19159a5453
bump nim-nat-traversal to `459fc4968799bde97592137f42d93e5069f06e73` (#6461)
- bump miniupnp to `miniupnpc_2_2_8`
- Fix for API VERSION 18 UPNP_GetValidIGD after last bump miniupnp
- update `ci.yml` and use non-deprecated `results`
2024-07-26 23:31:30 +00:00
Etan Kissling ea16edd886
add test for shuffled attestation signatures (#6459)
Followup of #3212 to test proper signature verification. Also document
possible further optimization based on blst `v0.3.13`.
2024-07-26 23:31:05 +00:00
Etan Kissling c373e3ab35
reduce code repetition in `test_toblindedblock` (#6453)
Use `withAll` to generate the tests for various blinded block types
instead of copy pasting them for every fork.
2024-07-26 22:03:11 +00:00
Etan Kissling 292c2b6de7
bump nim-json-rpc to `e27c10ad4172e67f71a78044f53de073e7401390` (#6458)
- Some minimal changes to be able to base the `nimlangserver` in
  `json_rpc`
2024-07-26 20:39:35 +00:00
Etan Kissling 4da74947c1
bump nim-bearssl to `667b40440a53a58e9f922e29e20818720c62d9ac` (#6454)
- gcc 14 support
- Bump version to 0.2.5
2024-07-26 20:39:24 +00:00
Etan Kissling f9e5281176
bump nim-kzg4844 to `7da77c1b3e6df35dc3eb4ac733eb0d56590ea87c` (#6456)
- update ci.yml and be more explicit in .nimble
- bump csources to `v1.0.3`
2024-07-26 16:19:34 +00:00
Etan Kissling ff3b692668
bump nim-chronos to `dc3847e4d6733dfc3811454c2a9c384b87343e26` (#6457)
- fix results import
- Fixes compilation issues in v3 compatibility mode
  (`-d:chronosHandleException`)
- pretty-printer for `Duration`
- update ci.yml and be more explicit in .nimble
- Fix tests to be string hash order independent
- add ubuntu 24 and gcc 14
2024-07-26 16:18:35 +00:00
Etan Kissling bed924cd40
bump nim-blscurve to `9c6e80c6109133c0af3025654f5a8820282cff05` (#6455)
- bump blst to `v0.3.13`
- Update `nimbus-eth2` reference
2024-07-26 16:00:20 +00:00
Eugene Kabanov b345c4fa72
Fix: Avoid downloading genesis multiple times, for holesky testnet. (#6452) 2024-07-26 14:54:03 +00:00
Etan Kissling 09f3882672
remove unsued `lcDataForkAtEpoch` helper (#6449)
`lcDataForkAtEpoch(.)` is not used anywhere and can be removed.
`lcDataForkAtConsensusFork(consensusForkAtEpoch(.))` saves same purpose.
2024-07-25 16:27:19 +02:00
Jakub Sokołowski 8c621b9ae6
ci: bump status-jenkins-lib version, don't use a branch (#6446)
* ci: bump status-jenkins-lib version, don't use a branch

Also renamed `Jenkinsfile.nix` to `nix.Jenkinsfile` because the filename makes no sense.

But left a symlink temporarily to not break things.

Signed-off-by: Jakub Sokołowski <jakub@status.im>

* nix: fix hash for Nim compiler checksums repo

Signed-off-by: Jakub Sokołowski <jakub@status.im>

* nix: do not create variable name conflicts

Signed-off-by: Jakub Sokołowski <jakub@status.im>

---------

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-25 11:07:02 +02:00
tersec 949758ed74
fix some UnusedImport warnings (#6448) 2024-07-25 08:49:26 +00:00
tersec 15cca5f93e
hypergeometric distribution CDF for PeerDAS (#6447) 2024-07-25 01:59:24 +00:00
Eugene Kabanov fd4398d4c5
Fix EL requests should do some sleep before repeating request again. (#6441) 2024-07-23 22:49:52 +00:00
Etan Kissling 20ede0ab35
use correct fork digest when broadcasting blob sidecars and sync msgs (#6440)
The fork digest determines the underlying data type on libp2p gossip,
so it's important to use the matching fork digest instead of picking
whatever wall epoch happens to be.
2024-07-23 20:30:44 +00:00
Etan Kissling 9f21182646
construct info object for `BlobSidecar` earlier (#6445)
To avoid "forked" types creeping into `BlobSidecar`, move the reduction
to `BlobSidecarInfoObject` to the sole caller. The info object is fork
agnostic, so does not need "forked" if `BlobSidecar` ever updates.
2024-07-23 20:22:29 +00:00
Etan Kissling a769550db5
rename LC gindex constants to match spec (#6444)
Use `_ELECTRA` suffix for gindex constants to match consensus-specs.
2024-07-23 20:20:15 +00:00
Etan Kissling ae0a1488b5
Fix blob syncing for Electra (#6438)
* Fix blob syncing for Electra

`BlobSidecar` requests on libp2p have a context prefix based on:

> The `<context-bytes>` field is calculated as context =
>     `compute_fork_digest(fork_version, genesis_validators_root)`

We currently only process blobs if that indicates Deneb, meaning that
on Electra we incorrectly report `InvalidContextBytes` and refuse to
process the blob response data.

Fix this, and also ensure that the code no longer needs maintenance
with every fork unrelated to blobs.

* fix
2024-07-23 03:10:41 +00:00
haurog 5762ebc249
Enable RISC-V (rv64gc) compilation (#6439) 2024-07-23 02:03:53 +00:00
Etan Kissling b5c0b479fb
bump nimcrypto to `71bca15508e2c0548f32b42a69bcfb1ccd9ab9ff` (#6430)
- double keccak speed
2024-07-22 03:36:54 +00:00
tersec 6fa852400d
pause deployment of long-range sync option default (#6436) 2024-07-21 07:10:26 +02:00
Etan Kissling 377698d65a
bump nim-libbacktrace to `55780313446b618cd226025cd0383c4c9da4a18a` (#6435)
- Pass length explicitly instead of relying on NULL terminators
2024-07-18 19:59:49 +02:00
Etan Kissling f36fb8e757
bump gnosis-chain-configs to `0e085cb606e78a495ce8014f9350931bc360e663` (#6432)
- Bump spec
2024-07-17 21:51:14 +02:00
Kim De Mey cd008ba7ef
Bump NimYAML + bump related changes (#6431) 2024-07-17 21:50:29 +02:00
Etan Kissling 8aab04404e
bump nim-libbacktrace to `da32d6efe6804b021c0943f2dd22924052345e6d` (#6429)
- bump libbacktrace to `1dd5c408fe6f5d9bccf870ec4e0e4bcabeb0664e`
2024-07-17 21:21:27 +02:00
tersec ebd0217a10
fix is_eligible_for_activation_queue for electra (#6427) 2024-07-15 21:08:20 +02:00
Eugene Kabanov 7853bd2878
BN: User agent recognition and error codes decoding. (#6414)
* Initial commit.

* Force update remote agent right before disconnect.

* Add handling errors from unknown remote agents.

* Address review comments.
2024-07-15 16:53:41 +02:00
Eugene Kabanov f751fde417
Use Nimbus specific agent string instead of nim-presto defaults. (#6424)
* Use Nimbus specific agent string instead of nim-presto defaults.
Use response(code) overload.

* Fix REST API test.
2024-07-15 02:27:23 +00:00
Etan Kissling baa085e8b1
bump geth to `v1.14.7` (#6423)
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.7
2024-07-15 02:26:14 +00:00
Kim De Mey ca15c4e433
Replace deprecated ENR functions (#6419) 2024-07-12 17:18:24 +02:00
dependabot[bot] 738bc0e98f
Bump zipp from 3.8.1 to 3.19.1 in /docs (#6418)
Bumps [zipp](https://github.com/jaraco/zipp) from 3.8.1 to 3.19.1.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.8.1...v3.19.1)

---
updated-dependencies:
- dependency-name: zipp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-12 03:05:55 +00:00
Eugene Kabanov 031033a6f9
Fix REST /eth/v1/node/identity should return proper MultiAddresses (version 2). (#6422)
* Initial commit.

* Bump nim-libp2p with dualstack fixes.

* Pass announcedAddresses to the `p2p_addresses` list.
2024-07-11 17:39:38 +02:00
tersec befcf3f56a
bump sepolia for new bootnodes (#6421) 2024-07-11 07:13:37 +02:00
Etan Kissling dc007e3977
nullability annotations for `libnimbus_lc.h` (#6417)
Annotate functions that may return `NULL` with `_Nullable` to properly
bridge into Swift.
2024-07-09 12:38:16 +02:00
tersec 3db571d182
allow individual calculation of validator balances across epoch boundaries (#6416) 2024-07-07 00:32:50 +02:00