Skip to content

Commit

Permalink
try and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BaVilius committed Jan 26, 2025
1 parent 589957a commit f0d175a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kzg/src/das.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,14 @@ pub trait DAS<B: EcBackend> {
.par_chunks(flattened_cells.len() / num_cells)
.zip(cells.par_iter_mut())
.for_each(|(chunk, cell)| {
cell.clone_from_slice(chunk);
for (dest, src) in cell.iter_mut().zip(chunk.iter()) {
*dest = *src;
}
});

reverse_bit_order(cells.as_flattened_mut())?;
}

if let Some(proofs) = proofs {

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, blst)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, arkworks3)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, arkworks5)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, arkworks5)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, arkworks4)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, arkworks3)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, blst)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, arkworks4)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, zkcrypto)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, zkcrypto)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, constantine)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, blst)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, zkcrypto)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, arkworks5)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, arkworks4)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, arkworks3)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, arkworks3)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, constantine)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, arkworks4)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, blst)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, arkworks5)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, constantine)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, zkcrypto)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, blst)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, arkworks4)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, constantine)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, arkworks5)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, arkworks3)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, zkcrypto)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 260 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, constantine)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope
let fk20_proofs = compute_fk20_proofs::<FIELD_ELEMENTS_PER_CELL, B>(
let fk20_proofs = compute_fk20_proofs::<B>(
cell_size,
&poly_monomial,

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, blst)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, arkworks3)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, arkworks5)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, arkworks5)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, arkworks4)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, arkworks3)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, blst)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, arkworks4)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, zkcrypto)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, zkcrypto)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (ubuntu-latest, constantine)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, blst)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, zkcrypto)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, arkworks5)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, arkworks4)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, arkworks3)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, arkworks3)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (windows-latest, constantine)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, arkworks4)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, blst)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, arkworks5)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, constantine)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (windows-latest, zkcrypto)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, blst)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, arkworks4)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / benchmarks (macos-latest, constantine)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, arkworks5)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, arkworks3)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, zkcrypto)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope

Check failure on line 263 in kzg/src/das.rs

View workflow job for this annotation

GitHub Actions / backend_ci (macos-latest, constantine)

no method named `as_flattened_mut` found for mutable reference `&mut [<B as EcBackend>::Fr]` in the current scope
ts_size,
Expand Down Expand Up @@ -290,7 +290,7 @@ pub trait DAS<B: EcBackend> {

// Compute proofs sequentially
if let Some(proofs) = proofs {
let result = compute_fk20_proofs::<FIELD_ELEMENTS_PER_CELL, B>(
let result = compute_fk20_proofs::<B>(
cell_size,
&poly_monomial,
ts_size,
Expand Down

0 comments on commit f0d175a

Please sign in to comment.