Skip to content

Commit

Permalink
remove tx polling
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Dec 11, 2023
1 parent 2984d6b commit 0cbe8bb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions client/src/dojo/createSystemCalls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ export function createSystemCalls(
);

// logging the transaction hash
console.log(
await signer.waitForTransaction(transaction_hash, {
retryInterval: 100,
})
);
// console.log(
// await signer.waitForTransaction(transaction_hash, {
// retryInterval: 100,
// })
// );

// just wait until indexer - currently ~1 second.
// TODO: make this more robust
// just wait until indexer sync - currently ~1 second.
// TODO: v0.4.0 will resolve to indexer
await new Promise((resolve) => setTimeout(resolve, 1000));
} catch (e) {
console.log(e);
Expand Down

0 comments on commit 0cbe8bb

Please sign in to comment.