mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 15:11:02 +00:00
introduce remote-tests for pallet-bags-list (#10036)
* make a few primitives in bags-list public * push new stuff * update * update log target * bring remote tests here * revert pub * Update frame/bags-list/remote-tests/Cargo.toml Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * some rev commnets * Fix * cleanup * Update Cargo.lock Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
@@ -65,12 +65,10 @@ pub mod mock;
|
||||
mod tests;
|
||||
pub mod weights;
|
||||
|
||||
pub use list::{notional_bag_for, Bag, Error, List, Node};
|
||||
pub use pallet::*;
|
||||
pub use weights::WeightInfo;
|
||||
|
||||
pub use list::Error;
|
||||
use list::List;
|
||||
|
||||
pub(crate) const LOG_TARGET: &'static str = "runtime::bags_list";
|
||||
|
||||
// syntactic sugar for logging.
|
||||
@@ -155,7 +153,7 @@ pub mod pallet {
|
||||
|
||||
/// How many ids are registered.
|
||||
// NOTE: This is merely a counter for `ListNodes`. It should someday be replaced by the
|
||||
// `CountedMaop` storage.
|
||||
// `CountedMap` storage.
|
||||
#[pallet::storage]
|
||||
pub(crate) type CounterForListNodes<T> = StorageValue<_, u32, ValueQuery>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user