"init_account_msgs": [
{
"sender": "account_creator_address",
"account_type": "lockup_account_type",
"message": {
"@type": "/cosmos.accounts.defaults.lockup.v1.MsgInitLockupAccount",
"owner": "some_owner",
"end_time": "2026-01-01T00:00:00Z",
"start_time": "2025-01-01T00:00:00Z"
},
"funds": [
{
"denom": "stake",
"amount": "1000"
}
]
}
Some issues appear when creating genesis.json and starting the chain.
I could be resolved by modifying genesis.json and changing the order of InitGenesis.
Is there an existing issue for this?
What happened?
Genesis
https://github.com/cosmos/cosmos-sdk/blob/main/x/accounts/README.md?plain=1#L550
auth,bank, andstakingbeforeaccounts.https://github.com/cosmos/cosmos-sdk/blob/main/simapp/v2/app_config.go#L156
After Genesis
In CLI, there is no
fundoption. So, we cannot create funded lockup accounthttps://github.com/cosmos/cosmos-sdk/blob/main/x/accounts/cli/cli.go#L42
Cosmos SDK Version
0.52.0-rc1 and current main
How to reproduce?
Some issues appear when creating genesis.json and starting the chain.
I could be resolved by modifying genesis.json and changing the order of
InitGenesis.