Skip to content

Commit

Permalink
Merge pull request #1289 from keep-network/ignore-solium-errors
Browse files Browse the repository at this point in the history
Disable solium linter suggestions to use transfer()

After EIP-1884 it is no longer safe to use transfer() and send() as 
they limit forwarded gas to 2300 and might cause issues for recipient 
contracts. It is how recommended to use call() instead and implement 
additional checks to prevent reentrancy attacks.
  • Loading branch information
pdyraga authored Jan 27, 2020
2 parents 7749730 + e1571f6 commit c3beb8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/solidity/.soliumrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"error",
4
],
"security/no-block-members": ["off", ["timestamp"]]
"security/no-block-members": ["off", ["timestamp"]],
"security/no-call-value": "off"
}
}

0 comments on commit c3beb8d

Please sign in to comment.