Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-MIP] Add permissions to preconditions #18

Open
L-as opened this issue Feb 1, 2024 · 0 comments
Open

[pre-MIP] Add permissions to preconditions #18

L-as opened this issue Feb 1, 2024 · 0 comments

Comments

@L-as
Copy link

L-as commented Feb 1, 2024

A zkApp might need to pay out funds to a user, but if the user has receive != None, it could get stuck.
Allowing preconditions to specify permissions on the account would allow you to prove that the permissions
don't allow the action, enabling a way to handle the failure.

@L-as L-as changed the title Add permissions to preconditions [pre-MIP] Add permissions to preconditions Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant