diff --git a/.env.miner.example b/.env.miner.example index bb42523..efd6644 100644 --- a/.env.miner.example +++ b/.env.miner.example @@ -18,3 +18,7 @@ FORWARD_FUNCTION=base_miner # Logging # Options: info, debug, trace LOGGING_LEVEL=debug + +# Local Subtensor Configuration +# Only used if you run your own subtensor node +LOCALNET=ws://127.0.0.1:9945 diff --git a/.env.validator.example b/.env.validator.example index c81f7ba..413807c 100644 --- a/.env.validator.example +++ b/.env.validator.example @@ -13,3 +13,7 @@ VALIDATOR_PORT=8091 # Logging # Options: info, debug, trace LOGGING_LEVEL=debug + +# Local Subtensor Configuration +# Only used if you run your own subtensor node +LOCALNET=ws://127.0.0.1:9945 diff --git a/Makefile b/Makefile index 41e6b2a..070b268 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ export finney = wss://entrypoint-finney.opentensor.ai:443 testnet = wss://test.finney.opentensor.ai:443 -localnet = ws://127.0.0.1:9945 +localnet = $(LOCALNET) ifeq ($(NETWORK),localnet) netuid = 1