-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement consensus state pruning for Tendermint clients (#922)
* Add prune_oldest_consensus_state to ClientStateValidation * Add consensus_state_heights fn signature to CommonContext * Stub prune_oldest_consensus_state fn * Add comments for delete_update_time and delete_update_height * Clean up code structure a bit * Fix some compilation errors * Address all compilation errors resulting from prune_old_consensus_states * Move delete_update_height and delete_update_time methods to ExecutionContext trait * Clean up all compilation errors * Disambiguate some method calls * Fix fn formatting * Run cargo fmt * Flip consensus state condition check * Add changelog entry * Incorporate PR feedback * test: add test_cons_state_pruning * Simplify consensus state pruning unit test a bit * Document `test_consensus_state_pruning` function * Correct a detail in documentation --------- Co-authored-by: Farhad Shabani <[email protected]>
- Loading branch information
1 parent
27592c4
commit d062728
Showing
7 changed files
with
254 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Implement consensus state pruning for Tendermint light clients ([#600](https://github.com/cosmos/ibc-rs/issues/600)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.