Skip to content

Commit

Permalink
Merge pull request #249 from morpho-org/colin@verif/reformatting
Browse files Browse the repository at this point in the history
[Certora] Formatting
  • Loading branch information
MathisGD authored Feb 17, 2025
2 parents d8d8de7 + 25951d0 commit 3c6f54e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions certora/specs/AllowancesInvariant.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ definition isTrusted(address spender) returns bool =

invariant allowancesAreReset(address token, address spender)
isTrusted(spender) || changedAllowances[token][spender] == 0
// The rule is not true for the following functions (because of the unresolved call to augustus).
// The invariant doesn't hold with the following functions.
filtered {
f -> f.selector != sig:ParaswapAdapter.buy(address, bytes ,address, address, uint256, ParaswapAdapter.Offsets, address).selector &&
f.selector != sig:ParaswapAdapter.buyMorphoDebt(address, bytes , address, ParaswapAdapter.MarketParams, ParaswapAdapter.Offsets, address, address).selector &&
f.selector != sig:ParaswapAdapter.sell(address, bytes, address, address, bool, ParaswapAdapter.Offsets, address).selector
f -> f.selector != sig:ParaswapAdapter.buy(address, bytes ,address, address, uint256, ParaswapAdapter.Offsets, address).selector &&
f.selector != sig:ParaswapAdapter.buyMorphoDebt(address, bytes , address, ParaswapAdapter.MarketParams, ParaswapAdapter.Offsets, address, address).selector &&
f.selector != sig:ParaswapAdapter.sell(address, bytes, address, address, bool, ParaswapAdapter.Offsets, address).selector
}

0 comments on commit 3c6f54e

Please sign in to comment.