Companion for #8793 (Simple MaxEncodedLen) (#3118)

* ProxyType MaxEncodedLen

* import

* import

* fix dep and bump substrate

* Update Cargo.lock
This commit is contained in:
Shawn Tabrizi
2021-05-28 16:50:16 -04:00
committed by GitHub
parent cc0457423c
commit b7c2cfc1e4
9 changed files with 230 additions and 179 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ use runtime_parachains::{
};
use frame_support::{
construct_runtime, parameter_types,
traits::{Filter, KeyOwnerProofSystem, Randomness, All, IsInVec},
traits::{Filter, KeyOwnerProofSystem, Randomness, All, IsInVec, MaxEncodedLen},
weights::Weight,
PalletId
};
@@ -943,7 +943,7 @@ parameter_types! {
}
/// The type used to represent the kinds of proxying allowed.
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, RuntimeDebug)]
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode, RuntimeDebug, MaxEncodedLen)]
pub enum ProxyType {
Any,
CancelProxy,