Skip to content

Commit

Permalink
fix: fix hardhat.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
biga816 committed Jan 21, 2025
1 parent 22f9ac5 commit a5aff43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const accounts = [
];
const testAccounts = require("./accountsList.js");
const testAccountsList = testAccounts.accountsList;
const rpcEndpoint = process.env.RPC_ENDPOINT || "";

module.exports = {
paths: {
Expand Down Expand Up @@ -55,12 +56,12 @@ module.exports = {
accounts,
},
mainnet: {
url: process.env.RPC_ENDPOINT,
url: rpcEndpoint,
gasPrice: process.env.GAS_PRICE ? parseInt(process.env.GAS_PRICE) : "auto",
accounts,
},
testnet: {
url: process.env.RPC_ENDPOINT,
url: rpcEndpoint,
accounts,
},
},
Expand Down

0 comments on commit a5aff43

Please sign in to comment.