Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
enddynayn committed Aug 19, 2024
1 parent ca0ed47 commit 7ffdc5c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions runtime/frequency/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -955,11 +955,19 @@ const UNINCLUDED_SEGMENT_CAPACITY: u32 = 3;
/// number of blocks authored per slot.
const BLOCK_PROCESSING_VELOCITY: u32 = 1;

#[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check", not(feature = "frequency-testnet")))]
#[cfg(any(
not(feature = "frequency-no-relay"),
feature = "frequency-lint-check",
not(feature = "frequency-testnet")
))]
/// Maximum number of blocks simultaneously accepted by the Runtime, not yet included
/// into the relay chain.
const UNINCLUDED_SEGMENT_CAPACITY: u32 = 1;
#[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check", not(feature = "frequency-testnet")))]
#[cfg(any(
not(feature = "frequency-no-relay"),
feature = "frequency-lint-check",
not(feature = "frequency-testnet")
))]
/// How many parachain blocks are processed by the relay chain per parent. Limits the
/// number of blocks authored per slot.
const BLOCK_PROCESSING_VELOCITY: u32 = 1;
Expand Down

0 comments on commit 7ffdc5c

Please sign in to comment.