Skip to content

Commit

Permalink
bump hardhat etherscan and mock aggregators
Browse files Browse the repository at this point in the history
  • Loading branch information
foodaka committed Jan 10, 2023
1 parent 495dcc3 commit a2ccdb1
Show file tree
Hide file tree
Showing 4 changed files with 25,210 additions and 47 deletions.
13 changes: 11 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ require('dotenv').config();

import '@nomiclabs/hardhat-ethers';
import '@nomiclabs/hardhat-waffle';
import 'temp-hardhat-etherscan';
import '@nomiclabs/hardhat-etherscan';

import 'hardhat-gas-reporter';
import 'hardhat-typechain';
import '@tenderly/hardhat-tenderly';
Expand Down Expand Up @@ -84,8 +85,16 @@ const buidlerConfig: HardhatUserConfig = {
target: 'ethers-v5',
},
etherscan: {
apiKey: ETHERSCAN_KEY,
apiKey: {
polygonMumbai: process.env.ETHERSCAN_POLYGON_KEY || '',
goerli: process.env.ETHERSCAN_KEY || '',
fuji: process.env.ETHERSCAN_SNOWTRACE_KEY || '',
mainnet: process.env.ETHERSCAN_KEY || '',
polygon: process.env.ETHERSCAN_POLYGON_KEY || '',
avalanche: process.env.ETHERSCAN_SNOWTRACE_KEY || '',
},
},

mocha: {
timeout: 0,
},
Expand Down
4 changes: 2 additions & 2 deletions helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const chainlinkAggregatorProxy = {
'arbitrum-rinkeby': '0x5f0423B1a6935dc5596e7A24d98532b67A0AeFd8',
arbitrum: '0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612',
rinkeby: '0x8A753747A1Fa494EC906cE90E9f37563A8AF630e',
goerli: '0x9F54B624fb17d07816C5552f8AB133c21b0322cD',
goerli: '0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e',
};

export const chainlinkEthUsdAggregatorProxy = {
Expand All @@ -100,5 +100,5 @@ export const chainlinkEthUsdAggregatorProxy = {
'arbitrum-rinkeby': '0x5f0423B1a6935dc5596e7A24d98532b67A0AeFd8',
arbitrum: '0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612',
rinkeby: '0x8A753747A1Fa494EC906cE90E9f37563A8AF630e',
goerli: '0x9F54B624fb17d07816C5552f8AB133c21b0322cD',
goerli: '0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e',
};
Loading

0 comments on commit a2ccdb1

Please sign in to comment.