make recover_degree_bits public for StarkProofTarget

This commit is contained in:
Sebastien La Duca 2022-04-29 22:27:03 +02:00
parent b17e2c8db5
commit 737e237ee5

View File

@ -53,7 +53,7 @@ pub struct StarkProofTarget<const D: usize> {
impl<const D: usize> StarkProofTarget<D> {
/// Recover the length of the trace from a STARK proof and a STARK config.
pub(crate) fn recover_degree_bits(&self, config: &StarkConfig) -> usize {
pub fn recover_degree_bits(&self, config: &StarkConfig) -> usize {
let initial_merkle_proof = &self.opening_proof.query_round_proofs[0]
.initial_trees_proof
.evals_proofs[0]