Skip to content

Commit 205d6b8

Browse files
authored
Merge pull request #6223 from filecoin-project/fix/calibnet
fix: light-weight patch to fix calibrationnet again by removing move_partitions from built-in actors
2 parents c47fae6 + 3edb637 commit 205d6b8

File tree

14 files changed

+428
-386
lines changed

14 files changed

+428
-386
lines changed

fixtures/networks/butterfly.go

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,32 +31,33 @@ func ButterflySnapNet() *NetworkConf {
3131
MinVerifiedDealSize: 1 << 20,
3232
PreCommitChallengeDelay: abi.ChainEpoch(150),
3333
ForkUpgradeParam: &config.ForkUpgradeConfig{
34-
BreezeGasTampingDuration: 120,
35-
UpgradeBreezeHeight: -1,
36-
UpgradeSmokeHeight: -2,
37-
UpgradeIgnitionHeight: -3,
38-
UpgradeRefuelHeight: -4,
39-
UpgradeAssemblyHeight: -5,
40-
UpgradeTapeHeight: -6,
41-
UpgradeLiftoffHeight: -7,
42-
UpgradeKumquatHeight: -8,
43-
UpgradeCalicoHeight: -9,
44-
UpgradePersianHeight: -10,
45-
UpgradeOrangeHeight: -11,
46-
UpgradeClausHeight: -12,
47-
UpgradeTrustHeight: -13,
48-
UpgradeNorwegianHeight: -14,
49-
UpgradeTurboHeight: -15,
50-
UpgradeHyperdriveHeight: -16,
51-
UpgradeChocolateHeight: -17,
52-
UpgradeOhSnapHeight: -18,
53-
UpgradeSkyrHeight: -19,
54-
UpgradeSharkHeight: -20,
55-
UpgradeHyggeHeight: -21,
56-
UpgradeLightningHeight: -22,
57-
UpgradeThunderHeight: -23,
58-
UpgradeWatermelonHeight: 400,
59-
UpgradeWatermelonFixHeight: -25, // This fix upgrade only ran on calibrationnet
34+
BreezeGasTampingDuration: 120,
35+
UpgradeBreezeHeight: -1,
36+
UpgradeSmokeHeight: -2,
37+
UpgradeIgnitionHeight: -3,
38+
UpgradeRefuelHeight: -4,
39+
UpgradeAssemblyHeight: -5,
40+
UpgradeTapeHeight: -6,
41+
UpgradeLiftoffHeight: -7,
42+
UpgradeKumquatHeight: -8,
43+
UpgradeCalicoHeight: -9,
44+
UpgradePersianHeight: -10,
45+
UpgradeOrangeHeight: -11,
46+
UpgradeClausHeight: -12,
47+
UpgradeTrustHeight: -13,
48+
UpgradeNorwegianHeight: -14,
49+
UpgradeTurboHeight: -15,
50+
UpgradeHyperdriveHeight: -16,
51+
UpgradeChocolateHeight: -17,
52+
UpgradeOhSnapHeight: -18,
53+
UpgradeSkyrHeight: -19,
54+
UpgradeSharkHeight: -20,
55+
UpgradeHyggeHeight: -21,
56+
UpgradeLightningHeight: -22,
57+
UpgradeThunderHeight: -23,
58+
UpgradeWatermelonHeight: 400,
59+
UpgradeWatermelonFixHeight: -100, // This fix upgrade only ran on calibrationnet
60+
UpgradeWatermelonFix2Height: -101, // This fix upgrade only ran on calibrationnet
6061
},
6162
DrandSchedule: map[abi.ChainEpoch]config.DrandEnum{0: 1},
6263
AddressNetwork: address.Testnet,

fixtures/networks/calibration.go

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -38,32 +38,33 @@ func Calibration() *NetworkConf {
3838
MinVerifiedDealSize: 1 << 20,
3939
PreCommitChallengeDelay: abi.ChainEpoch(150),
4040
ForkUpgradeParam: &config.ForkUpgradeConfig{
41-
BreezeGasTampingDuration: 120,
42-
UpgradeBreezeHeight: -1,
43-
UpgradeSmokeHeight: -2,
44-
UpgradeIgnitionHeight: -3,
45-
UpgradeRefuelHeight: -4,
46-
UpgradeAssemblyHeight: 30,
47-
UpgradeTapeHeight: 60,
48-
UpgradeLiftoffHeight: -5,
49-
UpgradeKumquatHeight: 90,
50-
UpgradeCalicoHeight: 120,
51-
UpgradePersianHeight: 120 + (builtin2.EpochsInHour * 1),
52-
UpgradeClausHeight: 270,
53-
UpgradeOrangeHeight: 300,
54-
UpgradeTrustHeight: 330,
55-
UpgradeNorwegianHeight: 360,
56-
UpgradeTurboHeight: 390,
57-
UpgradeHyperdriveHeight: 420,
58-
UpgradeChocolateHeight: 450,
59-
UpgradeOhSnapHeight: 480,
60-
UpgradeSkyrHeight: 510,
61-
UpgradeSharkHeight: 16800,
62-
UpgradeHyggeHeight: 322354, // 2023-02-21T16:30:00Z
63-
UpgradeLightningHeight: 489094, // 2023-04-20T14:00:00Z
64-
UpgradeThunderHeight: 489094 + 3120, // 2023-04-21T16:00:00Z
65-
UpgradeWatermelonHeight: 1013134, // 2023-10-19T13:00:00Z
66-
UpgradeWatermelonFixHeight: 1070494, // 2023-11-07T13:00:00Z
41+
BreezeGasTampingDuration: 120,
42+
UpgradeBreezeHeight: -1,
43+
UpgradeSmokeHeight: -2,
44+
UpgradeIgnitionHeight: -3,
45+
UpgradeRefuelHeight: -4,
46+
UpgradeAssemblyHeight: 30,
47+
UpgradeTapeHeight: 60,
48+
UpgradeLiftoffHeight: -5,
49+
UpgradeKumquatHeight: 90,
50+
UpgradeCalicoHeight: 120,
51+
UpgradePersianHeight: 120 + (builtin2.EpochsInHour * 1),
52+
UpgradeClausHeight: 270,
53+
UpgradeOrangeHeight: 300,
54+
UpgradeTrustHeight: 330,
55+
UpgradeNorwegianHeight: 360,
56+
UpgradeTurboHeight: 390,
57+
UpgradeHyperdriveHeight: 420,
58+
UpgradeChocolateHeight: 450,
59+
UpgradeOhSnapHeight: 480,
60+
UpgradeSkyrHeight: 510,
61+
UpgradeSharkHeight: 16800,
62+
UpgradeHyggeHeight: 322354, // 2023-02-21T16:30:00Z
63+
UpgradeLightningHeight: 489094, // 2023-04-20T14:00:00Z
64+
UpgradeThunderHeight: 489094 + 3120, // 2023-04-21T16:00:00Z
65+
UpgradeWatermelonHeight: 1013134, // 2023-10-19T13:00:00Z
66+
UpgradeWatermelonFixHeight: 1070494, // 2023-11-07T13:00:00Z
67+
UpgradeWatermelonFix2Height: 1108174, // 2023-11-21T13:00:00Z
6768
},
6869
DrandSchedule: map[abi.ChainEpoch]config.DrandEnum{0: 1},
6970
AddressNetwork: address.Testnet,

fixtures/networks/forcenet.go

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,26 @@ func ForceNet() *NetworkConf {
4040
// Miners, clients, developers, custodians all need time to prepare.
4141
// We still have upgrades and state changes to do, but can happen after signaling timing here.
4242

43-
UpgradeAssemblyHeight: -7, // critical: the network can bootstrap from v1 only
44-
UpgradeKumquatHeight: -8,
45-
UpgradeCalicoHeight: -9,
46-
UpgradePersianHeight: -10,
47-
UpgradeOrangeHeight: -11,
48-
UpgradeClausHeight: -12,
49-
UpgradeTrustHeight: -13,
50-
UpgradeNorwegianHeight: -14,
51-
UpgradeTurboHeight: -15,
52-
UpgradeHyperdriveHeight: -16,
53-
UpgradeChocolateHeight: -17,
54-
UpgradeOhSnapHeight: -18,
55-
UpgradeSkyrHeight: -19,
56-
UpgradeSharkHeight: -20,
57-
UpgradeHyggeHeight: -21,
58-
UpgradeLightningHeight: -22,
59-
UpgradeThunderHeight: -23,
60-
UpgradeWatermelonHeight: 200,
61-
UpgradeWatermelonFixHeight: -25, // This fix upgrade only ran on calibrationnet
43+
UpgradeAssemblyHeight: -7, // critical: the network can bootstrap from v1 only
44+
UpgradeKumquatHeight: -8,
45+
UpgradeCalicoHeight: -9,
46+
UpgradePersianHeight: -10,
47+
UpgradeOrangeHeight: -11,
48+
UpgradeClausHeight: -12,
49+
UpgradeTrustHeight: -13,
50+
UpgradeNorwegianHeight: -14,
51+
UpgradeTurboHeight: -15,
52+
UpgradeHyperdriveHeight: -16,
53+
UpgradeChocolateHeight: -17,
54+
UpgradeOhSnapHeight: -18,
55+
UpgradeSkyrHeight: -19,
56+
UpgradeSharkHeight: -20,
57+
UpgradeHyggeHeight: -21,
58+
UpgradeLightningHeight: -22,
59+
UpgradeThunderHeight: -23,
60+
UpgradeWatermelonHeight: 200,
61+
UpgradeWatermelonFixHeight: -100, // This fix upgrade only ran on calibrationnet
62+
UpgradeWatermelonFix2Height: -101, // This fix upgrade only ran on calibrationnet
6263
},
6364
DrandSchedule: map[abi.ChainEpoch]config.DrandEnum{0: config.DrandMainnet},
6465
AddressNetwork: address.Testnet,

fixtures/networks/hyperspace.go

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,33 @@ func HyperspaceNet() *NetworkConf {
3434
MinVerifiedDealSize: 1 << 20,
3535
PreCommitChallengeDelay: abi.ChainEpoch(10),
3636
ForkUpgradeParam: &config.ForkUpgradeConfig{
37-
BreezeGasTampingDuration: 120,
38-
UpgradeBreezeHeight: -1,
39-
UpgradeSmokeHeight: -2,
40-
UpgradeIgnitionHeight: -3,
41-
UpgradeRefuelHeight: -4,
42-
UpgradeAssemblyHeight: -5,
43-
UpgradeTapeHeight: -6,
44-
UpgradeLiftoffHeight: -7,
45-
UpgradeKumquatHeight: -8,
46-
UpgradeCalicoHeight: -9,
47-
UpgradePersianHeight: -10,
48-
UpgradeOrangeHeight: -11,
49-
UpgradeClausHeight: -12,
50-
UpgradeTrustHeight: -13,
51-
UpgradeNorwegianHeight: -14,
52-
UpgradeTurboHeight: -15,
53-
UpgradeHyperdriveHeight: -16,
54-
UpgradeChocolateHeight: -17,
55-
UpgradeOhSnapHeight: -18,
56-
UpgradeSkyrHeight: -19,
57-
UpgradeSharkHeight: -20,
58-
UpgradeHyggeHeight: -21,
37+
BreezeGasTampingDuration: 120,
38+
UpgradeBreezeHeight: -1,
39+
UpgradeSmokeHeight: -2,
40+
UpgradeIgnitionHeight: -3,
41+
UpgradeRefuelHeight: -4,
42+
UpgradeAssemblyHeight: -5,
43+
UpgradeTapeHeight: -6,
44+
UpgradeLiftoffHeight: -7,
45+
UpgradeKumquatHeight: -8,
46+
UpgradeCalicoHeight: -9,
47+
UpgradePersianHeight: -10,
48+
UpgradeOrangeHeight: -11,
49+
UpgradeClausHeight: -12,
50+
UpgradeTrustHeight: -13,
51+
UpgradeNorwegianHeight: -14,
52+
UpgradeTurboHeight: -15,
53+
UpgradeHyperdriveHeight: -16,
54+
UpgradeChocolateHeight: -17,
55+
UpgradeOhSnapHeight: -18,
56+
UpgradeSkyrHeight: -19,
57+
UpgradeSharkHeight: -20,
58+
UpgradeHyggeHeight: -21,
59+
UpgradeLightningHeight: -22,
60+
UpgradeThunderHeight: -23,
61+
UpgradeWatermelonHeight: 200,
62+
UpgradeWatermelonFixHeight: -100, // This fix upgrade only ran on calibrationnet
63+
UpgradeWatermelonFix2Height: -101, // This fix upgrade only ran on calibrationnet
5964
},
6065
DrandSchedule: map[abi.ChainEpoch]config.DrandEnum{0: 1},
6166
AddressNetwork: address.Testnet,

fixtures/networks/integrationtestnet.go

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,33 @@ func IntegrationNet() *NetworkConf {
2626
MinVerifiedDealSize: 1 << 20,
2727
PreCommitChallengeDelay: abi.ChainEpoch(150),
2828
ForkUpgradeParam: &config.ForkUpgradeConfig{
29-
BreezeGasTampingDuration: 120,
30-
UpgradeBreezeHeight: 41280,
31-
UpgradeSmokeHeight: 51000,
32-
UpgradeIgnitionHeight: 94000,
33-
UpgradeRefuelHeight: 130800,
34-
UpgradeAssemblyHeight: 138720,
35-
UpgradeTapeHeight: 140760,
36-
UpgradeLiftoffHeight: 148888,
37-
UpgradeKumquatHeight: 170000,
38-
UpgradeCalicoHeight: 265200,
39-
UpgradePersianHeight: 265200 + (120 * 60),
40-
UpgradeOrangeHeight: 336458,
41-
UpgradeClausHeight: 343200,
42-
UpgradeTrustHeight: 550321,
43-
UpgradeNorwegianHeight: 665280,
44-
UpgradeTurboHeight: 712320,
45-
UpgradeHyperdriveHeight: 892800,
46-
UpgradeChocolateHeight: 1231620,
47-
UpgradeOhSnapHeight: 1594680,
48-
UpgradeSkyrHeight: 1960320,
49-
UpgradeSharkHeight: 2383680,
50-
UpgradeHyggeHeight: 2683348,
51-
UpgradeLightningHeight: 2809800,
52-
UpgradeThunderHeight: 2809800 + 2880*21,
53-
UpgradeWatermelonHeight: 3431940,
54-
UpgradeWatermelonFixHeight: -25, // This fix upgrade only ran on calibrationnet
29+
BreezeGasTampingDuration: 120,
30+
UpgradeBreezeHeight: 41280,
31+
UpgradeSmokeHeight: 51000,
32+
UpgradeIgnitionHeight: 94000,
33+
UpgradeRefuelHeight: 130800,
34+
UpgradeAssemblyHeight: 138720,
35+
UpgradeTapeHeight: 140760,
36+
UpgradeLiftoffHeight: 148888,
37+
UpgradeKumquatHeight: 170000,
38+
UpgradeCalicoHeight: 265200,
39+
UpgradePersianHeight: 265200 + (120 * 60),
40+
UpgradeOrangeHeight: 336458,
41+
UpgradeClausHeight: 343200,
42+
UpgradeTrustHeight: 550321,
43+
UpgradeNorwegianHeight: 665280,
44+
UpgradeTurboHeight: 712320,
45+
UpgradeHyperdriveHeight: 892800,
46+
UpgradeChocolateHeight: 1231620,
47+
UpgradeOhSnapHeight: 1594680,
48+
UpgradeSkyrHeight: 1960320,
49+
UpgradeSharkHeight: 2383680,
50+
UpgradeHyggeHeight: 2683348,
51+
UpgradeLightningHeight: 2809800,
52+
UpgradeThunderHeight: 2809800 + 2880*21,
53+
UpgradeWatermelonHeight: 3431940,
54+
UpgradeWatermelonFixHeight: -100, // This fix upgrade only ran on calibrationnet
55+
UpgradeWatermelonFix2Height: -101, // This fix upgrade only ran on calibrationnet
5556
},
5657
DrandSchedule: map[abi.ChainEpoch]config.DrandEnum{0: 5, 51000: 1},
5758
AddressNetwork: address.Testnet,

fixtures/networks/interopnet.go

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,32 +31,33 @@ func InteropNet() *NetworkConf {
3131
MinVerifiedDealSize: 256,
3232
PreCommitChallengeDelay: abi.ChainEpoch(10),
3333
ForkUpgradeParam: &config.ForkUpgradeConfig{
34-
BreezeGasTampingDuration: 0,
35-
UpgradeBreezeHeight: -1,
36-
UpgradeSmokeHeight: -2,
37-
UpgradeIgnitionHeight: -3,
38-
UpgradeRefuelHeight: -4,
39-
UpgradeAssemblyHeight: -5,
40-
UpgradeTapeHeight: -6,
41-
UpgradeLiftoffHeight: -7,
42-
UpgradeKumquatHeight: -8,
43-
UpgradeCalicoHeight: -9,
44-
UpgradePersianHeight: -10,
45-
UpgradeOrangeHeight: -11,
46-
UpgradeClausHeight: -12,
47-
UpgradeTrustHeight: -13,
48-
UpgradeNorwegianHeight: -14,
49-
UpgradeTurboHeight: -15,
50-
UpgradeHyperdriveHeight: -16,
51-
UpgradeChocolateHeight: -17,
52-
UpgradeOhSnapHeight: -18,
53-
UpgradeSkyrHeight: -19,
54-
UpgradeSharkHeight: -20,
55-
UpgradeHyggeHeight: -21,
56-
UpgradeLightningHeight: -22,
57-
UpgradeThunderHeight: -23,
58-
UpgradeWatermelonHeight: 50,
59-
UpgradeWatermelonFixHeight: -25, // This fix upgrade only ran on calibrationnet
34+
BreezeGasTampingDuration: 0,
35+
UpgradeBreezeHeight: -1,
36+
UpgradeSmokeHeight: -2,
37+
UpgradeIgnitionHeight: -3,
38+
UpgradeRefuelHeight: -4,
39+
UpgradeAssemblyHeight: -5,
40+
UpgradeTapeHeight: -6,
41+
UpgradeLiftoffHeight: -7,
42+
UpgradeKumquatHeight: -8,
43+
UpgradeCalicoHeight: -9,
44+
UpgradePersianHeight: -10,
45+
UpgradeOrangeHeight: -11,
46+
UpgradeClausHeight: -12,
47+
UpgradeTrustHeight: -13,
48+
UpgradeNorwegianHeight: -14,
49+
UpgradeTurboHeight: -15,
50+
UpgradeHyperdriveHeight: -16,
51+
UpgradeChocolateHeight: -17,
52+
UpgradeOhSnapHeight: -18,
53+
UpgradeSkyrHeight: -19,
54+
UpgradeSharkHeight: -20,
55+
UpgradeHyggeHeight: -21,
56+
UpgradeLightningHeight: -22,
57+
UpgradeThunderHeight: -23,
58+
UpgradeWatermelonHeight: 50,
59+
UpgradeWatermelonFixHeight: -100, // This fix upgrade only ran on calibrationnet
60+
UpgradeWatermelonFix2Height: -101, // This fix upgrade only ran on calibrationnet
6061
},
6162
DrandSchedule: map[abi.ChainEpoch]config.DrandEnum{0: 1},
6263
AddressNetwork: address.Testnet,

fixtures/networks/mainnet.go

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -54,24 +54,25 @@ func Mainnet() *NetworkConf {
5454
// This signals our tentative epoch for mainnet launch. Can make it later, but not earlier.
5555
// Miners, clients, developers, custodians all need time to prepare.
5656
// We still have upgrades and state changes to do, but can happen after signaling timing here.
57-
UpgradeKumquatHeight: 170000,
58-
UpgradeCalicoHeight: 265200,
59-
UpgradePersianHeight: 265200 + (builtin2.EpochsInHour * 60),
60-
UpgradeOrangeHeight: 336458,
61-
UpgradeClausHeight: 343200, // 2020-12-22T02:00:00Z
62-
UpgradeTrustHeight: 550321, // 2021-03-04T00:00:30Z
63-
UpgradeNorwegianHeight: 665280, // 2021-04-12T22:00:00Z
64-
UpgradeTurboHeight: 712320, // 2021-04-29T06:00:00Z
65-
UpgradeHyperdriveHeight: 892800, // 2021-06-30T22:00:00Z
66-
UpgradeChocolateHeight: 1231620,
67-
UpgradeOhSnapHeight: 1594680, // 2022-03-01T15:00:00Z
68-
UpgradeSkyrHeight: 1960320, // 2022-07-06T14:00:00Z
69-
UpgradeSharkHeight: 2383680, // 2022-11-30T14:00:00Z
70-
UpgradeHyggeHeight: 2683348, // 2023-03-14T15:14:00Z
71-
UpgradeLightningHeight: 2809800, // 2023-04-27T13:00:00Z
72-
UpgradeThunderHeight: 2809800 + 2880*21, // 2023-05-18T13:00:00Z
73-
UpgradeWatermelonHeight: 3431940, // 2023-11-29T13:30:00Z
74-
UpgradeWatermelonFixHeight: -1, // This fix upgrade only ran on calibrationnet
57+
UpgradeKumquatHeight: 170000,
58+
UpgradeCalicoHeight: 265200,
59+
UpgradePersianHeight: 265200 + (builtin2.EpochsInHour * 60),
60+
UpgradeOrangeHeight: 336458,
61+
UpgradeClausHeight: 343200, // 2020-12-22T02:00:00Z
62+
UpgradeTrustHeight: 550321, // 2021-03-04T00:00:30Z
63+
UpgradeNorwegianHeight: 665280, // 2021-04-12T22:00:00Z
64+
UpgradeTurboHeight: 712320, // 2021-04-29T06:00:00Z
65+
UpgradeHyperdriveHeight: 892800, // 2021-06-30T22:00:00Z
66+
UpgradeChocolateHeight: 1231620,
67+
UpgradeOhSnapHeight: 1594680, // 2022-03-01T15:00:00Z
68+
UpgradeSkyrHeight: 1960320, // 2022-07-06T14:00:00Z
69+
UpgradeSharkHeight: 2383680, // 2022-11-30T14:00:00Z
70+
UpgradeHyggeHeight: 2683348, // 2023-03-14T15:14:00Z
71+
UpgradeLightningHeight: 2809800, // 2023-04-27T13:00:00Z
72+
UpgradeThunderHeight: 2809800 + 2880*21, // 2023-05-18T13:00:00Z
73+
UpgradeWatermelonHeight: 3469380, // 2023-12-12T13:30:00Z
74+
UpgradeWatermelonFixHeight: -100, // This fix upgrade only ran on calibrationnet
75+
UpgradeWatermelonFix2Height: -101, // This fix upgrade only ran on calibrationnet
7576
},
7677
DrandSchedule: map[abi.ChainEpoch]config.DrandEnum{0: 5, 51000: 1},
7778
AddressNetwork: address.Mainnet,

0 commit comments

Comments
 (0)