generated from iotaledger/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
When using validate_property with an attester, that has a value for a property, but not the checked one, the transaction runs out of gas (error "InsufficientGas") in the while loop in is_property_allowed.
Expected behavior
validate_property would return in such a case.
Can the issue reliably be reproduced?
Yes
Example repository
No response
Steps to reproduce
- Create a federation with two properties and a value each, e.g. "role" with value "example" and "foo" with value "bar".
- Create an accreditation to attest for an account for "foo" with "bar".
- Check if that account has the property "role" with the value "example". Running this check in a transaction or inside a PTB should let the transaction run out of gas.
Language
Go
Language Version
↑ This should be "Move" (not available in dropdown).
Version
post 0.1.3-alpha main branch (commit 9a7f9fa)
Hardware specifications
No response
Additional info
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
In Review