Skip to content

Commit

Permalink
Use different seed for miner/validator wallets in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emnoor-reef committed Oct 28, 2024
1 parent f749d4b commit 65f144b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration_tests/test_miner_on_dev_executor_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def get_validator_wallet():
wallet = bittensor.wallet(name="test_validator")
try:
# workaround the overwrite flag
wallet.regenerate_coldkey(seed="0" * 64, use_password=False, overwrite=True)
wallet.regenerate_hotkey(seed="1" * 64, use_password=False, overwrite=True)
wallet.regenerate_coldkey(seed="2" * 64, use_password=False, overwrite=True)
wallet.regenerate_hotkey(seed="3" * 64, use_password=False, overwrite=True)
except Exception as e:
logger.error(f"Failed to create wallet: {e}")
return wallet
Expand Down

0 comments on commit 65f144b

Please sign in to comment.