2019-04-18 08:40:11 +00:00
|
|
|
# SSZ, generic tests
|
|
|
|
|
|
|
|
This set of test-suites provides general testing for SSZ:
|
|
|
|
to instantiate any container/list/vector/other type from binary data.
|
|
|
|
|
2019-05-06 15:30:32 +00:00
|
|
|
Since SSZ is in a development-phase, the full suite of features is not covered yet.
|
2019-04-18 08:40:11 +00:00
|
|
|
Note that these tests are based on the older SSZ package.
|
|
|
|
The tests are still relevant, but limited in scope:
|
|
|
|
more complex object encodings have changed since the original SSZ testing.
|
|
|
|
|
|
|
|
A minimal but useful series of tests covering `uint` encoding and decoding is provided.
|
|
|
|
This is a direct port of the older SSZ `uint` tests (minus outdated test cases).
|
|
|
|
|
2019-05-06 15:30:32 +00:00
|
|
|
Test format documentation can be found here: [uint test format](./uint.md).
|
2019-04-18 08:40:11 +00:00
|
|
|
|
2019-05-06 15:30:32 +00:00
|
|
|
*Note*: The current Phase 0 spec does not use larger uints, and uses byte vectors (fixed length) instead to represent roots etc.
|
2019-04-18 08:40:11 +00:00
|
|
|
The exact uint lengths to support may be redefined in the future.
|
|
|
|
|
2019-05-06 15:30:32 +00:00
|
|
|
Extension of the SSZ tests collection is planned, with an update to the new spec-maintained `minimal_ssz.py`;
|
2019-04-18 08:40:11 +00:00
|
|
|
see CI/testing issues for progress tracking.
|