mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
Remove lingering runtime upgrades (#6476)
* Remove lingering runtime upgrades * remove unused warnings * remove tests
This commit is contained in:
@@ -235,17 +235,6 @@ decl_module! {
|
||||
/// Deposit one of this module's events by using the default implementation.
|
||||
fn deposit_event() = default;
|
||||
|
||||
fn on_runtime_upgrade() -> Weight {
|
||||
// Utility.Multisigs -> Multisig.Multisigs
|
||||
use frame_support::migration::{StorageIterator, put_storage_value};
|
||||
for (key, value) in StorageIterator::<
|
||||
Multisig<T::BlockNumber, BalanceOf<T>, T::AccountId>
|
||||
>::new(b"Utility", b"Multisigs").drain() {
|
||||
put_storage_value(b"Multisig", b"Multisigs", &key, value);
|
||||
}
|
||||
1_000_000_000
|
||||
}
|
||||
|
||||
/// Immediately dispatch a multi-signature call using a single approval from the caller.
|
||||
///
|
||||
/// The dispatch origin for this call must be _Signed_.
|
||||
|
||||
Reference in New Issue
Block a user