hiero-ledger / hiero-ledger/hiero-consensus-node

Use valid certificates in tests

Open
#27,191 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.