Skip to content

Commit

Permalink
rebase main fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zees-dev committed Sep 27, 2023
1 parent 2d5fe7e commit d4e4ec4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/src/migrations/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl OnRuntimeUpgrade for AllMigrations {
#[cfg(feature = "try-runtime")]
fn pre_upgrade() -> Result<Vec<u8>, &'static str> {
let data = nft::Upgrade::pre_upgrade()?;
futurepass::Upgrade::pre_upgrade()?;
let _ = futurepass::Upgrade::pre_upgrade()?;
Ok(data)
}

Expand All @@ -47,8 +47,8 @@ impl OnRuntimeUpgrade for AllMigrations {

#[cfg(feature = "try-runtime")]
fn post_upgrade(state: Vec<u8>) -> Result<(), &'static str> {
nft::Upgrade::post_upgrade(state)?;
futurepass::Upgrade::post_upgrade()?;
nft::Upgrade::post_upgrade(state.clone())?;
futurepass::Upgrade::post_upgrade(state)?;
Ok(())
}
}
Expand Down

0 comments on commit d4e4ec4

Please sign in to comment.