types.Block convertToBlock(pb.Block pbBlock) { return types.Block(blockInfo: convertToBlockInfo(pbBlock.blockInfo)); }