Skip to content

Commit

Permalink
frame_support::storage: Add StorageStreamIter (paritytech#12721)
Browse files Browse the repository at this point in the history
* Save

* Add some test

* Yep

* Move to its own file

* More work

* More

* Finish implementation

* Start resolving comments and fixing bugs

* Fix all review comments

* Update frame/support/src/storage/stream_iter.rs

Co-authored-by: Koute <koute@users.noreply.github.com>

* Update frame/support/src/storage/stream_iter.rs

Co-authored-by: Koute <koute@users.noreply.github.com>

* Review feedback

* FMT

* Okay, let's initialize the values...

* Fix...

Co-authored-by: Koute <koute@users.noreply.github.com>
  • Loading branch information
2 people authored and ltfschoen committed Feb 22, 2023
1 parent 4143f90 commit 631d1e2
Show file tree
Hide file tree
Showing 4 changed files with 676 additions and 6 deletions.
2 changes: 2 additions & 0 deletions frame/support/src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ use sp_runtime::generic::{Digest, DigestItem};
use sp_std::{collections::btree_set::BTreeSet, marker::PhantomData, prelude::*};

pub use self::{
stream_iter::StorageStreamIter,
transactional::{
in_storage_layer, with_storage_layer, with_transaction, with_transaction_unchecked,
},
Expand All @@ -47,6 +48,7 @@ pub mod generator;
pub mod hashed;
pub mod migration;
pub mod storage_noop_guard;
mod stream_iter;
pub mod transactional;
pub mod types;
pub mod unhashed;
Expand Down
Loading

0 comments on commit 631d1e2

Please sign in to comment.