diff --git a/protocol/app/app.go b/protocol/app/app.go index 0a75076840..193f6f20df 100644 --- a/protocol/app/app.go +++ b/protocol/app/app.go @@ -1205,15 +1205,13 @@ func New( perpetualsmoduletypes.ModuleName, statsmoduletypes.ModuleName, satypes.ModuleName, - // should be before clob EndBlocker so that vault order cancels are - // processed before any vault order expirations (handled by clob) - vaultmoduletypes.ModuleName, clobmoduletypes.ModuleName, vestmoduletypes.ModuleName, rewardsmoduletypes.ModuleName, sendingmoduletypes.ModuleName, govplusmoduletypes.ModuleName, delaymsgmoduletypes.ModuleName, + vaultmoduletypes.ModuleName, ) app.ModuleManager.SetOrderPrepareCheckStaters( @@ -1246,6 +1244,9 @@ func New( perpetualsmoduletypes.ModuleName, statsmoduletypes.ModuleName, satypes.ModuleName, + // should be before clob EndBlocker so that vault order cancels are + // processed before any vault order expirations (handled by clob) + vaultmoduletypes.ModuleName, clobmoduletypes.ModuleName, sendingmoduletypes.ModuleName, vestmoduletypes.ModuleName, @@ -1253,7 +1254,6 @@ func New( epochsmoduletypes.ModuleName, govplusmoduletypes.ModuleName, delaymsgmoduletypes.ModuleName, - vaultmoduletypes.ModuleName, authz.ModuleName, // No-op. blocktimemoduletypes.ModuleName, // Must be last )