Browse Source

runtime: storage-v2: Change comments.

Shamil Gadelshin 3 years ago
parent
commit
0666835ae2

+ 1 - 1
runtime-modules/storage-v2/src/bag_manager.rs

@@ -195,7 +195,7 @@ impl<T: Trait> BagManager<T> {
         )
     }
 
-    // Gets data objects total size from the bag container. //TODO: inline as a counter
+    // Gets data objects total size from the bag container.
     pub(crate) fn get_data_objects_total_size(bag_id: &BagId<T>) -> u64 {
         Self::query(
             bag_id,

+ 3 - 1
runtime-modules/storage-v2/src/benchmarking.rs

@@ -1,5 +1,7 @@
 #![cfg(feature = "runtime-benchmarks")]
 
+//TODO: implement benchmarks after merging with the Olympia release.
+
 use frame_benchmarking::benchmarks;
 use frame_support::storage::StorageMap;
 use frame_system::RawOrigin;
@@ -19,7 +21,7 @@ benchmarks! {
 
     create_storage_bucket {
         let account_id: T::AccountId = Default::default();
-        //TODO: implement
+
 
     }: _ (RawOrigin::Signed(account_id), None, false, 0, 0)
     verify {