kopia lustrzana https://github.com/bugout-dev/moonstream
Add mypy fixes.
rodzic
9b56b4d991
commit
3f8f63a866
|
@ -78,8 +78,14 @@ def decode_abi(source: str, session: Optional[Session] = None) -> ContractABI:
|
||||||
session.close()
|
session.close()
|
||||||
|
|
||||||
abi = ContractABI(
|
abi = ContractABI(
|
||||||
functions=cast(EVMFunctionSignature, function_signatures),
|
functions=[
|
||||||
events=cast(EVMEventSignature, event_signatures),
|
cast(EVMFunctionSignature, function_signature)
|
||||||
|
for function_signature in function_signatures
|
||||||
|
],
|
||||||
|
events=[
|
||||||
|
cast(EVMEventSignature, event_signature)
|
||||||
|
for event_signature in event_signatures
|
||||||
|
],
|
||||||
)
|
)
|
||||||
return abi
|
return abi
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue