Thanks to @jcortejoso for a lot of help in debugging and trying to make this work.
Verification fails:
Verifying DKG
Contract at 0x8b00c528557B2DFED3219fd14C2Fc8d8d03dCF6a source code not verified yet
Contract DKG at address 0x8b00c528557B2DFED3219fd14C2Fc8d8d03dCF6a not verified yet. Let's do it.
Contract Name: DKG
Contract Proxy address false
Error Error: null
Contracts not deployed:
Successfully verified 0 contract(s).
Error:
Failed to verify 1 contract(s): DKG
at enforceOrThrowError (/Users/kobigurk/dev/celo/truffle-dkg/node_modules/truffle-plugin-blockscout-verify/util.js:11:25)
at module.exports (/Users/kobigurk/dev/celo/truffle-dkg/node_modules/truffle-plugin-blockscout-verify/verify.js:71:3)
at process._tickCallback (internal/process/next_tick.js:68:7)
In general, there's not enough error information returned, neither in CLI or the web UI.
An additional problem is that the current truffle-security published version has a problem with contracts compiled with Solidity >= 0.6.0 (fixed here https://github.com/ConsenSys/truffle-security/pull/254/files) and results in an illegible error, and so one has to use it directly from git.
Expected Behavior
DKG.sol (https://github.com/celo-org/celo-threshold-bls-rs/blob/master/solidity/contracts/DKG.sol) to be verified on alfajores' blockscout.
Current Behavior
Thanks to @jcortejoso for a lot of help in debugging and trying to make this work.
Verification fails:
In general, there's not enough error information returned, neither in CLI or the web UI.
An additional problem is that the current
truffle-security
published version has a problem with contracts compiled with Solidity >= 0.6.0 (fixed here https://github.com/ConsenSys/truffle-security/pull/254/files) and results in an illegible error, and so one has to use it directly from git.