pub fn load_proof(&self, block_number: BlockNumber) -> QueryResult<EncodedProofPlonk> {
        use crate::schema::proofs::dsl;
        let stored: StoredProof = dsl::proofs
            .filter(dsl::block_number.eq(i64::from(block_number)))
            .get_result(self.0.conn())?;
        Ok(serde_json::from_value(stored.proof).unwrap())
    }
/// Gets the stored proof for a block.
Gets the stored proof for a block.
Gets the stored proof for a block .
pub fn load_proof(&self, block_number: BlockNumber) -> QueryResult<EncodedProofPlonk> {
        use crate::schema::proofs::dsl;
        let stored: StoredProof = dsl::proofs
            .filter(dsl::block_number.eq(i64::from(block_number)))
            .get_result(self.0.conn())?;
        Ok(serde_json::from_value(stored.proof).unwrap())
    }
pub fn load_proof ( & self , block_number : BlockNumber ) -> QueryResult < EncodedProofPlonk > { use crate :: schema :: proofs :: dsl ; let stored : StoredProof = dsl :: proofs . filter ( dsl :: block_number . eq ( i64 :: from ( block_number ) ) ) . get_result ( self . 0 . conn ( ) ) ? ; Ok ( serde_json :: from_value ( stored . proof ) . unwrap ( ) ) }
Gets the stored proof for a block.
Gets the stored proof for a block .
&self
block_number
BlockNumber