Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pectra devnet4: implement pectra devnet4 spec (#3706)
* vm: update the system contract addresses for prague devnet4 * change the requests root from trie root to flat root and update examples and spcs * convert requests to flat type across util,block and vm * bundle execution requests separately from execution payload * t8ntool: update to devnet-4 interface support * update devnet-4 to EIP PRs 8924, 8394 * t8ntool hotfix to fix state tests * refactor cl requests to the new simplified version * remove requests from the block and modify associated code paths * remove storing and retriving of requests from blockchain * modify the deposit, withdrawal and consolidation requests accumulation for buildblock and runblock and corresponding requestsroot calcs * modfiy the 7002 eip spec along with the new contract and debug and fix the test including fixing a logs bloom bug in the generate fields block generation * modify code to correctly patch generated requests on getpayload/build/pending block * fix the newpayload engine codeflow to validate the cl requests * remove the requests from eth rpc and blockfetcher p2p * modify debug and fix 6110 deposit spec test * update the vm 7685 spec and add todos for later consideration * fix t8ntool rq output * vm: fix 6110 requests * update request to just store bytes and expose getters for data and type and fix the 6110 and 7685 spec * repo: rename requestsRoot -> requestsHash * vm: fix import (fix docker build) * client: correctly return request data (not including type) * fix the ingress, generation and propagation of execution requests/requestsroot data from the engine api and debug and fix the newpayloadv4 spec * Update 6110 example * Use sha256 constant for default * Fix asserts * Add sha256 empty string constant * Update block REAME examples * Reuse already computed hash * Fix buildBlock tests * Fix vm api tests * Fix client tests * Fix tests * packages: add requests hash to genesis block (#3771) * packages: add requests hash to genesis block. * Update packages/util/src/constants.ts Co-authored-by: Jochem Brouwer <[email protected]> * Update packages/util/src/constants.ts Co-authored-by: Jochem Brouwer <[email protected]> * packages: integrate suggestions. * Update packages/util/src/constants.ts --------- Co-authored-by: Jochem Brouwer <[email protected]> * util: correctly report empty rq hash * blockchain/util: remove sha256_empty_rh from exported util constants * Remove requests from being passed in as blockData * Remove old tests that do not conform to new devnet4 specs * Remove old test that does not conform to new devnet4 specs * make linter happy * block: make tsc happy * block: remove obsolete examples * util: make tsc happy * vm: make linter and tsc happy * blockchain: make linter happy * vm: fix example * make cspell happy * client/util/vm: simplify CLRequest --------- Co-authored-by: Jochem Brouwer <[email protected]> Co-authored-by: Amir <[email protected]> Co-authored-by: spencer <[email protected]> Co-authored-by: acolytec3 <[email protected]>
- Loading branch information