Switch to 0xPARC fork of Plonky2

This commit is contained in:
Ahmad
2025-07-25 10:18:38 +10:00
parent a18e7906c6
commit b187b9c125
5 changed files with 5 additions and 8 deletions

View File

@@ -6,9 +6,6 @@ on:
pull_request:
branches:
- "**"
workflow_dispatch:
branches:
- "**"
jobs:
test:

View File

@@ -10,8 +10,8 @@ edition = "2021"
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" }

View File

@@ -235,7 +235,7 @@ impl<F: RichField + Extendable<D>, const D: usize> CircuitBuilderU32<F, D>
}
}
#[derive(Debug)]
#[derive(Clone, Debug)]
struct SplitToU32Generator<F: RichField + Extendable<D>, const D: usize> {
x: Target,
low: U32Target,

View File

@@ -414,7 +414,7 @@ impl<F: RichField + Extendable<D>, const D: usize> PackedEvaluableBase<F, D>
}
}
#[derive(Debug)]
#[derive(Clone, Debug)]
struct ComparisonGenerator<F: RichField + Extendable<D>, const D: usize> {
row: usize,
gate: ComparisonGate<F, D>,

View File

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