MCPcopy Create free account
hub / github.com/akash-network/node / orderInitGenesis

Function orderInitGenesis

app/app_configure.go:62–95  ·  view source on GitHub ↗

OrderInitGenesis returns module names in order for init genesis calls. NOTE: The genutils module must occur after staking so that pools are properly initialized with tokens from genesis accounts. NOTE: Capability module must occur first so that it can initialize any capabilities so that other module

(_ []string)

Source from the content-addressed store, hash-verified

60// so that other modules that want to create or claim capabilities afterwards in InitChain
61// can do so safely.
62func orderInitGenesis(_ []string) []string {
63 return []string{
64 authtypes.ModuleName,
65 authz.ModuleName,
66 banktypes.ModuleName,
67 distrtypes.ModuleName,
68 stakingtypes.ModuleName,
69 slashingtypes.ModuleName,
70 govtypes.ModuleName,
71 vestingtypes.ModuleName,
72 paramstypes.ModuleName,
73 audittypes.ModuleName,
74 upgradetypes.ModuleName,
75 minttypes.ModuleName,
76 crisistypes.ModuleName,
77 ibchost.ModuleName,
78 evidencetypes.ModuleName,
79 transfertypes.ModuleName,
80 consensustypes.ModuleName,
81 feegrant.ModuleName,
82 cert.ModuleName,
83 oracle.ModuleName,
84 deployment.ModuleName,
85 provider.ModuleName,
86 verification.ModuleName,
87 market.ModuleName,
88 genutiltypes.ModuleName,
89 epochs.ModuleName,
90 bme.ModuleName,
91 escrow.ModuleName,
92 awasm.ModuleName,
93 wasmtypes.ModuleName,
94 }
95}

Callers 2

NewAppFunction · 0.85

Calls

no outgoing calls