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

Cosmoshub 3 upgrade genesis initial height #608

Merged
merged 2 commits into from
Feb 5, 2021
Merged
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
8 changes: 1 addition & 7 deletions docs/migration/cosmoshub-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,8 @@ Cross check your genesis hash with other peers (other validators) in the chat ro

1. Migrate exported state from the current v2.0.15 version to the new v4.0.0 version:

The genesis time shall be the upgrade time of `2021-02-18T06:00:00Z` + `60` minutes with the subseconds truncated.

This results in our genesis time for starting the blockchain:

**2021-02-18T07:00:00Z**

```bash
$ gaiad migrate cosmoshub_3_genesis_export.json --chain-id=cosmoshub-4 --genesis-time=2021-02-18T07:00:00Z> genesis.json
$ gaiad migrate cosmoshub_3_genesis_export.json --chain-id=cosmoshub-4 --initial-height [last_cosmoshub-3_block+1] > genesis.json
```

This will migrate our exported state into the required `genesis.json` file to start the cosmoshub-4.
Expand Down