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

Aperta
#94 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
solidity, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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是不是不让用了?

Lingua principale
Solidity
Stelle
1.5k
Fork
383
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di smartcontractkit/Web3_tutorial_Chinese

Tutte le issue di smartcontractkit/Web3_tutorial_Chinese

Issue simili

Altre issue su Blockchain

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.