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
Can't Sync from 0 on latest release [MAINNET] #1564
Comments
I noticed the same issue when scratching from sync. I thought it was just a POKT issue the entire time, but now that you mention it, I was also using the latest staging branch. Interesting that RC v0.9.2 is working just fine for you, definitely worthy sanity-checking before we upgrade to V0.10.0. When syncing from scratch, I also received FYI: We are not on RC 0.10.0 yet on mainnet. But i'm not sure why that would make the syncing fail. Best case - this is not an issue, worst case - it was flagged before the network was upgraded. @LordKurono thanks for the report |
@PoktBlade you likely have more experience synching nodes from scratch so would appreciate your help here:
|
I actually don't have too much experience syncing from scratch, however, I do know it's pretty important that syncing from a point of time still works.
|
🤔
Have either of you seen this?
Looked at the code and I don't fully understand why it would impact it given that we haven't upgraded the protocol but trust your judgment.
Repeating comment above, take a look at #1565 to see if it helps.
Thanks again for your help in advance! Seeing PNF (@jacklaing) for visibility to know that community members are helping debug this. Legend:
|
triaged and fixed in #1566 |
## Description The mainnet genesis file was changed as part of PR #1535 when adding misc changes for localnet. Since I believe the genesis file is generated anded loaded via `InitGenesis` and `InitChainer`, this resulted in a different genesis from the rest of the network and ultimately a different generated app hash than what the other peers are synced to. As a result, this caused syncing issues when trying to produce the first block and onwards as reported in #1564. This change reverts the changes made in the genesis json in #1535 Tested by applying this change and running ```sh pocket start --seeds="7c0d7ec36db6594c1ffaa99724e1f8300bbd52d0@seed1.mainnet.pokt.network:26662,cdcf936d70726dd724e0e6a8353d8e5ba5abdd20@seed2.mainnet.pokt.network:26663,74b4322a91c4a7f3e774648d0730c1e610494691@seed3.mainnet.pokt.network:26662,b3235089ff302c9615ba661e13e601d9d6265b15@seed4.mainnet.pokt.network:26663" --mainnet ``` <!-- reviewpad:summarize:start --> ### Summary generated by Reviewpad on 05 Jul 23 07:43 UTC This pull request reverts the mainnet genesis file from #1535. It updates the service URLs for several nodes in the mainnetGenesis variable in the genesis.go file. The URLs are changed from the dev environment to the production environment for the poktnodes.com and pokt.net domains. Additionally, the URLs for the pokt.foundation domain are updated as well. <!-- reviewpad:summarize:end --> Co-authored-by: poktblade <baaspoolsllc@gmail.com>
Resolved in @PoktBlade's fix! |
Describe the bug
Starting a new pocket node on version RC-0.10.0 using this command:
pocket start --seeds="7c0d7ec36db6594c1ffaa99724e1f8300bbd52d0@seed1.mainnet.pokt.network:26662,cdcf936d70726dd724e0e6a8353d8e5ba5abdd20@seed2.mainnet.pokt.network:26663,74b4322a91c4a7f3e774648d0730c1e610494691@seed3.mainnet.pokt.network:26662,b3235089ff302c9615ba661e13e601d9d6265b15@seed4.mainnet.pokt.network:26663" --mainnet
Crashes after processing the first block
Using version RC-0.9.2 yields the expected behaviors and the node syncs.
Expected behavior
Node syncs from block 1 to TOP of the chain
The text was updated successfully, but these errors were encountered: