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

Community Test Statesync Fixes #426

Closed
chillyvee opened this issue Nov 20, 2022 · 1 comment
Closed

Community Test Statesync Fixes #426

chillyvee opened this issue Nov 20, 2022 · 1 comment

Comments

@chillyvee
Copy link
Collaborator

chillyvee commented Nov 20, 2022

Looking for validators / node runners willing to run some lightly tested code for snapshot restores.

This should help especially if you are not able to prune.

If you need much more instruction than this, we recommend you don't do this on a validator node because it may put you at risk of double signing.

There will be a formal release later.

git clone https://github.com/chillyvee/dig 
cd dig
git checkout cv331_snapshot
go mod edit -replace github.com/cosmos/cosmos-sdk=github.com/chillyvee/cosmos-sdk@v0.46.6-dig.2
go mod edit -replace github.com/cosmos/iavl=github.com/chillyvee/iavl@v0.19.4-blunt.2
go mod tidy
make install

Make the following edits to your config.toml

[statesync]
  chunk_fetchers = "4"
  chunk_request_timeout = "10s"
  discovery_time = "15s"
  enable = true
  rpc_servers = "https://rpc-1-dig.notional.ventures:443,https://rpc-1-dig.notional.ventures:443"
  temp_dir = ""
  trust_hash = "fc25ffbbd03fac9c7a32f3c9a1fde171771786ea36999144565cc6ef41834de8"
  trust_height = "4409000"
  trust_period = "168h0m0s"
@svv28
Copy link

svv28 commented Nov 24, 2022

man! thx, it works! sick of this pruning=nothing panic()

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

3 participants