mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 20:26:19 +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
|
||||
// pub const MILLISECS_PER_BLOCK: Moment = 1000;
|
||||
pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;
|
||||
// Kusama & mainnet
|
||||
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 4 * HOURS;
|
||||
// Kusama
|
||||
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 1 * HOURS;
|
||||
// Mainnet
|
||||
// pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 4 * HOURS;
|
||||
// Testnet
|
||||
// pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 10 * MINUTES;
|
||||
|
||||
|
||||
Reference in new issue
Block a user