If you are using the EXPERIMENTAL paritydb database for your Polkadot node, when upgrading to Polkadot v0.9.12 from Polkadot v0.9.11, you will need to perform the following manual step after updating your node.
If you are not using the EXPERIMENTAL paritydb (using the --database paritydb-experimental
flag) you do not need to take any action and this document can be ignored.
For the below commands, $CHAIN
will depend on which chain you are syncing with your node.
- For Polkadot,
$CHAIN
ispolkadot
- For Kusama,
$CHAIN
isksmcc3
- For Westend,
$CHAIN
iswestend2
If you do not specify a custom BASE_PATH with --base-path/-d $SOME_LOCATION
, execute the following command to move your database to the new location:
mv ~/.local/share/polkadot/chains/$CHAIN/db/ ~/.local/share/polkadot/chains/$CHAIN/paritydb/
If you do specify a custom BASE_PATH with --base-path/-d $SOME_LOCATION
, execute the following command to move your database to the new location, where $BASE_PATH
is the current location provided to the --base-path/-d
argument:
mv $BASE_PATH/chains/$CHAIN/db $BASE_PATH/chains/$CHAIN/paritydb