Skip to content

Commit

Permalink
fix: Remove buidler references
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed May 21, 2022
1 parent f292dca commit 7ac39f7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.env
#Buidler files
#Hardhat files
cache
artifacts

node_modules
dist/
build/
Expand Down
1 change: 0 additions & 1 deletion helper-hardhat-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export const NETWORKS_RPC_URL: iParamsPerNetwork<string> = {
: `https://mainnet.infura.io/v3/${INFURA_KEY}`,
[eEthereumNetwork.coverage]: 'http://localhost:8555',
[eEthereumNetwork.hardhat]: 'http://localhost:8545',
[eEthereumNetwork.buidlerevm]: 'http://localhost:8545',
[eEthereumNetwork.tenderlyMain]: `https://rpc.tenderly.co/fork/${TENDERLY_FORK}`,
[ePolygonNetwork.mumbai]: 'https://rpc-mumbai.maticvigil.com',
[ePolygonNetwork.matic]: 'https://rpc-mainnet.matic.network',
Expand Down
2 changes: 1 addition & 1 deletion helpers/etherscan-verification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const verifyContract = async (
);
const msDelay = 3000;
const times = 4;
// Write a temporal file to host complex parameters for buidler-etherscan https://github.com/nomiclabs/buidler/tree/development/packages/buidler-etherscan#complex-arguments
// Write a temporal file to host complex parameters for hardhat-etherscan https://github.com/nomiclabs/hardhat/tree/development/packages/hardhat-etherscan#complex-arguments
const paramsFile = await file({
prefix: 'verify-params-',
postfix: '.js',
Expand Down
2 changes: 0 additions & 2 deletions helpers/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export enum eEthereumNetwork {
coverage = 'coverage',
hardhat = 'hardhat',
tenderlyMain = 'tenderlyMain',
buidlerevm = 'buidlerevm',
}

export enum ePolygonNetwork {
Expand Down Expand Up @@ -73,7 +72,6 @@ export interface iParamsPerNetworkAll<T>

export interface iEthereumParamsPerNetwork<eNetwork> {
[eEthereumNetwork.coverage]: eNetwork;
[eEthereumNetwork.buidlerevm]: eNetwork;
[eEthereumNetwork.kovan]: eNetwork;
[eEthereumNetwork.ropsten]: eNetwork;
[eEthereumNetwork.rinkeby]: eNetwork;
Expand Down

0 comments on commit 7ac39f7

Please sign in to comment.