Skip to content

Commit 48416df

Browse files
committed
Try gzip and timeout
1 parent 5e84425 commit 48416df

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

e2e/generateDeployments.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ const fgCyan = '\x1b[36m';
1515

1616
const log = require('debug')(`e2e:${require('path').basename(__filename, '.js')}`);
1717

18-
const provider = new ethers.providers.JsonRpcProvider(
19-
process.env.RPC_URL || 'http://127.0.0.1:8545'
20-
);
18+
const provider = new ethers.providers.JsonRpcProvider({
19+
url: process.env.RPC_URL || 'http://127.0.0.1:8545',
20+
timeout: 5 * 60 * 1000,
21+
allowGzip: true,
22+
});
2123

2224
const bn = (num) => ethers.BigNumber.from(num).toString();
2325

0 commit comments

Comments
 (0)