Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ordering of begin/end blocker to match rc2. #1924

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions protocol/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -1246,14 +1244,16 @@ 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,
rewardsmoduletypes.ModuleName,
epochsmoduletypes.ModuleName,
govplusmoduletypes.ModuleName,
delaymsgmoduletypes.ModuleName,
vaultmoduletypes.ModuleName,
authz.ModuleName, // No-op.
blocktimemoduletypes.ModuleName, // Must be last
)
Expand Down
Loading