add epochs for other networks.

This commit is contained in:
Raúl Kripalani
2023-02-24 18:26:32 +00:00
parent 240aa5aeb7
commit 1a08a45ca5
5 changed files with 19 additions and 7 deletions
+2
View File
@@ -65,6 +65,8 @@ var UpgradeHyperspaceNV19Height = abi.ChainEpoch(60)
var UpgradeHyperspaceNV20Height = abi.ChainEpoch(120)
var UpgradeHyperspaceNV21Height = abi.ChainEpoch(150)
var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandMainnet,
}
+2
View File
@@ -57,6 +57,8 @@ var UpgradeHyperspaceNV19Height = abi.ChainEpoch(100)
var UpgradeHyperspaceNV20Height = abi.ChainEpoch(120)
var UpgradeHyperspaceNV21Height = abi.ChainEpoch(150)
var SupportedProofTypes = []abi.RegisteredSealProof{
abi.RegisteredSealProof_StackedDrg512MiBV1,
abi.RegisteredSealProof_StackedDrg32GiBV1,
+5 -2
View File
@@ -75,10 +75,13 @@ const UpgradeSharkHeight = 16800 // 6 days after genesis
const UpgradeHyggeHeight = 322354
// dummy
var UpgradeHyperspaceNV19Height = abi.ChainEpoch(math.MaxInt64 - 1)
var UpgradeHyperspaceNV19Height = abi.ChainEpoch(math.MaxInt64 - 2)
// dummy
var UpgradeHyperspaceNV20Height = abi.ChainEpoch(math.MaxInt64)
var UpgradeHyperspaceNV20Height = abi.ChainEpoch(math.MaxInt64 - 1)
// dummy
var UpgradeHyperspaceNV21Height = abi.ChainEpoch(math.MaxInt64)
var SupportedProofTypes = []abi.RegisteredSealProof{
abi.RegisteredSealProof_StackedDrg32GiBV1,
+5 -3
View File
@@ -53,11 +53,13 @@ var UpgradeSkyrHeight = abi.ChainEpoch(-19)
const UpgradeSharkHeight = abi.ChainEpoch(-20)
const UpgradeHyggeHeight = abi.ChainEpoch(math.MaxInt64 - 2)
const UpgradeHyggeHeight = abi.ChainEpoch(math.MaxInt64 - 3)
var UpgradeHyperspaceNV19Height = abi.ChainEpoch(math.MaxInt64 - 1)
var UpgradeHyperspaceNV19Height = abi.ChainEpoch(math.MaxInt64 - 2)
var UpgradeHyperspaceNV20Height = abi.ChainEpoch(math.MaxInt64)
var UpgradeHyperspaceNV20Height = abi.ChainEpoch(math.MaxInt64 - 1)
var UpgradeHyperspaceNV21Height = abi.ChainEpoch(math.MaxInt64)
var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandMainnet,
+5 -2
View File
@@ -90,10 +90,13 @@ const UpgradeSharkHeight = 2383680
var UpgradeHyggeHeight = abi.ChainEpoch(math.MaxInt64 - 2)
// ??????????????
var UpgradeHyperspaceNV19Height = abi.ChainEpoch(math.MaxInt64 - 1)
var UpgradeHyperspaceNV19Height = abi.ChainEpoch(math.MaxInt64 - 2)
// dummy
var UpgradeHyperspaceNV20Height = abi.ChainEpoch(math.MaxInt64)
var UpgradeHyperspaceNV20Height = abi.ChainEpoch(math.MaxInt64 - 1)
// dummy
var UpgradeHyperspaceNV21Height = abi.ChainEpoch(math.MaxInt64)
var SupportedProofTypes = []abi.RegisteredSealProof{
abi.RegisteredSealProof_StackedDrg32GiBV1,