Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: While creating super genesis file, i am getting errors #17293

Closed
raihanremon opened this issue Aug 6, 2023 · 2 comments
Closed

[Bug]: While creating super genesis file, i am getting errors #17293

raihanremon opened this issue Aug 6, 2023 · 2 comments
Labels

Comments

@raihanremon
Copy link

Summary of Bug

When i am creating super genesis file for simapp, i collected 2 gentx file and tried generate super genesis file but i am getting this error

$ ./simd collect-gentxs

CollectTxs-1, called from github.com/cosmos/cosmos-sdk/x/genutil/collect.go#33
Error: failed to get genesis app state from config: account cosmos187tva255xz3tj6fx9fa8gr5k9dau4lh4jlp6u2 balance not in genesis state: map[cosmos1tr546vjlwuw0ylagfs9mf352n437ryxwpzy4as:{Address:cosmos1tr546vjlwuw0ylagfs9mf352n437ryxwpzy4as Coins:10000000000000000000000000stake}]

we followed all the steps of this correctly - https://pkg.go.dev/cosmossdk.io/simapp#section-readme

Version

version: 0.45.4

@tac0turtle
Copy link
Member

thanks for opening this issue, the error arises because one of the gentxs account does not have funds in the genesis file you have locally. You will need to add the account and give it some coins to work .

@Kwaskoff
Copy link

Kwaskoff commented Jul 3, 2024

Summary of Bug

When i am creating super genesis file for simapp, i collected 2 gentx file and tried generate super genesis file but i am getting this error

$ ./simd collect-gentxs

CollectTxs-1, called from github.com/cosmos/cosmos-sdk/x/genutil/collect.go#33
Error: failed to get genesis app state from config: account cosmos187tva255xz3tj6fx9fa8gr5k9dau4lh4jlp6u2 balance not in genesis state: map[cosmos1tr546vjlwuw0ylagfs9mf352n437ryxwpzy4as:{Address:cosmos1tr546vjlwuw0ylagfs9mf352n437ryxwpzy4as Coins:10000000000000000000000000stake}]

we followed all the steps of this correctly - https://pkg.go.dev/cosmossdk.io/simapp#section-readme

Version

version: 0.45.4

you need "gaiad add-genesis-account" for every accounts with gentx
https://blog.althea.net/making-a-cosmos-chain/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants