gnosisguild / zodiac-modifier-roles

Smart account toolkit for role-based access control
https://roles.gnosisguild.org
GNU Lesser General Public License v3.0
80 stars 39 forks source link

fix comparison value type #132

Closed jfschwarz closed 2 years ago

jfschwarz commented 2 years ago

comparison values can be single ABI encoded string (for equals, greater than and less than) or an array of of encoded strings (for one of). In the subgraph schema we chose to generally store them as string arrays, so that if only a single value is expected it will be stored as the first and only element in that array.

This PR adjusts the app types so we handle it consistently. This fixes #124