Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

User can delegate again during a transitionary period (~6s) after they have delegated All tracks. #566

Open
hamidra opened this issue Jun 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@hamidra
Copy link
Contributor

hamidra commented Jun 15, 2023

problem:
When a delegate All call is submitted, while the tx is in a block but not finalized the app allows the user to click on "Delegate All" or "Select" button to select and delegate again.
expected:
When a user has delegated All tracks they should not be able to delegate any more tracks.

repro steps:

1- Delegate All to a delegate,
2- When tx signed, app action buttons are disabled, tx notification snackbars shown and etc
3- When tx in blocks, action buttons are enabled
4- click on a Delegate All button to deelgate to another delegate (this is not expected)
5- delegate modal opens and you can send another delegate all (the tx will finally fail on chain since chain would not let multiple delegates per track.)

it takes 6-8 seconds for tx to finalize and the app is returned to correct state.

@hamidra hamidra changed the title user can delegate again during a transitionary period (~ 6 seconds ) after they have delegated All tracks. User can delegate again during a transitionary period (~6ss ) after they have delegated All tracks. Jun 15, 2023
@hamidra hamidra added the bug Something isn't working label Jun 15, 2023
@hamidra hamidra changed the title User can delegate again during a transitionary period (~6ss ) after they have delegated All tracks. User can delegate again during a transitionary period (~6s) after they have delegated All tracks. Jun 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant