-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Engine API: Cancun specification #420
Conversation
Co-authored-by: Alex Stokes <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
src/engine/cancun.md
Outdated
- `withdrawals`: `Array of WithdrawalV1` - Array of withdrawals, each object is an `OBJECT` containing the fields of a `WithdrawalV1` structure. | ||
- `dataGasUsed`: `QUANTITY`, 64 bits | ||
- `excessDataGas`: `QUANTITY`, 64 Bits | ||
- `parentBeaconBlockRoot`: `DATA`, 32 Bytes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm having trouble checking out this PR locally, so I can follow up with the following changes:
updating toPayloadAttributesV3
with theparent_beacon_block_root
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
having to make changes in another PR #423
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple nits, looks good generally though!
src/engine/cancun.md
Outdated
* method: `engine_newPayloadV3` | ||
* params: | ||
1. [`ExecutionPayloadV3`](#ExecutionPayloadV3). | ||
2. `Array of DATA`, 32 Bytes - Array of blob versioned hashes to validate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. `Array of DATA`, 32 Bytes - Array of blob versioned hashes to validate. | |
2. `Array of DATA`, 32 Bytes - Array of blob versioned hashes to validate. | |
3. `parentBeaconBlockRoot`: DATA`, 32 Bytes - Parent beacon block root to validate according to EIP-4788. |
Co-authored-by: lightclient <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generally looks good!
left some suggestions we should apply to most directly follow the latest CL spec: ethereum/consensus-specs#3421
where root is passed as a "sidecar" along with the ExecutionPayload
rather than in the payload itself
Introduces Cancun specification with the scope of changes defined in
blob-extension.md
.TODO:
engine_exchangeTransitionConfigurationV1
deprecation noticePayloadAttributesV3
andengine_forkchoiceUpdatedV3
to provide payload build process withparentBeaconBlockRoot