forked from yearn/tokenized-strategy-foundry-mix
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from runtimeverification/list-invariant-tests
Kontrol property tests for `RepoTokenList` and `TermAuctionList` invariants
- Loading branch information
Showing
20 changed files
with
1,819 additions
and
64 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
[build.default] | ||
foundry-project-root = '.' | ||
regen = true | ||
rekompile = true | ||
verbose = false | ||
debug = false | ||
require = 'src/test/kontrol/term-lemmas.k' | ||
module-import = 'RepoTokenListInvariantsTest:TERM-LEMMAS' | ||
ast = true | ||
auxiliary-lemmas = true | ||
|
||
[prove.setup] | ||
foundry-project-root = '.' | ||
verbose = false | ||
debug = false | ||
max-depth = 100000 | ||
max-iterations = 10000 | ||
reinit = false | ||
cse = false | ||
workers = 1 | ||
max-frontier-parallel = 6 | ||
maintenance-rate = 24 | ||
assume-defined = true | ||
no-log-rewrites = true | ||
kore-rpc-command = 'kore-rpc-booster --no-post-exec-simplify' | ||
failure-information = true | ||
counterexample-information = true | ||
minimize-proofs = false | ||
fail-fast = true | ||
smt-timeout = 16000 | ||
smt-retry-limit = 0 | ||
break-every-step = false | ||
break-on-jumpi = false | ||
break-on-calls = false | ||
break-on-storage = false | ||
break-on-basic-blocks = false | ||
break-on-cheatcodes = false | ||
auto_abstract = true | ||
run-constructor = false | ||
bmc-depth = 3 | ||
match-test = [ | ||
"RepoTokenListInvariantsTest.setUp", | ||
"TermAuctionListInvariantsTest.setUp", | ||
] | ||
ast = true | ||
|
||
[prove.tests] | ||
foundry-project-root = '.' | ||
verbose = false | ||
debug = false | ||
max-depth = 100000 | ||
max-iterations = 10000 | ||
reinit = false | ||
cse = false | ||
workers = 1 | ||
max-frontier-parallel = 6 | ||
maintenance-rate = 24 | ||
assume-defined = true | ||
no-log-rewrites = true | ||
kore-rpc-command = 'kore-rpc-booster --no-post-exec-simplify' | ||
failure-information = true | ||
counterexample-information = true | ||
minimize-proofs = false | ||
fail-fast = true | ||
smt-timeout = 16000 | ||
smt-retry-limit = 0 | ||
break-every-step = false | ||
break-on-jumpi = false | ||
break-on-calls = false | ||
break-on-storage = false | ||
break-on-basic-blocks = false | ||
break-on-cheatcodes = false | ||
auto_abstract = true | ||
run-constructor = false | ||
match-test = [ | ||
"RepoTokenListInvariantsTest.testInsertSortedNewToken", | ||
"RepoTokenListInvariantsTest.testInsertSortedDuplicateToken", | ||
"RepoTokenListInvariantsTest.testRemoveAndRedeemMaturedTokens", | ||
"TermAuctionListInvariantsTest.testInsertPendingNewOffer", | ||
"TermAuctionListInvariantsTest.testInsertPendingDuplicateOffer", | ||
"TermAuctionListInvariantsTest.testRemoveCompleted", | ||
] | ||
ast = true | ||
|
||
[show.default] | ||
foundry-project-root = '.' | ||
verbose = true | ||
debug = false |
Submodule kontrol-cheatcodes
added at
c8a62a
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.