Skip to content

Resync async substrate#2463

Merged
thewhaleking merged 4 commits intostagingfrom
fix/thewhaleking/resync-async-substrate
Nov 25, 2024
Merged

Resync async substrate#2463
thewhaleking merged 4 commits intostagingfrom
fix/thewhaleking/resync-async-substrate

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
Collaborator

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
@thewhaleking thewhaleking deleted the fix/thewhaleking/resync-async-substrate branch November 25, 2024 12:23
@ibraheem-abe ibraheem-abe mentioned this pull request Nov 26, 2024
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