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 tutorials ,example code, and code snippets to be compatible with async circuits #883

Closed
3 tasks
ymekuria opened this issue Mar 11, 2024 · 0 comments · Fixed by #886
Closed
3 tasks
Assignees

Comments

@ymekuria
Copy link
Contributor

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

Update all tutorial code, example code, and code snippets.

  • update https://github.com/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
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