You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 on stable, refer to types from ssz_types
List/Vector: unmodified milhouse type names
Alternatively, we could alias both libraries with new names:
TreeList/TreeVector: type aliases for milhouse types
FlatList/FlatVector: type aliases for ssz_types types
However I think avoiding aliases altogether is probably clearer.
The text was updated successfully, but these errors were encountered:
Description
At the moment
tree-states
has a confusing mix of type aliases for theVariableList
/FixedVector
types. To remedy the situation I'm proposing to instead use these names:VariableList
/FixedVector
: same as onstable
, refer to types fromssz_types
List
/Vector
: unmodifiedmilhouse
type namesAlternatively, we could alias both libraries with new names:
TreeList
/TreeVector
: type aliases formilhouse
typesFlatList
/FlatVector
: type aliases forssz_types
typesHowever I think avoiding aliases altogether is probably clearer.
The text was updated successfully, but these errors were encountered: