From d06f8f22296f44673b15f2b71df8d17a70b1ea88 Mon Sep 17 00:00:00 2001 From: miguelmtzinf Date: Fri, 28 Oct 2022 12:17:15 +0200 Subject: [PATCH] fix: make InterestRateStrategy contract inheritable --- .../protocol/pool/DefaultReserveInterestRateStrategy.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/protocol/pool/DefaultReserveInterestRateStrategy.sol b/contracts/protocol/pool/DefaultReserveInterestRateStrategy.sol index 7d082a960..9937ce237 100644 --- a/contracts/protocol/pool/DefaultReserveInterestRateStrategy.sol +++ b/contracts/protocol/pool/DefaultReserveInterestRateStrategy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity 0.8.10; +pragma solidity ^0.8.0; import {IERC20} from '../../dependencies/openzeppelin/contracts/IERC20.sol'; import {WadRayMath} from '../libraries/math/WadRayMath.sol'; @@ -191,8 +191,8 @@ contract DefaultReserveInterestRateStrategy is IReserveInterestRateStrategy { } /// @inheritdoc IReserveInterestRateStrategy - function calculateInterestRates(DataTypes.CalculateInterestRatesParams calldata params) - external + function calculateInterestRates(DataTypes.CalculateInterestRatesParams memory params) + public view override returns (