Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
enddynayn committed Aug 27, 2024
1 parent 01c233c commit 1fee438
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions runtime/common/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ pub type MaxSchemaGrants = ConstU32<30>;
/// up by `pallet_aura` to implement `fn slot_duration()`.
///
/// Change this to adjust the block time.
#[cfg(not(any(feature = "frequency-testnet", feature = "frequency-local")))]
pub const MILLISECS_PER_BLOCK: u64 = 12000;
pub const MILLISECS_PER_BLOCK: u64 = 12_000;

#[cfg(any(feature = "frequency-testnet", feature = "frequency-local"))]
pub const MILLISECS_PER_BLOCK: u64 = 6000;
Expand Down
2 changes: 1 addition & 1 deletion runtime/frequency/src/apis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl_runtime_apis! {
}
}

#[cfg(any(feature = "frequency-testnet", feature = "frequency-local"))]
#[cfg(any(feature = "frequency-testnet", feature = "frequency-local", feature = "frequency-lint-check"))]
impl cumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
fn can_build_upon(
included_hash: <Block as BlockT>::Hash,
Expand Down

0 comments on commit 1fee438

Please sign in to comment.