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

This commit is contained in:
Julien Robert 2024-04-24 08:02:04 +02:00 committed by GitHub
parent 309e806784
commit 2dd8ab750d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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.