Skip to content

Commit 3923259

Browse files
committed
mutations fixes
1 parent 8bb92e1 commit 3923259

4 files changed

Lines changed: 42 additions & 17 deletions

File tree

DEFI/ERC20/mutation.conf

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"files": [
3+
"contracts/ERC20.sol"
4+
],
5+
"verify": "ERC20:certora/specs/ERC20Full.spec",
6+
"msg": "ERC20 Full spec",
7+
"rule_sanity": "basic",
8+
"optimistic_loop": true,
9+
"mutations": {
10+
"gambit": {
11+
"filename" : "contracts/ERC20.sol",
12+
"num_mutants": 57
13+
},
14+
"manual_mutants": [
15+
{
16+
"file_to_mutate": "contracts/ERC20.sol",
17+
"mutants_location": "mutant"
18+
}
19+
],
20+
"msg": "ERC20 mutations"
21+
}
22+
}

DEFI/ERC20/mutation.mconf

Lines changed: 0 additions & 11 deletions
This file was deleted.

DEFI/LiquidityPool/mutation.conf

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"files": [
3+
"contracts/Pool.sol",
4+
"contracts/Asset.sol",
5+
"certora/harness/TrivialReceiver.sol"
6+
],
7+
"verify": "Pool:certora/specs/Full.spec",
8+
"msg": "Pool with linking",
9+
"link": [
10+
"Pool:asset=Asset"
11+
],
12+
"parametric_contracts": ["Pool"],
13+
"rule_sanity": "basic",
14+
"mutations": {
15+
"gambit": {
16+
"filename" : "contracts/Pool.sol",
17+
"num_mutants": 30
18+
}
19+
}
20+
}

DEFI/LiquidityPool/mutation.mconf

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)