Skip to content

Commit 1b2379b

Browse files
committed
Fix doc formatting, add newsfragment for get_storage_at
1 parent 2ed71b3 commit 1b2379b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/web3.eth.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,14 @@ The following methods are available on the ``web3.eth`` namespace.
203203

204204
.. code-block:: python
205205
206-
>>> web3.eth.getStorageAt('0x6C8f2A135f6ed072DE4503Bd7C4999a1a17F824B', 0)
206+
>>> web3.eth.get_storage_at('0x6C8f2A135f6ed072DE4503Bd7C4999a1a17F824B', 0)
207207
'0x00000000000000000000000000000000000000000000000000120a0b063499d4'
208208
209209
210210
.. py:method:: Eth.getStorageAt(account, position, block_identifier=eth.defaultBlock)
211211
212212
.. warning:: Deprecated: This method is deprecated in favor of
213-
:meth:`~web3.eth.get_storage_at()`
213+
:meth:`~web3.eth.Eth.get_storage_at`
214214

215215

216216
.. py:method:: Eth.getProof(account, positions, block_identifier=eth.defaultBlock)

newsfragments/1828.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add ``get_storage_at`` method and deprecate ``getStorageAt``.

0 commit comments

Comments
 (0)