-
Notifications
You must be signed in to change notification settings - Fork 278
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
priv_validator_state.json
rename when the chain is running results in panic
#416
Comments
priv_validator_state.json
rename when the chain is running priv_validator_state.json
rename when the chain is running results in panic
What version of celestia-core? this might be a tendermint v0.35.4 thing. |
It's reproducible with the current master. If you're interested, I can share with you a project reproducing this. |
wait, after rereading this, I think this might be on purpose. Originally I thought this was just the priv_validator_key.json. I think panicking if attempting to change that file while running makes complete sense to avoid double signing |
probably it's because of the mounted permissions. I don't think this is relevant anymore. Can be closed I guess |
closing for now, as I'm not sure there's anything we can do to safely remove this protection. We might be stuck getting around it in the tests a different way. |
Problem statement
As of the discussion under #415 (comment), Celestia-app panics if the
priv_validator_state.json
file is mounted.How to reproduce
Create a docker image of the Celestia-app binary. Then, instead of creating the
priv_validator_state.json
file inside the image, try mounting it withrw
permissions. The chain will halt at block 1 with the following logs:Possible tracks to solve
The text was updated successfully, but these errors were encountered: