Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle Validation on Debug Flag #131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamrushy
Copy link

Issue being fixed or feature implemented

The issue is that validation will fail when running locally because it's trying to run the chain of trust during development which isn't required.

What was done?

Added a debug condition to avoid running this validation. I guess a more better approach would be to be able run a list of validations so that the client could exclude the signature validation in debug but generally, I think this is fine?

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

@adamrushy
Copy link
Author

adamrushy commented Feb 28, 2025

Fixes: #126

@tikhop would you be happy with this approach for now?

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.

1 participant