mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 23:57:56 +00:00
c628742506
* unreserve all tip funds migration * improve test * fix comment * implement weights * saturating_accrue * remove unnecessary collect * prefer ensure * use assert * use saturating_add * use saturating_accrue * test pre_upgrade and post_upgrade * remove pallet_treasury bound * resolve pr comments * rename migration * kick ci * kick ci
27 lines
1.0 KiB
Rust
27 lines
1.0 KiB
Rust
// This file is part of Substrate.
|
|
|
|
// Copyright (C) Parity Technologies (UK) Ltd.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
/// Version 4.
|
|
///
|
|
/// For backward compatability reasons, pallet-tips uses `Treasury` for storage module prefix
|
|
/// before calling this migration. After calling this migration, it will get replaced with
|
|
/// own storage identifier.
|
|
pub mod v4;
|
|
|
|
/// A migration that unreserves all funds held in the context of this pallet.
|
|
pub mod unreserve_deposits;
|