difftreelog
fix try-runtime support
in: master
1 file changed
runtime/common/runtime_apis.rsdiffbeforeafterboth819819820 #[cfg(feature = "try-runtime")]820 #[cfg(feature = "try-runtime")]821 impl frame_try_runtime::TryRuntime<Block> for Runtime {821 impl frame_try_runtime::TryRuntime<Block> for Runtime {822 fn on_runtime_upgrade(checks: bool) -> (frame_support::pallet_prelude::Weight, frame_support::pallet_prelude::Weight) {822 fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (frame_support::pallet_prelude::Weight, frame_support::pallet_prelude::Weight) {823 log::info!("try-runtime::on_runtime_upgrade unique-chain.");823 log::info!("try-runtime::on_runtime_upgrade unique-chain.");824 let weight = Executive::try_runtime_upgrade(checks).unwrap();824 let weight = Executive::try_runtime_upgrade(checks).unwrap();825 (weight, crate::config::substrate::RuntimeBlockWeights::get().max_block)825 (weight, crate::config::substrate::RuntimeBlockWeights::get().max_block)