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

Embedded tests that exercise all initial conditions with the TSS feature flag on

Open
#16,554 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

**Background**
In order to have proper test coverage that exercise all initial conditions with the TSS feature flag on, write the following Embedded tests:

1. *(Optional)* Genesis network **with** TSS setup
2. Genesis network **without** TSS setup
3. Transplant network **with** TSS setup
4. *(Optional)* Transplant network **without** TSS setup
5. TSS migration restart (transplant with empty `RosterService` state)
6. Normal restart **with** a ledger id
7. Normal restart **without** a ledger id
8. Upgrade boundary, candidate roster **not** ready to adopt
9. Upgrade boundary, candidate roster **ready** to adopt

See [Roster Lifecycle Implementation](https://www.notion.so/swirldslabs/Roster-lifecycle-implementation-13b7c9ab25918069a0afcc44713015b9) for details listed below.

**Acceptance Criteria**
- The above tests cases are implemented as embedded hapi tests.

**Dependencies**
None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.