From 9c84bc5de75b5adcb5e00069cf437ec598420859 Mon Sep 17 00:00:00 2001 From: Igor Aleksanov Date: Fri, 6 Sep 2024 15:24:38 +0400 Subject: [PATCH] feat: Remove pairing crate dependency --- node/Cargo.lock | 30 ------------------------------ node/Cargo.toml | 1 - node/libs/crypto/Cargo.toml | 1 - 3 files changed, 32 deletions(-) diff --git a/node/Cargo.lock b/node/Cargo.lock index 0f4f9b0b..0408578e 100644 --- a/node/Cargo.lock +++ b/node/Cargo.lock @@ -1033,27 +1033,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b538e4231443a5b9c507caee3356f016d832cf7393d2d90f03ea3180d4e3fbc" dependencies = [ "byteorder", - "ff_derive_ce", "hex", "rand 0.4.6", "serde", ] -[[package]] -name = "ff_derive_ce" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b96fbccd88dbb1fac4ee4a07c2fcc4ca719a74ffbd9d2b9d41d8c8eb073d8b20" -dependencies = [ - "num-bigint", - "num-integer", - "num-traits", - "proc-macro2", - "quote", - "serde", - "syn 1.0.109", -] - [[package]] name = "fiat-crypto" version = "0.2.9" @@ -2189,19 +2173,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" -[[package]] -name = "pairing_ce" -version = "0.28.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843b5b6fb63f00460f611dbc87a50bbbb745f0dfe5cbf67ca89299c79098640e" -dependencies = [ - "byteorder", - "cfg-if", - "ff_ce", - "rand 0.4.6", - "serde", -] - [[package]] name = "parking" version = "2.2.0" @@ -4061,7 +4032,6 @@ dependencies = [ "k256", "num-bigint", "num-traits", - "pairing_ce", "rand 0.4.6", "rand 0.8.5", "sha3", diff --git a/node/Cargo.toml b/node/Cargo.toml index 281955f4..44ba874f 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -41,7 +41,6 @@ zksync_protobuf = { version = "=0.1.0-rc.12", path = "libs/protobuf" } zksync_protobuf_build = { version = "=0.1.0-rc.12", path = "libs/protobuf_build" } # Crates from Matter Labs. -pairing = { package = "pairing_ce", version = "=0.28.6" } vise = "0.2.0" vise-exporter = "0.2.0" diff --git a/node/libs/crypto/Cargo.toml b/node/libs/crypto/Cargo.toml index 6446220f..283fbdf8 100644 --- a/node/libs/crypto/Cargo.toml +++ b/node/libs/crypto/Cargo.toml @@ -19,7 +19,6 @@ hex.workspace = true k256.workspace = true num-bigint.workspace = true num-traits.workspace = true -pairing.workspace = true rand.workspace = true rand04.workspace = true sha3.workspace = true