mirror of
https://github.com/arnaucube/plonky2-u32.git
synced 2026-02-09 20:56:46 +01:00
Switch to 0xPARC fork of Plonky2
This commit is contained in:
3
.github/workflows/continuous-integration.yml
vendored
3
.github/workflows/continuous-integration.yml
vendored
@@ -6,9 +6,6 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- "**"
|
- "**"
|
||||||
workflow_dispatch:
|
|
||||||
branches:
|
|
||||||
- "**"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ edition = "2021"
|
|||||||
anyhow = { version = "1.0.40", default-features = false }
|
anyhow = { version = "1.0.40", default-features = false }
|
||||||
itertools = { version = "0.10.0", default-features = false }
|
itertools = { version = "0.10.0", default-features = false }
|
||||||
num = { version = "0.4", 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]
|
[dev-dependencies]
|
||||||
rand = { version = "0.8.4", default-features = false, features = ["getrandom"] }
|
rand = { version = "0.8.4", default-features = false, features = ["getrandom"] }
|
||||||
plonky2 = { git = "https://github.com/0xPolygonZero/plonky2" }
|
plonky2 = { git = "https://github.com/0xPARC/plonky2" }
|
||||||
|
|||||||
@@ -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> {
|
struct SplitToU32Generator<F: RichField + Extendable<D>, const D: usize> {
|
||||||
x: Target,
|
x: Target,
|
||||||
low: U32Target,
|
low: U32Target,
|
||||||
|
|||||||
@@ -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> {
|
struct ComparisonGenerator<F: RichField + Extendable<D>, const D: usize> {
|
||||||
row: usize,
|
row: usize,
|
||||||
gate: ComparisonGate<F, D>,
|
gate: ComparisonGate<F, D>,
|
||||||
|
|||||||
@@ -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> {
|
pub struct U32RangeCheckGenerator<F: RichField + Extendable<D>, const D: usize> {
|
||||||
gate: U32RangeCheckGate<F, D>,
|
gate: U32RangeCheckGate<F, D>,
|
||||||
row: usize,
|
row: usize,
|
||||||
|
|||||||
Reference in New Issue
Block a user