-
Notifications
You must be signed in to change notification settings - Fork 53
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 #696 from morpho-org/certora/quick-refactor
[Certora] Quick refactor
- Loading branch information
Showing
13 changed files
with
131 additions
and
136 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/AccrueInterest.spec", | ||
"prover_args": [ | ||
"-depth 3", | ||
"-mediumTimeout 30", | ||
"-smt_hashingScheme plaininjectivity", | ||
], | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Accrue Interest" | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/AccrueInterest.spec", | ||
"prover_args": [ | ||
"-depth 3", | ||
"-mediumTimeout 30", | ||
"-smt_hashingScheme plaininjectivity" | ||
], | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Accrue Interest" | ||
} |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/AssetsAccounting.spec", | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Assets Accounting" | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/AssetsAccounting.spec", | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Assets Accounting" | ||
} |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/ConsistentState.spec", | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Consistent State" | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/ConsistentState.spec", | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Consistent State" | ||
} |
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 |
---|---|---|
@@ -1,19 +1,18 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/ExactMath.spec", | ||
"rule_sanity": "basic", | ||
"prover_args": [ | ||
"-depth 5", | ||
"-mediumTimeout 5", | ||
"-timeout 3600", | ||
"-adaptiveSolverConfig false", | ||
"-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]", | ||
], | ||
"cache": "none", | ||
"server": "production", | ||
"msg": "Morpho Blue Exact Math" | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/ExactMath.spec", | ||
"prover_args": [ | ||
"-depth 5", | ||
"-mediumTimeout 5", | ||
"-timeout 3600", | ||
"-adaptiveSolverConfig false", | ||
"-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" | ||
} |
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/ExchangeRate.spec", | ||
"rule_sanity": "basic", | ||
"prover_args": [ | ||
"-smt_hashingScheme plaininjectivity", | ||
"-smt_easy_LIA true", | ||
], | ||
"server": "production", | ||
"msg": "Morpho Blue Exchange Rate" | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/ExchangeRate.spec", | ||
"prover_args": [ | ||
"-smt_hashingScheme plaininjectivity", | ||
"-smt_easy_LIA true" | ||
], | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Exchange Rate" | ||
} |
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
"src/mocks/OracleMock.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/Health.spec", | ||
"rule_sanity": "basic", | ||
"prover_args": [ | ||
"-smt_hashingScheme plaininjectivity", | ||
], | ||
"server": "production", | ||
"msg": "Morpho Blue Health" | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
"src/mocks/OracleMock.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/Health.spec", | ||
"prover_args": [ | ||
"-smt_hashingScheme plaininjectivity" | ||
], | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Health" | ||
} |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/LibSummary.spec", | ||
"rule_sanity": "basic", | ||
"prover_args": [ | ||
"-smt_bitVectorTheory true" | ||
], | ||
"server": "production", | ||
"msg": "Morpho Blue Lib Summary" | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/LibSummary.spec", | ||
"prover_args": [ | ||
"-smt_bitVectorTheory true" | ||
], | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Lib Summary" | ||
} |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/MorphoInternalAccess.sol", | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoInternalAccess:certora/specs/Liveness.spec", | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Liveness" | ||
"files": [ | ||
"certora/harness/MorphoInternalAccess.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoInternalAccess:certora/specs/Liveness.spec", | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Liveness" | ||
} |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/Reentrancy.spec", | ||
"rule_sanity": "basic", | ||
"prover_args": [ | ||
"-enableStorageSplitting false", | ||
], | ||
"server": "production", | ||
"msg": "Morpho Blue Reentrancy" | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/Reentrancy.spec", | ||
"prover_args": [ | ||
"-enableStorageSplitting false" | ||
], | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Reentrancy" | ||
} |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/Reverts.spec", | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Reverts" | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/Reverts.spec", | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Reverts" | ||
} |
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 |
---|---|---|
@@ -1,18 +1,15 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
"src/mocks/OracleMock.sol", | ||
], | ||
"msg": "Morpho Blue Stay Healthy", | ||
"process": "emv", | ||
"prover_args": [ | ||
"-depth 5", | ||
"-mediumTimeout 5", | ||
"-timeout 3600", | ||
"-smt_hashingScheme plaininjectivity" | ||
], | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/StayHealthy.spec" | ||
"files": [ | ||
"certora/harness/MorphoHarness.sol", | ||
"src/mocks/OracleMock.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "MorphoHarness:certora/specs/StayHealthy.spec", | ||
"prover_args": [ | ||
"-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", | ||
"msg": "Morpho Blue Stay Healthy" | ||
} |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/TransferHarness.sol", | ||
"certora/dispatch/ERC20Standard.sol", | ||
"certora/dispatch/ERC20USDT.sol", | ||
"certora/dispatch/ERC20NoRevert.sol", | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "TransferHarness:certora/specs/Transfer.spec", | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Transfer" | ||
"files": [ | ||
"certora/harness/TransferHarness.sol", | ||
"certora/dispatch/ERC20Standard.sol", | ||
"certora/dispatch/ERC20USDT.sol", | ||
"certora/dispatch/ERC20NoRevert.sol" | ||
], | ||
"solc": "solc-0.8.19", | ||
"verify": "TransferHarness:certora/specs/Transfer.spec", | ||
"rule_sanity": "basic", | ||
"server": "production", | ||
"msg": "Morpho Blue Transfer" | ||
} |
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