Eugene Kabanov
fc2b232b9e
Fix indefinite loop when when validators are present, but VC does not know indices yet. ( #6615 )
...
Fix block pruning when no validators seen.
2024-10-09 03:00:06 +02:00
Jacek Sieka
7990cc2d1c
Ordered trie for trie root computations ( #6610 )
...
Gives a 100x speed boost for this operation which happens during
optimistic sync when computing the block hash.
Co-authored-by: Etan Kissling <etan@nimbus.team>
2024-10-08 22:10:50 +02:00
Jacek Sieka
e2d65a39a3
discv5: bump to minilru ( #6611 )
...
`minilru` reduces memory usage in the discv lru cache
2024-10-08 12:26:31 +02:00
Eugene Kabanov
a25afaed5a
Increase number of web3 signer requests before signaling failure to 4. ( #6609 )
...
Decrease number of pre-computed slots from 32 to 2.
Add validator field to some log statements.
2024-10-08 05:37:00 +02:00
Miran
3f37caa0da
fix deprecated warnings ( #6606 )
2024-10-08 01:54:02 +00:00
Eugene Kabanov
5d11c5229b
Add Web3signer electra support ( #6607 )
...
* Add Electra support to nimbus_signing_node.
Add tests.
Annotate nimbus_signing_node with asyncraises.
* Update AllTests.
2024-10-07 23:31:16 +00:00
tersec
ab4574ef36
bump nim-libp2p to v1.6.0 ( #6605 )
2024-10-07 14:10:25 +02:00
tersec
b370112fe0
some manual updates to EF consensus-specs v1.5.0-alpha.7 URLs ( #6604 )
2024-10-07 12:30:09 +02:00
tersec
50eed81dcf
electra BN attestation aggregating ( #6596 )
2024-10-07 07:53:38 +00:00
tersec
409023b95c
use macos-13 builders; macos-12 EOL ( #6602 )
2024-10-06 17:11:46 +02:00
tersec
17d66118e8
automated consensus spec URL updating to v1.5.0-alpha.7 ( #6601 )
2024-10-06 14:03:56 +00:00
tersec
9c9f3707a1
use EF consensus spec v1.5.0-alpha.7 test vectors ( #6600 )
2024-10-06 13:15:56 +02:00
tersec
72c7398f85
Revert "stop testing with broken upstream/version-2-0 ( #6597 )" ( #6599 )
...
This reverts commit ac321707e0
.
2024-10-06 03:02:19 +02:00
tersec
ac321707e0
stop testing with broken upstream/version-2-0 ( #6597 )
2024-10-05 05:27:24 +02:00
Pedro Miranda
ff0cc8e62e
Electra - Filter aggregated attestations by root/committee ( #6594 )
...
* Filter aggregated attestations by root/committee
* fixed validator api documentation link
---------
Co-authored-by: Pedro Miranda <pedro.miranda@nimbus.team>
2024-10-04 05:15:48 +00:00
tersec
eb30b741d9
bump nimbus-build-system to use Nim v2.0.10 ( #6592 )
...
* bump nimbus-build-system to use Nim v2.0.10
* fix `CatchableError` leak on Windows
* define ERROR_INVALID_ACCESS
* trigger finding correct hashes for nix build
* check checksums checksum
* update nix nimble checksum
* csources didn't change
2024-10-03 17:13:44 +02:00
tersec
1258fd3592
Revert "stop testing with broken upstream/version-2-0" ( #6573 )
...
* Revert "stop testing with broken upstream/version-2-0 (#6554 )"
This reverts commit 205dff3378
.
* stop using template which Nim 2.0.10 will apparently make recursive
2024-10-03 01:00:39 +00:00
Jacek Sieka
8f0d910422
web: bump to new nim-eth types ( #6590 )
2024-10-02 15:26:11 +02:00
Etan Kissling
ce9e377ebe
bump geth to `v1.14.10` ( #6589 )
...
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.8
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.9
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.10
2024-10-01 13:12:13 +02:00
tersec
7abf899a66
Merge remote-tracking branch 'origin/stable' into unstable
2024-09-30 12:37:04 +00:00
tersec
f54a0366ab
use separate upload/download names for v4 migration
2024-09-30 11:36:15 +00:00
tersec
7a91815014
update actions/upload-artifact@v3 to actions/upload-artifact@v4
2024-09-30 10:47:46 +00:00
tersec
3bf96a5923
version v24.9.0
2024-09-30 03:14:58 +00:00
tersec
faca46ba3f
bump nim-ssz-serialization ( #6588 )
2024-09-29 14:30:49 +02:00
Jacek Sieka
b20f1ba8b3
Update nim-eth types ( #6583 )
...
Minimal changes needed for compatiblity with
https://github.com/status-im/nim-eth/pull/733 which aligns core types
with execution spec.
2024-09-29 13:32:55 +02:00
tersec
2e64fdfa67
centralize ConsensusFork <=> string handling in spec/forks ( #6587 )
2024-09-28 09:23:45 +02:00
Pedro Miranda
4beb890385
new pool attester slashings endpoint version (V2) for electra ( #6585 )
...
* new pool attester slashings endpoint version (V2) for electra
* formatting
---------
Co-authored-by: Pedro Miranda <pedro.miranda@nimbus.team>
2024-09-28 00:00:26 +00:00
tersec
a441695c51
plumb through Electra attestation callbacks ( #6586 )
2024-09-27 13:30:26 +02:00
tersec
fa8b7e380f
add Electra beacon chain database state tests ( #6584 )
2024-09-27 07:53:58 +02:00
Pedro Miranda
744cc00984
replace default word usage ( #6580 )
...
Co-authored-by: Pedro Miranda <pedro.miranda@nimbus.team>
2024-09-26 19:49:03 +00:00
tersec
28b20936e9
add Electra attester slashing gossip support ( #6582 )
2024-09-26 08:11:58 +02:00
Pedro Miranda
daf7f899c2
Attestation API updates for Electra ( #6557 )
...
* new V2 endpoint for beacon getBlockAttestations
* nnew GET endpoint version (V2) for getPoolAttestations
* new POST endpoint version (V2) for submitPoolAttestations
* remove premature ncli tests
* review improvements
* review comments and increased test coverage
* small improvements
* documentation typos
---------
Co-authored-by: Pedro Miranda <pedro.miranda@nimbus.team>
2024-09-25 12:33:58 +00:00
tersec
f2d6166099
remove block fork guessing/inference from REST JSON decoding ( #6552 )
...
* remove block fork guessing/inference from REST JSON decoding
* use template to avoid repetitive per-fork code
* consolidate RestPublishedSignedBeaconBlock and RestPublishedSignedBlockContents parsing fork handling
2024-09-25 02:58:53 +00:00
Agnish Ghosh
31b5c3e30e
add: inclusion proof and dc sidecar verification ( #6577 )
...
* add: inclusion proof and dc sidecar verification
* review 1
2024-09-24 14:46:05 +02:00
tersec
d4e441e694
add Electra attester slashing pool ( #6579 )
2024-09-24 11:01:40 +02:00
Eugene Kabanov
841904bd53
Do not cache resolved hostnames in REST client. ( #6570 )
2024-09-24 04:23:38 +00:00
Eugene Kabanov
77e835153c
Bump nimcrypto to fix nim22 issues. ( #6578 )
...
* Bump nimcrypto to fix nim22 issues.
* Fix compilation issue.
2024-09-24 02:55:16 +00:00
Jacek Sieka
ffc789122b
unittest2: bump ( #6576 )
...
allow capturing openArray in check
2024-09-23 17:06:41 +02:00
tersec
71d8fb546d
update ncli_db to use Opt ( #6575 )
2024-09-23 10:02:09 +02:00
Agnish Ghosh
85d7109065
add: `get_data_column_sidecars` ( #6566 )
...
* add: get_data_column_sidecars
* remove redundant type conversions
* remove redundant for loop
* review 2
* review 1
2024-09-22 23:35:57 +02:00
Etan Kissling
ec831f1c99
clean up config loading in light client tests ( #6574 )
...
The consensus-spec-tests routinely add random experimental features
to their config.yaml which can be ignored.
2024-09-21 12:54:27 +00:00
tersec
ff9d32d30d
some v1.5.0-alpha.6 consensus spec URL updates ( #6572 )
2024-09-21 06:53:34 +02:00
tersec
256f6b8b89
automated consensus spec URL updating to v1.5.0-alpha.6 ( #6571 )
2024-09-21 03:22:41 +02:00
tersec
193a982d24
use EF consensus spec v1.5.0-alpha.6 test vectors ( #6568 )
...
* use EF consensus spec v1.5.0-alpha.6 test vectors
* LC changes are good as is, no need for the debug comment
* Fix indentation
* Use `execution_requests` for requests root
* fill in spec reference URLs for ExecutionPayload(Header)
* copy `execution_requests` when blidning blocks for Electra and add test
* fix `test_engine_api_conversions`
---------
Co-authored-by: Etan Kissling <etan@nimbus.team>
2024-09-20 21:32:16 +02:00
Etan Kissling
9df3d075de
fix blinded block conversion for Deneb and Electra ( #6569 )
...
`blob_gas_used` and `excess_blob_gas` were not copied on blinding
signed beacon block.
2024-09-20 16:02:24 +02:00
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