Skip to content
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

Resync async substrate #2463

Merged
merged 4 commits into from
Nov 25, 2024
Merged

Conversation

thewhaleking
Copy link
Contributor

Syncs the changes from btcli's async_substrate_interface into bittensor.

@thewhaleking thewhaleking requested a review from a team November 22, 2024 14:27
@thewhaleking thewhaleking force-pushed the fix/thewhaleking/resync-async-substrate branch from 4e36c6b to 0fd8c4c Compare November 22, 2024 17:01
Comment on lines +775 to +781
self.ws = Websocket(
chain_endpoint,
options={
"max_size": 2**32,
"write_limit": 2**16,
},
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe consider using try... expect... wrapper around Websocket(...) to be able to catch the error to be good

@thewhaleking thewhaleking merged commit c147ff7 into staging Nov 25, 2024
28 checks passed
@thewhaleking thewhaleking deleted the fix/thewhaleking/resync-async-substrate branch November 25, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants