Merge PR #4471: Migrate genesis cmd

This commit is contained in:
Karoly Albert Szabo
2019-07-03 12:21:34 -04:00
committed by Alexander Bezobchuk
parent 4e86810a27
commit 00f753d684
12 changed files with 1353 additions and 2 deletions
+8
View File
@@ -16,3 +16,11 @@ Light-clients enable users to interact with your application without having to d
- [Command-Line interface for SDK-based blockchain](./cli.md)
- [Service provider doc](./service-providers.md)
## Genesis upgrade
If you need to upgrade your node you could export the genesis and migrate it to the new version through this script:
```bash
<appbinary> migrate v0.36 genesis_0_34.json [--time "2019-04-22T17:00:11Z"] [--chain-id test] > ~/.gaiad/genesis.json
```