Cyfrin/remix-fund-me-cu

The import path of AggregatorV3Interface.sol is again as was in previous FundMe.sol

lampochka-ds opened this issue · 3 comments

When shared in path there are an error now.

https://github.com/Cyfrin/remix-fund-me-f23/blob/ab3e7b1f24dab4da060ab6340568e31b281b7048/FundMe.sol#L4

Helped:

- import {AggregatorV3Interface} from "@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.sol";
+ import {AggregatorV3Interface} from "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";

please check latest comment on: #4

My head started spinning until I saw "shared" in the path...
at first I just copied the AggregatorV3Interface into my project src folder to go forward, but I wanted to solve this issue at all costs :D

Removed, thanks all.

It looks like depending on the CL version you install, it can change the version of remix... I'll see if I can figure out a solution.