ssz icon indicating copy to clipboard operation
ssz copied to clipboard

[non-substantive] Clarify offsets serialization

Open ColinSchwarz opened this issue 4 years ago • 1 comments

https://github.com/ethereum/eth2.0-specs/pull/2043

ColinSchwarz avatar Sep 22 '20 14:09 ColinSchwarz

@wemeetagain Does this issue require any changes in our case? It just adds a uint32 casting

variable_offsets = [serialize(uint32(sum(fixed_lengths + variable_lengths[:i]))) for i in range(len(value))]

dapplion avatar Sep 29 '20 09:09 dapplion