Skip to content

Conversation

thewhaleking
Copy link
Collaborator

Adds two env vars:

  • SUBSTRATE_CACHE_METHOD_SIZE (default 512)
  • SUBSTRATE_RUNTIME_CACHE_SIZE (default 16)

For setting the two cached method sizes used in AsyncSubstrateInterface and SubstrateInterface

@thewhaleking thewhaleking marked this pull request as ready for review August 8, 2025 11:27
@thewhaleking thewhaleking requested a review from a team August 8, 2025 11:27
@thewhaleking thewhaleking added run-bittensor-sdk-tests Runs Bittensor SDK tests. run-bittensor-cli-tests Runs BTCLI tests. labels Aug 8, 2025
@basfroman
Copy link
Contributor

@MichaelTrestman @chideraao please add the variables mentioned in the description to the documentation.
@thewhaleking also, it would be good to have list of ASI related local environment variables list in the README file.

@basfroman basfroman merged commit 028a1a1 into staging Aug 8, 2025
110 of 111 checks passed
@thewhaleking thewhaleking deleted the feat/thewhaleking/add-cache-size-env-vars branch August 12, 2025 16:29
This was referenced Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-bittensor-cli-tests Runs BTCLI tests. run-bittensor-sdk-tests Runs Bittensor SDK tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants