Skip to content

Commit 9e5d3f4

Browse files
authored
chore: update nv27 codename (#13334)
* chore: update nv27 codename chore: update nv27 codename * chore: update nv27 codename chore: update nv27 codename
1 parent ed563c9 commit 9e5d3f4

File tree

13 files changed

+24
-24
lines changed

13 files changed

+24
-24
lines changed

api/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ type ForkUpgradeParams struct {
195195
UpgradeTuktukHeight abi.ChainEpoch
196196
UpgradeTeepHeight abi.ChainEpoch
197197
UpgradeTockHeight abi.ChainEpoch
198-
UpgradeXxHeight abi.ChainEpoch
198+
UpgradeGoldenWeekHeight abi.ChainEpoch
199199
}
200200

201201
// ChainExportConfig holds configuration for chain ranged exports.

build/buildconstants/params_2k.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ var UpgradeTockHeight = abi.ChainEpoch(-30)
9696

9797
const UpgradeTockFixHeight = -103
9898

99-
var UpgradeXxHeight = abi.ChainEpoch(200)
99+
var UpgradeGoldenWeekHeight = abi.ChainEpoch(200)
100100

101101
var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
102102
0: DrandQuicknet,
@@ -177,7 +177,7 @@ func init() {
177177
UpgradeTeepHeight = getUpgradeHeight("LOTUS_TEEP_HEIGHT", UpgradeTeepHeight)
178178
UpgradeTockHeight = getUpgradeHeight("LOTUS_TOCK_HEIGHT", UpgradeTockHeight)
179179
// UpgradeTockFixHeight = getUpgradeHeight("LOTUS_TOCK_FIX_HEIGHT", UpgradeTockFixHeight)
180-
UpgradeXxHeight = getUpgradeHeight("LOTUS_XX_HEIGHT", UpgradeXxHeight)
180+
UpgradeGoldenWeekHeight = getUpgradeHeight("LOTUS_GOLDENWEEK_HEIGHT", UpgradeGoldenWeekHeight)
181181

182182
DrandSchedule = map[abi.ChainEpoch]DrandEnum{
183183
0: DrandQuicknet,

build/buildconstants/params_butterfly.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const UpgradeTockHeight = -30
8484
const UpgradeTockFixHeight = -103
8585

8686
// ??????
87-
const UpgradeXxHeight = 999999999999999
87+
const UpgradeGoldenWeekHeight = 999999999999999
8888

8989
var ConsensusMinerMinPower = abi.NewStoragePower(2 << 30)
9090
var PreCommitChallengeDelay = abi.ChainEpoch(150)

build/buildconstants/params_calibnet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ var UpgradeTockHeight abi.ChainEpoch = UpgradeTeepHeight + builtin.EpochsInDay*7
126126
const UpgradeTockFixHeight abi.ChainEpoch = 2558014
127127

128128
// ??????
129-
const UpgradeXxHeight = 999999999999999
129+
const UpgradeGoldenWeekHeight = 999999999999999
130130

131131
var ConsensusMinerMinPower = abi.NewStoragePower(32 << 30)
132132
var PreCommitChallengeDelay = abi.ChainEpoch(150)

build/buildconstants/params_interop.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ var UpgradeTockHeight = abi.ChainEpoch(-30)
8282
// This fix upgrade only ran on calibrationnet
8383
const UpgradeTockFixHeight abi.ChainEpoch = -4
8484

85-
const UpgradeXxHeight = 50
85+
const UpgradeGoldenWeekHeight = 50
8686

8787
var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
8888
0: DrandQuicknet,

build/buildconstants/params_mainnet.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ var UpgradeTockHeight = UpgradeTeepHeight + builtin.EpochsInDay*90
139139
var UpgradeTockFixHeight = abi.ChainEpoch(-1)
140140

141141
// ??????
142-
var UpgradeXxHeight = abi.ChainEpoch(9999999999)
142+
var UpgradeGoldenWeekHeight = abi.ChainEpoch(9999999999)
143143

144144
var UpgradeTeepInitialFilReserved = InitialFilReserved // FIP-0100: no change for mainnet
145145

@@ -158,8 +158,8 @@ func init() {
158158
}
159159
SetAddressNetwork(addrNetwork)
160160

161-
if os.Getenv("LOTUS_DISABLE_XX") == "1" {
162-
UpgradeXxHeight = math.MaxInt64 - 1
161+
if os.Getenv("LOTUS_DISABLE_GOLDENWEEK") == "1" {
162+
UpgradeGoldenWeekHeight = math.MaxInt64 - 1
163163
}
164164

165165
// NOTE: DO NOT change this unless you REALLY know what you're doing. This is not consensus critical, however,

build/buildconstants/params_testground.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ var (
110110
UpgradeTeepInitialFilReserved *big.Int = wholeFIL(300_000_000)
111111
UpgradeTockHeight abi.ChainEpoch = -32
112112
UpgradeTockFixHeight abi.ChainEpoch = -33
113-
UpgradeXxHeight abi.ChainEpoch = -34
113+
UpgradeGoldenWeekHeight abi.ChainEpoch = -34
114114

115115
DrandSchedule = map[abi.ChainEpoch]DrandEnum{
116116
0: DrandMainnet,

build/openrpc/full.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/openrpc/gateway.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chain/consensus/filcns/upgrades.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ func DefaultUpgradeSchedule() stmgr.UpgradeSchedule {
351351
Network: network.Version26,
352352
Migration: UpgradeActorsV16Fix,
353353
}, {
354-
Height: buildconstants.UpgradeXxHeight,
354+
Height: buildconstants.UpgradeGoldenWeekHeight,
355355
Network: network.Version27,
356356
Migration: UpgradeActorsV17,
357357
PreMigrations: []stmgr.PreMigration{{

0 commit comments

Comments
 (0)