Delete vaults/wallets is a hard delete
Delete all vaults with migrations that are not visible to the user
Archived vaults are only for key rotation or scheme updation
The user should be able to archive keys of archived vaults (soft delete for us)
The user should be able to delete keys of deleted vaults
Tests:
Deleting vaults
User should be able to delete vaults/wallets from manage wallets screen (not from vault settings)
This is a hard delete
Archiving vaults
Vault gets archived when there is a signer rotation or scheme change
User should be able to see the history of vaults from the Vault settings > Archived vaults (This is only for the respective vault's parent history)
If a vault is fresh it's archived vault's section will be empty
Archivving is soft delete for us and users and visible only in the archived section.
Signers associated with the archived vault should be deleteable. This is a soft delete. These signers are not visible to the users anywhere.
Deleting signers
User can delete a signer after hiding it from signer settings. If it's a part of archived vault it'll be a soft delete but for signers not involved in any vault it's a hard delete. Verify this by the signer timeline. Signers are arranged by the date created. Recreation of soft deleted signers will reappear in the same order in the manage sgner's screen but hard deleted signers will reappeat at the end.
Delete vaults/wallets is a hard delete Delete all vaults with migrations that are not visible to the user Archived vaults are only for key rotation or scheme updation The user should be able to archive keys of archived vaults (soft delete for us) The user should be able to delete keys of deleted vaults
Tests: Deleting vaults
Archiving vaults
Deleting signers