Skip to content

Commit

Permalink
temporarily revert polling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Sep 19, 2024
1 parent 6247103 commit c816de9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/cli/src/deploy/waitForTransactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ export async function waitForTransactions({
const receipts: TransactionReceipt[] = [];
// wait for each tx separately/serially, because parallelizing results in RPC errors
for (const hash of hashes) {
const receipt = await waitForTransactionReceipt(client, {
hash,
pollingInterval: 100,
retryDelay: ({ count }) => 2 ** count * 200,
retryCount: 8,
});
const receipt = await waitForTransactionReceipt(client, { hash });
if (receipt.status === "reverted") {
throw new Error(`Transaction reverted: ${hash}`);
}
Expand Down

0 comments on commit c816de9

Please sign in to comment.