Skip to content

Commit

Permalink
🔧 etherscan: add op-sepolia support
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Jan 30, 2024
1 parent feb9f3a commit 7abb003
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/etherscan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ export async function submitSources(
case '11155111':
host = 'https://api-sepolia.etherscan.io';
break;
case '11155420':
host = 'https://api-sepolia-optimistic.etherscan.io';
break;
default:
return logError(
`Network with chainId: ${chainId} not supported. You can specify the url manually via --api-url <url>.`
Expand Down

0 comments on commit 7abb003

Please sign in to comment.