mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
Add trace logging for the POV size (#294)
* Add trace logging for the POV size * :(
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user