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

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

0xCLARITY
Copy link

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
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

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.

None yet

2 participants