arnaucube
arnaucube/plonky2-u32Public Self-hosted repository
Switch to 0xPARC fork of Plonky2
Ahmad root@ahmadafuni.com
Fri, 25 Jul 2025 10:18:38 +1000
commit

b187b9c125d2d7f531606944442f0626e4dd2d6d

parent

a18e7906c6da5bb04a301b6f4ee6e9b874519385

M .github/workflows/continuous-integration.yml → .github/workflows/continuous-integration.yml

@@ -6,9 +6,6 @@ branches: [main]

pull_request: branches: - "**" - workflow_dispatch: - branches: - - "**" jobs: test:
M Cargo.toml → Cargo.toml

@@ -10,8 +10,8 @@ [dependencies]

anyhow = { version = "1.0.40", default-features = false } itertools = { version = "0.10.0", default-features = false } num = { version = "0.4", default-features = false } -plonky2 = { git = "https://github.com/0xPolygonZero/plonky2" } +plonky2 = { git = "https://github.com/0xPARC/plonky2" } [dev-dependencies] rand = { version = "0.8.4", default-features = false, features = ["getrandom"] } -plonky2 = { git = "https://github.com/0xPolygonZero/plonky2" } +plonky2 = { git = "https://github.com/0xPARC/plonky2" }
M src/gadgets/arithmetic_u32.rs → src/gadgets/arithmetic_u32.rs

@@ -235,7 +235,7 @@ (output_result, output_borrow)

} } -#[derive(Debug)] +#[derive(Clone, Debug)] struct SplitToU32Generator<F: RichField + Extendable<D>, const D: usize> { x: Target, low: U32Target,
M src/gates/comparison.rs → src/gates/comparison.rs

@@ -414,7 +414,7 @@ yield_constr.one(result_bool - most_significant_diff_bits[self.chunk_bits()]);

} } -#[derive(Debug)] +#[derive(Clone, Debug)] struct ComparisonGenerator<F: RichField + Extendable<D>, const D: usize> { row: usize, gate: ComparisonGate<F, D>,
M src/gates/range_check_u32.rs → src/gates/range_check_u32.rs

@@ -176,7 +176,7 @@ self.num_input_limbs * (1 + self.aux_limbs_per_input_limb())

} } -#[derive(Debug)] +#[derive(Clone, Debug)] pub struct U32RangeCheckGenerator<F: RichField + Extendable<D>, const D: usize> { gate: U32RangeCheckGate<F, D>, row: usize,