-
Notifications
You must be signed in to change notification settings - Fork 292
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
Define and implement any necessary migration logic for an upgrade from v0.6.0 to v0.7.0 #608
Comments
One idea from @liamsi is to start an entirely new testnet and avoid the upgrade effort on Mamaki. There are multiple options here:
|
Ref: https://github.com/cosmos/cosmos-sdk/releases/tag/v0.46.0-beta2 |
I'm confused by this linked diff? There was a huge diff between the two |
I was also surprised to see no changes but I was looking at the wrong direction, your link appears correct. |
I tested this in two ways:
but the seem like red herrings.
I am able to start a local devnet with the latest |
the network sometimes having trouble with v0.6.0 is definitely plausible, but getting it to work on the latest main is super weird!!! (and interesting) When I try syncing from scratch or try to starting the chain at any height all I get this error, which at least intuitively makes sense due to this change cosmos/cosmos-sdk#6510, but I could be wrong. Do you mind triple checking the version by calling the version subcommand just so I keep my sanity lolol
|
Thanks for providing guidance! Devnet
|
this should most likely be expected give the differences between the two p2p stacks, despite them being kinda compatible
good plan, we might have to slightly modify our fork of the sdk, but if we do, we only want that change to be included on the version used for mamaki (not mainnet or incentivized testnet) |
Thought from @evan-forbes
|
Note from @musalbas
|
just to note that going with new regensis hardfork approach will need to be communicated well with the other validators and node operators. While the upgrade process will be as simple as spinning up a new node, this is atypical. also worth noting that to achieve the new approach requires changing the chain-id. |
The final decision on the upgrade approach is to extract any state that we want to keep, such as validator set, balances, delegations, etc and hardfork/regenesis a new network. after this network is stable, we will end official support for mamaki and ask validators to shut down their nodes. |
We've used this process to upgrade arabica, and will likely use a similar process to upgrade mamaki
{
"height": "0",
"round": 0,
"step": 0
}
|
The upgrade from v0.6.0 to v0.7.0 will require a hardfork, as there were many breaking changes that were not necessarily documented well given that originally based mamaki on the v0.46.0-beta2 tag of the cosmos-sdk. We need to investigate if there needs to be any specific migration logic, and test out the upgrade.
The text was updated successfully, but these errors were encountered: