Merge pull request #622 from fracek/fix-spelling

Fix spelling in callcode and delegatecall warnings
pull/7/head
yann300 7 years ago committed by GitHub
commit eb6292a6ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      remix-solidity/src/analysis/modules/lowLevelCalls.js

@ -33,14 +33,14 @@ lowLevelCalls.prototype.report = function (compilationResults) {
break break
case common.lowLevelCallTypes.CALLCODE: case common.lowLevelCallTypes.CALLCODE:
text = `use of "callcode": the use of low level "callcode" should be avoided whenever possible. text = `use of "callcode": the use of low level "callcode" should be avoided whenever possible.
External code that is called can change the state of the calling contract and send ether form the caller's balance. External code that is called can change the state of the calling contract and send ether from the caller's balance.
If this is wantend behaviour use the Solidity library feature if possible.` If this is wanted behaviour use the Solidity library feature if possible.`
morehref = 'http://solidity.readthedocs.io/en/develop/contracts.html#libraries' morehref = 'http://solidity.readthedocs.io/en/develop/contracts.html#libraries'
break break
case common.lowLevelCallTypes.DELEGATECALL: case common.lowLevelCallTypes.DELEGATECALL:
text = `use of "delegatecall": the use of low level "delegatecall" should be avoided whenever possible. text = `use of "delegatecall": the use of low level "delegatecall" should be avoided whenever possible.
External code that is called can change the state of the calling contract and send ether form the caller's balance. External code that is called can change the state of the calling contract and send ether from the caller's balance.
If this is wantend behaviour use the Solidity library feature if possible.` If this is wanted behaviour use the Solidity library feature if possible.`
morehref = 'http://solidity.readthedocs.io/en/develop/contracts.html#libraries' morehref = 'http://solidity.readthedocs.io/en/develop/contracts.html#libraries'
break break
case common.lowLevelCallTypes.SEND: case common.lowLevelCallTypes.SEND:

Loading…
Cancel
Save