Skip to content

Commit

Permalink
Updated etherscan plugin to include Optimism Sepolia chainId (#3579)
Browse files Browse the repository at this point in the history
* Added optimism sepolia api url

* formatted the chainId in etherscan plugin file

* changeset added

* Update .changeset/real-sheep-begin.md

* Update .changeset/real-sheep-begin.md

---------

Co-authored-by: awkweb <[email protected]>
  • Loading branch information
FaisalAli19 and tmm authored Feb 9, 2024
1 parent c677dcd commit a057919
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/real-sheep-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/cli": patch
---

Added Optimism Sepolia Etherscan support
1 change: 1 addition & 0 deletions packages/cli/src/plugins/etherscan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const apiUrls = {
// Optimism
[10]: 'https://api-optimistic.etherscan.io/api',
[420]: 'https://api-goerli-optimistic.etherscan.io/api',
[11_155_420]: 'https://api-sepolia-optimistic.etherscan.io/api',
// Polygon
[137]: 'https://api.polygonscan.com/api',
[80_001]: 'https://api-testnet.polygonscan.com/api',
Expand Down

0 comments on commit a057919

Please sign in to comment.