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

Update README.md #161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions yulei-2.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
1. download the binary located [here](https://github.com/shentuchain/testnet/raw/master/yulei-2.1/shentud) and start syncing with the seeds and genesis.
1. (UNSTABLE AND UNTESTED) Use the state snapshot sync below with a normal v2.2.0 binary.

Due to validator set matching in the init chainer, normal binary with genesis + seeds initialization will result in a panic. The second method's binary disabled a check during initializing genesis to bypass that error, and the binary is identical with the normal 2.2.0 binary otherwise. Make sure your certik data directory is clean (or you can reset it through `certik unsafe-reset-all`
Due to validator set matching in the init chainer, normal binary with genesis + seeds initialization will result in a panic. The second method's binary disabled a check during initializing genesis to bypass that error, and the binary is identical with the normal 2.2.0 binary otherwise. Make sure your shentud data directory is clean (or you can reset it through `shentud unsafe-reset-all`

## Upgrades on Yulei-2.1

Expand All @@ -22,7 +22,7 @@ Based on [cosmos-sdk-state-sync-guide](https://blog.cosmos.network/cosmos-sdk-st
<some_hash>
```

- Edit `config.toml` under `.certik/config`
- Edit `config.toml` under `.shentud/config`

```
[statesync]
Expand All @@ -33,7 +33,7 @@ Based on [cosmos-sdk-state-sync-guide](https://blog.cosmos.network/cosmos-sdk-st
trust_period = "336h" # 2/3 of unbonding time
```

The node will start the peer exchange protocol once you start the certik daemon, and will soon start to sync using the snapshot.
The node will start the peer exchange protocol once you start the shentud daemon, and will soon start to sync using the snapshot.
The snapshots are taken every 500 blocks on both nodes.

Pros:
Expand Down