From 4cf1dacd70f11a0c7103ade68bb05c907e846b2d Mon Sep 17 00:00:00 2001 From: kartojal Date: Wed, 1 Dec 2021 11:23:54 +0100 Subject: [PATCH] feat: Add decimals to MockAggregator to match Chainlink Aggregator interface --- contracts/mocks/oracle/CLAggregators/MockAggregator.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contracts/mocks/oracle/CLAggregators/MockAggregator.sol b/contracts/mocks/oracle/CLAggregators/MockAggregator.sol index d859a9b72..0ad2fbe7c 100644 --- a/contracts/mocks/oracle/CLAggregators/MockAggregator.sol +++ b/contracts/mocks/oracle/CLAggregators/MockAggregator.sol @@ -18,4 +18,8 @@ contract MockAggregator { function getTokenType() external pure returns (uint256) { return 1; } + + function decimals() external pure returns (uint8) { + return 8; + } }