Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
insumity committed Jul 24, 2023
1 parent 7484dbc commit 3eea40a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/provider/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -533,9 +533,8 @@ func New(
// Interchain Security requirements
// - provider.EndBlock gets validator updates from the staking module;
// thus, staking.EndBlock must be executed before provider.EndBlock;
// - creating a new consumer chain requires the following order,
// CreateChildClient(), staking.EndBlock, provider.EndBlock;
// thus, gov.EndBlock must be executed before staking.EndBlock
// - staking.EndBlock gets parameter updates (e.g., `MaxValidators`) from the gov module;
// thus, gov.EndBlock must be executed before staking.EndBlock;
app.MM.SetOrderEndBlockers(
crisistypes.ModuleName,
govtypes.ModuleName,
Expand Down

0 comments on commit 3eea40a

Please sign in to comment.