From ea2961240b8f80c151d3df67c2512aacb5bd8053 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Fri, 29 Sep 2023 15:36:04 -0600 Subject: [PATCH] patch `c-kzg` to get around build issues --- Cargo.lock | 5 +++-- Cargo.toml | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dfe7019d..350fb494 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1015,8 +1015,9 @@ dependencies = [ [[package]] name = "c-kzg" -version = "0.1.0" -source = "git+https://github.com/ethereum/c-kzg-4844#f5f6f863d475847876a2bd5ee252058d37c3a15d" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac926d808fb72fe09ebf471a091d6d72918876ccf0b4989766093d2d0d24a0ef" dependencies = [ "bindgen 0.66.1", "blst", diff --git a/Cargo.toml b/Cargo.toml index 175bb4d4..ebee2a61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,3 +24,9 @@ revm = { git = "https://github.com/bluealloy/revm/", branch = "release/v25" } [patch.crates-io] revm = { git = "https://github.com/bluealloy/revm/", branch = "release/v25" } revm-primitives = { git = "https://github.com/bluealloy/revm/", branch = "release/v25" } + +# 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"