Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions certora/confs/ConsistentState.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"solc": "solc-0.8.19",
"verify": "MorphoHarness:certora/specs/ConsistentState.spec",
"rule_sanity": "basic",
"smt_timeout": 3600,
"server": "production",
"msg": "Morpho Blue Consistent State"
}
3 changes: 3 additions & 0 deletions certora/specs/ConsistentState.spec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ methods {
function Util.wad() external returns (uint256) envfree;
function Util.libId(MorphoHarness.MarketParams) external returns (MorphoHarness.Id) envfree;

// Over-approximate pure function.
function UtilsLib.min(uint256, uint256) internal returns (uint256) => NONDET;

Comment thread
MathisGD marked this conversation as resolved.
function _.borrowRate(MorphoHarness.MarketParams, MorphoHarness.Market) external => HAVOC_ECF;

function SafeTransferLib.safeTransfer(address token, address to, uint256 value) internal => summarySafeTransferFrom(token, currentContract, to, value);
Expand Down
3 changes: 0 additions & 3 deletions foundry.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"lib/forge-std": {
"rev": "2f112697506eab12d433a65fdc31a639548fe365"
},
"lib/halmos-cheatcodes": {
"rev": "a02072cd5eb8560d00c3f4a73b27831ec6e3137e"
}
}
10 changes: 4 additions & 6 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ exclude_lints = [
"unaliased-plain-import",
"asm-keccak256",
"unwrapped-modifier-logic",
"unsafe-typecast",
"block-timestamp",
]
ignore = [
'test/**/*.sol'
]
ignore = ['test/**/*.sol']

[profile.no_via_ir]
via-ir = false

# See more config options https://github.com/foundry-rs/foundry/tree/master/crates/config
via_ir = false