# Adex Validator Stack Test Scenarios
## Sentry Test Cases
1. getting info for a channel
2. detailed info for a channel
3. list channels
4. Post events
5. Post validator messages
6. Get channel status
7. Get channel tree
## Adapter Test Cases
1. sessionFromToken
2. getAuthFor
3. init
4. unlock
5. whoami
6. sign
7. getBalanceLeaf
8. sessionFromToken for tokens with invalid era
9. getAuthFor
10. MerkleTree
11. Reject expired tokens
12. Reject tokens with incorrect id
### Working Scenarios
1. Deposit into the channel
2. Leader signs a valid state, followers should detect and sign
3. Send events to the setup e.g. impressions and confirm its propagated to followers
#### Attack Scenarios
1. Leader signs an invalid state, and followers should detect and not sign
2. Follower should mark unhealthy, but not if the difference is too little
3. Denial of service attack vector
4. Reject states without leader signature
5. Try different state transition scenarios when a validator is offline
6. Propagate fake messages to validators
7. Test around messages not arriving in the same order