From e6b9d0e1bf0b6dd722096c8bba8e99d187cbbdad Mon Sep 17 00:00:00 2001 From: Trevor Porter Date: Tue, 25 Jun 2024 10:58:07 +0100 Subject: [PATCH] chore: bump arb costs (#4018) ### Description Big gas spike on arb rn, see https://discord.com/channels/935678348330434570/1253313812652888154 for context ### Drive-by changes ### Related issues ### Backward compatibility ### Testing --- .../infra/config/environments/mainnet3/gasPrices.json | 6 +++--- typescript/infra/scripts/deploy.ts | 6 +++++- typescript/infra/src/config/gas-oracle.ts | 2 ++ typescript/sdk/src/gas/HyperlaneIgpDeployer.ts | 2 ++ 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/typescript/infra/config/environments/mainnet3/gasPrices.json b/typescript/infra/config/environments/mainnet3/gasPrices.json index cb689e297..6d2aff221 100644 --- a/typescript/infra/config/environments/mainnet3/gasPrices.json +++ b/typescript/infra/config/environments/mainnet3/gasPrices.json @@ -1,6 +1,6 @@ { "arbitrum": { - "amount": "0.01", + "amount": "0.5", "decimals": 9 }, "ancient8": { @@ -16,7 +16,7 @@ "decimals": 9 }, "blast": { - "amount": "0.01649352", + "amount": "0.5", "decimals": 9 }, "bsc": { @@ -68,7 +68,7 @@ "decimals": 1 }, "optimism": { - "amount": "0.061126811", + "amount": "0.25", "decimals": 9 }, "osmosis": { diff --git a/typescript/infra/scripts/deploy.ts b/typescript/infra/scripts/deploy.ts index 7c30053cc..16a4c3017 100644 --- a/typescript/infra/scripts/deploy.ts +++ b/typescript/infra/scripts/deploy.ts @@ -130,7 +130,11 @@ async function main() { ); } else if (module === Modules.INTERCHAIN_GAS_PAYMASTER) { config = envConfig.igp; - deployer = new HyperlaneIgpDeployer(multiProvider, contractVerifier); + deployer = new HyperlaneIgpDeployer( + multiProvider, + contractVerifier, + concurrentDeploy, + ); } else if (module === Modules.INTERCHAIN_ACCOUNTS) { const { core } = await getHyperlaneCore(environment, multiProvider); config = core.getRouterConfig(envConfig.owners); diff --git a/typescript/infra/src/config/gas-oracle.ts b/typescript/infra/src/config/gas-oracle.ts index 1994e91ce..97d0a3f2b 100644 --- a/typescript/infra/src/config/gas-oracle.ts +++ b/typescript/infra/src/config/gas-oracle.ts @@ -141,6 +141,8 @@ function getMinUsdCost(local: ChainName, remote: ChainName): number { ancient8: 0.5, base: 0.5, blast: 0.5, + fraxtal: 0.5, + linea: 0.5, mantapacific: 0.5, mode: 0.5, optimism: 0.5, diff --git a/typescript/sdk/src/gas/HyperlaneIgpDeployer.ts b/typescript/sdk/src/gas/HyperlaneIgpDeployer.ts index dc6efc37c..0c0cbfc34 100644 --- a/typescript/sdk/src/gas/HyperlaneIgpDeployer.ts +++ b/typescript/sdk/src/gas/HyperlaneIgpDeployer.ts @@ -25,10 +25,12 @@ export class HyperlaneIgpDeployer extends HyperlaneDeployer< constructor( multiProvider: MultiProvider, contractVerifier?: ContractVerifier, + concurrentDeploy: boolean = false, ) { super(multiProvider, igpFactories, { logger: rootLogger.child({ module: 'IgpDeployer' }), contractVerifier, + concurrentDeploy, }); }