Docs generation for the Contracts + GH action for detecting missing Natspec comments. #1937
Conversation
… example output. This is a WIP commit with the purpose of quick feedback on the result.
|
|
This is awesome, thank you! Since this is still a WIP, I'm going to convert this PR into a draft. Feel free to convert it back once you're ready for review. |
…e are any missing Natspec comments. Still WIP. Better console formatting + configurations is next :)
|
I've just added the validation script that goes through the output and checks if there are any missing Natspec comments. Next:
|
Codecov Report
@@ Coverage Diff @@
## develop #1937 +/- ##
========================================
Coverage 74.42% 74.42%
========================================
Files 79 79
Lines 2545 2545
Branches 397 397
========================================
Hits 1894 1894
Misses 651 651
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
|
Update:
Next:
|
Update:
|
|
Can you please update the docs to Another thing for the wish list is to also detect incorrect or missing function parameters or return values. I am certain this was a feature of the solidity complier before although not sure why we're not getting these reports now. |
|
There is also one failure in CI on https://github.com/ethereum-optimism/optimism/runs/4616712161?check_suite_focus=true if you can fix pls. |
👍 Updated. |
|
Nice but missing @param comments are now being inherited from external libraries, e.g. |
Pff this proved to be tricky. Should be working now :) |
|
Yep working now thanks. Checking output one by one, meanwhile I found these to be false positives Maybe there is a problem with overloads? |
Fixed. Good catch ! :) |
elenadimitrova
left a comment
There was a problem hiding this comment.
Thanks for your contribution. Great work 🎉
## Overview Updates the consolidate task to only send a forkchoice update for safe head promotion if the attributes are either derived from a `SingleBatch`, or if the attributes are the last attributes within a `SpanBatch`. closes #1757
Contains the dodoc output with the purpose of quick feedback.
Description:
Resolves #1933