Skip to content

Commit

Permalink
fix: rule name canRepayByPassingShares
Browse files Browse the repository at this point in the history
  • Loading branch information
QGarchery committed Nov 23, 2023
1 parent a7ee852 commit 1a212a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certora/specs/Liveness.spec
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ rule repayChangesTokensAndShares(env e, MorphoInternalAccess.MarketParams market
}

// Check that you can repay non-zero tokens by passing shares.
rule canSupplyByPassingShares(env e, MorphoInternalAccess.MarketParams marketParams, uint256 shares, address onBehalf, bytes data) {
rule canRepayByPassingShares(env e, MorphoInternalAccess.MarketParams marketParams, uint256 shares, address onBehalf, bytes data) {
uint256 repaidAssets;
uint256 repaidShares;
repaidAssets, repaidShares = repay(e, marketParams, 0, shares, onBehalf, data);
Expand Down

0 comments on commit 1a212a7

Please sign in to comment.