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

Update all templates and examples to be compatible with Aysnc circuits #604

Closed
3 tasks
ymekuria opened this issue Mar 8, 2024 · 0 comments · Fixed by #606
Closed
3 tasks

Update all templates and examples to be compatible with Aysnc circuits #604

ymekuria opened this issue Mar 8, 2024 · 0 comments · Fixed by #606
Assignees

Comments

@ymekuria
Copy link
Collaborator

ymekuria commented Mar 8, 2024

Async circuits. Require all smart contract and zkprogram methods to be async o1-labs/o1js#1477

Update all templates and examples.

  • update @methods to be async
  • await to all contract calls await MyContract.myMethod();
  • Use the new @method.returns() decorator to declare a return value from a method
@ymekuria ymekuria self-assigned this Mar 8, 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

Successfully merging a pull request may close this issue.

1 participant