Skip to content

Commit

Permalink
Update getConfirmationsToWait.ts
Browse files Browse the repository at this point in the history
2s block time is final. 10 seconds would be conservative, 10 seconds (conservative wait time) ÷ 2 seconds (block time) = 5 blocks, adding 10 block confermation
  • Loading branch information
andreolf authored and ryanberckmans committed Sep 4, 2024
1 parent 582ff12 commit a5197b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/getConfirmationsToWait.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const confirmationsToWait: { [chainId: number]: number } = isProduction ? {
[base.id]: 90, // ~3 minutes
[blast.id]: 90, // ~3 minutes
[immutableZkEvm.id]: 60, // ~3 minutes
[linea.id]: 90, // ~3 minutes
[linea.id]: 10, // 2s block time is final. 10 seconds would be conservative, 10 seconds (conservative wait time) ÷ 2 seconds (block time) = 5 blocks, adding 10 block confermation
[mainnet.id]: 15, // ~3 minutes
[mode.id]: 60, // ~3 minutes
[optimism.id]: 90, // ~3 minutes
Expand Down

0 comments on commit a5197b4

Please sign in to comment.