diff --git a/polkadot/primitives/src/v1/mod.rs b/polkadot/primitives/src/v1/mod.rs index 8282315fe18bb971f7420fa0cbf41942c31ad176..c183df37cebe5af44813f5e5fd25fa5fd9811905 100644 --- a/polkadot/primitives/src/v1/mod.rs +++ b/polkadot/primitives/src/v1/mod.rs @@ -1095,7 +1095,7 @@ pub struct AbridgedHostConfiguration { /// /// This parameter affects the upper bound of size of `CandidateCommitments`. pub hrmp_max_message_num_per_candidate: u32, - /// The minimum frequency at which parachains can update their validation code. + /// The minimum period, in blocks, between which parachains can update their validation code. pub validation_upgrade_frequency: BlockNumber, /// The delay, in blocks, before a validation upgrade is applied. pub validation_upgrade_delay: BlockNumber, diff --git a/polkadot/roadmap/implementers-guide/src/types/runtime.md b/polkadot/roadmap/implementers-guide/src/types/runtime.md index b8eef8f1120427ac6e0ca4e54fb0adbc2fb7e7f8..345f1902d3b3a00052a942ab0838605c85601588 100644 --- a/polkadot/roadmap/implementers-guide/src/types/runtime.md +++ b/polkadot/roadmap/implementers-guide/src/types/runtime.md @@ -8,7 +8,7 @@ The internal-to-runtime configuration of the parachain host. This is expected to ```rust struct HostConfiguration { - /// The minimum frequency at which parachains can update their validation code. + /// The minimum period, in blocks, between which parachains can update their validation code. pub validation_upgrade_frequency: BlockNumber, /// The delay, in blocks, before a validation upgrade is applied. pub validation_upgrade_delay: BlockNumber, diff --git a/polkadot/runtime/parachains/src/configuration.rs b/polkadot/runtime/parachains/src/configuration.rs index f2a70a1b063536d39621cd8193149d657e7ed5fc..4faf8902d2b312f950344fbde21644b3ac556866 100644 --- a/polkadot/runtime/parachains/src/configuration.rs +++ b/polkadot/runtime/parachains/src/configuration.rs @@ -72,7 +72,7 @@ pub struct HostConfiguration<BlockNumber> { /// /// This parameter affects the upper bound of size of `CandidateCommitments`. pub hrmp_max_message_num_per_candidate: u32, - /// The minimum frequency at which parachains can update their validation code. + /// The minimum period, in blocks, between which parachains can update their validation code. pub validation_upgrade_frequency: BlockNumber, /// The delay, in blocks, before a validation upgrade is applied. pub validation_upgrade_delay: BlockNumber,