mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +00:00
some additional utils for state-trie-migration (#11064)
* some additional utils for state-trie-migration' * Update frame/state-trie-migration/src/lib.rs Co-authored-by: cheme <emericchevalier.pro@gmail.com> Co-authored-by: cheme <emericchevalier.pro@gmail.com>
This commit is contained in:
@@ -1372,8 +1372,6 @@ impl pallet_whitelist::Config for Runtime {
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub const SignedMigrationMaxLimits: pallet_state_trie_migration::MigrationLimits =
|
||||
pallet_state_trie_migration::MigrationLimits { size: 1024 * 1024 / 2, item: 512 };
|
||||
pub const MigrationSignedDepositPerItem: Balance = 1 * CENTS;
|
||||
pub const MigrationSignedDepositBase: Balance = 20 * DOLLARS;
|
||||
}
|
||||
@@ -1384,7 +1382,6 @@ impl pallet_state_trie_migration::Config for Runtime {
|
||||
type Currency = Balances;
|
||||
type SignedDepositPerItem = MigrationSignedDepositPerItem;
|
||||
type SignedDepositBase = MigrationSignedDepositBase;
|
||||
type SignedMigrationMaxLimits = SignedMigrationMaxLimits;
|
||||
// Warning: this is not advised, as it might allow the chain to be temporarily DOS-ed.
|
||||
// Preferably, if the chain's governance/maintenance team is planning on using a specific
|
||||
// account for the migration, put it here to make sure only that account can trigger the signed
|
||||
|
||||
Reference in New Issue
Block a user