Skip to content

Commit

Permalink
Update migration block numbers
Browse files Browse the repository at this point in the history
Set the block numbers that are considered for the PoW -> PoS migration

Registration starts: 12th September 00:00 UTC -> # 3 357 600
Registration ends:   6th  October   00:00 UTC -> # 3 392 200
Start Pre stake:     6th  October   00:00 UTC -> # 3 392 200
End Prestake:       19th  November  07:00 UTC -> # 3 456 000
Activation:         19th  November  07:00 UTC -> # 3 456 000
  • Loading branch information
viquezclaudio authored and jsdanielh committed Sep 12, 2024
1 parent c0da170 commit c13da48
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions pow-migration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,21 @@ static TESTNET_BLOCK_WINDOWS: &BlockWindows = &BlockWindows {
readiness_window: 1440,
};

// The PoW mainnet blocks are produced ~every minute.
// So we have 60 blocks per hour, 1440 blocks per day
// Note: Final block numbers are rounded up for practical purposes
static MAINET_BLOCK_WINDOWS: &BlockWindows = &BlockWindows {
registration_start: 2590000,
registration_end: 2660000,
pre_stake_start: 2660000,
pre_stake_end: 2663100,
election_candidate: 2664100,
// Registration starts at September 12th @ 00:00 UTC
registration_start: 3357600,
// Registration ends at October 6th @ 00:00 UTC (24*1440 = 34560 blocks later)
registration_end: 3392200,
// Pre stake starts at October 6th @ 00:00 UTC
pre_stake_start: 3392200,
// Pre stake ends at November 19th @ 07:00 UTC (44*1440 + 7*60 = 63780 blocks later)
pre_stake_end: 3456000,
// First activation window begins at November 19th @ 07:00 UTC
election_candidate: 3456000,
// Block confirmations that are needed in order to start the migration process after candidate.
block_confirmations: 10,
// This corresponds to ~24 hours.
readiness_window: 1440,
Expand Down

0 comments on commit c13da48

Please sign in to comment.