o1-labs / o1js

TypeScript framework for zk-SNARKs and zkApps
https://docs.minaprotocol.com/en/zkapps/how-to-write-a-zkapp
Apache License 2.0
475 stars 105 forks source link

Verification key permissions: better-named wrappers #1639

Closed mitschabaude closed 1 month ago

mitschabaude commented 1 month ago

This PR adds new wrappers for verification key permissions, which better convey their meaning.

This was suggested in the original VK permissions RFC: https://github.com/MinaProtocol/mina/pull/13994#discussion_r1321758306

It also makes setting VK permissions slightly nicer