Skip to content

Commit

Permalink
nit: error in migration panic (#5330)
Browse files Browse the repository at this point in the history
  • Loading branch information
crodriguezvega authored Dec 6, 2023
1 parent 36c61e5 commit 5ed4735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/light-clients/08-wasm/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (am AppModule) RegisterServices(cfg module.Configurator) {

wasmMigrator := keeper.NewMigrator(am.keeper)
if err := cfg.RegisterMigration(types.ModuleName, 1, wasmMigrator.MigrateChecksums); err != nil {
panic(fmt.Errorf("failed to migrate checksums from version 1 to 2: %v", err))
panic(fmt.Errorf("failed to migrate 08-wasm module from version 1 to 2 (checksums migration to collections): %v", err))
}
}

Expand Down

0 comments on commit 5ed4735

Please sign in to comment.