@@ -39,15 +39,15 @@ func LayerFileName(layer int) string {
39
39
40
40
func SDRLayers (spt abi.RegisteredSealProof ) (int , error ) {
41
41
switch spt {
42
- case abi .RegisteredSealProof_StackedDrg2KiBV1 , abi .RegisteredSealProof_StackedDrg2KiBV1_1 , abi .RegisteredSealProof_StackedDrg2KiBV1_1_Feat_SyntheticPoRep :
42
+ case abi .RegisteredSealProof_StackedDrg2KiBV1 , abi .RegisteredSealProof_StackedDrg2KiBV1_1 , abi .RegisteredSealProof_StackedDrg2KiBV1_1_Feat_SyntheticPoRep , abi . RegisteredSealProof_StackedDrg2KiBV1_2_Feat_NiPoRep :
43
43
return 2 , nil
44
- case abi .RegisteredSealProof_StackedDrg8MiBV1 , abi .RegisteredSealProof_StackedDrg8MiBV1_1 , abi .RegisteredSealProof_StackedDrg8MiBV1_1_Feat_SyntheticPoRep :
44
+ case abi .RegisteredSealProof_StackedDrg8MiBV1 , abi .RegisteredSealProof_StackedDrg8MiBV1_1 , abi .RegisteredSealProof_StackedDrg8MiBV1_1_Feat_SyntheticPoRep , abi . RegisteredSealProof_StackedDrg8MiBV1_2_Feat_NiPoRep :
45
45
return 2 , nil
46
- case abi .RegisteredSealProof_StackedDrg512MiBV1 , abi .RegisteredSealProof_StackedDrg512MiBV1_1 , abi .RegisteredSealProof_StackedDrg512MiBV1_1_Feat_SyntheticPoRep :
46
+ case abi .RegisteredSealProof_StackedDrg512MiBV1 , abi .RegisteredSealProof_StackedDrg512MiBV1_1 , abi .RegisteredSealProof_StackedDrg512MiBV1_1_Feat_SyntheticPoRep , abi . RegisteredSealProof_StackedDrg512MiBV1_2_Feat_NiPoRep :
47
47
return 2 , nil
48
- case abi .RegisteredSealProof_StackedDrg32GiBV1 , abi .RegisteredSealProof_StackedDrg32GiBV1_1 , abi .RegisteredSealProof_StackedDrg32GiBV1_1_Feat_SyntheticPoRep :
48
+ case abi .RegisteredSealProof_StackedDrg32GiBV1 , abi .RegisteredSealProof_StackedDrg32GiBV1_1 , abi .RegisteredSealProof_StackedDrg32GiBV1_1_Feat_SyntheticPoRep , abi . RegisteredSealProof_StackedDrg32GiBV1_2_Feat_NiPoRep :
49
49
return 11 , nil
50
- case abi .RegisteredSealProof_StackedDrg64GiBV1 , abi .RegisteredSealProof_StackedDrg64GiBV1_1 , abi .RegisteredSealProof_StackedDrg64GiBV1_1_Feat_SyntheticPoRep :
50
+ case abi .RegisteredSealProof_StackedDrg64GiBV1 , abi .RegisteredSealProof_StackedDrg64GiBV1_1 , abi .RegisteredSealProof_StackedDrg64GiBV1_1_Feat_SyntheticPoRep , abi . RegisteredSealProof_StackedDrg64GiBV1_2_Feat_NiPoRep :
51
51
return 11 , nil
52
52
default :
53
53
return 0 , fmt .Errorf ("unsupported proof type: %v" , spt )
0 commit comments