Commit Graph

8 Commits

Author SHA1 Message Date
Paul Hauner
7fa9c90d62 Add some extra tests for boolean-bitfield 2018-12-12 09:23:53 -08:00
Alex Stokes
8c78dde43b Fixes bug with ssz encoding of BooleanBitfield 2018-12-12 09:23:53 -08:00
Alex Stokes
38d9d7ac92 Add method to calculate the underlying number of bytes
Required for part of attestation validation logic
2018-12-12 09:23:53 -08:00
Alex Stokes
b1f8046563 Update bitfield to expand size when writing out-of-bounds 2018-12-12 09:23:53 -08:00
Alex Stokes
2defe8e4ee get tests passing (except one) 2018-12-12 09:23:53 -08:00
Alex Stokes
3a26f73cf2 Simplifies the boolean-bitfield implementation to use bit-vec crate 2018-12-12 09:23:53 -08:00
Paul Hauner
900ffac5e0
Run rustfmt globally.
Using `$ cargo fmt` in the root. Closes #68.
2018-11-04 15:35:55 +01:00
Paul Hauner
0fbe4179b3
Heavily restructure repo
Separate most modules into crates
2018-10-02 16:41:10 +10:00