Closed akoshelev closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.78%. Comparing base (
23202a2
) to head (909f688
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I did something slightly different in #1208 for the DZKP types -- I removed the DZKPUpgradedContext
associated type on trait UpgradableContext
completely and changed the type parameter on trait DZKPValidator
to an associated type.
I'm not sure if there's a reason to prefer one or the other, but it's probably worth making the two variants the same unless there's a good reason they need to be different.
This is a minor change that does not affect a lot of code. The reason for making it is to make trait bounds easier for the upcoming PRF eval upgrade where the validator bounds need to be expressed in a form of upgraded context.
It is also easier to reason about because at the time when validator is created, the
UpgradableContext
is gone