hiero-ledger / hiero-ledger/hiero-consensus-node
Create a migration tests where the first run has the `AddressBook.useRosterLifecycle` flag set to `false` and the software upgrade has the flag set to `true`
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
**Background**
Create a migration test where the first fun has `AddressBook.useRosterLifecycle` set to `false`, a software upgrade is performed, and the next run has the `AddressBook.useRosterLifecycle` set to `true`, perform a restart and one more config based software upgrade to validate everything works.
This may need to be a JRS tests if we cannot make it a HAPI test.
**Acceptance Criteria**
The test is integrated into the PR CI/CD pipeline.
**Dependencies**
https://github.com/hashgraph/hedera-services/issues/16357
https://github.com/hashgraph/hedera-services/issues/16419
Contributor guide
Research direction
Review dependencies issues 16357 and 16419 first, then determine whether this migration test belongs in HAPI or JRS. Trace the existing test setup for software upgrades and configuration flags, and verify the sequence of initial run, upgrade, restart, and config-based upgrade. Done means the test runs in the PR CI/CD pipeline and validates the flag transition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- ci-cd, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100