zkapp-cli icon indicating copy to clipboard operation
zkapp-cli copied to clipboard

Update the code throughout the CLI to be compatible with Aysnc circuits

Open ymekuria opened this issue 1 year ago • 0 comments

Async circuits. Require all smart contract and zkprogram methods to be async https://github.com/o1-labs/o1js/pull/1477

Update all the smart contrat and Zkprogram code used in the CLI

  • [ ] 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
  • [ ] update SmartContract.digest() and ZkProgram.digest() to be async

ymekuria avatar Mar 09 '24 06:03 ymekuria