Closed ymekuria closed 5 months ago
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
async
await
await MyContract.myMethod();
@method.returns()
SmartContract.digest()
ZkProgram.digest()
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
async
await
to all contract callsawait MyContract.myMethod();
@method.returns()
decorator to declare a return value from a methodSmartContract.digest()
andZkProgram.digest()
to be async