Use #[pallet::unbounded] tag in FRAME System (#11946)

* use unbounded in system

* update ui tests
This commit is contained in:
Shawn Tabrizi
2022-08-10 14:58:52 +01:00
committed by GitHub
parent e41b90910e
commit 043b1697c7
5 changed files with 20 additions and 15 deletions
+2 -2
View File
@@ -128,7 +128,7 @@ use crate::{
dispatch::{DispatchError, DispatchErrorWithPostInfo, DispatchResultWithPostInfo},
traits::Get,
};
use codec::{Decode, Encode};
use codec::{Decode, Encode, MaxEncodedLen};
use scale_info::TypeInfo;
#[cfg(feature = "std")]
use serde::{Deserialize, Serialize};
@@ -676,7 +676,7 @@ where
}
/// A struct holding value for each `DispatchClass`.
#[derive(Clone, Eq, PartialEq, Default, RuntimeDebug, Encode, Decode, TypeInfo)]
#[derive(Clone, Eq, PartialEq, Default, RuntimeDebug, Encode, Decode, TypeInfo, MaxEncodedLen)]
pub struct PerDispatchClass<T> {
/// Value for `Normal` extrinsics.
normal: T,