mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-19 23:19:28 +00:00
Update specs/light_client/merkle_proofs.md
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
This commit is contained in:
parent
845daf5b1f
commit
59307d1380
@ -85,6 +85,7 @@ def chunk_count(typ: SSZType) -> int:
|
||||
hash. For lists/vectors of basic types, it is often fewer because multiple basic elements
|
||||
can be packed into one 32-byte chunk.
|
||||
"""
|
||||
# typ.length describes the limit for list types, or the length for vector types.
|
||||
if issubclass(typ, BasicValue):
|
||||
return 1
|
||||
elif issubclass(typ, Bits):
|
||||
|
Loading…
x
Reference in New Issue
Block a user