Skip to content

refactor: move validator constants from config.py to constants.py#438

Closed
dev-miro26 wants to merge 1 commit intoentrius:testfrom
dev-miro26:refactor/move-validator-constants-to-constants-py
Closed

refactor: move validator constants from config.py to constants.py#438
dev-miro26 wants to merge 1 commit intoentrius:testfrom
dev-miro26:refactor/move-validator-constants-to-constants-py

Conversation

@dev-miro26
Copy link
Copy Markdown
Contributor

Summary

Move VALIDATOR_WAIT and VALIDATOR_STEPS_INTERVAL from validator/utils/config.py to constants.py where all other project constants live. Clean up config.py to only contain environment variable loading, and remove module-level bittensor logging side effects.

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Testing

  • Tests added/updated
  • Manually tested

All 211 collectible tests pass. No test changes needed — only import sources changed, not values.

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Changes are documented (if applicable)

@anderdc anderdc closed this Apr 15, 2026
@dev-miro26
Copy link
Copy Markdown
Contributor Author

@anderdc
Could you let me know why this PR closed?
Thanks

@dev-miro26
Copy link
Copy Markdown
Contributor Author

@anderdc
config.py contains constants, so this feels a bit messy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants