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

Chore: Migrate genesis file after upgrading to SDK v0.47 #2402

Closed
Tracked by #2413
glnro opened this issue Apr 14, 2023 · 2 comments
Closed
Tracked by #2413

Chore: Migrate genesis file after upgrading to SDK v0.47 #2402

glnro opened this issue Apr 14, 2023 · 2 comments
Labels
S: ImprovingThings Improving things: Customer requests, performance improvements, reliability and usability

Comments

@glnro
Copy link
Contributor

glnro commented Apr 14, 2023

Problem

As detailed in #1950 , the SDK does not support validating previous versions of genesis files. Starting with v0.46 however, the genesis file migrate functionality was introduced. Once the Hub upgrades to v0.47, the original genesis.json for cosmoshub-4 can be migrated and updated in cosmos/mainnet.

Closing criteria

Genesis.json should be migrated to v0.47 once the upgrade with the version bump has taken place, then uploaded to cosmos/mainnet/genesis with the appropriate migration version distinction.

gaiad genesis migrate [target-version] [genesis-file] [flags]
@glnro glnro added this to Cosmos Hub Apr 14, 2023
@github-project-automation github-project-automation bot moved this to 🩹 Triage in Cosmos Hub Apr 14, 2023
@mpoke mpoke moved this from 🩹 Triage to 📥 Todo in Cosmos Hub Apr 17, 2023
@mpoke mpoke added the S: ImprovingThings Improving things: Customer requests, performance improvements, reliability and usability label Sep 14, 2023
@mpoke mpoke moved this from 📥 F2: Todo to 🛑 F3: OnHold in Cosmos Hub Sep 14, 2023
@sainoe sainoe moved this from 🛑 F3: OnHold to 📥 F2: Todo in Cosmos Hub Sep 25, 2023
@mpoke mpoke removed the sdk-v0.47 label Mar 22, 2024
@mpoke
Copy link
Contributor

mpoke commented Mar 22, 2024

@MSalopek a reminder about this issue

@MSalopek
Copy link
Contributor

MSalopek commented Jan 7, 2025

https://github.com/cosmos/mainnet/tree/master/genesis has been archived for a while.

We can migrate the genesis but it's not clear if anyone uses it. The genesis file is not required to connect to an existing network if you are using node snapshots or statesync.

@mpoke mpoke closed this as completed Jan 7, 2025
@mpoke mpoke moved this from 📥 F2: Todo to ✅ Done in Cosmos Hub Jan 7, 2025
@github-project-automation github-project-automation bot moved this from ✅ Done to 👍 F4: Assessment in Cosmos Hub Jan 7, 2025
@mpoke mpoke moved this from 👍 F4: Assessment to ✅ Done in Cosmos Hub Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: ImprovingThings Improving things: Customer requests, performance improvements, reliability and usability
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants