This is a protocol-breaking release featuring Shwap(CIP-19), which targets the Mocha network that brings massive optimizations to disk usage(14x) and data access latencies. The new protocol is not backwards compatible with the currently deployed protocol and software.
Both protocols will run side-by-side for a month-long transition period, from October 7 to November 4 for Mocha. During this period, node operators should migrate to the new version. At the end of the period, posted historical and recent data will no longer be available on the old protocol.
Migration Notes
Migration requires resyncing the node from scratch, as it now contains a new storage format.
Migration Steps over the old node:
- Remove old data:
- In home directory(default
.celestia-<type>-mocha-4
) =>rm -rf inverted_index index data transients blocks
- Keep
keys
directory to preserve peer and chain identity keys in place
- In home directory(default
- Config updates
- If defaults were in use, remove the old config and re-init in the next step
- If you want to preserve the old config - move
BlockstoreCacheSize
entry from[Share.EDSStoreParams]
section to just[Share]
and removeGCInterval
,RoutingTableRefreshPeriod
- Re-init node for the Mocha p2p network
celestia init --p2p.network mocha
- Start the node and monitor syncing
celestia start --p2p.network mocha
If the old node has to be kept running - initiate and start the new version in a different directory:
celestia init --p2p.network mocha --node.store <new_path>
celestia start --p2p.network mocha --node.store <new_path>
Changelog
The full changelog will be provided on the official mainnet release