Add trace logging for the POV size (#294)

* Add trace logging for the POV size

* :(
This commit is contained in:
Bastian Köcher
2021-01-18 13:48:36 +01:00
committed by GitHub
parent 5a117c30a7
commit a9a03e106d
2 changed files with 14 additions and 0 deletions
+6
View File
@@ -41,6 +41,7 @@ pub struct ParachainBlockData<B: BlockT> {
}
impl<B: BlockT> ParachainBlockData<B> {
/// Creates a new instance of `Self`.
pub fn new(
header: <B as BlockT>::Header,
extrinsics: Vec<<B as BlockT>::Extrinsic>,
@@ -67,4 +68,9 @@ impl<B: BlockT> ParachainBlockData<B> {
pub fn extrinsics(&self) -> &[B::Extrinsic] {
&self.extrinsics
}
/// Returns the [`StorageProof`].
pub fn storage_proof(&self) -> &StorageProof {
&self.storage_proof
}
}