-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Time Monotonicity Enforcement (#141)
* implement update client fix and start changing tests * fix bug and write identical case test * write misbehaviour detection tests * add misbehaviour events to UpdateClient * fix client keeper and write tests * add Freeze to ClientState interface * add cache context and fix events * Update modules/light-clients/07-tendermint/types/update.go Co-authored-by: Zarko Milosevic <[email protected]> * address colin comments * freeze entire client on misbehaviour * add time misbehaviour and tests * enforce trusted height less than current height in header.ValidateBasic * cleanup and tests * fix print statement * enforce monotonicity in update * add docs and remove unnecessary interface function * first round of review comments * CHANGELOG * update updateclient test * bump tendermint to 0.34.10 * remove caching and specific frozen height * document in go code * DRY FrozenHeight * fix build Co-authored-by: colin axnér <[email protected]> Co-authored-by: Zarko Milosevic <[email protected]>
- Loading branch information
1 parent
6537f24
commit 2d3132f
Showing
13 changed files
with
564 additions
and
178 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
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.