Skip to content

Commit

Permalink
upgrade: configure athena upgrade on mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
zfliex924 authored and charles2023wood committed Jan 20, 2025
1 parent 2fd2a2e commit afb8bd3
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 3 deletions.
70 changes: 70 additions & 0 deletions core/systemcontracts/upgrade.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/systemcontracts/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestUpgrade(t *testing.T) {
t.Error(err)
}

err = checkUpgradeConfig("https://raw.githubusercontent.com/coredao-org/core-genesis-contract/master/genesis.json", demeterUpgrade[mainNet])
err = checkUpgradeConfig("https://raw.githubusercontent.com/coredao-org/core-genesis-contract/master/genesis.json", athenaUpgrade[mainNet])
if err != nil {
t.Error(err)
}
Expand Down
2 changes: 1 addition & 1 deletion params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ var (
ShanghaiTime: newUint64(1731999600), // 2024-11-19 7:00:00 AM UTC
KeplerTime: newUint64(1731999600),
DemeterTime: newUint64(1731999600),
AthenaTime: nil,
AthenaTime: newUint64(1738544400), // 2025-02-03 1:00:00 AM UTC
Satoshi: &SatoshiConfig{
Period: 3,
Epoch: 200,
Expand Down
2 changes: 1 addition & 1 deletion params/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
const (
VersionMajor = 1 // Major version component of the current release
VersionMinor = 0 // Minor version component of the current release
VersionPatch = 13 // Patch version component of the current release
VersionPatch = 14 // Patch version component of the current release
VersionMeta = "" // Version metadata to append to the version string
)

Expand Down

0 comments on commit afb8bd3

Please sign in to comment.