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

Error reading PrivValidator state #134

Open
vldtr opened this issue Apr 14, 2023 · 0 comments
Open

Error reading PrivValidator state #134

vldtr opened this issue Apr 14, 2023 · 0 comments

Comments

@vldtr
Copy link

vldtr commented Apr 14, 2023

I create chain-id_priv_validator_state.json:
echo '{"height": "361402", "round": "0", "step": 3}' | jq '.' > /user/.horcrux/my-testnet/state/chain-id_priv_validator_state.json

Start horcrux:
horcrux signer start --home /user/.horcrux/my-testnet --accept-risk

And I keep getting this error:
Error reading PrivValidator state from /user/.horcrux/my-testnet/state/chain-id_priv_validator_state.json: json: cannot unmarshal string into Go value of type int32

While experimenting, I found that if I remove the quotes around the value of round (like "round": 0 instead of "round": "0"), the error disappears. But migrating.md emphasizes that quotes are needed there. Has something changed in 2.1.1?

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

1 participant