We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is a type annotation error in StakeInfo.list_of_tuple_from_vec_u8:
StakeInfo.list_of_tuple_from_vec_u8
@classmethod def list_of_tuple_from_vec_u8( cls, vec_u8: List[int] ) -> Dict[str, List["StakeInfo"]]: r"""Returns a list of StakeInfo objects from a ``vec_u8``.""" decoded: Optional[ List[Tuple(str, List[object])] ] = from_scale_encoding_using_type_string( input=vec_u8, type_string="Vec<(AccountId, Vec<StakeInfo>)>" ) ...
Specifically: List[Tuple(str, List[object])].
List[Tuple(str, List[object])]
This should be fixed, and would be a good first issue.
Look at line 832 of chain_data.py.
chain_data.py
List[Tuple[str, List[object]]]
No response
Any
The text was updated successfully, but these errors were encountered:
commit 29efad2 has already addressed this change.
https://github.com/opentensor/bittensor/pull/1840/files#diff-dc51391a180335c2350c6f5bcb125fc905cb18ee2abece7ff01ce32ccc1f58acL832
We can go ahead and close the issue.
Sorry, something went wrong.
Fixed by #1840
opendansor
No branches or pull requests
Describe the bug
There is a type annotation error in
StakeInfo.list_of_tuple_from_vec_u8
:Specifically:
List[Tuple(str, List[object])]
.This should be fixed, and would be a good first issue.
To Reproduce
Look at line 832 of
chain_data.py
.Expected behavior
List[Tuple[str, List[object]]]
Screenshots
No response
Environment
Any
Additional context
No response
The text was updated successfully, but these errors were encountered: