Skip to content

Commit 9580005

Browse files
authored
Merge pull request #2213 from opentensor/remove-gov-done-migrations
Remove executed old governance migrations
2 parents 33bdf7b + 2688df0 commit 9580005

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

runtime/src/lib.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,22 +1614,12 @@ pub type TransactionExtensions = (
16141614
frame_metadata_hash_extension::CheckMetadataHash<Runtime>,
16151615
);
16161616

1617-
parameter_types! {
1618-
pub const TriumviratePalletStr: &'static str = "Triumvirate";
1619-
pub const TriumvirateMembersPalletStr: &'static str = "TriumvirateMembers";
1620-
pub const SenateMembersPalletStr: &'static str = "SenateMembers";
1621-
}
1622-
16231617
type Migrations = (
16241618
// Leave this migration in the runtime, so every runtime upgrade tiny rounding errors (fractions of fractions
16251619
// of a cent) are cleaned up. These tiny rounding errors occur due to floating point coversion.
16261620
pallet_subtensor::migrations::migrate_init_total_issuance::initialise_total_issuance::Migration<
16271621
Runtime,
16281622
>,
1629-
// Remove storage from removed governance pallets
1630-
frame_support::migrations::RemovePallet<TriumviratePalletStr, RocksDbWeight>,
1631-
frame_support::migrations::RemovePallet<TriumvirateMembersPalletStr, RocksDbWeight>,
1632-
frame_support::migrations::RemovePallet<SenateMembersPalletStr, RocksDbWeight>,
16331623
);
16341624

16351625
// Unchecked extrinsic type as expected by this runtime.

0 commit comments

Comments
 (0)