Remove storage MaxValues limits (#11643)

* Remove limits

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Remove more

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2022-06-11 18:50:16 +01:00
committed by GitHub
parent dfda072af3
commit dd2314a118
3 changed files with 2 additions and 22 deletions
+2 -11
View File
@@ -516,15 +516,8 @@ pub mod pallet {
/// `Balances` pallet, which uses a `StorageMap` to store balances data only.
/// NOTE: This is only used in the case that this pallet is used to store balances.
#[pallet::storage]
pub type Account<T: Config<I>, I: 'static = ()> = StorageMap<
_,
Blake2_128Concat,
T::AccountId,
AccountData<T::Balance>,
ValueQuery,
GetDefault,
ConstU32<300_000>,
>;
pub type Account<T: Config<I>, I: 'static = ()> =
StorageMap<_, Blake2_128Concat, T::AccountId, AccountData<T::Balance>, ValueQuery>;
/// Any liquidity locks on some account balances.
/// NOTE: Should only be accessed when setting, changing and freeing a lock.
@@ -536,8 +529,6 @@ pub mod pallet {
T::AccountId,
WeakBoundedVec<BalanceLock<T::Balance>, T::MaxLocks>,
ValueQuery,
GetDefault,
ConstU32<300_000>,
>;
/// Named reserves on some account balances.