Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
update docs on validation_upgrade_frequency (#4460)
Browse files Browse the repository at this point in the history
  • Loading branch information
joepetrowski authored Dec 3, 2021
1 parent 472f245 commit 31e8691
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion primitives/src/v1/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion roadmap/implementers-guide/src/types/runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion runtime/parachains/src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 31e8691

Please sign in to comment.