Commit Graph

6871 Commits

Author SHA1 Message Date
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
tersec 9ba6b8d8a7
add Electra epoch rewards test fixture (#6231)
* add Electra epoch rewards test fixture

* version-2-0 still has another issue
2024-04-23 15:47:39 +00:00
tersec e6e95cbab7
add Electra slot sanity tests (#6230) 2024-04-23 07:58:32 +00:00
tersec eb997f4e1f
add 10 sub-test-fixtures for electra epoch transitions; use v2.0.4 for Nim 2.x (#6229) 2024-04-23 01:15:55 +00:00
tersec 67a22b3887
add Electra BLS to Execution Change, Block Heaer, Sync Aggregate, and Withdrawals operations test fixtures (#6226) 2024-04-22 12:37:38 +00:00
tersec 87452374e4
add Electra SSZ object test fixture (#6225) 2024-04-22 09:00:38 +00:00
tersec d139c92df9
explicitly scope AttesterSlashing and IndexedAttestation types to phase0 (#6224) 2024-04-21 05:49:11 +00:00
tersec caa3b73dbb
move AttesterSlashing and IndexedAttestation from base to phase0 (#6223) 2024-04-21 01:17:02 +00:00
tersec 41f8400f97
fix Electra light client objects; use version-2-0 for Nim again (#6222) 2024-04-19 19:20:45 +00:00
careworry 2ec82fe3ce
chore: remove repetitive words (#6219)
Signed-off-by: careworry <worrycare@outlook.com>
2024-04-19 11:31:15 +00:00
tersec 73738c702c
use consensus spec v1.5.0-alpha.0 test vectors; use Nim v2.0.4 specifically for 2.0.x (#6221) 2024-04-19 02:55:58 +00:00
Jakub Sokołowski 80edebfd20
fix Nim v2 builds by checking for correct job name (#6218)
Since job folder structure has been changed we don't need the dash.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-18 17:08:44 +02:00
tersec e4b0e24614
add compounding withdrawal helpers (#6217) 2024-04-18 10:12:37 +00:00
tersec 645e627b03
add new Electra beacon chain containers and presets (#6216)
* add new Electra beacon chain containers and presets

* re-enable attestations in electra state transition
2024-04-18 07:30:01 +00:00
tersec 0132f5d689
some consensus spec v1.4.0 spec URL updates (#6215) 2024-04-18 03:00:04 +02:00
tersec 603c83522e
explicitly refer to phase0.{Attestation,TrustedAttestation} rather than sans module name (#6214) 2024-04-17 20:44:29 +00:00
Etan Kissling 4c031a7887
bump `nimcrypto` to `485f7b3cfa83c1beecc0e31be0e964d697aa74d7` (#6213)
- test refc under Nim 2.0 and later
2024-04-17 14:11:53 +00:00
Etan Kissling 23a4646705
bump `nim-chronos` to `0d050d582306e8c521c3a4a6f6dcb3c83c93a90f` (#6211)
- Add custom ring buffer into chronos streams and transports.
- Add `join()` operation to wait for future completion.
- Ensure that all buffers used inside HTTP client will follow original buffer size.
- Add automatic constructors for TCP and UDP transports.
2024-04-17 14:01:21 +00:00
Etan Kissling 02a61258d4
bump `nim-faststreams` to `11b9d952a80ec87e2443405a6a5382f9daac51f8` (#6212)
- Fix spelling & grammer errors in the README
2024-04-17 13:43:34 +00:00
Etan Kissling d03e014bd6
bump `nim-bearssl` to `d81b37dc2011bf3a2bd93500489877c2ce8e6ac3` (#6210)
- Bump cacert to version 2024-03-11.
2024-04-17 15:21:50 +02:00
Etan Kissling c612244451
bump `geth` to `v1.13.15` (#6209)
- https://github.com/ethereum/go-ethereum/releases/tag/v1.13.15
2024-04-17 15:07:44 +02:00