Commit Graph

4 Commits

Author SHA1 Message Date
Raul Jordan
5d26efcfaa
Deprecate types.BeaconState with pb.BeaconState Generated Proto (#1164) 2018-12-23 16:51:04 -06:00
Jie Hou
337f6ae58c SSZ: Support Pointer and Array (#1114) 2018-12-20 06:51:12 -08:00
Jie Hou
d38f3be8b9 SSZ: Support More Types (#1079)
* Add uint32 and uint64 support

* Add sample usage and its test

* BUILD file fix

* Add period in go doc comments.
2018-12-14 12:35:32 -06:00
Jie Hou
258fba8d45 Preliminary Implementation of SSZ (#1039)
* WIP: support uint8 and uint16

* WIP: Supports encode/decode for bytes

* WIP: Add encode/decode for slice

* WIP: Add struct encoding

* WIP: Add decoder for struct

* WIP: fix tests

* WIP: Aggregating tests

* WIP: data driven test

* WIP: implemented more decode tests

* WIP: Clean code and add more error check

* WIP: more polishing

* WIP: Added optional encode size calculation pass

* WIP: Improve error message reporting

* WIP: Add encoderDecoderCache

* Fix bazel

* Rearrange code

* Fix lint

* Address Nishant's comment

* Fix comments
2018-12-11 10:15:37 +08:00