Skip to content

Commit bc238b7

Browse files
committed
Updated Cortina times for Coston and Costwo networks
1 parent 7ea892a commit bc238b7

File tree

2 files changed

+70
-92
lines changed

2 files changed

+70
-92
lines changed

avalanchego/version/constants.go

Lines changed: 30 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -95,63 +95,54 @@ var (
9595
DefaultUpgradeTime = time.Date(2020, time.December, 5, 5, 0, 0, 0, time.UTC)
9696

9797
ApricotPhase3Times = map[uint32]time.Time{
98-
constants.MainnetID: time.Date(2021, time.August, 24, 14, 0, 0, 0, time.UTC),
99-
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
100-
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
101-
constants.LocalFlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
102-
constants.CostonID: time.Date(2022, time.February, 25, 14, 0, 0, 0, time.UTC),
103-
constants.SongbirdID: time.Date(2022, time.March, 7, 14, 0, 0, 0, time.UTC),
98+
constants.MainnetID: time.Date(2021, time.August, 24, 14, 0, 0, 0, time.UTC),
99+
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
100+
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
101+
constants.CostonID: time.Date(2022, time.February, 25, 14, 0, 0, 0, time.UTC),
102+
constants.SongbirdID: time.Date(2022, time.March, 7, 14, 0, 0, 0, time.UTC),
104103
}
105104

106105
ApricotPhase4Times = map[uint32]time.Time{
107-
constants.MainnetID: time.Date(2021, time.September, 22, 21, 0, 0, 0, time.UTC),
108-
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
109-
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
110-
constants.LocalFlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
111-
constants.CostonID: time.Date(2022, time.February, 25, 15, 0, 0, 0, time.UTC),
112-
constants.SongbirdID: time.Date(2022, time.March, 7, 15, 0, 0, 0, time.UTC),
106+
constants.MainnetID: time.Date(2021, time.September, 22, 21, 0, 0, 0, time.UTC),
107+
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
108+
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
109+
constants.CostonID: time.Date(2022, time.February, 25, 15, 0, 0, 0, time.UTC),
110+
constants.SongbirdID: time.Date(2022, time.March, 7, 15, 0, 0, 0, time.UTC),
113111
}
114112
ApricotPhase4MinPChainHeight = map[uint32]uint64{
115113
constants.MainnetID: 793005,
116114
}
117115

118116
ApricotPhase5Times = map[uint32]time.Time{
119-
constants.MainnetID: time.Date(2021, time.December, 2, 18, 0, 0, 0, time.UTC),
120-
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
121-
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
122-
constants.LocalFlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
123-
constants.CostonID: time.Date(2022, time.February, 25, 16, 0, 0, 0, time.UTC),
124-
constants.SongbirdID: time.Date(2022, time.March, 7, 16, 0, 0, 0, time.UTC),
117+
constants.MainnetID: time.Date(2021, time.December, 2, 18, 0, 0, 0, time.UTC),
118+
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
119+
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
120+
constants.CostonID: time.Date(2022, time.February, 25, 16, 0, 0, 0, time.UTC),
121+
constants.SongbirdID: time.Date(2022, time.March, 7, 16, 0, 0, 0, time.UTC),
125122
}
126123

127124
ApricotPhase6Times = map[uint32]time.Time{
128-
constants.MainnetID: time.Date(2022, time.September, 6, 20, 0, 0, 0, time.UTC),
129-
constants.FlareID: time.Date(2024, time.December, 17, 13, 0, 0, 0, time.UTC),
130-
constants.CostwoID: time.Date(2024, time.November, 26, 13, 0, 0, 0, time.UTC),
131-
constants.LocalFlareID: time.Date(2024, time.November, 5, 13, 0, 0, 0, time.UTC),
132-
constants.CostonID: time.Date(2025, time.January, 7, 13, 0, 0, 0, time.UTC),
133-
constants.SongbirdID: time.Date(2025, time.January, 28, 13, 0, 0, 0, time.UTC),
134-
constants.LocalID: time.Date(2024, time.November, 5, 13, 0, 0, 0, time.UTC),
125+
constants.MainnetID: time.Date(2022, time.September, 6, 20, 0, 0, 0, time.UTC),
126+
constants.FlareID: time.Date(2024, time.December, 17, 13, 0, 0, 0, time.UTC),
127+
constants.CostwoID: time.Date(2024, time.November, 26, 13, 0, 0, 0, time.UTC),
128+
constants.CostonID: time.Date(2025, time.January, 7, 13, 0, 0, 0, time.UTC),
129+
constants.SongbirdID: time.Date(2025, time.January, 28, 13, 0, 0, 0, time.UTC),
135130
}
136131

137132
BanffTimes = map[uint32]time.Time{
138-
constants.MainnetID: time.Date(2022, time.October, 18, 16, 0, 0, 0, time.UTC),
139-
constants.FlareID: time.Date(2024, time.December, 17, 15, 0, 0, 0, time.UTC),
140-
constants.CostwoID: time.Date(2024, time.November, 26, 15, 0, 0, 0, time.UTC),
141-
constants.LocalFlareID: time.Date(2024, time.May, 29, 9, 15, 0, 0, time.UTC),
142-
constants.CostonID: time.Date(2025, time.January, 7, 15, 0, 0, 0, time.UTC),
143-
constants.SongbirdID: time.Date(2025, time.January, 28, 15, 0, 0, 0, time.UTC),
144-
constants.LocalID: time.Date(2024, time.November, 5, 15, 0, 0, 0, time.UTC),
133+
constants.MainnetID: time.Date(2022, time.October, 18, 16, 0, 0, 0, time.UTC),
134+
constants.FlareID: time.Date(2024, time.December, 17, 15, 0, 0, 0, time.UTC),
135+
constants.CostwoID: time.Date(2024, time.November, 26, 15, 0, 0, 0, time.UTC),
136+
constants.CostonID: time.Date(2025, time.January, 7, 15, 0, 0, 0, time.UTC),
137+
constants.SongbirdID: time.Date(2025, time.January, 28, 15, 0, 0, 0, time.UTC),
145138
}
146139

147140
CortinaTimes = map[uint32]time.Time{
148-
constants.MainnetID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
149-
constants.FlareID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
150-
constants.CostwoID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
151-
constants.LocalFlareID: time.Date(2025, time.March, 4, 16, 45, 0, 0, time.UTC),
152-
constants.CostonID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
153-
constants.SongbirdID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
154-
constants.LocalID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
141+
constants.MainnetID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
142+
constants.FlareID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
143+
constants.CostwoID: time.Date(2025, time.April, 8, 12, 0, 0, 0, time.UTC),
144+
constants.CostonID: time.Date(2025, time.March, 27, 13, 0, 0, 0, time.UTC),
145+
constants.SongbirdID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
155146
}
156147
CortinaXChainStopVertexID = map[uint32]ids.ID{
157148
// The mainnet stop vertex is well known. It can be verified on any

coreth/params/constants.go

Lines changed: 40 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,27 @@ var (
1919
}
2020

2121
ApricotPhase3Times = map[uint32]time.Time{
22-
constants.MainnetID: time.Date(2021, time.August, 24, 14, 0, 0, 0, time.UTC),
23-
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
24-
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
25-
constants.LocalFlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
26-
constants.CostonID: time.Date(2022, time.February, 25, 14, 0, 0, 0, time.UTC),
27-
constants.SongbirdID: time.Date(2022, time.March, 7, 14, 0, 0, 0, time.UTC),
22+
constants.MainnetID: time.Date(2021, time.August, 24, 14, 0, 0, 0, time.UTC),
23+
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
24+
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
25+
constants.CostonID: time.Date(2022, time.February, 25, 14, 0, 0, 0, time.UTC),
26+
constants.SongbirdID: time.Date(2022, time.March, 7, 14, 0, 0, 0, time.UTC),
2827
}
2928

3029
ApricotPhase4Times = map[uint32]time.Time{
31-
constants.MainnetID: time.Date(2021, time.September, 22, 21, 0, 0, 0, time.UTC),
32-
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
33-
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
34-
constants.LocalFlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
35-
constants.CostonID: time.Date(2022, time.February, 25, 15, 0, 0, 0, time.UTC),
36-
constants.SongbirdID: time.Date(2022, time.March, 7, 15, 0, 0, 0, time.UTC),
30+
constants.MainnetID: time.Date(2021, time.September, 22, 21, 0, 0, 0, time.UTC),
31+
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
32+
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
33+
constants.CostonID: time.Date(2022, time.February, 25, 15, 0, 0, 0, time.UTC),
34+
constants.SongbirdID: time.Date(2022, time.March, 7, 15, 0, 0, 0, time.UTC),
3735
}
3836

3937
ApricotPhase5Times = map[uint32]time.Time{
40-
constants.MainnetID: time.Date(2021, time.December, 2, 18, 0, 0, 0, time.UTC),
41-
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
42-
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
43-
constants.LocalFlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
44-
constants.CostonID: time.Date(2022, time.February, 25, 16, 0, 0, 0, time.UTC),
45-
constants.SongbirdID: time.Date(2022, time.March, 7, 16, 0, 0, 0, time.UTC),
38+
constants.MainnetID: time.Date(2021, time.December, 2, 18, 0, 0, 0, time.UTC),
39+
constants.FlareID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
40+
constants.CostwoID: time.Date(2022, time.June, 1, 0, 0, 0, 0, time.UTC),
41+
constants.CostonID: time.Date(2022, time.February, 25, 16, 0, 0, 0, time.UTC),
42+
constants.SongbirdID: time.Date(2022, time.March, 7, 16, 0, 0, 0, time.UTC),
4643
}
4744

4845
SongbirdTransitionTimes = map[uint32]time.Time{
@@ -51,53 +48,43 @@ var (
5148
}
5249

5350
ApricotPhasePre6Times = map[uint32]time.Time{
54-
constants.MainnetID: time.Date(2022, time.September, 5, 1, 30, 0, 0, time.UTC),
55-
constants.FlareID: time.Date(2024, time.December, 17, 12, 0, 0, 0, time.UTC),
56-
constants.CostwoID: time.Date(2024, time.November, 26, 12, 0, 0, 0, time.UTC),
57-
constants.LocalFlareID: time.Date(2024, time.November, 5, 12, 0, 0, 0, time.UTC),
58-
constants.CostonID: time.Date(2025, time.January, 7, 12, 0, 0, 0, time.UTC),
59-
constants.SongbirdID: time.Date(2025, time.January, 28, 12, 0, 0, 0, time.UTC),
60-
constants.LocalID: time.Date(2024, time.November, 5, 12, 0, 0, 0, time.UTC),
51+
constants.MainnetID: time.Date(2022, time.September, 5, 1, 30, 0, 0, time.UTC),
52+
constants.FlareID: time.Date(2024, time.December, 17, 12, 0, 0, 0, time.UTC),
53+
constants.CostwoID: time.Date(2024, time.November, 26, 12, 0, 0, 0, time.UTC),
54+
constants.CostonID: time.Date(2025, time.January, 7, 12, 0, 0, 0, time.UTC),
55+
constants.SongbirdID: time.Date(2025, time.January, 28, 12, 0, 0, 0, time.UTC),
6156
}
6257

6358
ApricotPhase6Times = map[uint32]time.Time{
64-
constants.MainnetID: time.Date(2022, time.September, 6, 20, 0, 0, 0, time.UTC),
65-
constants.FlareID: time.Date(2024, time.December, 17, 13, 0, 0, 0, time.UTC),
66-
constants.CostwoID: time.Date(2024, time.November, 26, 13, 0, 0, 0, time.UTC),
67-
constants.LocalFlareID: time.Date(2024, time.November, 5, 13, 0, 0, 0, time.UTC),
68-
constants.CostonID: time.Date(2025, time.January, 7, 13, 0, 0, 0, time.UTC),
69-
constants.SongbirdID: time.Date(2025, time.January, 28, 13, 0, 0, 0, time.UTC),
70-
constants.LocalID: time.Date(2024, time.November, 5, 13, 0, 0, 0, time.UTC),
59+
constants.MainnetID: time.Date(2022, time.September, 6, 20, 0, 0, 0, time.UTC),
60+
constants.FlareID: time.Date(2024, time.December, 17, 13, 0, 0, 0, time.UTC),
61+
constants.CostwoID: time.Date(2024, time.November, 26, 13, 0, 0, 0, time.UTC),
62+
constants.CostonID: time.Date(2025, time.January, 7, 13, 0, 0, 0, time.UTC),
63+
constants.SongbirdID: time.Date(2025, time.January, 28, 13, 0, 0, 0, time.UTC),
7164
}
7265

7366
ApricotPhasePost6Times = map[uint32]time.Time{
74-
constants.MainnetID: time.Date(2022, time.September, 7, 3, 0, 0, 0, time.UTC),
75-
constants.FlareID: time.Date(2024, time.December, 17, 14, 0, 0, 0, time.UTC),
76-
constants.CostwoID: time.Date(2024, time.November, 26, 14, 0, 0, 0, time.UTC),
77-
constants.LocalFlareID: time.Date(2024, time.November, 5, 14, 0, 0, 0, time.UTC),
78-
constants.CostonID: time.Date(2025, time.January, 7, 14, 0, 0, 0, time.UTC),
79-
constants.SongbirdID: time.Date(2025, time.January, 28, 14, 0, 0, 0, time.UTC),
80-
constants.LocalID: time.Date(2024, time.November, 5, 14, 0, 0, 0, time.UTC),
67+
constants.MainnetID: time.Date(2022, time.September, 7, 3, 0, 0, 0, time.UTC),
68+
constants.FlareID: time.Date(2024, time.December, 17, 14, 0, 0, 0, time.UTC),
69+
constants.CostwoID: time.Date(2024, time.November, 26, 14, 0, 0, 0, time.UTC),
70+
constants.CostonID: time.Date(2025, time.January, 7, 14, 0, 0, 0, time.UTC),
71+
constants.SongbirdID: time.Date(2025, time.January, 28, 14, 0, 0, 0, time.UTC),
8172
}
8273

8374
BanffTimes = map[uint32]time.Time{
84-
constants.MainnetID: time.Date(2022, time.October, 18, 16, 0, 0, 0, time.UTC),
85-
constants.FlareID: time.Date(2024, time.December, 17, 15, 0, 0, 0, time.UTC),
86-
constants.CostwoID: time.Date(2024, time.November, 26, 15, 0, 0, 0, time.UTC),
87-
constants.LocalFlareID: time.Date(2024, time.May, 29, 9, 15, 0, 0, time.UTC),
88-
constants.CostonID: time.Date(2025, time.January, 7, 15, 0, 0, 0, time.UTC),
89-
constants.SongbirdID: time.Date(2025, time.January, 28, 15, 0, 0, 0, time.UTC),
90-
constants.LocalID: time.Date(2024, time.November, 5, 15, 0, 0, 0, time.UTC),
75+
constants.MainnetID: time.Date(2022, time.October, 18, 16, 0, 0, 0, time.UTC),
76+
constants.FlareID: time.Date(2024, time.December, 17, 15, 0, 0, 0, time.UTC),
77+
constants.CostwoID: time.Date(2024, time.November, 26, 15, 0, 0, 0, time.UTC),
78+
constants.CostonID: time.Date(2025, time.January, 7, 15, 0, 0, 0, time.UTC),
79+
constants.SongbirdID: time.Date(2025, time.January, 28, 15, 0, 0, 0, time.UTC),
9180
}
9281

9382
CortinaTimes = map[uint32]time.Time{
94-
constants.MainnetID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
95-
constants.FlareID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
96-
constants.CostwoID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
97-
constants.LocalFlareID: time.Date(2025, time.January, 8, 13, 30, 0, 0, time.UTC),
98-
constants.CostonID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
99-
constants.SongbirdID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
100-
constants.LocalID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
83+
constants.MainnetID: time.Date(2023, time.April, 25, 15, 0, 0, 0, time.UTC),
84+
constants.FlareID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
85+
constants.CostwoID: time.Date(2025, time.April, 8, 12, 0, 0, 0, time.UTC),
86+
constants.CostonID: time.Date(2025, time.March, 27, 13, 0, 0, 0, time.UTC),
87+
constants.SongbirdID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
10188
}
10289

10390
DurangoTimes = map[uint32]time.Time{

0 commit comments

Comments
 (0)