Skip to content

Commit 3c08ba4

Browse files
committed
fix: add timeout for ci
unclear if this is really needed
1 parent 3abea08 commit 3c08ba4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/auth-server-api/src/handlers/deploy-account.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ export const deployAccountHandler = async (req: Request, res: Response): Promise
158158
hash: fundingHash,
159159
});
160160
console.log("Account funded with 1 ETH");
161+
162+
// Give the bundler/network a moment to see the updated balance
163+
// This is especially important in CI environments with forked networks
164+
await new Promise((resolve) => setTimeout(resolve, 2000));
161165
} catch (error) {
162166
console.error("Failed to fund account:", error);
163167
// Don't fail the deployment if funding fails

0 commit comments

Comments
 (0)