Commit Graph

7074 Commits

Author SHA1 Message Date
Etan Kissling 7a486ff1f2
bump nim-json-serialization to `96fcb658b4d5ef81515b85bafdfffcc1eaf2cdf4` (#6648)
- fix stylecheck for BiggestUInt
- v0.2.8
- Fix import stew/results to pkg/results
2024-10-16 19:07:28 +00:00
Etan Kissling 0387342922
bump nim-json-rpc to `0408795be95c00d75e96eaef6eae8a9c734014f5` (#6647)
- fix stylecheck for UInt256
- v0.4.4
2024-10-16 18:36:56 +00:00
Eugene Kabanov fcf72a6e8e
VC: Electra fixes. (#6631)
* Initial commit.

* Add aggregated attestation processing.

* Add missing presets file.

* Fix compilation error.

* Fix post-rebase compilation error.

* Satisfy push raises requirement.

* Fix sync committee duties retrieval process.

* Fix forks configuration management.

* Fix deposits to use new fork configuration scheme.

* Fix /eth/v2/validator/aggregate_attestation implementation.

* Fix RANDAO preparation loop to handle blocks at epoch boundary properly.

* Simplification of RANDAO fix.

* Fix typo.

* Address review comments and fix tests.

* Fix incorrect status codes in REST test.

* Rework attestation and aggregated attestations processing code.

* Address review comments.

* Fill committee_index in RegisteredAttestation construction code.

* Address review comments part 2.

* Address review comments part 3.

* use Deneb fork epoch

* Add transition from Deneb to Electra into CI finalization test.

---------

Co-authored-by: tersec <tersec@users.noreply.github.com>
2024-10-16 17:20:39 +00:00
Etan Kissling ec0accf290
bump dependencies: Replace `apt-fast` with `apt-get` (#6646)
- nim-bearssl to `953a795b96d73a7401e7a1041587da9ffe6d78f6`
- nim-blscurve to `de2d3c79264bba18dbea469c8c5c4b3bb3c8bc55`
- nim-chronicles to `81a4a7a360c78be9c80c8f735c76b6d4a1517304`
- nim-confutils to `9bf293e5d29294848a9d2d79363d971d2abe8254`
- nim-faststreams to `c246d00eaa7d6f52019464b37da510a8be23e939`
- nim-http-utils to `8bb1acbaa4b86eb866145b0d468eff64a57d1897`
- nim-kzg4844 to `abef457e17c56901fd038bb1a7e11dfd5a4f919a`
- nim-metrics to `cacfdc12454a0804c65112b9f4f50d1375208dcd`
- nim-minilru to `c35304151ea39077330f225e3837450990d55e48`
- nim-nat-traversal to `5e4059746e9095e1731b02eeaecd62a70fbe664d`
- nim-presto to `bd410a26e0da62fdcf56d2be17bd53d84868a457`
- nim-secp256k1 to `0706e2c350266017dcd663ff2727eb2b03d2fa44`
- nim-stew to `a6e198132097fb544d04959aeb3b839e1408f942`
- nim-stint to `3236fa68394f1e3a06e2bc34218aacdd2d675923`
- nim-testutils to `30c03da87d501db3289f8598f7235e3af79952d6`
- nim-zlib to `91cf360b1aeb2e0c753ff8bac6de22a41c5ed8cd`
- nim-zxcvbn to `f31e4bd8fef867799bc42e47b073925a281349f3`
2024-10-15 21:47:40 +00:00
Etan Kissling c4be5f677a
bump nim-eth to `171531fbf1a308c1bf4d2f6b88c6ee6924657437` (#6645)
- rm Goerli bootnodes
- update Sepolia and Holesky bootnodes
- Fix Authorization fields name to v, r, s
- Add helper for recovering authority
2024-10-15 21:47:17 +00:00
Etan Kissling 03369d9c07
Replace `apt-fast` with `apt-get` (#6644)
`apt-fast` was removed from GitHub with Ubuntu 24.04:

- https://github.com/actions/runner-images/issues/10003

For compatibility, switch back to `apt-get`.
2024-10-15 21:45:28 +00:00
Eugene Kabanov 0ecd2798e8
Deprecate logtrace tool. (#6643)
* Deprecate logtrace tool.

* Eliminate mentions of logtrace in Makefile and scripts.
2024-10-15 13:54:07 +00:00
tersec acad28d05b
avoid combining multiple aggregates from same committee (#6642) 2024-10-15 06:02:36 +02:00
Miran 585deb8f90
use types from `eth/common/eth_types` (#6614)
* bump nim-eth

* use types from `eth/common/eth_types`
2024-10-14 14:55:56 +00:00
tersec c01cf6601a
attestation and aggregated attestation BN fixes for Electra (#6641)
* attestation and aggregated attestation BN fixes for Electra

* disable electra transition for this PR

* use cleaned-up verification function everywhere
2024-10-14 14:20:26 +00:00
tersec e9e0149d55
use Geth v1.14.11 (#6640) 2024-10-12 06:40:32 +02:00
tersec bc51ba3077
styleCheck tweaks (#6638) 2024-10-12 00:51:28 +02:00
tersec 5608a803d7
update beacon_validators to be more Nim 2.2-compatible (#6637) 2024-10-11 15:39:45 +02:00
tersec b4efaaa573
test with macOS ARM64 (#6635)
* test with macOS ARM64

* assign platform variable
2024-10-11 11:08:46 +02:00
tersec 181f5f984d
use Deneb genesis for local testnet; add Electra forking support to local tesnet (#6634)
* use Deneb genesis for local testnet; add Electra forking support to local tesnet

* deneb -> electra in ncli_testnet help
2024-10-10 15:48:05 +00:00
tersec 9ba31fb5e6
adjust isomorphicCast to be Nim 2.2-compatible (#6633) 2024-10-10 12:23:23 +00:00
tersec 8a91d91b0d
rm ExecutionPayloadV4/electra.ExecutionPayload roundtrip tests (#6632) 2024-10-10 10:31:45 +00:00
tersec 6e610f64e0
rm unused/bitrotted ncli_query (#6618) 2024-10-10 05:22:44 +00:00
Etan Kissling 5418b8375a
bump nim-toml-serialization to `53ae081cc9a3e61095cab49862658a46b00eacf7` (#6630)
- avoid threadvar with const field table
2024-10-10 01:37:15 +00:00
Etan Kissling c6f0b88ddd
bump sepolia to `f2c219a93c4491cee3d90c18f2f8e82aed850eab` (#6629)
- Align config structure with other public testnet repositories
2024-10-10 01:12:54 +00:00
Etan Kissling 397ff2f55d
bump nim-ssz-serialization to `6688301e946b543f8d2677d0a944f9369e578628` (#6626)
- require Nim 2.0
- fix adding empty List/HashList to empty HashList
2024-10-10 01:12:44 +00:00
Etan Kissling 6ea0e520a9
bump nim-web3 to `c38791832cac2d23eab57cdc32decdd8123e5d36` (#6628)
- always test with ORC
- fix newPayload type
- use common transaction signature helpers
2024-10-09 22:06:04 +00:00
Etan Kissling 9c8642abf4
bump nim-unicodedb to `v0.13.0` (#6627)
- https://github.com/nitely/nim-unicodedb/blob/v0.13.0/CHANGELOG.md
2024-10-09 22:05:36 +00:00
Etan Kissling 6e335700a5
bump nim-normalize to `v0.9.0` (#6625)
- https://github.com/nitely/nim-normalize/blob/v0.9.0/CHANGELOG.md
2024-10-09 20:34:20 +00:00
Etan Kissling 4478d94f93
bump holesky to `37eaaf80084489af9459836c03c6e24b9e431c2a` (#6619)
- align config structure with other public testnet repositories
2024-10-09 21:48:13 +02:00
Etan Kissling 4296e4a67a
bump nim-kzg4844 to `55ce80314ead59e8daf036a9f65f4402750f05da` (#6624)
- bump csources to `v2.0.1`
2024-10-09 19:45:52 +00:00
Etan Kissling c55315de3c
bump nim-chronicles to `4524912fcacfd3965e32a9fe23c9bb12d48177ff` (#6620)
- add RfcUtcTime compilation option
- update ci.yml to test Nim 2.2
2024-10-09 19:57:26 +02:00
Etan Kissling 1fa5e19ed1
bump nim-json-serialization to `ab1a061756bb6fc2e0f98cb57852f2bb0c6f9772` (#6623)
- update ci.yml to test Nim 2.2; also test gcc-14
- allow serializing distinct arrays
- avoid threadvar for field table

bump nim-serialization to `7950ac1e8c9f0019c798f97ab1fe1d9367cc2e6d`

- return serializer table directly
2024-10-09 16:10:02 +00:00
Etan Kissling b2cb0711a8
bump nim-json-rpc to `be16a6528acfcfdaab381c4900240e454f7cdc63` (#6622)
- work around Nim 2.0.10 issue
2024-10-09 17:15:02 +02:00
Etan Kissling c7dbad1f41
bump nim-confutils to `2717b21b8791d34da877c9a2198d7e97a9c3cbef` (#6621)
- update ci.yml to test Nim 2.2; also test gcc-14
- avoid threadvar
2024-10-09 16:49:04 +02:00
tersec 3868365ac0
automated consensus spec URL updating to v1.5.0-alpha.8 (#6617) 2024-10-09 08:37:35 +02:00
tersec b8a424991d
use EF consensus spec v1.5.0-alpha.8 test vectors (#6616) 2024-10-09 04:33:17 +00:00
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