Summary
The staking panel's Claim button should be disabled while the lock period is active and enabled once it expires. Unit tests using fake timers should assert the correct button state at various points relative to the lock expiry.
Scope
- Test that the Claim button is disabled when unlock_ledger is in the future
- Test that the Claim button is enabled when unlock_ledger has passed
- Test that the lock expiry countdown displays the correct HH:MM:SS value
- Test that the countdown reaches 00:00:00 and the Claim button enables without a page reload
- Test that clicking Claim calls the contract with the correct key_id
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The staking panel's Claim button should be disabled while the lock period is active and enabled once it expires. Unit tests using fake timers should assert the correct button state at various points relative to the lock expiry.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram