From 1a8fa10b1f4ab299ef1bee46599beaf700f0b955 Mon Sep 17 00:00:00 2001 From: Jakub Nowakowski Date: Mon, 31 Jul 2023 14:51:48 +0200 Subject: [PATCH] Comment out hardcoded gasPrice Most of the transactions pass without gasPrice parameter. We need to set it in case we have problems. --- cross-chain/base/hardhat.config.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cross-chain/base/hardhat.config.ts b/cross-chain/base/hardhat.config.ts index 5778ad859..8cd0291db 100644 --- a/cross-chain/base/hardhat.config.ts +++ b/cross-chain/base/hardhat.config.ts @@ -61,7 +61,9 @@ const config: HardhatUserConfig = { ? process.env.L2_ACCOUNTS_PRIVATE_KEYS.split(",") : undefined, tags: ["basescan"], - gasPrice: 1000000000, + // In case of deployment failing with underpriced transaction error set + // the `gasPrice` parameter. + // gasPrice: 1000000000, // companionNetworks: { // l1: "goerli", // }, @@ -74,7 +76,9 @@ const config: HardhatUserConfig = { ? process.env.L2_ACCOUNTS_PRIVATE_KEYS.split(",") : undefined, tags: ["basescan"], - gasPrice: 1000000000, + // In case of deployment failing with underpriced transaction error set + // the `gasPrice` parameter. + // gasPrice: 1000000000, // companionNetworks: { // l1: "mainnet", // },