-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Deneb Beacon APIs #12568
Deneb Beacon APIs #12568
Conversation
5ae0cae
to
d3ee80e
Compare
5da358c
to
03b924c
Compare
e44fa58
to
1c71580
Compare
1c71580
to
54fcd54
Compare
@@ -92,7 +96,9 @@ go_library( | |||
ssz_proto_files( | |||
name = "ssz_proto_files", | |||
srcs = [ | |||
"beacon_block.proto", |
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.
want to make sure doing something like this makes sense, that beacon block can be moved here to make use of those variables for setting commitment length and blob length in proto
TimeStamp string `json:"timestamp"` | ||
ExtraData string `json:"extra_data" hex:"true"` | ||
BaseFeePerGas string `json:"base_fee_per_gas" uint256:"true"` | ||
ExcessDataGas string `json:"excess_data_gas" uint256:"true"` |
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.
Don't forget DataGasUsed
field. Same with header
Slot string `json:"slot"` | ||
BlockParentRoot string `json:"block_parent_root" hex:"true"` | ||
ProposerIndex string `json:"proposer_index"` | ||
Blob string `json:"blob" hex:"true"` // pattern: "^0x[a-fA-F0-9]{262144}$" ssz-max:"4" |
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 don't think ssz-max:"4"
comment is correct. This is just a single blob right?
proto/eth/v2/blobs.proto
Outdated
} | ||
|
||
message SignedBlindedBlobSidecar { | ||
BlindedBlobSidecar message = 1 [(ethereum.eth.ext.ssz_max) = "4"]; |
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.
The max should be 6 now
there should be no max here
54fcd54
to
005c393
Compare
What type of PR is this?
Other
What does this PR do? Why is it needed?
migrates the following APIs from eip4844 to deneb-integration
getBlockV2
jsongetBlockV2
sszgetBlindedBlock
jsongetBlindedBlock
sszpublishBlock
jsonpublishBlock
ssz (will be handled in separate PR)publishBlindedBlock
jsonpublishBlindedBlock
ssz (will be handled in separate PR)produceBlindedBlock
jsonproduceBlindedBlock
ssz (will be handled in separate PR)produceBlockV2
jsonproduceBlockV2
ssz (will be handled in separate PR)Which issues(s) does this PR fix?
Fixes #
Other notes for review