mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
* Use UpgradeCheckSelector Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * update lockfile for {"substrate"} Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
49a8704f55
commit
1a25f8125f
Generated
+180
-180
File diff suppressed because it is too large
Load Diff
@@ -1917,7 +1917,7 @@ sp_api::impl_runtime_apis! {
|
||||
|
||||
#[cfg(feature = "try-runtime")]
|
||||
impl frame_try_runtime::TryRuntime<Block> for Runtime {
|
||||
fn on_runtime_upgrade(checks: bool) -> (Weight, Weight) {
|
||||
fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) {
|
||||
log::info!("try-runtime::on_runtime_upgrade kusama.");
|
||||
let weight = Executive::try_runtime_upgrade(checks).unwrap();
|
||||
(weight, BlockWeights::get().max_block)
|
||||
|
||||
@@ -2019,7 +2019,7 @@ sp_api::impl_runtime_apis! {
|
||||
|
||||
#[cfg(feature = "try-runtime")]
|
||||
impl frame_try_runtime::TryRuntime<Block> for Runtime {
|
||||
fn on_runtime_upgrade(checks: bool) -> (Weight, Weight) {
|
||||
fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) {
|
||||
log::info!("try-runtime::on_runtime_upgrade polkadot.");
|
||||
let weight = Executive::try_runtime_upgrade(checks).unwrap();
|
||||
(weight, BlockWeights::get().max_block)
|
||||
|
||||
@@ -1634,7 +1634,7 @@ sp_api::impl_runtime_apis! {
|
||||
|
||||
#[cfg(feature = "try-runtime")]
|
||||
impl frame_try_runtime::TryRuntime<Block> for Runtime {
|
||||
fn on_runtime_upgrade(checks: bool) -> (Weight, Weight) {
|
||||
fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) {
|
||||
log::info!("try-runtime::on_runtime_upgrade westend.");
|
||||
let weight = Executive::try_runtime_upgrade(checks).unwrap();
|
||||
(weight, BlockWeights::get().max_block)
|
||||
|
||||
Reference in New Issue
Block a user