Skip to content

Commit ec17cd2

Browse files
Marko BobenMarko Boben
authored andcommitted
Update Cortina times for Flare and Songbird network files
1 parent 6f39d6b commit ec17cd2

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# go-flare
22

3-
**Please note that this release is unable to run Flare or Songbird mainnets - and will display "mainnet is not supported" if attempted to run with flare or songbird network id configuration.**
3+
go-flare is a modified version of [avalanchego@v1.10.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.0) and [coreth@v0.12.0](https://github.com/ava-labs/coreth/releases/tag/v0.12.0), incorporating specific features for Flare and Songbird networks. These features include prioritized contract handling and the invocation of the daemon contract.
44

5-
**Testnets should be updated to this version before**
5+
**Networks should be updated to this version before**
6+
7+
- **Songbird: May 6, 2025 at 12 UTC**
8+
- **Flare: May 13, 2025 at 12 UTC**
69

7-
- **Coston (Songbird testnet): March 27, 2025 at 13 UTC**
8-
- **Coston 2 (Flare testnet) : April 8, 2025 at 12 UTC**
910

10-
go-flare is a modified version of [avalanchego@v1.10.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.0) and [coreth@v0.12.0](https://github.com/ava-labs/coreth/releases/tag/v0.12.0), incorporating specific features for Flare and Songbird networks. These features include prioritized contract handling and the invocation of the daemon contract.
1111

1212
## System Requirements
1313

avalanchego/config/config.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,10 +1330,6 @@ func GetNodeConfig(v *viper.Viper) (node.Config, error) {
13301330
return node.Config{}, err
13311331
}
13321332

1333-
if nodeConfig.NetworkID == constants.FlareID || nodeConfig.NetworkID == constants.SongbirdID {
1334-
return node.Config{}, errors.New("mainnet is not supported")
1335-
}
1336-
13371333
// Database
13381334
nodeConfig.DatabaseConfig, err = getDatabaseConfig(v, nodeConfig.NetworkID)
13391335
if err != nil {

avalanchego/version/constants.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@ var (
144144

145145
CortinaTimes = map[uint32]time.Time{
146146
constants.MainnetID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
147-
constants.FlareID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
147+
constants.FlareID: time.Date(2025, time.May, 13, 12, 0, 0, 0, time.UTC),
148148
constants.CostwoID: time.Date(2025, time.April, 8, 12, 0, 0, 0, time.UTC),
149149
constants.StagingID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
150150
constants.LocalFlareID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
151151
constants.CostonID: time.Date(2025, time.March, 27, 13, 0, 0, 0, time.UTC),
152-
constants.SongbirdID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
152+
constants.SongbirdID: time.Date(2025, time.May, 6, 12, 0, 0, 0, time.UTC),
153153
constants.LocalID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC),
154154
}
155155
CortinaDefaultTime = time.Date(2020, time.December, 5, 5, 0, 0, 0, time.UTC)

coreth/params/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ var (
165165
ApricotPhase6BlockTimestamp: big.NewInt(time.Date(2024, time.December, 17, 13, 0, 0, 0, time.UTC).Unix()),
166166
ApricotPhasePost6BlockTimestamp: big.NewInt(time.Date(2024, time.December, 17, 14, 0, 0, 0, time.UTC).Unix()),
167167
BanffBlockTimestamp: big.NewInt(time.Date(2024, time.December, 17, 15, 0, 0, 0, time.UTC).Unix()),
168-
CortinaBlockTimestamp: big.NewInt(time.Date(10000, time.January, 1, 0, 0, 0, 0, time.UTC).Unix()),
168+
CortinaBlockTimestamp: big.NewInt(time.Date(2025, time.May, 13, 12, 0, 0, 0, time.UTC).Unix()),
169169
}
170170

171171
CostwoChainConfig = &ChainConfig{
@@ -327,7 +327,7 @@ var (
327327
ApricotPhase6BlockTimestamp: big.NewInt(time.Date(2025, time.January, 28, 13, 0, 0, 0, time.UTC).Unix()),
328328
ApricotPhasePost6BlockTimestamp: big.NewInt(time.Date(2025, time.January, 28, 14, 0, 0, 0, time.UTC).Unix()),
329329
BanffBlockTimestamp: big.NewInt(time.Date(2025, time.January, 28, 15, 0, 0, 0, time.UTC).Unix()),
330-
CortinaBlockTimestamp: big.NewInt(time.Date(10000, time.January, 1, 0, 0, 0, 0, time.UTC).Unix()),
330+
CortinaBlockTimestamp: big.NewInt(time.Date(2025, time.May, 6, 12, 0, 0, 0, time.UTC).Unix()),
331331
}
332332

333333
TestChainConfig = &ChainConfig{AvalancheContext{common.Hash{1}}, big.NewInt(1), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0)}

0 commit comments

Comments
 (0)