Skip to content

Commit

Permalink
Update app/app.go
Browse files Browse the repository at this point in the history
Co-authored-by: CHAMI Rachid <[email protected]>
  • Loading branch information
rootulp and rach-id authored Nov 20, 2024
1 parent 03d8410 commit 8e9dd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ func (app *App) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.Respo
res := app.manager.EndBlock(ctx, req)
currentVersion := app.AppVersion()
// For v1 only we upgrade using an agreed upon height known ahead of time
app.BaseApp.Logger().Debug(fmt.Sprintf("currentVersion %v", currentVersion))
app.BaseApp.Logger().Debug("current version", "version", currentVersion)
if currentVersion == v1 {
// check that we are at the height before the upgrade
if req.Height == app.upgradeHeightV2-1 {
Expand Down

0 comments on commit 8e9dd1f

Please sign in to comment.