From bf0fb99c24c6cd080da6c9c6b593bd60c46ecdf3 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:44:26 +0200 Subject: [PATCH] chore(deps): dedup c-kzg by unpinning it --- Cargo.lock | 23 +++++------------------ Cargo.toml | 4 ++-- 2 files changed, 7 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 54046e1e2462..9588098024f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -969,20 +969,6 @@ dependencies = [ "serde", ] -[[package]] -name = "c-kzg" -version = "0.1.0" -source = "git+https://github.com/ethereum/c-kzg-4844?rev=f5f6f863d475847876a2bd5ee252058d37c3a15d#f5f6f863d475847876a2bd5ee252058d37c3a15d" -dependencies = [ - "bindgen 0.66.1", - "blst", - "cc", - "glob", - "hex", - "libc", - "serde", -] - [[package]] name = "c-kzg" version = "0.1.0" @@ -994,6 +980,7 @@ dependencies = [ "glob", "hex", "libc", + "serde", ] [[package]] @@ -5918,7 +5905,7 @@ dependencies = [ "arbitrary", "assert_matches", "bytes", - "c-kzg 0.1.0 (git+https://github.com/ethereum/c-kzg-4844?rev=f5f6f863d475847876a2bd5ee252058d37c3a15d)", + "c-kzg", "crc", "criterion", "crunchy", @@ -6056,7 +6043,7 @@ dependencies = [ "arrayvec", "auto_impl", "bytes", - "c-kzg 0.1.0 (git+https://github.com/ethereum/c-kzg-4844?rev=f5f6f863d475847876a2bd5ee252058d37c3a15d)", + "c-kzg", "criterion", "ethereum-types", "ethnum", @@ -6371,7 +6358,7 @@ name = "revm-precompile" version = "2.0.3" source = "git+https://github.com/bluealloy/revm?rev=516f62cc#516f62ccc1c5f2a62e5fc58115213fe04c7f7a8c" dependencies = [ - "c-kzg 0.1.0 (git+https://github.com/ethereum/c-kzg-4844)", + "c-kzg", "hex", "k256", "num", @@ -6394,7 +6381,7 @@ dependencies = [ "bitflags 2.4.0", "bitvec", "bytes", - "c-kzg 0.1.0 (git+https://github.com/ethereum/c-kzg-4844)", + "c-kzg", "derive_more", "enumn", "fixed-hash", diff --git a/Cargo.toml b/Cargo.toml index c286e9e7b128..b41f15120dbf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -133,7 +133,7 @@ strum = "0.25" rayon = "1.7" itertools = "0.11" parking_lot = "0.12" -metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation +metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation hex-literal = "0.4" ### proc-macros @@ -164,7 +164,7 @@ secp256k1 = { version = "0.27.0", default-features = false, features = [ ] } enr = { version = "0.9", default-features = false, features = ["k256"] } # for eip-4844 -c-kzg = { git = "https://github.com/ethereum/c-kzg-4844", rev = "f5f6f863d475847876a2bd5ee252058d37c3a15d" } +c-kzg = { git = "https://github.com/ethereum/c-kzg-4844" } ## config confy = "0.5"