-
Notifications
You must be signed in to change notification settings - Fork 135
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
bug: State-sync doesn't work with specific blocks #494
Comments
@pcheliniy will you output your following:
|
Added all info to gist https://gist.github.com/pcheliniy/1e6e458c2a58fb380556143a7cb52bc7 |
@Vizualni will you review the configuration and errors when you have a moment? |
@taariq @pcheliniy If I am not mistaken the proposal to upgrade palomad was around that block height. I am not really an expert in this, but it seems to me that the sync prior to the proposal should be done with the previous palomad version, and the sync after the proposal was accepted should be done with the latest palomad version. Take this with a grain of salt 🧂 . Also, have you tried using fast-sync as well? |
Closing as state sync issue with old state from first governance which failed. We need new sync from after new governance proposal passed. |
First failed proposal was at 313_947 https://paloma.explorers.guru/proposal/1 Second successful at 353_459 https://paloma.explorers.guru/proposal/2 A lot of people have this problem and problem somehow connected to contract instantinate activity https://paloma.explorers.guru/transaction/212D41BB3753873CD45885591499F678E091A0C12DFAC9F61A8AC7DEA0D44B57 |
Re-opening with review of the smart contract issues related to this ticket as well. Thanks @pcheliniy. |
I am going to assign @measure-fi to this issue. Although, I am not really sure if he can do anything here as well as that code is deterministic. There might be some undesirable nondeterministic behaviour directly in the cosmwasm |
What happens is: State sync RPC makes snap, BUT it doesn't include Here's a block # I've faced it recently 447262. I'm not sure where exactly it should be fixed, but the fix is that we should include WASM folder in state sync snaps. Meanwhile, for those who's struggling with the same issue, use snapshots over state sync, it has full version of WASM and most likely safe. |
Closing as 3rd party state-sync issue now resolved. Thank you @hdmiimdh |
Via @hdmiimdh: Thanks for the headsup Using snapshots over state sync is just a workaround, but I don't know whether you guys are okay with this. |
Whoever takes this issue you can reference MR in Cosmos SDK, which allows devs to add more things to RPC snapshots such as wasm, might be helpful. |
Moved to feature update #499 |
What is happening?
Section description
Provide as much context as you can. Provide relevant software versions, screenshots, copy & paste error messages and so on. Give as much context as you can to make it easier for the developers to figure what is happening.Sometimes node fail consensus and after it can't start.
When we try to reinit node with statesync we have following error
Sync start working only when this block pass away from state-sync snapshot.
At the same time, node which provide state-sync snapshot works correctly. It probably means that node has no problem with consensus and all saved blocks should be correct.
I've tried 2 different validators(state-sync providers) both of them fail at the same block. It probably means that it isn't local problem of specific node.
How to reproduce?
Section description
Please write detailed steps of what you were doing for this bug to appear.Problem started appear after pigeon 0.8.0, paloma 0.9.0 update. We haven't had this problem before.
What is the expected behaviour?
Section description
If you know, please write down what is the expected behaviour. If you don't know, that's ok. We can have a discussion in comments.State sync work correct, because this problem ruin whole idea of statesync (ability to sync node even in case when protocol changed)
The text was updated successfully, but these errors were encountered: