Skip to content
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

Remove Crate Patches from Cargo.toml Upon Solana Crate Updates #5

Open
tareknaser opened this issue Nov 11, 2023 · 0 comments
Open

Comments

@tareknaser
Copy link
Contributor

Presently, there are dependency conflicts between solana crates and contract-extrinsics, which are reflected in this issue (#26688) within the Solana repository.
A simplified Cargo.toml configuration for solang-aqd includes these dependencies:

[dependencies] 
contract-extrinsics = {git = "https://github.com/paritytech/cargo-contract"} 
solana-client = "1.17.1"

However, this setup leads to an error due to conflicting dependencies, specifically related to the zeroize crate, which causes version conflicts.

As a temporary fix, solang-aqd includes a patch in its Cargo.toml to address these conflicts:

[patch.crates-io.aes-gcm-siv]
git = "https://github.com/RustCrypto/AEADs"
rev = "e1e35e0c4f4943da0a99ceb8477c421dcfae2c33"

Solana plans to solve this issue soon, as outlined in this related discussion.
Once Solana resolves this issue, the patches in solang-aqd's Cargo.toml should be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant