fix session length of Rococo and Wococo (#1304)

This commit is contained in:
Svyatoslav Nikolsky
2022-02-01 11:05:03 +03:00
committed by Bastian Köcher
parent 01ee74c949
commit e190c35c95
4 changed files with 31 additions and 8 deletions
+2 -2
View File
@@ -32,12 +32,12 @@ pub use bp_polkadot_core::*;
/// Rococo Chain
pub type Rococo = PolkadotLike;
/// The target length of a session (how often authorities change) on Westend measured in of number
/// The target length of a session (how often authorities change) on Rococo measured in of number
/// of blocks.
///
/// Note that since this is a target sessions may change before/after this time depending on network
/// conditions.
pub const SESSION_LENGTH: BlockNumber = 10 * time_units::MINUTES;
pub const SESSION_LENGTH: BlockNumber = 1 * time_units::HOURS;
// NOTE: This needs to be kept up to date with the Rococo runtime found in the Polkadot repo.
pub const VERSION: RuntimeVersion = RuntimeVersion {