Skip to content

API mismatch #136

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions