From b12e4b2bde252c7c63e837ca7599053d7d101a7c Mon Sep 17 00:00:00 2001 From: yaruwangway <69694322+yaruwangway@users.noreply.github.com> Date: Wed, 9 Feb 2022 09:23:39 +0100 Subject: [PATCH] add comment to guide the module order in SetOrderInitGenesis (#11146) --- simapp/app.go | 1 + 1 file changed, 1 insertion(+) diff --git a/simapp/app.go b/simapp/app.go index 692623fc4..79cc64758 100644 --- a/simapp/app.go +++ b/simapp/app.go @@ -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.