[Contract Verification] Sophon Mainnet contract verification problem. The SafeL2 contract could not be verified. #834
-
Team or ProjectProtofire Safe EnvironmentMainnet Block ExplorerIssue Type
Contract Address0x610fcA2e0279Fa1F8C00c8c2F71dF522AD469380 Compiler TypeMulti-part contract zkSolc Version1.5.4 Solc Version0.7.6 Contract NameSafeL2.sol Contract Code
Constructor ArgumentsThe are no arguments Hardhat Verify Plugin Version^1.6.0 Repo Link (Optional)https://github.com/safe-global/safe-smart-account Additional DetailsHi there. We have encountered issue during smart contract verification. The issue log below. We have tried verify contract using Address - https://explorer.sophon.xyz/address/0x610fcA2e0279Fa1F8C00c8c2F71dF522AD469380#contract
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
It appears you are encountering issues with contract verification on the Sophon Mainnet using the ZKsync block explorer. The errors and warnings you've shared indicate specific Solidity practices that might be problematic on the ZKsync Era network, particularly concerning the use of Here are a few steps and recommendations to address these issues:
If these steps do not resolve the issue, or if you need further assistance, consider reaching out for more specific support through the ZKsync developers discussions on Github. This platform can provide more tailored advice for your situation. Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
@DenSmolonski hey! More info about your issue would be helpful, for example:
|
Beta Was this translation helpful? Give feedback.
-
hey @DenSmolonski Also, to disable the errors thrown bause of the use of zksolc: {
settings: {
suppressedErrors: ['txorigin', 'sendtransfer'], // Suppress specified errors. Currently supported: txorigin, sendtransfer
}
} |
Beta Was this translation helpful? Give feedback.
hey @DenSmolonski
Can you confirm if the bytecode in your
artifacts-zk
local folder matches with the one deployed? Also, could you please try verifying withnpx hardhat verify
as detailed in this section of the docs?Also, to disable the errors thrown bause of the use of
tx.origin
or usingtransfer
, you can add thesupressedErrors
in thezksolc
settings in your hardhat config file as below. More details in this page of the docs