Skip to content

Commit

Permalink
mutations fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
liav-certora committed Mar 5, 2024
1 parent 8bb92e1 commit 3923259
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 17 deletions.
22 changes: 22 additions & 0 deletions DEFI/ERC20/mutation.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"files": [
"contracts/ERC20.sol"
],
"verify": "ERC20:certora/specs/ERC20Full.spec",
"msg": "ERC20 Full spec",
"rule_sanity": "basic",
"optimistic_loop": true,
"mutations": {
"gambit": {
"filename" : "contracts/ERC20.sol",
"num_mutants": 57
},
"manual_mutants": [
{
"file_to_mutate": "contracts/ERC20.sol",
"mutants_location": "mutant"
}
],
"msg": "ERC20 mutations"
}
}
11 changes: 0 additions & 11 deletions DEFI/ERC20/mutation.mconf

This file was deleted.

20 changes: 20 additions & 0 deletions DEFI/LiquidityPool/mutation.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"files": [
"contracts/Pool.sol",
"contracts/Asset.sol",
"certora/harness/TrivialReceiver.sol"
],
"verify": "Pool:certora/specs/Full.spec",
"msg": "Pool with linking",
"link": [
"Pool:asset=Asset"
],
"parametric_contracts": ["Pool"],
"rule_sanity": "basic",
"mutations": {
"gambit": {
"filename" : "contracts/Pool.sol",
"num_mutants": 30
}
}
}
6 changes: 0 additions & 6 deletions DEFI/LiquidityPool/mutation.mconf

This file was deleted.

0 comments on commit 3923259

Please sign in to comment.