chain-registry
chain-registry copied to clipboard
Feat: Specify enough information to sync from genesis
chain.json provides both a genesis_url and recommended_version, but these are not enough to actually start a mainnet node syncing from genesis. To make this possible, I would propose that we modify the standard codebase struct, to include both a genesis_version, and an upgrades value, which specifies enough information to automate stepping through each upgrade (either with cosmovisor, or through halt heights / external tooling).
ex (for osmosis):
"codebase": {
"git_repo" : "https://github.com/osmosis-labs/osmosis",
"genesis_version" : "v3.1.0",
"upgrades" : [
{
"height" : 1314500,
"version" : "v.4.2.0",
"name" : "v4",
},
{
"height" : 2383300,
"version" : "v6.0.0",
"name" : "v5",
},
],
}