mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 12:16:25 +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:
1 parent
cb82064cb8
commit
857c3bf37b
12 files changed
+957
-312
No files matched your search
@@ -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