mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-10 04:37:06 +00:00
Sessions/epochs are 1 hour not 4. (#630)
This commit is contained in:
1 parent
d63f20434e
commit
48c5d5ce19
1 file changed
+4
-2
@@ -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