-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: VRFv2Consumer.sol sample has incorrect import #1833
Comments
Hi @Hotmanics which version of the @chainlink/contracts NPM package are you using? If you are using v1.0.0 then it's still beta. If you use v0.8.0 then it will work fine . Example with Remix IDE:
|
@aelmanaa I am actually installing the github repo as a library in foundry through |
Thanks @Hotmanics ! We are currently working on adapting all our examples to work with the latest version. This PR will fix this issue. Also we will add callouts to explain how to install the latest npm version using npm,yarn, and foundry |
Closing for now. let me know if you still run into issues |
Describe the bug
When copying the sample code for VRFv2Consumer, the import for
VRFCoordinatorV2Mock
is incorrect, as presumably, the location of it has changed recently.To Reproduce
URLs
Expected behavior
The ability to copy the code and have it compile
Additional context
No response
The text was updated successfully, but these errors were encountered: