Skip to content
Discussion options

You must be logged in to vote

Hello Irwing the error is the following your are importing the AggregatorV3Interface in version 0.8 and on your brownie-config.yamlyou are using the dependency on version 1.1.1:

 dependencies:
  - smartcontractkit/chainlink-brownie-contracts@1.1.1
compiler:
  solc:
    remappings:
      - '@chainlink=smartcontractkit/chainlink-brownie-contracts@1.1.1'

If you check the github of chainlink-brownie-contracts version 1.1.1 you will notice there is not a version 0.8:

https://github.com/smartcontractkit/chainlink-brownie-contracts/tree/1.1.1

So the solution is, to change the version you are importing from 1.1.1 to 0.2.2 and this should work.

Replies: 2 comments 2 replies

Comment options

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

Comment options

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

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