7141 Commits

Author SHA1 Message Date
tersec
5d26134591
ramify the new ELECTRA blob settings through more; add single_attestation event queue; add initial vanity logs phrasing (#6865)
* ramify the new ELECTRA blob settings through more; add single_attestation event queue; add initial vanity logs phrasing

* add REST test rule
2025-01-23 18:53:12 +01:00
tersec
e990a949a4
bump nim-libp2p (#6861) 2025-01-19 15:57:17 +01:00
tersec
5c371ab634
mini libp2p bump (#6859) 2025-01-18 21:32:02 +01:00
tersec
d791299262
rm support for deprecated reqStep in req/resp (#6857)
* rm support for deprecated reqStep in req/resp

* work around / character in platform
2025-01-18 05:11:06 +01:00
Agnish Ghosh
ce02b73f20
fix: keeping MAX_REQUEST_BLOB_SIDECARS limit higher upto electra, so that deneb limits can also be sufficed under one version (v1) (#6856)
* keeping limit higher upto electra, so that deneb can also be sufficed under one version (1)

* fixed res limit to electra

* fix copyright year
2025-01-17 15:48:30 +00:00
tersec
d04df8a091
sync manager should allow for electra blob counts (#6855)
* sync manager should allow for electra blob counts

* upload-artifact@v3 deprecation
2025-01-17 12:53:41 +00:00
tersec
10bd5f35bd
bump nim-libp2p an even tinier bit (#6853) 2025-01-16 10:17:13 +01:00
Eugene Kabanov
437bc79532
Adjust default port numbers for tests. (#6849)
* Adjust default port numbers.

* Update copyright year.
2025-01-15 15:20:56 +00:00
tersec
ef5cba9235
Revert "bump nim-libp2p (#6847)" (#6848)
This reverts commit 4b66a9e524be0cfbc662e2887ce69638790167ec.
2025-01-15 12:07:51 +01:00
tersec
4b66a9e524
bump nim-libp2p (#6847) 2025-01-15 06:55:51 +01:00
Etan Kissling
3298444168
Bump nim-nat-traversal to 213ac13dfe5c4830474912c48181b86b73f1ec1f (#6845)
- Bump miniupnp to `miniupnpc_2_3_0`
2025-01-14 15:30:36 +01:00
Etan Kissling
6a9ce5ba1d
Bump dependencies: use the common CI workflow (#6841)
- nim-bearssl to `c7683c5a6221605bbab31b53d01feb3a3161bb8b`
- nim-blscurve to `3737c9663d26076ed89f011c2688c1b9ee1eb73a`
- nim-confutils to `e214b3992a31acece6a9aada7d0a1ad37c928f3b`
- nim-faststreams to `2b08c774afaafd600cf4c6f994cf78b8aa090c0c`
- nim-http-utils to `79cbab1460f4c0cdde2084589d017c43a3d7b4f1`
- nim-kzg4844 to `33d2e9a5d4df1bbf4aca7cf00457bf15b1d657a6`
- nim-metrics to `25ffd054fd774f8cf7935e75d6cad542306d7802`
- nim-nat-traversal to `53b5883f410ac7d84683dfbc894dccd660e68f6d`
- nim-secp256k1 to `62e16b4dff513f1eea7148a8cbba8a8c547b9546`
- nim-zlib to `3f7998095264d262a8d99e2be89045e6d9301537`
- nim-zxcvbn to `d827fdc9968a4f06bba587dc38df2b20399f8cf5`
2025-01-13 18:53:02 +00:00
Etan Kissling
2a62f45b20
Bump nim-taskpools to 7b74a716a40249720fd7da428113147942b9642d (#6844)
- remove empty lock file
- use the common CI workflow
2025-01-13 16:10:52 +00:00
Etan Kissling
aebdffa469
Bump nim-stint to v0.8.1 (#6843)
- fixes asm statement in `nimHasAsmSemSymbol` in the devel branch
- enable some disabled tests
- adds `nodecl` to imported types
- v0.8.1
2025-01-13 16:59:58 +01:00
Etan Kissling
b411bc0e91
Bump nim-ssz-serialization to d7552018fe2fe1ab1b74a68517caa085a2309622 (#6842)
- fix duplicated testing of different MMs
2025-01-13 15:56:51 +00:00
62e57f565b
assert submodules are available to Nix derivation (#6835)
This should result in a human-readable error when `?submodules=1#` is
not appended to the project URL as the README explains:
```
 > nix build '.'
       error: Unable to build without submodules. Append '?submodules=1#' to the URL.

 > nix build '.?submodules=1#'
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-01-12 14:10:30 +00:00
Agnish Ghosh
bc55a3a0c7
add: compute_columns_for_custody_group tests (#6838)
* add new fixture networking tests

* update all tests

* fix test

* avoid extra variables

* other fixes

* oops

* updated tests file
2025-01-12 05:04:55 +00:00
4f161e782c
increase default verbosity of Nix builds to V=1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-01-11 12:19:13 +01:00
Eugene Kabanov
eb2eb67665
Various fixes for light forward syncing algorithm. (#6831)
* Fix light forward syncing from finishing with inconsistent state.

* Update copyright year.

* Add block retention period check
2025-01-11 01:25:56 +00:00
Etan Kissling
a94ba8cbb5
Add test to compare SSZ bounds against Teku impl (#6836)
* Add test to compare SSZ bounds against Teku impl

Ensure that our SSZ bounds are computed the same way as in Teku by
comparing the bounds for `deneb.SignedBeaconBlock`.

* Lint

* Make platform agnostic regarding how Git checks out newlines
2025-01-10 22:55:42 +00:00
Etan Kissling
5c766d0911
Bump nim-ssz-serialization to 6106ceee6da5f710b7ccc8d98c41e790cc918201 (#6834)
- Add `maxSize` helper
- Add `minSize` helper
2025-01-10 17:06:28 +00:00
Etan Kissling
c63862cf88
validate EL block hash when running consensus block tests (#6406)
* validate EL block hash when running consensus block tests

We currently don't have an easy way to test EL block hash computation.
As the EL block hash in consensus-spec-tests is computed correctly,
update the test runners that load block from test files to also verify
the EL block hash. This increases missing test coverage.

Requires https://github.com/ethereum/consensus-specs/pull/3829

* fix

* resolve merge conflicts

* fix genesis case, and deal with `incorrect_block_hash` test

* add missing export marker

* fix import

* htr mutates underlying data, messing with differ, create copy in test

* Handle payloads with empty tx (unsupported in ordered trie tool)

* Update copyright years

---------

Co-authored-by: tersec <tersec@users.noreply.github.com>
2025-01-10 13:34:49 +00:00
tersec
adda9738a4
automated consensus spec URL updating to v1.5.0-beta.0 (#6833) 2025-01-10 13:10:49 +01:00
tersec
046c37903d
use EF consensus spec v1.5.0-beta.0 test vectors (#6832) 2025-01-10 10:42:30 +01:00
Jacek Sieka
15f17db135
kzg: load trusted setup for new constant (#6826)
* kzg: load trusted setup for new constant

* bump

* copyright
2025-01-09 05:12:11 +00:00
tersec
4cca50873e
fix /eth/v1/beacon/rewards/block/{block_id} sync_aggregate value (#6829)
* fix /eth/v1/beacon/rewards/block/{block_id} sync_aggregate value

* adjust tests

* copyright year linting
2025-01-09 06:03:23 +01:00
dependabot[bot]
8a494e9c34
Bump jinja2 from 3.1.4 to 3.1.5 in /docs (#6830)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 02:53:59 +00:00
Eugene Kabanov
eeab048871
Fix last-seen-p2p-address values in /eth/v1/node/peers API endpoint. (#6595)
* Attempt to fix issue with AnyLocal addresses in last-seen-p2p-address field.

* Address issues with IPv6 and QUIC protocol addresses.

* Attempt to avoid QUIC addresses from site-local networks.

* Fix IPv6 handling.

* Perform normalization of `last_libp2p_address`.

* Switch to LastSeenBook.

* Fix address deserialization.

* Bump nim-libp2p.

* Eliminate unneeded function.

* Eliminate unneeded import.
2025-01-08 12:15:56 +00:00
tersec
bb22476175
some manual consensus spec URL updates to v1.5.0-alpha.10 (#6827)
* some manual consensus spec URL updates to v1.5.0-alpha.10

* copyright year linting
2025-01-08 06:47:22 +00:00
dependabot[bot]
39c984bcc2
Bump jinja2 from 3.1.4 to 3.1.5 in /ncli (#6828)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-08 04:36:57 +00:00
Agnish Ghosh
0a2da6897c
clean up eip7594 naming, useful links, test suite naming (#6820)
* clean up eip7594 naming, useful links, test suite naming

* fix copyright year

* updated tests
2025-01-07 22:49:22 +00:00
Jacek Sieka
3e2d8d2a16
nimble: better isdir check (#6825)
* nimble: better isdir check

The current one seems to not find the file sometimes - also update
nimble file to something more useful.

* nanny
2025-01-07 22:45:42 +00:00
Etan Kissling
d820706478
Update db size estimates for Electra light client data (#6823)
* Update db size estimates for Electra light client data

Requests are no longer part of `ExecutionPayloadHeader` and therefore
no longer included in LC headers. Also fix extra 40 byte in counts.

* Lint
2025-01-07 16:55:24 +01:00
Etan Kissling
a0f5e992f1
Avoid IndexDefect when Prague EL sends malformed requests (#6822)
* Avoid `IndexDefect` when Prague EL sends malformed requests

When using an outdated EL that does not prefix requests with types,
the `.len < 2` check was performed after already doing `mapIt(it[0])`.
Reorder the checks and also avoid the O(n) `request_types` allocation.

* Somehow this `mapIt` is used by `message_router_mev.nim`
2025-01-07 09:04:50 +00:00
Etan Kissling
d1bdc1378b
Bump nim-sqlite3-abi to v3.47.2.0 (#6819)
- Bump sqlite-amalgamation to `3.47.2`
2025-01-06 11:07:26 +00:00
Etan Kissling
53ec5aeff3
Bump sepolia to da5654742513435bdd6dbc5fd033cf593ce57a0f (#6818)
- Align config scructure with eth-clients/mainnet repository
2025-01-06 11:50:02 +01:00
Etan Kissling
f5c24ff7c6
Bump nim-web3 to a3bc5ad48e2b05fa253ba68bbd5b84e4ea234f50 (#6817)
- stint: bump for endians
- Add newPayload template
2025-01-06 11:44:32 +01:00
Etan Kissling
7187620792
Bump holesky to f6761b531dae01e30ca05658d01853415465d1e0 (#6814)
- Align config scructure with eth-clients/mainnet repository
2025-01-06 10:43:37 +00:00
Etan Kissling
9490729c06
Bump nim-unicodedb to v0.13.2 (#6816)
- https://github.com/nitely/nim-unicodedb/blob/v0.13.2/CHANGELOG.md
2025-01-06 11:41:36 +01:00
Etan Kissling
a883e544e9
Bump mainnet to dd91689396a9824ed3c78d0576cf5d854504c25c (#6815)
- Align config structure with other public testnet repositories
2025-01-06 11:40:57 +01:00
tersec
88fb369f90
rm unused Makefile devnet-supporting scripts (#6813) 2025-01-05 11:01:15 +00:00
Eugene Kabanov
b831692968
Fix EL manager to wait for non-syncing/accepted response. (#6812)
* Fix EL manager to wait for non-syncing/accepted response.

* Update copyright year.
2025-01-04 06:42:36 +01:00
Agnish Ghosh
e580fd2b69
fix: pass optionalForks to consensus fork parser (#6811)
* voluntary exit fix

* ci lint fix
2025-01-03 17:20:41 +01:00
9583ed291f
exclude gitignore and envrc from copyright requirement
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-01-03 10:18:17 +01:00
fbb1aea048
update Nix readme to fix submodules flag usage
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-01-03 10:18:16 +01:00
4de1289eae
fix loading Nix Flake shell via direnv
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-01-03 02:33:41 +01:00
tersec
fb1c3ba718
add support for Electra blob subnets and IDs (#6806)
* add support for Electra blob subnets and IDs

* fix tests
2024-12-31 18:12:43 +01:00
tersec
e29ef244ed
rm Nimbus book reference to import --method=single-salt (#6805) 2024-12-31 13:00:14 +01:00
Félinàun Chapeau
cb541463ed
docker: Restore more liberal permissions /home/user. (#6803) 2024-12-31 04:47:09 +00:00
tersec
0e86c0d17e
update ShufflingRef version of get_attesting_indices to Electra v1.5.0-alpha.10 (#6801) 2024-12-30 09:36:58 +00:00