DOCs says
Migration is built in, if there is an upgrade to staking contract. First, setMigrator() is called. Migrator is the next staking contract. Migrator calls migrateWithdraw() to withdraw and migrate staker's stake amount and optionally claim rewards. Rewards can be claimed after migration
https://github.com/TempleDAO/temple/blob/templegold/protocol/contracts/templegold/README.md#staking
However, in the implementation, claiming rewards during migration is not optional. The migration call always claims the rewards.
Throughout the codebase and documentation, claiming rewards is intended to be optional in the withdraw
call. However, this implementation fails to make it optional.
During migration, the staker will always have to claim rewards in the same call, whereas it is meant to be optional.
Manual
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.