-
-
Notifications
You must be signed in to change notification settings - Fork 130
Not working for Kovan #22
Comments
Hey, thanks for opening this issue. I tried to do a test with a SimpleStorage instance on Rinkeby, and I got the same results. I outputted the data I sent to the Etherscan API: { apikey: <redacted>,
module: 'contract',
action: 'verifysourcecode',
contractaddress: '0x818887C7AE9057FBa6380EcE5f8034b3B85D197a',
sourceCode:
'pragma solidity ^0.5.0;\n\n\ncontract SimpleStorage {\n uint storedData;\n\n function set(uint x) public {\n storedData = x;\n }\n\n function get() public view returns (uint) {\n return storedData;\n }\n}',
codeformat: 'solidity-single-file',
contractname: 'SimpleStorage',
compilerversion: 'v0.5.8+commit.23d335f2',
optimizationUsed: 0,
runs: 200,
constructorArguements: '',
evmversion: undefined,
licenseType: 1 } I tried copy-pasting these values into the Etherscan verify web form. This worked correctly. So then I tried copy-pasting these values into the Etherscan verify API demo. This did not work. This leads me to believe that there might be an issue with the Etherscan verify API at the moment, since both truffle-plugin-verify and the API demo did not work, while the web form did work. @mtbitcoin, are there any known issues with the verify API at this time? |
We are looking into this. We did recently push some changes to support submitting standard input json contract verification |
Hey @rkalis - Have done a quick test using the same source through the Rinkeby's verify API demo - Seemed to work fine on my end with the contract: https://rinkeby.etherscan.io/address/0xa70e7FB5aad8f9FF2dDec26bbf54dAA026f72FbD#code Likewise for Kovan: https://kovan.etherscan.io/address/0x7Ff1037803575eE91B13C25A145d68D5Adb6E8A6#code A quick screencap on the settings (perhaps some bits of the setting requirements changed in between these couple of days): I will give it a shot through the Truffle Verify Plugin itself to see if there might be anything I am missing (though I have to admit, I hadn't been using Truffle for a while now). ADD: Ah! I reckon it was Single File verification which was causing issues - Retrying. |
Hey @rkalis - Fixes were pushed across and a few tests were done (e.g.: https://kovan.etherscan.io/address/0x144f09D87A02719c869cfE407b5e1188a7DB59fa#code) Any chance for a retry to see if it looks good now, please? |
@Enigmatic331 it seems that plugin is working properly now |
Thanks for the quick fixes @mtbitcoin @Enigmatic331! |
Hi @rkalis ,
Versions: My Config
Dependences Contracts: Regards. |
Hi @Julio77. Truffle plugins were introduced in Truffle v5.0, so you should update your Truffle installation to use truffle-plugin-verify! |
Hi @rkalis |
It seems that the verifier isn't working for the last two days.
Steps to reproduce:
Create new repo, follow all instructions from readme file with some simple test contract and try to verify on Kovan test network, haven't checked for other networks,
for Kovan it says "Unable to verify",
for Mainnet says "No instance of contract Test found for network id 1"
The text was updated successfully, but these errors were encountered: