Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
chore: cover anvil hh
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Jun 7, 2022
1 parent 4362511 commit 9d619d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ethers-etherscan/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ impl ClientBuilder {
"https://testnet.explorer.emerald.oasis.dev/api",
"https://testnet.explorer.emerald.oasis.dev/",
),
Chain::Dev => return Err(EtherscanError::LocalNetworksNotSupported),
Chain::AnvilHardhat | Chain::Dev => {
return Err(EtherscanError::LocalNetworksNotSupported)
}
chain => return Err(EtherscanError::ChainNotSupported(chain)),
};
self.with_api_url(etherscan_api_url?)?.with_url(etherscan_url?)
Expand Down

0 comments on commit 9d619d8

Please sign in to comment.