fix(simapp): store key override accounts (#20163)

This commit is contained in:
Julien Robert
2024-04-24 06:02:04 +00:00
committed by GitHub
parent 309e806784
commit 2dd8ab750d
+5
View File
@@ -130,11 +130,16 @@ var (
group.ModuleName,
pooltypes.ModuleName,
},
// The following is mostly only needed when ModuleName != StoreKey name.
OverrideStoreKeys: []*runtimev1alpha1.StoreKeyConfig{
{
ModuleName: authtypes.ModuleName,
KvStoreKey: "acc",
},
{
ModuleName: accounts.ModuleName,
KvStoreKey: accounts.StoreKey,
},
},
// NOTE: The genutils module must occur after staking so that pools are
// properly initialized with tokens from genesis accounts.