Skip to content

Commit

Permalink
Merge pull request #1341 from morpho-dao/fix/hardhat-verification
Browse files Browse the repository at this point in the history
fix(hardhat): fix hardhat configuration for etherscan verification
  • Loading branch information
Rubilmax authored Oct 25, 2022
2 parents 79243e3 + a01a89c commit ac99742
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ const config: HardhatUserConfig = {
blockNumber: Number(process.env.BLOCK_NUMBER || 15_500_000),
},
},
mainnet: {
url: `https://eth-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_KEY}`,
chainId: 1,
},
},
preprocess: {
eachLine: () => ({
Expand Down Expand Up @@ -58,6 +62,9 @@ const config: HardhatUserConfig = {
},
],
},
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY,
},
};

export default config;

0 comments on commit ac99742

Please sign in to comment.