File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -542,6 +542,25 @@ struct OnMinerSectorsTerminateParams {
542
542
The sector is removed from the ` ProviderSectors ` mapping, if present.
543
543
Any deals mapped to that sector are marked as terminated, and subsequent processing deferred to cron.
544
544
545
+ #### GetDealSector
546
+
547
+ A new FRC-0042 exported method "GetDealSector" (method 2611213344) returns the sector number in which
548
+ a deal's data is stored, while a deal is active.
549
+ If a deal is published but not yet activated, aborts with ` EX_DEAL_NOT_ACTIVATED = 33 ` .
550
+ If a deal is not found, aborts with the same exit codes as "GetDealActivation".
551
+
552
+ ```
553
+ // "Transparent" CBOR-encoding, the singleton field is encoeded directly.
554
+ struct GetDealSectorParams {
555
+ DealID: DealID,
556
+ }
557
+
558
+ // "Transparent" CBOR-encoding, the singleton field is encoeded directly.
559
+ struct GetDealSectorReturn {
560
+ SectorNumber: SectorNumber,
561
+ }
562
+ ```
563
+
545
564
### Migration
546
565
547
566
The built-in market actor's ` ProviderSectors ` mapping is initialised from the existing deal state
You can’t perform that action at this time.
0 commit comments