Open CPerezz opened 2 years ago
I eventually added some workaround, but I think it could use some additional work. Maybe the GeneralEvaluationDomain
can be constructed in one place instead of the several places it is now.
Also it might be better if GeneralEvaluationDomain::new
returns a Result
instead of an Option
, not sure about that.
We should do something like:
instead of
unwrap()
but I'm having some issues implementing this. I could just remove the parameters fromInvalidEvalDomainSize
or something quick, or leave it asunwrap
and open another issue/PR for this case (since it's rather independent)_Originally posted by @joebebel in https://github.com/ZK-Garage/plonk/pull/61#discussion_r781776889_