0

PS E:\smartcontract-lottery> brownie test --network mainnet-fork INFO: Could not find files for the given pattern(s). Brownie v1.16.4 - Python development framework for Ethereum

Compiling contracts... Solc version: 0.6.12 Optimizer: Enabled Runs: 200 EVM Version: Istanbul

contracts/lottery.sol:12:27: DeclarationError: Undeclared identifier. Did you mean "AggregatorV3Interface"? ethUsdPriceFeed = aggregatorV3Interface(_priceFeedAddress); ^-------------------^

enter image description here

1
  • Please follow the error message suggestion (change any occurence of aggregatorV3Interface to AggregatorV3Interface - case sensitive) + save before recompiling Nov 23, 2021 at 13:37

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.