Skip to content

Commit 8aef484

Browse files
drcpu-githubaesedepece
authored andcommitted
chore(config): set testnet parameters for rc.10
1 parent 76b8cab commit 8aef484

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

config/src/defaults.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,8 @@ impl Defaults for Testnet {
550550
}
551551

552552
fn consensus_constants_checkpoint_zero_timestamp(&self) -> i64 {
553-
// Thursday, 21-Jan-2025, 20:00 UTC
554-
1_737_489_600
553+
// Thursday, 23-Jan-2025, 13:00 UTC
554+
1_737_637_200
555555
}
556556

557557
fn consensus_constants_genesis_hash(&self) -> Hash {

data_structures/src/chain/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,10 @@ impl ConsensusConstantsWit2 {
302302
pub fn get_wit2_activation_delay_epochs(self) -> u32 {
303303
match get_environment() {
304304
Environment::Development | Environment::Testnet => {
305-
160 // 2 hours
305+
80 + 21 // One hour + one superepoch for final confirmation
306306
}
307307
_ => {
308-
13_440 // 1 week
308+
13_440 + 21 // 1 week + one superepoch for final confirmation
309309
}
310310
}
311311
}

data_structures/src/chain/tapi.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::{
55
use serde::{Deserialize, Serialize};
66
use std::collections::{HashMap, HashSet};
77

8-
const FOURTEEN_HOURS: u32 = 1_120;
8+
const ONE_HOUR: u32 = 80;
99
const TWO_WEEKS: u32 = 26_880;
1010

1111
/// Committee for superblock indices 750-1344
@@ -243,7 +243,7 @@ impl TapiEngine {
243243
// Hardcoded information about WIPs in vote processing
244244
let wip_0028 = BitVotesCounter {
245245
votes: 0,
246-
period: FOURTEEN_HOURS,
246+
period: ONE_HOUR,
247247
wip: "WIP0028".to_string(),
248248
init: 0,
249249
end: u32::MAX,

0 commit comments

Comments
 (0)