Skip to content

Commit

Permalink
use consistent network name to get etherscan api key
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Apr 4, 2024
1 parent 7a4c273 commit 7b70583
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default {
'https://sepolia-rollup.arbitrum.io/rpc',
accounts,
},
optimism: {
optimisticEthereum: {
url: process.env.JSONRPC_HTTP_URL || 'https://mainnet.optimism.io',
accounts,
},
Expand Down
2 changes: 1 addition & 1 deletion contracts/utils/providers/EtherscanProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const EtherscanApiUrl: Record<string, string> = {
arbitrum: 'https://api.arbiscan.io',
'arbitrum-goerli': 'https://api-goerli.arbiscan.io',
'arbitrum-sepolia': 'https://api-sepolia.arbiscan.io',
optimism: 'https://api-optimistic.etherscan.io',
optimisticEthereum: 'https://api-optimistic.etherscan.io',
'optimism-sepolia': 'https://api-sepolia-optimistic.etherscan.io',
}

Expand Down

0 comments on commit 7b70583

Please sign in to comment.