pub fn into_circuit_instance(self) -> FranklinCircuit<'static, Engine> {
        FranklinCircuit {
            rescue_params: &models::params::RESCUE_PARAMS,
            jubjub_params: &models::params::JUBJUB_PARAMS,
            old_root: Some(self.initial_root_hash),
            initial_used_subtree_root: Some(self.initial_used_subtree_root_hash),
            operations: self.operations,
            pub_data_commitment: Some(
                self.pubdata_commitment
                    .expect("pubdata commitment not present"),
            ),
            block_number: Some(Fr::from_str(&self.block_number.to_string()).unwrap()),
            validator_account: self
                .fee_account_witness
                .expect("fee account witness not present"),
            validator_address: Some(Fr::from_str(&self.fee_account_id.to_string()).unwrap()),
            validator_balances: self
                .fee_account_balances
                .expect("fee account balances not present"),
            validator_audit_path: self
                .fee_account_audit_path
                .expect("fee account audit path not present"),
        }
    }
/// Finaly, creates circuit instance for given operations.
Finaly, creates circuit instance for given operations.
Finaly creates circuit instance for given operations .
pub fn into_circuit_instance(self) -> FranklinCircuit<'static, Engine> {
        FranklinCircuit {
            rescue_params: &models::params::RESCUE_PARAMS,
            jubjub_params: &models::params::JUBJUB_PARAMS,
            old_root: Some(self.initial_root_hash),
            initial_used_subtree_root: Some(self.initial_used_subtree_root_hash),
            operations: self.operations,
            pub_data_commitment: Some(
                self.pubdata_commitment
                    .expect("pubdata commitment not present"),
            ),
            block_number: Some(Fr::from_str(&self.block_number.to_string()).unwrap()),
            validator_account: self
                .fee_account_witness
                .expect("fee account witness not present"),
            validator_address: Some(Fr::from_str(&self.fee_account_id.to_string()).unwrap()),
            validator_balances: self
                .fee_account_balances
                .expect("fee account balances not present"),
            validator_audit_path: self
                .fee_account_audit_path
                .expect("fee account audit path not present"),
        }
    }
pub fn into_circuit_instance ( self ) -> FranklinCircuit < ' static , Engine > { FranklinCircuit { rescue_params : & models :: params :: RESCUE_PARAMS , jubjub_params : & models :: params :: JUBJUB_PARAMS , old_root : Some ( self . initial_root_hash ) , initial_used_subtree_root : Some ( self . initial_used_subtree_root_hash ) , operations : self . operations , pub_data_commitment : Some ( self . pubdata_commitment . expect ( " " ) , ) , block_number : Some ( Fr :: from_str ( & self . block_number . to_string ( ) ) . unwrap ( ) ) , validator_account : self . fee_account_witness . expect ( " " ) , validator_address : Some ( Fr :: from_str ( & self . fee_account_id . to_string ( ) ) . unwrap ( ) ) , validator_balances : self . fee_account_balances . expect ( " " ) , validator_audit_path : self . fee_account_audit_path . expect ( " " ) , } }
Finaly, creates circuit instance for given operations.
Finaly creates circuit instance for given operations .
self