Skip to content

Commit

Permalink
feat: Add notice for possible iavl fast node migration (backport cosm…
Browse files Browse the repository at this point in the history
…os#13390) (cosmos#13398)

* add notice for possible iavl fast node migration (cosmos#13390)

(cherry picked from commit b609105)

* Update baseapp/baseapp.go

Co-authored-by: adu-crypto <94821467+adu-crypto@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
  • Loading branch information
3 people authored Sep 27, 2022
1 parent 95948f6 commit 51c8a1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions baseapp/baseapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ func (app *BaseApp) SnapshotManager() *snapshots.Manager {
// LoadVersion loads the BaseApp application version. It will panic if called
// more than once on a running baseapp.
func (app *BaseApp) LoadVersion(version int64) error {
app.logger.Info("NOTICE: this could take a long time to migrate IAVL store to fastnode if you enable Fast Node.\n")
err := app.cms.LoadVersion(version)
if err != nil {
return fmt.Errorf("failed to load version %d: %w", version, err)
Expand Down

0 comments on commit 51c8a1a

Please sign in to comment.