def create_mock_attester_slashing_is_double_vote(state: BeaconState, config: Eth2Config, keymap: Dict[(BLSPubkey, int)], attestation_epoch: Epoch) -> AttesterSlashing:
    attestation_slot_1 = compute_start_slot_of_epoch(attestation_epoch, config.SLOTS_PER_EPOCH)
    attestation_slot_2 = Slot((attestation_slot_1 + 1))
    slashable_attestation_1 = create_mock_slashable_attestation(state, config, keymap, attestation_slot_1)
    slashable_attestation_2 = create_mock_slashable_attestation(state, config, keymap, attestation_slot_2)
    return AttesterSlashing(attestation_1=slashable_attestation_1, attestation_2=slashable_attestation_2)
def create_mock_attester_slashing_is_double_vote(state: BeaconState, config: Eth2Config, keymap: Dict[(BLSPubkey, int)], attestation_epoch: Epoch) -> AttesterSlashing:
    attestation_slot_1 = compute_start_slot_of_epoch(attestation_epoch, config.SLOTS_PER_EPOCH)
    attestation_slot_2 = Slot((attestation_slot_1 + 1))
    slashable_attestation_1 = create_mock_slashable_attestation(state, config, keymap, attestation_slot_1)
    slashable_attestation_2 = create_mock_slashable_attestation(state, config, keymap, attestation_slot_2)
    return AttesterSlashing(attestation_1=slashable_attestation_1, attestation_2=slashable_attestation_2)