Skip to content

Commit

Permalink
fix: Increase timeout for Sepolia mining (#8430)
Browse files Browse the repository at this point in the history
This Pr simply increases the wait timeout on Sepolia transactions to
give them a chance to settle.
  • Loading branch information
PhilWindle authored Sep 6, 2024
1 parent a1060a3 commit 29369ed
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ describe(`deploys and transfers a private only token`, () => {
interval: 0.1,
proven: true,
provenTimeout: 600,
timeout: 300,
});

logger.info(`Accounts deployed, deploying token.`);
Expand All @@ -86,14 +87,15 @@ describe(`deploys and transfers a private only token`, () => {
.deployed({
proven: true,
provenTimeout: 600,
timeout: 300,
});

logger.info(`Performing transfer.`);

await token.methods
.transfer(transferValue, deployerWallet.getAddress(), recipientWallet.getAddress(), deployerWallet.getAddress())
.send()
.wait({ proven: true, provenTimeout: 600 });
.wait({ proven: true, provenTimeout: 600, timeout: 300 });

logger.info(`Transfer completed`);

Expand Down

0 comments on commit 29369ed

Please sign in to comment.