Closed cristovaoth closed 1 year ago
Adding a proper error for this could be helpful to users: https://github.com/gnosis/zodiac-modifier-roles/blob/ominiscia-audit-feedback/packages/evm/contracts/PermissionChecker.sol#L661
(In case an non-existing/deleted allowance is still referenced from conditions.)
Adding a proper error for this could be helpful to users: https://github.com/gnosis/zodiac-modifier-roles/blob/ominiscia-audit-feedback/packages/evm/contracts/PermissionChecker.sol#L661
(In case an non-existing/deleted allowance is still referenced from conditions.)
Adding a proper error for this could be helpful to users: https://github.com/gnosis/zodiac-modifier-roles/blob/ominiscia-audit-feedback/packages/evm/contracts/PermissionChecker.sol#L661
(In case an non-existing/deleted allowance is still referenced from conditions.)
It's an assert. PermissionLoader ensures a Consumption entry is always there. Deleted/Missing gets entry with Consumption.balance zero
Effectively what happens for Missing/Deleted is an AllowanceExceeded error. I think this is expressed already in a test case
The latest updates on your projects. Learn more about Vercel for Git ↗︎