difftreelog
fix try-runtime build
in: master
1 file changed
runtime/common/runtime_apis.rsdiffbeforeafterboth717717718 #[cfg(feature = "try-runtime")]718 #[cfg(feature = "try-runtime")]719 impl frame_try_runtime::TryRuntime<Block> for Runtime {719 impl frame_try_runtime::TryRuntime<Block> for Runtime {720 fn on_runtime_upgrade() -> (Weight, Weight) {720 fn on_runtime_upgrade() -> (frame_support::pallet_prelude::Weight, frame_support::pallet_prelude::Weight) {721 log::info!("try-runtime::on_runtime_upgrade unique-chain.");721 log::info!("try-runtime::on_runtime_upgrade unique-chain.");722 let weight = Executive::try_runtime_upgrade().unwrap();722 let weight = Executive::try_runtime_upgrade().unwrap();723 (weight, RuntimeBlockWeights::get().max_block)723 (weight, crate::config::substrate::RuntimeBlockWeights::get().max_block)724 }724 }725725726 fn execute_block_no_check(block: Block) -> Weight {726 fn execute_block_no_check(block: Block) -> frame_support::pallet_prelude::Weight {727 Executive::execute_block_no_check(block)727 Executive::execute_block_no_check(block)728 }728 }729 }729 }