Skip to content

Commit 25435eb

Browse files
fixup! Update docs
1 parent 2f4a2d9 commit 25435eb

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

docs/assembly.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ of Solidity, you can use a special comment to annotate an assembly block as memo
384384
.. warning::
385385
The ``memory-safe-assembly`` special comment is deprecated and scheduled for
386386
removal in the next breaking version (0.9).
387-
For new code targeting recent compilers, prefer specifying the assembly block annotation.
387+
For new code targeting recent compilers, specify the assembly block annotation.
388388

389389
Advanced Safe Use of Memory
390390
---------------------------

docs/cheatsheet.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ Members of ``address``
5757
- ``<address payable>.transfer(uint256 amount)``: send given amount of Wei to :ref:`address`, throws on failure
5858

5959
.. warning::
60-
``transfer`` and ``send`` are deprecated and scheduled for removal in the next breaking version (0.9).
61-
You are encouraged to use the :ref:`call function <address_call_functions>` with an optionally provided maximum
62-
amount of gas (default forwards all remaining gas) and an empty calldata parameter, e.g., ``call{value: amount}("")``.
60+
``send`` and ``transfer`` are deprecated and scheduled for removal in the next breaking version (0.9).
61+
Use the :ref:`call function <address_call_functions>` with an optionally provided maximum amount of
62+
gas (default forwards all remaining gas) and an empty calldata parameter, e.g., ``call{value: amount}("")``.
6363

6464
.. index:: blockhash, blobhash, block, block;basefee, block;blobbasefee, block;chainid, block;coinbase, block;difficulty, block;gaslimit, block;number, block;prevrandao, block;timestamp
6565
.. index:: gasleft, msg;data, msg;sender, msg;sig, msg;value, tx;gasprice, tx;origin

docs/contracts/functions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ will consume more gas than the 2300 gas stipend:
311311
- Sending Ether
312312

313313
.. warning::
314-
Note that ``send`` and ``transfer`` are deprecated and scheduled for removal in the next breaking version (0.9).
315-
You are encouraged to use the :ref:`call function <address_related>` with an optionally provided maximum
316-
amount of gas (default forwards all remaining gas) and an empty calldata parameter, e.g., ``call{value: amount}("")``.
314+
``send`` and ``transfer`` are deprecated and scheduled for removal in the next breaking version (0.9).
315+
Use the :ref:`call function <address_call_functions>` with an optionally provided maximum amount of
316+
gas (default forwards all remaining gas) and an empty calldata parameter, e.g., ``call{value: amount}("")``.
317317

318318
.. warning::
319319
When Ether is sent directly to a contract (without a function call, i.e. sender uses ``send`` or ``transfer``)

docs/layout-of-source-files.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ with Solidity 0.8.0. The old ABI coder can still be selected using ``pragma abic
109109

110110
.. warning::
111111
The ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
112+
Use ABI coder v2 instead.
112113

113114
The set of types supported by the new encoder is a strict superset of
114115
the ones supported by the old one. Contracts that use it can interact with ones

docs/types/value-types.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ reverts on failure.
263263

264264
.. warning::
265265
``transfer`` is deprecated and scheduled for removal in the next breaking version (0.9).
266-
You are encouraged to use the :ref:`call function <address_call_functions>` with an optionally provided maximum
267-
amount of gas (default forwards all remaining gas) and an empty calldata parameter, e.g., ``call{value: amount}("")``.
266+
Use the :ref:`call function <address_call_functions>` with an optionally provided maximum amount of
267+
gas (default forwards all remaining gas) and an empty calldata parameter, e.g., ``call{value: amount}("")``.
268268

269269
* ``send``
270270

@@ -278,8 +278,8 @@ reverts on failure.
278278

279279
.. warning::
280280
``send`` is deprecated and scheduled for removal in the next breaking version (0.9).
281-
You are encouraged to use the :ref:`call function <address_call_functions>` with an optionally provided maximum
282-
amount of gas (default forwards all remaining gas) and an empty calldata parameter, e.g., ``call{value: amount}("")``.
281+
Use the :ref:`call function <address_call_functions>` with an optionally provided maximum amount of
282+
gas (default forwards all remaining gas) and an empty calldata parameter, e.g., ``call{value: amount}("")``.
283283

284284
.. _address_call_functions:
285285

docs/units-and-global-variables.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ Members of Address Types
269269
send given amount of Wei to :ref:`address`, returns ``false`` on failure, forwards 2300 gas stipend, not adjustable
270270

271271
.. warning::
272-
``transfer`` and ``send`` are deprecated and scheduled for removal in the next breaking version (0.9).
273-
You are encouraged to use the :ref:`call function <address_call_functions>` with an optionally provided maximum
274-
amount of gas (default forwards all remaining gas) and an empty calldata parameter, e.g., ``call{value: amount}("")``.
272+
``send`` and ``transfer`` are deprecated and scheduled for removal in the next breaking version (0.9).
273+
Use the :ref:`call function <address_call_functions>` with an optionally provided maximum amount of
274+
gas (default forwards all remaining gas) and an empty calldata parameter, e.g., ``call{value: amount}("")``.
275275

276276
``<address>.call(bytes memory) returns (bool, bytes memory)``
277277
issue low-level ``CALL`` with the given payload, returns success condition and return data, forwards all available gas, adjustable

0 commit comments

Comments
 (0)