mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 02:21:04 +00:00
Add Storage Info to Various Pallets (#10810)
* atomic swap * bounties * bounties fmt * gilt * indices * nicks * randomness-collective-flip * recovery * reuse maxapprovals * Update tests.rs * Update frame/randomness-collective-flip/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * use the correct bound * complete recovery * use `bounded_vec` macro * Update tests.rs * transaction payment * uniques * mmr * example offchain worker * beefy-mmr * Update frame/recovery/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use BoundedVec instead of a type-parameterized BoundedString * cargo fmt * Update frame/atomic-swap/src/lib.rs * use config const * Update lib.rs * update mel_bound * fmt Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
@@ -545,7 +545,7 @@ impl<T: Config> List<T> {
|
||||
/// iteration so that there's no incentive to churn ids positioning to improve the chances of
|
||||
/// appearing within the ids set.
|
||||
#[derive(DefaultNoBound, Encode, Decode, MaxEncodedLen, TypeInfo)]
|
||||
#[codec(mel_bound(T: Config))]
|
||||
#[codec(mel_bound())]
|
||||
#[scale_info(skip_type_params(T))]
|
||||
#[cfg_attr(feature = "std", derive(frame_support::DebugNoBound, Clone, PartialEq))]
|
||||
pub struct Bag<T: Config> {
|
||||
@@ -748,7 +748,7 @@ impl<T: Config> Bag<T> {
|
||||
|
||||
/// A Node is the fundamental element comprising the doubly-linked list described by `Bag`.
|
||||
#[derive(Encode, Decode, MaxEncodedLen, TypeInfo)]
|
||||
#[codec(mel_bound(T: Config))]
|
||||
#[codec(mel_bound())]
|
||||
#[scale_info(skip_type_params(T))]
|
||||
#[cfg_attr(feature = "std", derive(frame_support::DebugNoBound, Clone, PartialEq))]
|
||||
pub struct Node<T: Config> {
|
||||
|
||||
Reference in New Issue
Block a user