I have a proble when running forge test :: ==========> Foundry fundamental Fund Me #3284
Newgenerations
started this conversation in
General
Replies: 2 comments 3 replies
-
first, you can check on vm.startBroadcast();
FundMe fundMe = new FundMe(ethUsdPriceFeed);
vm.stopBroadcast();
return fundMe; next, check on import {AggregatorV3Interface} from "@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.sol";
...
AggregatorV3Interface private s_priceFeed;
constructor(address priceFeed) {
s_priceFeed = AggregatorV3Interface(priceFeed);
i_owner = msg.sender;
}
function getVersion() public view returns (uint256) {
return s_priceFeed.version();
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @Newgenerations, Please show your |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody i encounter a problem with this command
there is the test function :
here's the test file:
here's the error shown in the console:
if anyone has worked with this problem can suggest me a solution 👍
Beta Was this translation helpful? Give feedback.
All reactions