Commit Graph

7033 Commits

Author SHA1 Message Date
tersec ed2422112c
resolve several outstanding items for Electra support; add debug-foo to light client yamux (#6547) 2024-09-13 10:07:06 +02:00
Agnish Ghosh f53b621818
add: `get_extended_sample_count` with test (#6544)
* add: get_extended_sample_count with test

* drop return

* reviews

* review fix

* fixed

* fix doc

* hooked to all_tests

* rm bin

* add updated test file

* early return, maybe need results?

* refactor function intricacies

* drop columnsCount
2024-09-12 17:55:16 +02:00
tersec 16c21e1c1e
rm unused code/type conversoins; re-enable Electra block gossip verification (#6545) 2024-09-12 11:11:08 +02:00
Jakub Sokołowski da48c6f3f4
ci: bump archiving timeout, list artifacts (#6539)
We suspect in some cases the archive is bigger than normally.
I'm adding a listing of the file sizes to catch that.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-09-11 22:50:20 +00:00
Agnish Ghosh a2a7cab76d
Rid result from `get_custody_column_subnets` (#6543)
* ditch results in get custody column subnets

* fix other part
2024-09-11 12:49:01 +02:00
tersec 1503c7dffe
rm some unused code/imports (#6541) 2024-09-11 05:45:37 +02:00
tersec 9f7a1361bd
bump nim-eth and nim-nat-traversal (#6538) 2024-09-10 10:00:28 +02:00
Pedro Miranda 1ac9b851b9
Add GetAggregateAttestation V2 endpoint version (#6511)
* attestation pool support and tests

* REST endpoints changes

* initial ncli and validator client support

* updated tests file

* fixed typos

* review improvements

* remove V1 endpoint

* revert v1 removal

* V2 endpoint version available to pre electra

---------

Co-authored-by: Pedro Miranda <pedro.miranda@nimbus.team>
2024-09-06 12:15:30 +00:00
Etan Kissling f9a4add803
bump nim-eth to `f2568a64c0933c3a0bf959568df400cb1d16c2bf` (#6537)
- Differentiate log for invalid packet seqnr without reorder buffer and
  not
- Using unsigned types for message type and requst IDs
- Reassign logging weights in RLPx handler
- Fix potential uTP clock drift overflow
2024-09-04 19:48:37 +00:00
Etan Kissling 745caa46c0
bump nim-stew to `d4634c5405ac188e7050d348332edb6c3b09a527` (#6535)
- arraybuf: seq-like fixed-capacity container stored on the stack
- Add cross-platform fsync() primitive and improve Direct mode
- Add updateFilePos() primitive and tests
2024-09-04 15:33:15 +00:00
Etan Kissling 2a62b0a546
bump sepolia to `0f71ae1b5ca38c565358f5251bc1a2314ba5edc7` (#6536)
- Add comment to idenftify teku bootnode
2024-09-04 17:07:46 +02:00
Etan Kissling cb440119ee
bump nim-normalize to `e9ece052e0e4c6e003994e5c3e826d9ed0d8db29` (#6534)
- fix type of arguments to `fillBuffer`
2024-09-04 16:39:08 +02:00
Agnish Ghosh 444d1dd093
add: `get_custody_columns` for das_core (#6532)
* add: get_custody_columnns in das core specs with tests

* apply review changes

* review changes 2

* review 3
2024-09-04 16:05:18 +02:00
dependabot[bot] e6ebefc364
Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows (#6533)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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-09-04 03:13:33 +00:00
Agnish Ghosh 8306ad58bd
add: EF test vectors as per alpha 5 for peerdas (#6531)
* added: EF tests for peerdas kzg crypto

* keep links to alpha 5 (latest)
2024-09-02 17:23:06 +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 a839145bec
bump nim-nat-traversal to `a3aa0c5f9d2a2870f1fd0f7a613d4fe025c84ab7` (#6526)
- 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`
- bump miniupnp to version that includes Status related fixes
- bump libnatpmp to `8257134a5dcb077e40db1946554d676e444406e4`
2024-08-31 09:42:21 +00:00
tersec 1e70b0d2a8
Merge remote-tracking branch 'origin/stable' into unstable 2024-08-30 02:21:05 +00:00
Etan Kissling 88bdca18f1
bump nim-libp2p to `v1.5.0` (#6524)
- chore: setting dialing canceled log to trace
- fix(ci): windows-amd64 (Nim version-1-6)
- fix: add gcc 14 support
- feat: adding onValidated observer
- fix(test): interop transport
- chore: Cleanup CI
- fix: infinite loop when connection is aborted before being accepted
- fix(yamux): future leak
- chore(version): update libp2p.nimble to 1.5.0
2024-08-29 17:47:51 +02:00
Etan Kissling e6dec3fd82
bump nim-chronos to `v4.0.3` (#6519)
- Bump version to 4.0.3
2024-08-29 17:47:40 +02:00
tersec bf4abf8b9e
version v24.8.0 2024-08-29 14:29:58 +00:00
tersec ecafacd1f2
rm funding.json 2024-08-29 10:19:55 +00:00
tersec 571865322c
funding.json 2024-08-29 10:09:19 +00:00
Etan Kissling 6f0a17b50d
bump nim-eth to `98b2a34075614f9ea8bd629c18580c16e8065397` (#6520)
- Fix rlpx hello crash caused by rlp decoder
2024-08-28 21:37:58 +00:00
Etan Kissling f772a272de
bump nim-unittest2 to `36c714fb3ddcf9e63b8772296dede80a788d81b7` (#6529)
- Ensure test is marked as failed when check is inside `proc`
2024-08-28 21:20:55 +00:00
Etan Kissling 79814a7125
bump nim-ssz-serialization to `b5aa78cae197cc97277be050ba69ef9c5d33aad1` (#6528)
- bump hashtree to `v0.2.0`
2024-08-28 20:38:01 +00:00
Etan Kissling b70de4f80a
bump nim-json-serialization to `8a4ed98bbd0a9479df15af2fa31da38a586ea6d5` (#6522)
- Update `nimbus-eth2` reference
- Add compile time switch to alter encoder enum representation
2024-08-28 22:23:37 +02:00
Etan Kissling 266f11fcfe
bump nim-results to `71d404b314479a6205bfd050f4fe5fe49cdafc69` (#6527)
- test `?` in `ok` (fixes #23)
- add `nph` formatting linter
- `lent` support
- v0.5.0
- disable `lent` with `orc` until 2.2
2024-08-28 22:23:08 +02:00
Etan Kissling 53abf2b908
bump nim-blscurve to `72d1980c8770ed2e6fb30c7f297b835d43aa925d` (#6517)
- Use correct header file for `blst_aux` ABI
2024-08-28 21:03:08 +02:00
Etan Kissling 54e5411633
bump nim-chronicles to `a28bb9781ce74e725796c307ad05083e646872be` (#6518)
- Cache time representation
2024-08-28 21:00:19 +02:00
Etan Kissling 8b530320c5
bump nim-metrics to `29bb7ba63cd884770169891687595348a70cf166` (#6525)
- Fix chronos dependency to require version >= v4.0.3
- make chronicles work with metrics logging
2024-08-28 20:57:49 +02:00
Etan Kissling de2b354198
bump nim-libbacktrace to `b6e26f03c091a8e3bba6adc06198fc3055bacc66` (#6523)
- bump libbacktrace to `86885d14049fab06ef8a33aac51664230ca09200`
- bump whereami to `dcb52a058dc14530ba9ae05e4339bd3ddfae0e0e`
2024-08-28 20:33:14 +02:00
Etan Kissling bd8d2e5ddd
bump holesky to `e7fdf62fc0e59434d9d3155d8ad6ed06bcfa0dde` (#6516)
- Add axol.io faucet to README.md
- Add lodestar holesky public enode
2024-08-28 19:31:49 +02:00
Etan Kissling 20e85f836f
bump nim-http-utils to `8b88ad6dd9a6326c29f82067800c483d9410d873` (#6521)
- Add HTTP response code 207 (Multi-Status)
2024-08-28 16:31:03 +00:00
Etan Kissling 73be2af0d9
more concise RLP decoding syntax in EL helpers (#6514)
The comment in `readExecutionTransaction` is not actually relevant when
the `rlp.decode` template is called from a non-generic function.
The function still cannot be simply inlined; `is_valid_versioned_hashes`
is itself generic and would require an `export eth_types_rlp` to work
properly (generic sandwich issue). The non-generic function wrapper
seems simpler and avoids injecting RLP into importing modules.
2024-08-28 14:21:28 +02:00
Joel Williamson 14f3584a0b
The git-lfs pacakge is required on Arch (#6513) 2024-08-27 15:58:55 -04:00
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