Skip to content

Commit

Permalink
test: decrease waitForTransaction retry interval
Browse files Browse the repository at this point in the history
  • Loading branch information
penovicp committed Feb 22, 2024
1 parent ca6855a commit 4599296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/config/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function getTestProvider(isProvider: boolean = true): ProviderInterface |
// accelerate the tests when running locally
const originalWaitForTransaction = provider.waitForTransaction.bind(provider);
provider.waitForTransaction = (txHash: string, options: waitForTransactionOptions = {}) => {
return originalWaitForTransaction(txHash, { retryInterval: 1000, ...options });
return originalWaitForTransaction(txHash, { retryInterval: 100, ...options });
};
}

Expand Down

0 comments on commit 4599296

Please sign in to comment.