lambdaclass / lambdaclass/lambda_ethereum_consensus
Add property tests comparing hashing with `Ssz` and `SszEx`
Open
Nobody has claimed this yet.
ssz
test
- Dominant language
- Elixir
- Stars
- 109
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
There are multiple that can be done. For an example, see:
As a start, we can add it for basic types, just doing hashing of integers (for bools we can just add both cases as tests), and checking the result is the same.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the example in test/unit/snappyex_test.exs around lines 102-119, then locate the existing hashing tests or entry points for Ssz and SszEx. Add parity coverage for integer hashing and both boolean cases, and verify the results match between the two implementations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100