Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoVS09 committed Jul 1, 2023
1 parent 0cdd13b commit fe71f1d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/contracts/test/unit/CTokenBaseStrategy.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,9 @@ contract CTokenBaseStrategyTest is TestWithERC1820Registry {
// test interestRatePerBlock
function testShouldReturnCorrectInterestRatePerBlock(
bool _blocksBased,
uint256 interestRatePerBlock
uint128 _interestRatePerBlock
) public {
uint256 interestRatePerBlock = _interestRatePerBlock;
cToken.setBlocksBased(_blocksBased);
cToken.setSupplyRatePerBlock(interestRatePerBlock);

Expand All @@ -222,8 +223,9 @@ contract CTokenBaseStrategyTest is TestWithERC1820Registry {
// test borrowRatePerBlock
function testShouldReturnCorrectBorrowRatePerBlock(
bool _blocksBased,
uint256 borrowRatePerBlock
uint128 _borrowRatePerBlock
) public {
uint256 borrowRatePerBlock = _borrowRatePerBlock;
cToken.setBlocksBased(_blocksBased);
cToken.setBorrowRatePerBlock(borrowRatePerBlock);

Expand All @@ -237,8 +239,9 @@ contract CTokenBaseStrategyTest is TestWithERC1820Registry {
// test supplyRatePerBlock
function testShouldReturnCorrectSupplyRatePerBlock(
bool _blocksBased,
uint256 supplyRatePerBlock
uint128 _supplyRatePerBlock
) public {
uint256 supplyRatePerBlock = _supplyRatePerBlock;
cToken.setBlocksBased(_blocksBased);
cToken.setSupplyRatePerBlock(supplyRatePerBlock);

Expand Down

0 comments on commit fe71f1d

Please sign in to comment.