6875 Commits

Author SHA1 Message Date
Etan Kissling
6346916224
align field name across SomeSig
`ValidatorSig` uses `blob` but `TrustedSig` uses `data`, aligning the
names reduces code duplication and improves clarity. It also simplifies
`StableContainer` compatibility checks.
2024-06-13 12:41:56 +02:00
Etan Kissling
388f1cfa7b
align StableContainer types with latest EIP-7688 specs 2024-06-13 10:32:55 +02:00
Etan Kissling
8a261173f8
bump nim-ssz-serialization to latest StableContainer implementation 2024-06-13 08:36:39 +02:00
tersec
3d65bdcb09
Revert "bump nim-bearssl for gcc-14 compatibility (#6337)" (#6346)
This reverts commit 45d50f041a5be9787b73cf01ecda1aabb4bf4a5c.
2024-06-12 14:30:17 +02:00
andri lim
238589868c
Bump nim-web3 and nim-eth (#6345)
In nim-web3 all std.Option are replaced by results.Opt. The same goes in nim-eth, with additional fields name changes and GasInt changed from int64 to uint64.
2024-06-12 08:46:39 +07:00
Eugene Kabanov
27664291c4
VC/NIMBUS-BN validators protection. (#6329)
* Beacon node side implementation.

* Validator client side implementation.

* Address review comments and fix the test.

* Only 400 errors could be IndexedErrorMessage, 500 errors are always ErrorMessage.

* Remove VC shutdown functionality.

* Remove magic constants.

* Make arguments more visible and disable default values.

* Address review comments.
2024-06-11 19:38:16 +00:00
Kim De Mey
741075aada
Bump nim-eth module and add async raises for eth2 discovery (#6344) 2024-06-11 19:50:08 +02:00
tersec
77d926525f
stop using deprecated stew/results (#6343)
* stop using deprecated stew/results

* exception tracking linting
2024-06-11 02:34:56 +00:00
tersec
d3bbd41570
bump nim-stew (#6341) 2024-06-10 23:33:52 +02:00
Eugene Kabanov
fbf40542be
Bump nim-blscurve. (#6340) 2024-06-10 20:35:01 +00:00
Eugene Kabanov
18a441d8ba
Bump nim-nat-traversal. (#6339) 2024-06-10 22:29:50 +02:00
tersec
45d50f041a
bump nim-bearssl for gcc-14 compatibility (#6337)
* bump nim-bearssl for gcc-14 compatibility

* Bump chronos.

* Fix flaky test.

---------

Co-authored-by: cheatfate <eugene.kabanov@status.im>
2024-06-10 19:13:15 +00:00
Etan Kissling
cccd81a47b
add ANSI art placeholder for Electra 🦒 (#6338)
Trigger ANSI art on upgrade to Electra

Art created by http://beatscribe.com (beatscribe#1008 on Discord)
2024-06-10 16:45:40 +00:00
tersec
de01ad4f9b
bump nim-stew (#6336) 2024-06-10 06:46:17 +02:00
tersec
598485ee1a
add consolidations block body packing plumbing and correct electra MEV block body htr override (#6335) 2024-06-10 05:05:51 +02:00
tersec
e3d4ad5d39
properly (re)factor consolidation signature checking (#6334) 2024-06-09 19:37:41 +02:00
Eugene Kabanov
0512d02766
VC enable block monitoring by default. (#6331) 2024-06-07 15:04:29 +00:00
Etan Kissling
e7e69daf95
bump 'geth' to v1.14.5 (#6327)
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.5
2024-06-07 02:37:04 +02:00
dependabot[bot]
f97703e6ae
Bump tornado from 6.3.3 to 6.4.1 in /ncli (#6328)
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.3.3 to 6.4.1.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](https://github.com/tornadoweb/tornado/compare/v6.3.3...v6.4.1)

---
updated-dependencies:
- dependency-name: tornado
  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-06-06 23:38:04 +00:00
Etan Kissling
9afe538f38
bump 'geth' to v1.14.4 (#6326)
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.4
2024-06-05 12:03:49 +00:00
Etan Kissling
ab892c1a04
bump mainnet to f6b7882618a5ad2c1d2731ae35e5d16a660d5bb7 (#6310)
* bump `mainnet` to `f6b7882618a5ad2c1d2731ae35e5d16a660d5bb7`

- Initial commit

* fix soft links
2024-05-30 09:28:16 +00:00
Jacek Sieka
d033ae0a34
hashtree: bump (#6292)
Fixes compilation on osx/arm64
2024-05-29 18:38:23 +02:00
90cf1753bd
use self-hosted runners for Developer builds GH action
Otherwise we get:
```
Error: The operation was canceled.
```
Which is most probably due to OOM error.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-29 15:45:44 +02:00
Etan Kissling
a810894635
bump nim-libp2p to 2fa2c4425f4bb835c0517efc03009925dcd28239 (#6314)
- fix(CI): rename branch from unstable to master in bumper workflow
- fix(transport): various tcp transport races
- chore(gossipsub): cleanups
- fix(yamux): set EoF when remote peer half closes the stream in yamux
2024-05-29 10:11:50 +00:00
Etan Kissling
dc3eddde72
bump nim-secp256k1 to 194b715b16766e383b5aef92dd779fb182faf45d (#6316)
- bump `secp256k1` to `v0.5.0`
2024-05-29 10:08:51 +00:00
Eugene Kabanov
1cdb32222b
VC: Add block scoring (#6303)
* Add scoring for blocks.

* Update Alltests.
2024-05-29 10:07:39 +00:00
Etan Kissling
c2777513bb
actually commit stable.nim 2024-05-27 14:44:13 +02:00
Etan Kissling
d222f11edf
move StableContainer to stable.nim 2024-05-27 14:33:39 +02:00
Etan Kissling
36f939b514
Merge branch 'dev/etan/im-base' into feat_eip-7688 2024-05-27 14:22:34 +02:00
Etan Kissling
0e734286e4
move InactivityScores to base
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-27 13:57:47 +02:00
Etan Kissling
8910de65a4
move EpochParticipationFlags, SyncCommittee to base
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-27 13:56:38 +02:00
Etan Kissling
ea58e9353f
move (Signed)?Consolidation, Pending..(Deposit|Withdrawal) to base
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-27 13:52:09 +02:00
Etan Kissling
06e4ad5faa
move KzgCommitments to base
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-27 13:47:05 +02:00
Etan Kissling
ebf285f3dd
move BLSToExecutionChange, SignedBLSToExecutionChange to base
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-27 13:38:29 +02:00
Etan Kissling
fe058f9f04
Merge branch 'dev/etan/im-base' into feat_eip-7688 2024-05-26 15:22:12 +02:00
Etan Kissling
1384d7ee22
move DepositReceipt, ExecutionLayerWithdrawalRequest to base
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-26 15:13:47 +02:00
Etan Kissling
0a0a27399b
move Withdrawal, HistoricalSummary to base
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-26 15:08:18 +02:00
Etan Kissling
bd0689f048
move Transaction, ExecutionAddress and BloomLogs to base
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-26 14:59:49 +02:00
Etan Kissling
ee5af9f7ee
move SyncAggregate to base
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-26 14:39:24 +02:00
Etan Kissling
dc6951eee9
bump nim-web3 to 46b4b4c8bc42013196a6290ee53029131f97931a (#6319)
- CI do not install openssl on macos+nim devel anymore
- Fixed encoding of (multidimentional) dynamic arrays
2024-05-25 11:13:30 +02:00
Etan Kissling
0efc81d96d
use correct minimum size when reading block / state headers (#6263)
`sizeof` also includes padding between fields, while SSZ defines
`fixedPortionSize` (on type) or `sszSize` (on value) to denote
required bytes to encode. Switch forked block/state readers to SSZ size.
As blocks/states are much larger than the padding, this doesn't affect
practical use cases but is slightly more correct this way.
2024-05-25 07:30:05 +02:00
Etan Kissling
de740199f5
bump nim-kzg4844 to f12616d0675d9f6346141ca95f0840ab227eb213 (#6313)
- bump `csources` to `v1.0.2`
2024-05-25 00:36:08 +02:00
Etan Kissling
ad2f14e76a
bump nim-stint to 9d2b382c5dc34f0d6bbd93b2a5d65dde85067e0f (#6318)
- Fix pointer deref issue on Macos and Nim >= 2.0
- Fix GCC-14 [-Wincompatible-pointer-types] issue.
2024-05-24 22:35:50 +00:00
Etan Kissling
1150aa3e11
bump gnosis-chain-configs to 9ed6c63314899d17e2c3f669adbe2bc915610982 (#6311)
- Update spec
2024-05-25 00:33:34 +02:00
Etan Kissling
e5b69bd688
bump nim-snappy to 913c426d571cf82601452642e01cd11ea26f7ac6 (#6317)
- bump `snappycpp` to `1.2.1`
2024-05-24 21:49:35 +00:00
Etan Kissling
e4fcf56648
bump nim-nat-traversal to 54bf8aa2913e8550463779beeae4b469941e039c (#6315)
- bump `libnatpmp-upstream` to
  `007c3a53165a0551c877130eea4d966885ce19ae`
2024-05-24 21:39:55 +00:00
Etan Kissling
ad7daf6be7
bump nim-json-serialization to 4d0b0662ed960ab2c5a1ddbd08f77048bac13ae7 (#6312)
- Workaround Nim regression #23611 related to dirty template
2024-05-24 22:25:55 +02:00
Etan Kissling
7da6b70610
bump 'geth' to v1.14.3 (#6309)
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.3
2024-05-24 19:50:55 +02:00
Etan Kissling
031036f0bc
Merge branch 'feat/eip-7495' into feat_eip-7688 2024-05-24 17:17:40 +02:00
Etan Kissling
22efdd85a5
add tests for EIP-7495: SSZ StableContainer
Implement test runner for new consensus-spec tests:

- https://github.com/ethereum/consensus-specs/pull/3777
2024-05-24 17:14:29 +02:00