return proof size on manually created blocks (for tests only) (#14650)

* return proof size on manually created blocks (for tests only)

* Fix the build error in the test

---------

Co-authored-by: librelois <c@elo.tf>
This commit is contained in:
Cem Eliguzel
2023-08-23 15:06:50 +03:00
committed by GitHub
parent d8a7490146
commit 574592d1cf
3 changed files with 20 additions and 10 deletions
@@ -97,6 +97,8 @@ pub struct CreatedBlock<Hash> {
pub hash: Hash,
/// some extra details about the import operation
pub aux: ImportedAux,
/// uncompacted storage proof size (zero mean that there is no proof)
pub proof_size: usize,
}
impl<Hash> ManualSeal<Hash> {