You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users who are using solana_program SDK < version 2 are required to stick to zeroize 1.3 (cargo).
this can cause friction when integrating with other libraries that depend on other zeroize versions and attempts at patching can be confusing or incompatible (popular issue)
Solana >= 2
Solana version V2 bumps this to version 1.7 of zeroize (cargo) but this may lead to similar issues.
Proposed Solution
A few potential solutions to discuss
Do not restrict the zeroize version to 1 specific version and allow any matching version of "1" or within a reasonable range. If Solana V1 targets 1.3 and Solana V2 targets 1.7 then it might make sense that V2 should be at least backwards compatible to zeroize 1.3 to make it easier for users and other packages targeting integration with the Solana SDK to be compatible with both versions.
Remove the zeroize dependency. Is it possible?
If the above are not possible - can there be some example programs created that perform patches and compile successfully to use as a starting place?
The text was updated successfully, but these errors were encountered:
Problem
Solana < 2:
this can cause friction when integrating with other libraries that depend on other zeroize versions and attempts at patching can be confusing or incompatible (popular issue)
Solana >= 2
Proposed Solution
A few potential solutions to discuss
Do not restrict the zeroize version to 1 specific version and allow any matching version of "1" or within a reasonable range. If Solana V1 targets 1.3 and Solana V2 targets 1.7 then it might make sense that V2 should be at least backwards compatible to zeroize 1.3 to make it easier for users and other packages targeting integration with the Solana SDK to be compatible with both versions.
Remove the zeroize dependency. Is it possible?
If the above are not possible - can there be some example programs created that perform patches and compile successfully to use as a starting place?
The text was updated successfully, but these errors were encountered: