github.com/protolambda/zssz@v0.1.5/lists/list.go (about)

     1  package lists
     2  
     3  // For slices to be a valid SSZ list, they need a defined limit.
     4  // Lists without such definition will still be able to be serialized and deserialized,
     5  // but are not supported to be merkleized with HashTreeRoot.
     6  type List interface {
     7  	// Limit (count of elements) of the list
     8  	Limit() uint64
     9  }