Skip to content

Commit

Permalink
fix: Increase RPC timeout (#1115)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandru Matei <[email protected]>
Co-authored-by: Paul <[email protected]>
  • Loading branch information
3 people authored Dec 13, 2023
1 parent 68a5412 commit ae85d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ProviderUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class RateLimitedProvider extends ethers.providers.StaticJsonRpcProvider {
}
}

const defaultTimeout = 25 * 1000;
const defaultTimeout = 60 * 1000;

function formatProviderError(provider: ethers.providers.StaticJsonRpcProvider, rawErrorText: string) {
return `Provider ${provider.connection.url} failed with error: ${rawErrorText}`;
Expand Down

0 comments on commit ae85d91

Please sign in to comment.