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 trusting period query for ics chains #1072

Merged
merged 3 commits into from
Jan 30, 2023
Merged

Conversation

agouin
Copy link
Member

@agouin agouin commented Jan 16, 2023

TrustingPeriod needs to fetch the chain unbonding period. This, similar to #1044, should also fall back to the unbonding period param from the ccv module for consumer chains.

Additionally, for testing purposes where the trusting period is less than one hour, don't allow truncation to zero.

@agouin agouin marked this pull request as ready for review January 30, 2023 00:21
@agouin agouin merged commit ee9f4f6 into main Jan 30, 2023
@agouin agouin deleted the andrew/trusting_period_ics branch January 30, 2023 17:43
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