From e7be3173bff927b493937a6ad2bfa4eaba00b3cc Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Sun, 29 Jan 2023 21:38:21 +0000 Subject: [PATCH] fix: try-runtime support --- --- a/runtime/common/runtime_apis.rs +++ b/runtime/common/runtime_apis.rs @@ -819,7 +819,7 @@ #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade(checks: bool) -> (frame_support::pallet_prelude::Weight, frame_support::pallet_prelude::Weight) { + fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (frame_support::pallet_prelude::Weight, frame_support::pallet_prelude::Weight) { log::info!("try-runtime::on_runtime_upgrade unique-chain."); let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, crate::config::substrate::RuntimeBlockWeights::get().max_block) -- gitstuff