Fix proxy verification check on Etherscan for non existing delegatecall errors

pull/5285/head
Manuel Wedler 2 months ago committed by Aniket
parent 722c9c5a81
commit d4f7b2a128
  1. 2
      apps/contract-verification/src/app/Verifiers/EtherscanVerifier.ts

@ -188,7 +188,7 @@ export class EtherscanVerifier extends AbstractVerifier {
const checkStatusResponse: EtherscanRpcResponse = await response.json()
if (checkStatusResponse.result === 'A corresponding implementation contract was unfortunately not detected for the proxy address.' || checkStatusResponse.result === 'The provided expected results are different than the retrieved implementation address!') {
if (checkStatusResponse.result === 'A corresponding implementation contract was unfortunately not detected for the proxy address.' || checkStatusResponse.result === 'The provided expected results are different than the retrieved implementation address!' || checkStatusResponse.result === 'This contract does not look like it contains any delegatecall opcode sequence.') {
return { status: 'failed', receiptId, message: checkStatusResponse.result }
}
if (checkStatusResponse.result === 'Verification in progress') {

Loading…
Cancel
Save