Etan Kissling
159f57f27e
LC constant rename
2024-07-22 14:13:56 +02:00
Etan Kissling
b5c0b479fb
bump nimcrypto to `71bca15508e2c0548f32b42a69bcfb1ccd9ab9ff` ( #6430 )
...
- double keccak speed
2024-07-22 03:36:54 +00:00
tersec
6fa852400d
pause deployment of long-range sync option default ( #6436 )
2024-07-21 07:10:26 +02:00
Etan Kissling
377698d65a
bump nim-libbacktrace to `55780313446b618cd226025cd0383c4c9da4a18a` ( #6435 )
...
- Pass length explicitly instead of relying on NULL terminators
2024-07-18 19:59:49 +02:00
Etan Kissling
f36fb8e757
bump gnosis-chain-configs to `0e085cb606e78a495ce8014f9350931bc360e663` ( #6432 )
...
- Bump spec
2024-07-17 21:51:14 +02:00
Kim De Mey
cd008ba7ef
Bump NimYAML + bump related changes ( #6431 )
2024-07-17 21:50:29 +02:00
Etan Kissling
8aab04404e
bump nim-libbacktrace to `da32d6efe6804b021c0943f2dd22924052345e6d` ( #6429 )
...
- bump libbacktrace to `1dd5c408fe6f5d9bccf870ec4e0e4bcabeb0664e`
2024-07-17 21:21:27 +02:00
tersec
ebd0217a10
fix is_eligible_for_activation_queue for electra ( #6427 )
2024-07-15 21:08:20 +02:00
Eugene Kabanov
7853bd2878
BN: User agent recognition and error codes decoding. ( #6414 )
...
* Initial commit.
* Force update remote agent right before disconnect.
* Add handling errors from unknown remote agents.
* Address review comments.
2024-07-15 16:53:41 +02:00
Eugene Kabanov
f751fde417
Use Nimbus specific agent string instead of nim-presto defaults. ( #6424 )
...
* Use Nimbus specific agent string instead of nim-presto defaults.
Use response(code) overload.
* Fix REST API test.
2024-07-15 02:27:23 +00:00
Etan Kissling
baa085e8b1
bump geth to `v1.14.7` ( #6423 )
...
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.7
2024-07-15 02:26:14 +00:00
Kim De Mey
ca15c4e433
Replace deprecated ENR functions ( #6419 )
2024-07-12 17:18:24 +02:00
dependabot[bot]
738bc0e98f
Bump zipp from 3.8.1 to 3.19.1 in /docs ( #6418 )
...
Bumps [zipp](https://github.com/jaraco/zipp ) from 3.8.1 to 3.19.1.
- [Release notes](https://github.com/jaraco/zipp/releases )
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst )
- [Commits](https://github.com/jaraco/zipp/compare/v3.8.1...v3.19.1 )
---
updated-dependencies:
- dependency-name: zipp
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-12 03:05:55 +00:00
Eugene Kabanov
031033a6f9
Fix REST /eth/v1/node/identity should return proper MultiAddresses (version 2). ( #6422 )
...
* Initial commit.
* Bump nim-libp2p with dualstack fixes.
* Pass announcedAddresses to the `p2p_addresses` list.
2024-07-11 17:39:38 +02:00
tersec
befcf3f56a
bump sepolia for new bootnodes ( #6421 )
2024-07-11 07:13:37 +02:00
Etan Kissling
dc007e3977
nullability annotations for `libnimbus_lc.h` ( #6417 )
...
Annotate functions that may return `NULL` with `_Nullable` to properly
bridge into Swift.
2024-07-09 12:38:16 +02:00
tersec
3db571d182
allow individual calculation of validator balances across epoch boundaries ( #6416 )
2024-07-07 00:32:50 +02:00
Jhett Black
3f051e9ab0
Add beacon node count metrics. ( #6371 )
2024-07-06 21:07:56 +00:00
andri lim
0b276315d2
Bump nim-eth: Convert GasInt to uint64 ( #6415 )
...
* Bump nim-eth: Convert GasInt to uint64
* Fixes
* Fix libnimbus_lc
2024-07-06 20:25:31 +00:00
Etan Kissling
7f59e80aaa
validate EL block hash in Electra when no EL is connected ( #6407 )
...
When no EL is connected, it is still required to validate the block hash
of `ExecutionPayload` to prevent attacks that trick us into attesting to
a circular chain with invalid in-between block hashes. This is already
done through Deneb but was still missing in Electra to be rectified now.
2024-07-05 10:18:50 +02:00
Eugene Kabanov
c59bb71916
Add implementation of publishBlindedBlockV2() REST API endpoint. ( #6413 )
2024-07-04 19:48:12 +00:00
Etan Kissling
abf818a9f3
bump nim-eth to `d8fda55c79dd48ba564f3cb540b968f4a1c1aae6` ( #6405 )
...
* bump nim-eth to `d8fda55c79dd48ba564f3cb540b968f4a1c1aae6`
- Overhaul of ENR implementation - part I
- Rework of ENR decoding code
- Update discv5 to use non deprecated ENR calls and simplify code
- simplify .nimble file
- avoid warnings when processing `GasInt` for RLP
- define Electra types and RLP encoding
* explicitly indicate consensus types over nim-eth types in EL manager
2024-07-04 18:40:11 +00:00
tersec
9f654690b8
update builder API registrations after keymanager API fee recipient change ( #6412 )
2024-07-04 14:08:07 +02:00
Eugene Kabanov
85c2850971
Fix publishBlockV1() and publishBlockV2() SSZ decoding process. ( #6408 )
2024-07-04 01:08:07 +00:00
tersec
0dc2447a58
omit frame pointer for secp256k1 ( #6402 )
2024-07-03 22:06:10 +00:00
kevaundray
814dcf595c
update copyright year ( #6404 )
2024-07-03 21:49:23 +00:00
Etan Kissling
858c66b4ba
bump nim-json-rpc to `8e1cdb18230f7e7172b4b4aa503b0d66fe530942` ( #6411 )
...
- Add redefine pragma to inner template
- update ci.yml and be more explicit in .nimble
2024-07-03 21:49:03 +00:00
Etan Kissling
a725da20b8
bump nim-confutils to `cb640db2cd66d7f4a1810a7df51b55f6f59cf3c5` ( #6410 )
...
- update ci.yml and be more explicit in .nimble
2024-07-03 21:48:55 +00:00
Etan Kissling
14edccc962
bump nim-json-serialization to `89f7be1783b2f828a95dea1496fdac3510532997` ( #6409 )
...
- update ci.yml and be more explicit in .nimble
- extend automatic serialization support for `distinct` in Nim 2
2024-07-03 21:48:47 +00:00
Etan Kissling
cac63a3a82
use `pull_request_target` to run PR block action ( #6376 )
...
To avoid requiring authorization to run the PR block action for new
contributors, use `pull_request_target`. Running the workflow file from
the destination branch does not require approval.
- https://stackoverflow.com/questions/74957218/what-is-the-difference-between-pull-request-and-pull-request-target-event-in-git
2024-07-03 13:00:39 +02:00
Eugene Kabanov
84a35c85c5
Fix for gcc-14 issues in kzg-4844. ( #6403 )
...
* Bump nim-kzg4844.
* Fix code to use proper KZG types.
* Add missing coma.
* Fix compilation issue.
* Bump nim-kzg4844.
* Add debugging output.
* Remove debugging output.
* Restore groupBlobs function.
2024-07-03 10:01:33 +00:00
tersec
e54b3e8fda
bump nimbus-build-system for Nim v2.0.8 ( #6401 )
2024-07-03 04:29:43 +00:00
Etan Kissling
515bd486e6
ensure passing unsigned integer to `rlp.encode` ( #6397 )
...
RLP encoding is not defined for signed integers. Make sure to use
unsigned integers when encoding RLP for EL block hash computation.
2024-07-03 01:43:16 +00:00
Etan Kissling
fba8cc3ee5
fix EIP reference in Electra type definition ( #6398 )
...
The field `withdrawal_requests` is from EIP-7002 instead of EIP-6110.
2024-07-03 01:41:01 +00:00
Etan Kissling
1fd246b23e
explicitly refer to attestation fork in SSZ consensus object tests ( #6399 )
...
Use fully qualified types when referring to attestation related types
in tests. We should also consider to merge these to a single runner.
2024-07-03 01:40:47 +00:00
Etan Kissling
12a7ed8c29
bump geth to `v1.14.6` ( #6400 )
...
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.6
2024-07-03 01:40:17 +00:00
tersec
8c67a265d0
bump nim-web3 to align WithdrawalRequestV1 with EIP-7002 and consensus spec ( #6395 )
2024-07-01 16:07:30 +02:00
tersec
13e766d4df
add database electra block tests ( #6394 )
2024-07-01 04:18:41 +00:00
Jacek Sieka
68eabc098b
ssz: bump ( fixes #6393 )
2024-06-30 08:56:52 +02:00
Etan Kissling
08863465a0
deps: update ci.yml and be more explicit in .nimble ( #6392 )
...
Bump nim-blscurve, nim-faststreams, nim-http-utils, nim-metrics,
nim-presto, nim-serialization, nim-snappy for explicit refc and use
`results` instead of `stew/results`.
2024-06-28 16:04:04 +02:00
Eugene Kabanov
190dbfd481
Fix empty status string handling, address #6175 . ( #6391 )
2024-06-28 05:54:51 +02:00
Eugene Kabanov
bab7d8428f
Bump nim-bearssl. ( #6390 )
2024-06-27 03:54:04 +02:00
Etan Kissling
9924aec1e3
extend light client protocol for Electra ( #6375 )
...
* extend light client protocol for Electra
Add missing Electra support for light client protocol:
- https://github.com/ethereum/consensus-specs/pull/3811
Tested against PR consensus-spec-tests, the test runner automatically
picks up the new tests once available.
* workaround `version-2-0`: `Error: cannot instantiate: 'SomeUnsignedInt'`
* fix initialization when Electra not scheduled
* try reduce stack size in test
* put correct sync committee branch version into DB
* adjust fork schedule in light client data tests
* further reduce stack size
* split function into multiple parts
* rename variable
* regenerate test reports to cover new Electra tests
* add Nim bug reference
2024-06-26 19:02:03 +00:00
Etan Kissling
ba5efbfa5c
Merge branch 'stable' into feat/eip-7495
2024-06-26 15:23:33 +02:00
Etan Kissling
d895088a4f
bump nim-ssz-serialization
2024-06-26 15:22:42 +02:00
Etan Kissling
3da85e593f
update references for LC related Nim issues ( #6389 )
...
Addresses feedback from #6375 that is applicable to pre-existing code
moreso than to the new PR.
2024-06-26 14:31:36 +02:00
Etan Kissling
b9d85a0bd5
remove `Consolidation`, `SignedConsolidation`
2024-06-26 11:32:48 +02:00
tersec
288540e794
fix UnnamedBreak deprecation build warnings ( #6388 )
2024-06-26 10:48:49 +02:00
Etan Kissling
754e9c3b10
Merge branch 'dev/etan/lc-electra' into feat_eip-7688
2024-06-25 14:57:39 +02:00
tersec
2d4ece0c3b
bump nimbus-build-system to use Nim v2.0.6 ( #6386 )
...
* bump nimbus-build-system to use Nim v2.0.6
* fix: update name and hash for csources of Nim v2
Otherwise we get errors like:
```
Building: Nim compiler
/build/source/vendor/nimbus-build-system/vendor/Nim /build/source
cmd: git clone -q --depth 1 -b master https://github.com/nim-lang/csources_v2.git csources_v2
24.6.0-dirty
cmd: cd csources_v2
ci/funs.sh: line 10: cd: csources_v2: No such file or directory
make[1]: *** [vendor/nimbus-build-system/makefiles/targets.mk:81: build-nim] Error 1
```
Also need to add source for `checksums` repository.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
---------
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Co-authored-by: Jakub Sokołowski <jakub@status.im>
2024-06-25 00:02:16 +02:00