Etan Kissling
af75741f2a
Merge branch 'unstable' into feat_eip-7688
2024-09-21 14:44:53 +02:00
tersec
193a982d24
use EF consensus spec v1.5.0-alpha.6 test vectors ( #6568 )
...
* use EF consensus spec v1.5.0-alpha.6 test vectors
* LC changes are good as is, no need for the debug comment
* Fix indentation
* Use `execution_requests` for requests root
* fill in spec reference URLs for ExecutionPayload(Header)
* copy `execution_requests` when blidning blocks for Electra and add test
* fix `test_engine_api_conversions`
---------
Co-authored-by: Etan Kissling <etan@nimbus.team>
2024-09-20 21:32:16 +02:00
Etan Kissling
9df3d075de
fix blinded block conversion for Deneb and Electra ( #6569 )
...
`blob_gas_used` and `excess_blob_gas` were not copied on blinding
signed beacon block.
2024-09-20 16:02:24 +02:00
Etan Kissling
0075655079
add missing `stable_mev` file
2024-07-26 13:05:42 +02:00
Etan Kissling
ef499d0cc4
EIP-7688 MEV types
2024-07-26 12:55:42 +02:00
tersec
0fab9682a6
use EF consensus-specs v1.5.0-alpha.3 test vectors ( #6362 )
2024-06-16 00:15:27 +02:00
Eugene Kabanov
484f48953b
Fix POST to eth/v1/builder/blinded_blocks missing header Eth-Consensus-Version. ( #6256 )
...
* Fix submitBlindededBlock() do not send consensus-version HTTP header.
* Address review comments.
2024-05-03 01:08:16 +00:00
tersec
e70fa6d6de
rename ElectraIndexedAttestation/ElectraAttesterSlashing for consistency ( #6252 )
2024-04-29 04:19:10 +02:00
tersec
87452374e4
add Electra SSZ object test fixture ( #6225 )
2024-04-22 09:00:38 +00:00
tersec
caa3b73dbb
move AttesterSlashing and IndexedAttestation from base to phase0 ( #6223 )
2024-04-21 01:17:02 +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
603c83522e
explicitly refer to phase0.{Attestation,TrustedAttestation} rather than sans module name ( #6214 )
2024-04-17 20:44:29 +00:00
tersec
bb2ca747bc
move Attestation-related types/logging from base to phase0 types ( #6207 )
2024-04-16 19:01:30 +00:00
tersec
6ce5d5814c
support electra block proposals for internal BN validators ( #6187 )
2024-04-09 12:04:33 +02:00
tersec
ba45a1821c
implement Electra beacon API publishBlindedBlock ( #6185 )
2024-04-08 18:03:20 +02:00
tersec
361be082ae
add Electra toSignedBlindedBlock tests ( #6182 )
2024-04-08 10:34:15 +02:00
Etan Kissling
5d42859176
make `Gwei` `distinct` ( #6090 )
...
#6087 introduced a subtle change to `nim-web3` resulting in `Gwei` to be
serialized differently than before. Using a `distinct` type for `Gwei`
improves type safety and avoids such problems in the future.
2024-03-19 14:22:07 +01:00
tersec
f076502e25
rm Capella builder API bid types and blinded block construction ( #6002 )
2024-03-01 00:02:13 +00:00
tersec
5da2bcd243
rm Capella builder API REST calls ( #5997 )
2024-02-29 12:37:08 +00:00
tersec
2b91b66679
rm REST Capella builder API support ( #5981 )
2024-02-28 01:10:19 +00:00
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