lighthouse
lighthouse copied to clipboard
Clean up naming of `VariableList`/`FixedVector` on tree-states
Description
At the moment tree-states has a confusing mix of type aliases for the VariableList/FixedVector types. To remedy the situation I'm proposing to instead use these names:
VariableList/FixedVector: same as onstable, refer to types fromssz_typesList/Vector: unmodifiedmilhousetype names
Alternatively, we could alias both libraries with new names:
TreeList/TreeVector: type aliases formilhousetypesFlatList/FlatVector: type aliases forssz_typestypes
However I think avoiding aliases altogether is probably clearer.
- VariableList/FixedVector: same as on stable, refer to types from ssz_types
- List/Vector: unmodified milhouse type names
+1