Skip to content

Commit

Permalink
docs: remove an obsolete comment before setting the order of EndBlock…
Browse files Browse the repository at this point in the history
…ers (#1081)

Remove the whole comment because the described order does not constitute an interchain security requirement.
  • Loading branch information
insumity authored Aug 2, 2023
1 parent 5e5e2fa commit b72ad0d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/provider/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,12 +530,7 @@ func New(
vestingtypes.ModuleName,
providertypes.ModuleName,
)
// 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

app.MM.SetOrderEndBlockers(
crisistypes.ModuleName,
govtypes.ModuleName,
Expand Down

0 comments on commit b72ad0d

Please sign in to comment.