diff --git a/src/clients/ProfitClient.ts b/src/clients/ProfitClient.ts index 532aa7d7f..4c0089380 100644 --- a/src/clients/ProfitClient.ts +++ b/src/clients/ProfitClient.ts @@ -39,9 +39,11 @@ export const GAS_TOKEN_BY_CHAIN_ID: { [chainId: number]: string } = { 10: WETH, 137: MATIC, 288: WETH, + 324: WETH, 42161: WETH, // Testnets: 5: WETH, + 280: WETH, 421613: WETH, }; // TODO: Make this dynamic once we support chains with gas tokens that have different decimals. diff --git a/src/common/Constants.ts b/src/common/Constants.ts index 721834360..dac1c1d75 100644 --- a/src/common/Constants.ts +++ b/src/common/Constants.ts @@ -27,6 +27,7 @@ export const DATAWORKER_FAST_LOOKBACK: { [chainId: number]: number } = { 10: 1382400, 137: 138240, 288: 11520, + 324: 4 * 24 * 60 * 60, 42161: 1382400, }; @@ -120,6 +121,7 @@ export const BUNDLE_END_BLOCK_BUFFERS = { 10: 300, // At a conservative 1 TPS, 5 mins = 300 seconds = 300 transactions. And 1 block per txn. 137: 750, // At 2s/block, 25 mins = 25 * 60 / 2 = 750 blocks 288: 5, // At 60s/block, 50 blocks = 25 mins + 324: 1500, // At 1s/block, 25 mins = 1500 blocks. 42161: 300, // At a conservative 1 TPS, 5 mins = 300 seconds = 300 transactions. And 1 block per txn. // Testnets: 5: 0,