Ethlint icon indicating copy to clipboard operation
Ethlint copied to clipboard

Update security rules to follow new best practices for transferring value

Open vince0656 opened this issue 5 years ago • 3 comments

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 avatar Nov 12 '19 12:11 vince0656

@jamesmorgan

vince0656 avatar Nov 12 '19 12:11 vince0656

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?

duaraghav8 avatar Dec 16 '19 19:12 duaraghav8

@duaraghav8 I think its in the doc @vince0656 linked above https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/

jamesmorgan avatar Dec 17 '19 11:12 jamesmorgan