Summary
A holder's staked keys must not be counted as available for selling. Attempting to sell an amount that would require dipping into staked keys should revert even if the total key balance (liquid + staked) is sufficient.
Scope
- Give a wallet 10 keys: stake 6, leaving 4 liquid
- Attempt to sell 5 keys and assert it reverts with insufficient liquid balance error
- Assert selling exactly 4 keys succeeds
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
A holder's staked keys must not be counted as available for selling. Attempting to sell an amount that would require dipping into staked keys should revert even if the total key balance (liquid + staked) is sufficient.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram