Skip to content

Commit

Permalink
trie-geyser: fix zeroize dependency (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
mina86 authored Aug 25, 2024
1 parent 559b5c5 commit 8c7ddd5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions solana/trie-geyser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@ lto = true
codegen-units = 1

[patch.crates-io]
# aes-gcm-siv 0.10.3 and curve25519-dalek 3.x pin zeroize to <1.4
# which conflicts with other dependencies requiring zeroize ^1.5.
# We’re patching both crates to unpin zeroize.
#
# For aes-gcm-siv we’re using the same revision Solana uses in
# an (as of now) unreleased commit, see
# https://github.com/solana-labs/solana/commit/01f1bf27994d9813fadfcd134befd3a449aaa0bd
#
# For curve25519-dalek we’re using commit from a PR, see
# https://github.com/dalek-cryptography/curve25519-dalek/pull/606
aes-gcm-siv = { git = "https://github.com/RustCrypto/AEADs", rev = "6105d7a5591aefa646a95d12b5e8d3f55a9214ef" }
curve25519-dalek = { git = "https://github.com/dalek-cryptography/curve25519-dalek", rev = "8274d5cbb6fc3f38cdc742b4798173895cd2a290" }

# Make sure we’re using our Solana implementation.
solana-account-decoder = { git = "https://github.com/ComposableFi/mantis-solana.git", branch = "mantis/dev" }
solana-accounts-db = { git = "https://github.com/ComposableFi/mantis-solana.git", branch = "mantis/dev" }
solana-address-lookup-table-program = { git = "https://github.com/ComposableFi/mantis-solana.git", branch = "mantis/dev" }
Expand Down

0 comments on commit 8c7ddd5

Please sign in to comment.