Commit Graph

6897 Commits

Author SHA1 Message Date
Eugene Kabanov 20bb20f75d
Add `ResolveAlways` flag for web3signer requests. (#6567) 2024-09-20 13:10:25 +02:00
tersec e94417c500
speed up electra attestation tests by 5x (#6563) 2024-09-19 07:46:38 +02:00
Eugene Kabanov e3fcd8b031
REST: getBlockRewards() and getSyncCommitteeRewards() implementation (#6556)
* Initial commit.

* Use temporary state instead of clearance.

* Attempt to fix `finalized`.

* Fix `genesis` response.

* Pre-calculate genesis block rewards response.

* Add implementation for sync committee rewards.

* Add total active balance calculation.

* Add genesis special case.

* Fix negative reward values.

* Address review comments.

* Fix isGenesis implementation and add REST test rules for both calls.
2024-09-18 23:34:32 +00:00
Etan Kissling 1cc3c59334
bump deps: update ci.yml to test Nim 2.2; also test gcc-14 (#6561)
- nim-blscurve: `924bc5a1861583b0032cfa6bc9665cc7642d7bd6`
- nim-faststreams: `081ddc2cb0c6b6d066120bec26de3ab9db23404e`
- nim-http-utils: `e8fc71aee15203a852f6321e4dd8d87517502847`
- nim-json-rpc: `9da5b609bf27805ffaa598efd2db02c1eb5019f4`
- nim-kzg4844: `c4aa30686fd29f52a483f0e3b0a1317dc0f9478d`
- nim-metrics: `f1f886957831e9f2f16ffa728abb4bf44bfd5b98`
- nim-nat-traversal: `05e76accbc7811273fadc23d8886ac1a2f83bb81`
- nim-presto: `5d5dc51bac4aafb26c03d2d813a47e80093bd0c7`
- nim-secp256k1: `641902d492aff3910b0240217fa0b28b5471baad`
- nim-serialization: `b28eeb6714d78f5bc08f26e0d9071c0b56777f68`
- nim-snappy: `590edb152071bca4901bcbe689fc0856efd8c4e7`
- nim-ssz-serialization: `cc09635ff06a337087ffeb83f51b8ee1e70a105c`
- nim-stew: `90a9bfd84389ad9ff1639a54404bed20c861ded8`
- nim-testutils: `c36724c469b657435f40fb7d365ad14640341606`
- nim-toml-serialization: `162358a6750ed472ef6b625d39cb7184db26759d`
- nim-unittest2: `5a76fe5bce267dffe1bea44556ca22df7ecabd8d`
- nim-websock: `179f81dedaddb5ba8d02534ccc8b7a8335981f49`
- nim-zlib: `02311a35623964a3ef37da8cd896ed95be06e6da`
- nim-zxcvbn: `4a200471b3a5798c9eb8be261bea999e7831245a`
2024-09-18 21:01:34 +00:00
Etan Kissling de1552625f
bump nim-web3 to `0cc03e67dda6c4d9be0f9d9abde7508e46156fd9` (#6560)
- Add Prague (EIP-7685, 6110, 7002, 7251, and 7702) fields
2024-09-18 18:47:35 +02:00
Etan Kissling 4564934711
bump nim-eth to `4eecab27efb6a743098632024505474d34a65e9b` (#6559)
- Fix EIP-7865 types and RLP encoding
- Implement EIP-7702 Transaction and Receipt
2024-09-18 15:22:16 +02:00
tersec 6ab3568c16
keep macOS CPU targeting consistent with EOL/supported macOS versions (#6558) 2024-09-18 07:10:20 +02:00
Agnish Ghosh 3f0d58492e
add: ssz consensus objs for peerdas (#6555) 2024-09-17 22:57:48 +00:00
Agnish Ghosh 1feeff4f92
add: recover matrix (#6553) 2024-09-17 10:21:55 +00:00
tersec 205dff3378
stop testing with broken upstream/version-2-0 (#6554) 2024-09-17 01:14:29 +02:00
Agnish Ghosh b3c8c71776
add: compute matrix (#6550)
* add: compute matrix

* rm unsused imports

* rm unused imports 2

* rm bin

* rm unused line

* improve doc

* rid space on proc sig

* review 1

* added seeded PRNG

* randomize blob count as well, with smaller seed

* review 2
2024-09-16 11:19:34 +00:00
tersec 72b5c2bd6e
add some electra support to REST JSON decoding; rm unused code (#6549) 2024-09-15 13:33:13 +00:00
tersec bd47f62f07
tweak indentation (#6548) 2024-09-13 23:31:45 +00:00
Pedro Miranda 7b6caebf6e
Add publishAggregateAndProofsV2 (#6546)
* added new endpoint version(v2) for validator aggregate and proof

* review improvements

* introduced nim template for proof executiion

---------

Co-authored-by: Pedro Miranda <pedro.miranda@nimbus.team>
2024-09-13 21:11:09 +00:00
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