Lesson 7: VRFConsumerBase.sol" not found #617
Answered
by
programonauta
programonauta
asked this question in
Q&A
-
Hi, following the tutorial at time 7:09 when compile the contract, I received the error:
I've checked out dependencies:
- smartcontractkit/[email protected]
- OpenZeppelin/[email protected]
compiler:
solc:
remappings:
- '@chainlink=smartcontractkit/[email protected]'
- '@openzeppelin=OpenZeppelin/[email protected]'
networks:
mainnet-fork:
ethUsdPriceFeed: '0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419' Why didn't brownie push the file |
Beta Was this translation helpful? Give feedback.
Answered by
programonauta
Dec 23, 2021
Replies: 1 comment 1 reply
-
I found out the problem.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cromewar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found out the problem.
v0.8
is only available on 1.2.0 tag. Update the import line to import"@chainlink/contracts/src/v0.6/VRFConsumerBase.sol"
worked fine.