Questions tagged [on-runtime-upgrade]
The on-runtime-upgrade tag has no usage guidance.
How forkless runtime upgrades takes place in substrate?
Does code compiled to Wasm enables to forkless runtime upgrades in polkadot substrate development? Someone please explain me how forkless runtime upgrades features enables?
Export state of a running chain and run it as alice
Hello everyone, I'm trying to spin up a test chain(with imported real chain data) with alice(so I can start it from genesis and start producing blocks with --alice flag) and after dumping the state of ...
Pallet declares internal migrations (which *might* execute). On-chain `StorageVersion(0)` vs current storage version `StorageVersion(0)`
After a runtime upgrade on Frontier, these warnings are logged: In this case, the pallets are related to Frontier only, but that seems possible for any FRAME pallets. Does anything need to be done ...
Runtime upgrade error: host doesn't provide such function: env:ext_storage_root_version_2
Our goal is to migrate code to the newer substrate version and keep the block history. My old running node substrate version is tag = 'monthly-2021-09+1' -> New substrate version is branch = "...
If on_runtime_upgrade exceeds block time
I'm running a migration, and I'd like to understand if on_runtime_upgrade exceeds block time, Substrate still can handle this correctly or not? What are the consequences?
Where should pallet migrations be executed?
I have seen two methods of executing runtime migrations: Execute the migration code directly in the pallet's on_runtime_upgrade hook Create a struct and implement the OnRuntimeUpgrade trait. Include ...