Skip to content

Commit 986af3a

Browse files
committed
Apply suggestions
1 parent 5cd8ce9 commit 986af3a

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

develop/parachains/deployment/coretime-renewal.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,15 @@ The Coretime chain provides two primary extrinsics for managing the auto-renewal
100100

101101
**Parameters:**
102102

103-
- **`core`**: the core currently assigned to the task
104-
- **`task`**: the task for which auto-renewal is being enabled
105-
- **`workload_end_hint`**: used when the core is not expiring in the current bulk period (e.g., due to a lease). This allows you to enable auto-renewal in advance, instead of needing to wait for the sale in which your core will expire
103+
- **`core`** - the core currently assigned to the task
104+
- **`task`** - the task for which auto-renewal is being enabled
105+
- **`workload_end_hint`** - the timeslice at which the currently assigned core will stop being used. This value helps the system determine when auto-renewal should begin. It is recommended to always provide this value to avoid ambiguity
106+
107+
- If the coretime expires in the current sale period, use the last timeslice of the current sale period
108+
109+
- If the coretime expires at the end of the next sale period (e.g., because you've already renewed), use the last timeslice of the next sale period
110+
111+
- If a lease is active, use the timeslice when the lease ends
106112

107113
- `disable_auto_renew(core, task)` - use this extrinsic to stop automatic renewals. This extrinsic also requires that the origin is the sovereign account of the parachain task
108114

llms.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3963,9 +3963,15 @@ The Coretime chain provides two primary extrinsics for managing the auto-renewal
39633963

39643964
**Parameters:**
39653965

3966-
- **`core`**: the core currently assigned to the task
3967-
- **`task`**: the task for which auto-renewal is being enabled
3968-
- **`workload_end_hint`**: used when the core is not expiring in the current bulk period (e.g., due to a lease). This allows you to enable auto-renewal in advance, instead of needing to wait for the sale in which your core will expire
3966+
- **`core`** - the core currently assigned to the task
3967+
- **`task`** - the task for which auto-renewal is being enabled
3968+
- **`workload_end_hint`** - the timeslice at which the currently assigned core will stop being used. This value helps the system determine when auto-renewal should begin. It is recommended to always provide this value to avoid ambiguity
3969+
3970+
- If the coretime expires in the current sale period, use the last timeslice of the current sale period
3971+
3972+
- If the coretime expires at the end of the next sale period (e.g., because you've already renewed), use the last timeslice of the next sale period
3973+
3974+
- If a lease is active, use the timeslice when the lease ends
39693975

39703976
- `disable_auto_renew(core, task)` - use this extrinsic to stop automatic renewals. This extrinsic also requires that the origin is the sovereign account of the parachain task
39713977

0 commit comments

Comments
 (0)