smartcontractkit / full-blockchain-solidity-course-py

Ultimate Solidity, Blockchain, and Smart Contract - Beginner to Expert Full Course | Python Edition
MIT License
10.75k stars 2.9k forks source link

v6 VRFConsumerBase no longer available//6:44.13//Lesson7 #1216

Open oliveruf42 opened 2 years ago

oliveruf42 commented 2 years ago

I'm getting ready to add the "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol" contract from chainlink in lesson 7, but v6 is no longer supported. I also noticed that the new version v8 is using pragma solidity ^0.8.7; Will i be able to use this in the lesson ? I was thinking that i might have issues when i go to compile .

kjones86 commented 2 years ago

You will have issues using those versions. Stick to solidity^0.6.0 and @chainlinkv0.6

etsea117 commented 2 years ago

If you replace the v0.8 in "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol" with v0.6 it will work