Skip to content

Commit 667629f

Browse files
authored
v0.14.0: Ethernal CUDOS genesis file and final upgrade guide doc (#41)
1 parent 3f1e1c0 commit 667629f

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

fetchhub-4/7-software-upgrade-v0.14.0.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11

22
# Software upgrade
3-
> :exclamation: :no_entry_sign: This guide is **NOT** finalised yet. It is subject to further changes, since some required information
4-
> will become known later (e.g. final halt block heights for chains involved, git tags, content of exported
5-
> `genesis.cudos.json` file, etc. ...).
6-
73
This guide is describing the procedure to upgrade to the [v0.14.0](https://github.com/fetchai/fetchd/releases/tag/v0.14.0) following the [#33. CUDOS mainnet migration](https://www.mintscan.io/fetchai/proposals/33) software upgrade governance proposal.
84

95
We kindly ask all the validators to read through the following document, and then wait until chain reaches upgrade block height `18938999` *before* executing the upgrade steps.
106

117
In case of questions or issues, feel free to reach me on Discord (`@v0id.ptr`), or Telegram [@v0idptr](https://t.me/v0idptr).
128

9+
This upgrade uses eternal CUDOS mainnet genesis file as the input - it was exported from CUDOS mainnet at height `12385627`, sha256 of the file is `5eec16016006524b40f7777dece37ad07e3a514c20718e9cf0dca3082693e74b`.
10+
1311
# About the upgrade
1412

1513
The primary feature of this release is merge of the CUDOS mainnet in to the Fetch mainnet.
@@ -120,7 +118,7 @@ export GENESIS_FETCHHUB_GIT_REVISION="tags/v0.14.0"
120118

121119
{==> CHANGE ME! (HASH value) <==}
122120

123-
export UPGRADE_SHA256_PARAMS="--cudos-genesis-sha256 906ea6ea5b1ab5936bb9a5f350d11084eb92cba249e65e11c460ab251b27fb0e --cudos-migration-config-sha256 e1631e27629f9e32a5ec6c8fdd56d0d8ec31d7cd6b6a5e2662ce107b56f623ee"
121+
export UPGRADE_SHA256_PARAMS="--cudos-genesis-sha256 5eec16016006524b40f7777dece37ad07e3a514c20718e9cf0dca3082693e74b --cudos-migration-config-sha256 e1631e27629f9e32a5ec6c8fdd56d0d8ec31d7cd6b6a5e2662ce107b56f623ee"
124122
```
125123

126124

@@ -196,7 +194,7 @@ being printed in the log, indicating progress of the upgrade procedure:
196194
```log
197195
{==> CHANGE ME! <==}
198196
199-
5:12AM INF cudos merge: loading merge source genesis json expected sha256=5751b1428d22471435940d93127675dfc14a287cfaa2fc87edf112a8050ff96c file=genesis.cudos.json
197+
5:12AM INF cudos merge: loading merge source genesis json expected sha256=5eec16016006524b40f7777dece37ad07e3a514c20718e9cf0dca3082693e74b file=genesis.cudos.json
200198
5:12AM INF cudos merge: loading network config expected sha256=e1631e27629f9e32a5ec6c8fdd56d0d8ec31d7cd6b6a5e2662ce107b56f623ee file=cudos_merge_config.json
201199
5:12AM INF cudos merge: remaining bonded pool balance amount=183acudos
202200
5:12AM INF cudos merge: remaining not-bonded pool balance amount=6241acudos

fetchhub-4/data/genesis.cudos.json.gz

8.16 MB
Binary file not shown.

fetchhub-4/scripts/upgrade_v0.14.0.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ export FETCHD_HOME_DIR
2727
export DESTINATION_CHAIN_ID="fetchhub-4"
2828
export GENESIS_FETCHHUB_GIT_REVISION="tags/v0.14.0"
2929

30-
echo WARNING: The sha256 value for CUDOS geneis file mut be provided in environment variable below. Once it is done, this warning and the \"exit\" cmmand below must be removed. Exiting ...
31-
exit
32-
export UPGRADE_SHA256_PARAMS="--cudos-genesis-sha256 XXX --cudos-migration-config-sha256 e1631e27629f9e32a5ec6c8fdd56d0d8ec31d7cd6b6a5e2662ce107b56f623ee"
30+
export UPGRADE_SHA256_PARAMS="--cudos-genesis-sha256 5eec16016006524b40f7777dece37ad07e3a514c20718e9cf0dca3082693e74b --cudos-migration-config-sha256 e1631e27629f9e32a5ec6c8fdd56d0d8ec31d7cd6b6a5e2662ce107b56f623ee"
3331

3432
# Downloading necessary files for the upgrade:
3533
curl https://raw.githubusercontent.com/fetchai/genesis-fetchhub/refs/$GENESIS_FETCHHUB_GIT_REVISION/fetchhub-4/data/cudos_merge_config.json -o "$FETCHD_HOME_DIR/cudos_merge_config.json"

0 commit comments

Comments
 (0)