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

Validating Cosmos Hub blockchain from the first possible height #2838

Open
wLRy opened this issue Dec 5, 2023 · 2 comments
Open

Validating Cosmos Hub blockchain from the first possible height #2838

wLRy opened this issue Dec 5, 2023 · 2 comments
Assignees

Comments

@wLRy
Copy link

wLRy commented Dec 5, 2023

I am attempting to validate the cosmoshub-4 chain starting from the first possible height, which according to Cosmos Hub Summary is 5200791. So, following this tutorial, I downloaded and initiated gaia-4.2.1. Also downloaded the genesis from https://raw.githubusercontent.com/cosmos/mainnet/master/genesis/genesis.cosmoshub-4.json.gz and the ~/.gaia/config/addrbook.json from https://quicksync.io/addrbook.cosmos.json. About the last part I expected that there will be some seed peers hardcoded, but seems not. I also enabled the API in the configuration.

Finally I start gaia with

gaiad start --x-crisis-skip-assert-invariants

For over 2 hours I get messages like these in log:

6:44PM INF Saving AddrBook to file book=/home/wlry/.gaia/config/addrbook.json module=p2p size=1149
6:44PM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=5 numToDial=5
6:44PM INF Will dial address addr={"id":"f37e86bc57a135ab71f8e170ab5c1c855c629fd9","ip":"100.96.16.32","port":26656} module=pex
6:44PM INF Will dial address addr={"id":"f4a6018f121a406de04b85582a7cb129ded1a01a","ip":"34.220.8.253","port":26656} module=pex
6:44PM INF Will dial address addr={"id":"b75912fe37de7b220a9de92ac454cabeff942c14","ip":"34.240.191.218","port":26656} module=pex
6:44PM INF Will dial address addr={"id":"4856c7570729869726abdc4b0a4096c42a5211d3","ip":"54.39.48.217","port":26656} module=pex
6:44PM INF Will dial address addr={"id":"cf52e109b7015d5c21f50ab4331fb7062160ab6c","ip":"34.79.21.52","port":26656} module=pex
6:44PM INF Dialing peer address={"id":"f37e86bc57a135ab71f8e170ab5c1c855c629fd9","ip":"100.96.16.32","port":26656} module=p2p
6:44PM INF Dialing peer address={"id":"f4a6018f121a406de04b85582a7cb129ded1a01a","ip":"34.220.8.253","port":26656} module=p2p
6:44PM INF Dialing peer address={"id":"b75912fe37de7b220a9de92ac454cabeff942c14","ip":"34.240.191.218","port":26656} module=p2p
6:44PM ERR dialing failed (attempts: 3): dial tcp 100.96.16.32:26656: i/o timeout addr={"id":"f37e86bc57a135ab71f8e170ab5c1c855c629fd9","ip":"100.96.16.32","port":26656} module=pex
6:44PM ERR dialing failed (attempts: 8): dial tcp 34.220.8.253:26656: i/o timeout addr={"id":"f4a6018f121a406de04b85582a7cb129ded1a01a","ip":"34.220.8.253","port":26656} module=pex
6:44PM ERR dialing failed (attempts: 2): dial tcp 34.240.191.218:26656: i/o timeout addr={"id":"b75912fe37de7b220a9de92ac454cabeff942c14","ip":"34.240.191.218","port":26656} module=pex

And I get no blocks, as reported by http://localhost:1317/blocks/latest:

{"block_id":{"hash":"","parts":{"total":0,"hash":""}},"block":null}

What am I doing wrong?

@github-project-automation github-project-automation bot moved this to 🩹 F1: Triage in Cosmos Hub Dec 5, 2023
@mmulji-ic
Copy link
Contributor

Hi @wLRy I suspect that the nodes that you connected to have pruned those blocks. Will check to see if there are others.

@wLRy
Copy link
Author

wLRy commented Dec 7, 2023

Hi @wLRy I suspect that the nodes that you connected to have pruned those blocks. Will check to see if there are others.

Thanks in advance! I had a feeling that might be the case too. Maybe they even blacklisted me, which could explain why I keep getting those 'i/o timeout' errors?

@mpoke mpoke moved this from 🩹 F1: Triage to 🤔 F1: Investigate in Cosmos Hub Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🤔 F1: Investigate
Development

No branches or pull requests

3 participants