Browse Source

Switch to 0xPARC fork of Plonky2

main
Ahmad 2 months ago
parent
commit
b187b9c125
No known key found for this signature in database GPG Key ID: FF00EBC04B2D00AA
5 changed files with 5 additions and 8 deletions
  1. +0
    -3
      .github/workflows/continuous-integration.yml
  2. +2
    -2
      Cargo.toml
  3. +1
    -1
      src/gadgets/arithmetic_u32.rs
  4. +1
    -1
      src/gates/comparison.rs
  5. +1
    -1
      src/gates/range_check_u32.rs

+ 0
- 3
.github/workflows/continuous-integration.yml

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

+ 2
- 2
Cargo.toml

@ -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" }

+ 1
- 1
src/gadgets/arithmetic_u32.rs

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

+ 1
- 1
src/gates/comparison.rs

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

+ 1
- 1
src/gates/range_check_u32.rs

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

Loading…
Cancel
Save