Skip to content

Commit

Permalink
Merge pull request #248 from AurevoirXavier/icefrog
Browse files Browse the repository at this point in the history
update: constant
  • Loading branch information
freehere107 authored Jan 19, 2020
2 parents 67e4da1 + 17acb1d commit b0bd3af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions srml/timestamp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,10 @@ impl ProvideInherentData for InherentDataProvider {
// ICEFROG HOTFIX: mutate timestamp to make it revert back in time and have slots
// happen at 3x their speed from then until we have caught up with the present time.

const REVIVE_TIMESTAMP: u64 = 1579320000000;
const FORK_TIMESTAMP: u64 = 1579057500 * 1000;
// 1/19 2020 11:00:00
const REVIVE_TIMESTAMP: u64 = 1_579_402_800_000;
// #328000
const FORK_TIMESTAMP: u64 = 1_579_055_694_000;
const WARP_FACTOR: u64 = 3;

let time_since_revival = timestamp.saturating_sub(REVIVE_TIMESTAMP);
Expand Down

0 comments on commit b0bd3af

Please sign in to comment.