Skip to content

Commit ed58cf5

Browse files
committed
Apply suggestions
1 parent b6b69df commit ed58cf5

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

develop/parachains/deployment/coretime-renewal.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Coretime can be purchased in bulk for a period of 28 days, providing access to P
1414
The bulk sale process consists of three distinct phases:
1515

1616
- **Interlude phase** - the period between bulk sales when renewals are prioritized
17-
- **Lead-in phase** - after the interlude phase, the Coretime Chain sets a new `start_price` and initiates a Dutch auction lasting `leadin_length` blocks. During this phase, prices experience downward pressure as the system works to find the market equilibrium. The final price at the end of this phase becomes the `regular_price` that will be used in the subsequent fixed price phase
17+
- **Lead-in phase** - following the interlude phase, a new `start_price` is set, and a Dutch auction begins, lasting for `leadin_length` blocks. During this phase, prices experience downward pressure as the system aims to find market equilibrium. The final price at the end of this phase becomes the `regular_price`, which will be used in the subsequent fixed price phase
1818
- **Fixed price phase** - the final phase where remaining cores are sold at the `regular_price` established during the leading phase. This provides a stable and predictable pricing environment for participants who did not purchase during the price discovery period
1919

2020
For more comprehensive information about the coretime sales process, refer to the [Coretime Sales](https://wiki.polkadot.network/learn/learn-agile-coretime/#coretime-sales){target=\_blank} section in the Polkadot Wiki.
@@ -48,19 +48,17 @@ For optimal results, the renewal should be performed during the interlude phase.
4848

4949
## Auto Renewal
5050

51-
The Coretime auto-renewal feature simplifies the process of maintaining continuous coretime allocation by automatically renewing cores at the beginning of each sale period. This eliminates the need for parachains to manually renew their cores for each bulk period, reducing operational overhead and the risk of missing renewal deadlines.
51+
The coretime auto-renewal feature simplifies the process of maintaining continuous coretime allocation by automatically renewing cores at the beginning of each sale period. This eliminates the need for parachains to manually renew their cores for each bulk period, reducing operational overhead and the risk of missing renewal deadlines.
5252

5353
When auto-renewal is enabled, the system follows this process at the start of each sale:
5454

5555
1. The system scans all registered auto-renewal records
56-
2. For each record, it attempts to process renewal payments from the task's sovereign account (which is the sibling account on the Coretime chain derived from the Parachain ID)
56+
2. For each record, it attempts to process renewal payments from the task's [sovereign account](/polkadot-protocol/glossary/#sovereign-account){target=\_blank} (which is the sibling account on the Coretime chain derived from the Parachain ID)
5757
3. Upon successful payment, the system emits a `Renewed` event and secures the core for the next period
5858
4. If payment fails due to insufficient funds or other issues, the system emits an `AutoRenewalFailed` event
5959

6060
Even if an auto-renewal attempt fails, the auto-renewal setting remains active for subsequent sales. This means once you've configured auto-renewal, the setting persists across multiple periods.
6161

62-
There is a limit on the total number of auto-renewals allowed, specified at the runtime level as [`T::MaxAutoRenewals`](https://paritytech.github.io/polkadot-sdk/master/pallet_broker/pallet/trait.Config.html#associatedtype.MaxAutoRenewals){target=\_blank} (which is currently set to 100).
63-
6462
To enable auto-renewal for your parachain, you'll need to configure several components as detailed in the following sections.
6563

6664
### Set Up HRMP Channel
@@ -218,7 +216,7 @@ Once you have these values, construct the extrinsic:
218216
219217
To activate auto-renewal, you must submit an XCM from your parachain to the Coretime chain using Root origin. This can be done either through the sudo pallet (if available) or through your parachain's governance system.
220218
221-
The XCM message needs to execute these operations:
219+
The XCM needs to execute these operations:
222220
223221
1. Withdraw DOT from your parachain's sovereign account on the Coretime chain
224222
2. Buy execution to pay for transaction fees
@@ -252,6 +250,6 @@ Here's how to submit this XCM using Acala (Parachain 2000) as an example:
252250
253251
![](/images/develop/parachains/deployment/coretime-renewal/coretime-renewal-6.webp)
254252
255-
After successful execution, your parachain should have auto-renewal enabled. To verify this, check the events emitted in the Coretime chain.You should see confirmation events similar to:
253+
After successful execution, your parachain should have auto-renewal enabled. To verify this, check the events emitted in the Coretime chain. You should see confirmation events similar to:
256254
257255
![](/images/develop/parachains/deployment/coretime-renewal/coretime-renewal-7.webp)

llms.txt

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3877,7 +3877,7 @@ Coretime can be purchased in bulk for a period of 28 days, providing access to P
38773877
The bulk sale process consists of three distinct phases:
38783878

38793879
- **Interlude phase** - the period between bulk sales when renewals are prioritized
3880-
- **Lead-in phase** - after the interlude phase, the Coretime Chain sets a new `start_price` and initiates a Dutch auction lasting `leadin_length` blocks. During this phase, prices experience downward pressure as the system works to find the market equilibrium. The final price at the end of this phase becomes the `regular_price` that will be used in the subsequent fixed price phase
3880+
- **Lead-in phase** - following the interlude phase, a new `start_price` is set, and a Dutch auction begins, lasting for `leadin_length` blocks. During this phase, prices experience downward pressure as the system aims to find market equilibrium. The final price at the end of this phase becomes the `regular_price`, which will be used in the subsequent fixed price phase
38813881
- **Fixed price phase** - the final phase where remaining cores are sold at the `regular_price` established during the leading phase. This provides a stable and predictable pricing environment for participants who did not purchase during the price discovery period
38823882

38833883
For more comprehensive information about the coretime sales process, refer to the [Coretime Sales](https://wiki.polkadot.network/learn/learn-agile-coretime/#coretime-sales){target=\_blank} section in the Polkadot Wiki.
@@ -3911,24 +3911,22 @@ For optimal results, the renewal should be performed during the interlude phase.
39113911

39123912
## Auto Renewal
39133913

3914-
The Coretime auto-renewal feature simplifies the process of maintaining continuous coretime allocation by automatically renewing cores at the beginning of each sale period. This eliminates the need for parachains to manually renew their cores for each bulk period, reducing operational overhead and the risk of missing renewal deadlines.
3914+
The coretime auto-renewal feature simplifies the process of maintaining continuous coretime allocation by automatically renewing cores at the beginning of each sale period. This eliminates the need for parachains to manually renew their cores for each bulk period, reducing operational overhead and the risk of missing renewal deadlines.
39153915

39163916
When auto-renewal is enabled, the system follows this process at the start of each sale:
39173917

39183918
1. The system scans all registered auto-renewal records
3919-
2. For each record, it attempts to process renewal payments from the task's sovereign account (which is the sibling account on the Coretime chain derived from the Parachain ID)
3919+
2. For each record, it attempts to process renewal payments from the task's [sovereign account](/polkadot-protocol/glossary/#sovereign-account){target=\_blank} (which is the sibling account on the Coretime chain derived from the Parachain ID)
39203920
3. Upon successful payment, the system emits a `Renewed` event and secures the core for the next period
39213921
4. If payment fails due to insufficient funds or other issues, the system emits an `AutoRenewalFailed` event
39223922

39233923
Even if an auto-renewal attempt fails, the auto-renewal setting remains active for subsequent sales. This means once you've configured auto-renewal, the setting persists across multiple periods.
39243924

3925-
There is a limit on the total number of auto-renewals allowed, specified at the runtime level as [`T::MaxAutoRenewals`](https://paritytech.github.io/polkadot-sdk/master/pallet_broker/pallet/trait.Config.html#associatedtype.MaxAutoRenewals){target=\_blank} (which is currently set to 100).
3926-
39273925
To enable auto-renewal for your parachain, you'll need to configure several components as detailed in the following sections.
39283926

39293927
### Set Up HRMP Channel
39303928

3931-
An Horizontal Relay-routed Message Passing (HRMP) channel must be open between your parachain and the Coretime System Chain before auto-renewal can be configured.
3929+
A Horizontal Relay-routed Message Passing (HRMP) channel must be open between your parachain and the Coretime System Chain before auto-renewal can be configured.
39323930

39333931
For instructions on establishing this connection, consult the [Opening HRMP Channels with System Parachains](/tutorials/interoperability/xcm-channels/para-to-system/){target=\_blank} guide.
39343932

@@ -4016,7 +4014,7 @@ To configure auto-renewal, you'll need to gather specific information for the `e
40164014

40174015
- **`task`** - use your parachain ID, which can be verified by connecting to your parachain and querying `parachainInfo.parachainId()`
40184016

4019-
- **`workload_end_hint`** - you should always set it explicitly to avoid misbehavior. This value indicate when your assigned core will expire. Here's how to calculate the correct value based on how your core is assigned:
4017+
- **`workload_end_hint`** - you should always set it explicitly to avoid misbehavior. This value indicates when your assigned core will expire. Here's how to calculate the correct value based on how your core is assigned:
40204018
- If the parachain uses bulk coretime:
40214019

40224020
Query `broker.saleinfo`. You’ll get a result like:
@@ -4071,7 +4069,7 @@ Once you have these values, construct the extrinsic:
40714069

40724070
![](/images/develop/parachains/deployment/coretime-renewal/coretime-renewal-3.webp)
40734071

4074-
For parachain `2000` on core `48` with workload_end_hint `327885`, the encoded call data would be:`0x32153000d007000001cd000500`
4072+
For parachain `2000` on core `48` with `workload_end_hint` `327885`, the encoded call data would be:`0x32153000d007000001cd000500`
40754073

40764074
3. Check the transaction weight for executing the call. You can estimate this by executing the `transactionPaymentCallApi.queryCallInfo` runtime call with the encoded call data previously obtained:
40774075

@@ -4081,7 +4079,7 @@ Once you have these values, construct the extrinsic:
40814079

40824080
To activate auto-renewal, you must submit an XCM from your parachain to the Coretime chain using Root origin. This can be done either through the sudo pallet (if available) or through your parachain's governance system.
40834081

4084-
The XCM message needs to execute these operations:
4082+
The XCM needs to execute these operations:
40854083

40864084
1. Withdraw DOT from your parachain's sovereign account on the Coretime chain
40874085
2. Buy execution to pay for transaction fees
@@ -4115,7 +4113,7 @@ Here's how to submit this XCM using Acala (Parachain 2000) as an example:
41154113

41164114
![](/images/develop/parachains/deployment/coretime-renewal/coretime-renewal-6.webp)
41174115

4118-
After successful execution, your parachain should have auto-renewal enabled. To verify this, check the events emitted in the Coretime chain.You should see confirmation events similar to:
4116+
After successful execution, your parachain should have auto-renewal enabled. To verify this, check the events emitted in the Coretime chain. You should see confirmation events similar to:
41194117

41204118
![](/images/develop/parachains/deployment/coretime-renewal/coretime-renewal-7.webp)
41214119
--- END CONTENT ---

0 commit comments

Comments
 (0)