Commit 825c1fc fails to compile due to API mismatch with the fiat-shamir crate.
Error
error[E0107]: struct takes 2 generic arguments but 3 generic arguments were supplied
--> crates/utils/src/wrappers.rs:17:76
|
17 | pub fn build_prover_state<EF: ...>(padding: bool) -> ProverState<KoalaBear, EF, MyChallenger>
| ^^^^^^^^^^^ expected 2 generic arguments
Root Cause
The fiat-shamir crate changed its API in commit fb6168e (Dec 13, 2025):
- Old:
ProverState<F, EF, Challenger> with new(challenger, padding)
- New:
ProverState<EF, P> with new(permutation)
The wrappers.rs file still uses the old API.
Affected File
crates/utils/src/wrappers.rs - lines 7-24
Commit
825c1fcfails to compile due to API mismatch with thefiat-shamircrate.Error
error[E0107]: struct takes 2 generic arguments but 3 generic arguments were supplied
--> crates/utils/src/wrappers.rs:17:76
|
17 | pub fn build_prover_state<EF: ...>(padding: bool) -> ProverState<KoalaBear, EF, MyChallenger>
| ^^^^^^^^^^^ expected 2 generic arguments
Root Cause
The
fiat-shamircrate changed its API in commitfb6168e(Dec 13, 2025):ProverState<F, EF, Challenger>withnew(challenger, padding)ProverState<EF, P>withnew(permutation)The
wrappers.rsfile still uses the old API.Affected File
crates/utils/src/wrappers.rs- lines 7-24