code: def get_receipts(self,
                       header: BlockHeader,
                       receipt_class: Type[Receipt]) -> Iterable[Receipt]:
          
          receipt_db = HexaryTrie(db=self.db, root_hash=header.receipt_root)
          for receipt_idx in itertools.count():
              receipt_key = rlp.encode(receipt_idx)
              if receipt_key in receipt_db:
                  receipt_data = receipt_db[receipt_key]
                  yield rlp.decode(receipt_data, sedes=receipt_class)
              else:
                  break
docs: Returns an iterable of receipts for the block specified by the given
          block header.