Skip to content

Commit

Permalink
Update docs/cosmos-hub/upgrade-node.md
Browse files Browse the repository at this point in the history
Co-Authored-By: alexanderbez <[email protected]>
  • Loading branch information
rigelrozanski and alexanderbez authored Apr 26, 2019
1 parent e7ca82d commit 1cc1148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cosmos-hub/upgrade-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ cp -f genesis.json new-_enesis.json
mv new_genesis.json genesis.json
```

At this point, you might want to run a script to update the exported genesis into a genesis that is compatible with your new version. For example, the attributes of a the `Account` type changed, a script should query encoded account from the account store, unmarshall them, update their type, re-marhsall and re-store them. You can find an example of such script [here](https://github.com/cosmos/cosmos-sdk/blob/develop/contrib/export/v0.33.x-to-v0.34.0.py).
At this point, you might want to run a script to update the exported genesis into a genesis that is compatible with your new version. For example, the attributes of a the `Account` type changed, a script should query encoded account from the account store, unmarshall them, update their type, re-marshal and re-store them. You can find an example of such script [here](https://github.com/cosmos/cosmos-sdk/blob/develop/contrib/export/v0.33.x-to-v0.34.0.py).

## Reset Data

Expand Down

0 comments on commit 1cc1148

Please sign in to comment.