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

Update security rules to follow new best practices for transferring value #275

Open
vince0656 opened this issue Nov 12, 2019 · 3 comments
Open

Comments

@vince0656
Copy link

Name
Not thought of a name

Problem
Based on https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/ we are now using .call.value() to send value. However, this means that Solium is throwing the following:
72:37 error Consider using 'transfer' in place of 'call.value()'. security/no-call-value

Description
We are suppressing this warning for now but would be great if we could fix

Priority
Med/Low

@vince0656
Copy link
Author

@jamesmorgan

@duaraghav8
Copy link
Owner

Hi @vince0656 I just noticed this issue, I'm not seeing a lot of notifs on my github, its been messed up for a while. Sorry for responding so late.

To be clear, does Ethereum and/or Consensys encourage the use of call.value()?
If yes, is there any authoritative document on this? Or is this diligence document the most authoritative in your opinion?

@jamesmorgan
Copy link

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

No branches or pull requests

3 participants