Skip to content

EdwardsVar closure called during setup #210

@DragonDev1906

Description

@DragonDev1906

Is this closure supposed to be called during setup when not all data may be available? FpVar for example does not call it during setup, only for proof generation.

        let a = EdwardsVar::new_witness(cs.clone(), || {
            Ok(EdwardsAffine::new(dbg!(self.ax), self.ay))
        })?;

https://github.com/arkworks-rs/r1cs-std/blob/master/src/groups/curves/twisted_edwards/mod.rs#L271

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