mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
Sessions/epochs are 1 hour not 4. (#630)
This commit is contained in:
@@ -32,8 +32,10 @@ pub mod time {
|
|||||||
// Testnet
|
// Testnet
|
||||||
// pub const MILLISECS_PER_BLOCK: Moment = 1000;
|
// pub const MILLISECS_PER_BLOCK: Moment = 1000;
|
||||||
pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;
|
pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;
|
||||||
// Kusama & mainnet
|
// Kusama
|
||||||
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 4 * HOURS;
|
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 1 * HOURS;
|
||||||
|
// Mainnet
|
||||||
|
// pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 4 * HOURS;
|
||||||
// Testnet
|
// Testnet
|
||||||
// pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 10 * MINUTES;
|
// pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 10 * MINUTES;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user