-
Notifications
You must be signed in to change notification settings - Fork 87
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
test: tendermint client update when client expires or validator set has changed #921
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #921 +/- ##
==========================================
+ Coverage 67.51% 67.56% +0.04%
==========================================
Files 131 131
Lines 16091 16283 +192
==========================================
+ Hits 10864 11001 +137
- Misses 5227 5282 +55
☔ View full report in Codecov by Sentry. |
I am not sure what is going on. The earlier commits failed on gh action, although they were successful on my machine ( @Farhad-Shabani can you please take a look later? |
Did I hit a rare issue with Git? This is from this PR ibc-rs/crates/ibc/src/mock/context.rs Line 240 in 0f4503c
This is from ibc-rs/crates/ibc/src/mock/context.rs Line 203 in 245d2fc
Although it's shown when two commits are compared. |
The new changes did not conflict with my PR syntactically but they conflicted semantically. 😅 |
0f4503c
to
89ffdbf
Compare
d36e9be
to
1d3bba8
Compare
@Farhad-Shabani I have made the changes. I also added a new test to check Do I need to add a changelog entry? |
Thanks a lot @rnbguy.
Yes please! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All set 🙏🏻
…as changed (#921) * add client expiry test * tm hostblock supports trusted next validator set * fix validator change update test * fix incorrect validator updates at each block * add sad client update for validator change * cargo fmt * catch up with main branch changes * update MockContextConfig with validator set history * refactor tests with updated MockContextConfig * rm duplicate def of `on` * add todo for max_history_size and validator_set_history * consistent variable naming in tests * bump typed-builder version * rm redundant builder arguments * replace todo with panic * mv Tendermint ClientStateConfig under ics07 * use ctx_a with ctx_b instead of only ctx * use client_id consistently * use mocks feature directly in dev-deps * include trusting_period and max_clock_drift in mock light client config * revert advance chain height with timestamp * update client expiry test * add test to check max_clock_drift * rm TODO comments in favor of gh issue * revert ctx_a renaming * add changelog entry
Closes: #538
Description
This PR adds and modifies a few test scenarios.
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.