Closed atoulme closed 5 years ago
I am adding a test specifically showing we can read values of variable length.
I am not however changing the API so we can write unsigned integers of variable size yet, because I can't think of a valid use case. Writing the values using the container approach seems a better bet.
This was just changed in the SSZ spec - it is now possible to have lists with variable element length.
See this PR for context: https://github.com/ethereum/eth2.0-specs/pull/484