mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed a bad reference
This commit is contained in:
parent
c2bb2d2a72
commit
a7b5e21e66
@ -111,7 +111,8 @@ same as ``sha3(uint16(0x12))``.
|
||||
|
||||
It might be that you run into Out-of-Gas for ``sha256``, ``ripemd160`` or ``ecrecover`` on a *private blockchain*. The reason for this is that those are implemented as so-called precompiled contracts and these contracts only really exist after they received the first message (although their contract code is hardcoded). Messages to non-existing contracts are more expensive and thus the execution runs into an Out-of-Gas error. A workaround for this problem is to first send e.g. 1 Wei to each of the contracts before you use them in your actual contracts. This is not an issue on the official or test net.
|
||||
|
||||
.. index:: send, balance
|
||||
.. _balance:
|
||||
.. _send:
|
||||
|
||||
Address Related
|
||||
---------------
|
||||
|
Loading…
Reference in New Issue
Block a user