game-of-stakes/genesisify/README.md

19 lines
419 B
Markdown
Raw Permalink Normal View History

2019-01-15 09:05:08 -08:00
## v0.29 to v0.30 Genesis Conversion
One-time magic port script to convert a Cosmos SDK `v0.29.x` state export into a Cosmos SDK `v0.30.x`-compatible genesis file.
[Python 3](https://python.org) required.
Usage:
```bash
2019-01-16 08:48:08 -08:00
# gaiad export --for-zero-height > export.json
2019-01-16 07:48:45 -08:00
# ./v0.29-to-v0.30.py export.json genesis.json
2019-01-15 09:05:08 -08:00
```
2019-01-31 13:16:39 -08:00
To add vesting accounts, run:
```bash
# ./add-vesting.py genesis.json genesis_vesting.json
```