Skip to content

Commit

Permalink
Address comments from PR #3012
Browse files Browse the repository at this point in the history
  • Loading branch information
fselmo committed Jul 7, 2023
1 parent f662a7e commit 9d2387e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/middleware.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Sync middlewares include:
Async middlewares include:

* ``gas_price_strategy``
* ``name_to_address``
* ``attrdict``
* ``validation``
* ``gas_estimate``
Expand All @@ -66,6 +67,7 @@ AttributeDict
~~~~~~~~~~~~~~~~~~~~~

.. py:method:: web3.middleware.name_to_address_middleware
web3.middleware.async_name_to_address_middleware
This middleware converts Ethereum Name Service (ENS) names into the
address that the name points to. For example :meth:`w3.eth.send_transaction <web3.eth.Eth.send_transaction>` will
Expand Down
1 change: 1 addition & 0 deletions web3/middleware/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
geth_poa_middleware,
)
from .names import ( # noqa: F401
async_name_to_address_middleware,
name_to_address_middleware,
)
from .normalize_request_parameters import ( # noqa: F401
Expand Down

0 comments on commit 9d2387e

Please sign in to comment.