add comment to guide the module order in SetOrderInitGenesis (#11146)

This commit is contained in:
yaruwangway 2022-02-09 09:23:39 +01:00 committed by GitHub
parent d624a65679
commit b12e4b2bde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -386,6 +386,7 @@ func NewSimApp(
// NOTE: The genutils module must occur after staking so that pools are
// properly initialized with tokens from genesis accounts.
// NOTE: The genutils module must also occur after auth so that it can access the params from auth.
// NOTE: Capability module must occur first so that it can initialize any capabilities
// so that other modules that want to create or claim capabilities afterwards in InitChain
// can do so safely.