Commit Graph

6641 Commits

Author SHA1 Message Date
Jacek Sieka 31fdbae9d4
ssz: bump to disable arm64 hashtree (#6278) 2024-05-09 08:15:22 +02:00
tersec 6b8061b5d6
automated consensus spec URL updating to v1.5.0-alpha.2 (#6279) 2024-05-09 05:03:10 +00:00
tersec 1051c3c9c5
use upstream/version-2-0 of Nim in CI (#6277) 2024-05-09 02:22:28 +02:00
tersec 137d969f1d
configure block_sim to start with Deneb genesis (#6274) 2024-05-08 06:38:49 +00:00
tersec 963e0bb92b
use EF consensus spec v1.5.0-alpha.2 test vectors (#6272) 2024-05-08 04:43:05 +02:00
tersec 1b30dcc165
initial electra attestation pool changes; electra block_sim (#6255) 2024-05-07 15:01:51 +00:00
dependabot[bot] 70d6c361c4
Bump jinja2 from 3.1.3 to 3.1.4 in /docs (#6269)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [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.3...3.1.4)

---
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>
2024-05-06 22:35:57 +00:00
dependabot[bot] 72ac82ec0b
Bump jinja2 from 3.1.3 to 3.1.4 in /ncli (#6268)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [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.3...3.1.4)

---
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>
2024-05-06 22:35:13 +00:00
Jakub Sokołowski 7acf383da2
ci: pin Nim for PR builds to v2.0.4 temporarily (#6267)
Mitigation for:
https://github.com/nim-lang/Nim/issues/23568

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-06 22:33:53 +00:00
Jakub Sokołowski 4a1a2c8196
add packages to Nix flake config, move to repo root
This way we can actually build and run a node using just:
```sh
nix run 'github:status-im/nimbus-eth2?submodules=1'
```
The `?submodules=1` part should eventually not be necessary.
For more details see:
https://github.com/NixOS/nix/issues/4423

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-06 16:57:23 +02:00
tersec c41fe698cf
small datatypes cleanups (#6266) 2024-05-06 10:21:37 +02:00
Eugene Kabanov a6f68d3edc
Fix POST to /eth/v2/beacon/blocks unable to verify correct block signature. (#6261) 2024-05-06 04:15:17 +00:00
Jacek Sieka d0cea28a79
chronos: bump (#6264)
* Revert "revert to v2.0.4"

This reverts commit fc3fad2433.

* chronos: bump

Maybe work around https://github.com/nim-lang/Nim/issues/23568
2024-05-05 19:36:16 +02:00
Jacek Sieka 2969e187b8
ssz: bump (#6262)
*  fix missing arm64 symbols
* official release ver
2024-05-05 13:35:19 +02:00
Etan Kissling 8c84e835c6
bump `nim-chronicles` to `33761a5f77610d3f87f774244490eae43a9ac5a1` (#6265)
- Fixing CI.
2024-05-05 03:25:29 +02:00
tersec fc3fad2433
revert to v2.0.4 2024-05-04 08:39:33 +00:00
Eugene Kabanov 484f48953b
Fix POST to eth/v1/builder/blinded_blocks missing header Eth-Consensus-Version. (#6256)
* Fix submitBlindededBlock() do not send consensus-version HTTP header.

* Address review comments.
2024-05-03 01:08:16 +00:00
Jacek Sieka 7bef68ce93
libp2p: bump (#6260)
Improves memory and cpu efficiency of seen/idonwant caches (100mb mem
savings on holesky)
2024-05-02 14:29:26 +02:00
Etan Kissling bfb9670f79
bump `holesky` to `bc5dfed5d939f611ad519a89d84ae227e83b5570` (#6258)
- Added Blockscout to the list of block explorers
2024-05-02 13:43:01 +02:00
Etan Kissling b6d0bf1df3
bump `gnosis-chain-configs` to `c115f3688c19eb6153e22c1e76477db4ed27fae3` (#6257)
- Bump config to v1.5.0-alpha.0
2024-05-02 12:35:11 +02:00
Etan Kissling 0881d38aad
bump `nim-chronos` to `72f560f049efa42fffb50aff2015782f6f17825e` (#6259)
- Fix RangeError defect being happened using android toolchain.
2024-05-02 09:26:17 +00:00
Jacek Sieka ab30efaf80
Integrate `hashtree` for better hashing performance (#5188)
status-im/nim-ssz-serialization#35 brings in https://github.com/prysmaticlabs/hashtree as a supported backend for SHA256, giving a nice little performance boost to all hash_tree_root calls on supported platforms / compilers.

Expected gains are on the order of 30% which in the case of a replayed state nets us 0.2-0.3s improvement.

More about this design here: https://hackmd.io/@potuz/BJyrx9DOF - kudos to @potuz for this excellent library!
2024-05-02 08:54:32 +02:00
Etan Kissling 9e8d2e70bd
block pull requests to `stable` (#6001)
* block pull requests to `stable`

Pull requests should be opened against the `unstable` branch.
See https://nimbus.guide/contribute.html#build-and-deploy

* avoid deleting branch to mimic manual close

* avoid triggering on dependabot PRs
2024-05-01 19:30:03 +00:00
Eugene Kabanov c9b54bf1aa
Enable IPv6 for discovery5 using dualstack support. (#6242)
* Make listen-address default to use dualstack.

* Use correct newProtocol().

* Bump nim-eth.

* Bump nim-eth one more time.

* Use `*` instead of IPv6 address for dualstack sockets.

* Bump chronos and nim-eth.

* Use new constructor.

* Fix listenAddress should be Opt[T] not Option[T].

* Fix options.md.
2024-05-01 19:29:39 +00:00
kaiserd bd33828681
Chore/update libp2p branch master (#6253)
* chore: change nim-libp2p branch from unstable to master

* chore: dummy bump of nim-libp2p version to please linter

---------

Co-authored-by: ksr <kaiserd@users.noreply.github.com>
2024-05-01 19:08:48 +02:00
Eugene Kabanov f3da063510
Fix VC not properly handled getAggregatedAttestation's 404 error. (#6254)
* Fix VC not properly handled getAggregatedAttestation's 404 error.

* Update AllTests.
2024-05-01 15:32:28 +00:00
tersec 1ab6f1654f
Merge remote-tracking branch 'origin/stable' into unstable 2024-04-29 06:08:43 +00:00
Etan Kissling f6fbb054b4
bump `nimbus-build-system` to `a15dc546a053dd94c610a4178887bbf7c908aadb` (#6244)
- switch to Nim `v1.6.20`
2024-04-28 22:37:30 -07:00
tersec e70fa6d6de
rename ElectraIndexedAttestation/ElectraAttesterSlashing for consistency (#6252) 2024-04-29 04:19:10 +02:00
tersec f20a21c015
v24.4.0 2024-04-29 01:00:13 +00:00
tersec abc8bbbf23
add EF consensus spec test Electra fork and transition fixtures (#6251) 2024-04-28 16:13:17 +02:00
tersec a66876c8e5
add EF consensus spec test Electra block sanity fixtures (#6250)
* add EF consensus spec test Electra block sanity fixtures

* move process_consolidation/process_deposit_receipt before usage
2024-04-28 09:15:03 +00:00
tersec 302f645a01
use EF consensus spec v1.5.0-alpha.1 test vectors (#6249) 2024-04-28 03:33:44 +00:00
tersec 6119389c3a
add EF consensus spec test Electra attestation operations fixture (#6248) 2024-04-28 00:52:14 +00:00
Etan Kissling 9f5d2e290c
bump `nim-libbacktrace` to `cefd3eec9c13330f6726383ed0c8a60ca8823603` (#6247)
- bump `libbacktrace` to `ae1e707dbacd4a5cc82fcf2d3816f410e9c5fec4`
2024-04-26 19:58:33 +00:00
tersec 8f0a61b964
add EF consensus spec test Electra execution payload operations fixture (#6246) 2024-04-26 16:02:15 +00:00
tersec 63d00931a3
add EF consensus spec test Electra deposit receipt operations fixture (#6245) 2024-04-26 12:39:09 +00:00
tersec 34ba05f4d3
add EF consensus spec test Electra deposits operations fixture (#6243) 2024-04-26 07:18:44 +00:00
Etan Kissling 5d5517b566
bump `nim-websock` to `63bcc2902d884c63101e144555ad99421734a70a` (#6241)
- Fix CI badge URL
2024-04-26 04:42:21 +00:00
Etan Kissling 224a24c717
bump `nim-web3` to `290acb6e6200230fc625209e6654f6bb60aceb13` (#6240)
- Change some FeeHistoryResult field types from Quantity to UInt256
- bump `execution-apis` to `v1.0.0-beta.4`
2024-04-26 04:12:47 +00:00
Etan Kissling c89843efd4
bump `nim-libp2p` to `2b5319622c997ce1c80bc62c863e30f3349ee0d7` (#6238)
- fix: reset accept fut in stop
- always allow new data be received if the recvWindow is > 0
- Revert "always allow new data be received if the recvWindow is > 0"
2024-04-26 02:45:12 +00:00
Etan Kissling 98e710b7ff
bump `nim-stew` to `104132fd0217e846b04dd26a5fbe3e43a4929a05` (#6239)
- Update LRU directives
2024-04-26 02:33:21 +00:00
Etan Kissling d864ab717f
bump `nim-chronicles` to `856514a5b10e9293f6cdcf4cc60d7bb969f6b1c0` (#6237)
- task requires
- Fix CI badge URL
2024-04-26 02:09:56 +00:00
Etan Kissling 23116bafee
bump `geth` to `v1.14.0` (#6236)
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.0
2024-04-26 00:07:20 +00:00
tersec b0f58a58b6
add EF consensus spec test Electra consolidation operations fixture (#6235) 2024-04-25 18:50:54 +00:00
Jakub Sokołowski 824bb17115
ci: use clang 18 from Homebrew on aarch64
Not sure if `LDFLAGS` and `CPPFLAGS` are absolutely necessary but Brew docs recommend it.

Depends on:
https://github.com/status-im/infra-ci/commit/67fafcb5
https://github.com/status-im/status-jenkins-lib/pull/90

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-25 14:39:19 +02:00
tersec 8c4ddd64c0
add EF consensus spec test attester slashing, proposer slashing, voluntary exit, and execution layer withdrawal request tests (#6234) 2024-04-25 08:41:17 +00:00
Kim De Mey 70a41bd78a
Update nimbus.guide color schemes to be closer to nimbus.team (#6227)
The new nimbus.team website got launched with different
color schemes than the previous.
This is a small attempt to get the color schemes (dark/light)
closer to those used on nimbus.team.

There was already a dark scheme added before. This change just
sets that dark scheme as default, as is also the case for
nimbus.team.

It also removes orange/amber colors from the light scheme.
2024-04-24 19:14:33 +02:00
tersec 90ac2def31
switch back to version-2-0 (#6233) 2024-04-24 13:49:05 +00:00
tersec f53271eaaa
add rest of EF consensus spec test Electra epoch transition fixture(s) (#6232) 2024-04-24 12:28:47 +00:00