Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(ssz): Add parity and benchmark tests to our ssz impl #1132

Closed
10 of 22 tasks
chibera opened this issue May 21, 2024 · 0 comments
Closed
10 of 22 tasks

test(ssz): Add parity and benchmark tests to our ssz impl #1132

chibera opened this issue May 21, 2024 · 0 comments
Labels

Comments

@chibera
Copy link
Contributor

chibera commented May 21, 2024

We've done a lot of TDD to make progress on ssz, so theres a good amount of tests in there that can be continuously integrated as we flesh out the de/serializer.

serializer spec parity and benchmark tests

  • simple type - bool
  • simple type - uint8
  • simple type - uint64
  • fixed type - byte array or uint8 array
  • fixed type - fixed length, array or slice, of u64
  • composite struct
  • variable length slice/arr
  • full block - bellatrix
  • local genesis block - deneb

deserializer spec parity and benchmark tests

  • simple type - bool
  • simple type - uint8
  • simple type - uint64
  • fixed type - byte array or uint8 array
  • fixed type - fixed length, array or slice, of u64
  • composite struct
  • variable length slice/arr
  • full block - bellatrix
  • local genesis block - deneb

bijective property test - i.e. for our serializer: data == deserialize(serialize(data))

  • full block - bellatrix
  • local genesis block - deneb
  • ghost block testing via AR ?

EF spec tests

Parent: #808

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants