Skip to content

Commit

Permalink
add missing preblocker
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Jan 8, 2024
1 parent c6f7794 commit 6a72028
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,11 @@ func NewMinitiaApp(
app.BasicModuleManager.RegisterLegacyAminoCodec(legacyAmino)
app.BasicModuleManager.RegisterInterfaces(interfaceRegistry)

// NOTE: upgrade module is required to be prioritized
app.ModuleManager.SetOrderPreBlockers(
upgradetypes.ModuleName,
)

// During begin block slashing happens after distr.BeginBlocker so that
// there is nothing left over in the validator fee pool, so as to keep the
// CanWithdrawInvariant invariant.
Expand Down

0 comments on commit 6a72028

Please sign in to comment.