From 031b28a4b8788efa019a09b0300aea3ec77c65a7 Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Tue, 3 Sep 2024 08:06:54 -0500 Subject: [PATCH] Update version to v2.0.1 and do cargo updates --- .github/workflows/csharp-tests.yml | 2 +- Cargo.lock | 46 +++---- Cargo.toml | 2 +- .../csharp/Ckzg.Bindings/Ckzg.Bindings.csproj | 2 +- bindings/node.js/package.json | 2 +- fuzz/Cargo.lock | 117 ++++++------------ kzg4844.nimble | 2 +- setup.py | 2 +- 8 files changed, 64 insertions(+), 111 deletions(-) diff --git a/.github/workflows/csharp-tests.yml b/.github/workflows/csharp-tests.yml index 254830d29..3775f4ebe 100644 --- a/.github/workflows/csharp-tests.yml +++ b/.github/workflows/csharp-tests.yml @@ -11,7 +11,7 @@ on: branches: - main env: - binding_build_number_based_version: 2.0.0.${{ github.run_number }} + binding_build_number_based_version: 2.0.1.${{ github.run_number }} jobs: build-ckzg: diff --git a/Cargo.lock b/Cargo.lock index 8fb956c7b..53ba4fc01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -93,7 +93,7 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "c-kzg" -version = "2.0.0" +version = "2.0.1" dependencies = [ "arbitrary", "bindgen", @@ -118,9 +118,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.1.12" +version = "1.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68064e60dbf1f17005c2fde4d07c16d8baa506fd7ffed8ccab702d93617975c7" +checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6" dependencies = [ "shlex", ] @@ -180,9 +180,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.15" +version = "4.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d8838454fda655dafd3accb2b6e2bea645b9e4078abe84a22ceb947235c5cc" +checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" dependencies = [ "clap_builder", ] @@ -365,9 +365,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c" +checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" dependencies = [ "equivalent", "hashbrown", @@ -431,9 +431,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.155" +version = "0.2.158" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" [[package]] name = "libloading" @@ -549,9 +549,9 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.20" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +checksum = "479cf940fbbb3426c32c5d5176f62ad57549a0bb84773423ba8be9d089f5faba" dependencies = [ "proc-macro2", "syn", @@ -568,9 +568,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -662,9 +662,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustix" -version = "0.38.34" +version = "0.38.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +checksum = "a85d50532239da68e9addb745ba38ff4612a242c1c7ceea689c4bc7c2f43c36f" dependencies = [ "bitflags", "errno", @@ -690,18 +690,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.207" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5665e14a49a4ea1b91029ba7d3bca9f299e1f7cfa194388ccc20f14743e784f2" +checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.207" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aea2634c86b0e8ef2cfdc0c340baede54ec27b1e46febd7f80dffb2aa44a00e" +checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" dependencies = [ "proc-macro2", "quote", @@ -710,9 +710,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.125" +version = "1.0.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed" +checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" dependencies = [ "itoa", "memchr", @@ -741,9 +741,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "syn" -version = "2.0.74" +version = "2.0.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" +checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 2c000cb86..197badfcd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "c-kzg" -version = "2.0.0" +version = "2.0.1" edition = "2021" license = "Apache-2.0" description = "A minimal implementation of the Polynomial Commitments API for EIP-4844 and EIP-7594, written in C." diff --git a/bindings/csharp/Ckzg.Bindings/Ckzg.Bindings.csproj b/bindings/csharp/Ckzg.Bindings/Ckzg.Bindings.csproj index e03ccb28d..0b2f8ec7b 100644 --- a/bindings/csharp/Ckzg.Bindings/Ckzg.Bindings.csproj +++ b/bindings/csharp/Ckzg.Bindings/Ckzg.Bindings.csproj @@ -23,7 +23,7 @@ git https://github.com/ethereum/c-kzg-4844 snupkg - 0.2.0.0 + 0.2.0.1 $(NoWarn);IDE0049 diff --git a/bindings/node.js/package.json b/bindings/node.js/package.json index c1426536d..c9e8e106d 100644 --- a/bindings/node.js/package.json +++ b/bindings/node.js/package.json @@ -1,6 +1,6 @@ { "name": "c-kzg", - "version": "4.0.1", + "version": "4.0.2", "description": "NodeJS bindings for C-KZG", "contributors": [ "Matthew Keil ", diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index 53da26a5d..732e3854e 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -68,7 +68,7 @@ checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" [[package]] name = "c-kzg" -version = "2.0.0" +version = "2.0.1" dependencies = [ "arbitrary", "blst", @@ -95,9 +95,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.12" +version = "1.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68064e60dbf1f17005c2fde4d07c16d8baa506fd7ffed8ccab702d93617975c7" +checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6" dependencies = [ "jobserver", "libc", @@ -113,7 +113,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "constantine-core" version = "0.1.0" -source = "git+https://github.com/mratsim/constantine#569e02933166915ec76d17640a21a8a591e36f8f" +source = "git+https://github.com/mratsim/constantine#65147ed815d96fa94a05d307c1d9980877b7d0e8" dependencies = [ "constantine-sys", ] @@ -121,7 +121,7 @@ dependencies = [ [[package]] name = "constantine-ethereum-kzg" version = "0.1.0" -source = "git+https://github.com/mratsim/constantine#569e02933166915ec76d17640a21a8a591e36f8f" +source = "git+https://github.com/mratsim/constantine#65147ed815d96fa94a05d307c1d9980877b7d0e8" dependencies = [ "constantine-core", "constantine-sys", @@ -130,7 +130,7 @@ dependencies = [ [[package]] name = "constantine-sys" version = "0.1.0" -source = "git+https://github.com/mratsim/constantine#569e02933166915ec76d17640a21a8a591e36f8f" +source = "git+https://github.com/mratsim/constantine#65147ed815d96fa94a05d307c1d9980877b7d0e8" [[package]] name = "cpufeatures" @@ -143,71 +143,51 @@ dependencies = [ [[package]] name = "crate_crypto_internal_eth_kzg_bls12_381" -version = "0.4.1" -source = "git+https://github.com/crate-crypto/rust-eth-kzg#027069e9da6fb82783bceb2b56147cafc0fa3835" +version = "0.5.1" +source = "git+https://github.com/crate-crypto/rust-eth-kzg#27760b1744713fb6f8d854295b1d3522f2b425fa" dependencies = [ "blst", "blstrs", "ff", "group", "pairing", - "rayon", + "subtle", ] [[package]] name = "crate_crypto_internal_eth_kzg_erasure_codes" -version = "0.4.1" -source = "git+https://github.com/crate-crypto/rust-eth-kzg#027069e9da6fb82783bceb2b56147cafc0fa3835" +version = "0.5.1" +source = "git+https://github.com/crate-crypto/rust-eth-kzg#27760b1744713fb6f8d854295b1d3522f2b425fa" dependencies = [ "crate_crypto_internal_eth_kzg_bls12_381", "crate_crypto_internal_eth_kzg_polynomial", ] +[[package]] +name = "crate_crypto_internal_eth_kzg_maybe_rayon" +version = "0.5.1" +source = "git+https://github.com/crate-crypto/rust-eth-kzg#27760b1744713fb6f8d854295b1d3522f2b425fa" + [[package]] name = "crate_crypto_internal_eth_kzg_polynomial" -version = "0.4.1" -source = "git+https://github.com/crate-crypto/rust-eth-kzg#027069e9da6fb82783bceb2b56147cafc0fa3835" +version = "0.5.1" +source = "git+https://github.com/crate-crypto/rust-eth-kzg#27760b1744713fb6f8d854295b1d3522f2b425fa" dependencies = [ "crate_crypto_internal_eth_kzg_bls12_381", ] [[package]] name = "crate_crypto_kzg_multi_open_fk20" -version = "0.4.1" -source = "git+https://github.com/crate-crypto/rust-eth-kzg#027069e9da6fb82783bceb2b56147cafc0fa3835" +version = "0.5.1" +source = "git+https://github.com/crate-crypto/rust-eth-kzg#27760b1744713fb6f8d854295b1d3522f2b425fa" dependencies = [ "crate_crypto_internal_eth_kzg_bls12_381", + "crate_crypto_internal_eth_kzg_maybe_rayon", "crate_crypto_internal_eth_kzg_polynomial", "hex", - "rayon", "sha2", ] -[[package]] -name = "crossbeam-deque" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" - [[package]] name = "crypto-common" version = "0.1.6" @@ -239,12 +219,6 @@ dependencies = [ "crypto-common", ] -[[package]] -name = "either" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" - [[package]] name = "ff" version = "0.13.0" @@ -326,9 +300,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.155" +version = "0.2.158" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" [[package]] name = "libfuzzer-sys" @@ -383,9 +357,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -420,36 +394,15 @@ dependencies = [ "rand_core", ] -[[package]] -name = "rayon" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" -dependencies = [ - "crossbeam-deque", - "crossbeam-utils", -] - [[package]] name = "rust_eth_kzg" -version = "0.4.1" -source = "git+https://github.com/crate-crypto/rust-eth-kzg#027069e9da6fb82783bceb2b56147cafc0fa3835" +version = "0.5.1" +source = "git+https://github.com/crate-crypto/rust-eth-kzg#27760b1744713fb6f8d854295b1d3522f2b425fa" dependencies = [ "crate_crypto_internal_eth_kzg_bls12_381", "crate_crypto_internal_eth_kzg_erasure_codes", "crate_crypto_kzg_multi_open_fk20", "hex", - "rayon", "serde", "serde_json", ] @@ -462,18 +415,18 @@ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "serde" -version = "1.0.207" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5665e14a49a4ea1b91029ba7d3bca9f299e1f7cfa194388ccc20f14743e784f2" +checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.207" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aea2634c86b0e8ef2cfdc0c340baede54ec27b1e46febd7f80dffb2aa44a00e" +checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" dependencies = [ "proc-macro2", "quote", @@ -482,9 +435,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.125" +version = "1.0.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed" +checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" dependencies = [ "itoa", "memchr", @@ -517,9 +470,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "syn" -version = "2.0.74" +version = "2.0.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" +checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" dependencies = [ "proc-macro2", "quote", diff --git a/kzg4844.nimble b/kzg4844.nimble index f410b25a1..d1ab12288 100644 --- a/kzg4844.nimble +++ b/kzg4844.nimble @@ -5,7 +5,7 @@ mode = ScriptMode.Verbose ################################################## packageName = "kzg4844" -version = "1.0.2" +version = "2.0.1" author = "Andri Lim" description = "Nim wrapper of c-kzg-4844" license = "Apache License 2.0" diff --git a/setup.py b/setup.py index d5299ea29..d16c83307 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def main(): setup( name="ckzg", - version="2.0.0", + version="2.0.1", author="Ethereum Foundation", author_email="security@ethereum.org", url="https://github.com/ethereum/c-kzg-4844",