Commit graph

16 commits

Author SHA1 Message Date
devopsbo3
249f1725ca Revert "beacon/engine, eth/catalyst: EIP-4844 updates for the engine API (#27736)"
This reverts commit 3a8ffd5d54.
2023-11-10 12:27:53 -06:00
devopsbo3
12e039eb6d Revert "all: rename dataGas to blobGas (#27789)"
This reverts commit 50f1fb085b.
2023-11-10 12:27:53 -06:00
devopsbo3
016aaa607a Revert "core, params, beacon/engine: implement EIP 4788 BeaconRoot (#27849)"
This reverts commit 2e9477f46b.
2023-11-10 12:27:53 -06:00
devopsbo3
975affb4d0 Revert "miner: add to build block with EIP-4844 blobs (#27875)"
This reverts commit 2099a80396.
2023-11-10 12:27:53 -06:00
devopsbo3
7daafba220 Revert "beacon/engine, eth/catalyst, miner: EIP-4788 CL/EL protocol updates (#27872)"
This reverts commit 8398b7094a.
2023-11-10 12:27:53 -06:00
devopsbo3
91787e119f Revert "beacon/engine: add shouldOverrideBuilder to payload envelope (#28029)"
This reverts commit 73b70b7870.
2023-11-10 12:27:53 -06:00
lightclient
73b70b7870 beacon/engine: add shouldOverrideBuilder to payload envelope (#28029)
beacon/engine: add shouldOverrideBuilder to payload envelope
2023-11-10 11:09:46 -06:00
Martin Holst Swende
8398b7094a beacon/engine, eth/catalyst, miner: EIP-4788 CL/EL protocol updates (#27872)
This PR makes EIP-4788 work in the engine API and miner. It also fixes some bugs related to 
EIP-4844 block processing and mining. Changes in detail:

- Header.BeaconRoot has been renamed to ParentBeaconRoot.
- The engine API now implements forkchoiceUpdatedV3
- newPayloadV3 method has been updated with the parentBeaconBlockRoot parameter
- beacon root is now applied to new blocks in miner
- For EIP-4844, block creation now updates the blobGasUsed field of the header
2023-11-10 11:09:46 -06:00
lightclient
2099a80396 miner: add to build block with EIP-4844 blobs (#27875)
---------

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-11-10 11:09:46 -06:00
Martin Holst Swende
2e9477f46b core, params, beacon/engine: implement EIP 4788 BeaconRoot (#27849)
This change implements "EIP 4788 : Beacon block root in the EVM". It implements version-2 of EPI-4788, main difference being that the contract is an actual contract rather than a precompile, as in #27289.
2023-11-10 11:09:46 -06:00
Péter Szilágyi
50f1fb085b all: rename dataGas to blobGas (#27789) 2023-11-10 11:09:46 -06:00
Felix Lange
3a8ffd5d54 beacon/engine, eth/catalyst: EIP-4844 updates for the engine API (#27736)
This is a spin-out from the EIP-4844 devnet branch, containing just the Engine API modifications
and nothing else. The newPayloadV3 endpoint won't really work in this version, but we need the
data structures for testing so I'd like to get this in early.

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2023-11-10 11:09:46 -06:00
Marius van der Wijden
78429f7733
beacon/engine: don't omit empty withdrawals in ExecutionPayloadBodies (#26698)
This ensures the "withdrawals" field will always be present in responses
to getPayloadBodiesByRangeV1 and getPayloadBodiesByHashV1.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2023-03-07 16:30:04 +01:00
Roman Krasiuk
15e5e6176b
eth/catalyst: request too large error (#26722)
The method `GetPayloadBodiesByRangeV1` now returns "-38004: Too large request" error if the requested range is too large, according to spec

Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-02-17 13:30:38 -05:00
Marius van der Wijden
6428663faf
eth/catalyst: send INVALID instead of INVALID_BLOCK_HASH (#26696)
This change will break one hive test, but pass another and it will be the better way going forward
2023-02-17 05:25:09 -05:00
Felföldi Zsolt
3a5aceed8f
beacon/engine: move core/beacon to beacon/engine (#26616)
This PR moves core/beacon to beacon/engine so that beacon-chain related code has its own top level package which also can house the the beacon lightclient-code.
2023-02-06 10:37:58 -05:00