Skip to content

Commit

Permalink
feat: solve StayHealthy timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
QGarchery committed Oct 9, 2024
1 parent a56da03 commit 4446011
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion certora/confs/ExactMath.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
],
"solc": "solc-0.8.19",
"verify": "MorphoHarness:certora/specs/ExactMath.spec",
"rule_sanity": "basic",
"prover_args": [
"-depth 5",
"-mediumTimeout 5",
Expand All @@ -13,6 +12,7 @@
"-smt_nonLinearArithmetic true",
"-solvers [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:lia2]"
],
"rule_sanity": "basic",
"server": "production",
"msg": "Morpho Blue Exact Math"
}
2 changes: 1 addition & 1 deletion certora/confs/ExchangeRate.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
],
"solc": "solc-0.8.19",
"verify": "MorphoHarness:certora/specs/ExchangeRate.spec",
"rule_sanity": "basic",
"prover_args": [
"-smt_hashingScheme plaininjectivity",
"-smt_easy_LIA true"
],
"rule_sanity": "basic",
"server": "production",
"msg": "Morpho Blue Exchange Rate"
}
2 changes: 1 addition & 1 deletion certora/confs/Health.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
],
"solc": "solc-0.8.19",
"verify": "MorphoHarness:certora/specs/Health.spec",
"rule_sanity": "basic",
"prover_args": [
"-smt_hashingScheme plaininjectivity"
],
"rule_sanity": "basic",
"server": "production",
"msg": "Morpho Blue Health"
}
2 changes: 1 addition & 1 deletion certora/confs/LibSummary.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
],
"solc": "solc-0.8.19",
"verify": "MorphoHarness:certora/specs/LibSummary.spec",
"rule_sanity": "basic",
"prover_args": [
"-smt_bitVectorTheory true"
],
"rule_sanity": "basic",
"server": "production",
"msg": "Morpho Blue Lib Summary"
}
2 changes: 1 addition & 1 deletion certora/confs/Reentrancy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
],
"solc": "solc-0.8.19",
"verify": "MorphoHarness:certora/specs/Reentrancy.spec",
"rule_sanity": "basic",
"prover_args": [
"-enableStorageSplitting false"
],
"rule_sanity": "basic",
"server": "production",
"msg": "Morpho Blue Reentrancy"
}
13 changes: 5 additions & 8 deletions certora/confs/StayHealthy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@
"certora/harness/MorphoHarness.sol",
"src/mocks/OracleMock.sol"
],
"msg": "Morpho Blue Stay Healthy",
"process": "emv",
"solc": "solc-0.8.19",
"verify": "MorphoHarness:certora/specs/StayHealthy.spec",
"prover_args": [
"-depth 5",
"-mediumTimeout 5",
"-timeout 3600",
"-smt_hashingScheme plaininjectivity"
"-smt_hashingScheme plaininjectivity",
"-solvers [yices,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}]"
],
"rule_sanity": "basic",
"server": "production",
"solc": "solc-0.8.19",
"verify": "MorphoHarness:certora/specs/StayHealthy.spec"
"msg": "Morpho Blue Stay Healthy"
}

0 comments on commit 4446011

Please sign in to comment.