Skip to content
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

Exclude abi.encodeX calls from func-named-parameters #583

Conversation

0xCLARITY
Copy link
Contributor

Solhint regularly complains about the named-parameters rule when all I'm doing is throwing a bunch of data into abi.encode() or abi.encodePacked().

Rather than annotating every single abi.encodeX() call with a //solhint-disable - I think it makes more sense to exclude abi.encodeX() calls from this rule at the rule implementation.

Tested locally on the contract I'm currently writing and works as expected.

@0xCLARITY
Copy link
Contributor Author

@dbale-altoros - I pushed up a commit that I think fixes the linting issues of CI, but I'm not sure how to re-trigger the jobs. Any idea?

@dbale-altoros
Copy link
Collaborator

@dbale-altoros - I pushed up a commit that I think fixes the linting issues of CI, but I'm not sure how to re-trigger the jobs. Any idea?

I need to do that... already passed all of the CI tests... great job

@dbale-altoros dbale-altoros self-requested a review May 28, 2024 18:45
@dbale-altoros
Copy link
Collaborator

@0xCLARITY this week there will be a new release with this addition
thanks for the contribution

@0xCLARITY
Copy link
Contributor Author

@dbale-altoros - any ETA on a new release?

@dbale-altoros
Copy link
Collaborator

@0xCLARITY yes sorry
I was waiting feedback from this issue
#571
to put both updates together...
pretty confident next week will be a new release

@dbale-altoros dbale-altoros merged commit efa15b5 into protofire:develop Jul 25, 2024
10 checks passed
@0xCLARITY 0xCLARITY deleted the exclude-abi-calls-from-named-parameters branch July 27, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants