Open upbqdn opened 4 months ago
The fn parse_parameters returns ZcashParameters, which now contains types such as PreparedVerifyingKey, which wrap the original types from bellman. However, the fn verify_single in bellman still takes the wrapped type: PreparedVerifyingKey<E: MultimellerLoop>.
parse_parameters
ZcashParameters
PreparedVerifyingKey
verify_single
PreparedVerifyingKey<E: MultimellerLoop>
Unfortunately, I couldn't think of a way to parse the params and then use them with verify_single.
Oops, I'm now realizing I should have logged this in librustzcash instead. Too many tabs.
librustzcash
The fn
parse_parameters
returnsZcashParameters
, which now contains types such asPreparedVerifyingKey
, which wrap the original types from bellman. However, the fnverify_single
in bellman still takes the wrapped type:PreparedVerifyingKey<E: MultimellerLoop>
.Unfortunately, I couldn't think of a way to parse the params and then use them with
verify_single
.