Skip to content

Commit afb8bd3

Browse files
zfliex924charles2023wood
authored andcommitted
upgrade: configure athena upgrade on mainnet
1 parent 2fd2a2e commit afb8bd3

File tree

4 files changed

+73
-3
lines changed

4 files changed

+73
-3
lines changed

core/systemcontracts/upgrade.go

Lines changed: 70 additions & 0 deletions
Large diffs are not rendered by default.

core/systemcontracts/upgrade_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func TestUpgrade(t *testing.T) {
8484
t.Error(err)
8585
}
8686

87-
err = checkUpgradeConfig("https://raw.githubusercontent.com/coredao-org/core-genesis-contract/master/genesis.json", demeterUpgrade[mainNet])
87+
err = checkUpgradeConfig("https://raw.githubusercontent.com/coredao-org/core-genesis-contract/master/genesis.json", athenaUpgrade[mainNet])
8888
if err != nil {
8989
t.Error(err)
9090
}

params/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ var (
126126
ShanghaiTime: newUint64(1731999600), // 2024-11-19 7:00:00 AM UTC
127127
KeplerTime: newUint64(1731999600),
128128
DemeterTime: newUint64(1731999600),
129-
AthenaTime: nil,
129+
AthenaTime: newUint64(1738544400), // 2025-02-03 1:00:00 AM UTC
130130
Satoshi: &SatoshiConfig{
131131
Period: 3,
132132
Epoch: 200,

params/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
const (
2424
VersionMajor = 1 // Major version component of the current release
2525
VersionMinor = 0 // Minor version component of the current release
26-
VersionPatch = 13 // Patch version component of the current release
26+
VersionPatch = 14 // Patch version component of the current release
2727
VersionMeta = "" // Version metadata to append to the version string
2828
)
2929

0 commit comments

Comments
 (0)