tersec
61e355639a
fix VC builder API registration expiry check sense ( #5663 )
...
* fix VC builder API registration expiry check sense
* avoid pointlessly recomputing cached registrations
* rm unused variable
2023-12-11 22:54:46 +01:00
tersec
df902fd00f
log execution payload (header) block_hash and parent_hash in block shortLogs ( #5660 )
2023-12-10 01:25:51 +01:00
Etan Kissling
d8728b7b28
re-add comment for `PayloadAttributesV2` usage ( #5658 )
...
As followup from #5654 , ensure that we still keep the comment around
referring to the correct `forkchoiceUpdated` to use being driven by
the fork schedule.
2023-12-08 03:50:38 +01:00
4rgon4ut
1cc44729ab
chore(gnosis): update gnosis chain submodule ( #5656 )
2023-12-07 23:54:37 +00:00
Etan Kissling
0a5d9ee027
use `PayloadAttributesV3` in `nimbus_light_client` for Deneb ( #5654 )
...
* use `PayloadAttributesV3` in `nimbus_light_client` for Deneb
From Deneb onward, `forkchoiceUpdated` requires `PayloadAttributesV3`.
In `nimbus_light_client` we still used `PayloadAttributesV2`.
Also clean up two other locations that were already correctly using
`PayloadAttributesV3`, to reduce code duplication.
* fix letter case
2023-12-07 17:10:22 +00:00
tersec
4776fecc33
consensus spec v1.4.0-beta.5 URL updates ( #5655 )
2023-12-06 22:16:55 +00:00
Etan Kissling
483e70d7a0
use `forks` sugar in `nimbus_light_client` ( #5653 )
...
Reduce code duplication and maintenance burden by using `withAll` sugar.
2023-12-06 19:44:49 +01:00
tersec
91029ce6d6
fix XDeclaredButNotUsed hints ( #5652 )
2023-12-06 17:23:45 +01:00
Miran
2f694b9279
update external links in the guide ( #5651 )
2023-12-06 12:09:48 +00:00
tersec
e4cc3ad752
bump nim-metrics to fix XDeclaredButNotUsed hints ( #5650 )
2023-12-05 23:48:02 +01:00
Jacek Sieka
9d155ebb35
avoid json-rpc server import ( #5649 )
2023-12-05 22:08:18 +01:00
tersec
c36d2aa103
fix XDeclaredButNotUsed warnings ( #5648 )
2023-12-05 11:45:47 +00:00
Jacek Sieka
4a56faa579
era: fix verifier at empty slots ( #5641 )
...
* era: fix verifier at empty slots
* avoid returning zero-byte block data to REST/p2p when loading era
files
* fix local test
2023-12-05 07:55:25 +01:00
tersec
9efb2958ec
automated consensus spec URL updating to v1.4.0-beta.5 ( #5647 )
2023-12-05 03:34:45 +01:00
tersec
1791b0ee0a
fix XDeclaredButNotUsed warnings ( #5638 )
2023-12-04 21:14:35 +00:00
tersec
11bbc4010e
use correct pubkey for gossip validation of BLS to execution changes ( #5646 )
2023-12-04 22:10:13 +01:00
tersec
6a07602aca
use consensus spec test vectors v1.4.0-beta.5 ( #5645 )
2023-12-04 22:00:27 +01:00
Etan Kissling
b0839d1ae5
use correct KZG commitments in Deneb `constructPlainBlindedBlock` ( #5642 )
...
For Deneb, extend on #5639 and use correct KZG commitments when
producing new blinded blocks using Nimbus VC.
2023-12-04 17:36:50 +01:00
tersec
0e5c44b529
use v5.3.0 slashing interchange test vectors ( #5640 )
2023-12-04 12:55:56 +01:00
tersec
144d453f4a
Update to current (deprecated, but) version of produceBlindedBlock ( #5639 )
2023-12-03 10:04:12 +01:00
tersec
2fc43c9ba7
track block/blob matching/quarantines using both indices and commitments ( #5621 )
2023-12-01 18:58:46 +00:00
tersec
6a9d522705
Apply EIP-7044 to block signature batch verification ( #5637 )
2023-12-01 14:44:45 +00:00
tersec
7634f92408
update network chain ID reference URL(s) ( #5636 )
2023-12-01 13:32:45 +00:00
tersec
91b5204e52
stop checking beacon parent root for fcU caching ( #5635 )
2023-12-01 12:24:23 +00:00
Etan Kissling
7ba6f13312
bump `chronicles` to `a5c81f3012d7a397e608cfe3d861c02419fa731e` ( #5634 )
...
- abbreviate `NOTICE` with `NTC` instead of `NOT`
2023-11-29 15:13:18 +01:00
Eugene Kabanov
26bcb7057c
REST: Add implementation of postStateValidators and postStateValidatorBalances. ( #5632 )
...
* Add implementation POST versions of /eth/v1/beacon/states/{state_id}/validators and /eth/v1/beacon/states/{state_id}/validator_balances.
Add tests.
* Address review comments.
Fix toList() issue.
* Fix tests.
* Address review comments 2.
* Address review comments 3.
Fix unique check for validator identifiers.
* Address review comments.
* Fix constant value.
2023-11-29 12:05:03 +00:00
Etan Kissling
beb915e308
remove emoji from function names ( #5633 )
...
Some editors seem to have issues with those. The ones in strings seem to
be alright, though. Rename the affected symbols.
2023-11-29 00:30:44 +00:00
Eugene Kabanov
e2e4912645
REST API produceBlockV3 implementation ( #5474 )
...
Co-authored-by: Etan Kissling <etan@status.im>
Co-authored-by: Jacek Sieka <jacek@status.im>
2023-11-29 00:30:14 +01:00
Zahary Karadjov
3a527d622d
Version 23.11.0
2023-11-28 23:54:05 +02:00
Zahary Karadjov
d387b6cb26
Correct error message when the required mdbook version is not available
2023-11-28 23:49:44 +02:00
tersec
ab5343d1bc
update some consensus spec URLs to v1.4.0-beta.4 ( #5631 )
2023-11-27 19:56:34 +01:00
Miran
b92a0d631d
fix #4065 , explicitly mention trusted node sync ( #5611 )
...
* fix #4065 , explicitly mention trusted node sync
* Update docs/the_nimbus_book/src/migration.md
Co-authored-by: tersec <tersec@users.noreply.github.com>
---------
Co-authored-by: tersec <tersec@users.noreply.github.com>
2023-11-27 17:48:48 +00:00
tersec
6dee4d59fe
switch engine authentication from `Option` to `Opt` ( #5624 )
...
* switch engine authentication from Option to Opt
* el_conf updates
* LC and el_conf tests
2023-11-27 14:48:29 +00:00
tersec
efb094b521
bump holesky to rm spurious MAX_BLOBS_PER_BLOCK in config ( #5630 )
2023-11-27 15:28:53 +01:00
tersec
23983c34ac
rm debugRaiseAssert ( #5629 )
2023-11-26 19:40:10 +01:00
tersec
925d531884
test deneb in Jenkins finalization CI ( #5627 )
...
* Revert "Revert "test deneb in Jenkins finalization CI (#5625 )" (#5626 )"
This reverts commit bbf4551ff9
.
* always use current Geth stable
2023-11-26 14:38:19 +00:00
tersec
af0b36f2e7
respond even in not-yet-supported Deneb beacon+builder API case in REST server ( #5628 )
2023-11-26 10:00:04 +00:00
tersec
bbf4551ff9
Revert "test deneb in Jenkins finalization CI ( #5625 )" ( #5626 )
...
This reverts commit af08c0f47d
.
2023-11-26 05:17:46 +00:00
tersec
af08c0f47d
test deneb in Jenkins finalization CI ( #5625 )
2023-11-26 03:37:36 +00:00
tersec
115ffa70eb
rm unused code ( #5623 )
2023-11-25 12:09:18 +00:00
tersec
5aa595fbc6
Option[deneb.SignedBeaconBlock] -> Opt[deneb.SignedBeaconBlock] ( #5620 )
2023-11-24 17:34:45 +01:00
tersec
0e5234efcc
avoid potentially subtle template/function symbol name interactions ( #5622 )
...
* avoid potentially subtle template/function symbol name interactions
* use warn instead of error in getExecutionPayload codepath to ensure lack of ambiguity
2023-11-24 16:34:25 +00:00
Etan Kissling
8cea8af620
fix startup after BN exited between head and finalized blocks updates ( #5617 )
...
When the BN exits after writing new `head` to database, but before
completing the `updateFinalizedBlocks` call, the database is slightly
inconsistent due to the partial write. We currently fail to start up
after that. Fix that by catching up on partial `updateFinalizedBlocks`
tasks on start up, and add a test for this edge case.
2023-11-23 00:44:20 +01:00
Etan Kissling
d5fbbd9b88
increase `GENESIS_OFFSET` for local testnet simulation ( #5619 )
...
The 40s allotted for setting up a local testnet can sometime be exceeded
when CI is busy. Bumping it by 20s should reduce that risk.
Example, where the entire slots 0 and 1 were missed:
```
{"lvl":"INF","ts":"2023-11-22 18:33:32.000+00:00","msg":"Scheduling first slot action","topics":"beacnde","startTime":"8s999ms800us826ns","nextSlot":2,"timeToNextSlot":"3s199us174ns"}
```
2023-11-22 23:19:54 +00:00
Etan Kissling
c81e3a556e
bump `geth` to `1.13.5` in CI ( #5618 )
...
Use stable Geth version in CI, the previous unstable one is no longer
available and fails CI builds.
2023-11-22 22:01:40 +01:00
Etan Kissling
b0b8f21223
fix LC data import `--only-new` regression ( #5616 )
...
Corrects LC server startup logic for `LightClientDataImportMode.OnlyNew`
after regression in #5607 .
2023-11-22 14:05:31 +01:00
Etan Kissling
7554ca2583
retry sync request when receiving invalid response range ( #5615 )
...
Inform `sync_queue` about inconsistent responses to sync requests
so that the affected requests are retried with a different peer.
2023-11-22 09:01:51 +01:00
Etan Kissling
c33dd2c170
restrict best LC update collection to canonical blocks ( #5613 )
...
Simplify best `LightClientUpdate` collection by tracking only canonical
data instead of tracking the best update across all branches within the
sync committee period.
- https://github.com/ethereum/consensus-specs/pull/3553
2023-11-21 23:51:05 +01:00
Etan Kissling
946ebe54cf
simplify `chunkMaxSize[T]` helper implementation ( #5614 )
...
There is no longer a `MAX_CHUNK_SIZE_BELLATRIX` since #5284 , and we have
not used separate limits since #4558 . Clean up to reflect that.
2023-11-21 23:08:31 +01:00
Etan Kissling
375f276f31
reorder gossip validation checks ( #5610 )
...
* reorder gossip validation checks
Doing the coverage check only after the corresponding committee index is
known allows optimization by early rejecting invalid data.
* use same helper for individual attestations as well
2023-11-20 16:42:29 +02:00