diff --git a/Cargo.lock b/Cargo.lock index 45c53adc642127..4b73e339399d24 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -669,7 +669,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" dependencies = [ - "block-padding 0.1.5", + "block-padding", "byte-tools", "byteorder", "generic-array 0.12.4", @@ -681,7 +681,6 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ - "block-padding 0.2.1", "generic-array 0.14.7", ] @@ -703,12 +702,6 @@ dependencies = [ "byte-tools", ] -[[package]] -name = "block-padding" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" - [[package]] name = "borsh" version = "0.9.3" @@ -4974,18 +4967,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "sha3" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" -dependencies = [ - "block-buffer 0.9.0", - "digest 0.9.0", - "keccak", - "opaque-debug 0.3.0", -] - [[package]] name = "sha3" version = "0.10.8" @@ -6614,7 +6595,7 @@ dependencies = [ "serde_derive", "serde_json", "sha2 0.10.8", - "sha3 0.10.8", + "sha3", "solana-frozen-abi", "solana-frozen-abi-macro", "solana-logger", @@ -7058,7 +7039,7 @@ dependencies = [ "serde_json", "serde_with", "sha2 0.10.8", - "sha3 0.10.8", + "sha3", "siphasher", "solana-frozen-abi", "solana-frozen-abi-macro", @@ -7720,7 +7701,7 @@ dependencies = [ "rand 0.7.3", "serde", "serde_json", - "sha3 0.9.1", + "sha3", "solana-program", "solana-sdk", "subtle", diff --git a/zk-token-sdk/Cargo.toml b/zk-token-sdk/Cargo.toml index e78e8c18f11be6..1ac0314855e6fd 100644 --- a/zk-token-sdk/Cargo.toml +++ b/zk-token-sdk/Cargo.toml @@ -31,7 +31,7 @@ merlin = { workspace = true } rand = { version = "0.7" } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } -sha3 = "0.9" +sha3 = "0.10" solana-sdk = { workspace = true } subtle = { workspace = true } thiserror = { workspace = true }