From 1644ae61255ce25ddc318a299ab0a67e42b068ee Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Wed, 10 Jul 2019 16:46:59 +0800 Subject: [PATCH] Clarify the illegal types --- specs/simple-serialize.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/simple-serialize.md b/specs/simple-serialize.md index 8efd08c0a..0419a524e 100644 --- a/specs/simple-serialize.md +++ b/specs/simple-serialize.md @@ -89,7 +89,7 @@ An SSZ object is called empty (and thus, `is_empty(object)` returns true) if it ### Illegal types -Empty vector types (i.e. `[subtype, 0]` for some `subtype`) are not legal. The `null` type is only legal as the first type in a union subtype (i.e. with type index zero). +The empty `List[subtype, N]`, `Vector[subtype, N]`, `Bitlist[N]`, and `Bitvector[N]` types, where `N == 0` are not legal. The `null` type is only legal as the first type in a union subtype (i.e. with type index zero). ## Serialization