Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Quint model of Interchain Security (#1336)
* Start new attempt on Quint model of ICS * Advance quint model * Add first finished draft of model * Add test run to model * Rename model, add test, use powerset for nondeterminism * Reintroduce vsc changed tracking variables * Add text with what expliticly is modelled * Add bluespec to ccv.qnt * Add bluespec to expraSpells.qnt * Add docstring to extraSpells module * Start rewriting model * Revert "Start rewriting model" This reverts commit 1320b95. * Start rewriting quint model * Continue seperating logic in Quint model * Start debugging cryptic error message * Start adding endAndBeginBlock defs * Diagnose Quint parser bug * Fix type in Quint * Add endBlock actions * Start adding state machine module * Save status with crashing effect checker * Resolve issue by removing undefined field * Remove add * Fix init * Snapshot spec with parser crasher * Snapshot model * Start debugging tests * Finish test for quint model * Add README and improve folder structure * Fix import * Add some invariants * Refactor Consumer advancement * Snapshot error * Make time module upper case * Add invariants * Clean up invariants * Add script to run many invariants * Update model * Update model for bug reporting] * Remove sanity check script * Fix model and randomly run invariant checks * Remove trace * Add model checking to README * Add bluespec * Try fixed bluespec * Fix bluespec definitions * Update tests/difference/core/quint_model/README.md Co-authored-by: insumity <[email protected]> * Update tests/difference/core/quint_model/README.md Co-authored-by: insumity <[email protected]> * Fix minor issues * Update tests/difference/core/quint_model/README.md Co-authored-by: insumity <[email protected]> * Update tests/difference/core/quint_model/README.md Co-authored-by: insumity <[email protected]> * Update tests/difference/core/quint_model/README.md Co-authored-by: insumity <[email protected]> * Correct verify command by adding \ * Add Inv to ValidatorUpdatesArePropagated * Update tests/difference/core/quint_model/README.md Co-authored-by: insumity <[email protected]> * Apply comments * Rename VSC to Vsc * Return plain ProtocolState in cases where no error is returned anyways * Remove unused defs * Fix indentation * Rename to isRunningConsumer * Unify naming for extraSpells * Remove HasSubsequence * Run tests before running invariants * Rename modules to have same name as files * Adjust module name in README and invariant script * Fix voting power change behaviour around 0 * Adjust error message in test * Remove special treatment of 0 voting power * Rename sentVscPackets to sentVscPacketsToConsumer * Update tests/difference/core/quint_model/README.md Co-authored-by: insumity <[email protected]> * Resolve comments * Adjust comment to fit actual time advancement * Remove hasError field and make it a function * Adjust docstring * Remove unused timedout val * Update doc * Rename statemachine to model * Use ... syntax * Change Error type to string --------- Co-authored-by: insumity <[email protected]>
- Loading branch information