mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 02:49:55 +00:00
1.3 KiB
1.3 KiB
Non-exhaustive checklist for integrating new changes for an upcoming hard fork/devnet
Introducing new EIP types or changes to primitive types
- Make required changes to primitive data structures on alloy
- All new EIP data structures/constants/helpers etc. go into the
alloy-eipscrate at first. - New transaction types go into
alloy-consensus - If there are changes to existing data structures, such as
HeaderorBlock, apply them to the types inalloy-consensus(e.g. newrequest_hashesfield in Prague)
Engine API
- If there are changes to the engine API (e.g. a new
engine_newPayloadVxandengine_getPayloadVxpair) add the new types to thealloy-rpc-types-enginecrate. - If there are new parameters to the
engine_newPayloadVxendpoint, add them to theExecutionPayloadSidecarcontainer type. This types contains all additional parameters that are required to convert anExecutionPayloadto an EL block.
Reth changes
Updates to the engine API
- Add new endpoints to the
EngineApitrait and implement endpoints. - Update the
ExecutionPayload+ExecutionPayloadSidecartoBlockconversion if there are any additional parameters. - Update version specific validation checks in the
EngineValidatortrait.