Skip to content
Closed
9 changes: 6 additions & 3 deletions certora/confs/LossFactor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@
"solc": "solc-0.8.34",
"solc_via_ir": true,
"solc_evm_version": "osaka",
"optimistic_loop": true,
"loop_iter": 2,
"optimistic_loop": true,
"optimistic_hashing": true,
"hashing_length_bound": 2048,
"smt_timeout": 7200,
"prover_args": [
"-splitParallel true",
"-destructiveOptimizations twostage",
"-smt_initialSplitDepth 4",
"-depth 10",
"-mediumTimeout 2",
"-s [z3:def{randomSeed=1},z3:def{randomSeed=2},z3:def{randomSeed=3},z3:def{randomSeed=4},z3:def{randomSeed=5},z3:def{randomSeed=6},z3:def{randomSeed=7},z3:def{randomSeed=8},z3:def{randomSeed=9},z3:def{randomSeed=10}]"
],
"split_rules": [
"liquidateLossFactorDoesNotRevert"
"liquidateLossFactorDoesNotRevert",
"onlyLiquidateChangesMarketLossFactor"
],
"msg": "Loss Factor"
}
16 changes: 14 additions & 2 deletions certora/confs/Reentrancy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,20 @@
"src/Midnight.sol"
],
"prover_args": [
"-enableStorageSplitting false",
"-destructiveOptimizations twostage"
"-enableStorageSplitting",
"false",
"-destructiveOptimizations",
"twostage",
"-oldSplitParallel",
"true",
"-dontStopAtFirstSplitTimeout",
"true",
"-splitParallelTimelimit",
"7000",
"-splitParallelInitialDepth",
"3",
"-numOfParallelSplits",
"7"
],
"solc": "solc-0.8.34",
"solc_via_ir": true,
Expand Down
8 changes: 5 additions & 3 deletions certora/confs/Role.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
"optimistic_hashing": true,
"hashing_length_bound": 2048,
"prover_args": [
"-s",
"[z3:def{randomSeed=1},z3:def{randomSeed=2},z3:def{randomSeed=3},z3:def{randomSeed=4},z3:def{randomSeed=5}]",
"-splitParallel true"
"-destructiveOptimizations twostage",
"-mediumTimeout 20",
"-lowTimeout 20",
"-tinyTimeout 20",
"-depth 20"
],
"msg": "Role Safety and Liveness"
}
12 changes: 5 additions & 7 deletions certora/confs/SplitDoesNotPunishMakerOrFavorTaker.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@
"loop_iter": 2,
"optimistic_hashing": true,
"hashing_length_bound": 1024,
"smt_timeout": 7200,
"smt_timeout": 1800,
"prover_args": [
"-depth 10",
"-mediumTimeout 60",
"-splitParallel true",
"-smt_initialSplitDepth 2",
"-destructiveOptimizations twostage",
"-s",
"[z3:def{randomSeed=1},z3:def{randomSeed=2},z3:def{randomSeed=3},z3:def{randomSeed=4},z3:def{randomSeed=5},cvc5:def,bitwuzla:def]"
"-backendStrategy singleRace",
"-smt_useLIA false",
"-smt_useNIA true",
"-depth 0"
],
"msg": "Split Does Not Punish Maker Or Favor Taker"
}
12 changes: 8 additions & 4 deletions certora/confs/TakeAmountsLibInvertibility.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@
"optimistic_loop": true,
"loop_iter": 2,
"prover_args": [
"-destructiveOptimizations twostage",
"-splitParallel true",
"-splitParallelInitialDepth 4",
"-splitParallelTimelimit 7200"
"-destructiveOptimizations",
"twostage",
"-s",
"[z3:def{randomSeed=1},z3:def{randomSeed=2},z3:def{randomSeed=3},z3:def{randomSeed=4},z3:def{randomSeed=5},z3:def{randomSeed=6},z3:def{randomSeed=7},z3:def{randomSeed=8},z3:def{randomSeed=9},z3:def{randomSeed=10}]",
"-splitParallel",
"true",
"-dontStopAtFirstSplitTimeout",
"true"
],
"msg": "Midnight TakeAmountsLib Invertibility"
}
Loading