Skip to content

Commit

Permalink
test: Update Certora files
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Dec 19, 2023
1 parent df05c5f commit f9db9b7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with: { java-version: '11', java-package: jre }

- name: Install certora cli
run: pip install certora-cli
run: pip install certora-cli==5.0.5

- name: Install solc
run: |
Expand Down
20 changes: 20 additions & 0 deletions certora/harness/ghoVariableDebtTokenHarnessInternal.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pragma solidity 0.8.10;

import {GhoVariableDebtTokenHarness} from './ghoVariableDebtTokenHarness.sol';
import {GhoVariableDebtToken} from '../munged/contracts/facilitators/aave/tokens/GhoVariableDebtToken.sol';
import {IPool} from '@aave/core-v3/contracts/interfaces/IPool.sol';

contract GhoVariableDebtTokenHarnessInternal is GhoVariableDebtTokenHarness {
constructor(IPool pool) public GhoVariableDebtTokenHarness(pool) {
//nop
}

function accrueDebtOnAction(
address user,
uint256 previousScaledBalance,
uint256 discountPercent,
uint256 index
) external returns (uint256, uint256) {
return _accrueDebtOnAction(user, previousScaledBalance, discountPercent, index);
}
}

0 comments on commit f9db9b7

Please sign in to comment.