Skip to content

Add defaults for endpoint and network from local env#2886

Merged
basfroman merged 2 commits intostagingfrom
feat/roman/add-local-env-for-subtensor-endpoint
May 20, 2025
Merged

Add defaults for endpoint and network from local env#2886
basfroman merged 2 commits intostagingfrom
feat/roman/add-local-env-for-subtensor-endpoint

Conversation

@basfroman
Copy link
Collaborator

Adds:

  • local env variableBT_NETWORK
  • local env variable BT_CHAIN_ENDPOINT

Logic:
Just add local env variable BT_NETWORK with known settings.NETWORKS (finney, test, archive, local, subvortex, latent-lite) or BT_CHAIN_ENDPOINT with custom endpoint.

@basfroman basfroman requested a review from a team May 20, 2025 23:31
@basfroman basfroman self-assigned this May 20, 2025
@basfroman basfroman added the enhancement New feature or request label May 20, 2025
@basfroman basfroman merged commit 671a570 into staging May 20, 2025
132 checks passed
@basfroman basfroman deleted the feat/roman/add-local-env-for-subtensor-endpoint branch May 20, 2025 23:51
@ibraheem-abe ibraheem-abe mentioned this pull request May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants