-
Notifications
You must be signed in to change notification settings - Fork 74
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
SubscriptionAPI.sol appears to be missing a ^ symbol, displaying: pragma solidity 0.8.19; #32
Comments
Can you make this an issue in the chainlink repo? This repo just clones the code in that repo. |
@PatrickAlphaC Only the Chainlink-brownie-contracts repo seems to have these issues. Let me know, thanks. |
@simon-masterclass it uses the "official" package from Also, it looks like both repos have the ^? |
@PatrickAlphaC |
Devs,
I'm trying to build a Raffle project implementing chainlink VRF and I'm having trouble compiling with any version of solidity higher than 0.8.19 - I submitted this issue to the Cyfrin team and @PatrickAlphaC but I figured I'd post it here as well.
It appears that the issue is in a Chainlink-Brownie-Contract file related to vrf contracts - specifically one of the inherited contracts.
SubscriptionAPI.sol
@chainlink-brownie-contracts/contracts/src/v0.8/vrf/dev/SubscriptionAPI.sol
It appears that the pragma solidity version is missing a "^" (Carot) symbol, thereby hampering the ability to compile with any version of solidity greater than 0.8.19 - which might be intentional or a bug.
Here's the code:
Is this a bug or a feature?
Let me know, thanks!
-Simon
The text was updated successfully, but these errors were encountered: