diff --git a/Cargo.lock b/Cargo.lock index b190b771..85084807 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1030,9 +1030,8 @@ dependencies = [ [[package]] name = "c-kzg" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac926d808fb72fe09ebf471a091d6d72918876ccf0b4989766093d2d0d24a0ef" +version = "0.1.0" +source = "git+https://github.com/ethereum/c-kzg-4844?rev=f5f6f863d475847876a2bd5ee252058d37c3a15d#f5f6f863d475847876a2bd5ee252058d37c3a15d" dependencies = [ "bindgen 0.66.1", "blst", @@ -1043,6 +1042,19 @@ dependencies = [ "serde", ] +[[package]] +name = "c-kzg" +version = "0.1.0" +source = "git+https://github.com/ethereum/c-kzg-4844#f3fffecd1ce7e8b6620cd5bac50c660efc20e48c" +dependencies = [ + "bindgen 0.66.1", + "blst", + "cc", + "glob", + "hex", + "libc", +] + [[package]] name = "camino" version = "1.1.6" @@ -6064,7 +6076,7 @@ source = "git+https://github.com/paradigmxyz/reth?rev=1b16d804ef01f4ec3c25e79863 dependencies = [ "arbitrary", "bytes", - "c-kzg", + "c-kzg 0.1.0 (git+https://github.com/ethereum/c-kzg-4844?rev=f5f6f863d475847876a2bd5ee252058d37c3a15d)", "crc", "crunchy", "derive_more", @@ -6193,7 +6205,7 @@ dependencies = [ "arrayvec", "auto_impl", "bytes", - "c-kzg", + "c-kzg 0.1.0 (git+https://github.com/ethereum/c-kzg-4844?rev=f5f6f863d475847876a2bd5ee252058d37c3a15d)", "ethereum-types", "reth-rlp-derive", "revm-primitives", @@ -6470,7 +6482,7 @@ name = "revm-precompile" version = "2.0.3" source = "git+https://github.com/bluealloy/revm/?rev=516f62cc#516f62ccc1c5f2a62e5fc58115213fe04c7f7a8c" dependencies = [ - "c-kzg", + "c-kzg 0.1.0 (git+https://github.com/ethereum/c-kzg-4844)", "hex", "k256 0.13.1", "num", @@ -6493,7 +6505,7 @@ dependencies = [ "bitflags 2.4.0", "bitvec", "bytes", - "c-kzg", + "c-kzg 0.1.0 (git+https://github.com/ethereum/c-kzg-4844)", "derive_more", "enumn", "fixed-hash", diff --git a/Cargo.toml b/Cargo.toml index cdc39f6c..42b2ebf1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,9 +24,3 @@ revm = { git = "https://github.com/bluealloy/revm/", rev = "516f62cc" } [patch.crates-io] revm = { git = "https://github.com/bluealloy/revm/", rev = "516f62cc" } revm-primitives = { git = "https://github.com/bluealloy/revm/", rev = "516f62cc" } - -# NOTE: this is not strictly required to build -# but, it works better with the default nix rust build environment -# TODO: remove this patch once we have updated to at least `reth@v0.1.0-alpha.10` -[patch.'https://github.com/ethereum/c-kzg-4844'] -c-kzg = "0.1.1"