You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
right now it is just Callable[[Union[Address, ChecksumAddress, ENS], int], HexBytes]
Note: We prefer to use issues to track our work. If you think you've encountered a bug in web3py or
have a feature request, you're in the right place. If you have implementation or usage questions,
please refer to our documentation and/or join the conversation
on discord.
The text was updated successfully, but these errors were encountered:
antazoey
changed the title
get_storage_at missing block_identifier kwarg in typingeth.get_storage_at() missing block_identifier kwarg in typing
Oct 2, 2023
pip freeze
outputWhat was wrong?
type checkers do not like the block_identifier optional kwarg to
web3.eth.get_storage_at()
.I am wondering if we can add the block ID kwarg the same as the rest of them that support it?
It is listed here: https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getstorageat
How can it be fixed?
I think add
Optional[BlockIdentifier]
to the method type input, like this:right now it is just
Callable[[Union[Address, ChecksumAddress, ENS], int], HexBytes]
Note: We prefer to use issues to track our work. If you think you've encountered a bug in web3py or
have a feature request, you're in the right place. If you have implementation or usage questions,
please refer to our documentation and/or join the conversation
on discord.
The text was updated successfully, but these errors were encountered: