Files
api/docs/examples/promise/10_upgrade_chain

Chain upgrade

Performs a chain upgrade using the sudo module. This may brick your chain, so use it as an educational sample. (use substrate purge-chain --dev to remove DB and recover).

<<< @/docs/examples/promise/10_upgrade_chain/index.js