Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resize QSM checkpoints generator in terms of the number of steps
The main effect of this change is to make sure that checkpoints generated in by the QSM tests have increasing slot numbers, and that they also generate address states that are bigger and bigger. Before this change, we would see commands such as: - putCheckpoint (RndState [addr1, addr2, addr3]) - putCheckpoint (RndState []) Which is basically not possible in practice; addresses don't disappear. Another approach could have been to adjust a bit our database model to keep track of address state in a sparse way as well. Ideally, we should also decrease the "size" factor with rollbacks although, to do it well, we need to have a coupling between the generator and the transition function advancing the model (to make sure to shrink the size by the right factor).
- Loading branch information
Showing
2 changed files
with
46 additions
and
31 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