跪求!!!困扰两周了,关于第四课我用hardhat3 插件viem typescript模版,我的合约部署成功,但是验证失败

Abierto
#94 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
solidity, typescript

Línea de trabajo

Start with scripts/deploy-fund-me.ts at the verification call on line 26 and inspect the hardhat-verify stack trace shown in the report. Reproduce the Sepolia deployment, then determine whether the reported Etherscan API failure is actionable in this repository; done means the verification path is either working or documented as incompatible with the tutorial configuration.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

caiwei@localhost:~/caiwei/hardhat-example$ npx hardhat run scripts/deploy-fund-me.ts --network sepolia --show-stack-traces
Nothing to compile
Nothing to compile

[hardhat-keystore] Enter the password: ************
Sending transaction using the OP chain type
contract is address: 0xdfa9fbaa8d6d551d19a63a0eafba6570df72a8fb
Error HHE80001 in plugin hardhat-verify: The request to https://api.etherscan.io/v2/api failed with the message "". This error comes from Etherscan, not Hardhat.

HardhatError: HHE80001: The request to https://api.etherscan.io/v2/api failed with the message "". This error comes from Etherscan, not Hardhat.
at Etherscan.isVerified (/home/caiwei/caiwei/hardhat-example/node_modules/@nomicfoundation/hardhat-verify/src/internal/etherscan.ts:114:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async verifyContract (/home/caiwei/caiwei/hardhat-example/node_modules/@nomicfoundation/hardhat-verify/src/internal/verification.ts:127:18)
at async (/home/caiwei/caiwei/hardhat-example/scripts/deploy-fund-me.ts:26:1)
caiwei@localhost:~/caiwei/hardhat-example$

Image老师,兄弟们有没有人知道,现在验证的api是不是不让用了?

Lenguaje dominante
Solidity
Estrellas
1.5k
Forks
383
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de smartcontractkit/Web3_tutorial_Chinese

Todos los issues de smartcontractkit/Web3_tutorial_Chinese

Issues similares

Más issues de Blockchain

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.