mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 19:51:05 +00:00
Use MaxEncodedLen trait from new parity-scale-codec v2.2 (#3412)
* Use MaxEncodedLen trait from new parity-scale-codec v2.2 * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
use pallet_transaction_payment::CurrencyAdapter;
|
||||
use sp_std::prelude::*;
|
||||
use sp_std::collections::btree_map::BTreeMap;
|
||||
use parity_scale_codec::{Encode, Decode};
|
||||
use parity_scale_codec::{Encode, Decode, MaxEncodedLen};
|
||||
use primitives::v1::{
|
||||
AccountId, AccountIndex, Balance, BlockNumber, Hash, Nonce, Signature, Moment,
|
||||
GroupRotationInfo, CoreState, Id, ValidationCode, ValidationCodeHash, CandidateEvent,
|
||||
@@ -41,7 +41,7 @@ use runtime_parachains::{
|
||||
};
|
||||
use frame_support::{
|
||||
construct_runtime, parameter_types,
|
||||
traits::{Filter, KeyOwnerProofSystem, Randomness, All, IsInVec, MaxEncodedLen},
|
||||
traits::{Filter, KeyOwnerProofSystem, Randomness, All, IsInVec},
|
||||
weights::Weight,
|
||||
PalletId
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user