mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 19:01:08 +00:00
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:
@@ -57,6 +57,7 @@ sp-keystore = { version = "0.10.0-dev", path = "../../../primitives/keystore" }
|
||||
sp-io = { version = "4.0.0-dev", path = "../../../primitives/io" }
|
||||
sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" }
|
||||
sp-transaction-pool = { version = "4.0.0-dev", path = "../../../primitives/transaction-pool" }
|
||||
sp-transaction-storage-proof = { version = "4.0.0-dev", path = "../../../primitives/transaction-storage-proof" }
|
||||
|
||||
# client dependencies
|
||||
sc-client-api = { version = "4.0.0-dev", path = "../../../client/api" }
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user