Verification fails on Zksync testnet #3191
zaidmalik02
started this conversation in
General
Replies: 1 comment 2 replies
-
Hello @zaidmalik02, I am confused if you are seeking help or you are giving heads-up. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
the logs are Your files are stored in indexedDB, 886.88 KB / 148.25 GB used
You can use this terminal to:
Check transactions details and start debugging.
Execute JavaScript scripts:
Input a script directly in the command line interface
Select a Javascript file in the file explorer and then run
remix.execute()
orremix.exeCurrent()
in the command line interfaceRight-click on a JavaScript file in the file explorer and then click
Run
The following libraries are accessible:
web3.js
ethers.js
sol-gpt
Type the library name to see available commands.
🟢 You are using the latest version of the zkSync plugin: v0.7.1
Deploying contract SimpleStorage
{
"type": 113,
"nonce": 1,
"maxPriorityFeePerGas": {
"type": "BigNumber",
"hex": "0x017d7840"
},
"maxFeePerGas": {
"type": "BigNumber",
"hex": "0x017d7840"
},
"gasLimit": {
"type": "BigNumber",
"hex": "0x010b6152"
},
"to": "0x0000000000000000000000000000000000008006",
"value": {
"type": "BigNumber",
"hex": "0x00"
},
"data": "0x9c4d535b00000000000000000000000000000000000000000000000000000000000000000100009d52e1dd...",
"chainId": {
"type": "BigNumber",
"hex": "0x012c"
},
"from": "0xe3c704dAe78643ecB7A2af328d035CDba6c47D78",
"customData": {
"gasPerPubdata": {
"type": "BigNumber",
"hex": "0xc350"
},
"factoryDeps": "[ <...> ]",
"customSignature": "0x66c132e4195d49e15d61ec7225c18549234114e34659f5416e4a59f8833bd7a75c7bf9853b784cddb6d1322de3965047347e8a9a01050d40ec8dcddd255ce45c1c"
},
"hash": "0xc1ddcbc2b9473f4832fe5e820fdd07ec1a5cda0ad6c701ddc7549c5151ed6c77",
"confirmations": 0
}
WARNING: You are currently using Node.js v22.11.0, which is not supported by Hardhat. This can lead to unexpected behavior. See https://hardhat.org/nodejs-versions
Error in plugin @matterlabs/hardhat-zksync-verify: The address provided as argument contains a contract, but its bytecode doesn't match any of your local contracts.
Possible causes are:
- Contract code changed after the deployment was executed. This includes code for seemingly unrelated contracts.
- A solidity file was added, moved, deleted or renamed after the deployment was executed. This includes files for seemingly unrelated contracts.
- Solidity compiler settings were modified after the deployment was executed (like the optimizer, target EVM, etc.).
- The given address is wrong.
- The selected network is wrong.
ZkSyncVerifyPluginError: The address provided as argument contains a contract, but its bytecode doesn't match any of your local contracts.
Possible causes are:
- Contract code changed after the deployment was executed. This includes code for seemingly unrelated contracts.
- A solidity file was added, moved, deleted or renamed after the deployment was executed. This includes files for seemingly unrelated contracts.
- Solidity compiler settings were modified after the deployment was executed (like the optimizer, target EVM, etc.).
- The given address is wrong.
- The selected network is wrong.
at inferContractArtifacts (/opt/app/api/hardhat_env/node_modules/@matterlabs/hardhat-zksync-verify/src/plugin.ts:48:45)
at async OverriddenTaskDefinition.getContractInfo [as _action] (/opt/app/api/hardhat_env/node_modules/@matterlabs/hardhat-zksync-verify/src/task-actions.ts:310:31)
at async Environment._runTaskDefinition (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/core/runtime-environment.ts:359:14)
at async Environment.run (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/core/runtime-environment.ts:192:14)
at async OverriddenTaskDefinition.verifyContract [as _action] (/opt/app/api/hardhat_env/node_modules/@matterlabs/hardhat-zksync-verify/src/task-actions.ts:197:54)
at async Environment._runTaskDefinition (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/core/runtime-environment.ts:359:14)
at async Environment.run (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/core/runtime-environment.ts:192:14)
at async OverriddenTaskDefinition.verify [as _action] (/opt/app/api/hardhat_env/node_modules/@matterlabs/hardhat-zksync-verify/src/task-actions.ts:83:5)
at async Environment._runTaskDefinition (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/core/runtime-environment.ts:359:14)
at async Environment.run (/opt/app/api/hardhat_env/node_modules/hardhat/src/internal/core/runtime-environment.ts:192:14)
Beta Was this translation helpful? Give feedback.
All reactions