mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Fix a few minor nits in protobuf definitions (#13512)
This commit is contained in:
parent
692ebd313f
commit
01116f7f82
@ -215,15 +215,17 @@ message Withdrawal {
|
|||||||
message BlobsBundle {
|
message BlobsBundle {
|
||||||
// The KZG commitments of the blobs.
|
// The KZG commitments of the blobs.
|
||||||
repeated bytes kzg_commitments = 1 [(ethereum.eth.ext.ssz_size) = "?,48", (ethereum.eth.ext.ssz_max) = "max_blob_commitments.size"];
|
repeated bytes kzg_commitments = 1 [(ethereum.eth.ext.ssz_size) = "?,48", (ethereum.eth.ext.ssz_max) = "max_blob_commitments.size"];
|
||||||
|
|
||||||
// The proofs of the blobs.
|
// The proofs of the blobs.
|
||||||
repeated bytes proofs = 2 [(ethereum.eth.ext.ssz_size) = "?,48", (ethereum.eth.ext.ssz_max) = "max_blob_commitments.size"];
|
repeated bytes proofs = 2 [(ethereum.eth.ext.ssz_size) = "?,48", (ethereum.eth.ext.ssz_max) = "max_blob_commitments.size"];
|
||||||
|
|
||||||
// The blobs itself.
|
// The blobs itself.
|
||||||
repeated bytes blobs = 3 [(ethereum.eth.ext.ssz_size) = "?,131072", (ethereum.eth.ext.ssz_max) = "max_blob_commitments.size"];
|
repeated bytes blobs = 3 [(ethereum.eth.ext.ssz_size) = "?,blob.size", (ethereum.eth.ext.ssz_max) = "max_blob_commitments.size"];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Blob contains the data that is to be committed on chain.
|
// Blob contains the data that is to be committed on chain.
|
||||||
message Blob {
|
message Blob {
|
||||||
// Each blob consists of `BLS_FIELD_ELEMENT`(32) multiplies `FIELD_ELEMENTS_PER_BLOB`(4096)
|
// The blob bytes.
|
||||||
bytes data = 1 [(ethereum.eth.ext.ssz_size) = "blob.size"];
|
bytes data = 1 [(ethereum.eth.ext.ssz_size) = "blob.size"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -331,7 +331,7 @@ message BeaconBlockBodyBellatrix {
|
|||||||
// At most MAX_VOLUNTARY_EXITS.
|
// At most MAX_VOLUNTARY_EXITS.
|
||||||
repeated v1.SignedVoluntaryExit voluntary_exits = 8 [(ethereum.eth.ext.ssz_max) = "16"];
|
repeated v1.SignedVoluntaryExit voluntary_exits = 8 [(ethereum.eth.ext.ssz_max) = "16"];
|
||||||
|
|
||||||
// Sync aggregate object to track sync committee votes for light client support.
|
// Sync aggregate object to track sync committee votes for light client support.
|
||||||
v1.SyncAggregate sync_aggregate = 9;
|
v1.SyncAggregate sync_aggregate = 9;
|
||||||
|
|
||||||
// Execution payload: the embedded execution payload of the block [New in Bellatrix]
|
// Execution payload: the embedded execution payload of the block [New in Bellatrix]
|
||||||
@ -523,7 +523,7 @@ message BeaconBlockBodyDeneb {
|
|||||||
// At most MAX_BLS_TO_EXECUTION_CHANGES. New in Capella network upgrade.
|
// At most MAX_BLS_TO_EXECUTION_CHANGES. New in Capella network upgrade.
|
||||||
repeated SignedBLSToExecutionChange bls_to_execution_changes = 11 [(ethereum.eth.ext.ssz_max) = "16"];
|
repeated SignedBLSToExecutionChange bls_to_execution_changes = 11 [(ethereum.eth.ext.ssz_max) = "16"];
|
||||||
|
|
||||||
// At most MAX_BLOBS_PER_BLOCK. New in Deneb network upgrade.
|
// At most MAX_BLOB_COMMITMENTS_PER_BLOCK. New in Deneb network upgrade.
|
||||||
repeated bytes blob_kzg_commitments = 12 [(ethereum.eth.ext.ssz_size) = "?,48", (ethereum.eth.ext.ssz_max) = "max_blob_commitments.size"];
|
repeated bytes blob_kzg_commitments = 12 [(ethereum.eth.ext.ssz_size) = "?,48", (ethereum.eth.ext.ssz_max) = "max_blob_commitments.size"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -710,7 +710,7 @@ message BlindedBeaconBlockBodyDeneb {
|
|||||||
// Execution payload header from the execution chain. New in Bellatrix network upgrade to accommodate MEV interaction.
|
// Execution payload header from the execution chain. New in Bellatrix network upgrade to accommodate MEV interaction.
|
||||||
ethereum.engine.v1.ExecutionPayloadHeaderDeneb execution_payload_header = 10;
|
ethereum.engine.v1.ExecutionPayloadHeaderDeneb execution_payload_header = 10;
|
||||||
|
|
||||||
// At most MAX_BLS_TO_EXECUTION_CHANGES. New in Deneb network upgrade.
|
// At most MAX_BLS_TO_EXECUTION_CHANGES. New in Capella network upgrade.
|
||||||
repeated SignedBLSToExecutionChange bls_to_execution_changes = 11 [(ethereum.eth.ext.ssz_max) = "16"];
|
repeated SignedBLSToExecutionChange bls_to_execution_changes = 11 [(ethereum.eth.ext.ssz_max) = "16"];
|
||||||
|
|
||||||
repeated bytes blob_kzg_commitments = 12 [(ethereum.eth.ext.ssz_size) = "?,48", (ethereum.eth.ext.ssz_max) = "max_blob_commitments.size"];
|
repeated bytes blob_kzg_commitments = 12 [(ethereum.eth.ext.ssz_size) = "?,48", (ethereum.eth.ext.ssz_max) = "max_blob_commitments.size"];
|
||||||
|
@ -20,7 +20,7 @@ mainnet = {
|
|||||||
"sync_committee_aggregate_bytes.size": "16",
|
"sync_committee_aggregate_bytes.size": "16",
|
||||||
"sync_committee_aggregate_bits.type": "github.com/prysmaticlabs/go-bitfield.Bitvector128",
|
"sync_committee_aggregate_bits.type": "github.com/prysmaticlabs/go-bitfield.Bitvector128",
|
||||||
"withdrawal.size": "16",
|
"withdrawal.size": "16",
|
||||||
"blob.size": "131072",
|
"blob.size": "131072", # BYTES_PER_FIELD_ELEMENT * FIELD_ELEMENTS_PER_BLOB
|
||||||
"logs_bloom.size": "256",
|
"logs_bloom.size": "256",
|
||||||
"extra_data.size": "32",
|
"extra_data.size": "32",
|
||||||
"max_blobs_per_block.size": "6",
|
"max_blobs_per_block.size": "6",
|
||||||
|
Loading…
Reference in New Issue
Block a user