hexresearch / hexresearch/hschain
Add test suite for tests H.Crypto.Containers & ValidatorSet
Open
consensus engine
Task
testing
- Dominant language
- C
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Now we have tests for basic primitives but no tests for T.Crypto.Containers. What is needed:
## ValidatorSet
- [ ] `makeValidatorSet` drops duplicate validators
- [ ] `totalVotingPower` is correct
- [ ] `validatorSetSize` is correct
- [ ] `validatorByIndex` & `indexByValidator` correct and
- [ ] `indexByIntervalPoint`
## SignedSet
- [ ] insertion works
- [ ] insertion of duplicates
- [ ] insertion of conflicting votes
- [ ] insertion of unknown votes
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.