def _mk_pending_attestation(bitfield: Bitfield=default_bitfield, target_root: Hash32=ZERO_HASH32, target_epoch: Epoch=default_epoch, shard: Shard=default_shard, start_epoch: Epoch=default_epoch, parent_root: Hash32=ZERO_HASH32, data_root: Hash32=ZERO_HASH32) -> PendingAttestation:
    return PendingAttestation(aggregation_bits=bitfield, data=AttestationData(target=Checkpoint(epoch=target_epoch, root=target_root), crosslink=Crosslink(shard=shard, parent_root=parent_root, start_epoch=start_epoch, end_epoch=target_epoch, data_root=data_root)))
def _mk_pending_attestation(bitfield: Bitfield=default_bitfield, target_root: Hash32=ZERO_HASH32, target_epoch: Epoch=default_epoch, shard: Shard=default_shard, start_epoch: Epoch=default_epoch, parent_root: Hash32=ZERO_HASH32, data_root: Hash32=ZERO_HASH32) -> PendingAttestation:
    return PendingAttestation(aggregation_bits=bitfield, data=AttestationData(target=Checkpoint(epoch=target_epoch, root=target_root), crosslink=Crosslink(shard=shard, parent_root=parent_root, start_epoch=start_epoch, end_epoch=target_epoch, data_root=data_root)))