Skip to content
Discussion options

You must be logged in to vote

Ok so I have sorted it out for me as follows, in case it helps anyone else. Still not quite sure why only I seem to be getting this issue(?)

Replaced the import statement with:

import "@chainlink/contracts/src/v0.6/interfaces/AggregatorInterface.sol";
import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol";

and then changed the contract declaration to be:

contract MockV3Aggregator is AggregatorInterface, AggregatorV3Interface

Compiled fine after that.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@strudelPie
Comment options

Comment options

You must be logged in to vote
3 replies
@cromewar
Comment options

@kevinszuchet
Comment options

@lfsr
Comment options

Answer selected by cromewar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants