From d4e4ec4149307e68f411611b824694968020cbc4 Mon Sep 17 00:00:00 2001 From: zees-dev Date: Fri, 15 Sep 2023 10:50:18 +1200 Subject: [PATCH] rebase main fixes --- runtime/src/migrations/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/src/migrations/mod.rs b/runtime/src/migrations/mod.rs index 99fb90c1f..9be66f029 100644 --- a/runtime/src/migrations/mod.rs +++ b/runtime/src/migrations/mod.rs @@ -34,7 +34,7 @@ impl OnRuntimeUpgrade for AllMigrations { #[cfg(feature = "try-runtime")] fn pre_upgrade() -> Result, &'static str> { let data = nft::Upgrade::pre_upgrade()?; - futurepass::Upgrade::pre_upgrade()?; + let _ = futurepass::Upgrade::pre_upgrade()?; Ok(data) } @@ -47,8 +47,8 @@ impl OnRuntimeUpgrade for AllMigrations { #[cfg(feature = "try-runtime")] fn post_upgrade(state: Vec) -> Result<(), &'static str> { - nft::Upgrade::post_upgrade(state)?; - futurepass::Upgrade::post_upgrade()?; + nft::Upgrade::post_upgrade(state.clone())?; + futurepass::Upgrade::post_upgrade(state)?; Ok(()) } }