Skip to content

Commit

Permalink
Revert visibility change
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenshively committed Sep 6, 2023
1 parent d97716b commit 04c47f4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions core/.gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
BorrowerGasTest:test_addMargin() (gas: 16203)
BorrowerGasTest:test_borrow() (gas: 112661)
BorrowerGasTest:test_borrow() (gas: 110491)
BorrowerGasTest:test_getUniswapPositions() (gas: 5219)
BorrowerGasTest:test_modify() (gas: 84280)
BorrowerGasTest:test_modifyWithAnte() (gas: 90735)
BorrowerGasTest:test_repay() (gas: 114159)
BorrowerGasTest:test_uniswapDepositInBorrower() (gas: 259895)
BorrowerGasTest:test_modify() (gas: 82110)
BorrowerGasTest:test_modifyWithAnte() (gas: 88565)
BorrowerGasTest:test_repay() (gas: 111851)
BorrowerGasTest:test_uniswapDepositInBorrower() (gas: 257725)
BorrowerGasTest:test_uniswapDepositStandard() (gas: 167558)
BorrowerGasTest:test_uniswapWithdraw() (gas: 149358)
BorrowerGasTest:test_withdraw() (gas: 107800)
BorrowerGasTest:test_uniswapWithdraw() (gas: 147622)
BorrowerGasTest:test_withdraw() (gas: 105630)
FactoryGasTest:test_createBorrower() (gas: 156437)
FactoryGasTest:test_createMarket() (gas: 3900597)
LenderGasTest:test_accrueInterest() (gas: 46287)
Expand All @@ -17,10 +17,10 @@ LenderGasTest:test_depositWithCourier() (gas: 53785)
LenderGasTest:test_redeem() (gas: 53305)
LenderGasTest:test_redeemWithCourier() (gas: 83701)
LenderGasTest:test_repay() (gas: 44752)
LiquidatorGasTest:test_noCallbackOneAsset() (gas: 51189)
LiquidatorGasTest:test_noCallbackTwoAssets() (gas: 59209)
LiquidatorGasTest:test_noCallbackTwoAssetsAndUniswapPosition() (gas: 95622)
LiquidatorGasTest:test_warn() (gas: 35195)
LiquidatorGasTest:test_withCallbackAndSwap() (gas: 130354)
LiquidatorGasTest:test_noCallbackOneAsset() (gas: 51019)
LiquidatorGasTest:test_noCallbackTwoAssets() (gas: 59177)
LiquidatorGasTest:test_noCallbackTwoAssetsAndUniswapPosition() (gas: 95596)
LiquidatorGasTest:test_warn() (gas: 35025)
LiquidatorGasTest:test_withCallbackAndSwap() (gas: 130184)
VolatilityGasTest:test_consult() (gas: 43075)
VolatilityGasTest:test_updateNoBinarySearch() (gas: 146696)
2 changes: 1 addition & 1 deletion core/src/Lender.sol
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ contract Lender is Ledger {
emit Borrow(msg.sender, recipient, amount, units);
}

function repay(uint256 amount, address beneficiary) public returns (uint256 units) {
function repay(uint256 amount, address beneficiary) external returns (uint256 units) {
uint256 b = borrows[beneficiary];

// Accrue interest and update reserves
Expand Down

0 comments on commit 04c47f4

Please sign in to comment.