Merge pull request #5834 from Digital-MOB-Filecoin/nerpa/202103181-707219b7a
Nerpa reset based on 1.5.2
This commit is contained in:
commit
73eabc310f
@ -1,4 +1,4 @@
|
|||||||
/dns4/bootstrap-0.nerpa.interplanetary.dev/tcp/1347/p2p/12D3KooWNfuGjtzWTVz8eJGZ2C3aJg2xLqorhsagu4LTWw6CwpK9
|
/dns4/bootstrap-2.nerpa.interplanetary.dev/tcp/1347/p2p/12D3KooWQcL6ReWmR6ASWx4iT7EiAmxKDQpvgq1MKNTQZp5NPnWW
|
||||||
/dns4/bootstrap-1.nerpa.interplanetary.dev/tcp/1347/p2p/12D3KooWDfsxYk7dC6NNsHqZqqyMJCzkjZuXhjsmqBk3TUCBZLga
|
/dns4/bootstrap-0.nerpa.interplanetary.dev/tcp/1347/p2p/12D3KooWGyJCwCm7EfupM15CFPXM4c7zRVHwwwjcuy9umaGeztMX
|
||||||
/dns4/bootstrap-2.nerpa.interplanetary.dev/tcp/1347/p2p/12D3KooWRZAGHmCCaa2gkYmnC4Q2TEwHGFSh6Fh1FFJ7RSXak5yN
|
/dns4/bootstrap-3.nerpa.interplanetary.dev/tcp/1347/p2p/12D3KooWNK9RmfksKXSCQj7ZwAM7L6roqbN4kwJteihq7yPvSgPs
|
||||||
/dns4/bootstrap-3.nerpa.interplanetary.dev/tcp/1347/p2p/12D3KooWBFxEigSKLvxJVdw3JziC9ePHHnyAn5LifWSqg2kttcth
|
/dns4/bootstrap-1.nerpa.interplanetary.dev/tcp/1347/p2p/12D3KooWCWSaH6iUyXYspYxELjDfzToBsyVGVz3QvC7ysXv7wESo
|
||||||
|
Binary file not shown.
@ -24,21 +24,21 @@ const UpgradeSmokeHeight = -1
|
|||||||
const UpgradeIgnitionHeight = -2
|
const UpgradeIgnitionHeight = -2
|
||||||
const UpgradeRefuelHeight = -3
|
const UpgradeRefuelHeight = -3
|
||||||
|
|
||||||
const UpgradeTapeHeight = -4
|
|
||||||
|
|
||||||
const UpgradeLiftoffHeight = -5
|
const UpgradeLiftoffHeight = -5
|
||||||
const UpgradeActorsV2Height = 120 // critical: the network can bootstrap from v1 only
|
|
||||||
|
|
||||||
const UpgradeKumquatHeight = -6
|
const UpgradeActorsV2Height = 30 // critical: the network can bootstrap from v1 only
|
||||||
|
const UpgradeTapeHeight = 60
|
||||||
|
|
||||||
const UpgradeCalicoHeight = 306000
|
const UpgradeKumquatHeight = 90
|
||||||
const UpgradePersianHeight = UpgradeCalicoHeight + (builtin2.EpochsInHour * 12)
|
|
||||||
|
|
||||||
const UpgradeOrangeHeight = 307500
|
const UpgradeCalicoHeight = 100
|
||||||
|
const UpgradePersianHeight = UpgradeCalicoHeight + (builtin2.EpochsInHour * 1)
|
||||||
|
|
||||||
const UpgradeClausHeight = 307600
|
const UpgradeClausHeight = 250
|
||||||
|
|
||||||
const UpgradeActorsV3Height = 308000
|
const UpgradeOrangeHeight = 300
|
||||||
|
|
||||||
|
const UpgradeActorsV3Height = 600
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
// Minimum block production power is set to 4 TiB
|
// Minimum block production power is set to 4 TiB
|
||||||
|
@ -852,6 +852,10 @@ func UpgradeLiftoff(ctx context.Context, sm *StateManager, _ MigrationCache, cb
|
|||||||
}
|
}
|
||||||
|
|
||||||
func UpgradeCalico(ctx context.Context, sm *StateManager, _ MigrationCache, cb ExecCallback, root cid.Cid, epoch abi.ChainEpoch, ts *types.TipSet) (cid.Cid, error) {
|
func UpgradeCalico(ctx context.Context, sm *StateManager, _ MigrationCache, cb ExecCallback, root cid.Cid, epoch abi.ChainEpoch, ts *types.TipSet) (cid.Cid, error) {
|
||||||
|
if build.BuildType != build.BuildMainnet {
|
||||||
|
return root, nil
|
||||||
|
}
|
||||||
|
|
||||||
store := sm.cs.ActorStore(ctx)
|
store := sm.cs.ActorStore(ctx)
|
||||||
var stateRoot types.StateRoot
|
var stateRoot types.StateRoot
|
||||||
if err := store.Get(ctx, root, &stateRoot); err != nil {
|
if err := store.Get(ctx, root, &stateRoot); err != nil {
|
||||||
|
@ -334,11 +334,6 @@ var genesisSetVRKCmd = &cli.Command{
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
csvf, err := homedir.Expand(cctx.Args().Get(1))
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
var template genesis.Template
|
var template genesis.Template
|
||||||
b, err := ioutil.ReadFile(genf)
|
b, err := ioutil.ReadFile(genf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -363,6 +358,10 @@ var genesisSetVRKCmd = &cli.Command{
|
|||||||
Meta: am.ActorMeta(),
|
Meta: am.ActorMeta(),
|
||||||
}
|
}
|
||||||
} else if cctx.IsSet("multisig") {
|
} else if cctx.IsSet("multisig") {
|
||||||
|
csvf, err := homedir.Expand(cctx.String("multisig"))
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
entries, err := parseMultisigCsv(csvf)
|
entries, err := parseMultisigCsv(csvf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -431,11 +430,6 @@ var genesisSetRemainderCmd = &cli.Command{
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
csvf, err := homedir.Expand(cctx.Args().Get(1))
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
var template genesis.Template
|
var template genesis.Template
|
||||||
b, err := ioutil.ReadFile(genf)
|
b, err := ioutil.ReadFile(genf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -460,6 +454,10 @@ var genesisSetRemainderCmd = &cli.Command{
|
|||||||
Meta: am.ActorMeta(),
|
Meta: am.ActorMeta(),
|
||||||
}
|
}
|
||||||
} else if cctx.IsSet("multisig") {
|
} else if cctx.IsSet("multisig") {
|
||||||
|
csvf, err := homedir.Expand(cctx.String("multisig"))
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
entries, err := parseMultisigCsv(csvf)
|
entries, err := parseMultisigCsv(csvf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user