Skip to content

API mismatch #136

@bomanaps

Description

@bomanaps

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions