mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 18:17:56 +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:
@@ -333,7 +333,10 @@ impl<B: BlockT> BlockRequestHandler<B> {
|
||||
target: LOG_TARGET,
|
||||
"Missing indexed block data for block request."
|
||||
);
|
||||
break
|
||||
// If the indexed body is missing we still continue returning headers.
|
||||
// Ideally `None` should distinguish a missing body from the empty body,
|
||||
// but the current protobuf based protocol does not allow it.
|
||||
Vec::new()
|
||||
},
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user