-
Notifications
You must be signed in to change notification settings - Fork 217
Introduce Deneb to remove EIP-4844 references #289
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
5502da1
Update types to support EIP-4844 (#271)
jimmygchen e702695
Merge remote-tracking branch 'upstream/master' into EIP4844
rolfyone fd02cd2
Introduce Deneb to remove EIP-4844 references
rolfyone 09ca1dd
Merge remote-tracking branch 'upstream/master' into eip_rename
rolfyone 709ccd6
fix lint - couldnt find any evidence of capella transactions, so put …
rolfyone f300afe
Merge branch 'master' into eip_rename
rolfyone ae7964f
Merge remote-tracking branch 'upstream/master' into eip_rename
rolfyone 48033e5
review feedback
rolfyone 86f9917
Merge remote-tracking branch 'upstream/master' into eip_rename
rolfyone 10837a0
added historical_summaries
rolfyone 7b7aa3a
added changelog entries for blocks, states, blinded blocks.
rolfyone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| Deneb: | ||
| BeaconBlockBodyCommon: | ||
| # An abstract object to collect the common fields between the BeaconBlockBody and the BlindedBeaconBlockBody objects | ||
| type: object | ||
| description: "The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec." | ||
| properties: | ||
| randao_reveal: | ||
| allOf: | ||
| - $ref: '../primitive.yaml#/Signature' | ||
| - description: "The RanDAO reveal value provided by the validator." | ||
| eth1_data: | ||
| $ref: '../eth1.yaml#/Eth1Data' | ||
| graffiti: | ||
| $ref: '../primitive.yaml#/Graffiti' | ||
| proposer_slashings: | ||
| type: array | ||
| items: | ||
| $ref: '../proposer_slashing.yaml#/ProposerSlashing' | ||
| attester_slashings: | ||
| type: array | ||
| items: | ||
| $ref: '../attester_slashing.yaml#/AttesterSlashing' | ||
| attestations: | ||
| type: array | ||
| items: | ||
| $ref: '../attestation.yaml#/Attestation' | ||
| deposits: | ||
| type: array | ||
| items: | ||
| $ref: '../deposit.yaml#/Deposit' | ||
| voluntary_exits: | ||
| type: array | ||
| items: | ||
| $ref: '../voluntary_exit.yaml#/SignedVoluntaryExit' | ||
| sync_aggregate: | ||
| $ref: '../altair/sync_aggregate.yaml#/Altair/SyncAggregate' | ||
| bls_to_execution_changes: | ||
| type: array | ||
| items: | ||
| $ref: '../bls_to_execution_change.yaml#/SignedBLSToExecutionChange' | ||
| blob_kzg_commitments: | ||
| type: array | ||
| items: | ||
| $ref: '../primitive.yaml#/KZGCommitment' | ||
|
|
||
| BeaconBlockBody: | ||
| allOf: | ||
| - $ref: '#/Deneb/BeaconBlockBodyCommon' | ||
| - type: object | ||
| properties: | ||
| execution_payload: | ||
| $ref: './execution_payload.yaml#/Deneb/ExecutionPayload' | ||
|
|
||
| BeaconBlock: | ||
| description: "The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/Deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec." | ||
|
rolfyone marked this conversation as resolved.
Outdated
|
||
| allOf: | ||
| - $ref: '../altair/block.yaml#/Altair/BeaconBlockCommon' | ||
| - type: object | ||
| properties: | ||
| body: | ||
| $ref: '#/Deneb/BeaconBlockBody' | ||
|
|
||
| SignedBeaconBlock: | ||
| type: object | ||
| description: "The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec." | ||
| properties: | ||
| message: | ||
| $ref: "#/Deneb/BeaconBlock" | ||
| signature: | ||
| $ref: "../primitive.yaml#/Signature" | ||
|
|
||
| BlindedBeaconBlockBody: | ||
| description: "A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list." | ||
| allOf: | ||
| - $ref: '#/Deneb/BeaconBlockBodyCommon' | ||
| - type: object | ||
| properties: | ||
| execution_payload_header: | ||
| $ref: './execution_payload.yaml#/Deneb/ExecutionPayloadHeader' | ||
|
|
||
| BlindedBeaconBlock: | ||
| description: "A variant of the the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`." | ||
| allOf: | ||
| - $ref: '../altair/block.yaml#/Altair/BeaconBlockCommon' | ||
| - type: object | ||
| properties: | ||
| body: | ||
| $ref: '#/Deneb/BlindedBeaconBlockBody' | ||
|
|
||
| SignedBlindedBeaconBlock: | ||
| type: object | ||
| description: "A variant of the the the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`." | ||
| properties: | ||
| message: | ||
| $ref: "#/Deneb/BlindedBeaconBlock" | ||
| signature: | ||
| $ref: "../primitive.yaml#/Signature" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| Deneb: | ||
| BlobsSidecar: | ||
| type: object | ||
| description: "The `BlobsSidecar` object from the Deneb CL spec." | ||
| properties: | ||
| beacon_block_root: | ||
| $ref: "../primitive.yaml#/Root" | ||
| beacon_block_slot: | ||
| $ref: "../primitive.yaml#/Uint64" | ||
| blobs: | ||
| type: array | ||
| maxItems: 4 | ||
| minItems: 0 | ||
| items: | ||
| $ref: "#/Deneb/Blob" | ||
| kzg_aggregated_proof: | ||
| $ref: "#/Deneb/KZGProof" | ||
|
|
||
| KZGProof: | ||
| type: string | ||
| format: hex | ||
| pattern: "^0x[a-fA-F0-9]{96}$" | ||
| description: "An aggregated KZG proof. Same check as `KZGCommitment`" | ||
|
|
||
| Blob: | ||
| type: string | ||
| format: hex | ||
| pattern: "^0x[a-fA-F0-9]{262144}$" | ||
| description: "A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a SSZ-encoded Blob as defined in Deneb" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| Deneb: | ||
| ExecutionPayloadCommon: | ||
| # An abstract object to collect the common fields between the ExecutionPayload and the ExecutionPayloadHeader objects. | ||
| type: object | ||
| description: "The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec." | ||
| properties: | ||
| parent_hash: | ||
| $ref: '../primitive.yaml#/Root' | ||
| fee_recipient: | ||
| $ref: '../primitive.yaml#/ExecutionAddress' | ||
| state_root: | ||
| $ref: '../primitive.yaml#/Root' | ||
| receipts_root: | ||
| $ref: '../primitive.yaml#/Root' | ||
| logs_bloom: | ||
| $ref: '../primitive.yaml#/LogsBloom' | ||
| prev_randao: | ||
| $ref: '../primitive.yaml#/Bytes32' | ||
| block_number: | ||
| $ref: '../primitive.yaml#/Uint64' | ||
| gas_limit: | ||
| $ref: '../primitive.yaml#/Uint64' | ||
| gas_used: | ||
| $ref: '../primitive.yaml#/Uint64' | ||
| timestamp: | ||
| $ref: '../primitive.yaml#/Uint64' | ||
| extra_data: | ||
| $ref: '../primitive.yaml#/ExtraData' | ||
| base_fee_per_gas: | ||
| $ref: '../primitive.yaml#/Uint256' | ||
| excess_data_gas: | ||
| $ref: '../primitive.yaml#/Uint256' | ||
| block_hash: | ||
| $ref: '../primitive.yaml#/Root' | ||
|
|
||
|
|
||
| ExecutionPayload: | ||
| allOf: | ||
| - $ref: '#/Deneb/ExecutionPayloadCommon' | ||
| - type: object | ||
| properties: | ||
| transactions: | ||
| $ref: '../capella/transactions.yaml#/Capella/Transactions' | ||
| withdrawals: | ||
| $ref: '../capella/withdrawals.yaml#/Capella/Withdrawals' | ||
|
|
||
| ExecutionPayloadHeader: | ||
| description: "The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec." | ||
| allOf: | ||
| - $ref: '#/Deneb/ExecutionPayloadCommon' | ||
| - type: object | ||
| properties: | ||
| transactions_root: | ||
| $ref: '../primitive.yaml#/Root' | ||
| withdrawals_root: | ||
| $ref: '../primitive.yaml#/Root' |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.