diff options
author | Chris Chinchilla <chriswhward@gmail.com> | 2019-01-17 17:31:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-17 17:31:46 +0800 |
commit | 72c2100164c0dd86f55449492848f7df0fd883fe (patch) | |
tree | a7caac149cdee90bc25d194a343687f256e44629 /docs/frequently-asked-questions.rst | |
parent | 6841d78896b96fddb29be4acd49a27b5b3594374 (diff) | |
parent | 5279f9f03bdcaafaeaadb20121f8cab550b2ed9e (diff) | |
download | dexon-solidity-72c2100164c0dd86f55449492848f7df0fd883fe.tar.gz dexon-solidity-72c2100164c0dd86f55449492848f7df0fd883fe.tar.zst dexon-solidity-72c2100164c0dd86f55449492848f7df0fd883fe.zip |
Merge pull request #5800 from ethereum/wip/faq-call
[DOCS] Add call warning into main docs and remove FAQ item
Diffstat (limited to 'docs/frequently-asked-questions.rst')
-rw-r--r-- | docs/frequently-asked-questions.rst | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst index 71636735..ff2f1fac 100644 --- a/docs/frequently-asked-questions.rst +++ b/docs/frequently-asked-questions.rst @@ -54,18 +54,6 @@ Yes, you can use ``abi.encodePacked``:: } } - -Why is the low-level function ``.call()`` less favorable than instantiating a contract with a variable (``ContractB b;``) and executing its functions (``b.doSomething();``)? -============================================================================================================================================================================= - -If you use actual functions, the compiler will tell you if the types -or your arguments do not match, if the function does not exist -or is not visible and it will do the packing of the -arguments for you. - -See `ping.sol <https://github.com/fivedogit/solidity-baby-steps/blob/master/contracts/45_ping.sol>`_ and -`pong.sol <https://github.com/fivedogit/solidity-baby-steps/blob/master/contracts/45_pong.sol>`_. - What happens if you send ether along with a function call to a contract? ======================================================================== |