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

fix: configurable trusting period #21

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

quasystaty1
Copy link

Summary

Astria client currently configured with two hours trusting period by default. Hermes now consider trusting period environment variable on client creation. If unset, trusting period defaults to 1day.

Changes

  • added trusting period as a config variable with a 1day default.

Testing

Tested manually against a cluster, querying the client state after creation.

Note: should be moved to settings configuration in the future.
closes #17

@quasystaty1 quasystaty1 self-assigned this Oct 18, 2024
@quasystaty1 quasystaty1 requested a review from joroshiba October 18, 2024 10:55
@quasystaty1 quasystaty1 merged commit 5ca5730 into astria Oct 18, 2024
6 of 34 checks passed
@quasystaty1 quasystaty1 deleted the quasystaty1/fix/trusting-period branch October 18, 2024 15:54
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.

fix: Hard-Coded Config Values in Astria Client
2 participants