Skip to content

Undocummented panics from asserts in code #908

@piohei

Description

@piohei

Hi!
Recently my team updated some library that underneath is using ark-ec. That causes our app to panic because of some malformed input. It let me down to that part of code but I see that pattern (asserts on input) is widely used. Have you considered returning Result instead of just panic? What is your preference here? If you still want to panic it would be nice to document it.
I would be eager to help with changes. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions