question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Include file comments in verified contracts

See original GitHub issue

Feature Request

Include the comments on the file level for the flattened files. The flattened/verified file would ideally contain all file level comments.

Comment example

/**
 * @notice This is the notice
 * @dev Dev comments
 */
contract MyContract {

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alsco77commented, May 12, 2020

Appreciate the x-post @rkalis . Unfortunately I will just perform manual verification until this is fixed. Thanks for creating such an easy to use tool though! This is a vast improvement on previous UX for verifying contracts, starred.

0reactions
rkaliscommented, May 26, 2020

This should be fixed in v0.3.11 thanks to @RyuuGan’s great work! Feel free to reopen if there are any more issues 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the best way to verify the comments in the contract ...
Comments are not compiled into contracts, therefore there will be ... Put the legal prose in a document such as a PDF and...
Read more >
Verify Contracts Perrrrrfectly: Why and How? | Sourcify Docs
Someone can insert misleading comments, (internal) function or variable names; Whoever verifies a contract first is chosen as the matching ...
Read more >
Solidity Tutorial : all about Comments | by Jean Cvllr - Medium
Solidity contracts can have a special form of comments that form the basis of the Ethereum Natural Language Specification Format, ...
Read more >
Verifying smart contracts - Ethereum.org
An overview of source code verification for Ethereum smart contracts.
Read more >
Support multi file verification on Etherscan · Issue #37 - GitHub
It looks like this means that only the relevant files are included in the verification (which would be great!). See these verified contracts...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found