Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/mocks/mock_full.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ type ForkUpgradeParams struct {
UpgradeTockHeight abi.ChainEpoch
UpgradeGoldenWeekHeight abi.ChainEpoch
UpgradeFireHorseHeight abi.ChainEpoch
UpgradeXxHeight abi.ChainEpoch
}

// ChainExportConfig holds configuration for chain ranged exports.
Expand Down
2 changes: 1 addition & 1 deletion api/v0api/v0mocks/mock_full.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added build/actors/v19.tar.zst
Binary file not shown.
2 changes: 1 addition & 1 deletion build/buildconstants/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ const UserAgent = "lotus"
/* inline-gen template
const TestNetworkVersion = network.Version{{.latestNetworkVersion}}
/* inline-gen start */
const TestNetworkVersion = network.Version28
const TestNetworkVersion = network.Version29

/* inline-gen end */
7 changes: 5 additions & 2 deletions build/buildconstants/params_2k.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const GenesisFile = ""
var NetworkBundle = "devnet"
var ActorDebugging = true

var GenesisNetworkVersion = network.Version27
var GenesisNetworkVersion = network.Version28

var UpgradeBreezeHeight = abi.ChainEpoch(-1)

Expand Down Expand Up @@ -97,7 +97,9 @@ const UpgradeTockFixHeight = -103

var UpgradeGoldenWeekHeight = abi.ChainEpoch(-31)

var UpgradeFireHorseHeight = abi.ChainEpoch(200)
var UpgradeFireHorseHeight = abi.ChainEpoch(-32)

var UpgradeXxHeight = abi.ChainEpoch(200)

var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandQuicknet,
Expand Down Expand Up @@ -180,6 +182,7 @@ func init() {
// UpgradeTockFixHeight = getUpgradeHeight("LOTUS_TOCK_FIX_HEIGHT", UpgradeTockFixHeight)
UpgradeGoldenWeekHeight = getUpgradeHeight("LOTUS_GOLDENWEEK_HEIGHT", UpgradeGoldenWeekHeight)
UpgradeFireHorseHeight = getUpgradeHeight("LOTUS_FIREHORSE_HEIGHT", UpgradeFireHorseHeight)
UpgradeXxHeight = getUpgradeHeight("LOTUS_XX_HEIGHT", UpgradeXxHeight)

DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandQuicknet,
Expand Down
6 changes: 4 additions & 2 deletions build/buildconstants/params_butterfly.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandQuicknet,
}

const GenesisNetworkVersion = network.Version27
const GenesisNetworkVersion = network.Version28

var NetworkBundle = "butterflynet"
var ActorDebugging = false
Expand Down Expand Up @@ -84,7 +84,9 @@ const UpgradeTockFixHeight = -103

var UpgradeGoldenWeekHeight = abi.ChainEpoch(-31)

const UpgradeFireHorseHeight = 1440
const UpgradeFireHorseHeight = -32

const UpgradeXxHeight = 999999999999999

var ConsensusMinerMinPower = abi.NewStoragePower(2 << 30)
var PreCommitChallengeDelay = abi.ChainEpoch(150)
Expand Down
2 changes: 2 additions & 0 deletions build/buildconstants/params_calibnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ const UpgradeGoldenWeekHeight abi.ChainEpoch = 3007294
// 2026-05-07T14:00:00Z
const UpgradeFireHorseHeight = 3694534

const UpgradeXxHeight = 999999999999999

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

Expand Down
4 changes: 3 additions & 1 deletion build/buildconstants/params_interop.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ const UpgradeTockFixHeight abi.ChainEpoch = -4

var UpgradeGoldenWeekHeight = abi.ChainEpoch(-31)

const UpgradeFireHorseHeight = 50
const UpgradeFireHorseHeight = -32

const UpgradeXxHeight = 50

var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandQuicknet,
Expand Down
5 changes: 5 additions & 0 deletions build/buildconstants/params_mainnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ const UpgradeGoldenWeekHeight = abi.ChainEpoch(5348280)
// 2026-05-27T:14:00:00Z
var UpgradeFireHorseHeight = abi.ChainEpoch(6052800)

var UpgradeXxHeight = abi.ChainEpoch(9999999999)

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

var ConsensusMinerMinPower = abi.NewStoragePower(10 << 40)
Expand All @@ -163,6 +165,9 @@ func init() {
if os.Getenv("LOTUS_DISABLE_FIREHORSE") == "1" {
UpgradeFireHorseHeight = math.MaxInt64 - 1
}
if os.Getenv("LOTUS_DISABLE_XX") == "1" {
UpgradeXxHeight = math.MaxInt64 - 1
}

// NOTE: DO NOT change this unless you REALLY know what you're doing. This is not consensus critical, however,
//set this value too high may impacts your block submission; set this value too low may cause you miss
Expand Down
1 change: 1 addition & 0 deletions build/buildconstants/params_testground.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ var (
UpgradeTockFixHeight abi.ChainEpoch = -33
UpgradeGoldenWeekHeight abi.ChainEpoch = -34
UpgradeFireHorseHeight abi.ChainEpoch = -35
UpgradeXxHeight abi.ChainEpoch = -36

DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandMainnet,
Expand Down
Loading
Loading