Skip to content

Commit b14bb3b

Browse files
committed
feat: properly version bump the sector update proof version
1 parent ff99a52 commit b14bb3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/registry.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ impl RegisteredUpdateProof {
766766

767767
match self {
768768
StackedDrg2KiBV1 | StackedDrg8MiBV1 | StackedDrg512MiBV1 | StackedDrg32GiBV1
769-
| StackedDrg64GiBV1 => ApiVersion::V1_1_0,
769+
| StackedDrg64GiBV1 => ApiVersion::V1_2_0,
770770
}
771771
}
772772

@@ -865,7 +865,7 @@ impl RegisteredUpdateProof {
865865
match self {
866866
StackedDrg2KiBV1 | StackedDrg8MiBV1 | StackedDrg512MiBV1 | StackedDrg32GiBV1
867867
| StackedDrg64GiBV1 => {
868-
assert_eq!(self.version(), ApiVersion::V1_1_0);
868+
assert_eq!(self.version(), ApiVersion::V1_2_0);
869869
PoRepConfig {
870870
sector_size: self.sector_size(),
871871
partitions: PoRepProofPartitions(self.partitions()),

0 commit comments

Comments
 (0)