Skip to content

Commit

Permalink
Merge branch 'master' into feature/bytes-storage-slice
Browse files Browse the repository at this point in the history
# Conflicts:
#	package.json
  • Loading branch information
zZoMROT committed Dec 22, 2023
2 parents 48d27d6 + 2a5521f commit a16604a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hardhat-setup/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class Networks {

registerCustom(name: string, chainId: number, url?: string, privateKey?: string, etherscanKey?: string, apiURL: string = '', browserURL: string = '', hardfork = 'paris') {
if (url && privateKey && etherscanKey) {
this.register(name, chainId, hardfork, url, privateKey, name, etherscanKey);
this.register(name, chainId, url, privateKey, name, etherscanKey, hardfork);
this.etherscan.customChains.push({ network: name, chainId, urls: { apiURL, browserURL } });
}
}
Expand Down Expand Up @@ -105,7 +105,7 @@ export class Networks {
this.register('optimistic', 10, process.env.OPTIMISTIC_RPC_URL, process.env.OPTIMISTIC_PRIVATE_KEY, 'optimisticEthereum', process.env.OPTIMISTIC_ETHERSCAN_KEY);
this.register('matic', 137, process.env.MATIC_RPC_URL, process.env.MATIC_PRIVATE_KEY, 'polygon', process.env.MATIC_ETHERSCAN_KEY);
this.register('arbitrum', 42161, process.env.ARBITRUM_RPC_URL, process.env.ARBITRUM_PRIVATE_KEY, 'arbitrumOne', process.env.ARBITRUM_ETHERSCAN_KEY);
this.register('xdai', 100, process.env.XDAI_RPC_URL, process.env.XDAI_PRIVATE_KEY, 'gnosis', process.env.XDAI_ETHERSCAN_KEY);
this.register('xdai', 100, process.env.XDAI_RPC_URL, process.env.XDAI_PRIVATE_KEY, 'xdai', process.env.XDAI_ETHERSCAN_KEY);
this.register('avax', 43114, process.env.AVAX_RPC_URL, process.env.AVAX_PRIVATE_KEY, 'avalanche', process.env.AVAX_ETHERSCAN_KEY);
this.register('fantom', 250, process.env.FANTOM_RPC_URL, process.env.FANTOM_PRIVATE_KEY, 'opera', process.env.FANTOM_ETHERSCAN_KEY);
this.register('aurora', 1313161554, process.env.AURORA_RPC_URL, process.env.AURORA_PRIVATE_KEY, 'aurora', process.env.AURORA_ETHERSCAN_KEY);
Expand Down

0 comments on commit a16604a

Please sign in to comment.