Skip to content

Commit

Permalink
Add model checking to README
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Oct 2, 2023
1 parent 99744ff commit 1bc4610
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/difference/core/quint_model/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ with a timestamp >= t + UnbondingPeriod on that consumer.
- [X] EventuallyMatureOnProviderInv: If we send a VSCPacket, this is eventually responded to by all consumers
that were running at the time the packet was sent (and are still running).

Invariants can also be model-checked by Apalache, using this command:
```
quint verify --invariant ValidatorUpdatesArePropagated,ValidatorSetHasExistedInv,SameVSCPacketsInv,MatureOnTimeInv,EventuallyMatureOnProviderInv --main CCVDefaultState
Machine ccv_statemachine.qnt
```

### Sanity Checks

Sanity checks verify that certain patterns of behaviour can appear in the model.
Expand Down

0 comments on commit 1bc4610

Please sign in to comment.