Skip to content

Feat/validator#234

Merged
mijinummi merged 4 commits intoMDTechLabs:mainfrom
phertyameen:feat/validator
Apr 26, 2026
Merged

Feat/validator#234
mijinummi merged 4 commits intoMDTechLabs:mainfrom
phertyameen:feat/validator

Conversation

@phertyameen
Copy link
Copy Markdown
Contributor

@phertyameen phertyameen commented Apr 26, 2026

Summary

Add configuration validation system to reject invalid GasGuard config files before scans run.

Changes

  • Added schema validation for config files

  • Added custom ConfigValidationError

  • Added validation for:

    • required contracts array
    • valid contract paths
    • supported output formats
    • boolean flags
  • Added clear and descriptive error messages for invalid configs

Result

Invalid configurations are now rejected early instead of causing silent scan failures.
closes #221
closes #222
closes #223

@mijinummi mijinummi merged commit 53884f4 into MDTechLabs:main Apr 26, 2026
1 of 3 checks passed
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.

🧪 AST Snapshot Debugger ⚡ Parallel File Processing 🧾 Config Validation System

2 participants