Skip to content

Conversation

@leonace924
Copy link
Contributor

@leonace924 leonace924 commented Dec 18, 2025

Remove the duplicated function

Standardized all timestamp handling to use Chicago TZ consistently throughout the codebase.

Move the constant

VALIDATOR_WAIT and VALIDATOR_STEPS_INTERVAL in config.py are validator-specific runtime timing constants used only by validator code.
Problem: MERGED_PR_LOOKBACK_DAYS is a scoring/scoping constant used by gittensor/utils/github_api_tools.py (non-validator code), creating an incorrect dependency.
Changed: Move MERGED_PR_LOOKBACK_DAYS to constants.py alongside similar scoring/scoping constants.

@leonace924
Copy link
Contributor Author

@LandynDev , put the PR as we discussed

@leonace924 leonace924 requested a review from LandynDev December 18, 2025 23:12
@leonace924 leonace924 changed the title Fix/minor bugs (none check & remove duplicate function) Fix/minor bugs (remove duplicate function) Dec 18, 2025
@leonace924 leonace924 changed the title Fix/minor bugs (remove duplicate function) Fix: remove duplicate function and update timezone to Chicago TZ Dec 19, 2025
@leonace924
Copy link
Contributor Author

@LandynDev pushed the updates and let me know if this looks good to you

@leonace924
Copy link
Contributor Author

@LandynDev would you review this PR?

@LandynDev LandynDev closed this Dec 31, 2025
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