@@ -330,16 +330,13 @@ pub struct SealCommitPhase2Output {
330330 pub proof : Vec < u8 > ,
331331}
332332
333- /// Ensure that any persisted cached data for specified sector size is discarded.
333+ /// Ensure that any persisted cached data is discarded.
334334///
335335/// # Arguments
336336///
337- /// * `sector_size` - Sector size associated with cache data to clear.
338337/// * `cache_path` - Path to directory where cached data is stored.
339- pub fn clear_cache ( sector_size : u64 , cache_path : & Path ) -> Result < ( ) > {
340- use filecoin_proofs_v1:: clear_cache;
341-
342- with_shape ! ( sector_size, clear_cache, cache_path)
338+ pub fn clear_cache ( cache_path : & Path ) -> Result < ( ) > {
339+ filecoin_proofs_v1:: clear_cache ( cache_path)
343340}
344341
345342/// Generate and persist synthetic Merkle tree proofs for sector replica. Must be called with output from [`seal_pre_commit_phase2`].
@@ -424,12 +421,9 @@ fn generate_synth_proofs_inner<Tree: 'static + MerkleTreeTrait>(
424421///
425422/// # Arguments
426423///
427- /// * `sector_size` - Sector size associated with cache data to clear.
428424/// * `cache_path` - Path to directory where cached data is stored.
429- pub fn clear_synthetic_proofs ( sector_size : u64 , cache_path : & Path ) -> Result < ( ) > {
430- use filecoin_proofs_v1:: clear_synthetic_proofs;
431-
432- with_shape ! ( sector_size, clear_synthetic_proofs, cache_path)
425+ pub fn clear_synthetic_proofs ( cache_path : & Path ) -> Result < ( ) > {
426+ filecoin_proofs_v1:: clear_synthetic_proofs ( cache_path)
433427}
434428
435429/// First step in sector sealing process. Called before [`seal_pre_commit_phase2`].
0 commit comments