Developers Forum for XinFin XDC Network

Discussion on: [Solved]Smart contract Verify&Publish errored out in Apothem explorer

Collapse
gzliudan profile image
Daniel Liu

Please update solidity compiler to v0.4.26, then try again.

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Thank you Daniel.
Yes, Please try with solidity compiler version to v0.4.26 while verifying.
No need to change the compiler version in the source code.
Image description

Collapse
raghuram profile image
Raghuram Dharanipathy Author

Daniel Liu,

Our contract has needs lot of modification with the builtin libraries. So, as you guided I did the verify&publish using the version 0.6.12 and it was done successfully.

@mitali_blocksscan,

If possible, please publish the list of supported versions of solidity for verify&publish feature in Blocksscan explorer. This will help the community to build smart contract on the supported version when they want to verify&publish the contract.

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Thank you @raghuram for your suggestion
We will try to do that.

Thread Thread
raghuram profile image
Raghuram Dharanipathy Author

@mitali_blocksscan

If you have the list of supporting versions in solidity to verify and publish smart contract in explorer, kindly update.