Storage chain fixes + guide (#9504)

* Transaction storage guide and fixes

* Apply suggestions from code review

Co-authored-by: Bruno Škvorc <bruno@skvorc.me>

* Update frame/transaction-storage/README.md

Co-authored-by: Bruno Škvorc <bruno@skvorc.me>

* Extended example

Co-authored-by: Bruno Škvorc <bruno@skvorc.me>
This commit is contained in:
Arkadiy ParonyanandBruno Škvorc authored and GitHub committed 2021-08-05 12:07:23 +00:00
1 parent 43edf2d9ad
commit 52b0a4845f
6 files changed
+92 -6

No files matched your search

+7 -1
View File
@@ -322,7 +322,13 @@ pub fn new_full_base(
slot_duration,
);
Ok((timestamp, slot, uncles))
let storage_proof =
sp_transaction_storage_proof::registration::new_data_provider(
&*client_clone,
&parent,
)?;
Ok((timestamp, slot, uncles, storage_proof))
}
},
force_authoring,