Skip to content

Commit

Permalink
Comment out hardcoded gasPrice
Browse files Browse the repository at this point in the history
Most of the transactions pass without gasPrice parameter. We need to set
it in case we have problems.
  • Loading branch information
nkuba committed Jul 31, 2023
1 parent ffe3818 commit 1a8fa10
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cross-chain/base/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
// },
Expand All @@ -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",
// },
Expand Down

0 comments on commit 1a8fa10

Please sign in to comment.