Etan Kissling
4fc1550d0f
add `{.push raises: [].}` to recently modified files ( #5908 )
...
Status Nim style mandates `{.push raises: []}.` at start of modules.
Ensure that's the case so that exceptions are properly tracked.
- https://status-im.github.io/nim-style-guide/errors.exceptions.html
- https://github.com/status-im/nim-eth/pull/614#discussion_r1220906149
2024-02-18 01:16:49 +00:00
tersec
87052eba4e
implement getBlindedBlock REST API ( #5829 )
2024-01-31 03:18:55 +00:00
tersec
128834a8eb
use `RestPlainResponse` to improve builder API rerror reporting ( #5819 )
2024-01-24 23:27:22 +00:00
tersec
d8a2690a92
update builder API spec reference URLs to v0.4.0 ( #5812 )
2024-01-22 08:36:46 +01:00
tersec
4ec36e0670
Revert "use `RestPlainResponse` to improve builder API rerror reporting" ( #5811 )
...
* Revert "use `RestPlainResponse` to improve builder API rerror reporting"
* Update rest_deneb_mev_calls.nim
copyright year linting
* Update rest_capella_mev_calls.nim
more copyright year linting
2024-01-21 22:39:45 +00:00
tersec
545fb17649
use RestPlainResponse to improve builder API rerror reporting ( #5777 )
2024-01-19 03:20:47 +00:00
Jacek Sieka
62cbdeefc5
verify `genesis_time` more strictly ( fixes #1667 ) ( #5694 )
...
Bogus values lead to crashes down the line when timers overflow
2024-01-06 15:26:56 +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
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
Etan Kissling
98e969084d
update Deneb for latest builder-specs flow ( #5598 )
...
The `BlobSidecar` construction has been moved to the relay and is no
longer done by the BN / VC in blinded flow. Builder bid contents have
been shrinked from full `BlindedBlobBundle` to `blob_kzg_commitments`.
- https://github.com/ethereum/builder-specs/pull/90
- https://github.com/ethereum/beacon-APIs/pull/369
2023-11-15 16:20:13 -08:00
Etan Kissling
d8a7f0df81
update Deneb for blob sidecar inclusion proofs ( #5565 )
...
`BlobSidecar` is no longer signed, instead use Merkle proof to link
blobs with block.
- https://github.com/ethereum/consensus-specs/pull/3531
Associated beacon-API / builder-specs still TBD; minimal changes done
to compile in similar style to previous spec, but not standardized yet.
- https://github.com/ethereum/beacon-APIs/pull/369
- https://github.com/ethereum/builder-specs/pull/90
2023-11-06 07:48:43 +01:00
tersec
b2e81de6db
remove unnecessary Builder API status endpoint usage ( #5518 )
2023-10-23 23:01:29 +00:00
tersec
6eb7d481fa
fix Deneb builder API block body type; introduce and use ExecutionPayloadHeaderAndBlindedBlobsBundle ( #5509 )
2023-10-18 02:54:02 +00:00
tersec
edc5c03230
consistently use SignedBlindedBeaconBlockContents; remove more Bellatrix Builder API remnants ( #5493 )
2023-10-11 11:48:35 +00:00
tersec
48197e4d55
add/update Deneb Builder API types and RPC signatures ( #5492 )
2023-10-11 04:25:59 +00:00
tersec
18061f7991
Remove most remaining portions of Bellatrix Builder API ( #5272 )
2023-08-08 00:05:17 +00:00
tersec
2ae2d0a042
remove Bellatrix Builder API (Signed)BuilderBid ( #5262 )
...
* remove Bellatrix Builder API (Signed)BuilderBid
* stub out BlindedBeaconBlock
2023-08-06 09:20:43 +00:00
tersec
1f5dd83fbd
unplumbing Bellatrix builder API support ( #5203 )
2023-08-05 05:13:08 +00:00
tersec
d542410a17
remove more Bellatrix-only Builder API support infrastructure ( #5251 )
2023-08-05 00:11:51 +00:00
henridf
99264d7507
Local validator proposals ( #5137 )
...
* Implement local validator block proposals
* Address review feedback
* Fix rebase issue
2023-06-30 07:39:41 +00:00
tersec
5aeb5d9209
increase builder API getHeader timeout ( #4964 )
2023-05-16 16:41:55 +03:00
Etan Kissling
0701038f76
log `bls_to_execution_changes_len` in `shortLog` ( #4949 )
...
* log `bls_to_execution_changes_len` in `shortLog`
When logging blocks to console, include num BLS to Execution changes.
* fix
* lint
2023-05-13 04:29:46 +00:00
henridf
be3f5b1eac
More blob tweaks/fixes from running in devnet ( #4933 )
...
* BeaconNode: don't call fetchMissingblobs with empty list
* More logging
* BlockProcessor.checkBloblessSignature: Add missing return value
2023-05-11 00:36:35 +00:00
zah
5bf9284e62
Initial public version of the Verifying Web3Signer functionality ( #4912 )
...
* Allow the list of proved properties for web3signer to be configured
* Document the Web3Signer setups (regular, distributed and verified)
2023-05-09 11:16:43 +03:00
tersec
79eddcde40
capella builder API support ( #4643 )
...
* capella builder API support
* use capella EPH when appropriate
* fill in ExecutionPayload.withdrawals and sanity-check builder API withdrawals root
2023-02-21 14:21:38 +01:00
tersec
0cc0c7e6b7
builder spec v0.3.0 URL updates ( #4641 )
...
* builder spec v0.3.0 URL updates
* remove stray non-URL/comment change
2023-02-18 01:54:30 +01:00
tersec
ebb45e10da
initial implementation of capella MEV ( #4567 )
2023-02-06 19:07:30 +01:00
tersec
aacc8d702d
remove Nim 1.2-compatible `push raise`s and update copyright notice years ( #4528 )
2023-01-20 14:14:37 +00:00
Etan Kissling
0590be7afe
add `num_active_participants` helpers for `SyncAggregate` ( #4478 )
...
Introduce `num_active_participants` helper function to reduce visibility
of low-level `countOnes` function and reduce code duplication.
2023-01-10 11:26:25 +00:00
Eugene Kabanov
8fa6064b9a
VC: blinded block publishing support ( #4332 )
...
* Add blind REST API declarations and implementations.
* shortLog is still not stable.
* Fix shortLog issues.
* Enable disabled logging statements.
* Address review comments.
* Avoid templates suffering from double evaluation of their params
* Address review comments.
* Fix compilation issue.
Co-authored-by: Zahary Karadjov <zahary@status.im>
2022-11-24 09:14:05 +00:00
cheatfate
b54a03ae07
Fix MEV builder file descriptor leaks.
2022-10-14 16:09:39 +03:00
zah
b1ac9c9fe4
Fix a potential segfault and various potential stalls ( #4003 )
...
* Fixes a segfault during block production when the Keymanager API
is disabled. The Keymanager is now disabled on half of the local
testnet nodes to catch such problems in the future.
* Fixes multiple potential stalls from REST requests being done
without a timeout. From practice, we know that such requests
can hang forever if not cancelled with a timeout. At best,
this would be a resource leak, at worst, it may lead to a
full stall of the client and missed validator duties.
* Changes some Options usages to Opt (for easier use of valueOr)
2022-08-19 21:51:30 +00:00
tersec
d62d13a23c
MEV block proposal ( #3883 )
...
* MEV validator registration
* add nearby canary to detect new beacon chain forks
* remove special MEV graffiti
* web3signer support
* fix trace logging
* Nim 1.2 needs raises Defect
* use template rather than proc in REST JSON parsing
* use --payload-builder-enable and --payload-builder-url
* explicitly default MEV to disabled
* explicitly empty default value for payload builder URL
* revert attestation pool to unstable version
2022-08-01 09:41:47 +03:00
Miran
dfd4afc9f2
compatibility with Nim 1.4+ ( #3888 )
2022-07-29 10:53:42 +00:00
tersec
e0e7af7aff
MEV boost script for ropsten and sepolia builder network ( #3851 )
...
* MEV boost script for ropsten and sepolia builder network
* networkInfo not a global variable
2022-07-12 20:50:12 +03:00
tersec
1262e50fa5
document MEV/mergemock test script ( #3694 )
2022-06-06 16:55:02 +03:00
tersec
e7ed7332b3
MEV REST serialization and call signatures ( #3625 )
2022-05-17 13:56:19 +00:00
tersec
fc75c3ce36
tracking update to MEV SSZ objects ( #3622 )
2022-05-09 14:55:15 +00:00
tersec
7ddba43ff9
Add signed MEV SSZ objects ( #3621 )
2022-05-09 11:19:20 +00:00
tersec
eea33b82a9
add current MEV builder SSZ types ( #3620 )
2022-05-08 22:42:21 +00:00
tersec
ef9767eb7a
implement --jwt-secret and HS256 JWT/JWS signing for engine API alpha.7 ( #3440 )
2022-02-27 16:55:02 +00:00
tersec
bd0a3a9b10
rearrange MEV code ( #3319 )
2022-01-25 19:43:28 +00:00