We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contracts with the exact same deployed bytecode can be verified by hardhat but cannot be verified on explorer.
Test contract verified by hardhat: https://sepolia.explorer.zksync.io/address/0x1097f8a418d36e3aB3A1B386A7977F67672Ec4Fc
Contract with the same deployed bytecode: https://sepolia.explorer.zksync.io/address/0x121f49040C4Ed3FA766557b6989B88aa3ea82082
The zksolc version, solc version, contract name and contract code are all copied from https://sepolia.explorer.zksync.io/address/0x1097f8a418d36e3aB3A1B386A7977F67672Ec4Fc , but explorer states that the deployed bytecode is not equal to generated one from given source.
Provide a clear and concise description of the bug.
Deploy a contract using zksolc v1.4.0 and solc 0.8.9. Then try to verify it on explorer.
The contract can be verified.
The contract cannot be verified.
Any relevant environment details.
Add any other context about the problem here. If applicable, add screenshots to help explain.
Paste any relevant log output here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Bug Report
📝 Description
Contracts with the exact same deployed bytecode can be verified by hardhat but cannot be verified on explorer.
Test contract verified by hardhat: https://sepolia.explorer.zksync.io/address/0x1097f8a418d36e3aB3A1B386A7977F67672Ec4Fc
Contract with the same deployed bytecode: https://sepolia.explorer.zksync.io/address/0x121f49040C4Ed3FA766557b6989B88aa3ea82082
The zksolc version, solc version, contract name and contract code are all copied from https://sepolia.explorer.zksync.io/address/0x1097f8a418d36e3aB3A1B386A7977F67672Ec4Fc , but explorer states that the deployed bytecode is not equal to generated one from given source.
Provide a clear and concise description of the bug.
🔄 Reproduction Steps
Deploy a contract using zksolc v1.4.0 and solc 0.8.9. Then try to verify it on explorer.
🤔 Expected Behavior
The contract can be verified.
😯 Current Behavior
The contract cannot be verified.
🖥️ Environment
Any relevant environment details.
📋 Additional Context
Add any other context about the problem here. If applicable, add screenshots to help explain.
📎 Log Output
The text was updated successfully, but these errors were encountered: