Skip to content

Commit fe14482

Browse files
Remove redundant documentation for proving requests
1 parent 541d304 commit fe14482

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

sdk/src/program-manager.ts

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -759,29 +759,8 @@ class ProgramManager {
759759
* "aleo1vwls2ete8dk8uu2kmkmzumd7q38fvshrht8hlc0a5362uq8ftgyqnm3w08",
760760
* "10000000u64",
761761
* ],
762-
* broadcast: true,
762+
* broadcast: false,
763763
* });
764-
*
765-
* // Submit the ProvingRequest to the network and await the response.
766-
* const provingResponse = await programManager.networkClient.submitProvingRequest(provingRequest);
767-
* // Get the transaction from the proving response.
768-
* const tx = provingResponse.transaction;
769-
* // Check if the proving service has already submitted the transaction.
770-
* const submitted = provingResponse.broadcast;
771-
*
772-
* // Get the transaction id.
773-
* const tx_id = tx.id();
774-
*
775-
* // If the response doesn't indicate the transaction was submitted, submit it manually.
776-
* if (!submitted) {
777-
* await programManager.networkClient.submitTransaction(tx);
778-
* }
779-
*
780-
* // Wait to see if the transaction has appeared on chain.
781-
* setTimeout(async () => {
782-
* const transaction = await programManager.networkClient.getTransaction(tx.id());
783-
* assert(transaction.id() === tx.id());
784-
* }, 10000);
785764
*/
786765
async provingRequest(
787766
options: ProvingRequestOptions,

0 commit comments

Comments
 (0)