Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Unable to Compile With MockV3Aggregator #3

Closed
teryanarmen opened this issue Oct 8, 2021 · 2 comments
Closed

Unable to Compile With MockV3Aggregator #3

teryanarmen opened this issue Oct 8, 2021 · 2 comments

Comments

@teryanarmen
Copy link

My error:
brownie compile
Brownie v1.16.4 - Python development framework for Ethereum

New compatible solc version available: 0.6.0
Compiling contracts...
Solc version: 0.6.0
Optimizer: Enabled Runs: 200
EVM Version: Istanbul
CompilerError: solc returned the following errors:

/Users/teryanarmen/.brownie/packages/smartcontractkit/chainlink-brownie-contracts@1.1.1/contracts/src/v0.6/interfaces/AggregatorV2V3Interface.sol:7:38: TypeError: Interfaces cannot inherit.
interface AggregatorV2V3Interface is AggregatorInterface, AggregatorV3Interface
^-----------------^

/Users/teryanarmen/.brownie/packages/smartcontractkit/chainlink-brownie-contracts@1.1.1/contracts/src/v0.6/interfaces/AggregatorV2V3Interface.sol:7:59: TypeError: Interfaces cannot inherit.
interface AggregatorV2V3Interface is AggregatorInterface, AggregatorV3Interface
^-------------------^

@PatrickAlphaC
Copy link
Owner

Could you try with 0.2.2 version of the chainlink-brownie-contracts?

@teryanarmen
Copy link
Author

Could you try with 0.2.2 version of the chainlink-brownie-contracts?

worked thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants