Open
Description
Describe the bug
Limited use in permissioning consumes two usage
Error Code
NA
To Reproduce
Steps to reproduce the behavior:
- Set limited use to 1 for mint in cw721
- Try to mint (It will error)
- Set limited use to 2 for any mint
- Try to mint (Success)
- Checking remaining usage returns 0 indicated 2 uses were consumed in 1 action
Expected behavior
Only 1 usage should be used
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- Chain
Additional context
Here Limited use permission is consumed for one action. But later its also consumed in execute_mint. This is causing consumption of 2 uses and error if there is only 1 usage allowed