Skip to content

Fix self.close in case _mock argument used. #109

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

Closed
basfroman opened this issue May 5, 2025 · 1 comment · Fixed by #110
Closed

Fix self.close in case _mock argument used. #109

basfroman opened this issue May 5, 2025 · 1 comment · Fixed by #110
Assignees
Labels
bug Something isn't working

Comments

@basfroman
Copy link
Contributor

If we use _mock=True for create Subtensor instance (SubstrateInterface instance inside) then we get the error if we recreate the instance.
del in SubstrateInterface raise the error.

@basfroman basfroman added the bug Something isn't working label May 5, 2025
@thewhaleking
Copy link
Collaborator

Ty

@thewhaleking thewhaleking transferred this issue from opentensor/btcli May 6, 2025
thewhaleking added a commit that referenced this issue May 6, 2025
@thewhaleking thewhaleking linked a pull request May 6, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants