-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimal implementation of backward verification for IBC relayer (#709)
* Use custom error type instead of anomaly::BoxError * prototype backward verification * backward tests * re-enabled model based tests * fix backward algorithm * optimize backward verification * disable backward opti * Fix wrong assertion * Compute last_block_id hash when generating a light chain * Add test for light chain correctness * Add property-based tests for backward verification * Comment out `bad` test * Add more tests * Remove println statement * Use prop_assert! * Formatting * Remove hacky backward verification test * Add negative tests for backward verification * Feature-guard backward verification behind "backward-verif" flag * Rename LightClient::verify_bisection to LightClient::verify_forward * Update changelog * Update doc comments * Formatting * Fixup after rebase * Add integration test for backward verification * Remove `backward-verif` feature in favor of `unstable` * Cleanup + couple comments * Check that root state for backward verif is within trusting period * Add doc comment * Fix mock clock time in testgen-based tests * Remove unused import * Revert "Use custom error type instead of anomaly::BoxError" This reverts commit 8a5820b. * Formatting
- Loading branch information
Showing
15 changed files
with
559 additions
and
121 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 |
---|---|---|
|
@@ -14,3 +14,6 @@ Cargo.lock | |
|
||
# RPC probe results | ||
/rpc-probe/probe-results/ | ||
|
||
# Proptest regressions dumps | ||
**/*.proptest-regressions |
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
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.