git.delta.rocks / unique-network / refs/commits / 2aa37c4aa188

difftreelog

fix try-runtime build

Yaroslav Bolyukin2022-08-16parent: #d75b746.patch.diff
in: master

1 file changed

modifiedruntime/common/runtime_apis.rsdiffbeforeafterboth
717717
718 #[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 }
725725
726 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 }