# Chain upgrade Performs a chain upgrade using the `sudo` module. This may brick your chain, so us it as an educational sample. (use `substrate --dev purge-chain` to remove DB and recover). <<< @/docs/examples/rx/10_upgrade_chain/index.js