Skip to content

Commit

Permalink
Revert "Revert "Merge branch 'ph/quint-model-v2' of https://github.co…
Browse files Browse the repository at this point in the history
…m/cosmos/interchain-security into ph/quint-model-v2""

This reverts commit 3afd300.
  • Loading branch information
p-offtermatt committed Sep 18, 2023
1 parent 3afd300 commit cdebe89
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion tests/difference/core/quint_model/ccv.qnt
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
-*- mode: Bluespec; -*-
module ccv {
import extraSpells.* from "./extraSpells"

// Things that are not modelled:
// * Reward distribution
// * Starting/Stopping chains during execution
// * Slashes

// Things that explicitly are modelled:
// * Validator set changes are propagated from provider to consumers
// * VSC packets mature
// * Consumers can be forcefully dropped due to timeouts, or stop on their own volition

// TYPE DEFINITIONS
type Node = str
Expand Down Expand Up @@ -610,4 +616,4 @@ module ccv {
}


}
}
4 changes: 3 additions & 1 deletion tests/difference/core/quint_model/extraSpells.qnt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-*- mode: Bluespec; -*-
// This module is just a library with utility functions (sometimes called spells in Quint).
module extraSpells {

pure def prepend(__list: List[a], __elem: a): List[a] = {
Expand Down Expand Up @@ -188,4 +190,4 @@ module extraSpells {
__set.union(Set(elem))
}

}
}

0 comments on commit cdebe89

Please sign in to comment.