Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
gui1117 committed Jul 30, 2021
commit 29b5b383d29a659a1bd15fe226c4bc76d2a05d6c
4 changes: 2 additions & 2 deletions runtime/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@ impl frame_support::traits::OnRuntimeUpgrade for CouncilStoragePrefixMigration {

#[cfg(feature = "try-runtime")]
fn post_upgrade() -> Result<(), &'static str> {
pallet_collective::migrations::v4::post_migration::<Council>(COUNCIL_OLD_PREFIX);
pallet_collective::migrations::v4::post_migration::<Council, _>(COUNCIL_OLD_PREFIX);
Ok(())
}
}
Expand Down Expand Up @@ -1606,7 +1606,7 @@ impl frame_support::traits::OnRuntimeUpgrade for TechnicalCommitteeStoragePrefix

#[cfg(feature = "try-runtime")]
fn post_upgrade() -> Result<(), &'static str> {
pallet_collective::migrations::v4::post_migration::<TechnicalCommittee>(
pallet_collective::migrations::v4::post_migration::<TechnicalCommittee, _>(
TECHNICAL_COMMITTEE_OLD_PREFIX,
);
Ok(())
Expand Down
4 changes: 2 additions & 2 deletions runtime/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ impl frame_support::traits::OnRuntimeUpgrade for CouncilStoragePrefixMigration {

#[cfg(feature = "try-runtime")]
fn post_upgrade() -> Result<(), &'static str> {
pallet_collective::migrations::v4::post_migration::<Council>(COUNCIL_OLD_PREFIX);
pallet_collective::migrations::v4::post_migration::<Council, _>(COUNCIL_OLD_PREFIX);
Ok(())
}
}
Expand Down Expand Up @@ -1170,7 +1170,7 @@ impl frame_support::traits::OnRuntimeUpgrade for TechnicalCommitteeStoragePrefix

#[cfg(feature = "try-runtime")]
fn post_upgrade() -> Result<(), &'static str> {
pallet_collective::migrations::v4::post_migration::<TechnicalCommittee>(
pallet_collective::migrations::v4::post_migration::<TechnicalCommittee, _>(
TECHNICAL_COMMITTEE_OLD_PREFIX,
);
Ok(())
Expand Down