-
Notifications
You must be signed in to change notification settings - Fork 228
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
Update solidity contracts version dependency from fixed version to using ^
specifier
#888
Comments
^
) specifier^
) specifier
^
) specifier^
/~
specifier
^
/~
specifier^
specifier
Hey @jimmychu0807, as a good practice we've tried to keep those versions fixed to avoid any unexpected behavior. Context: #115 But curious to know your opinion on this. |
I agree there is actually a balance here, fixed version being restrictive and safe, and a wide version range being loosed and have a higher potential security risk. A few thought points on this:
|
I like this compromise! Curious to hear @vplasencia's opinion here. PR: #891 |
Describe the improvement you're thinking about
Update all solidity contracts version from:
to
or to a version range that core developers agree.
Additional context
The reason is because Semaphore is becoming a library (building block) for dApp developers, and they integrate Semaphore into their dApp contracts. Using a fixed version specification
0.8.23
in Semaphore is restricting the solidity version used in downstream development.There maybe a repercussion of updating zk-kit.solidity as well.
The text was updated successfully, but these errors were encountered: