pub fn serialize_parameters(
    transaction_context: &TransactionContext,
    instruction_context: &InstructionContext,
    should_cap_ix_accounts: bool
) -> Result<(AlignedMemory, Vec<usize>), InstructionError>