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
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
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
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
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
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
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
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
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
tersec
177897929b
fix Electra aggregated attestation gossip verification committee index ( #6800 )
2024-12-29 16:12:43 +01:00
Agnish Ghosh
c0108c2f2a
introduced custody groups, and renamed csc to cgc ( #6789 )
...
* introduced custody groups, and renamed csc to cgc
* accomodate tests
* revert to naming columns
* applied review changes
* updated all tests file
* addressed review 2
* merged in typo fixes by airdop farmers/other spam PRs
* handle lint ci
* shift to iterators, avoid redundant copying
2024-12-28 22:07:12 +01:00
tersec
50ab4cf392
switch to Nim v2.0.14 ( #6795 )
2024-12-26 08:22:44 +00:00
tersec
9c9cbed987
implement SingleAttestation ( #6783 )
...
* implement SingleAttestation
* improve SingleAttestation shortLog
* avoid double ShuffleRef lookups in majority/happy case
* restore full electra check_aggregation_count, separately from phase0 one
2024-12-23 16:32:29 +00:00
tersec
ba5beffb52
restore electra aggregate gossip validation to parity ( #6787 )
2024-12-23 17:10:23 +01:00
tersec
79e886c6fc
implement EIP-7691 gossip validation for increased max blobs per block ( #6785 )
2024-12-23 14:06:14 +01:00
tersec
561d845b26
add tests for Electra and Fulu gossip transitions ( #6784 )
2024-12-22 20:28:18 +01:00
Agnish Ghosh
06cf78af99
make getTargetGossipState
aware of Fulu + other fixes ( #6780 )
...
* make getTargetGossipState aware of Fulu, make it aware of electra as well in LC
* fix indent
* minonr fix
2024-12-20 18:39:49 +01:00
Agnish Ghosh
c728d8754c
custody subnet count decoding during discovery ( #6777 )
...
* renamed eip7594_helpers to peerdas_helpers, added csc subnet decoding during discovery
* added link
2024-12-20 11:23:46 +01:00
tersec
e2e22662e1
implement EIP-7691 blob sidecar req/resp endpoints ( #6769 )
...
* implement EIP-7691 blob sidecar req/resp endpoints
* refactor common code out of the blob root/range request handlers
* use template instead of proc
2024-12-18 15:42:19 +01:00
futreall
b1260c3465
Typos Documentation in README.md Files ( #6771 )
...
* Update README.md
* Update README.md
* Update README.md
2024-12-18 09:24:13 +00:00
tersec
412ea71115
update to current EIP-7685 engine API request format ( #6766 )
2024-12-17 13:14:10 +01:00
Agnish Ghosh
eb1e809a54
adds peerdas-supernode flag ( #6764 )
...
* adds peerdas-supernode flag instead of launching a peerdas supernode in subscribeAllSubnets
* make the flag default and _hidden_
* fix indentation
2024-12-17 00:14:39 +00:00
tersec
ed6669bae4
increase default gas limit from 30M to 36M ( #6763 )
2024-12-16 00:33:20 +00:00
tersec
232cf2a538
automated consensus spec URL updating to v1.5.0-alpha.10 ( #6762 )
2024-12-15 17:36:50 +01:00
tersec
7cb0a61471
use EF consensus spec v1.5.0-alpha.10 test vectors ( #6761 )
2024-12-15 14:18:52 +01:00
Agnish Ghosh
2bf0df7c7f
add: column support to ENR, Metadata and Request Manager ( #6741 )
...
* add csc to enr and metadata
* add column filtering into RequestManager
* nits
* add comment
* resolved reviews 1
* added local custody column set into RequestManager as a field
* faster lookups with hashsets
* fix regressions, fix other reviews, fix response checking for columns
* simpler fix for hashsets
2024-12-15 11:46:08 +00:00
Agnish Ghosh
7647d17d9e
wait for fulu fork epoch to pass, then trigger metadata_v3 ( #6759 )
...
* wait for fulu fork epoch to pass, then trigger metadata_v3
* tiny fix
2024-12-13 18:51:38 +01:00
tersec
dd069f23e3
Merge remote-tracking branch 'origin/stable' into unstable
2024-12-13 08:22:52 +00:00
Agnish Ghosh
98a7f446c1
fix: response checking from RequestManager for blobs ( #6755 )
...
* rewrite: response checking from RequestManager for blobs
* clean whitespace
* use a comparator and std instead
* sort incoming blobs by index
* fix list traversal
---------
Co-authored-by: tersec <tersec@users.noreply.github.com>
2024-12-12 16:37:22 +01:00
tersec
4e440277cf
version v24.12.0
2024-12-12 14:40:52 +00:00
Jacek Sieka
031d24ff41
taskpools: bump ( #6757 )
...
* taskpools: bump
* better raises effects
* get rid of custom naming
* bump
* oops
* bump stable
2024-12-11 11:12:56 +00:00
Etan Kissling
7d81ee17db
Support reading bootstrap_nodes.yaml
( #6751 )
...
* Support reading `bootstrap_nodes.yaml`
`bootstrap_nodes.txt` is retired in lieu of `bootstrap_nodes.yaml`,
start reading `.yaml` format (similar to `.enr`).
* Support Gnosis Chiado format (duplicates of entries in other file)
2024-12-09 13:38:56 +00:00
Etan Kissling
0ae7bcfff9
Obtain extra LightClientFinalityUpdate
after LC sync ( #6752 )
...
To avoid having to wait several minutes for LC finality gossip, obtain
extra finality update once LC sync finishes.
2024-12-05 14:07:20 +01:00
Etan Kissling
67eefaaafd
Update Electra art with text 🦒 ( #6748 )
...
Add `Compounding on` text to Electra fork transition art.
Co-authored-by: Beatscribe <beatscribes@gmail.com>
2024-12-03 11:45:12 +00:00
Agnish Ghosh
c13b0c94b9
getMetaData_v3
(#6739 )
...
* add getMetaDataV3
* simpler fix, to review
* drop returns
2024-11-30 16:53:02 +01:00
tersec
18f492d929
Merge remote-tracking branch 'origin/stable' into unstable
2024-11-30 15:03:57 +00:00
tersec
38de746aa4
version v24.11.0
2024-11-29 11:18:07 +00:00
Danyll
2e4d498586
fix typo README.md ( #6735 )
...
"cliant" - "client"
2024-11-28 00:06:28 +01:00
andri lim
1eaeea10b3
Bump nim-web3 to c8f36f59cb354196cfe117b6866e81d450c8cfd7 ( #6727 )
...
* Bump nim-web3 to c8f36f59cb354196cfe117b6866e81d450c8cfd7
* no need to convert accessList and authorizationList anymore
2024-11-27 14:42:45 +07:00
Agnish Ghosh
f12ceb8c75
Req/Resp domain for columns part 1 ( #6723 )
...
* added column support for req resp domain
* fix
* update links
2024-11-27 05:04:19 +01:00
Eugene Kabanov
a461bb102f
Fix block proposer verification failure for light forward syncing algorithm. ( #6726 )
2024-11-24 23:51:21 +01:00
tersec
5579c5234f
automated consensus spec URL updating to v1.5.0-alpha.9 ( #6725 )
2024-11-24 13:16:09 +01:00