defi-wonderland / aztec-private-oracle

9 stars 1 forks source link

Remove assertions for note getter options once 0.8.x is out #5

Closed spalladino closed 1 year ago

spalladino commented 1 year ago

These are now automatically checked by get_notes, which checks that the results returned by the oracle match the selection criteria.

https://github.com/defi-wonderland/aztec-private-oracle/blob/afe8cb4e3bc34219f925859790be56c79fb0188c/src/main.nr#L149-L150

skeletor-spaceman commented 1 year ago

oh, this is nice, definitely a good improvement on overall security :)

0xShaito commented 1 year ago

https://github.com/defi-wonderland/aztec-private-oracle/commit/56b0cfd31bdb8ece4287816657118b8e6583940f