Skip to content

Commit

Permalink
moved from chain_endpoint to network
Browse files Browse the repository at this point in the history
  • Loading branch information
hscott-yuma committed Dec 5, 2024
1 parent b8cb6ba commit c34f9f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ localnet_netuid = 1
logging_level = trace # options= ['info', 'debug', 'trace']

netuid = $(testnet_netuid)
network = $(testnet)
network = test

## User Parameters
coldkey = default
Expand All @@ -29,7 +29,7 @@ validator:
--neuron.name validator \
--wallet.name $(coldkey) \
--wallet.hotkey $(validator_hotkey) \
--subtensor.chain_endpoint $(network) \
--network $(network) \
--axon.port 30335 \
--netuid $(netuid) \
--logging.level $(logging_level)
Expand All @@ -39,7 +39,7 @@ miner:
--neuron.name miner \
--wallet.name $(coldkey) \
--wallet.hotkey $(miner_hotkey) \
--subtensor.chain_endpoint $(network) \
--network $(network) \
--axon.port 30336 \
--netuid $(netuid) \
--logging.level $(logging_level) \
Expand All @@ -52,7 +52,7 @@ miner2:
--neuron.name miner2 \
--wallet.name $(coldkey) \
--wallet.hotkey miner2 \
--subtensor.chain_endpoint $(network) \
--network $(network) \
--axon.port 30337 \
--netuid $(netuid) \
--logging.level $(logging_level) \
Expand Down
1 change: 0 additions & 1 deletion precog/validators/weight_setter.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def __init__(self, config=None, loop=None):
self.current_block - self.node_query("SubtensorModule", "LastUpdate", [self.config.netuid])[self.my_uid]
)
self.tempo = self.node_query("SubtensorModule", "Tempo", [self.config.netuid])
bt.logging.debug(f"Config:{self.config}")
if self.config.wandb_on:
setup_wandb(self)
self.stop_event = asyncio.Event()
Expand Down

0 comments on commit c34f9f2

Please sign in to comment.