Skip to content

Commit

Permalink
upd: sync change with certora
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaSethi committed Jan 2, 2025
1 parent 2e2eec9 commit 0512fac
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions certora/steward/specs/GhoAaveSteward.spec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ methods {


function getGhoTimelocks() external returns (IGhoAaveSteward.GhoDebounce) envfree;
function GHO_BORROW_RATE_MAX() external returns uint32 envfree;
function MINIMUM_DELAY() external returns uint256 envfree;
function RISK_COUNCIL() external returns address envfree;

Expand Down Expand Up @@ -225,23 +224,6 @@ rule updateGhoSupplyCap__correctness() {
}


rule updateGhoBorrowRate__correctness() {
env e; uint16 optimalUsageRatio; uint32 baseVariableBorrowRate;
uint32 variableRateSlope1; uint32 variableRateSlope2;

uint16 optimalUsageRatio_before = OPTIMAL_USAGE_RATIO;
uint32 baseVariableBorrowRate_before = BASE_VARIABLE_BORROW_RATE;
uint32 variableRateSlope1_before = VARIABLE_RATE_SLOPE1;
uint32 variableRateSlope2_before = VARIABLE_RATE_SLOPE2;

updateGhoBorrowRate(e,optimalUsageRatio, baseVariableBorrowRate, variableRateSlope1, variableRateSlope2);


assert baseVariableBorrowRate + variableRateSlope1 + variableRateSlope2 <= to_mathint(GHO_BORROW_RATE_MAX());
}






Expand Down

0 comments on commit 0512fac

Please sign in to comment.