4

Is it possible to change the comments in verified contract source on Etherscan once the contract source has already been verified?

It isn't the Solidity source itself that I'd like to change. Just a comment.

I've tried verifying again, but receive the message:

The Contract Source code for 0x... has already been verified.

Thanks very much in advance.

6

I don't think so. If you could, then anyone could come along, copy the source code, and reverify it with completely different comments, which opens up for all types of attacks, including phishing. You could possibly contact Etherscan directly and they might let you replace the code if you can prove that you're the creator of the contract.

| improve this answer | |
0

I guess you can't do this. Because etherscan will check your deployed contract byte code with current submitted code(compile version of byte code), if booth are same then only they will save your code to etherscan db.

Why they are doing:

  1. Contracts are immutable, once contract is deployed in eth network you can't change.
  2. Competitor/hacker can copy the verified code and change your comments and resubmit your code. That may leads some more complications.

Better contract etherscan.io team. For explain the issue for change req.

| improve this answer | |
  • 1
    The question wasn't about changing the code, it was about changing the comments. – flygoing Feb 19 '18 at 13:55
  • @flygoing: correct. Thanks to both for your feedback. Contacted Etherscan. Let's see if they have a mechanism for verifying my contract ownership. Cheers. – Max Feb 19 '18 at 14:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.