repo stringlengths 6 65 | file_url stringlengths 81 311 | file_path stringlengths 6 227 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:31:58 2026-01-04 20:25:31 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/fk20_proofs.rs | constantine/src/fk20_proofs.rs | extern crate alloc;
use alloc::vec;
use alloc::vec::Vec;
use kzg::{FFTFr, Fr, G1Mul, Poly, FFTG1, G1};
use crate::types::fft_settings::CtFFTSettings;
use crate::types::fr::CtFr;
use crate::types::g1::CtG1;
use crate::types::poly::CtPoly;
#[cfg(feature = "parallel")]
use rayon::prelude::*;
impl CtFFTSettings {
... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/utils.rs | constantine/src/utils.rs | extern crate alloc;
use alloc::vec::Vec;
use kzg::common_utils::log2_pow2;
use kzg::eip_4844::{hash_to_bls_field, PrecomputationTableManager};
use kzg::eth::c_bindings::CKZGSettings;
use kzg::{eth, FFTSettings, Fr, G1Mul, G2Mul, FFTG1, G1, G2};
use crate::types::fft_settings::CtFFTSettings;
use crate::types::fp::CtF... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/fft_g1.rs | constantine/src/fft_g1.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use kzg::{Fr, G1Mul, FFTG1, G1};
use crate::types::fft_settings::CtFFTSettings;
use crate::types::fr::CtFr;
use crate::types::g1::CtG1;
pub fn fft_g1_fast(
ret: &mut [CtG1],
data: &[CtG1],
stride: usize,
roots: &[CtF... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/fft_fr.rs | constantine/src/fft_fr.rs | extern crate alloc;
use alloc::format;
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use kzg::{FFTFr, Fr};
use crate::types::fft_settings::CtFFTSettings;
use crate::types::fr::CtFr;
/// Fast Fourier Transform for finite field elements. Polynomial ret is operated on in reverse order: ret_i * x ^ (l... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/recovery.rs | constantine/src/recovery.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec::Vec;
use kzg::{FFTFr, Fr, PolyRecover, ZeroPoly};
use crate::types::fft_settings::CtFFTSettings;
use crate::types::fr::CtFr;
use crate::types::poly::CtPoly;
use once_cell::sync::OnceCell;
#[cfg(feature = "parallel")]
use rayon::prelude::*;
const SCALE_... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/mixed_kzg/mixed_kzg_settings.rs | constantine/src/mixed_kzg/mixed_kzg_settings.rs | use core::{marker::PhantomPinned, pin::Pin};
use std::path::Path;
use crate::types::{
fft_settings::CtFFTSettings,
fp::CtFp,
fr::CtFr,
g1::{CtG1, CtG1Affine, CtG1ProjAddAffine},
g2::CtG2,
kzg_settings::CtKZGSettings as GenericContext,
poly::CtPoly,
};
use constantine_core::Threadpool as Ctt... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/mixed_kzg/mod.rs | constantine/src/mixed_kzg/mod.rs | pub mod mixed_eip_4844;
pub mod mixed_kzg_settings;
| rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/mixed_kzg/mixed_eip_4844.rs | constantine/src/mixed_kzg/mixed_eip_4844.rs | use std::path::Path;
// use crate::
use crate::mixed_kzg::mixed_kzg_settings::MixedKzgSettings;
use crate::types::{fr::CtFr, g1::CtG1};
use kzg::eip_4844::{
blob_to_kzg_commitment_rust, compute_blob_kzg_proof_rust, compute_kzg_proof_rust,
verify_blob_kzg_proof_batch_rust, verify_blob_kzg_proof_rust, verify_k... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/types/fr.rs | constantine/src/types/fr.rs | //blst_fp = bls12_381_fp, CtG1 = CtG1, blst_p1 = bls12_381_g1_jac, blst_fr = bls12_381_fr
extern crate alloc;
use alloc::format;
use alloc::string::String;
use alloc::string::ToString;
use arbitrary::Arbitrary;
use constantine::ctt_codec_scalar_status;
use core::fmt::{Debug, Formatter};
use kzg::eip_4844::BYTES_PER_F... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/types/fk20_single_settings.rs | constantine/src/types/fk20_single_settings.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec::Vec;
use kzg::common_utils::reverse_bit_order;
use kzg::{FK20SingleSettings, Poly, FFTG1, G1};
use crate::types::fft_settings::CtFFTSettings;
use crate::types::fr::CtFr;
use crate::types::g1::CtG1;
use crate::types::g2::CtG2;
use crate::types::kzg_settin... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/types/kzg_settings.rs | constantine/src/types/kzg_settings.rs | extern crate alloc;
use alloc::string::String;
use alloc::sync::Arc;
use alloc::vec::Vec;
use kzg::eip_4844::{FIELD_ELEMENTS_PER_BLOB, TRUSTED_SETUP_NUM_G2_POINTS};
use kzg::eth::c_bindings::CKZGSettings;
use kzg::msm::precompute::{precompute, PrecomputationTable};
use kzg::{eth, FFTFr, FFTSettings, Fr, G1Mul, G2Mul,... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/types/g2.rs | constantine/src/types/g2.rs | extern crate alloc;
use alloc::format;
use alloc::string::String;
use alloc::string::ToString;
use constantine::ctt_codec_ecc_status;
use kzg::eip_4844::BYTES_PER_G2;
#[cfg(feature = "rand")]
use kzg::Fr;
use kzg::{G2Mul, G2};
use crate::consts::{G2_GENERATOR, G2_NEGATIVE_GENERATOR};
use crate::types::fr::CtFr;
use... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/types/poly.rs | constantine/src/types/poly.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use kzg::common_utils::{log2_pow2, log2_u64, next_pow_of_2};
use kzg::{FFTFr, FFTSettings, FFTSettingsPoly, Fr, Poly};
use crate::consts::SCALE_FACTOR;
use crate::types::fft_settings::CtFFTSettings;
use crate::types::fr::CtFr;
#[der... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/types/fft_settings.rs | constantine/src/types/fft_settings.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use kzg::common_utils::reverse_bit_order;
use kzg::{FFTSettings, Fr};
use crate::consts::SCALE2_ROOT_OF_UNITY;
use crate::types::fr::CtFr;
#[derive(Clone)]
pub struct CtFFTSettings {
pub max_width: usize,
pub root_of_unity: ... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/types/g1.rs | constantine/src/types/g1.rs | extern crate alloc;
use alloc::format;
use alloc::string::String;
use alloc::string::ToString;
use arbitrary::Arbitrary;
use constantine::ctt_codec_ecc_status;
use kzg::eth::c_bindings::blst_fp;
use kzg::eth::c_bindings::blst_p1;
use kzg::msm::precompute::PrecomputationTable;
use kzg::G1LinComb;
use core::{
fmt::... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/types/fp.rs | constantine/src/types/fp.rs | use constantine_sys as constantine;
use constantine_sys::bls12_381_fp;
use core::fmt::{Debug, Formatter};
use kzg::G1Fp;
#[repr(C)]
#[derive(Default, Clone, Copy)]
pub struct CtFp(pub bls12_381_fp);
impl PartialEq for CtFp {
fn eq(&self, other: &Self) -> bool {
unsafe { constantine::ctt_bls12_381_fp_is_eq... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/types/mod.rs | constantine/src/types/mod.rs | pub mod fft_settings;
pub mod fk20_multi_settings;
pub mod fk20_single_settings;
pub mod fp;
pub mod fr;
pub mod g1;
pub mod g2;
pub mod kzg_settings;
pub mod poly;
| rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/src/types/fk20_multi_settings.rs | constantine/src/types/fk20_multi_settings.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use kzg::common_utils::reverse_bit_order;
use kzg::{FK20MultiSettings, Poly, FFTG1, G1};
use crate::types::fft_settings::CtFFTSettings;
use crate::types::fr::CtFr;
use crate::types::g1::CtG1;
use crate::types::g2::CtG2;
use crate::ty... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/consts.rs | constantine/tests/consts.rs | // #[path = "./local_tests/local_consts.rs"]
// pub mod local_consts;
#[cfg(test)]
mod tests {
use kzg_bench::tests::consts::{
expand_roots_is_plausible, new_fft_settings_is_plausible, roots_of_unity_are_plausible,
roots_of_unity_is_the_expected_size, roots_of_unity_out_of_bounds_fails,
};
... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/das.rs | constantine/tests/das.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::das::{das_extension_test_known, das_extension_test_random};
use rust_kzg_constantine::types::fft_settings::CtFFTSettings;
use rust_kzg_constantine::types::fr::CtFr;
#[test]
fn das_extension_test_known_() {
das_extension_test_known::<CtFr, CtFFT... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/eip_4844.rs | constantine/tests/eip_4844.rs | #[cfg(test)]
mod tests {
use kzg::eip_4844::{
blob_to_kzg_commitment_rust, blob_to_polynomial, bytes_to_blob,
compute_blob_kzg_proof_rust, compute_challenge_rust, compute_kzg_proof_rust,
compute_powers, evaluate_polynomial_in_evaluation_form, verify_blob_kzg_proof_batch_rust,
verify_... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/kzg_proofs.rs | constantine/tests/kzg_proofs.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::kzg_proofs::{
commit_to_nil_poly, commit_to_too_long_poly_returns_err, proof_multi, proof_single,
trusted_setup_in_correct_form,
};
use rust_kzg_constantine::{eip_7594::CtBackend, utils::generate_trusted_setup};
#[test]
pub fn test_tr... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/eip_7594.rs | constantine/tests/eip_7594.rs | #[cfg(test)]
mod tests {
use kzg::eip_4844::bytes_to_blob;
use kzg_bench::tests::eip_7594::{
test_vectors_compute_cells, test_vectors_compute_cells_and_kzg_proofs,
test_vectors_compute_verify_cell_kzg_proof_batch_challenge,
test_vectors_recover_cells_and_kzg_proofs, test_vectors_verify_c... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/poly.rs | constantine/tests/poly.rs | // #[path = "./local_tests/local_poly.rs"]
// pub mod local_poly;
#[cfg(test)]
mod tests {
use kzg_bench::tests::poly::{
create_poly_of_length_ten, poly_div_by_zero, poly_div_fast_test, poly_div_long_test,
poly_div_random, poly_eval_0_check, poly_eval_check, poly_eval_nil_check,
poly_invers... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/zero_poly.rs | constantine/tests/zero_poly.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::zero_poly::{
check_test_data, reduce_partials_random, test_reduce_partials, zero_poly_252,
zero_poly_all_but_one, zero_poly_known, zero_poly_random,
};
use rust_kzg_constantine::types::fft_settings::CtFFTSettings;
use rust_kzg_constantine::t... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/bls12_381.rs | constantine/tests/bls12_381.rs | #[cfg(test)]
mod tests {
use kzg::common_utils::log_2_byte;
use kzg_bench::tests::bls12_381::{
fr_div_by_zero, fr_div_works, fr_equal_works, fr_from_uint64_works, fr_is_null_works,
fr_is_one_works, fr_is_zero_works, fr_negate_works, fr_pow_works, fr_uint64s_roundtrip,
g1_identity_is_iden... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/fk20_proofs.rs | constantine/tests/fk20_proofs.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::fk20_proofs::*;
use rust_kzg_constantine::eip_7594::CtBackend;
use rust_kzg_constantine::types::fk20_multi_settings::CtFK20MultiSettings;
use rust_kzg_constantine::types::fk20_single_settings::CtFK20SingleSettings;
use rust_kzg_constantine::utils::gener... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/mod.rs | constantine/tests/mod.rs | pub mod local_tests;
| rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/c_bindings.rs | constantine/tests/c_bindings.rs | #[cfg(all(test, feature = "c_bindings"))]
mod tests {
use kzg_bench::tests::c_bindings::{
blob_to_kzg_commitment_invalid_blob_test,
compute_blob_kzg_proof_commitment_is_point_at_infinity_test,
compute_blob_kzg_proof_invalid_blob_test, free_trusted_setup_null_ptr_test,
free_trusted_se... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/fft_g1.rs | constantine/tests/fft_g1.rs | #[cfg(test)]
mod tests {
use kzg::G1;
use kzg_bench::tests::fft_g1::{compare_ft_fft, roundtrip_fft, stride_fft};
use rust_kzg_constantine::consts::G1_GENERATOR;
use rust_kzg_constantine::fft_g1::{fft_g1_fast, fft_g1_slow};
use rust_kzg_constantine::types::fft_settings::CtFFTSettings;
use rust_kz... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/fft_fr.rs | constantine/tests/fft_fr.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::fft_fr::{compare_sft_fft, inverse_fft, roundtrip_fft, stride_fft};
use rust_kzg_constantine::fft_fr::{fft_fr_fast, fft_fr_slow};
use rust_kzg_constantine::types::fft_settings::CtFFTSettings;
use rust_kzg_constantine::types::fr::CtFr;
#[test]
fn com... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/recovery.rs | constantine/tests/recovery.rs | // #[path = "./local_tests/local_recovery.rs"]
// pub mod local_recovery;
#[cfg(test)]
mod tests {
use kzg_bench::tests::recover::*;
// uncomment to use the local tests
//use crate::local_recovery::{recover_random, recover_simple};
use rust_kzg_constantine::types::fft_settings::CtFFTSettings;
use ... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/batch_adder.rs | constantine/tests/batch_adder.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::msm::batch_adder::{
test_batch_add, test_batch_add_indexed, test_batch_add_indexed_single_bucket,
test_batch_add_step_n, test_phase_one_p_add_p, test_phase_one_p_add_q,
test_phase_one_p_add_q_twice, test_phase_one_zero_or_neg, test_phase_two_p_a... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/eip_4844_constantine.rs | constantine/tests/eip_4844_constantine.rs | // EIP_4844 Tests, but using constantine binding functions
// Some tests are disabled because they rely on data that is not possible to pull from constantine
#[cfg(test)]
mod tests {
use kzg::eip_4844::{
blob_to_polynomial, bytes_to_blob, compute_powers, evaluate_polynomial_in_evaluation_form,
};
u... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/local_tests/local_recovery.rs | constantine/tests/local_tests/local_recovery.rs | use kzg::{FFTFr, FFTSettings, Fr, Poly, PolyRecover};
use rand::rngs::StdRng;
use rand::{RngCore, SeedableRng};
use std::convert::TryInto;
fn shuffle(a: &mut [usize], n: usize) {
let mut i: u64 = n as u64;
let mut j: usize;
let mut tmp: usize;
let mut rng = StdRng::seed_from_u64(0);
while i > 0 {
... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/local_tests/local_poly.rs | constantine/tests/local_tests/local_poly.rs | use kzg::{Fr, Poly};
use rand::rngs::StdRng;
use rand::{RngCore, SeedableRng};
use rust_kzg_constantine::types::fr::CtFr;
use rust_kzg_constantine::types::poly::CtPoly;
pub fn create_poly_of_length_ten() {
let poly = CtPoly::new(10);
assert_eq!(poly.len(), 10);
}
pub fn poly_pad_works_rand() {
let mut rn... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/local_tests/mod.rs | constantine/tests/local_tests/mod.rs | pub mod local_consts;
pub mod local_poly;
pub mod local_recovery;
| rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/tests/local_tests/local_consts.rs | constantine/tests/local_tests/local_consts.rs | use kzg::{FFTSettings, Fr};
pub fn roots_of_unity_repeat_at_stride<TFr: Fr, TFFTSettings: FFTSettings<TFr>>() {
let fs1 = TFFTSettings::new(15).unwrap();
let fs2 = TFFTSettings::new(16).unwrap();
let fs3 = TFFTSettings::new(17).unwrap();
for i in 0..fs1.get_max_width() {
assert!(fs1
... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/benches/das.rs | constantine/benches/das.rs | use criterion::{criterion_group, criterion_main, Criterion};
use kzg_bench::benches::das::bench_das_extension;
use rust_kzg_constantine::types::fft_settings::CtFFTSettings;
use rust_kzg_constantine::types::fr::CtFr;
fn bench_das_extension_(c: &mut Criterion) {
bench_das_extension::<CtFr, CtFFTSettings>(c)
}
crite... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/benches/eip_4844_constantine_no_conv.rs | constantine/benches/eip_4844_constantine_no_conv.rs | // Same as eip_4844.rs, but using constantine implementations of verification functions
use std::path::Path;
use criterion::{criterion_group, criterion_main};
use criterion::{BatchSize, BenchmarkId, Criterion, Throughput};
use kzg::eip_4844::{BYTES_PER_BLOB, TRUSTED_SETUP_PATH};
use kzg_bench::set_trusted_setup_dir... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/benches/eip_4844.rs | constantine/benches/eip_4844.rs | use criterion::{criterion_group, criterion_main, Criterion};
use kzg::eip_4844::{
blob_to_kzg_commitment_rust, bytes_to_blob, compute_blob_kzg_proof_rust,
compute_kzg_proof_rust, verify_blob_kzg_proof_batch_rust, verify_blob_kzg_proof_rust,
verify_kzg_proof_rust,
};
use kzg_bench::benches::eip_4844::bench_e... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/benches/poly.rs | constantine/benches/poly.rs | use criterion::{criterion_group, criterion_main, Criterion};
use kzg_bench::benches::poly::bench_new_poly_div;
use rust_kzg_constantine::types::fr::CtFr;
use rust_kzg_constantine::types::poly::CtPoly;
fn bench_new_poly_div_(c: &mut Criterion) {
bench_new_poly_div::<CtFr, CtPoly>(c);
}
criterion_group! {
name ... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/benches/zero_poly.rs | constantine/benches/zero_poly.rs | use criterion::{criterion_group, criterion_main, Criterion};
use kzg_bench::benches::zero_poly::bench_zero_poly;
use rust_kzg_constantine::types::{fft_settings::CtFFTSettings, fr::CtFr, poly::CtPoly};
fn bench_zero_poly_(c: &mut Criterion) {
bench_zero_poly::<CtFr, CtFFTSettings, CtPoly>(c);
}
criterion_group! {
... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/benches/kzg.rs | constantine/benches/kzg.rs | use criterion::{criterion_group, criterion_main, Criterion};
use kzg_bench::benches::kzg::{bench_commit_to_poly, bench_compute_proof_single};
use rust_kzg_constantine::eip_7594::CtBackend;
use rust_kzg_constantine::utils::generate_trusted_setup;
fn bench_commit_to_poly_(c: &mut Criterion) {
bench_commit_to_poly::<... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/benches/lincomb.rs | constantine/benches/lincomb.rs | use criterion::{criterion_group, criterion_main, Criterion};
use kzg_bench::benches::lincomb::bench_g1_lincomb;
use rust_kzg_constantine::kzg_proofs::g1_linear_combination;
use rust_kzg_constantine::types::fp::CtFp;
use rust_kzg_constantine::types::fr::CtFr;
use rust_kzg_constantine::types::g1::{CtG1, CtG1Affine, CtG1P... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/benches/fk_20.rs | constantine/benches/fk_20.rs | use criterion::{criterion_group, criterion_main, Criterion};
use kzg_bench::benches::fk20::{bench_fk_multi_da, bench_fk_single_da};
use rust_kzg_constantine::eip_7594::CtBackend;
use rust_kzg_constantine::types::fk20_multi_settings::CtFK20MultiSettings;
use rust_kzg_constantine::types::fk20_single_settings::CtFK20Sing... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/benches/eip_4844_constantine.rs | constantine/benches/eip_4844_constantine.rs | // Same as eip_4844.rs, but using constantine implementations of verification functions
use criterion::{criterion_group, criterion_main, Criterion};
use kzg::eip_4844::bytes_to_blob;
use kzg_bench::benches::eip_4844::bench_eip_4844;
use rust_kzg_constantine::{
mixed_kzg::{
mixed_eip_4844::{
blo... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/benches/recover.rs | constantine/benches/recover.rs | use criterion::{criterion_group, criterion_main, Criterion};
use kzg_bench::benches::recover::bench_recover;
use rust_kzg_constantine::types::{fft_settings::CtFFTSettings, fr::CtFr, poly::CtPoly};
pub fn bench_recover_(c: &mut Criterion) {
bench_recover::<CtFr, CtFFTSettings, CtPoly, CtPoly>(c)
}
criterion_group!... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/constantine/benches/fft.rs | constantine/benches/fft.rs | use criterion::{criterion_group, criterion_main, Criterion};
use kzg_bench::benches::fft::{bench_fft_fr, bench_fft_g1};
use rust_kzg_constantine::types::fft_settings::CtFFTSettings;
use rust_kzg_constantine::types::fr::CtFr;
use rust_kzg_constantine::types::g1::CtG1;
fn bench_fft_fr_(c: &mut Criterion) {
bench_fft... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/rust-eth-kzg-benches/src/lib.rs | rust-eth-kzg-benches/src/lib.rs | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false | |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/rust-eth-kzg-benches/benches/trusted_setup.rs | rust-eth-kzg-benches/benches/trusted_setup.rs | use criterion::{criterion_group, criterion_main, Criterion};
use rust_eth_kzg::{DASContext, TrustedSetup, UsePrecomp};
fn bench_load_trusted_setup(c: &mut Criterion) {
c.bench_function("load_trusted_setup", |b| {
b.iter(|| {
let trusted_setup = TrustedSetup::default();
#[cfg(featur... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/rust-eth-kzg-benches/benches/eip_7594.rs | rust-eth-kzg-benches/benches/eip_7594.rs | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use kzg_bench::benches::eip_7594::get_partial_cells;
use kzg_bench::tests::eip_4844::generate_random_blob_bytes;
use rust_eth_kzg::constants::CELLS_PER_EXT_BLOB;
use rust_eth_kzg::UsePrecomp;
use rust_eth_kzg::{DASContext, TrustedSetup};
fn benc... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/fk20_fft.rs | mcl/src/fk20_fft.rs | use kzg::common_utils::{is_power_of_2, next_pow_of_2, reverse_bit_order};
use crate::data_types::{fp::*, fr::*, g1::*};
use std::iter;
// MODULUS = 52435875175126190479447740508185965837690552500527637822603658699938581184513
// PRIMITIVE_ROOT = 5
// [pow(PRIMITIVE_ROOT, (MODULUS - 1) // (2**i), MODULUS) for i in ran... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/consts.rs | mcl/src/consts.rs | use crate::mcl_methods::{mcl_fp, mcl_fp2, mcl_g1, mcl_g2};
use crate::types::g1::MclG1;
use crate::types::g2::MclG2;
pub const G1_IDENTITY: MclG1 = MclG1::from_xyz(
mcl_fp { d: [0; 6] },
mcl_fp { d: [0; 6] },
mcl_fp { d: [0; 6] },
);
pub const SCALE_FACTOR: u64 = 5;
pub const NUM_ROOTS: usize = 32;
/// T... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/das.rs | mcl/src/das.rs | use kzg::common_utils::is_power_of_2;
use crate::data_types::fr::Fr;
use crate::fk20_fft::*;
impl FFTSettings {
pub fn das_fft_extension(&self, values: &mut [Fr]) -> Result<(), String> {
if values.is_empty() {
return Err(String::from("Values cannot be empty"));
}
if !is_power_o... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/lib.rs | mcl/src/lib.rs | #![cfg_attr(not(feature = "std"), no_std)]
pub mod consts;
pub mod data_availability_sampling;
pub mod eip_4844;
pub mod eip_7594;
pub mod fft_fr;
pub mod fft_g1;
pub mod fk20_proofs;
pub mod kzg_proofs;
pub mod mcl_methods;
pub mod recovery;
pub mod types;
pub mod utils;
pub mod zero_poly;
| rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/eip_4844.rs | mcl/src/eip_4844.rs | extern crate alloc;
#[cfg(feature = "c_bindings")]
use alloc::{boxed::Box, vec::Vec};
#[cfg(feature = "c_bindings")]
use core::ptr;
use kzg::eip_4844::load_trusted_setup_rust;
#[cfg(feature = "c_bindings")]
use kzg::{
eip_4844::{
BYTES_PER_G1, FIELD_ELEMENTS_PER_BLOB, TRUSTED_SETUP_NUM_G1_POINTS,
T... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/kzg_proofs.rs | mcl/src/kzg_proofs.rs | extern crate alloc;
use crate::mcl_methods::{mcl_gt, pairing};
use crate::types::fp::MclFp;
use crate::types::g1::{MclG1, MclG1ProjAddAffine};
use crate::types::{fr::MclFr, g1::MclG1Affine};
use kzg::msm::{msm_impls::msm, precompute::PrecomputationTable};
use crate::types::g2::MclG2;
use kzg::PairingVerify;
impl P... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/kzg_settings.rs | mcl/src/kzg_settings.rs | use crate::data_types::{fr::Fr, g1::G1, g2::G2};
use crate::fk20_fft::FFTSettings;
use crate::kzg10::Curve;
use crate::kzg10::Polynomial;
use kzg::common_utils::is_power_of_2;
#[derive(Debug, Clone, Default)]
pub struct KZGSettings {
pub fft_settings: FFTSettings,
pub curve: Curve,
}
impl KZGSettings {
pu... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/eip_7594.rs | mcl/src/eip_7594.rs | extern crate alloc;
use kzg::EcBackend;
use crate::types::fft_settings::MclFFTSettings;
use crate::types::fp::MclFp;
use crate::types::g1::MclG1;
use crate::types::g1::MclG1Affine;
use crate::types::g1::MclG1ProjAddAffine;
use crate::types::g2::MclG2;
use crate::types::kzg_settings::MclKZGSettings;
use crate::types::... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/zero_poly.rs | mcl/src/zero_poly.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use core::cmp::{min, Ordering};
use kzg::{common_utils::next_pow_of_2, FFTFr, Fr, ZeroPoly};
use crate::types::fft_settings::MclFFTSettings;
use crate::types::fr::MclFr;
use crate::types::poly::MclPoly;
#[cfg(feature = "parallel")]
... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/data_availability_sampling.rs | mcl/src/data_availability_sampling.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec::Vec;
use core::cmp::Ordering;
use kzg::{DASExtension, Fr};
use crate::types::fft_settings::MclFFTSettings;
use crate::types::fr::MclFr;
// TODO: explain algo
impl MclFFTSettings {
pub fn das_fft_extension_stride(&self, evens: &mut [MclFr], stride: u... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/fk20_proofs.rs | mcl/src/fk20_proofs.rs | extern crate alloc;
use alloc::vec;
use alloc::vec::Vec;
use kzg::{FFTFr, Fr, G1Mul, Poly, FFTG1, G1};
use crate::types::fft_settings::MclFFTSettings;
use crate::types::fr::MclFr;
use crate::types::g1::MclG1;
use crate::types::poly::MclPoly;
#[cfg(feature = "parallel")]
use rayon::prelude::*;
impl MclFFTSettings {... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/utils.rs | mcl/src/utils.rs | extern crate alloc;
use alloc::vec::Vec;
use kzg::common_utils::log2_pow2;
use kzg::eip_4844::{hash_to_bls_field, PrecomputationTableManager};
use kzg::{FFTSettings, Fr, G1Mul, G2Mul, FFTG1, G1, G2};
use crate::types::fft_settings::MclFFTSettings;
use crate::types::fp::MclFp;
use crate::types::fr::MclFr;
use crate::... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/mcl_methods.rs | mcl/src/mcl_methods.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec::Vec;
use core::mem::MaybeUninit;
use core::ops::{Add, AddAssign};
use core::ops::{Div, DivAssign};
use core::ops::{Mul, MulAssign};
use core::ops::{Sub, SubAssign};
use core::primitive::str;
use once_cell::sync::OnceCell;
#[link(name = "mcl", kind = "stat... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/fft_g1.rs | mcl/src/fft_g1.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use kzg::{Fr, G1Mul, FFTG1, G1};
use crate::types::fft_settings::MclFFTSettings;
use crate::types::fr::MclFr;
use crate::types::g1::MclG1;
pub fn fft_g1_fast(
ret: &mut [MclG1],
data: &[MclG1],
stride: usize,
roots: ... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/kzg10.rs | mcl/src/kzg10.rs | use crate::data_types::{fr::*, g1::*, g2::*, gt::*};
use crate::fk20_fft::{FFTSettings, G1_GENERATOR};
use crate::mcl_methods::{final_exp, mclBn_FrEvaluatePolynomial, pairing};
use kzg::common_utils::{log_2, next_pow_of_2};
use std::{cmp::min, iter, ops};
#[cfg(feature = "parallel")]
use rayon::prelude::{IntoParallelR... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/fft_fr.rs | mcl/src/fft_fr.rs | extern crate alloc;
use alloc::format;
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use kzg::{FFTFr, Fr};
use crate::types::fft_settings::MclFFTSettings;
use crate::types::fr::MclFr;
/// Fast Fourier Transform for finite field elements. Polynomial ret is operated on in reverse order: ret_i * x ^ ... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/recovery.rs | mcl/src/recovery.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec::Vec;
use kzg::{FFTFr, Fr, PolyRecover, ZeroPoly};
use crate::types::fft_settings::MclFFTSettings;
use crate::types::fr::MclFr;
use crate::types::poly::MclPoly;
use once_cell::sync::OnceCell;
#[cfg(feature = "parallel")]
use rayon::prelude::*;
const SCA... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/fk20_matrix.rs | mcl/src/fk20_matrix.rs | use crate::data_types::fr::Fr;
use crate::data_types::g1::G1;
use crate::fk20_fft::*;
use crate::kzg10::*;
use crate::kzg_settings::KZGSettings;
use std::iter;
use kzg::common_utils::is_power_of_2;
use kzg::common_utils::reverse_bit_order;
#[cfg(feature = "parallel")]
use rayon::prelude::*;
impl FFTSettings {
pub... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/types/fr.rs | mcl/src/types/fr.rs | extern crate alloc;
use alloc::format;
use alloc::string::String;
use alloc::string::ToString;
use arbitrary::Arbitrary;
use blst::blst_fr;
use blst::blst_fr_from_uint64;
use blst::blst_scalar;
use blst::blst_scalar_from_fr;
use blst::blst_uint64_from_fr;
use crate::mcl_methods::mcl_fr;
use crate::mcl_methods::try_in... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/types/fk20_single_settings.rs | mcl/src/types/fk20_single_settings.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec::Vec;
use kzg::common_utils::reverse_bit_order;
use kzg::{FK20SingleSettings, Poly, FFTG1, G1};
use crate::types::fft_settings::MclFFTSettings;
use crate::types::fr::MclFr;
use crate::types::g1::MclG1;
use crate::types::g2::MclG2;
use crate::types::kzg_se... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/types/kzg_settings.rs | mcl/src/types/kzg_settings.rs | extern crate alloc;
use alloc::string::{String, ToString};
use alloc::sync::Arc;
use alloc::{vec, vec::Vec};
use kzg::eth::c_bindings::CKZGSettings;
use kzg::eth::{self, FIELD_ELEMENTS_PER_EXT_BLOB};
use kzg::msm::precompute::{precompute, PrecomputationTable};
use kzg::{FFTFr, FFTSettings, Fr, G1Mul, G2Mul, KZGSettin... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/types/g2.rs | mcl/src/types/g2.rs | extern crate alloc;
use alloc::format;
use alloc::string::String;
use alloc::string::ToString;
use kzg::eip_4844::BYTES_PER_G2;
#[cfg(feature = "rand")]
use kzg::Fr;
use kzg::{G2Mul, G2};
use crate::consts::{G2_GENERATOR, G2_NEGATIVE_GENERATOR};
use crate::mcl_methods::mcl_fp;
use crate::mcl_methods::mcl_fp2;
use cr... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/types/poly.rs | mcl/src/types/poly.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use kzg::common_utils::{log2_pow2, log2_u64, next_pow_of_2};
use kzg::{FFTFr, FFTSettings, FFTSettingsPoly, Fr, Poly};
use crate::consts::SCALE_FACTOR;
use crate::types::fft_settings::MclFFTSettings;
use crate::types::fr::MclFr;
#[d... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/types/fft_settings.rs | mcl/src/types/fft_settings.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use kzg::common_utils::reverse_bit_order;
use kzg::{FFTSettings, Fr};
use crate::consts::SCALE2_ROOT_OF_UNITY;
use crate::types::fr::MclFr;
#[derive(Debug, Clone)]
pub struct MclFFTSettings {
pub max_width: usize,
pub root_o... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/types/g1.rs | mcl/src/types/g1.rs | extern crate alloc;
use core::hash::Hash;
use core::ops::Add;
use core::ops::Sub;
use alloc::borrow::ToOwned;
use alloc::format;
use alloc::string::String;
use alloc::string::ToString;
use arbitrary::Arbitrary;
use blst::blst_fp;
use blst::blst_p1;
use blst::blst_p1_affine;
use blst::blst_p1_in_g1;
use blst::BLST_ER... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/types/fp.rs | mcl/src/types/fp.rs | use kzg::G1Fp;
use crate::mcl_methods::{mclBnFp_add, mclBnFp_mul, mclBnFp_neg, mcl_fp, try_init_mcl};
#[repr(C)]
#[derive(Debug, Default, Clone, Copy, Eq, PartialEq)]
pub struct MclFp(pub mcl_fp);
impl G1Fp for MclFp {
fn one() -> Self {
try_init_mcl();
Self(mcl_fp {
d: [
... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/types/mod.rs | mcl/src/types/mod.rs | pub mod fft_settings;
pub mod fk20_multi_settings;
pub mod fk20_single_settings;
pub mod fp;
pub mod fr;
pub mod g1;
pub mod g2;
pub mod kzg_settings;
pub mod poly;
| rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/types/fk20_multi_settings.rs | mcl/src/types/fk20_multi_settings.rs | extern crate alloc;
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use kzg::common_utils::reverse_bit_order;
use kzg::{FK20MultiSettings, Poly, FFTG1, G1};
use crate::types::fft_settings::MclFFTSettings;
use crate::types::fr::MclFr;
use crate::types::g1::MclG1;
use crate::types::g2::MclG2;
use crate... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/trait_implementations/kzg_settings.rs | mcl/src/trait_implementations/kzg_settings.rs | use crate::data_types::{fr::Fr, g1::G1, g2::G2};
use crate::fk20_fft::FFTSettings;
use crate::kzg10::Polynomial;
use crate::kzg_settings::KZGSettings;
use kzg::KZGSettings as CommonKZGSettings;
impl CommonKZGSettings<Fr, G1, G2, FFTSettings, Polynomial> for KZGSettings {
fn new(
secret_g1: &[G1],
s... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/src/trait_implementations/fft_settings.rs | mcl/src/trait_implementations/fft_settings.rs | use crate::data_types::fr::Fr;
use crate::fk20_fft::{FFTSettings, SCALE_2_ROOT_OF_UNITY_PR7_STRINGS};
use kzg::FFTSettings as CommonFFTSettings;
impl CommonFFTSettings<Fr> for FFTSettings {
fn new(scale: usize) -> Result<FFTSettings, String> {
//currently alawys use PR 7 for shared tests
FFTSetting... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/consts.rs | mcl/tests/consts.rs | // #[path = "./local_tests/local_consts.rs"]
// pub mod local_consts;
#[cfg(test)]
mod tests {
use kzg_bench::tests::consts::{
expand_roots_is_plausible, new_fft_settings_is_plausible, roots_of_unity_are_plausible,
roots_of_unity_is_the_expected_size, roots_of_unity_out_of_bounds_fails,
};
... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/das.rs | mcl/tests/das.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::das::{das_extension_test_known, das_extension_test_random};
use rust_kzg_mcl::types::fft_settings::MclFFTSettings;
use rust_kzg_mcl::types::fr::MclFr;
#[test]
fn das_extension_test_known_() {
das_extension_test_known::<MclFr, MclFFTSettings>();... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/eip_4844.rs | mcl/tests/eip_4844.rs | #[cfg(test)]
mod tests {
use kzg::eip_4844::{
blob_to_kzg_commitment_rust, blob_to_polynomial, bytes_to_blob,
compute_blob_kzg_proof_rust, compute_challenge_rust, compute_kzg_proof_rust,
compute_powers, evaluate_polynomial_in_evaluation_form, verify_blob_kzg_proof_batch_rust,
verify_... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/kzg_proofs.rs | mcl/tests/kzg_proofs.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::kzg_proofs::{
commit_to_nil_poly, commit_to_too_long_poly_returns_err, proof_multi, proof_single,
trusted_setup_in_correct_form,
};
use rust_kzg_mcl::eip_7594::MclBackend;
use rust_kzg_mcl::utils::generate_trusted_setup;
#[test]
pu... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/eip_7594.rs | mcl/tests/eip_7594.rs | #[cfg(test)]
mod tests {
use kzg::{
eip_4844::{blob_to_kzg_commitment_rust, bytes_to_blob},
eth, DAS,
};
use kzg_bench::tests::{
eip_4844::generate_random_blob_bytes,
eip_7594::{
test_vectors_compute_cells, test_vectors_compute_cells_and_kzg_proofs,
te... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/poly.rs | mcl/tests/poly.rs | // #[path = "./local_tests/local_poly.rs"]
// pub mod local_poly;
#[cfg(test)]
mod tests {
use kzg_bench::tests::poly::{
create_poly_of_length_ten, poly_div_by_zero, poly_div_fast_test, poly_div_long_test,
poly_div_random, poly_eval_0_check, poly_eval_check, poly_eval_nil_check,
poly_invers... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/zero_poly.rs | mcl/tests/zero_poly.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::zero_poly::{
check_test_data, reduce_partials_random, test_reduce_partials, zero_poly_252,
zero_poly_all_but_one, zero_poly_known, zero_poly_random,
};
use rust_kzg_mcl::types::fft_settings::MclFFTSettings;
use rust_kzg_mcl::types::fr::MclFr... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/bls12_381.rs | mcl/tests/bls12_381.rs | #[cfg(test)]
mod tests {
use kzg::common_utils::log_2_byte;
use kzg_bench::tests::bls12_381::{
fr_div_by_zero, fr_div_works, fr_equal_works, fr_from_uint64_works, fr_is_null_works,
fr_is_one_works, fr_is_zero_works, fr_negate_works, fr_pow_works, fr_uint64s_roundtrip,
g1_identity_is_iden... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/fk20_proofs.rs | mcl/tests/fk20_proofs.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::fk20_proofs::*;
use rust_kzg_mcl::eip_7594::MclBackend;
use rust_kzg_mcl::types::fk20_multi_settings::MclFK20MultiSettings;
use rust_kzg_mcl::types::fk20_single_settings::MclFK20SingleSettings;
use rust_kzg_mcl::utils::generate_trusted_setup;
#[tes... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/mod.rs | mcl/tests/mod.rs | pub mod local_tests;
| rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/c_bindings.rs | mcl/tests/c_bindings.rs | #[cfg(all(test, feature = "c_bindings"))]
mod tests {
use kzg_bench::tests::c_bindings::{
blob_to_kzg_commitment_invalid_blob_test,
compute_blob_kzg_proof_commitment_is_point_at_infinity_test,
compute_blob_kzg_proof_invalid_blob_test, free_trusted_setup_null_ptr_test,
free_trusted_se... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/fft_g1.rs | mcl/tests/fft_g1.rs | #[cfg(test)]
mod tests {
use kzg::G1;
use kzg_bench::tests::fft_g1::{compare_ft_fft, roundtrip_fft, stride_fft};
use rust_kzg_mcl::consts::G1_GENERATOR;
use rust_kzg_mcl::fft_g1::{fft_g1_fast, fft_g1_slow};
use rust_kzg_mcl::types::fft_settings::MclFFTSettings;
use rust_kzg_mcl::types::fr::MclFr... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/fft_fr.rs | mcl/tests/fft_fr.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::fft_fr::{compare_sft_fft, inverse_fft, roundtrip_fft, stride_fft};
use rust_kzg_mcl::fft_fr::{fft_fr_fast, fft_fr_slow};
use rust_kzg_mcl::types::fft_settings::MclFFTSettings;
use rust_kzg_mcl::types::fr::MclFr;
#[test]
fn compare_sft_fft_() {
... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/recovery.rs | mcl/tests/recovery.rs | // #[path = "./local_tests/local_recovery.rs"]
// pub mod local_recovery;
#[cfg(test)]
mod tests {
use kzg_bench::tests::recover::*;
// uncomment to use the local tests
//use crate::local_recovery::{recover_random, recover_simple};
use rust_kzg_mcl::types::fft_settings::MclFFTSettings;
use rust_kz... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/batch_adder.rs | mcl/tests/batch_adder.rs | #[cfg(test)]
mod tests {
use kzg_bench::tests::msm::batch_adder::{
test_batch_add, test_batch_add_indexed, test_batch_add_indexed_single_bucket,
test_batch_add_step_n, test_phase_one_p_add_p, test_phase_one_p_add_q,
test_phase_one_p_add_q_twice, test_phase_one_zero_or_neg, test_phase_two_p_a... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/local_tests/local_recovery.rs | mcl/tests/local_tests/local_recovery.rs | use kzg::{FFTFr, FFTSettings, Fr, Poly, PolyRecover};
use rand::rngs::StdRng;
use rand::{RngCore, SeedableRng};
use std::convert::TryInto;
fn shuffle(a: &mut [usize], n: usize) {
let mut i: u64 = n as u64;
let mut j: usize;
let mut tmp: usize;
let mut rng = StdRng::seed_from_u64(0);
while i > 0 {
... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/local_tests/local_poly.rs | mcl/tests/local_tests/local_poly.rs | use kzg::{Fr, Poly};
use rand::rngs::StdRng;
use rand::{RngCore, SeedableRng};
use rust_kzg_mcl::types::fr::MclFr;
use rust_kzg_mcl::types::poly::MclPoly;
pub fn create_poly_of_length_ten() {
let poly = MclPoly::new(10);
assert_eq!(poly.len(), 10);
}
pub fn poly_pad_works_rand() {
let mut rng = StdRng::s... | rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
grandinetech/rust-kzg | https://github.com/grandinetech/rust-kzg/blob/d47acbdf587753f466a5e6842395e03930ae1f96/mcl/tests/local_tests/mod.rs | mcl/tests/local_tests/mod.rs | pub mod local_consts;
pub mod local_poly;
pub mod local_recovery;
| rust | Apache-2.0 | d47acbdf587753f466a5e6842395e03930ae1f96 | 2026-01-04T20:22:26.256259Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.