-
Notifications
You must be signed in to change notification settings - Fork 48
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
New Node syncing error after transferring the validator private key files #531
Comments
@Zheng-Shilin, after the completing the sync did you update your node to |
@bragaz yes by using git checkout tags. is that the right way? I synced another node using statesync and with version v0.16.3 again. The new node caught up fine. Then I transferred the validator files but the same issue showed up. Here is the log |
@kwunyeung here is the log
|
@Zheng-Shilin what happen if you use a non-validator |
@kwunyeung do you mean removing the current |
This error is due to the fact that when you stop Desmos and re-start it, it reads the genesis file again. During our first on-chain upgrade we changed the Ideally, this error should be resolved in two ways:
Honestly I'm not sure about option (2) as it might change the genesis hash and I don't know if it's used somewhere though. |
@RiccardoM this is what I'm confused. I expect it doesn't run |
From what I can read she didn't. She used the fast sync and synced from block 1:
|
@RiccardoM the node I am pasting the log from used state sync method with version v0.16.3 |
That was the node I synced last week and asked the question in Discord. Then yesterday I synced another node using state sync with v0.16.3, still ran into the same issue. The log I pasted here is the newest node using state sync. |
Ok, then I think this might be a Cosmos bug. I've opened cosmos/cosmos-sdk#9637 to track this. |
@Zheng-Shilin |
It seems it works fine if starting the node first after transferring the validator files, then restore the validator key. Oooops, I took back. After restoring my key, it works fine for a couple of minutes. I even voted for prop 9. Then my node is completely crashed. So I |
@Zheng-Shilin The error happens because the field name in genesis.json file is old version. Maybe we should have a custom What do you think? @RiccardoM @bragaz |
@dadamu Yes indeed it's something we're going to take care of for sure! |
Bug description
I was migrating my validator node. I synced the new full node with version 0.16.0 from height 1 and it caught up fine. When the new node is fully synced, I stopped my old node and transferred the validator private key json file and the validator state json file, then I got an error restarting my new node. The log said: panic: unknown field "moniker_params" in types.Params.
The text was updated successfully, but these errors were encountered: