Skip to content

Commit 237e698

Browse files
committed
chore(tapi): set WIP0028 TAPI start date at 05 February 2025, 9am UTC
1 parent ac23127 commit 237e698

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

data_structures/src/chain/tapi.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ impl TapiEngine {
226226
votes: 0,
227227
period: TWO_WEEKS,
228228
wip: "WIP0028".to_string(),
229-
// Start signaling on December 14 at 9am UTC
230-
init: 2922240,
229+
// Start signaling on 05 February 2025 at 9am UTC
230+
init: 3_024_000,
231231
end: u32::MAX,
232232
bit: 9,
233233
};
@@ -456,8 +456,8 @@ pub fn in_emergency_period(
456456
.collect(),
457457
)
458458
} else if Environment::Mainnet == environment
459-
&& superblock_index > 224_300
460-
&& superblock_index < 292_224
459+
&& superblock_index > 302_400
460+
&& superblock_index < 330_626
461461
{
462462
Some(
463463
FOURTH_EMERGENCY_COMMITTEE
@@ -866,7 +866,7 @@ mod tests {
866866

867867
let (epoch, old_wips) = t.initialize_wip_information(Environment::Mainnet);
868868
// The first block whose vote must be counted is the one from WIP0028
869-
let init_epoch_wip0028 = 2922240;
869+
let init_epoch_wip0028 = 3024000;
870870
assert_eq!(epoch, init_epoch_wip0028);
871871
// The TapiEngine was just created, there list of old_wips must be empty
872872
assert_eq!(old_wips, HashSet::new());

data_structures/src/superblock.rs

+13-5
Original file line numberDiff line numberDiff line change
@@ -471,11 +471,19 @@ impl SuperBlockState {
471471
// Override superblock signing committee during the bootstrapping of wit/2
472472
self.signing_committee = match get_environment() {
473473
Environment::Mainnet => {
474-
// wit/2 activates at 2_922_240 + 14 x 1_920 (TAPI delay) + 7 x 1_920 (instant activation delay) = 2_962_560
475-
// disabling the activation committee at 299_712 implies we add an extra 8 weeks worth of time (8 x 4320)
476-
// to inplement a decentralized superblock committee selection mechanism. Note that any delay in activating
477-
// wit/2 will essentially be subtracted from the extra 8 weeks,
478-
if (292_224..299_712).contains(&superblock_index) {
474+
// wit/2 activation timeline and superblock bootstrap committee:
475+
// TAPI initialization is scheduled at epoch 3_024_000
476+
// 14 x 1_920 epochs for V1_8 activation assuming TAPI passes after two weeks
477+
// 300M needs to be staked before V2_0 can be scheduled (unknown delay, assume it is instant)
478+
// 7 x 1_920 epochs activation delay for V2_0
479+
// 21 epochs for superblock confirmation of all above actions
480+
// 3_024_000 + 14 x 1_920 + 7 x 1_920 + 21 = 3_064_341
481+
//
482+
// wit/2.0 is now activated with a fixed superblock bootstrap committee
483+
//
484+
// 8 x 7 x 4320 epochs to implement a decentralized superblock committee selection mechanism
485+
// any delay in activating wit/2.0 will essentially be subtracted from these 8 weeks
486+
if (302_400..330_626).contains(&superblock_index) {
479487
WIT2_BOOTSTRAP_COMMITTEE
480488
.iter()
481489
.map(|address| address.parse().expect("Malformed signing committee"))

0 commit comments

Comments
 (0)