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

genesis.json: failed to unmarshal feeibc genesis state: EOF #1122

Closed
alpha-omega-labs opened this issue Aug 1, 2023 · 5 comments
Closed

Comments

@alpha-omega-labs
Copy link

Hello,
We are forking cronos to be new GenesisL1 codebase (migrating from old ethermint) and experiencing issue during genesis.json validation:

genesis.json: failed to unmarshal feeibc genesis state: EOF

genesis.json was successfully migrated via "migrate" command of cronosd. And this issue appears.
Can you please provide heads up on how to solve it and where is potential bug?
cosmos/cosmos-sdk#17198

Thank you!

@mmsqe
Copy link
Collaborator

mmsqe commented Aug 2, 2023

Not sure how you operate, but export works fine after migrate.

@alpha-omega-labs
Copy link
Author

Yes, but we are looking at import/ genesis.json state initialization bug - not export with cronosd.

  1. Export state from other chain sdk v 0.44
  2. Migrate state to v0.46 with cronosd
  3. Validate genesis.json with cronosd, got error:
    genesis.json: failed to unmarshal feeibc genesis state: EOF

@mmsqe
Copy link
Collaborator

mmsqe commented Aug 3, 2023

@alpha-omega-labs Got it thanks, but not sure if we could add some callback to allow sdk migrate with custom module.

@alpha-omega-labs
Copy link
Author

You mean your custom module or our custom module? Because we don't have any custom module :)
We just want to use up-to date open source ethermint software for managing our general blockchain with specific data. Our state is a state of first evmos version (by modules structure). And we will be glad to gain some new modules implemented by cronos during time.

@mmsqe
Copy link
Collaborator

mmsqe commented Aug 3, 2023

You mean your custom module or our custom module? Because we don't have any custom module :)

since sdk only migrate gov and staking in v43 and v46, we need custom handle for feeibc, evm, cronos related migrate in different versions

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

No branches or pull requests

2 participants