-
Notifications
You must be signed in to change notification settings - Fork 79
Update getHeader and submitBlindedBlock to support blobs (EIP-4844) #61
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 all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
c05daf2
Add and update types for Capella
jimmygchen 44c433d
Add and update types for EIP-4844
jimmygchen 6933baf
Fix incorrect response example
jimmygchen f336350
Rename EIP-4844 fork to Deneb
jimmygchen e6a8988
Merge branch 'main' into eip4844
jimmygchen 40db776
Merge branch 'main' into eip4844
jimmygchen 38b1d43
Update Deneb builder bid type to include blinded_blobs
jimmygchen 475ee0f
Update submitBlindeBlock endpoint to accept blinded blobs and return …
jimmygchen 9e3d267
Add Deneb builder docs.
jimmygchen 47cbb40
Fix builder doc
jimmygchen 1ff694e
Update deneb builder doc
jimmygchen 2a039e2
Update BlobsBundle description
jimmygchen 117bbf7
Fix ExecutionPayloadAndBlobsBundle description
jimmygchen 8e9aa72
Update example: execution_payload_and_blobs_bundle.json
jimmygchen ad8fe15
Update endpoint description
jimmygchen a97131c
Move `pubkey` to end of BuilderBid message for consistency
jimmygchen bd2c9b4
Update beacon-APIs submodule to latest
jimmygchen a74e5f4
Merge branch 'eip4844' of github.com:jimmygchen/builder-specs into ei…
jimmygchen 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
Submodule beacon-apis
updated
59 files
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,39 @@ | ||
| { | ||
| "value": { | ||
| "version": "deneb", | ||
| "data": { | ||
| "execution_payload": { | ||
| "parent_hash": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", | ||
| "fee_recipient": "0xabcf8e0d4e9587369b2301d0790347320302cc09", | ||
| "state_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", | ||
| "receipts_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", | ||
| "logs_bloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
| "prev_randao": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", | ||
| "block_number": "1", | ||
| "gas_limit": "1", | ||
| "gas_used": "1", | ||
| "timestamp": "1", | ||
| "extra_data": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", | ||
| "base_fee_per_gas": "1", | ||
| "excess_data_gas": "1", | ||
| "block_hash": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2", | ||
| "transactions": [ | ||
| "0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86" | ||
| ], | ||
| "withdrawals": [ | ||
| { | ||
| "index": "1", | ||
| "validator_index": "1", | ||
| "address": "0xabcf8e0d4e9587369b2301d0790347320302cc09", | ||
| "amount": "32000000000" | ||
| } | ||
| ] | ||
| }, | ||
| "blobs_bundle": { | ||
| "commitments": ["0x8dab030c51e16e84be9caab84ee3d0b8bbec1db4a0e4de76439da8424d9b957370a10a78851f97e4b54d2ce1ab0d686f"], | ||
| "proofs": ["0xb4021b0de10f743893d4f71e1bf830c019e832958efd6795baf2f83b8699a9eccc5dc99015d8d4d8ec370d0cc333c06a"], | ||
| "blobs": ["0x24564723180fcb3d994104538d351c8dcbde12d541676bb736cf678018ca4739"] | ||
| } | ||
| } | ||
| } | ||
| } | ||
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.
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.
We don't actually have this top level
valuefield right?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.
+1
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.
Oh I think this is the format
openapi lintexpects when validating the example files - we have them in all other example jsons, and is required for lint to work.