From 0100a1f791f254a53c9e9192dae0269e72b75739 Mon Sep 17 00:00:00 2001 From: salman01zp Date: Sat, 17 Feb 2024 08:43:13 +0530 Subject: [PATCH] bump curve25519-dalek to latest --- Cargo.lock | 144 +++++++++--------- pallets/dkg/frost/frost-ed25519/Cargo.toml | 2 +- .../dkg/frost/frost-ristretto255/Cargo.toml | 2 +- 3 files changed, 75 insertions(+), 73 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 920802813..3a8eeea70 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1127,9 +1127,9 @@ dependencies = [ [[package]] name = "bytemuck" -version = "1.14.2" +version = "1.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea31d69bda4949c1c1562c1e6f042a1caefac98cdc8a298260a2ff41c1e2d42b" +checksum = "ed2490600f404f2b94c167e31d3ed1d5f3c225a0f3b80230053b3e0b7b962bd9" dependencies = [ "bytemuck_derive", ] @@ -1588,9 +1588,9 @@ dependencies = [ [[package]] name = "const-hex" -version = "1.11.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18d59688ad0945eaf6b84cb44fedbe93484c81b48970e98f09db8a22832d7961" +checksum = "a5104de16b218eddf8e34ffe2f86f74bfa4e61e95a1b89732fccf6325efd0557" dependencies = [ "cfg-if", "cpufeatures", @@ -2006,9 +2006,9 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.1" +version = "4.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" dependencies = [ "cfg-if", "cpufeatures", @@ -2567,11 +2567,11 @@ dependencies = [ [[package]] name = "ed25519-dalek" -version = "2.1.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" +checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519 2.2.3", "rand_core 0.6.4", "serde", @@ -4233,7 +4233,7 @@ dependencies = [ name = "frost-ed25519" version = "1.0.0-rc.0" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "frost-core", "parity-scale-codec 3.6.9", "rand_core 0.6.4", @@ -4295,7 +4295,7 @@ dependencies = [ name = "frost-ristretto255" version = "1.0.0-rc.0" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "frost-core", "parity-scale-codec 3.6.9", "rand_core 0.6.4", @@ -4538,7 +4538,7 @@ dependencies = [ [[package]] name = "generic-ec" version = "0.1.3" -source = "git+https://github.com/webb-tools/generic-ec?branch=m#11f605730099c8c35b8d3932c6ff950ef3c71718" +source = "git+https://github.com/webb-tools/generic-ec?branch=m#e628fde467f101773b76d7194e16966ba350f44b" dependencies = [ "generic-ec-core", "generic-ec-curves", @@ -4555,7 +4555,7 @@ dependencies = [ [[package]] name = "generic-ec-core" version = "0.1.2" -source = "git+https://github.com/webb-tools/generic-ec?branch=m#11f605730099c8c35b8d3932c6ff950ef3c71718" +source = "git+https://github.com/webb-tools/generic-ec?branch=m#e628fde467f101773b76d7194e16966ba350f44b" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", @@ -4567,7 +4567,7 @@ dependencies = [ [[package]] name = "generic-ec-curves" version = "0.1.2" -source = "git+https://github.com/webb-tools/generic-ec?branch=m#11f605730099c8c35b8d3932c6ff950ef3c71718" +source = "git+https://github.com/webb-tools/generic-ec?branch=m#e628fde467f101773b76d7194e16966ba350f44b" dependencies = [ "crypto-bigint", "elliptic-curve", @@ -4582,7 +4582,7 @@ dependencies = [ [[package]] name = "generic-ec-zkp" version = "0.1.1" -source = "git+https://github.com/webb-tools/generic-ec?branch=m#11f605730099c8c35b8d3932c6ff950ef3c71718" +source = "git+https://github.com/webb-tools/generic-ec?branch=m#e628fde467f101773b76d7194e16966ba350f44b" dependencies = [ "generic-array 0.14.7", "generic-ec", @@ -4845,9 +4845,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.5" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0c62115964e08cb8039170eb33c1d0e2388a256930279edca206fff675f82c3" +checksum = "5d3d0e0f38255e7fa3cf31335b3a56f05febd18025f4db5ef7a0cfb4f8da651f" [[package]] name = "hex" @@ -5246,7 +5246,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.5", + "hermit-abi 0.3.4", "libc", "windows-sys 0.48.0", ] @@ -5281,7 +5281,7 @@ version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" dependencies = [ - "hermit-abi 0.3.5", + "hermit-abi 0.3.4", "rustix 0.38.31", "windows-sys 0.52.0", ] @@ -5330,9 +5330,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.68" +version = "0.3.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee" +checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1" dependencies = [ "wasm-bindgen", ] @@ -5763,7 +5763,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" dependencies = [ "bs58 0.4.0", - "ed25519-dalek 2.1.1", + "ed25519-dalek 2.1.0", "log", "multiaddr", "multihash", @@ -6858,9 +6858,9 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.5" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" +checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" dependencies = [ "num-traits", ] @@ -6930,7 +6930,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.5", + "hermit-abi 0.3.4", "libc", ] @@ -7143,7 +7143,7 @@ dependencies = [ "rand_core 0.6.4", "rug", "serde", - "serde_with 3.6.0", + "serde_with 3.6.1", "thiserror", ] @@ -7364,7 +7364,7 @@ dependencies = [ "round-based", "scale-info", "serde", - "serde_with 3.6.0", + "serde_with 3.6.1", "serdect", "sha2 0.10.8", "smallvec", @@ -7634,7 +7634,7 @@ name = "pallet-evm-precompile-curve25519" version = "1.0.0-dev" source = "git+https://github.com/paritytech/frontier.git?branch=polkadot-v1.1.0#de5a3df59d3ada67c8cacdb79e607ad0b229ec5b" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "fp-evm", ] @@ -7682,7 +7682,7 @@ name = "pallet-evm-precompile-ed25519" version = "2.0.0-dev" source = "git+https://github.com/paritytech/frontier.git?branch=polkadot-v1.1.0#de5a3df59d3ada67c8cacdb79e607ad0b229ec5b" dependencies = [ - "ed25519-dalek 2.1.1", + "ed25519-dalek 2.1.0", "fp-evm", ] @@ -8863,9 +8863,9 @@ checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" [[package]] name = "polling" -version = "3.4.0" +version = "3.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30054e72317ab98eddd8561db0f6524df3367636884b7b21b703e4b280a84a14" +checksum = "545c980a3880efd47b2e262f6a4bb6daad6555cf3367aa9c4e52895f69537a41" dependencies = [ "cfg-if", "concurrent-queue", @@ -9833,9 +9833,9 @@ dependencies = [ [[package]] name = "round-based" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50a0cb1a40a115430c0d124ee305cf118208a37f921a744d41e84d3468a2c1d0" +checksum = "3b0c7c6c07f090c99eea5fbfdae05d96cd82bf31459aec95a7720f5215cb692a" dependencies = [ "futures-util", "phantom-type 0.3.1", @@ -9846,9 +9846,9 @@ dependencies = [ [[package]] name = "round-based-derive" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0397bf224fdbcb3b286926e43bba90a96f81a82cc630ebfc9290d18e8b6331bd" +checksum = "1c3f220fb17bab108a448f516ce4ec470584675233ab3a799915ba71295da32e" dependencies = [ "proc-macro2", "quote", @@ -11735,12 +11735,13 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.6.0" +version = "3.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b0ed1662c5a68664f45b76d18deb0e234aff37207086803165c961eb695e981" +checksum = "15d167997bd841ec232f5b2b8e0e26606df2e7caa4c31b95ea9ca52b200bd270" dependencies = [ "serde", - "serde_with_macros 3.6.0", + "serde_derive", + "serde_with_macros 3.6.1", ] [[package]] @@ -11769,9 +11770,9 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.6.0" +version = "3.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "568577ff0ef47b879f736cd66740e022f3672788cdf002a05a4e609ea5a6fb15" +checksum = "865f9743393e638991566a8b7a479043c2c8da94a33e0a31f18214c9cae0a64d" dependencies = [ "darling 0.20.5", "proc-macro2", @@ -12034,7 +12035,7 @@ dependencies = [ "aes-gcm", "blake2", "chacha20poly1305", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "rand_core 0.6.4", "ring 0.17.7", "rustc_version 0.4.0", @@ -12572,7 +12573,7 @@ version = "23.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "bytes", - "ed25519-dalek 2.1.1", + "ed25519-dalek 2.1.0", "libsecp256k1", "log", "parity-scale-codec 3.6.9", @@ -12916,8 +12917,8 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "aes-gcm", - "curve25519-dalek 4.1.1", - "ed25519-dalek 2.1.1", + "curve25519-dalek 4.1.2", + "ed25519-dalek 2.1.0", "hkdf", "parity-scale-codec 3.6.9", "rand 0.8.5", @@ -12931,7 +12932,7 @@ dependencies = [ "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", - "x25519-dalek 2.0.1", + "x25519-dalek 2.0.0", ] [[package]] @@ -14116,12 +14117,13 @@ checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" [[package]] name = "tempfile" -version = "3.10.0" +version = "3.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67" +checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" dependencies = [ "cfg-if", "fastrand", + "redox_syscall 0.4.1", "rustix 0.38.31", "windows-sys 0.52.0", ] @@ -14901,9 +14903,9 @@ dependencies = [ [[package]] name = "unicode-segmentation" -version = "1.11.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" +checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" [[package]] name = "unicode-width" @@ -15053,9 +15055,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.91" +version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f" +checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -15063,9 +15065,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.91" +version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b" +checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd" dependencies = [ "bumpalo", "log", @@ -15078,9 +15080,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.41" +version = "0.4.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877b9c3f61ceea0e56331985743b13f3d25c406a7098d45180fb5f09bc19ed97" +checksum = "bde2032aeb86bdfaecc8b261eef3cba735cc426c1f3a3416d1e0791be95fc461" dependencies = [ "cfg-if", "js-sys", @@ -15090,9 +15092,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.91" +version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed" +checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -15100,9 +15102,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.91" +version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66" +checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" dependencies = [ "proc-macro2", "quote", @@ -15113,9 +15115,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.91" +version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838" +checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" [[package]] name = "wasm-encoder" @@ -15656,9 +15658,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.68" +version = "0.3.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96565907687f7aceb35bc5fc03770a8a0471d82e479f25832f54a0e3f4b28446" +checksum = "58cd2333b6e0be7a39605f0e255892fd7418a682d8da8fe042fe25128794d2ed" dependencies = [ "js-sys", "wasm-bindgen", @@ -15687,7 +15689,7 @@ dependencies = [ [[package]] name = "webb" version = "0.8.4" -source = "git+https://github.com/webb-tools/webb-rs.git#1f0d2635971b2d9c36af4bc0bd1501d0b2a1e675" +source = "git+https://github.com/webb-tools/webb-rs.git#4fec9228812f55a7b4239cc489bb011a844d67df" dependencies = [ "async-trait", "ethers", @@ -15873,7 +15875,7 @@ dependencies = [ [[package]] name = "webb-proposal-derive" version = "0.1.0" -source = "git+https://github.com/webb-tools/webb-rs.git#1f0d2635971b2d9c36af4bc0bd1501d0b2a1e675" +source = "git+https://github.com/webb-tools/webb-rs.git#4fec9228812f55a7b4239cc489bb011a844d67df" dependencies = [ "ethers-core", "quote", @@ -15883,7 +15885,7 @@ dependencies = [ [[package]] name = "webb-proposals" version = "0.8.0" -source = "git+https://github.com/webb-tools/webb-rs.git#1f0d2635971b2d9c36af4bc0bd1501d0b2a1e675" +source = "git+https://github.com/webb-tools/webb-rs.git#4fec9228812f55a7b4239cc489bb011a844d67df" dependencies = [ "frame-support", "hex", @@ -16277,9 +16279,9 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" [[package]] name = "winnow" -version = "0.5.39" +version = "0.5.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5389a154b01683d28c77f8f68f49dea75f0a4da32557a58f68ee51ebba472d29" +checksum = "a7cad8365489051ae9f054164e459304af2e7e9bb407c958076c8bf4aef52da5" dependencies = [ "memchr", ] @@ -16341,11 +16343,11 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "2.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" +checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "rand_core 0.6.4", "serde", "zeroize", diff --git a/pallets/dkg/frost/frost-ed25519/Cargo.toml b/pallets/dkg/frost/frost-ed25519/Cargo.toml index 7a868082d..d4b96253e 100644 --- a/pallets/dkg/frost/frost-ed25519/Cargo.toml +++ b/pallets/dkg/frost/frost-ed25519/Cargo.toml @@ -20,7 +20,7 @@ description = "A Schnorr signature scheme over Ed25519 that supports FROST." [dependencies] parity-scale-codec = { workspace = true } -curve25519-dalek = { version = "=4.1.1", default-features = false } +curve25519-dalek = { version = "4.1.2", default-features = false } frost-core = { workspace = true } rand_core = { version = "0.6", optional = true } sha2 = { version = "0.10.2", default-features = false } diff --git a/pallets/dkg/frost/frost-ristretto255/Cargo.toml b/pallets/dkg/frost/frost-ristretto255/Cargo.toml index cf8fbe2cd..52138b6a3 100644 --- a/pallets/dkg/frost/frost-ristretto255/Cargo.toml +++ b/pallets/dkg/frost/frost-ristretto255/Cargo.toml @@ -20,7 +20,7 @@ description = "A Schnorr signature scheme over Ed25519 that supports FROST." [dependencies] parity-scale-codec = { workspace = true } -curve25519-dalek = { version = "=4.1.1", default-features = false } +curve25519-dalek = { version = "4.1.2", default-features = false } frost-core = { workspace = true } rand_core = { version = "0.6", optional = true } sha2 = { version = "0.10.2", default-features = false }