Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump deps, set calibnet nv25 epoch, change nv25-codename #12754

Merged
merged 8 commits into from
Dec 5, 2024
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/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ type ForkUpgradeParams struct {
UpgradePhoenixHeight abi.ChainEpoch
UpgradeWaffleHeight abi.ChainEpoch
UpgradeTuktukHeight abi.ChainEpoch
UpgradeXxHeight abi.ChainEpoch
UpgradeTeepHeight abi.ChainEpoch
}

// ChainExportConfig holds configuration for chain ranged exports.
Expand Down
Binary file modified build/actors/v16.tar.zst
Binary file not shown.
4 changes: 2 additions & 2 deletions build/buildconstants/params_2k.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ var UpgradeWaffleHeight = abi.ChainEpoch(-26)

var UpgradeTuktukHeight = abi.ChainEpoch(-27)

var UpgradeXxHeight = abi.ChainEpoch(200)
var UpgradeTeepHeight = abi.ChainEpoch(200)

// FIP-0081: for the power actor state for pledge calculations.
// UpgradeTuktukPowerRampDurationEpochs ends up in the power actor state after
Expand Down Expand Up @@ -169,7 +169,7 @@ func init() {
UpgradeWaffleHeight = getUpgradeHeight("LOTUS_WAFFLE_HEIGHT", UpgradeWaffleHeight)
UpgradePhoenixHeight = getUpgradeHeight("LOTUS_PHOENIX_HEIGHT", UpgradePhoenixHeight)
UpgradeTuktukHeight = getUpgradeHeight("LOTUS_TUKTUK_HEIGHT", UpgradeTuktukHeight)
UpgradeXxHeight = getUpgradeHeight("LOTUS_XX_HEIGHT", UpgradeXxHeight)
UpgradeTeepHeight = getUpgradeHeight("LOTUS_TEEP_HEIGHT", UpgradeTeepHeight)

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

const GenesisNetworkVersion = network.Version22
const GenesisNetworkVersion = network.Version24

var NetworkBundle = "butterflynet"
var ActorDebugging = false
Expand Down Expand Up @@ -59,7 +59,7 @@ const UpgradeWaffleHeight = -27
const UpgradeTuktukHeight = -28

// ??????
const UpgradeXxHeight = 999999999999999
const UpgradeTeepHeight = 100

// FIP-0081: for the power actor state for pledge calculations.
// UpgradeTuktukPowerRampDurationEpochs ends up in the power actor state after
Expand Down
4 changes: 2 additions & 2 deletions build/buildconstants/params_calibnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ const UpgradeWaffleHeight = 1779094
// 2024-10-23T13:30:00Z
const UpgradeTuktukHeight = 2078794

// ??????
const UpgradeXxHeight = 999999999999999
// 2024-12-16T23:00:00Z
const UpgradeTeepHeight = 2235454
rvagg marked this conversation as resolved.
Show resolved Hide resolved

// FIP-0081: for the power actor state for pledge calculations.
// UpgradeTuktukPowerRampDurationEpochs ends up in the power actor state after
Expand Down
2 changes: 1 addition & 1 deletion build/buildconstants/params_interop.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var UpgradePhoenixHeight = abi.ChainEpoch(-26)
var UpgradeWaffleHeight = abi.ChainEpoch(-27)
var UpgradeTuktukHeight = abi.ChainEpoch(-28)

const UpgradeXxHeight = 50
const UpgradeTeepHeight = 50

// FIP-0081: for the power actor state for pledge calculations.
// UpgradeTuktukPowerRampDurationEpochs ends up in the power actor state after
Expand Down
6 changes: 3 additions & 3 deletions build/buildconstants/params_mainnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const UpgradeWaffleHeight abi.ChainEpoch = 4154640
var UpgradeTuktukHeight abi.ChainEpoch = 4461240

// ??????
var UpgradeXxHeight = abi.ChainEpoch(9999999999)
var UpgradeTeepHeight = abi.ChainEpoch(9999999999)

// FIP-0081: for the power actor state for pledge calculations.
// UpgradeTuktukPowerRampDurationEpochs ends up in the power actor state after
Expand Down Expand Up @@ -149,8 +149,8 @@ func init() {
}
SetAddressNetwork(addrNetwork)

if os.Getenv("LOTUS_DISABLE_XX") == "1" {
UpgradeXxHeight = math.MaxInt64 - 1
if os.Getenv("LOTUS_DISABLE_TEEP") == "1" {
UpgradeTeepHeight = math.MaxInt64 - 1
}

// NOTE: DO NOT change this unless you REALLY know what you're doing. This is not consensus critical, however,
Expand Down
2 changes: 1 addition & 1 deletion build/buildconstants/params_testground.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ var (
UpgradeCalibrationDragonFixHeight abi.ChainEpoch = -28
UpgradeWaffleHeight abi.ChainEpoch = -29
UpgradeTuktukHeight abi.ChainEpoch = -30
UpgradeXxHeight abi.ChainEpoch = -31
UpgradeTeepHeight abi.ChainEpoch = -31

UpgradeTuktukPowerRampDurationEpochs uint64 = 0

Expand Down
252 changes: 126 additions & 126 deletions build/builtin_actors_gen.go

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions build/openrpc/full.json
Original file line number Diff line number Diff line change
Expand Up @@ -19907,7 +19907,7 @@
"UpgradePhoenixHeight": 10101,
"UpgradeWaffleHeight": 10101,
"UpgradeTuktukHeight": 10101,
"UpgradeXxHeight": 10101
"UpgradeTeepHeight": 10101
},
"Eip155ChainID": 123
}
Expand Down Expand Up @@ -20021,6 +20021,10 @@
"title": "number",
"type": "number"
},
"UpgradeTeepHeight": {
"title": "number",
"type": "number"
},
"UpgradeThunderHeight": {
"title": "number",
"type": "number"
Expand All @@ -20044,10 +20048,6 @@
"UpgradeWatermelonHeight": {
"title": "number",
"type": "number"
},
"UpgradeXxHeight": {
"title": "number",
"type": "number"
}
},
"type": "object"
Expand Down
2 changes: 1 addition & 1 deletion chain/consensus/filcns/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ func DefaultUpgradeSchedule() stmgr.UpgradeSchedule {
}},
Expensive: true,
}, {
Height: buildconstants.UpgradeXxHeight,
Height: buildconstants.UpgradeTeepHeight,
Network: network.Version25,
Migration: UpgradeActorsV16,
PreMigrations: []stmgr.PreMigration{{
Expand Down
2 changes: 1 addition & 1 deletion documentation/en/api-v0-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -4485,7 +4485,7 @@ Response:
"UpgradePhoenixHeight": 10101,
"UpgradeWaffleHeight": 10101,
"UpgradeTuktukHeight": 10101,
"UpgradeXxHeight": 10101
"UpgradeTeepHeight": 10101
},
"Eip155ChainID": 123
}
Expand Down
2 changes: 1 addition & 1 deletion documentation/en/api-v1-unstable-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -6796,7 +6796,7 @@ Response:
"UpgradePhoenixHeight": 10101,
"UpgradeWaffleHeight": 10101,
"UpgradeTuktukHeight": 10101,
"UpgradeXxHeight": 10101
"UpgradeTeepHeight": 10101
},
"Eip155ChainID": 123
}
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ require (
github.com/filecoin-project/go-jsonrpc v0.7.0
github.com/filecoin-project/go-padreader v0.0.1
github.com/filecoin-project/go-paramfetch v0.0.4
github.com/filecoin-project/go-state-types v0.16.0-dev
github.com/filecoin-project/go-state-types v0.16.0-rc1
github.com/filecoin-project/go-statemachine v1.0.3
github.com/filecoin-project/go-statestore v0.2.0
github.com/filecoin-project/go-storedcounter v0.1.0
Expand Down Expand Up @@ -131,7 +131,7 @@ require (
github.com/raulk/go-watchdog v1.3.0
github.com/samber/lo v1.39.0
github.com/sirupsen/logrus v1.9.2
github.com/stretchr/testify v1.9.0
github.com/stretchr/testify v1.10.0
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
github.com/triplewz/poseidon v0.0.2
github.com/urfave/cli/v2 v2.25.5
Expand Down
7 changes: 4 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ github.com/filecoin-project/go-state-types v0.0.0-20200928172055-2df22083d8ab/go
github.com/filecoin-project/go-state-types v0.0.0-20201102161440-c8033295a1fc/go.mod h1:ezYnPf0bNkTsDibL/psSz5dy4B5awOJ/E7P2Saeep8g=
github.com/filecoin-project/go-state-types v0.1.0/go.mod h1:ezYnPf0bNkTsDibL/psSz5dy4B5awOJ/E7P2Saeep8g=
github.com/filecoin-project/go-state-types v0.1.6/go.mod h1:UwGVoMsULoCK+bWjEdd/xLCvLAQFBC7EDT477SKml+Q=
github.com/filecoin-project/go-state-types v0.16.0-dev h1:66GP8xfo0elYdLLGxQ4LcAhAvOqKf4IiJkRYxU7UH2M=
github.com/filecoin-project/go-state-types v0.16.0-dev/go.mod h1:k0/j7i06QHRet86mv9/8gregMq59tv+yCr655G9zsX8=
github.com/filecoin-project/go-state-types v0.16.0-rc1 h1:/51MhupBAjfmWygUKDZCdLOzAnKFcayPHX9ApTswgmo=
github.com/filecoin-project/go-state-types v0.16.0-rc1/go.mod h1:4rjTgHP6LWrkQXQCgx+dRGDa0gnk4WiJVCFwZtuDOGE=
github.com/filecoin-project/go-statemachine v1.0.3 h1:N07o6alys+V1tNoSTi4WuuoeNC4erS/6jE74+NsgQuk=
github.com/filecoin-project/go-statemachine v1.0.3/go.mod h1:jZdXXiHa61n4NmgWFG4w8tnqgvZVHYbJ3yW7+y8bF54=
github.com/filecoin-project/go-statestore v0.1.0/go.mod h1:LFc9hD+fRxPqiHiaqUEZOinUJB4WARkRfNl10O7kTnI=
Expand Down Expand Up @@ -1246,8 +1246,9 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stvp/go-udp-testing v0.0.0-20201019212854-469649b16807/go.mod h1:7jxmlfBCDBXRzr0eAQJ48XC1hBu1np4CS5+cHEYfwpc=
github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ=
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY=
Expand Down
2 changes: 1 addition & 1 deletion node/impl/full/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -2079,7 +2079,7 @@ func (a *StateAPI) StateGetNetworkParams(ctx context.Context) (*api.NetworkParam
UpgradePhoenixHeight: buildconstants.UpgradePhoenixHeight,
UpgradeWaffleHeight: buildconstants.UpgradeWaffleHeight,
UpgradeTuktukHeight: buildconstants.UpgradeTuktukHeight,
UpgradeXxHeight: buildconstants.UpgradeXxHeight,
UpgradeTeepHeight: buildconstants.UpgradeTeepHeight,
},
}, nil
}
Loading