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

check-send-result: false positives for ERC777 send() calls #325

Closed
d10r opened this issue Jan 18, 2022 · 1 comment
Closed

check-send-result: false positives for ERC777 send() calls #325

d10r opened this issue Jan 18, 2022 · 1 comment

Comments

@d10r
Copy link

d10r commented Jan 18, 2022

The rule incorrectly triggers for invocations of ERC777.send(address, uint256, bytes).

Looking at the code for the rule, I guess this could be prevented by additionally checking the number (and/or type) of arguments in validateSend.

@dbale-altoros
Copy link
Collaborator

Solved in this pr
#477

Sorry for the late response.
There is a new release available and we will be updating solhint on regular basis with a dedicated team to it
New release tomorrow!
Thanks for posting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants