Skip to content

Commit

Permalink
Changed phase 2 staking start times
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Boben committed Aug 28, 2023
1 parent 8da4310 commit 7019b28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions avalanchego/vms/platformvm/txs/executor/inflation_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ func GetCurrentInflationSettings(currentTimestamp time.Time, networkID uint32, c
func getPhaseTwoStakingStartTime(networkID uint32) time.Time {
switch networkID {
case constants.FlareID:
return time.Date(2023, time.September, 15, 0, 0, 0, 0, time.UTC)
return time.Date(2023, time.October, 1, 0, 0, 0, 0, time.UTC)
case constants.CostwoID:
return time.Date(2023, time.August, 15, 0, 0, 0, 0, time.UTC)
return time.Date(2023, time.September, 7, 0, 0, 0, 0, time.UTC)
default:
return time.Date(2023, time.August, 1, 0, 0, 0, 0, time.UTC)
}
Expand Down Expand Up @@ -101,7 +101,7 @@ func getPhaseTwoInflationSettings(networkID uint32, config *config.Config) (uint
365 * 24 * time.Hour, // maxStakeDuration
MaxFutureStartTime, // minFutureStartTimeOffset
15, // maxValidatorWeightFactor
time.Date(2023, time.September, 15, 0, 0, 0, 0, time.UTC) // minStakeStartTime
time.Date(2023, time.October, 1, 0, 0, 0, 0, time.UTC) // minStakeStartTime
case constants.CostwoID:
return 1 * units.MegaAvax,
200 * units.MegaAvax,
Expand All @@ -112,7 +112,7 @@ func getPhaseTwoInflationSettings(networkID uint32, config *config.Config) (uint
365 * 24 * time.Hour,
MaxFutureStartTime,
15,
time.Date(2023, time.August, 15, 0, 0, 0, 0, time.UTC)
time.Date(2023, time.September, 7, 0, 0, 0, 0, time.UTC)
default:
return getPhaseOneInflationSettings(networkID, config)
}
Expand Down

0 comments on commit 7019b28

Please sign in to comment.