mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
Move double map to support module and generalize it (#1379)
* Move double map to support and generalize it * add docs back * reduces the number of required allocations
This commit is contained in:
@@ -17,11 +17,10 @@
|
||||
//! Auxilliaries to help with managing partial changes to accounts state.
|
||||
|
||||
use super::{CodeOf, StorageOf, Trait};
|
||||
use double_map::StorageDoubleMap;
|
||||
use rstd::cell::RefCell;
|
||||
use rstd::collections::btree_map::{BTreeMap, Entry};
|
||||
use rstd::prelude::*;
|
||||
use runtime_support::StorageMap;
|
||||
use runtime_support::{StorageMap, StorageDoubleMap};
|
||||
use {balances, system};
|
||||
|
||||
pub struct ChangeEntry<T: Trait> {
|
||||
|
||||
Reference in New Issue
Block a user