Skip to content

Commit

Permalink
misc: add waffle to match w/ forest (filecoin-project#12247)
Browse files Browse the repository at this point in the history
 add waffle splash for the nv23 upgrade  to match w/ forest
  • Loading branch information
jennijuju authored Jul 17, 2024
1 parent af934be commit 2714a84
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 61 deletions.
57 changes: 0 additions & 57 deletions chain/consensus/filcns/FVMLiftoff.txt

This file was deleted.

36 changes: 36 additions & 0 deletions chain/consensus/filcns/UpgradeSplash.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
nv23 Waffle

#### ###
## ##
###### ## ## ######
## ## ### ### ## ##
### ########### ########### ###
#### ## ## ## ## ####
######## ########### ########### ########
######### ######### ######### #########
## ##
### ###
######### ########### ########### #########
## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ###
#### ## ## ## ## ## ## ####
############## ########### ########### ##############
## ##
### ##
############## ########### ########### ##############
### ## ## ## ## ## ## ###
## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ##
### ## ## ## ## ## ## ##
########## ########### ########### ##########
## ##
## ##
########## ########### ########### ##########
###### ## ## ## ## ######
### ## #### ## ## #### ## ###
## #### ##### ##### #### ##
## ## ## ### ## ##
###### ## ## ######
## ##
######
7 changes: 3 additions & 4 deletions chain/consensus/filcns/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ import (
"github.com/filecoin-project/lotus/node/bundle"
)

//go:embed FVMLiftoff.txt
var fvmLiftoffBanner string
//go:embed UpgradeSplash.txt
var upgradeSplash string

var (
MigrationMaxWorkerCount int
Expand Down Expand Up @@ -1465,8 +1465,6 @@ 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
}

Expand Down Expand Up @@ -2520,6 +2518,7 @@ func UpgradeActorsV14(ctx context.Context, sm *stmgr.StateManager, cache stmgr.M
if err != nil {
return cid.Undef, xerrors.Errorf("migrating actors v14 state: %w", err)
}
fmt.Print(upgradeSplash)
return newRoot, nil
}

Expand Down

0 comments on commit 2714a84

Please sign in to comment.