Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Merge branch 'liam-society-v2-migration' of github.com:paritytech/sub…
Browse files Browse the repository at this point in the history
…strate into liam-society-v2-migration
  • Loading branch information
liamaharon committed Jun 27, 2023
2 parents 315c1f4 + e7b08e1 commit 54f3108
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions frame/society/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,8 @@ impl<
{
#[cfg(feature = "try-runtime")]
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError> {
log::info!(target: TARGET, "pre_upgrade");
if !can_migrate::<T, I>() {
log::warn!(
target: TARGET,
"Already migrated",
);
log::warn!(target: TARGET, "pallet_society::MigrateToV2: Already migrated");
}

Ok((old::Candidates::<T, I>::get(), old::Members::<T, I>::get()).encode())
Expand Down

0 comments on commit 54f3108

Please sign in to comment.