align `Blobs` limit for SSZ transport (#5558)
Capacity should be set to theoretical limit to ensure correct hash root. Actual length may be shorter. Only use is `ExecutionPayloadForSigning` so it doesn't matter yet in practice, but still worth fixing.
This commit is contained in:
parent
3e9b3a50d0
commit
fb18f09e55
|
@ -38,7 +38,7 @@ const
|
|||
|
||||
type
|
||||
KzgCommitments* = List[KzgCommitment, Limit MAX_BLOB_COMMITMENTS_PER_BLOCK]
|
||||
Blobs* = List[Blob, Limit MAX_BLOBS_PER_BLOCK]
|
||||
Blobs* = List[Blob, Limit MAX_BLOB_COMMITMENTS_PER_BLOCK]
|
||||
|
||||
# TODO this apparently is suppposed to be SSZ-equivalent to Bytes32, but
|
||||
# current spec doesn't ever SSZ-serialize it or hash_tree_root it
|
||||
|
|
Loading…
Reference in New Issue