The latest release of the stake-pool program (v2.0.4) introduced several critical changes to the stake-pool logic. However, not all of these changes are currently covered by tests.
This ticket tracks the work required to increase test coverage for each new or modified behaviour introduced in this release.
Goal
Ensure all testable stake-pool logic changes introduced in v2.0.4 are properly validated with tests.
Each commit in the relevant PR will include a commit message referencing the original commit that introduced the untested logic change.