Skip to content

Commit 3f1fc80

Browse files
authored
fix(verify): handle Address is not a smart-contract with Blockscout verification (#12566)
add additional case to handle Blockscout not yet indexed contracts, add as additional case for backwards compatibility
1 parent 0037ec1 commit 3f1fc80

File tree

1 file changed

+1
-0
lines changed
  • crates/verify/src/etherscan

1 file changed

+1
-0
lines changed

crates/verify/src/etherscan/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ impl VerificationProvider for EtherscanVerificationProvider {
107107

108108
if resp.result.starts_with("Unable to locate ContractCode at")
109109
|| resp.result.starts_with("The address is not a smart contract")
110+
|| resp.result.starts_with("Address is not a smart-contract")
110111
{
111112
warn!("{}", resp.result);
112113
return Err(eyre!("Could not detect deployment: {}", resp.result));

0 commit comments

Comments
 (0)