Skip to content

Commit

Permalink
add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Sep 19, 2024
1 parent 5d5cbaf commit a096a07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/cli/src/deploy/waitForTransactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ export async function waitForTransactions({
hash,
pollingInterval: 100,
retryCount: 8,
retryDelay: ({ count }) => ~~(1 << count) * 400,
retryDelay: ({ count }) => {
console.log("retry", count);
return ~~(1 << count) * 400;
},
});
if (receipt.status === "reverted") {
throw new Error(`Transaction reverted: ${hash}`);
Expand Down

0 comments on commit a096a07

Please sign in to comment.