-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
squad: gatekeepersCatalyst App Backend, System Development & Integration TeamCatalyst App Backend, System Development & Integration Team
Description
Description
Write comprehensive automated tests for the RBAC functionality, by covering RegistrationChain structure.
Test scenarios
- ❌ It isn't allowed to use same Catalyst ID (role 0 certificate subject public key) in multiple registration chains. Only the first chain would be valid.
- ❌ It isn't allowed to update a chain with a stake address that is already used by another valid chain.
- ❌ It isn't allowed to start a new chain with a stake address that is already used by another valid chain if this new chain uses the same role 0 public key as the latest role 0 signing public key in the previous chain.
- ✅ It is allowed to start a new chain with a stake address that is used by another, another RBAC chain should be properly updated as well.
- ❌ It isn't allowed to use same signing keys in multiple different chains.
- ✅ Signing keys can be reused multiple times in the same chain.
- ✅ After another RBAC chain deleted stake addresses, any other chains could start reuse it back.
Metadata
Metadata
Assignees
Labels
squad: gatekeepersCatalyst App Backend, System Development & Integration TeamCatalyst App Backend, System Development & Integration Team
Type
Projects
Status
🔖 Ready