diff --git a/packages/common/src/TimeUtils.ts b/packages/common/src/TimeUtils.ts index 5f6ec3b4cc..d284ce98d2 100644 --- a/packages/common/src/TimeUtils.ts +++ b/packages/common/src/TimeUtils.ts @@ -16,10 +16,13 @@ export async function averageBlockTimeSeconds(chainId?: number): Promise throw "Missing default block time value"; } + // - Optimism- Bedrock produces blocks every 2 seconds + // https://community.optimism.io/docs/developers/bedrock/how-is-bedrock-different/#block-production + // - Polygon source: https://polygonscan.com/chart/blocktime + switch (chainId) { - // Source: https://polygonscan.com/chart/blocktime case 10: - return 0.5; + return 2; case 42161: return 0.5; case 288: