mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +00:00
Make automatic storage deposits resistant against changing deposit prices (#12083)
* Require `FixedPointOperand` for Balances * Delay deposit calculation * Make refunds pro rata of consumed storage * Add storage migration * Fix clippy * Add liquidity checks * Fixe delayed deposit limit enforcement * Defer charges * Import Vec * Add try-runtime hooks for migration * Fix warning * Adapt to new OnRuntimeUpgrade trait * Apply suggestions from code review Co-authored-by: Sasha Gryaznov <hi@agryaznov.com> * fmt * Apply suggestions from code review Co-authored-by: Sasha Gryaznov <hi@agryaznov.com> * More suggestions from code review Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
This commit is contained in:
committed by
GitHub
parent
cb82064cb8
commit
857c3bf37b
@@ -1706,6 +1706,7 @@ pub type Executive = frame_executive::Executive<
|
||||
type Migrations = (
|
||||
pallet_nomination_pools::migration::v2::MigrateToV2<Runtime>,
|
||||
pallet_alliance::migration::Migration<Runtime>,
|
||||
pallet_contracts::Migration<Runtime>,
|
||||
);
|
||||
|
||||
/// MMR helper types.
|
||||
|
||||
Reference in New Issue
Block a user