Add SSZ examples - #128
Conversation
There was a problem hiding this comment.
bumping beacon-api was required to get rid of lint warnings as some schemas were fixed upstream
|
thanks for this! it would be really nice to have a test script which validates the ssz. Should be easy since we know the types? |
It would require to bring in a full ssz library into this repo as the spec right now is not executable. Maybe a script to generate ssz examples from json could be useful but there aren't that many examples so I just manually did it using https://simpleserialize.com/. |
|
For now, reviewers will have to manually verify whether the ssz and json match. Going forward we could figure out a CI action to verify this. |
SignedValidatorRegistrationV1exampleNote: I did not reference the ssz examples in the schema itself as swagger doesn't display them correctly, which is a known issue.