Commit 1792b84 1 parent dda3e36 commit 1792b84 Copy full SHA for 1792b84
File tree 2 files changed +17
-9
lines changed
2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -226,8 +226,8 @@ impl TapiEngine {
226
226
votes : 0 ,
227
227
period : TWO_WEEKS ,
228
228
wip : "WIP0028" . to_string ( ) ,
229
- // Start signaling on December 14 at 9am UTC
230
- init : 2922240 ,
229
+ // Start signaling on 18 February 2025 at 9am UTC
230
+ init : 3_048_960 ,
231
231
end : u32:: MAX ,
232
232
bit : 9 ,
233
233
} ;
@@ -457,7 +457,7 @@ pub fn in_emergency_period(
457
457
)
458
458
} else if Environment :: Mainnet == environment
459
459
&& superblock_index > 224_300
460
- && superblock_index < 292_224
460
+ && superblock_index < 304_896
461
461
{
462
462
Some (
463
463
FOURTH_EMERGENCY_COMMITTEE
@@ -866,7 +866,7 @@ mod tests {
866
866
867
867
let ( epoch, old_wips) = t. initialize_wip_information ( Environment :: Mainnet ) ;
868
868
// The first block whose vote must be counted is the one from WIP0028
869
- let init_epoch_wip0028 = 2922240 ;
869
+ let init_epoch_wip0028 = 3_048_960 ;
870
870
assert_eq ! ( epoch, init_epoch_wip0028) ;
871
871
// The TapiEngine was just created, there list of old_wips must be empty
872
872
assert_eq ! ( old_wips, HashSet :: new( ) ) ;
Original file line number Diff line number Diff line change @@ -471,11 +471,19 @@ impl SuperBlockState {
471
471
// Override superblock signing committee during the bootstrapping of wit/2
472
472
self . signing_committee = match get_environment ( ) {
473
473
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_048_960
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_048_960 + 14 x 1_920 + 7 x 1_920 + 21 = 3_089_301
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 ( 304_896 ..333_122 ) . contains ( & superblock_index) {
479
487
WIT2_BOOTSTRAP_COMMITTEE
480
488
. iter ( )
481
489
. map ( |address| address. parse ( ) . expect ( "Malformed signing committee" ) )
You can’t perform that action at this time.
0 commit comments