Skip to content

[Contract Verification] Sophon Mainnet contract verification problem. The SafeL2 contract could not be verified. #834

Discussion options

You must be logged in to vote

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 with npx hardhat verify as detailed in this section of the docs?

Also, to disable the errors thrown bause of the use of tx.origin or using transfer, you can add the supressedErrors in the zksolc settings in your hardhat config file as below. More details in this page of the docs

zksolc: {
  settings: {
     suppressedErrors: ['txorigin', 'sendtransfer'], // Suppress specified errors. Currently supported: txorigin, sendtransfer
  }
}

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@DenSmolonski
Comment options

@JackHamer09
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by uF4No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contract-verification Questions for contract verification
3 participants