zkapp-cli
zkapp-cli copied to clipboard
Update the code throughout the CLI to be compatible with Aysnc circuits
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 - [ ]
awaitto all contract callsawait MyContract.myMethod(); - [ ] Use the new
@method.returns()decorator to declare a return value from a method - [ ] update
SmartContract.digest()andZkProgram.digest()to be async