-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Slither warnings and renamings #88
Conversation
LCOV of commit
|
Changes to gas cost
🧾 Summary (20% most significant diffs)
Full diff report 👇
|
ff15e37
to
567c44f
Compare
@@ -510,58 +510,58 @@ contract Protocol is IProtocol, ContinuousIndexing, ERC712 { | |||
} | |||
|
|||
/******************************************************************************************************************\ | |||
| SPOG Registrar Reader Functions | | |||
| TTG Registrar Reader Functions | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing anm extra space character after the title to align the right |
. Although, maybe now is a good time to fix the headers with natspec/docgen-compliant ones?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which header should we use? I usually use this one liner one:
/* ============ TTG Registrar Reader Functions ============ */
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's nice, my only requirement is that there is a new line after it, before the start of the first line of code in that section. @toninorair Do you think a one-liner is visible enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
both look fine to me. One-liners are visible too. Let's decide on the style and address it in Jan. We can even do it even during audits.
e38af14
to
8f48e1b
Compare
0b48c91
to
f9db749
Compare
567c44f
to
9d7e7b3
Compare
f9db749
to
f01322d
Compare
Comments addressed, change to natspec style will be discussed towards the end of pre-audit fixes
No description provided.