Merge pull request #8897 from filecoin-project/jen/art

misc: fvm liftoff
This commit is contained in:
Jiaying Wang 2022-06-22 15:54:57 -04:00 committed by GitHub
commit eabb2d1916
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,57 @@
. +
. ' ` .
. ' . +
. ' . ' |
. ' . ' |
+ . ' . +
| ` . . ' . ' .
| + . ' . +
+ | . ' . ' |
` . | . ' . ' |
+ + . ' . +
| ` . . ' . '
| + . '
+ | . ' .
` . | '. ` .
+ ` . ` .
` . ` . ` . --- ---
` . ` . . + /\__\ ___ /\ \
` . + ' | /:/ _/_ /\ \ |::\ \
` . | | /:/ /\__\ \:\ \ |:|:\ \
` . | . + /:/ /:/ / \:\ \ __|:|\:\ \
+ ' /:/_/:/ / ___ \:\__\ /::::|_\:\__\
\:\/:/ / /\ \ |:| | \:\~~\ \/__/
\::/__/ \:\ \|:| | \:\ \
\:\ \ \:\__|:|__| \:\ \
\:\__\ \::::/__/ \:\__\
\/__/ ~~~~ \/__/
___ ___ ___ ___
/\__\ /\ \ /\__\ /\__\
___ /:/ _/_ ___ /::\ \ /:/ _/_ /:/ _/_
/\__\ /:/ /\__\ /\__\ /:/\:\ \ /:/ /\__\ /:/ /\__\
___ ___ /:/__/ /:/ /:/ / /:/ / /:/ \:\ \ /:/ /:/ / /:/ /:/ /
/\ \ /\__\ /::\ \ /:/_/:/ / /:/__/ /:/__/ \:\__\ /:/_/:/ / /:/_/:/ /
\:\ \ /:/ / \/\:\ \__ \:\/:/ / /::\ \ \:\ \ /:/ / \:\/:/ / \:\/:/ /
\:\ /:/ / ~~\:\/\__\ \::/__/ /:/\:\ \ \:\ /:/ / \::/__/ \::/__/ . +
\:\/:/ / \::/ / \:\ \ \/__\:\ \ \:\/:/ / \:\ \ \:\ \ . ' ` .
\::/ / /:/ / \:\__\ \:\__\ \::/ / \:\__\ \:\__\ . ' . +
\/__/ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/ . ' . ' |
. ' . ' |
+ . ' . +
| ` . . ' . ' .
| + . ' . +
+ | . ' . ' |
` . | . ' . ' |
+ + . ' . +
| ` . . ' . '
| + . '
+ | . ' .
` . | '. ` .
+ ` . ` .
` . ` . ` .
` . ` . . +
` . + ' |
` . | |
` . | . +

View File

@ -2,9 +2,12 @@ package filcns
import (
"context"
"fmt"
"runtime"
"time"
_ "embed"
"github.com/docker/go-units"
"github.com/ipfs/go-cid"
cbor "github.com/ipfs/go-ipld-cbor"
@ -47,6 +50,9 @@ import (
"github.com/filecoin-project/lotus/node/bundle"
)
//go:embed FVMLiftoff.txt
var fvmLiftoffBanner string
func DefaultUpgradeSchedule() 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)
}
fmt.Print(fvmLiftoffBanner)
return newRoot, nil
}