mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-24 04:35:04 +00:00
Generate storage info for pallet im_online (#9654)
* Integrating WrapperOpaque from PR #9738 * Adding storage_info to pallet im-online Changing some `Vec` to `WeakBoundedVec` Adding the following bounds: * `MaxKeys * `MaxPeerInHeartbeats` * `MaxPeerDataEncodingSize` to limit the size of `WeakBoundedVec` * Fix syntax * Need to clone keys * Changes in formatting
This commit is contained in:
1 parent
10be72a5b8
commit
cddafd523e
10 files changed
+196
-23
No files matched your search
@@ -18,7 +18,7 @@
|
||||
//! Testing utilities.
|
||||
|
||||
use crate::{
|
||||
codec::{Codec, Decode, Encode},
|
||||
codec::{Codec, Decode, Encode, MaxEncodedLen},
|
||||
generic,
|
||||
scale_info::TypeInfo,
|
||||
traits::{
|
||||
@@ -59,6 +59,7 @@ use std::{
|
||||
Deserialize,
|
||||
PartialOrd,
|
||||
Ord,
|
||||
MaxEncodedLen,
|
||||
TypeInfo,
|
||||
)]
|
||||
pub struct UintAuthorityId(pub u64);
|
||||
|
||||
Reference in new issue
Block a user