【发布时间】:2022-10-15 04:53:39
【问题描述】:
我们的团队在尝试通过 Hardhat 验证代理合同时看到以下错误:
运行后:npx hardhat verify --network matic 0x2CB7FfCE5d0e128268D8AA7549EBefB9B293Dc21 我们看到:
Nothing to compile
Implementation 0x3Adf7e2B2aCfFf48d11802EC0b1591Cc19672804 already verified.
Verifying proxy: 0x2CB7FfCE5d0e128268D8AA7549EBefB9B293Dc21
Contract at 0x2CB7FfCE5d0e128268D8AA7549EBefB9B293Dc21 already verified.
Linking proxy 0x2CB7FfCE5d0e128268D8AA7549EBefB9B293Dc21 with implementation
Successfully linked proxy to implementation.
Verifying proxy admin: 0x877D0e3fB2732d074aa70D961320e3AE58320705
Failed to verify ProxyAdmin contract at 0x877D0e3fB2732d074aa70D961320e3AE58320705: Bytecode does not match with the current version of ProxyAdmin in the Hardhat Upgrades plugin.
An unexpected error occurred:
Error: Verification completed with the following errors.
Error 1: Failed to verify ProxyAdmin contract at 0x877D0e3fB2732d074aa70D961320e3AE58320705: Bytecode does not match with the current version of ProxyAdmin in the Hardhat Upgrades plugin.
是否有人熟悉此错误和潜在的故障排除途径?
【问题讨论】:
标签: solidity web3js npx hardhat etherscan