Merge pull request #8897 from filecoin-project/jen/art
misc: fvm liftoff
This commit is contained in:
commit
eabb2d1916
57
chain/consensus/filcns/FVMLiftoff.txt
Normal file
57
chain/consensus/filcns/FVMLiftoff.txt
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
. +
|
||||||
|
. ' ` .
|
||||||
|
. ' . +
|
||||||
|
. ' . ' |
|
||||||
|
. ' . ' |
|
||||||
|
+ . ' . +
|
||||||
|
| ` . . ' . ' .
|
||||||
|
| + . ' . +
|
||||||
|
+ | . ' . ' |
|
||||||
|
` . | . ' . ' |
|
||||||
|
+ + . ' . +
|
||||||
|
| ` . . ' . '
|
||||||
|
| + . '
|
||||||
|
+ | . ' .
|
||||||
|
` . | '. ` .
|
||||||
|
+ ` . ` .
|
||||||
|
` . ` . ` . --- ---
|
||||||
|
` . ` . . + /\__\ ___ /\ \
|
||||||
|
` . + ' | /:/ _/_ /\ \ |::\ \
|
||||||
|
` . | | /:/ /\__\ \:\ \ |:|:\ \
|
||||||
|
` . | . + /:/ /:/ / \:\ \ __|:|\:\ \
|
||||||
|
+ ' /:/_/:/ / ___ \:\__\ /::::|_\:\__\
|
||||||
|
\:\/:/ / /\ \ |:| | \:\~~\ \/__/
|
||||||
|
\::/__/ \:\ \|:| | \:\ \
|
||||||
|
\:\ \ \:\__|:|__| \:\ \
|
||||||
|
\:\__\ \::::/__/ \:\__\
|
||||||
|
\/__/ ~~~~ \/__/
|
||||||
|
___ ___ ___ ___
|
||||||
|
/\__\ /\ \ /\__\ /\__\
|
||||||
|
___ /:/ _/_ ___ /::\ \ /:/ _/_ /:/ _/_
|
||||||
|
/\__\ /:/ /\__\ /\__\ /:/\:\ \ /:/ /\__\ /:/ /\__\
|
||||||
|
___ ___ /:/__/ /:/ /:/ / /:/ / /:/ \:\ \ /:/ /:/ / /:/ /:/ /
|
||||||
|
/\ \ /\__\ /::\ \ /:/_/:/ / /:/__/ /:/__/ \:\__\ /:/_/:/ / /:/_/:/ /
|
||||||
|
\:\ \ /:/ / \/\:\ \__ \:\/:/ / /::\ \ \:\ \ /:/ / \:\/:/ / \:\/:/ /
|
||||||
|
\:\ /:/ / ~~\:\/\__\ \::/__/ /:/\:\ \ \:\ /:/ / \::/__/ \::/__/ . +
|
||||||
|
\:\/:/ / \::/ / \:\ \ \/__\:\ \ \:\/:/ / \:\ \ \:\ \ . ' ` .
|
||||||
|
\::/ / /:/ / \:\__\ \:\__\ \::/ / \:\__\ \:\__\ . ' . +
|
||||||
|
\/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/ . ' . ' |
|
||||||
|
. ' . ' |
|
||||||
|
+ . ' . +
|
||||||
|
| ` . . ' . ' .
|
||||||
|
| + . ' . +
|
||||||
|
+ | . ' . ' |
|
||||||
|
` . | . ' . ' |
|
||||||
|
+ + . ' . +
|
||||||
|
| ` . . ' . '
|
||||||
|
| + . '
|
||||||
|
+ | . ' .
|
||||||
|
` . | '. ` .
|
||||||
|
+ ` . ` .
|
||||||
|
` . ` . ` .
|
||||||
|
` . ` . . +
|
||||||
|
` . + ' |
|
||||||
|
` . | |
|
||||||
|
` . | . +
|
||||||
|
|
||||||
|
|
@ -2,9 +2,12 @@ package filcns
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"fmt"
|
||||||
"runtime"
|
"runtime"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
_ "embed"
|
||||||
|
|
||||||
"github.com/docker/go-units"
|
"github.com/docker/go-units"
|
||||||
"github.com/ipfs/go-cid"
|
"github.com/ipfs/go-cid"
|
||||||
cbor "github.com/ipfs/go-ipld-cbor"
|
cbor "github.com/ipfs/go-ipld-cbor"
|
||||||
@ -47,6 +50,9 @@ import (
|
|||||||
"github.com/filecoin-project/lotus/node/bundle"
|
"github.com/filecoin-project/lotus/node/bundle"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
//go:embed FVMLiftoff.txt
|
||||||
|
var fvmLiftoffBanner string
|
||||||
|
|
||||||
func DefaultUpgradeSchedule() stmgr.UpgradeSchedule {
|
func DefaultUpgradeSchedule() stmgr.UpgradeSchedule {
|
||||||
var us stmgr.UpgradeSchedule
|
var us stmgr.UpgradeSchedule
|
||||||
|
|
||||||
@ -1338,6 +1344,8 @@ func UpgradeActorsV8(ctx context.Context, sm *stmgr.StateManager, cache stmgr.Mi
|
|||||||
return cid.Undef, xerrors.Errorf("migrating actors v7 state: %w", err)
|
return cid.Undef, xerrors.Errorf("migrating actors v7 state: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Print(fvmLiftoffBanner)
|
||||||
|
|
||||||
return newRoot, nil
|
return newRoot, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user