mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 02:21:14 +00:00
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:
committed by
GitHub
parent
dfda072af3
commit
dd2314a118
@@ -262,9 +262,6 @@ pub mod pallet {
|
||||
Blake2_128Concat,
|
||||
T::AccountId,
|
||||
AssetAccountOf<T, I>,
|
||||
OptionQuery,
|
||||
GetDefault,
|
||||
ConstU32<300_000>,
|
||||
>;
|
||||
|
||||
#[pallet::storage]
|
||||
@@ -279,9 +276,6 @@ pub mod pallet {
|
||||
NMapKey<Blake2_128Concat, T::AccountId>, // delegate
|
||||
),
|
||||
Approval<T::Balance, DepositBalanceOf<T, I>>,
|
||||
OptionQuery,
|
||||
GetDefault,
|
||||
ConstU32<300_000>,
|
||||
>;
|
||||
|
||||
#[pallet::storage]
|
||||
@@ -292,8 +286,6 @@ pub mod pallet {
|
||||
T::AssetId,
|
||||
AssetMetadata<DepositBalanceOf<T, I>, BoundedVec<u8, T::StringLimit>>,
|
||||
ValueQuery,
|
||||
GetDefault,
|
||||
ConstU32<300_000>,
|
||||
>;
|
||||
|
||||
#[pallet::genesis_config]
|
||||
|
||||
@@ -195,9 +195,6 @@ pub mod pallet {
|
||||
Blake2_128Concat,
|
||||
HashedProof,
|
||||
PendingSwap<T>,
|
||||
OptionQuery,
|
||||
GetDefault,
|
||||
ConstU32<300_000>,
|
||||
>;
|
||||
|
||||
#[pallet::error]
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user