Commit Graph

164 Commits

Author SHA1 Message Date
Matt Garnett 520c872d21
Improve readability of SSZ type defaults 2019-08-23 18:31:10 +02:00
Paul Hauner 32a43acfc1
Clarify length bit for Bitlist merklization 2019-08-04 12:10:32 -06:00
Hsiao-Wei Wang f336e7ffb3
Rename `is_empty` to `is_zero` 2019-07-25 17:32:27 +08:00
Hsiao-Wei Wang 62138fed34
Update Illegal types 2019-07-25 17:26:27 +08:00
Hsiao-Wei Wang c01995436e
Merge branch 'v08x' into n_zero 2019-07-25 17:25:41 +08:00
Danny Ryan 77f007cab5
Merge pull request #1267 from ethereum/dankrad-patch-9
Define Bitlist/Bitvector serialization using bytes, not bigints
2019-07-14 17:20:12 -06:00
protolambda d9fd1d3a2a
improve type wording based on PR 1292 feedback 2019-07-15 00:13:00 +02:00
protolambda ac6d019870
bits serialization clear now, directly to bytes 2019-07-12 22:20:07 +02:00
protolambda a8dc9157b8
clean up merkleization text in SSZ spec 2019-07-12 21:15:28 +02:00
Hsiao-Wei Wang 25ec084cc5
To fit in `MAX_TRANSFERS=0` case 2019-07-10 17:20:50 +08:00
Hsiao-Wei Wang 1644ae6125
Clarify the illegal types 2019-07-10 16:46:59 +08:00
Hsiao-Wei Wang 21535fe901
Fix indent 2019-07-04 21:38:08 +08:00
Hsiao-Wei Wang f37aa1acde
Add `pack()` for `Bitvector` and `Bitlist` Merkleization 2019-07-04 21:35:55 +08:00
Hsiao-Wei Wang d483a3b573
Set default `pad_for=1` 2019-07-04 21:17:21 +08:00
Hsiao-Wei Wang ac741c096d
Fix ToC of SSZ spec 2019-07-01 11:29:10 +08:00
protolambda 4f31207b7f
reword merkleize with limit / length 2019-06-28 22:45:20 +02:00
protolambda 5ff13dd81a
be explicit about limiting for HTR and chunk padding 2019-06-28 17:07:36 +02:00
Justin Drake d641e94151 Cleanups 2019-06-27 11:44:33 +01:00
Dankrad Feist 02f6ba36f0
Add Bitvector and Bitlist
Bool, Bit -> boolean, bit
Fix simple-serialize.md
2019-06-27 09:51:06 +01:00
JSON 20602bc92b phase 0 doc standardization b4 spec freeze (#1212) 2019-06-25 14:32:56 +01:00
Carl Beekhuizen 68fc0bf87d
Merge branch 'dev' into dankrad-patch-7
* dev:
  Update simple-serialize.md
2019-06-06 23:31:36 +02:00
terence tsao 84ce28a71d
Update simple-serialize.md 2019-06-06 09:45:20 -04:00
Carl Beekhuizen d761b6f041
Implements new SSZ types 2019-06-05 15:29:26 +02:00
Ivan Martinez e578c95837 Update link to Prysmatic Labs implementation of SSZ (#1138)
* Update link to go SSZ implementation

We have changed our SSZ implementation to it's own repo so this updates the link on the spec.

* Update simple-serialize.md
2019-06-03 13:33:59 +08:00
NIC619 c0d4334ced
Fix SSZ union type example 2019-05-11 15:12:11 +08:00
dankrad b97096250f
Merge pull request #893 from ethereum/dankrad-patch-3
Add union type and null to SSZ
2019-05-07 23:24:11 +02:00
Dankrad Feist b3501fbf2b
Merge branch 'dev' into dankrad-patch-3
# Conflicts:
#	specs/simple-serialize.md
2019-05-07 18:10:18 +01:00
Alex Stokes fc1239c0ff
Add clarity around merkleize on a single chunk 2019-05-06 18:50:20 -07:00
Alex Stokes 54fd822b55
Update simple-serialize.md
typo
2019-05-06 17:36:55 -07:00
JSON d1c96c1e0d Doc standardization (#1039) 2019-05-06 16:30:32 +01:00
Dankrad Feist b1930d2239
Union default values 2019-05-01 15:12:49 +01:00
Justin 563df146b9
Update simple-serialize.md 2019-05-01 13:55:02 +01:00
Justin a33ee00239
Update simple-serialize.md 2019-05-01 13:52:37 +01:00
Hsiao-Wei Wang cc22432bb9
Update specs/simple-serialize.md
Co-Authored-By: dankrad <dankrad@ethereum.org>
2019-05-01 12:39:44 +02:00
Hsiao-Wei Wang d0447022cb
Update specs/simple-serialize.md
Co-Authored-By: dankrad <dankrad@ethereum.org>
2019-05-01 12:39:24 +02:00
Hsiao-Wei Wang 4a483309a5
Update specs/simple-serialize.md
Co-Authored-By: dankrad <dankrad@ethereum.org>
2019-05-01 12:39:07 +02:00
Dankrad Feist 101449e71a
Define null as alias of {} 2019-04-27 21:00:50 +01:00
Dankrad Feist f9130a88ff
Merge remote-tracking branch 'origin/dev' into dankrad-patch-3
# Conflicts:
#	specs/simple-serialize.md
2019-04-27 20:53:07 +01:00
Danny Ryan 7694b9e022
Merge branch 'dev' into piper/add-sos-style-offset-serialization-to-ssz 2019-04-24 12:37:16 -06:00
Justin 1284b93416
Update simple-serialize.md 2019-04-24 15:53:28 +10:00
Justin a481a4e96c
Update simple-serialize.md 2019-04-20 20:57:50 +10:00
dankrad 63bdf95e79
Update simple-serialize.md 2019-04-20 11:46:31 +01:00
JSON 8c59bfd9be Update simple-serialize.md (#969) 2019-04-20 15:18:14 +10:00
Justin 39d0822602
Sane SSZ object default values (#963) 2019-04-19 18:26:54 +10:00
terence tsao d8d0aaecff
Update simple-serialize.md 2019-04-15 11:02:23 -07:00
Justin 62ffb897ae
Update simple-serialize.md 2019-04-14 00:41:48 +10:00
Justin 59f568073a
Update simple-serialize.md 2019-04-14 00:26:44 +10:00
Justin 7255b0fc0d
Update simple-serialize.md 2019-04-14 00:25:47 +10:00
Justin 09d927405c
Update simple-serialize.md 2019-04-14 00:22:41 +10:00
Justin 97ca672105
Update simple-serialize.md 2019-04-14 00:18:44 +10:00