Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

fix: reconnect to subtensor#113

Merged
rayokamoto merged 1 commit intomainfrom
fix/subtensor-conn
May 3, 2025
Merged

fix: reconnect to subtensor#113
rayokamoto merged 1 commit intomainfrom
fix/subtensor-conn

Conversation

@Shr1ftyy
Copy link
Contributor

@Shr1ftyy Shr1ftyy commented May 3, 2025

resolves #112
Turns out the issue was that the subtensor endpoint closes the connection. To get around this, we simply create a new ws connection every time we want to interact with the chain.

@Shr1ftyy Shr1ftyy added the bug Something isn't working label May 3, 2025
@Shr1ftyy Shr1ftyy self-assigned this May 3, 2025
@Shr1ftyy Shr1ftyy requested a review from rayokamoto May 3, 2025 09:23
@rayokamoto rayokamoto merged commit 9a7a083 into main May 3, 2025
1 check passed
@rayokamoto rayokamoto deleted the fix/subtensor-conn branch May 3, 2025 09:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Syncing/weight-setting stops working after some time

2 participants