hiero-ledger / hiero-ledger/hiero-consensus-node
Use valid certificates in tests
Open
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
Some of our tests use a roster with invalid certificates. This forces our code to be lenient, even though in production all certificates must be valid.
The tests should be updated with proper certificates, so that we can tighten the code dealing with rosters.
Contributor guide
Research direction
Locate the tests that use the roster with invalid certificates and inspect how those certificates are loaded and validated. Replace the invalid certificates with proper ones, then run the affected tests; done means the tests pass while representing production-valid rosters and no longer require lenient certificate handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- security, testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100