Pedro Miranda
f9e44b2a3b
Improved electra attestations packing ( #6498 )
...
* test disjoint comittee bits
* test for aggregated attestations with disjoint bits
* improved attestation pool on-chain collecting and packing
* addressed format issues
* improved sorting method
* updated AllTests-mainnet file
* updated AllTests-mainnet file
* review corrections
* review corrections
* removed old phase0 artifacts
---------
Co-authored-by: Pedro Miranda <pedro.miranda@nimbus.team>
2024-08-23 13:26:35 +02:00
tersec
8c2e8f2b0f
some v1.5.0-alpha.5 consensus spec URL updates ( #6509 )
2024-08-23 12:43:54 +02:00
Jacek Sieka
42c4ea109c
Revert "stop testing broken upstream version-2-0" ( #6506 )
...
* Revert "stop testing broken upstream version-2-0 (#6499 )"
This reverts commit 2be7eba25a
.
* fix field warning template
2024-08-23 12:18:06 +02:00
tersec
e4f18cba09
stop tracking phase0 spec artifact of current/prev target epoch for attestation block packing ( #6508 )
2024-08-22 20:28:21 +02:00
tersec
44cc72c104
refactor engine API conversions out of EL manager ( #6507 )
2024-08-22 16:12:03 +02:00
Advaita Saha
77c36b3c59
kurtosis network testing script ( #6489 )
...
* feat: kurtosis check running script
* fix: remove redundant code
* fix: suggested changes
* fix: typo Docker
2024-08-22 08:16:54 +00:00
Etan Kissling
bd09e4d864
inhibit LC sync while DAG is synced ( #6505 )
...
Normally, running LC and DAG sync at same time is fine, but on tiny
devnet where some peer may not support the LC data, we can end up in
situation where peer gets disconnected when DAG is in sync, because
DAG sync never uses any req/resp on local devnet (perfect nw conditions)
so the LC sync over minutes removes the peer as sync is stuck.
We don't need to actively sync LC from network if DAG is already synced,
preventing this specific low peer devnet issue (there are others still).
LC is still locally updated when DAG finalized checkpoint advances.
2024-08-22 06:13:47 +00:00
Etan Kissling
a597fe95fa
check blob versioned hashes when no EL is connected ( #6501 )
...
* check blob versioned hashes when no EL is connected
When no EL is conencted, we have to at the very least ensure that the
data in the beacon block is consistent with the execution payload.
We already do this for the block hash, but also have to do it for the
`blob_kzg_commitments`. To validate that they are linked with the
execution payload, we have to RLP decode all EIP-4844 blob transactions
and compare their blob versioned hashes with the hashed commitments.
* simplify loop in case where `blob_versioned_hashes` doesn't exist
* skip blob transaction parsing pre Deneb
2024-08-22 06:04:03 +00:00
tersec
21aeeaf561
automated consensus spec URL updating to v1.5.0-alpha.5 ( #6504 )
2024-08-21 14:25:19 +02:00
tersec
485ed833e0
use EF consensus-specs v1.5.0-alpha.5 test vectors ( #6503 )
2024-08-21 12:18:33 +02:00
Etan Kissling
8a87d4383a
bump nim-sqlite3-abi to `v3.46.1.0` ( #6500 )
...
- bump sqlite-amalgamation to `3.46.1`
2024-08-21 06:10:29 +00:00
tersec
2be7eba25a
stop testing broken upstream version-2-0 ( #6499 )
2024-08-20 14:33:54 +02:00
Etan Kissling
b511f3eeb7
Use Pippenger multiplication for combining multiple sigs of same msg ( #6484 )
...
Newer `blst` releases expose multiscalar Pippenger multiplication that
allows accelerated verification of signatures pertaining to same msg.
- https://gist.github.com/wemeetagain/d52fc4b077f80db6e423935244c2afb2
2024-08-16 23:42:46 +02:00
Etan Kissling
6f7c4fffe7
Synchronously check all `transactions` to have non-zero length ( #6491 )
...
Reject blocks with zero length transactions early when no EL connected.
- https://github.com/ethereum/consensus-specs/pull/3885
2024-08-16 22:52:35 +02:00
Etan Kissling
ca8c2ceb24
bump nim-eth to `cc6d88962e4a22170361b576534246bd57974d80` ( #6494 )
...
- port eth2_digest speedups to eth_hash
- hash compatibility fix
- Revert speedups
- Removed obsolete chunked rlpx message protocol extension
- Treat putting empty data in hexary trie as deleting data
2024-08-16 22:51:19 +02:00
Etan Kissling
231c41ea78
bump nim-blscurve to `d5d595a59ca906898c51af7f9511a01082435393` ( #6492 )
...
* bump nim-blscurve to `d5d595a59ca906898c51af7f9511a01082435393`
- Regenerate `blst_abi.nim`
- Expose Pippenger multiplication for combining multiple sigs of same msg
* bump nim-kzg4844 to `7bd7f115db8983be2549ce1a55891355c404fdc0`
- Ensure compatibility with patched `blst.h` from `nim-blscurve`
2024-08-16 19:48:10 +02:00
tersec
cb581482e8
bump sepolia for new bootnode ( #6490 )
2024-08-14 06:48:36 +02:00
Jacek Sieka
5065584139
results: bump (genericsOpenSym support) ( #6488 )
2024-08-13 19:23:57 +00:00
tersec
2895df128c
increase TNS state downloading timeout to 120 seconds ( #6487 )
2024-08-12 03:49:10 +02:00
tersec
f258cba816
some v1.5.0-alpha.4 consensus spec URL updates ( #6485 )
2024-08-10 07:09:37 +02:00
tersec
904318cf83
automated consensus spec URL updating to v1.5.0-alpha.4 ( #6483 )
2024-08-09 18:24:49 +02:00
tersec
2e40a401b0
use EF consensus-specs v1.5.0-alpha.4 test vectors ( #6482 )
2024-08-09 15:02:04 +02:00
tersec
f5d360dadd
bump sepolia for additional bootnode ( #6480 )
2024-08-07 19:50:38 +02:00
tersec
d2c8561fcd
add some Electra config constants to beacon API config endpoint ( #6479 )
2024-08-07 18:15:29 +02: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
Etan Kissling
32fe62f084
bump nim-secp256k1 to `4470f49bcd6bcbfb59f0eeb67315ca9ddac0bdc0` ( #6477 )
...
- bump secp256k1 to `v0.5.1`
2024-08-07 11:40:14 +00:00
Etan Kissling
163403b5d0
bump nim-ssz-serialization to `6f831b79df24af00c10e73e717cbe40d7d0e2439` ( #6476 )
...
- update ci.yml and fix deprecations
- Add two convenience aliases from specification
2024-08-07 11:38:25 +00:00
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