-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump web3 to v7 and safe-eth-py to v7 #107
Conversation
Pull Request Test Coverage Report for Build 13434664562Details
💛 - Coveralls |
@@ -68,7 +68,7 @@ def __init__(self): | |||
|
|||
@staticmethod | |||
async def _store_abis_in_database( | |||
abi_jsons: list[Sequence[ABIFunction | ABIEvent]], | |||
abi_jsons: list[ABI], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? ABIFunction
is not the same as ABI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of this, the Contract
class in web3
, is returning ABI
(ABI = Sequence[ABIElement]) as type for the abi
attribute.
For example, in functions like: get_multi_send_contract(self.dummy_w3).abi
.
Mypy is warning of this problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok! Then it works!
Co-authored-by: Uxío <Uxio0@users.noreply.github.com>
Co-authored-by: Uxío <Uxio0@users.noreply.github.com>
No description provided.