Skip to content

fix: delegate _resolve_endpoint to resolve_network for consistent precedence (#1198)#1242

Open
alpurkan17 wants to merge 1 commit into
entrius:testfrom
alpurkan17:fix/1198-endpoint-delegate
Open

fix: delegate _resolve_endpoint to resolve_network for consistent precedence (#1198)#1242
alpurkan17 wants to merge 1 commit into
entrius:testfrom
alpurkan17:fix/1198-endpoint-delegate

Conversation

@alpurkan17
Copy link
Copy Markdown
Contributor

@alpurkan17 alpurkan17 commented May 13, 2026

Summary

Refactor _resolve_endpoint() in miner commands to delegate to resolve_network() from issue_commands instead of duplicating the precedence logic. This fixes the stale ws_endpoint override bug and ensures consistent endpoint resolution across all CLI commands.

Validation

  • ruff check
  • ruff format --check
  • Existing CLI tests pass

Closes #1198

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 this pull request may close these issues.

[Bug] gitt miner post and gitt miner check ignore configured network when ws_endpoint is also set

1 participant