Update specs/simple-serialize.md

Co-Authored-By: dankrad <dankrad@ethereum.org>
This commit is contained in:
Hsiao-Wei Wang 2019-05-01 12:39:44 +02:00 committed by GitHub
parent d0447022cb
commit cc22432bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ This is a **work in progress** describing typing, serialization and Merkleizatio
* **union**: union type containing one of the given subtypes * **union**: union type containing one of the given subtypes
* round bracket notation `(type1, type2, ...)`, e.g. `("uint64", "null")` * round bracket notation `(type1, type2, ...)`, e.g. `("uint64", "null")`
#### Variable-size and fixed-size
We recursively define "variable-size" types to be lists and unions and all types that contain a variable-size type. All other types are said to be "fixed-size". We recursively define "variable-size" types to be lists and unions and all types that contain a variable-size type. All other types are said to be "fixed-size".
#### Illegal empty composites #### Illegal empty composites